/* PerpeNaval · web/css/motion.css — the visual pass (6 Oct 2026, Berat: "better visuals in every window, more animation, same theme").
   Same dark and gold palette, same type. What it adds: panels that arrive instead of appearing, cards that lift under the finger, buttons that press,
   a sheen on the gold, coins that fly, numbers that count, and the picture of each good. Everything here is decoration: switch it off with
   prefers-reduced-motion and the game is unchanged. Loaded after chartroom.css. */

/* ---- panels arrive ---- */
.ov.open > .ovcard, .ov.open > div:first-child { animation: pnPop .24s cubic-bezier(.2, .8, .3, 1) both; }
.panel.open { animation: pnSlide .26s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes pnPop { from { opacity: 0; translate: 0 14px; scale: .985; } to { opacity: 1; translate: 0 0; scale: 1; } }   /* individual translate/scale: a panel's own transform (centring) is never touched */
@keyframes pnSlide { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }

/* ---- buttons press, the red one has a sheen, chips and tabs glide ---- */
.btn, .jb-chip, .ptab, .tbtn, .layer-btn { transition: transform .12s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease; position: relative; overflow: hidden; }
.btn:active:not(:disabled), .jb-chip:active, .ptab:active, .tbtn:active { transform: scale(.96); }
.btn.primary { background-image: linear-gradient(180deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 55%); box-shadow: 0 2px 0 rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn.primary:not(:disabled)::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 240, 210, .28), transparent); transform: skewX(-18deg); animation: sheen 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 78% { left: -60%; } 92%, 100% { left: 130%; } }
.btn:not(.primary):hover:not(:disabled) { box-shadow: 0 0 0 1px rgba(201, 162, 75, .35), 0 0 14px rgba(201, 162, 75, .12); }
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 236, 190, .35); animation: ripple .55s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---- cards come in one after another and lift under the pointer ---- */
.pn-in { animation: cardIn .32s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 35ms); }
@keyframes cardIn { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.jb-card, .ws-r, #exchange .corow, #portcard .corow, .ach, .hullrow { transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background-color .16s ease; }
@media (hover: hover) { .jb-card:hover, .ws-r:not(.shut):hover, .ach:hover, .hullrow:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0, 0, 0, .35), 0 0 0 1px rgba(201, 162, 75, .45); } }

/* ---- the job card, richer: a picture of the good, a glowing pay, a soft gradient ---- */
.jb-card { background: linear-gradient(180deg, rgba(236, 224, 196, .055), rgba(236, 224, 196, .015)); border-radius: 8px; padding: 10px 12px; gap: 12px; }
.jb-ic.art { width: 46px; height: 46px; padding: 0; border: none; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.jb-pay:not(.neg) { text-shadow: 0 0 12px rgba(159, 209, 138, .35); }
.jb-card.relief { animation: reliefPulse 2.4s ease-in-out infinite; }
@keyframes reliefPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(193, 18, 31, 0); } 50% { box-shadow: 0 0 0 3px rgba(193, 18, 31, .18); } }
.jb-chip.on { box-shadow: 0 0 12px rgba(201, 162, 75, .3); }

/* ---- the market table and the Exchange: pictures, zebra rows, a highlight on the row under the pointer ---- */
.gx-t { display: inline-flex; align-items: center; gap: 8px; }
.gx-t svg { flex: none; }
.gtable tr:nth-child(even) td { background: rgba(236, 224, 196, .025); }
.gtable tr:hover td { background: rgba(201, 162, 75, .07); }
#exchange .corow, #portcard .corow { gap: 12px; border-radius: 6px; padding: 8px 8px; border-bottom: 1px dotted rgba(201, 162, 75, .18); }
#exchange .corow:hover, #portcard .corow:hover { background: rgba(201, 162, 75, .06); }
.gx { flex: none; display: flex; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }

/* ---- the workshop: recipes as tiles, a glow on what is ready ---- */
.ws-r { border-radius: 8px; background: linear-gradient(180deg, rgba(201, 162, 75, .07), rgba(201, 162, 75, .02)); }
.ws-r .ws-in svg, .ws-r .ws-out svg { transition: transform .2s ease; }
.ws-r:not(.shut):hover .ws-out svg { transform: scale(1.08) rotate(-3deg); }

