@font-face { font-family: Bricolage; src: url(fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
:root {
  --bg: #120c08; --card: #1e150fe8; --card2: #2a1e15; --line: rgba(255, 222, 176, .11); --line2: rgba(255, 222, 176, .2);
  --ink: #f7ecdb; --mute: #bba78e; --dim: #8a7762; --amber: #ffb347; --amber2: #ffd27a; --dew: #7fd3ff; --good: #a6e05f; --bad: #ff6a52;
  --r: 14px; --sh: 0 8px 24px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 230, 190, .06) inset;
  --safeB: env(safe-area-inset-bottom, 0px); --safeT: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; background: radial-gradient(120% 90% at 50% 40%, #2a1c12 0%, #160f0a 55%, #0c0806 100%) fixed; color: var(--ink); font: 500 14px/1.35 Bricolage, system-ui, -apple-system, 'Segoe UI', sans-serif; overscroll-behavior: none; user-select: none; -webkit-user-select: none; }
#stage { position: fixed; inset: 0; will-change: transform; }
#bg, #c { position: absolute; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; }
#c { touch-action: none; cursor: crosshair; }
#c.pan { cursor: grabbing; }
#ui { position: fixed; inset: 0; pointer-events: none; }
#ui > * { pointer-events: auto; }
.hide { display: none !important; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
button:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh); }
small { color: var(--mute); font-size: 11px; letter-spacing: .02em; }
.bar { height: 5px; background: rgba(255, 255, 255, .08); border-radius: 9px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--amber), var(--amber2)); border-radius: 9px; transition: width .3s; }