/* ---- money moves: the balance chip flashes, a coin flies, a number floats ---- */
#balchip.bump { animation: balBump .6s ease; }
@keyframes balBump { 30% { transform: scale(1.08); box-shadow: 0 0 18px rgba(232, 207, 138, .55); } }
#balchip.down { animation: balDown .6s ease; }
@keyframes balDown { 30% { box-shadow: 0 0 14px rgba(216, 31, 38, .5); } }
.coin-fly { position: fixed; z-index: 9000; width: 14px; height: 14px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 30%, #fff2c4, #e8cf8a 40%, #8f6a2e 100%); box-shadow: 0 0 6px rgba(232, 207, 138, .8); transition: transform .75s cubic-bezier(.45, -0.2, .4, 1), opacity .75s ease-in; }
.cash-float { position: fixed; z-index: 9000; pointer-events: none; font-family: Cinzel, serif; font-weight: 700; font-size: 15px; color: #9fd18a; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); animation: cashFloat 1.4s ease-out forwards; }
.cash-float.neg { color: #f08a8a; }
@keyframes cashFloat { from { opacity: 0; transform: translateY(6px); } 15% { opacity: 1; } to { opacity: 0; transform: translateY(-28px); } }

/* ---- the toast slides up ---- */
#toast { transition: opacity .25s ease, transform .25s cubic-bezier(.2, .8, .3, 1); }
#toast:not(.show) { transform: translate(-50%, 10px); }

/* ---- the log: new lines slide in ---- */
#evlist .ev:first-child { animation: cardIn .35s ease both; }

/* ---- progress bars shimmer while they run ---- */
.bar i { position: relative; overflow: hidden; transition: width .6s ease; }
.ws-b.working .bar i::after, .cocontract .bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 240, 210, .35), transparent); animation: barRun 1.8s linear infinite; }
@keyframes barRun { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---- phones and tablets: bigger targets, cards a little roomier ---- */
@media (pointer: coarse) { .jb-card { padding: 12px; } .jb-go { min-height: 44px; min-width: 76px; } .gtable td { padding-top: 8px; padding-bottom: 8px; } }

@media (prefers-reduced-motion: reduce) {
  .ov.open > .ovcard, .ov.open > div:first-child, .panel.open, .pn-in, .jb-card.relief, #evlist .ev:first-child, .cash-float, #balchip.bump, #balchip.down { animation: none !important; }
  .btn.primary::after, .ws-b.working .bar i::after, .cocontract .bar i::after { display: none; }
  .coin-fly { transition: none; }
}

/* the port card's size line sits under the port's name */
#portcard h2{flex-wrap:wrap}#portcard h2 .pc-size{order:3;flex-basis:100%}
.mdcard.flash{animation:mdFlash 1.6s ease}@keyframes mdFlash{0%,60%{box-shadow:0 0 0 2px rgba(216,31,38,.8),0 0 18px rgba(216,31,38,.45)}100%{box-shadow:none}}

/* ---- turn your phone ---- */
#turnhint { position: fixed; left: 12px; right: 12px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 8000; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid rgba(201, 162, 75, .55); border-radius: 10px; background: linear-gradient(180deg, rgba(28, 24, 18, .97), rgba(16, 14, 11, .97)); box-shadow: 0 8px 26px rgba(0, 0, 0, .55); color: var(--cream, #ece0c4); opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .3s ease, translate .3s cubic-bezier(.2, .8, .3, 1); }
#turnhint.show { opacity: 1; translate: 0 0; pointer-events: auto; }
#turnhint div { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.3; }
#turnhint b { font-family: Cinzel, serif; color: var(--gold-light, #e8cf8a); font-size: 14px; letter-spacing: .04em; }
#turnhint .btn { flex: none; min-height: 40px; }
#turnhint .th-ph { transform-origin: 32px 28px; animation: thTurn 2.6s cubic-bezier(.6, 0, .3, 1) infinite; }
#turnhint .th-ar { animation: thArrow 2.6s ease infinite; }
@keyframes thTurn { 0%, 25% { transform: rotate(0); } 55%, 85% { transform: rotate(-90deg); } 100% { transform: rotate(0); } }
@keyframes thArrow { 0%, 20% { opacity: 0; } 35%, 70% { opacity: 1; } 90%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #turnhint .th-ph { animation: none; transform: rotate(-90deg); } #turnhint .th-ar { animation: none; } }

/* ---- visual pass 2: the ship card opens on a picture of her, the port card on its skyline ---- */
#sc-hero { margin: -2px 0 10px; }
.sh-pic { position: relative; border: 1px solid rgba(201, 162, 75, .45); border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .4), 0 4px 14px rgba(0, 0, 0, .35); }
.sh-art { display: block; width: 100%; height: auto; }
.sh-bob { animation: shBob 4.2s ease-in-out infinite; transform-origin: 160px 70px; }
.sh-pic.sailing .sh-wv { animation: shWave 2.4s linear infinite; }
@keyframes shBob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(1.2px) rotate(-.6deg); } }
@keyframes shWave { from { transform: translateX(0); } to { transform: translateX(-40px); } }
.sh-tier { position: absolute; left: 8px; top: 7px; font-family: Cinzel, serif; font-weight: 700; font-size: 13px; color: #1a1613; background: linear-gradient(180deg, #f0d991, #c9a24b); border-radius: 4px; padding: 1px 7px; box-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.sh-state { position: absolute; right: 8px; top: 8px; font-size: 11.5px; letter-spacing: .04em; color: var(--cream, #ece0c4); background: rgba(0, 0, 0, .45); border-radius: 10px; padding: 2px 9px; }
.sh-bars { display: grid; gap: 5px; margin-top: 9px; }
.sh-bar { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 8px; font-size: 12.5px; color: var(--cream-dim, #cbbd9c); }
.sh-bar i { display: block; height: 7px; border-radius: 4px; background: rgba(236, 224, 196, .08); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.sh-bar i b { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #8f6a2e, #e8cf8a); animation: shFill .7s cubic-bezier(.2, .8, .3, 1) both; }
.sh-bar.warn i b { background: linear-gradient(90deg, #8f6a2e, #e0a040); } .sh-bar.bad i b { background: linear-gradient(90deg, #7a1f22, #e04848); }
.sh-bar em { font-style: normal; font-weight: 700; color: var(--gold-light, #e8cf8a); min-width: 64px; text-align: right; }
@keyframes shFill { from { width: 0; } }
#pc-hero { position: relative; flex: none; margin: 0 0 8px; height: 78px; overflow: hidden; border-top: 1px solid rgba(201, 162, 75, .25); border-bottom: 1px solid rgba(201, 162, 75, .35); }
.pc-art { display: block; width: 100%; height: 100%; }
.pc-beam { transform-origin: 37px 29px; animation: pcBeam 6s ease-in-out infinite; }
@keyframes pcBeam { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.pc-clock { position: absolute; right: 10px; bottom: 6px; font-size: 11.5px; color: #ece0c4; background: rgba(0, 0, 0, .45); border-radius: 10px; padding: 1px 8px; letter-spacing: .04em; }
@media (max-height: 500px) and (orientation: landscape) { #pc-hero { height: 52px; } .sh-art { max-height: 74px; } }
@media (prefers-reduced-motion: reduce) { .sh-bob, .sh-pic.sailing .sh-wv, .pc-beam, .sh-bar i b { animation: none !important; } }
.sh-note { font-size: 11px; color: var(--gold-text, #a8916a); font-style: italic; text-align: right; }
/* the office: orders as cards */
.of-row { margin: 7px 0; padding: 9px 11px; border: 1px solid rgba(201, 162, 75, .2); border-radius: 8px; background: linear-gradient(180deg, rgba(236, 224, 196, .045), rgba(236, 224, 196, .012)); }
.of-top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.of-pay { white-space: nowrap; font-size: 12.5px; color: #1a1613; background: linear-gradient(180deg, #f0d991, #c9a24b); border-radius: 10px; padding: 1px 8px; font-weight: 700; }
.of-bot { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--cream-dim, #cbbd9c); margin-top: 2px; }
.of-bot .btn { padding: 3px 14px; font-size: 13px; min-height: 30px; }
.of-row .bar { margin: 6px 0 3px; }
.of-row.ready { border-color: rgba(232, 207, 138, .8); animation: ofReady 2s ease-in-out infinite; }
@keyframes ofReady { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 207, 138, 0); } 50% { box-shadow: 0 0 0 3px rgba(232, 207, 138, .22), 0 0 18px rgba(232, 207, 138, .2); } }
.of-row.done { opacity: .62; } .of-row.done .of-txt { text-decoration: line-through; }
.of-stamp { font-family: Cinzel, serif; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9fd18a; border: 1.5px solid #9fd18a; border-radius: 3px; padding: 0 6px; transform: rotate(-4deg); }
@media (prefers-reduced-motion: reduce) { .of-row.ready { animation: none; } }
/* the Exchange: clear filters */
.xc-how { margin: 0 0 8px; } .xc-how summary { cursor: pointer; color: var(--gold-light, #e8cf8a); font-size: 13px; list-style: none; } .xc-how summary::before { content: '▸ '; } .xc-how[open] summary::before { content: '▾ '; } .xc-how .small { margin-top: 4px; }
.xc-filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 6px 0 6px; padding: 8px; border: 1px solid rgba(201, 162, 75, .22); border-radius: 8px; background: rgba(0, 0, 0, .18); }
.xc-seg { display: inline-flex; border: 1px solid rgba(201, 162, 75, .5); border-radius: 18px; overflow: hidden; }
.xc-seg button { background: transparent; color: var(--cream, #ece0c4); border: 0; padding: 6px 13px; font: inherit; font-size: 13px; cursor: pointer; min-height: 34px; }
.xc-seg button + button { border-left: 1px solid rgba(201, 162, 75, .35); }
.xc-seg button.on { background: linear-gradient(180deg, #e8cf8a, #c9a24b); color: #1a1613; font-weight: 700; }
.xc-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--cream, #ece0c4); border: 1px solid rgba(201, 162, 75, .5); border-radius: 18px; padding: 5px 12px; cursor: pointer; min-height: 34px; box-sizing: border-box; }
.xc-chip.on { border-color: #e8cf8a; box-shadow: 0 0 10px rgba(232, 207, 138, .25); } .xc-chip input { accent-color: #c9a24b; margin: 0; }
.xc-count { font-size: 12.5px; color: var(--gold-text, #a8916a); margin: 2px 2px 6px; } .xc-count a { color: var(--gold-light, #e8cf8a); }
/* selects in panels: the dark and gold theme instead of the browser's white box */
.panel select, .ov select, #exchange select { appearance: none; -webkit-appearance: none; background: #1d1915 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23c9a24b'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--cream, #ece0c4); border: 1px solid rgba(201, 162, 75, .5); border-radius: 18px; padding: 6px 28px 6px 12px; font: inherit; font-size: 13px; min-height: 34px; }
.panel select:focus, .ov select:focus { outline: 2px solid rgba(232, 207, 138, .6); outline-offset: 1px; }
/* a landing */
.land-card { position: fixed; left: 50%; top: 74px; z-index: 8500; transform: translateX(-50%); min-width: 260px; max-width: calc(100vw - 32px); box-sizing: border-box; text-align: center; padding: 12px 26px 13px; pointer-events: none;
  background: linear-gradient(180deg, rgba(36, 30, 24, .97), rgba(20, 17, 14, .97)); border: 1px solid #c9a24b; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 240, 210, .12); animation: lcIn .45s cubic-bezier(.2, 1.3, .4, 1) both; overflow: visible; }
.land-card.out { animation: lcOut .45s ease forwards; }
.land-card::before, .land-card::after { content: ''; position: absolute; top: 50%; width: 16px; height: 26px; background: #8a1f24; transform: translateY(-50%); z-index: -1; }
.land-card::before { left: -12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); } .land-card::after { right: -12px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.land-card.quiet::before, .land-card.quiet::after { background: #3a332b; } .land-card.quiet { border-color: rgba(201, 162, 75, .45); }
.lc-k { font-family: Cinzel, serif; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-text, #a8916a); }
.lc-n { font-family: Cinzel, serif; font-size: 19px; font-weight: 700; color: #e8cf8a; margin-top: 2px; } .lc-n span { font-size: 14px; font-weight: 400; color: var(--cream, #ece0c4); }
.lc-m { font-family: Cinzel, serif; font-size: 24px; font-weight: 700; color: #9fd18a; text-shadow: 0 0 16px rgba(159, 209, 138, .35); margin-top: 2px; } .lc-m.neg { color: #f08a8a; text-shadow: none; } .lc-m em { font-style: normal; font-size: 14px; color: #e8cf8a; text-shadow: none; }
@keyframes lcIn { from { opacity: 0; transform: translateX(-50%) translateY(-16px) scale(.9); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@keyframes lcOut { to { opacity: 0; transform: translateX(-50%) translateY(-10px); } }
.land-bit { position: absolute; top: 40%; width: 7px; height: 11px; border-radius: 1px; opacity: 0; animation: lcBit 1.6s cubic-bezier(.2, .6, .4, 1) forwards; }
@keyframes lcBit { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 25% { opacity: 1; transform: translate(calc(var(--dx) * .5), -40px) rotate(calc(var(--r) * .4)); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }
.land-ring { position: fixed; z-index: 7000; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 2.5px solid #e8cf8a; border-radius: 50%; pointer-events: none; animation: lrPulse 1.6s ease-out both; }
@keyframes lrPulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(4.5); opacity: 0; } }
@media (max-height: 500px) and (orientation: landscape) { .land-card { top: 54px; padding: 8px 20px 9px; } .lc-n { font-size: 16px; } .lc-m { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .land-card, .land-card.out, .land-ring { animation: none !important; } }
/* phones on their side: one row of buttons (the name of the game is on the welcome card; here the chart needs the room) */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 950px) {
  #topbar { flex-wrap: nowrap; overflow: hidden; }
  #topbar .brand { display: none; }
  #regcur, #capbtn { max-width: 128px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  #topbar .tbtn { padding: 3px 8px; }
}
/* the workshop: a finished batch says so */
.ws-b.ready::after { content: 'Ready'; position: absolute; right: 10px; top: -9px; font-family: Cinzel, serif; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #1a1613; background: linear-gradient(180deg, #f0d991, #c9a24b); border-radius: 3px; padding: 1px 8px; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); animation: wsStamp .5s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes wsStamp { from { transform: scale(1.8) rotate(-8deg); opacity: 0; } to { transform: scale(1) rotate(-3deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ws-b.ready::after { animation: none; } }
/* the shipyard: each hull drawn */
.hullrow .hull-thumb { flex: none; width: 118px; display: block; border-radius: 5px; overflow: hidden; border: 1px solid rgba(201, 162, 75, .35); }
.hullrow .hull-thumb .sh-art { width: 100%; height: auto; display: block; }
@media (max-width: 520px) { .hullrow .hull-thumb { width: 86px; } }
/* the upgrade route: icons, her picture, a burst on a node just bought */
.tnd { position: relative; } .tnd-ic { float: left; margin: 1px 6px 2px 0; color: var(--gold, #c9a24b); opacity: .85; display: inline-flex; }
.tnd.owned .tnd-ic { color: #e8cf8a; opacity: 1; filter: drop-shadow(0 0 4px rgba(232, 207, 138, .5)); }
.tnd.lock .tnd-ic, .tnd.forbid .tnd-ic { opacity: .35; }
.tnd.owned::after { content: '✓'; position: absolute; right: 6px; top: 5px; font-size: 12px; color: #1a1613; background: linear-gradient(180deg, #f0d991, #c9a24b); border-radius: 50%; width: 16px; height: 16px; line-height: 16px; text-align: center; }
.tnd.just { animation: tndJust 1.5s ease-out; z-index: 2; }
@keyframes tndJust { 0% { box-shadow: 0 0 0 0 rgba(232, 207, 138, .9); transform: scale(1.06); } 40% { box-shadow: 0 0 0 10px rgba(232, 207, 138, 0), 0 0 30px rgba(232, 207, 138, .6); transform: scale(1); } 100% { box-shadow: none; } }
#tt-hero { margin: 0 0 10px; } #tt-hero .sh-pic { margin-bottom: 6px; } .tt-next { font-size: 12.5px; font-style: italic; color: var(--gold-text, #a8916a); }
@media (prefers-reduced-motion: reduce) { .tnd.just { animation: none; } }
/* a close look at a hull */
#hulllook .hl-card { position: relative; width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 18px 20px; box-sizing: border-box; }
#hulllook .hl-x { position: absolute; right: 10px; top: 8px; } #hulllook h3 { font-family: Cinzel, serif; color: #e8cf8a; margin: 2px 0 10px; font-size: 22px; }
#hulllook .hl-k { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text, #a8916a); }
#hulllook .hl-d { font-size: 14.5px; line-height: 1.5; color: var(--cream, #ece0c4); margin: 10px 0; font-style: italic; }
#hulllook .hl-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.hullrow .hull-thumb, .hullrow .hn b { cursor: zoom-in; }
@media (max-width: 520px) { #hulllook .hl-stats { grid-template-columns: 1fr; } }
#hulllook .hl-x { background: transparent; color: #e8cf8a; border: 1px solid rgba(201, 162, 75, .6); border-radius: 50%; width: 32px; height: 32px; cursor: pointer; font-size: 14px; }