/* ---------- top bar ---------- */
#top { position: absolute; top: calc(10px + var(--safeT)); left: 10px; right: 10px; display: flex; gap: 8px; align-items: flex-start; pointer-events: none; }
#top > * { pointer-events: auto; }
#me { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; min-width: 0; }
#lvl { position: relative; width: 40px; height: 40px; flex: none; }
#lvl svg { position: absolute; inset: 0; transform: rotate(-90deg); }
#lvl circle { fill: none; stroke-width: 3.5; }
#lvl .track { stroke: rgba(255, 255, 255, .1); }
#lvl .arc { stroke: var(--amber); stroke-linecap: round; stroke-dasharray: 106.8; stroke-dashoffset: 106.8; transition: stroke-dashoffset .4s; }
#lvl b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; font-weight: 800; color: var(--amber2); }
.meTxt { display: flex; flex-direction: column; min-width: 0; }
.meTxt b { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 170px; }
#res { display: flex; gap: 2px; padding: 4px; }
.chip { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; position: relative; min-width: 64px; }
.chip .ic { width: 18px; height: 18px; color: var(--amber); }
.chip b { font-weight: 700; font-variant-numeric: tabular-nums; font-size: 15px; }
.chip small { margin-left: -3px; }
.chip.dew .ic, .chip.dew b { color: var(--dew); }
.chip.warn b { color: var(--bad); animation: blink 1s infinite; }
.chip .mini { position: absolute; left: 10px; right: 10px; bottom: 3px; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.chip .mini > i { display: block; height: 100%; background: var(--amber); width: 0; transition: width .4s; }
.chip.pop { animation: pop .35s; }
@keyframes pop { 40% { transform: scale(1.12); } }
@keyframes blink { 50% { opacity: .45; } }
#buffs { display: flex; gap: 6px; flex-wrap: wrap; align-self: center; }
.buff { background: #3a2a12; border: 1px solid #ffb34755; color: var(--amber2); font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 99px; white-space: nowrap; }
#menu { display: flex; gap: 6px; }
.mb { position: relative; display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 13px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); color: var(--ink); transition: background .15s, transform .1s; }
.mb em { font-style: normal; font-weight: 600; font-size: 13px; }
.mb:hover { background: var(--card2); border-color: var(--line2); }
.mb:active { transform: translateY(1px); }
.mb.on { background: #3b2914; border-color: #ffb34766; color: var(--amber2); }
.dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 2px #1e150f; }

/* ---------- goal ---------- */
#goal { min-width: 0; display: flex; gap: 10px; align-items: center; padding: 7px 12px; cursor: pointer; }
#goal > .ic { color: var(--amber); margin-top: 2px; }
#goal > div { flex: 1; min-width: 0; }
#goal small { font-weight: 700; color: var(--amber); letter-spacing: .08em; font-size: 10px; }
#goal p { margin: 0 0 5px; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#goal #goalR { font-size: 12px; color: var(--dew); white-space: nowrap; }
#goal.done { animation: goalDone .8s; }
@keyframes goalDone { 30% { transform: scale(1.04); border-color: var(--good); } }

/* ---------- gauntlet bar ---------- */
#gbar { position: absolute; top: calc(64px + var(--safeT)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; padding: 6px 8px 6px 16px; border-color: #ffb34755; }
#gbar div { display: flex; flex-direction: column; }
#gbar small { font-size: 10px; font-weight: 700; letter-spacing: .1em; }
#gbar b { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--amber2); }
.ghost { border: 1px solid var(--line2); border-radius: 10px; padding: 8px 12px; color: var(--mute); font-weight: 600; }
.ghost:hover { color: var(--ink); border-color: var(--amber); }

/* ---------- banner + toasts ---------- */
#banner { position: absolute; top: 34%; left: 50%; transform: translateX(-50%); padding: 12px 20px; border-radius: 14px; background: linear-gradient(180deg, #5a1a10ee, #3a0f08ee); border: 1px solid #ff6a5288; color: #ffe1d8; font-weight: 700; font-size: 16px; text-align: center; pointer-events: none; box-shadow: 0 12px 40px rgba(0, 0, 0, .5); animation: bannerIn .35s cubic-bezier(.2, 1.4, .4, 1); white-space: nowrap; }
#banner small { display: block; color: #ffb6a6; font-weight: 600; font-size: 12px; margin-top: 2px; }
@keyframes bannerIn { from { transform: translate(-50%, -12px) scale(.9); opacity: 0; } }
#toasts { position: absolute; top: calc(118px + var(--safeT)); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; }
.toast { background: #22180fee; border: 1px solid var(--line2); padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: 13px; box-shadow: var(--sh); animation: toastIn .3s cubic-bezier(.2, 1.4, .4, 1); white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.toast .ic { width: 16px; height: 16px; color: var(--amber); }
.toast.good { border-color: #a6e05f66; } .toast.good .ic { color: var(--good); }
.toast.bad { border-color: #ff6a5266; } .toast.bad .ic { color: var(--bad); }
.toast.out { opacity: 0; transform: translateY(-6px); transition: .4s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px) scale(.95); } }

/* ---------- dock ---------- */
#dock { position: absolute; left: 50%; bottom: calc(12px + var(--safeB)); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
#dock > * { pointer-events: auto; }
#tools { display: flex; gap: 4px; padding: 6px; }
.tool { position: relative; width: 66px; height: 62px; border-radius: 11px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--mute); transition: background .15s, color .15s; }
.tool .ic { width: 24px; height: 24px; }
.tool em { font-style: normal; font-size: 12px; font-weight: 600; }
.tool kbd { position: absolute; top: 4px; left: 6px; font: 600 9px Bricolage, sans-serif; color: var(--dim); }
.tool:hover { background: rgba(255, 255, 255, .05); color: var(--ink); }
.tool.on { background: linear-gradient(180deg, #4a3214, #36250f); color: var(--amber2); box-shadow: 0 0 0 1px #ffb34788 inset; }
.tool.lock { opacity: .38; }
.tool.lock em::after { content: attr(data-lvl); }
.tool .ring { position: absolute; left: 12px; right: 12px; bottom: 4px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .1); overflow: hidden; pointer-events: none; }
.tool .ring::after { content: ''; position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 1)); background: var(--rc, #fff1d0); border-radius: 3px; }
.tool.perfect { box-shadow: 0 0 0 2px #ffe066 inset, 0 0 18px #ffe06688; color: #ffe066; }
.tool.perfect .ring::after { --rc: #ffe066; }
#sub { display: flex; gap: 4px; padding: 5px; max-width: calc(100vw - 20px); overflow-x: auto; scrollbar-width: none; }
#sub::-webkit-scrollbar { display: none; }
.opt { flex: none; min-width: 74px; padding: 7px 9px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--ink); border: 1px solid transparent; }
.opt:hover { background: rgba(255, 255, 255, .05); }
.opt.on { background: #3b2914; border-color: #ffb34766; }
.opt.lock { opacity: .38; cursor: default; }
.opt .sw { width: 22px; height: 22px; border-radius: 7px; border: 1px solid rgba(0, 0, 0, .3); }
.opt img { width: 26px; height: 26px; }
.opt em { font-style: normal; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.opt small { font-size: 10.5px; color: var(--dew); font-weight: 700; }
.opt small.free { color: var(--good); }
.hint { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); }
.subnote { margin: 0; font-size: 12px; color: var(--mute); padding: 0 6px; white-space: normal; max-width: min(440px, 82vw); text-align: center; line-height: 1.35; }
.fab { position: absolute; right: 12px; bottom: calc(12px + var(--safeB)); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); box-shadow: var(--sh); color: var(--mute); }
.fab:hover { color: var(--ink); }

/* ---------- side panel ---------- */
#panel { position: absolute; top: calc(62px + var(--safeT)); right: 0; bottom: 0; width: min(420px, 100vw); background: #181009f7; border: 1px solid var(--line2); border-right: 0; border-radius: 16px 0 0 0; box-shadow: -20px 0 50px rgba(0, 0, 0, .45); display: flex; flex-direction: column; animation: slideIn .25s cubic-bezier(.2, .9, .3, 1); }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
#panel > header { display: flex; align-items: center; padding: 12px 14px 10px 20px; border-bottom: 1px solid var(--line); }
#panel h2 { margin: 0; font-size: 20px; font-weight: 800; flex: 1; }
.icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--mute); }
.icon:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
#pBody { flex: 1; overflow-y: auto; padding: 14px 16px calc(24px + var(--safeB)); scrollbar-width: thin; scrollbar-color: #4a3a2a transparent; }
.sec { margin: 4px 0 18px; }
.sec > h3 { margin: 0 0 8px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.sec > h3 i { width: 8px; height: 8px; border-radius: 50%; }
.lead { color: var(--mute); margin: 0 0 14px; font-size: 13px; }
.upg { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); margin-bottom: 6px; }
.upg b { font-size: 14px; }
.upg p { margin: 0; font-size: 12px; color: var(--mute); grid-column: 1; }
.pips { display: flex; gap: 3px; margin-top: 3px; grid-column: 1; }
.pips i { width: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.pips i.on { background: var(--c, var(--amber)); }
.buy { grid-row: 1 / span 3; grid-column: 2; min-width: 76px; padding: 9px 10px; border-radius: 10px; background: linear-gradient(180deg, #2f4f6a, #233a50); color: #dff3ff; font-weight: 700; display: flex; gap: 5px; align-items: center; justify-content: center; border: 1px solid #7fd3ff44; }
.buy .ic { width: 15px; height: 15px; }
.buy:hover:not(:disabled) { filter: brightness(1.15); }
.buy:disabled { opacity: .4; cursor: default; }
.buy.max { background: rgba(255, 255, 255, .05); border-color: var(--line); color: var(--good); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.stat { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.stat small { display: block; }
.stat b { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; background: linear-gradient(180deg, #ffc76a, #ff9f2e); color: #2a1606; box-shadow: 0 6px 20px rgba(255, 160, 50, .25), 0 1px 0 rgba(255, 255, 255, .5) inset; transition: transform .1s, filter .15s; }
.btn:hover { filter: brightness(1.06); } .btn:active { transform: translateY(1px); }
.btn.sec2 { background: rgba(255, 255, 255, .06); color: var(--ink); box-shadow: none; border: 1px solid var(--line2); }
.btn.danger { background: rgba(255, 90, 70, .12); color: #ffb0a2; box-shadow: none; border: 1px solid #ff6a5255; }
.btn.wide { width: 100%; }
.btn:disabled { opacity: .45; cursor: default; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.row label { font-weight: 600; }
.seg { display: flex; background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 3px; }
.seg button { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--mute); }
.seg button.on { background: #3b2914; color: var(--amber2); }
input[type=range] { accent-color: var(--amber); width: 150px; }
input[type=text] { font: inherit; color: var(--ink); background: rgba(255, 255, 255, .06); border: 1px solid var(--line2); border-radius: 10px; padding: 10px 12px; width: 100%; user-select: text; }
input[type=text]:focus { outline: none; border-color: var(--amber); }
.board { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.board li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; counter-increment: r; }
.board li::before { content: counter(r); width: 22px; text-align: right; color: var(--dim); font-weight: 700; font-variant-numeric: tabular-nums; }
.board li:nth-child(1)::before { color: #ffd24a; } .board li:nth-child(2)::before { color: #d8dde6; } .board li:nth-child(3)::before { color: #e09a5a; }
.board li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board li b { font-variant-numeric: tabular-nums; }
.board li.me { background: #3b291466; box-shadow: 0 0 0 1px #ffb34755 inset; }
.empty { color: var(--dim); text-align: center; padding: 14px; font-size: 13px; }
.gHero { padding: 16px; border-radius: 14px; background: linear-gradient(135deg, #3d2610, #23170d); border: 1px solid #ffb34744; margin-bottom: 16px; display: flex; gap: 14px; align-items: center; }
.gHero img { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .4)); }
.gHero b { font-size: 16px; } .gHero p { margin: 3px 0 0; font-size: 12.5px; color: var(--mute); }
.help p { margin: 0 0 10px; color: var(--mute); font-size: 13px; }
.help b { color: var(--ink); }

/* ---------- modal ---------- */
#modal { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(ellipse at center, rgba(12, 8, 5, .55), rgba(12, 8, 5, .85)); padding: 16px; z-index: 5; animation: fade .25s; overflow-y: auto; }
@keyframes fade { from { opacity: 0; } }
#mBox { width: min(520px, 100%); background: #1c130ce8; border: 1px solid var(--line2); border-radius: 20px; padding: 26px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); text-align: center; animation: pop2 .35s cubic-bezier(.2, 1.3, .4, 1); }
#mBox.wide { width: min(820px, 100%); }
@keyframes pop2 { from { transform: scale(.92); opacity: 0; } }
#mBox h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; }
#mBox h1.logo { font-size: clamp(40px, 9vw, 68px); letter-spacing: -.02em; background: linear-gradient(180deg, #ffe2a8, #ffae42 70%, #e07a1c); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 18px rgba(255, 160, 60, .25)); line-height: 1.05; }
#mBox p { color: var(--mute); margin: 0 0 18px; }
.mBtns { display: flex; flex-direction: column; gap: 10px; align-items: stretch; max-width: 320px; margin: 0 auto; }
.big { font-size: 46px; font-weight: 800; color: var(--amber2); font-variant-numeric: tabular-nums; margin: 6px 0; }
.kv { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin: 14px 0 20px; }
.kv div { background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; }
.kv b { display: block; font-size: 20px; font-weight: 800; }
.species { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 18px; }
.sp { padding: 10px 6px 10px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; transition: transform .12s, border-color .12s, background .12s; }
.sp img { width: 70px; height: 70px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); transition: transform .2s; }
.sp b { font-size: 13px; } .sp small { font-size: 10.5px; line-height: 1.25; min-height: 26px; }
.sp:hover { background: rgba(255, 255, 255, .06); } .sp:hover img { transform: scale(1.08) rotate(-4deg); }
.sp.on { border-color: var(--amber); background: #3b291480; box-shadow: 0 0 0 1px var(--amber) inset; }
.unlock { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; background: #3b2914; color: var(--amber2); font-weight: 700; margin-bottom: 12px; }
.tiny { font-size: 11.5px; color: var(--dim); margin-top: 14px; }

/* ---------- boot ---------- */
#boot { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: var(--bg); z-index: 9; transition: opacity .4s; }
#boot .logo { font-size: 44px; font-weight: 800; color: var(--amber); letter-spacing: -.02em; }
#boot p { color: var(--mute); margin: 0; text-align: center; padding: 0 20px; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid #ffb34733; border-top-color: var(--amber); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
#boot.gone { opacity: 0; pointer-events: none; }
#err { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #2a0f0a; border: 1px solid #ff6a52; padding: 18px 20px; border-radius: 14px; max-width: 420px; z-index: 10; text-align: center; }
#err code { display: block; font-size: 11px; color: #ffb0a2; margin: 8px 0 12px; word-break: break-word; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  #gbar { top: calc(160px + var(--safeT)); }
  #toasts { top: calc(160px + var(--safeT)); }
  .tool { width: 58px; height: 56px; }
  .tool kbd { display: none; }
  .species { grid-template-columns: repeat(2, 1fr); }
  .sp img { width: 54px; height: 54px; }
  #mBox { padding: 20px 16px; }
  .fab { bottom: calc(86px + var(--safeB)); right: 10px; width: 40px; height: 40px; }
}
@media (max-width: 860px), (max-height: 520px) and (orientation: landscape) { #panel { top: 0; border-radius: 0; z-index: 4; } #panel > header { padding-top: calc(12px + var(--safeT)); } }
@media (max-width: 600px) { .toast { white-space: normal; max-width: calc(100vw - 24px); border-radius: 14px; } }
@media (max-height: 520px) and (orientation: landscape) {
  #dock { flex-direction: row; align-items: flex-end; bottom: calc(6px + var(--safeB)); gap: 6px; }
  #tools { padding: 4px; } .tool { width: 48px; height: 42px; } .tool em, .tool kbd { display: none; }
  #sub { order: -1; padding: 3px; max-width: 46vw; } .opt { min-width: 52px; padding: 4px 6px; } .opt small { display: none; } .opt .sw { width: 18px; height: 18px; }
  #toasts { top: 54px; } #gbar { top: 50px; padding: 3px 6px 3px 12px; } #gbar b { font-size: 16px; }
  .fab { bottom: 8px; right: 8px; width: 38px; height: 38px; }
  #banner { top: 26%; font-size: 14px; padding: 8px 14px; }
}
@media (max-width: 380px) { .tool { width: 52px; } .tool em { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------- 5.1 additions ---------- */
.chip.jelly .ic, .chip.jelly b { color: #ff9fc2; }
.buff.hot { background: #5a1a2a; border-color: #ff6a9a; color: #ffd0e0; animation: blink .6s infinite; }
#wave { display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 12px; }
#wave .wInfo { display: flex; flex-direction: column; min-width: 92px; }
#wave small { font-size: 10px; font-weight: 800; letter-spacing: .1em; color: var(--mute); }
#wave .wBest { font-weight: 600; letter-spacing: 0; font-size: 10.5px; color: var(--dim); }
#wave b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
#wave .wN { color: var(--amber2); }
#wave.live { border-color: #ff6a5299; background: #2a120ce8; }
#wave.live small:first-child { color: #ff8a70; animation: blink 1s infinite; }
#wCall { display: flex; flex-direction: column; align-items: center; padding: 6px 10px; border-radius: 10px; background: linear-gradient(180deg, #5a2416, #3a160c); border: 1px solid #ff6a5266; color: #ffd8cc; font-weight: 700; font-size: 12px; line-height: 1.1; }
#wCall small { color: var(--dew); font-weight: 800; font-size: 11px; letter-spacing: 0; }
#wCall:hover:not(:disabled) { filter: brightness(1.2); }
#wCall:disabled { opacity: .35; cursor: default; }
#banner.boss { background: linear-gradient(180deg, #3a0a2aee, #1a0414ee); border-color: #ff5a9a; font-size: 19px; }
#banner small + small { color: #ffd0c0; opacity: .8; }
#gQuit { position: absolute; right: 12px; top: calc(118px + var(--safeT)); background: var(--card); }
#doom { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; background: radial-gradient(ellipse at center, rgba(80,0,0,0) 30%, rgba(60,0,0,.65) 100%); animation: doomIn 2.4s ease-out; z-index: 4; }
#doom b { font-size: clamp(30px, 7vw, 64px); font-weight: 800; color: #ffd6c8; letter-spacing: .04em; text-shadow: 0 4px 30px #ff2a1a, 0 0 2px #000; animation: doomText 2.4s ease-out; }
#doom small { color: #ffb0a0; font-size: 15px; margin-top: 6px; }
@keyframes doomIn { from { background-color: rgba(255,40,20,.35); } }
@keyframes doomText { 0% { transform: scale(1.6); opacity: 0; letter-spacing: .4em; } 30% { opacity: 1; } 100% { transform: scale(1); letter-spacing: .04em; } }
.gHero.royal { background: linear-gradient(135deg, #3d1028, #1c0c16); border-color: #ff9fc244; }
.crown { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #ff9fc222; color: #ff9fc2; flex: none; }
.crown .ic { width: 32px; height: 32px; }
.buy.jelly { background: linear-gradient(180deg, #6a2a4a, #4a1a34); border-color: #ff9fc255; color: #ffe0ee; }
.wideSeg { margin-bottom: 14px; } .wideSeg button { flex: 1; padding: 9px; }
.board li small { color: var(--dim); font-variant-numeric: tabular-nums; }
.res { text-align: left; margin: 10px auto 18px; max-width: 360px; }
.res div { display: flex; justify-content: space-between; padding: 6px 2px; border-bottom: 1px solid var(--line); font-size: 14px; }
.res div b { font-variant-numeric: tabular-nums; }
.res div.tot { border: 0; font-size: 16px; color: var(--amber2); }
.pb { display: inline-block; padding: 4px 12px; border-radius: 99px; background: #2a4a14; color: #c8ff90; font-weight: 800; font-size: 13px; margin-bottom: 8px; animation: pop .5s 3; }
.rankLine { font-size: 15px; color: var(--ink) !important; }
.jellyGain { font-size: 34px; font-weight: 800; color: #ff9fc2; margin: 4px 0 14px; }
@media (max-width: 860px) { #gQuit { top: auto; bottom: calc(160px + var(--safeB)); } }
@media (max-height: 520px) and (orientation: landscape) { #gQuit { top: 52px; bottom: auto; } }

/* ---------- 5.2 ---------- */
.chip.queen .ic, .chip.queen b { color: #ffd65a; } .chip.queen b { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.chip.queen.bad b, .chip.queen.bad .ic { color: #ff7a60; animation: blink 1s infinite; }
.chip.queen .mini > i { background: #ffd65a; }
.chip.stam .ic, .chip.stam b { color: #c8f08a; } .chip.stam.empty b { color: #ff7a60; }
#sNet { font-size: 10.5px; font-weight: 700; margin-left: 0 !important; } #sNet.neg { color: #ff8a70; } #sNet.pos { color: #a6e05f; }
[data-tip] { cursor: help; }
#tip { position: fixed; z-index: 20; max-width: 300px; padding: 10px 12px; border-radius: 12px; background: #120c08f5; border: 1px solid var(--line2); box-shadow: 0 10px 30px rgba(0,0,0,.5); font-size: 12.5px; line-height: 1.45; color: var(--ink); pointer-events: none; }
#tip b { color: var(--amber2); } #tip .r { display: flex; justify-content: space-between; gap: 14px; color: var(--mute); } #tip .r span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }
#tip .neg { color: #ff8a70 !important; } #tip .pos { color: #a6e05f !important; } #tip p { margin: 4px 0 0; color: var(--mute); }
.opt .price { color: var(--dew); font-weight: 700; font-size: 10px; } .opt .up { color: #ffb08a; font-size: 9.5px; }
#banner.wx { background: linear-gradient(180deg, #102a4aee, #081a30ee); border-color: #6ab0ff; color: #e0f0ff; } #banner.wx small { color: #b0d4ff; }
#banner.quake { background: linear-gradient(180deg, #4a2a10ee, #2a1406ee); border-color: #ffb050; }
#tip { white-space: normal; width: max-content; } #tip p { white-space: normal; }

/* ---------- 5.3: a HUD that never shifts ---------- */
.chip b { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }
#sAnts, #sBrood, #sStam { min-width: 2.4ch; } #sFood, #sDew, #sJelly { min-width: 4.3ch; }
#sCap { display: inline-block; min-width: 3.2ch; }
#sNet { display: inline-block; width: 5.4ch; text-align: right; font-variant-numeric: tabular-nums; }
.chip.queen b { min-width: 7.2ch; text-align: left; }
#wave .wInfo { min-width: 98px; } #wTime { display: inline-block; min-width: 4.6ch; } #wBonus { min-width: 3ch; display: inline-block; }
#goal p { min-height: 1.35em; }
#buffs { position: absolute; top: 100%; left: 0; margin-top: 6px; pointer-events: none; }

.upg { grid-template-columns: 42px 1fr auto; }
.upg .badge { grid-row: 1 / span 3; grid-column: 1; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: var(--c); background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 35%, transparent), color-mix(in srgb, var(--c) 10%, transparent)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.upg .badge .ic { width: 22px; height: 22px; stroke-width: 1.9; }
.upg b, .upg p, .upg .pips { grid-column: 2; }
.upg .buy { grid-column: 3; }

.lnk { color: var(--dim); font-size: 12px; text-decoration: underline; }
.coach-hl { position: relative; z-index: 5; animation: coachHl 1.2s ease-in-out infinite; }
@keyframes coachHl { 0%, 100% { box-shadow: 0 0 0 2px #ffd65a, 0 0 18px 2px #ffb34788; } 50% { box-shadow: 0 0 0 4px #ffd65a, 0 0 30px 8px #ffb34755; } }
.hcards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; text-align: left; margin: 10px 0 18px; }
.hcard { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); }
.hcard .pic { width: 64px; height: 64px; flex: none; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #a27a5055, #2a1c1200); }
.hcard .pic img { max-width: 60px; max-height: 60px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.hcard .pic .ic { width: 34px; height: 34px; color: var(--amber); }
.hcard .sw2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 46px; } .hcard .sw2 i { height: 20px; border-radius: 5px; }
.hcard b { font-size: 14px; } .hcard p { margin: 2px 0 0 !important; font-size: 12.5px; color: var(--mute); line-height: 1.35; }
@media (max-width: 640px) { .hcards { grid-template-columns: 1fr; } }
#pBody .hcards { grid-template-columns: 1fr; }
.hcard .pic img { width: 76px; height: 76px; max-width: none; max-height: none; object-fit: contain; }

/* ---- 5.3.2: HUD that fits any window ---- */
#fabs { position: absolute; right: 12px; bottom: calc(12px + var(--safeB)); display: flex; flex-direction: column; gap: 8px; z-index: 3; }
#fabs .fab { position: static; }
#fabs.hide { display: none; }
@media (max-width: 860px) and (min-height: 521px), (max-width: 860px) and (orientation: portrait) { #fabs { bottom: calc(86px + var(--safeB)); right: 10px; } #fabs .fab { width: 40px; height: 40px; } }
@media (max-height: 520px) and (orientation: landscape) { #fabs { bottom: 8px; right: 8px; flex-direction: row; } #fabs .fab { width: 38px; height: 38px; } }

/* ================= 5.3.3 HUD layouts =================
   The game measures the window and picks the largest layout that fully fits (data-l on #top).
   xl: one row, labelled menu · lg: one row, icon menu · md: two tidy rows · sm: phone stack · sh: short landscape */
#top { display: flex; align-items: stretch; gap: 8px; }
#top > #buffs { position: absolute; top: 100%; left: 0; margin-top: 6px; pointer-events: none; }
#me { flex: none; }
#menu { margin-left: auto; flex: none; }
#wave { flex: none; }
#res { flex: none; }
#goal { flex: 0 1 300px; min-width: 190px; }
.mb { flex: none; }
/* xl */
#top[data-l="xl"] .mb em { display: inline; }
/* everything below xl: icon-only menu */
#top:not([data-l="xl"]) .mb em { display: none; }
#top:not([data-l="xl"]) .mb { width: 44px; padding: 0; justify-content: center; }
#top:not([data-l="xl"]) #wave .wBest { display: none; }
/* lg: one row, compact numbers */
#top[data-l^="lg"] #sNet { display: none; }
#top[data-l^="lg"] .chip { padding: 6px 7px; gap: 4px; min-width: 0; }
#top[data-l^="lg"] #goal { min-width: 170px; } #top[data-l^="lg"] #goal #goalR, #top[data-l^="lg"] #goal > div > small { display: none; }
/* md: row 1 = colony, wave, goal, menu · row 2 = resources */
#top[data-l="md"] { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "me wave goal menu" "res res res ."; row-gap: 6px; }
#top[data-l="md"] #me { grid-area: me; } #top[data-l="md"] #wave { grid-area: wave; } #top[data-l="md"] #goal { grid-area: goal; min-width: 0; max-width: 420px; }
#top[data-l="md"] #menu { grid-area: menu; } #top[data-l="md"] #res { grid-area: res; justify-self: start; }
#top[data-l="md"] #goal #goalR { display: none; }
/* sm: phone portrait stack */
#top[data-l="sm"] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "me me menu" "res res res" "wave goal goal"; gap: 6px; }
#top[data-l="sm"] #me { grid-area: me; min-width: 0; padding-right: 10px; } #top[data-l="sm"] #menu { grid-area: menu; gap: 5px; }
#top[data-l="sm"] #res { grid-area: res; justify-content: space-between; } #top[data-l="sm"] .chip { flex: 1; justify-content: center; padding: 6px 2px; min-width: 0; gap: 3px; }
#top[data-l="sm"] #sNet, #top[data-l="sm"] .chip.queen b, #top[data-l="sm"] #sCap { display: none; }
#top[data-l="sm"] #wave { grid-area: wave; padding: 4px 4px 4px 10px; } #top[data-l="sm"] #wave .wInfo { min-width: 78px; } #top[data-l="sm"] #wave b { font-size: 14px; }
#top[data-l="sm"] #goal { grid-area: goal; min-width: 0; padding: 6px 10px; } #top[data-l="sm"] #goal #goalR { display: none; } #top[data-l="sm"] #goal p { font-size: 12px; }
#top[data-l="sm"] .mb { width: 40px; height: 40px; }
#top[data-l="sm"] .meTxt b { max-width: 100%; }
#top[data-l="sm"] > #buffs { position: static; grid-column: 1 / -1; }
/* sh: short landscape, one compact row */
#top[data-l="sh"], #top[data-l="sh2"] { top: 6px; left: 6px; right: 6px; gap: 6px; }
#top[data-l^="sh"] .meTxt { display: none; } #top[data-l^="sh"] #me { padding: 3px; } #top[data-l^="sh"] #lvl { width: 36px; height: 36px; }
#top[data-l^="sh"] #res { padding: 2px; } #top[data-l^="sh"] .chip { padding: 5px 6px; min-width: 0; gap: 3px; } #top[data-l^="sh"] .chip b { font-size: 14px; } #top[data-l^="sh"] .chip small, #top[data-l^="sh"] .chip.queen b { display: none; }
#top[data-l^="sh"] #wave { padding: 3px 4px 3px 8px; } #top[data-l^="sh"] #wave .wInfo { min-width: 70px; } #top[data-l^="sh"] #wave b { font-size: 13px; } #top[data-l^="sh"] #wCall { padding: 4px 6px; } #top[data-l^="sh"] #wCall small { display: none; }
#top[data-l^="sh"] #goal { min-width: 120px; padding: 4px 10px; } #top[data-l^="sh"] #goal > div > small, #top[data-l^="sh"] #goal #goalR { display: none; } #top[data-l^="sh"] #goal p { font-size: 12px; margin-bottom: 3px; }
#top[data-l^="sh"] > #buffs { display: none; } #top[data-l^="sh"] .mb { width: 38px; height: 38px; } #top[data-l^="sh"] #menu { gap: 4px; }
#top[data-l="sh2"] #goal { display: none !important; }
/* things that sit just under the HUD follow its real height */
#gbar { top: calc(var(--hudB, 64px) + 4px) !important; }
#toasts { top: calc(var(--hudB, 64px) + 8px) !important; }
#top[data-l="sm"] .chip .ic { width: 16px; height: 16px; } #top[data-l="sm"] .chip b { font-size: 14px; }
#top[data-l="sm"] #sFood, #top[data-l="sm"] #sDew, #top[data-l="sm"] #sJelly { min-width: 3.4ch; }
@media (max-width: 520px) and (min-height: 521px), (max-width: 520px) and (orientation: portrait) { .opt { min-width: 54px; padding: 6px 4px; } }
@media (max-height: 520px) and (max-width: 640px) and (orientation: landscape) { .tool { width: 42px; } #sub { max-width: 42vw; } }
#top[data-l="lg2"] .meTxt { display: none; } #top[data-l="lg2"] #me { padding: 6px; }
@media (max-height: 520px) and (orientation: landscape) { #fabs { top: calc(var(--hudB, 50px) + 8px); bottom: auto !important; right: 8px; flex-direction: column; } }
.meTxt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 5.3.5 phones: wave sits on the right under the menu, bigger readable chips */
#top[data-l="sm"] { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "me menu menu" "res res res" "goal goal wave"; }
#top[data-l="sm"] #btnSound { display: none; }
#top[data-l="sm"] .meTxt small { display: none; }
#top[data-l="sm"] #wave { justify-self: end; }
#top[data-l="sm"] .chip .ic { width: 18px; height: 18px; }
#top[data-l="sm"] .chip b { font-size: 15px; }
#top[data-l="sm"] .chip { padding: 7px 1px; }
#top[data-l="sm"] #res { padding: 3px 4px; }

/* ================= 5.4 ================= */
@font-face { font-family: Pixel; src: url(fonts/pixel.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
/* pixel-art mode: the world is drawn small and scaled up with hard square pixels */
#stage.px canvas { image-rendering: pixelated; image-rendering: crisp-edges; }
#stage.px canvas#tx { image-rendering: auto; }
#tx { position: absolute; inset: 0; width: 100vw; height: 100vh; height: 100dvh; display: block; pointer-events: none; }
/* quiet tips: one line under the top bar, taps go straight through it */
/* 5.5: tips sit exactly on top of the Goal card for a few seconds, so they never cover the farm or a button */
#coach { position: fixed; z-index: 7; display: flex; align-items: center; gap: 9px; padding: 5px 6px 5px 11px; box-sizing: border-box; background: #2a1c10; border: 1px solid rgba(255,206,110,.55); border-radius: var(--r); box-shadow: var(--sh); pointer-events: none; animation: coachIn .3s ease-out; overflow: hidden; }
#coach .ic { flex: none; width: 16px; height: 16px; color: var(--amber2); display: grid; place-items: center; } #coach .ic svg { width: 16px; height: 16px; }
#coach .tx { flex: 1; min-width: 0; }
#coach small { display: block; font-weight: 700; color: var(--amber); letter-spacing: .08em; font-size: 9.5px; line-height: 1.2; }
#coach p { margin: 0; font-size: 12px; line-height: 1.25; color: #fff3dc; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#coach .cx { pointer-events: auto; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #ffe7b8; font-size: 14px; line-height: 1; cursor: pointer; }
#coach .cx:hover { background: rgba(255,255,255,.2); }
#coach.hide { display: none; }
@keyframes coachIn { from { opacity: 0; } }
/* pause */
#pauseVeil { position: fixed; inset: 0; z-index: 7; display: grid; place-items: center; background: rgba(12,7,3,.5); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); cursor: pointer; animation: fade .2s; }
#pauseVeil.hide { display: none; }
#pauseVeil div { text-align: center; color: #fff3dc; }
#pauseVeil b { display: block; font-family: Pixel, Bricolage, system-ui, sans-serif; font-size: clamp(40px, 9vw, 72px); letter-spacing: .04em; color: var(--amber2); text-shadow: 0 4px 0 #2a1606, 0 0 24px rgba(255,200,90,.35); }
#pauseVeil small { font-size: 14px; opacity: .85; }
#btnPause .ic, #btnPause svg { width: 20px; height: 20px; }
#wCall.wait { opacity: .7; }
#wCall.wait small { color: #ffd7a8; }
/* 5.5: Hall of weeks */
.hall { display: grid; gap: 8px; }
.hw { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; background: rgba(255,255,255,.025); }
.hh { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.hh b { color: var(--amber2); font-size: 13px; } .hh small { color: var(--mute); font-size: 11px; }
.hh .hme { margin-left: auto; font-size: 11px; font-weight: 700; color: #a6e05f; }
.hw ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.hw li { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 2px 0; }
.hw li i { font-style: normal; width: 18px; } .hw li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw li small { color: var(--mute); font-size: 11px; } .hw li b { font-variant-numeric: tabular-nums; }
.hw li.me span { color: var(--amber2); font-weight: 700; }
#coach.tight .ic, #coach.tight small { display: none; }
#coach.tight { padding: 4px 4px 4px 9px; gap: 6px; } #coach.tight p { font-size: 11px; line-height: 1.2; -webkit-line-clamp: 3; }
/* 5.6: real ant facts */
.fact { font-size: 13px; color: var(--mute); line-height: 1.4; max-width: 440px; margin: 6px auto 0; }
.fact b { color: var(--amber2); font-weight: 700; margin-right: 4px; }
#bootMsg .fact { display: block; margin-top: 10px; font-size: 12.5px; opacity: .85; }
.facts { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 13px; color: var(--mute); line-height: 1.4; }
.species .latin { display: block; font-size: 10.5px; color: var(--mute); font-style: italic; margin-top: -2px; }
/* 5.7: one-click title, daily gift, promo */
#mBox.titleCard { width: min(560px, 100%); padding: 24px 26px 18px; }
.tagline { margin: 0 0 16px; font-size: 15.5px; color: var(--ink); }
.btn.cta { font-size: 20px; font-weight: 800; padding: 16px 22px; border-radius: 16px; flex-direction: column; gap: 2px; box-shadow: 0 6px 0 #8a4a0c, 0 14px 30px rgba(255, 160, 46, .25); animation: breathe 2.6s ease-in-out infinite; }
.btn.cta svg { display: none; } .btn.cta small { font-size: 12px; font-weight: 700; color: #6a3a0c; opacity: .85; }
@keyframes breathe { 50% { transform: scale(1.025); box-shadow: 0 6px 0 #8a4a0c, 0 18px 40px rgba(255, 160, 46, .4); } }
@media (prefers-reduced-motion: reduce) { .btn.cta { animation: none; } }
.mBtns.row2 { flex-direction: row; max-width: 380px; margin-top: 10px; } .mBtns.row2 .btn { flex: 1; font-size: 14px; padding: 10px 12px; }
.spNow { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 380px; margin: 12px auto 0; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid var(--line); color: var(--ink); text-align: left; cursor: pointer; }
.spNow:hover { background: rgba(255,255,255,.07); }
.spNow img { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0,0,0,.4)); }
.spNow span { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.spNow small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); } .spNow b { font-size: 15px; } .spNow i { font-style: normal; font-size: 12px; color: var(--mute); }
.spNow em { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--amber2); border: 1px solid rgba(255,190,90,.4); border-radius: 99px; padding: 4px 10px; }
.spHead { margin: 14px 0 -4px; font-weight: 700; color: var(--ink); }
.sgLine { margin: 12px auto 0; max-width: 380px; font-size: 13px; line-height: 1.5; color: var(--mute); text-align: center; }
.sgLine svg { width: 14px; height: 14px; color: var(--amber2); vertical-align: -2px; margin-right: 2px; } .sgLine b { color: var(--ink); }
.tiny a { color: var(--amber2); }
.giftTrack { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 14px 0 6px; }
.gd { border: 1px solid var(--line); border-radius: 12px; padding: 7px 2px; background: rgba(255,255,255,.03); display: flex; flex-direction: column; align-items: center; gap: 3px; opacity: .55; }
.gd small { font-size: 10px; color: var(--mute); } .gd b svg { width: 20px; height: 20px; color: #7cc7ff; } .gd:last-child b svg { color: #ff9fc2; } .gd span { font-size: 11px; font-weight: 700; }
.gd.got { opacity: .9; background: rgba(120,200,120,.08); border-color: rgba(140,220,120,.35); }
.gd.now { opacity: 1; border-color: var(--amber); background: #3b291480; box-shadow: 0 0 0 1px var(--amber) inset, 0 0 24px rgba(255,180,60,.25); transform: scale(1.06); }
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.pr { display: flex; flex-direction: column; gap: 2px; text-align: left; padding: 10px 12px; border-radius: 12px; text-decoration: none; border: 1px solid var(--line); background: rgba(255,255,255,.035); color: var(--ink); }
.pr:hover { background: rgba(255,255,255,.07); } .pr b { font-size: 13.5px; } .pr small { font-size: 11.5px; color: var(--mute); line-height: 1.3; }
.pr.fish b { color: #7cd6ff; } .pr.sup b { color: #ffcf33; }
@media (max-width: 520px) { .promo { grid-template-columns: 1fr; } .giftTrack { gap: 3px; } .gd span { font-size: 9.5px; } .mBtns.row2 .btn { font-size: 13px; } }
