@font-face { font-family: 'Lilita One'; src: url('../fonts/lilita-one-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: block; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('../fonts/fredoka-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --display: 'Lilita One', 'Fredoka', system-ui, sans-serif;
  --ink: #3b2412;
  --wood: #8a5a2b; --wood-d: #5e3415; --wood-l: #c98c52;
  --sand: #fff4dc; --sand-d: #f0d9a8;
  --teal1: #5eead4; --teal2: #14b8a6; --teal3: #0d7f74;
  --coral1: #ff9e9e; --coral2: #ff6b6b; --coral3: #c43c3c;
  --gold1: #ffe8a3; --gold2: #ffc23d; --gold3: #c98a0a;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }   /* (touch-callout: no iOS "Save image / Copy" pop-up on a long press) */
img, canvas, svg { -webkit-user-drag: none; }   /* (a long press can't start dragging a picture out of the game) */
html, body { margin: 0; height: 100%; overflow: hidden; background: #2fb4f0; font-family: 'Fredoka', system-ui, sans-serif; color: #fff; touch-action: none; }
#c { position: fixed; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
button { font-family: inherit; cursor: pointer; border: 0; color: inherit; }

/* ---------- 3D labels ---------- */
.labels { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.lbl { position: absolute; left: 0; top: 0; white-space: nowrap; will-change: transform; font-family: var(--display); }
.lbl.crowd {
  padding: 3px 12px 4px; border-radius: 12px; font-size: 21px; color: #fff;
  background: linear-gradient(180deg, var(--gold2), #f08c00); border: 3px solid var(--wood-d);
  box-shadow: 0 4px 0 var(--wood-d), 0 8px 16px rgba(60,30,0,0.35); text-shadow: 0 2px 0 rgba(120,60,0,0.6);
}
.lbl.crowd.bump { animation: bump 0.28s ease-out; }
@keyframes bump { 0% { scale: 1; } 40% { scale: 1.28; } 100% { scale: 1; } }
.lbl.float { font-size: 36px; color: #fff; -webkit-text-stroke: 7px var(--wood-d); paint-order: stroke fill; }
.lbl.float.good { color: #b9fff4; -webkit-text-stroke-color: var(--teal3); }
.lbl.float.bad { color: #ffe0e0; -webkit-text-stroke-color: #8a1f2b; }
.lbl.float.neutral { color: #eef; -webkit-text-stroke-color: #555b6e; }
.lbl.float.forge { color: #ffe08a; -webkit-text-stroke-color: #b34700; }
.lbl.float.big { font-size: 34px; color: #ffe08a; -webkit-text-stroke-color: var(--wood-d); }
.lbl.float.huge { font-size: 64px; }
.lbl.float.emoji, .lbl.emoji { font-size: 30px; -webkit-text-stroke: 0; filter: drop-shadow(0 3px 2px rgba(0,0,0,0.25)); }
.lbl.emoji { animation: wob 0.6s ease-in-out infinite alternate; }
@keyframes wob { from { rotate: -10deg; } to { rotate: 10deg; } }
.lbl.pad {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 5px 12px 6px; border-radius: 14px; min-width: 86px; color: var(--ink);
  background: linear-gradient(180deg, var(--sand), var(--sand-d)); border: 3px solid var(--wood);
  box-shadow: 0 4px 0 var(--wood-d), 0 10px 20px rgba(60,30,0,0.25);
}
.pad-icon { font-size: 24px; line-height: 1.05; }
.pad-title { font-family: 'Fredoka'; font-size: 12px; font-weight: 700; color: var(--wood); }
.pad-cost { font-size: 18px; color: var(--teal3); }
.pad-cost.ad { color: #7c3aed; }
.lbl.stock { font-family: 'Fredoka'; font-size: 13px; font-weight: 700; padding: 3px 9px; border-radius: 10px; background: rgba(59,36,18,0.78); }
.lbl.stock.warn { background: var(--coral2); animation: bump 0.8s ease-in-out infinite; }
.lbl.bubble { font-size: 16px; padding: 5px 12px; border-radius: 14px; color: var(--ink); background: linear-gradient(180deg, var(--gold1), var(--gold2)); border: 3px solid var(--wood); box-shadow: 0 4px 0 var(--wood-d), 0 8px 16px rgba(0,0,0,0.2); }
.lbl.bubble.ad { background: linear-gradient(180deg, var(--teal1), var(--teal2)); color: #fff; text-shadow: 0 2px 0 var(--teal3); animation: float 1.4s ease-in-out infinite; }
.lbl.bubble.dim { background: rgba(59,36,18,0.75); color: #fff; box-shadow: none; animation: none; }
.lbl.bubble.restock { font-size: 13px; padding: 3px 10px; animation: float 1.2s ease-in-out infinite; }
.lbl.bubble.restock.urgent { background: linear-gradient(180deg, var(--coral1), var(--coral2)); color: #fff; }
.lbl.bubble.chestpick { font-size: 18px; animation: float 1.2s ease-in-out infinite; }
@keyframes float { 50% { margin-top: -6px; } }

/* ---------- HUD ---------- */
#hud { position: fixed; top: calc(10px + var(--safe-t)); left: 10px; right: 10px; display: flex; align-items: flex-start; justify-content: space-between; pointer-events: none; z-index: 5; }
#hud > * { pointer-events: auto; }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; font-size: 22px; background: radial-gradient(circle at 35% 30%, var(--sand), var(--sand-d)); border: 3px solid var(--wood); box-shadow: 0 4px 0 var(--wood-d), 0 6px 14px rgba(0,0,0,0.2); }
.icon-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--wood-d); }
#money { display: flex; align-items: center; gap: 6px; padding: 4px 14px 4px 5px; border-radius: 24px; font-family: var(--display); font-size: 22px; background: linear-gradient(180deg, #7a4a24, #5e3415); border: 3px solid var(--gold2); box-shadow: 0 4px 0 #3b1f0b, 0 8px 16px rgba(0,0,0,0.25); text-shadow: 0 2px 0 rgba(0,0,0,0.35); }
#money.pop { animation: bump 0.25s ease-out; }
#voyage { position: absolute; left: 50%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
#level-val { font-family: var(--display); font-size: 21px; padding: 3px 28px 4px; color: #fff; background: linear-gradient(180deg, var(--teal1), var(--teal2)); text-shadow: 0 2px 0 var(--teal3); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); filter: drop-shadow(0 3px 0 var(--teal3)); }
#prog { display: none; align-items: center; gap: 4px; }
body[data-mode^="run"] #prog { display: flex; }
#prog-track { position: relative; width: 170px; height: 10px; border-radius: 6px; background: rgba(16,55,92,0.35); border: 2px dashed rgba(255,255,255,0.85); }
#prog-fill { height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--teal1), #fff); }
#prog-ship { position: absolute; top: -16px; left: 0; translate: -50% 0; font-size: 22px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); animation: sail 1s ease-in-out infinite; }
@keyframes sail { 50% { rotate: -8deg; } }
.isle { font-size: 18px; }
/* the pirate doubloon: reeded rim, raised inner ring, embossed anchor, a soft shine (one SVG, crisp at every size) */
.coin-ico { display: inline-block; width: 30px; height: 30px; border-radius: 50%; position: relative; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E %3Cdefs%3E%3CradialGradient id='g' cx='38%25' cy='32%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff3b0'/%3E%3Cstop offset='.35' stop-color='%23ffd447'/%3E%3Cstop offset='.8' stop-color='%23e79a12'/%3E%3Cstop offset='1' stop-color='%23b86a06'/%3E%3C/radialGradient%3E %3CradialGradient id='f' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffe680'/%3E%3Cstop offset='1' stop-color='%23e0950f'/%3E%3C/radialGradient%3E%3C/defs%3E %3Ccircle cx='32' cy='32' r='31' fill='%238a4d05'/%3E%3Ccircle cx='32' cy='32' r='30' fill='url%28%23g%29'/%3E %3Cg stroke='%23b5650a' stroke-width='1.6' stroke-linecap='round' opacity='.8'%3E%3Cline x1='61.00' y1='32.00' x2='58.00' y2='32.00'/%3E%3Cline x1='60.56' y1='37.04' x2='57.61' y2='36.51'/%3E%3Cline x1='59.25' y1='41.92' x2='56.43' y2='40.89'/%3E%3Cline x1='57.11' y1='46.50' x2='54.52' y2='45.00'/%3E%3Cline x1='54.22' y1='50.64' x2='51.92' y2='48.71'/%3E%3Cline x1='50.64' y1='54.22' x2='48.71' y2='51.92'/%3E%3Cline x1='46.50' y1='57.11' x2='45.00' y2='54.52'/%3E%3Cline x1='41.92' y1='59.25' x2='40.89' y2='56.43'/%3E%3Cline x1='37.04' y1='60.56' x2='36.51' y2='57.61'/%3E%3Cline x1='32.00' y1='61.00' x2='32.00' y2='58.00'/%3E%3Cline x1='26.96' y1='60.56' x2='27.49' y2='57.61'/%3E%3Cline x1='22.08' y1='59.25' x2='23.11' y2='56.43'/%3E%3Cline x1='17.50' y1='57.11' x2='19.00' y2='54.52'/%3E%3Cline x1='13.36' y1='54.22' x2='15.29' y2='51.92'/%3E%3Cline x1='9.78' y1='50.64' x2='12.08' y2='48.71'/%3E%3Cline x1='6.89' y1='46.50' x2='9.48' y2='45.00'/%3E%3Cline x1='4.75' y1='41.92' x2='7.57' y2='40.89'/%3E%3Cline x1='3.44' y1='37.04' x2='6.39' y2='36.51'/%3E%3Cline x1='3.00' y1='32.00' x2='6.00' y2='32.00'/%3E%3Cline x1='3.44' y1='26.96' x2='6.39' y2='27.49'/%3E%3Cline x1='4.75' y1='22.08' x2='7.57' y2='23.11'/%3E%3Cline x1='6.89' y1='17.50' x2='9.48' y2='19.00'/%3E%3Cline x1='9.78' y1='13.36' x2='12.08' y2='15.29'/%3E%3Cline x1='13.36' y1='9.78' x2='15.29' y2='12.08'/%3E%3Cline x1='17.50' y1='6.89' x2='19.00' y2='9.48'/%3E%3Cline x1='22.08' y1='4.75' x2='23.11' y2='7.57'/%3E%3Cline x1='26.96' y1='3.44' x2='27.49' y2='6.39'/%3E%3Cline x1='32.00' y1='3.00' x2='32.00' y2='6.00'/%3E%3Cline x1='37.04' y1='3.44' x2='36.51' y2='6.39'/%3E%3Cline x1='41.92' y1='4.75' x2='40.89' y2='7.57'/%3E%3Cline x1='46.50' y1='6.89' x2='45.00' y2='9.48'/%3E%3Cline x1='50.64' y1='9.78' x2='48.71' y2='12.08'/%3E%3Cline x1='54.22' y1='13.36' x2='51.92' y2='15.29'/%3E%3Cline x1='57.11' y1='17.50' x2='54.52' y2='19.00'/%3E%3Cline x1='59.25' y1='22.08' x2='56.43' y2='23.11'/%3E%3Cline x1='60.56' y1='26.96' x2='57.61' y2='27.49'/%3E%3C/g%3E %3Ccircle cx='32' cy='32' r='23.5' fill='url%28%23f%29' stroke='%23b5650a' stroke-width='2'/%3E %3Ccircle cx='32' cy='32' r='21' fill='none' stroke='%23fff0a0' stroke-width='1' opacity='.7'/%3E %3Cg fill='none' stroke='%23a35e05' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E %3Ccircle cx='32' cy='18.5' r='3.4'/%3E%3Cline x1='32' y1='22' x2='32' y2='46'/%3E%3Cline x1='24.5' y1='27' x2='39.5' y2='27'/%3E %3Cpath d='M20 36.5c1 6.5 6 10 12 10s11-3.5 12-10'/%3E%3C/g%3E %3Cg fill='%23a35e05'%3E%3Cpath d='M17 37.8l3.6-4.6 2.6 4.4z'/%3E%3Cpath d='M47 37.8l-3.6-4.6-2.6 4.4z'/%3E%3C/g%3E %3Cg fill='none' stroke='%23fff2b0' stroke-width='1' stroke-linecap='round' opacity='.8'%3E%3Cline x1='30.6' y1='23' x2='30.6' y2='44'/%3E%3Cpath d='M21.5 37.2c1.2 4.8 5.2 7.6 10 7.8'/%3E%3C/g%3E %3Cellipse cx='22' cy='17' rx='8' ry='4.5' fill='%23fff' opacity='.45' transform='rotate%28-35 22 17%29'/%3E%3C/svg%3E"); filter: drop-shadow(0 2px 0 rgba(90,50,5,0.55)); }
.coin-ico::after { content: none; }
.coin-ico.sm { width: 18px; height: 18px; } .coin-ico.sm::after { font-size: 9px; }

/* ---------- run-ready ---------- */
#run-ready { position: fixed; inset: 0; pointer-events: none; display: none; z-index: 4; }
body[data-mode="run-ready"] #run-ready { display: block; }
#gearbar { position: absolute; left: 50%; bottom: calc(14px + var(--safe-b)); translate: -50% 0; display: flex; gap: 8px; padding: 8px; border-radius: 22px; pointer-events: auto;
  background: linear-gradient(180deg, rgba(122,74,36,0.94), rgba(94,52,21,0.96)); border: 3px solid var(--gold2); box-shadow: 0 6px 0 #3b1f0b, 0 14px 30px rgba(0,0,0,0.3); animation: barIn 0.45s cubic-bezier(.2,1.4,.4,1) backwards; }
@keyframes barIn { from { translate: -50% 140%; } }
.gear { position: relative; width: 84px; padding: 6px 4px; border-radius: 16px; display: flex; flex-direction: column; align-items: center; gap: 2px; background: linear-gradient(180deg, var(--sand), var(--sand-d)); color: var(--ink); box-shadow: inset 0 -4px 0 rgba(138,90,43,0.35); transition: transform 0.1s; }
.gear:active { transform: translateY(3px) scale(0.97); }
.g-i { font-size: 30px; line-height: 1.1; height: 36px; display: grid; place-items: center; }
.g-i img { width: 36px; height: 36px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25)); }
.g-t { font-size: 11px; font-weight: 700; line-height: 1.1; text-align: center; color: var(--wood-d); min-height: 24px; }
.g-t b { display: block; color: var(--teal3); font-size: 12px; }
.g-b { font-family: var(--display); display: flex; align-items: center; gap: 3px; font-size: 14px; padding: 2px 9px; border-radius: 9px; color: #fff; background: linear-gradient(180deg, var(--teal1), var(--teal2)); text-shadow: 0 1px 0 var(--teal3); }
.g-b.ad { background: linear-gradient(180deg, #c4a6ff, #7c3aed); text-shadow: 0 1px 0 #4c1d95; }
.g-lv { position: absolute; top: -8px; right: -4px; font-family: var(--display); font-size: 11px; padding: 1px 6px; border-radius: 8px; background: var(--coral2); color: #fff; border: 2px solid #fff; }
.gear.compass.on { background: linear-gradient(180deg, #d9fff6, #9ff3e2); box-shadow: 0 0 18px rgba(94,234,212,0.9); }
.gear.cant .g-b { filter: grayscale(0.7); opacity: 0.75; }
#hint { position: absolute; left: 50%; top: 59%; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hand-track { width: 210px; height: 56px; position: relative; }
.hand-track::before { content: ''; position: absolute; left: 6px; right: 6px; top: 24px; height: 8px; border-radius: 6px; background: rgba(255,255,255,0.6); }
.hand { position: absolute; top: 4px; left: 0; font-size: 46px; animation: drag 1.6s ease-in-out infinite; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3)); }
@keyframes drag { 0%, 100% { left: 0; } 50% { left: 160px; } }
.hint-t { font-family: var(--display); font-size: 30px; letter-spacing: 1px; color: #fff; -webkit-text-stroke: 7px var(--wood-d); paint-order: stroke fill; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { scale: 1.08; } }
.keys { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--wood-d); }
kbd { font-family: var(--display); min-width: 30px; padding: 3px 8px; border-radius: 8px; background: var(--sand); color: var(--wood-d); border: 2px solid var(--wood); text-align: center; }

/* ---------- island ---------- */
#city-ui { position: fixed; left: 0; right: 0; bottom: calc(18px + var(--safe-b)); display: none; flex-direction: column; align-items: center; gap: 6px; pointer-events: none; z-index: 4; }
body[data-mode="city"] #city-ui { display: flex; }
#city-ui .btn { pointer-events: auto; }
.city-hint { font-size: 13px; font-weight: 600; color: var(--wood-d); text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
#joy { position: fixed; left: 0; top: 0; width: 0; height: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.15s; }
#joy.show { opacity: 1; }
#joy::before { content: ''; position: absolute; width: 120px; height: 120px; left: -60px; top: -60px; border-radius: 50%; background: rgba(255,244,220,0.25); border: 3px dashed rgba(138,90,43,0.7); }
#joy-knob { position: absolute; width: 54px; height: 54px; border-radius: 50%; left: 0; top: 0; transform: translate(-50%,-50%); background: radial-gradient(circle at 35% 30%, #fff6c4, var(--gold2) 60%, var(--gold3)); box-shadow: 0 4px 10px rgba(0,0,0,0.25); }

/* ---------- buttons ---------- */
.btn {
  position: relative; color: #fff; font-family: var(--display); font-size: 20px; padding: 12px 22px; border-radius: 16px; min-width: 150px;
  background: linear-gradient(180deg, var(--teal1), var(--teal2)); border: 3px solid var(--wood-d);
  box-shadow: 0 6px 0 var(--wood-d), 0 12px 22px rgba(0,0,0,0.22); text-shadow: 0 2px 0 rgba(0,0,0,0.25);
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--wood-d); }
.btn::after { content: ''; position: absolute; left: 8%; right: 8%; top: 4px; height: 32%; border-radius: 10px; background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0)); pointer-events: none; }
.btn small { font-size: 0.6em; opacity: 0.9; margin-left: 4px; }
.btn.big { font-size: 26px; padding: 14px 34px; }
.btn.green { background: linear-gradient(180deg, var(--teal1), var(--teal2)); }
.btn.ad { background: linear-gradient(180deg, #c4a6ff, #7c3aed); }
.btn.ghost { background: transparent; border-color: transparent; box-shadow: none; color: var(--wood); text-shadow: none; font-family: 'Fredoka'; font-weight: 700; font-size: 16px; }
.btn.ghost::after { display: none; }
.btn.play { background: linear-gradient(180deg, #ffd27a, #ff8a1f); }
.btn.play.pulse { animation: pulse 1.1s ease-in-out infinite; }
@keyframes pulse { 50% { scale: 1.08; box-shadow: 0 6px 0 var(--wood-d), 0 0 34px rgba(255,190,60,0.95); } }
.btn:disabled { filter: grayscale(0.8) brightness(0.9); opacity: 0.7; }
.hidden { visibility: hidden; }

/* ---------- parchment modal ---------- */
#modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; background: rgba(16,55,92,0.45); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.2s; padding: 16px; }
#modal.show { opacity: 1; pointer-events: auto; }
.panel {
  position: relative; width: min(380px, 100%); border-radius: 22px; padding: 26px 20px 20px; text-align: center; color: var(--ink);
  background: radial-gradient(ellipse at 50% 30%, #fffaf0, var(--sand) 60%, var(--sand-d)); border: 5px solid var(--wood);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.6), 0 10px 0 var(--wood-d), 0 24px 60px rgba(10,30,60,0.45); transform: scale(0.85); transition: transform 0.28s cubic-bezier(.2,1.6,.4,1);
}
.panel::before, .panel::after { content: '⚓'; position: absolute; top: 8px; font-size: 16px; color: var(--wood-l); opacity: 0.7; }
.panel::before { left: 12px; } .panel::after { right: 12px; }
.panel.wide { width: min(520px, 100%); }
#modal.show .panel { transform: scale(1); }
.panel h2 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 32px; color: var(--wood-d); text-shadow: 0 2px 0 #fff; }
.panel p { margin: 6px 4px 14px; font-size: 16px; font-weight: 500; color: #6b4a2b; line-height: 1.35; }
.panel p b { color: var(--teal3); }
.big-emoji { font-size: 64px; line-height: 1.1; filter: drop-shadow(0 6px 6px rgba(0,0,0,0.2)); animation: float 1.6s ease-in-out infinite; }
.btns { display: flex; flex-direction: column; gap: 12px; align-items: center; margin-top: 8px; }
.btns .btn { width: 100%; max-width: 300px; }

.ribbon { display: inline-block; margin: -52px 0 4px; padding: 10px 38px; font-family: var(--display); font-size: 24px; color: #fff; background: linear-gradient(180deg, var(--coral1), var(--coral2)); text-shadow: 0 2px 0 var(--coral3); clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); filter: drop-shadow(0 4px 0 var(--wood-d)); }
.chest { position: relative; width: 120px; height: 96px; margin: 8px auto 2px; animation: chestBounce 0.9s cubic-bezier(.2,1.8,.4,1) backwards; }
@keyframes chestBounce { from { transform: scale(0.2) translateY(40px); } }
.chest .box { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; border-radius: 8px; background: repeating-linear-gradient(0deg, #b3743b 0 12px, #9a5f2c 12px 14px); border: 4px solid var(--wood-d); }
.chest .lid { position: absolute; left: 0; right: 0; top: 0; height: 44px; border-radius: 40px 40px 6px 6px; background: repeating-linear-gradient(0deg, #c4834a 0 12px, #a8693a 12px 14px); border: 4px solid var(--wood-d); transform-origin: 50% 100%; animation: lidOpen 0.6s 0.5s ease-out forwards; z-index: 2; }
@keyframes lidOpen { to { transform: translateY(-16px) rotate(-12deg); } }
.chest .band { position: absolute; top: 0; bottom: 0; width: 12px; background: linear-gradient(180deg, #ffe08a, #d99a0a); }
.chest .glow { position: absolute; left: 5%; right: 5%; top: 22px; height: 36px; border-radius: 50%; background: radial-gradient(#fff6b0, rgba(255,210,60,0)); opacity: 0; animation: glow 0.6s 0.8s forwards; z-index: 1; }
@keyframes glow { to { opacity: 1; transform: scale(1.8); } }
.earned { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-size: 46px; color: var(--gold3); text-shadow: 0 3px 0 #fff; margin: 4px 0 6px; }
.earned .coin-ico { width: 42px; height: 42px; }
.mult-chip { display: inline-block; font-family: var(--display); font-size: 16px; padding: 4px 14px; border-radius: 12px; color: #fff; background: linear-gradient(180deg, var(--teal1), var(--teal2)); margin-bottom: 12px; }

.toggles { display: flex; gap: 12px; justify-content: center; margin: 14px 0; }
.tgl { flex: 1; font-family: var(--display); font-size: 18px; padding: 14px; border-radius: 16px; background: #eadbb8; color: #a08560; box-shadow: 0 4px 0 #c9b28a; }
.tgl.on { background: linear-gradient(180deg, var(--teal1), var(--teal2)); color: #fff; box-shadow: 0 4px 0 var(--teal3); }

.skins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0; }
.skin { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 16px; background: #fffaf0; box-shadow: 0 4px 0 var(--sand-d); color: var(--ink); border: 3px solid transparent; }
.skin.sel { border-color: var(--teal2); background: #e9fffb; }
.skin img { width: 64px; height: 64px; filter: drop-shadow(0 4px 4px rgba(0,0,0,0.2)); }
.skin b { font-size: 13px; }
.tag { font-family: var(--display); font-size: 12px; padding: 3px 10px; border-radius: 10px; background: #f0e2c4; color: var(--wood); }
.tag.sel { background: var(--teal2); color: #fff; }
.tag.ad { background: #7c3aed; color: #fff; }
.tag.buy { background: var(--gold2); color: var(--wood-d); }
.tag.cant { opacity: 0.55; }

/* ---------- misc ---------- */
#toast { position: fixed; left: 50%; top: calc(92px + var(--safe-t)); translate: -50% -20px; z-index: 15; padding: 10px 18px; border-radius: 14px; font-size: 16px; font-weight: 600; color: var(--ink); background: var(--sand); border: 3px solid var(--wood); box-shadow: 0 4px 0 var(--wood-d); opacity: 0; transition: all 0.25s; pointer-events: none; text-align: center; max-width: 90vw; }
#toast.show { opacity: 1; translate: -50% 0; }
#banner { position: fixed; left: 0; right: 0; top: 28%; z-index: 12; text-align: center; pointer-events: none; opacity: 0; }
#banner.show { animation: banner 1.9s cubic-bezier(.2,1.4,.4,1) forwards; }
.b-main { font-family: var(--display); font-size: 66px; color: #fff; -webkit-text-stroke: 10px var(--wood-d); paint-order: stroke fill; text-shadow: 0 8px 0 rgba(59,36,18,0.4); letter-spacing: 2px; }
.b-sub { font-family: var(--display); font-size: 22px; color: var(--gold1); -webkit-text-stroke: 5px var(--wood-d); paint-order: stroke fill; }
@keyframes banner { 0% { opacity: 0; transform: scale(2.2); } 18% { opacity: 1; transform: scale(1); } 75% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0.85) translateY(-30px); } }
#fade { position: fixed; inset: 0; z-index: 30; background: radial-gradient(circle, #5eead4, #0f7fc4); opacity: 0; pointer-events: none; transition: opacity 0.28s; }
#fade.on { opacity: 1; }
#fade.wait { pointer-events: auto; }
#fade.wait::after { content: 'Sailing to Treasure Island…'; position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; color: #fff; font: 700 clamp(20px, 4vw, 34px) Fredoka, sans-serif; text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35); animation: fadewait 1.2s ease-in-out infinite alternate; }
@keyframes fadewait { from { opacity: 0.55; } to { opacity: 1; } }
#fake-ad { position: fixed; inset: 0; z-index: 40; display: none; place-items: center; background: rgba(0,0,0,0.85); font-size: 24px; }
#fake-ad.show { display: grid; }

#loading { position: fixed; inset: 0; z-index: 50; overflow: hidden; display: grid; place-items: center; transition: opacity 0.7s, transform 0.7s;
  background: radial-gradient(ellipse 80% 60% at 50% 38%, #8af7e6 0%, #2fd3c0 28%, #12a8b8 58%, #0b6fa8 85%, #084f86 100%); }
#loading.gone { opacity: 0; transform: scale(1.06); pointer-events: none; }
.sp-rays { position: absolute; left: 50%; top: 38%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.13) 0deg 7deg, rgba(255,255,255,0) 7deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 5%, transparent 55%); mask: radial-gradient(circle, #000 5%, transparent 55%); animation: raySpin 30s linear infinite; }
.sp-bubbles i { position: absolute; bottom: -30px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; border: 2px solid rgba(255,255,255,0.55); background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.7), rgba(255,255,255,0.05) 60%); animation: bubble var(--t) var(--d) linear infinite; }
@keyframes bubble { 0% { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } 50% { transform: translateY(-50vh) translateX(14px); } 100% { transform: translateY(-105vh) translateX(-10px); opacity: 0; } }
.sp-waves { position: absolute; left: 0; bottom: -2px; width: 200%; height: 140px; animation: waveSlide 9s linear infinite; }
.sp-waves .w1 { fill: rgba(255,255,255,0.18); }
.sp-waves .w2 { fill: rgba(8,79,134,0.55); animation: waveBob 3.5s ease-in-out infinite; }
@keyframes waveSlide { to { transform: translateX(-50%); } }
@keyframes waveBob { 50% { transform: translateY(8px); } }
.sp-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 0 16px; }
.sp-stage { position: relative; width: 240px; height: 210px; animation: spIn 0.9s cubic-bezier(.2,1.6,.4,1) backwards; }
@keyframes spIn { from { transform: scale(0.3) translateY(60px); opacity: 0; } }
.sp-burst { position: absolute; left: 50%; top: 46%; width: 300px; height: 300px; margin: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,240,180,0.75), rgba(255,210,90,0.25) 40%, transparent 68%); animation: glowPulse 2.2s ease-in-out infinite; }
.sp-chest { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 16px 14px rgba(0,30,60,0.4)); animation: float 2.4s ease-in-out infinite; }
.sp-chest .ld-lid { transform-box: fill-box; transform-origin: 50% 100%; animation: lidBreath 2.4s ease-in-out infinite; }
@keyframes lidBreath { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.92); } }
.sp-chest .ld-glow { transform-box: fill-box; transform-origin: center; animation: glowPulse 1.6s ease-in-out infinite; }
.sp-orbit-wrap { position: absolute; left: 50%; top: 56%; width: 0; height: 0; transform: scaleY(0.36); }
.sp-orbit { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: orbit 6s linear infinite; }
.sp-orbit i { position: absolute; width: 28px; height: 28px; margin: -14px; border-radius: 50%; transform: rotate(var(--a)) translateX(150px) rotate(calc(var(--a) * -1)) scaleY(2.6); animation: orbitFix 6s linear infinite;
  background: radial-gradient(circle at 35% 30%, #fff6c4 0 18%, #ffd84d 45%, #d98200 100%); box-shadow: inset 0 0 0 2px #ffcf33, inset 0 0 0 4px #b5650a, 0 4px 8px rgba(0,0,0,0.25); }
.sp-orbit i::after { content: '⚓'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; color: #a35e05; }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes orbitFix { from { transform: rotate(var(--a)) translateX(150px) rotate(calc(var(--a) * -1)) scaleY(2.6); } to { transform: rotate(var(--a)) translateX(150px) rotate(calc(var(--a) * -1 - 360deg)) scaleY(2.6); } }
.sp-title { margin: 6px 0 0; display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-weight: 400; line-height: 0.9; animation: spIn 0.9s 0.15s cubic-bezier(.2,1.6,.4,1) backwards; }
.sp-small { font-size: 32px; letter-spacing: 10px; margin-right: -10px; color: #fff; -webkit-text-stroke: 7px #5e3415; paint-order: stroke fill; text-shadow: 0 5px 0 #3b1f0b; }
.sp-gold { position: relative; font-size: 76px; margin-top: 4px; color: #5e3415; -webkit-text-stroke: 14px #5e3415; text-shadow: 0 9px 0 #3b1f0b, 0 18px 30px rgba(0,20,40,0.45); }
.sp-gold::after { content: attr(data-t); position: absolute; left: 0; top: 0; right: 0; bottom: 0; color: transparent; -webkit-text-stroke: 0; text-shadow: none;
  background: linear-gradient(110deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0) 58%), linear-gradient(180deg, #fff7c9 0%, #ffd94a 42%, #f5a316 58%, #ffcf4a 100%);
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; animation: shine 3.2s ease-in-out infinite; }
@keyframes shine { 0% { background-position: 130% 0, 0 0; } 55%, 100% { background-position: -30% 0, 0 0; } }
.sp-ribbon { margin-top: 10px; font-size: 20px; letter-spacing: 4px; padding: 6px 34px 7px; color: #fff; background: linear-gradient(180deg, #2fe0cc, #0fa898); text-shadow: 0 2px 0 #0b6f66;
  clip-path: polygon(0 0, 100% 0, 94% 50%, 100% 100%, 0 100%, 6% 50%); filter: drop-shadow(0 4px 0 #0b5f57); }
.sp-load { width: min(300px, 80vw); margin-top: 30px; animation: spIn 0.9s 0.3s cubic-bezier(.2,1.6,.4,1) backwards; }
.sp-bar { position: relative; height: 22px; border-radius: 14px; padding: 3px; background: linear-gradient(180deg, #7a4a24, #5e3415); border: 3px solid #f4dcae; box-shadow: 0 4px 0 #3b1f0b, 0 10px 20px rgba(0,0,0,0.3), inset 0 2px 6px rgba(0,0,0,0.4); }
#load-fill { position: relative; height: 100%; width: 0; border-radius: 10px; transition: width 0.15s linear;
  background: repeating-linear-gradient(-45deg, #ffd23f 0 10px, #ffbe1a 10px 20px); background-size: 28px 100%; box-shadow: inset 0 3px 0 rgba(255,255,255,0.45); animation: stripes 0.8s linear infinite; }
@keyframes stripes { to { background-position: 28px 0; } }
/* the bar's doubloon: a real CSS-3D coin (two faces + a stack of rim slices for thickness) spinning on its axis */
.sp-coin { position: absolute; right: -19px; top: 50%; width: 38px; height: 38px; margin-top: -19px; perspective: 260px; filter: drop-shadow(0 3px 3px rgba(0,40,70,0.35)); }
.sp-coin3d { position: absolute; inset: 0; transform-style: preserve-3d; animation: coin3d 1.6s linear infinite; }
.sp-coin3d > span { position: absolute; inset: 0; border-radius: 50%; backface-visibility: visible; }
.sp-coin3d .ce { transform: translateZ(var(--z)); background: radial-gradient(circle, #c97a06 0 62%, #e39a12 70%, #a85f02 100%); }
.sp-coin3d .cf, .sp-coin3d .cb { background: radial-gradient(circle at 35% 30%, #fff6c4 0 14%, #ffdc55 40%, #f0a516 78%, #c87806 100%); box-shadow: inset 0 0 0 2.5px #ffe27a, inset 0 0 0 5px #c47406, inset 0 0 0 6.5px #ffd23f; }
.sp-coin3d .cf { transform: translateZ(3px); }
.sp-coin3d .cb { transform: rotateY(180deg) translateZ(3px); }
.sp-coin3d .cf::after, .sp-coin3d .cb::after { content: '⚓'; position: absolute; inset: 0; display: grid; place-items: center; font-size: 16px; color: #a35e05; text-shadow: 0 1px 0 #fff3b0; }
@keyframes coin3d { 0% { transform: rotateY(0deg) rotateX(8deg); } 100% { transform: rotateY(360deg) rotateX(8deg); } }
@keyframes coinSpin { 0% { transform: scaleX(1); } 25% { transform: scaleX(0.15); } 50% { transform: scaleX(-1); } 75% { transform: scaleX(-0.15); } 100% { transform: scaleX(1); } }
.sp-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-size: 15px; font-weight: 700; color: #fff; text-shadow: 0 2px 0 rgba(6,60,90,0.5); }
#load-pct { font-family: var(--display); font-weight: 400; font-size: 18px; color: #ffe08a; -webkit-text-stroke: 4px #5e3415; paint-order: stroke fill; }
@media (max-width: 520px) { .sp-gold { font-size: 56px; } .sp-gold { -webkit-text-stroke-width: 11px; } .sp-small { font-size: 24px; letter-spacing: 7px; } .sp-stage { transform: scale(0.85); } }

@media (max-width: 520px) {
  .gear { width: 62px; padding: 5px 2px; } .g-i { font-size: 24px; height: 30px; } .g-i img { width: 28px; height: 28px; } .g-t { font-size: 9px; min-height: 20px; } .g-t b { font-size: 10px; } .g-b { font-size: 11px; padding: 2px 6px; }
  #gearbar { gap: 5px; padding: 6px; }
  #level-val { font-size: 17px; } #prog-track { width: 100px; } #money { font-size: 18px; }
  .lbl.crowd { font-size: 17px; } .lbl.float { font-size: 28px; } .lbl.float.huge { font-size: 48px; }
  .lbl.pad { min-width: 62px; padding: 4px 8px 5px; border-radius: 12px; } .pad-icon { font-size: 18px; } .pad-title { font-size: 10px; } .pad-cost { font-size: 14px; }
  .lbl.stock { font-size: 11px; } .lbl.bubble { font-size: 13px; }
  .btn.big { font-size: 22px; padding: 12px 26px; }
  .b-main { font-size: 48px; -webkit-text-stroke: 7px var(--wood-d); } .b-sub { font-size: 17px; }
  .hint-t { font-size: 24px; }
}
@media (max-height: 520px) { #hint { top: 38%; scale: 0.7; } }   /* (kept, smaller and higher: hidden, a new player on a short window had no idea how to steer) */
.lbl.pad.mini { min-width: 0; padding: 3px 6px; border-radius: 50%; opacity: 0.85; }
.lbl.pad.mini .pad-title, .lbl.pad.mini .pad-cost { display: none; }
.lbl.pad.mini .pad-icon { font-size: 16px; }

/* ---------- voyage complete (celebration screen) ---------- */
#modal:has(.victory) { background: radial-gradient(ellipse at 50% 40%, rgba(20,120,140,0.55), rgba(8,40,70,0.85)); backdrop-filter: blur(5px); }
.panel.victory { width: min(440px, 100%); background: none; border: 0; box-shadow: none; padding: 0; overflow: visible; color: #fff; }
.panel.victory::before, .panel.victory::after { display: none; }
.v-rays { position: absolute; left: 50%; top: 42%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: repeating-conic-gradient(from 0deg, rgba(255,226,140,0.22) 0deg 9deg, rgba(255,226,140,0) 9deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 18%, transparent 62%); mask: radial-gradient(circle, #000 18%, transparent 62%); animation: raySpin 14s linear infinite; }
@keyframes raySpin { to { rotate: 360deg; } }
.v-title { display: flex; flex-direction: column; align-items: center; line-height: 0.95; animation: vDrop 0.6s cubic-bezier(.2,1.6,.4,1) backwards; }
@keyframes vDrop { from { transform: translateY(-40px) scale(0.6); opacity: 0; } }
.v-voy { font-family: var(--display); font-size: 18px; letter-spacing: 3px; padding: 4px 16px; border-radius: 20px; background: rgba(13,127,116,0.85); border: 2px solid rgba(255,255,255,0.7); }
.v-big { margin-top: 6px; font-family: var(--display); font-size: 60px; color: #ffe08a; -webkit-text-stroke: 10px #5e3415; paint-order: stroke fill; text-shadow: 0 7px 0 rgba(59,36,18,0.45); letter-spacing: 1px; }
.v-stage { position: relative; width: 230px; height: 200px; margin: 0 auto -10px; }
.v-chest { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 12px 10px rgba(0,0,0,0.35)); animation: chestPop 0.7s 0.1s cubic-bezier(.2,1.8,.4,1) backwards; }
@keyframes chestPop { from { transform: scale(0.3) translateY(60px); opacity: 0; } }
.v-chest .vc-lid { transform-box: fill-box; transform-origin: 50% 100%; animation: lidOpen2 0.55s 0.4s cubic-bezier(.3,1.7,.5,1) both; }
@keyframes lidOpen2 { from { transform: scaleY(0.12); } to { transform: scaleY(1); } }
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 1.6s ease-in-out infinite; }
.spark.s2 { animation-delay: 0.5s; } .spark.s3 { animation-delay: 1s; }
@keyframes twinkle { 0%, 100% { opacity: 0.2; scale: 0.5; } 50% { opacity: 1; scale: 1.15; } }
.v-chest .vc-heap { opacity: 0; animation: heapIn 0.4s 0.6s ease-out forwards; }
@keyframes heapIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.v-chest .vc-glow { transform-box: fill-box; transform-origin: center; opacity: 0; animation: glowIn 0.6s 0.6s forwards, glowPulse 1.6s 1.2s ease-in-out infinite; }
@keyframes glowIn { to { opacity: 1; } }
@keyframes glowPulse { 50% { transform: scale(1.15); } }
.v-fly { position: absolute; left: 50%; top: 46%; width: 26px; height: 26px; margin: -13px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 35% 30%, #fff6c4 0 18%, #ffd84d 45%, #d98200 100%); box-shadow: inset 0 0 0 2px #ffcf33, inset 0 0 0 4px #b5650a;
  animation: coinBurst 1s var(--d) cubic-bezier(.2,.8,.4,1) forwards; }
@keyframes coinBurst { 0% { opacity: 1; transform: rotate(var(--a)) translateY(0) scale(0.4); } 60% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateY(-150px) scale(1) rotateY(540deg); } }
.v-loot { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 2px 0 18px; animation: vDrop 0.5s 0.5s cubic-bezier(.2,1.6,.4,1) backwards; }
.v-loot .coin-ico { width: 46px; height: 46px; }
.v-loot .coin-ico::after { font-size: 20px; }
#earned-val { font-family: var(--display); font-size: 58px; color: #fff; -webkit-text-stroke: 9px #5e3415; paint-order: stroke fill; text-shadow: 0 6px 0 rgba(59,36,18,0.4); min-width: 2ch; }
.v-loot.done #earned-val { animation: bump 0.35s ease-out; }
.v-stamp { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; rotate: 12deg; line-height: 0.9;
  background: radial-gradient(circle at 35% 30%, #7ff6e8, #14b8a6 70%); border: 4px dashed #fff; box-shadow: 0 0 0 4px #0d7f74, 0 6px 12px rgba(0,0,0,0.3); animation: stampIn 0.45s 1.9s cubic-bezier(.2,1.8,.4,1) backwards; }
.v-stamp b { font-family: var(--display); font-weight: 400; font-size: 22px; text-shadow: 0 2px 0 #0d7f74; }
.v-stamp small { font-family: var(--display); font-size: 10px; letter-spacing: 1px; }
@keyframes stampIn { from { transform: scale(2.4); opacity: 0; } }
.v-btns { display: flex; flex-direction: column; align-items: center; gap: 12px; animation: vDrop 0.5s 0.8s cubic-bezier(.2,1.6,.4,1) backwards; }
.v-main { display: flex; align-items: center; justify-content: center; gap: 10px; width: min(320px, 92vw); padding: 12px 16px; font-size: 24px; white-space: nowrap; animation: pulse 1.3s 1.5s ease-in-out infinite; }
.v-adtag { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.25); font-size: 18px; }
.v-amt { font-size: 20px; padding: 3px 10px; border-radius: 10px; background: rgba(40,10,90,0.35); }
.v-skip { font-family: 'Fredoka'; font-weight: 700; font-size: 16px; color: rgba(255,255,255,0.85); background: none; padding: 8px 18px; border-radius: 20px; border: 2px solid rgba(255,255,255,0.35); }
.v-skip:active { background: rgba(255,255,255,0.12); }
@media (max-width: 520px) { .v-big { font-size: 46px; -webkit-text-stroke: 8px #5e3415; } #earned-val { font-size: 46px; } .v-main { font-size: 20px; } .v-stage { width: 200px; height: 174px; } }
@media (max-width: 520px) { #hint { top: 60%; } }

/* ---------- developer debug menu (L) ---------- */
#dbg { position: fixed; right: 12px; top: 70px; z-index: 60; width: 300px; max-height: calc(100vh - 84px); overflow-y: auto; padding: 14px; border-radius: 18px; display: none;
  background: linear-gradient(180deg, rgba(26,32,54,0.97), rgba(17,21,38,0.97)); color: #e8ecff; font: 600 13px Fredoka, system-ui, sans-serif;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.12); }
#dbg.show { display: block; animation: dbgIn 0.16s ease-out; }
@keyframes dbgIn { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
#dbg .dbg-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 15px; }
#dbg .dbg-key { padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); font: 600 12px ui-monospace, monospace; opacity: 0.8; }
#dbg section { padding: 10px 10px 4px; margin-bottom: 8px; border-radius: 12px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06); }
#dbg h4 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 6px; font-size: 11px; letter-spacing: 0.8px; text-transform: uppercase; color: #9aa6d6; }
#dbg .dbg-row { display: flex; gap: 6px; align-items: center; margin: 0 0 8px; }
#dbg label { width: 78px; flex: none; opacity: 0.9; }
#dbg input[type=number] { flex: 1; min-width: 0; padding: 7px 9px; border-radius: 9px; border: 1px solid rgba(255,255,255,0.16); background: rgba(0,0,0,0.25); color: #fff; font: inherit; user-select: text; -webkit-user-select: text; }
#dbg input[type=number]:focus { outline: none; border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,0.25); }
#dbg button { padding: 7px 11px; border-radius: 9px; background: #3b82f6; color: #fff; font: inherit; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.2); transition: filter 0.12s; }
#dbg button:hover { filter: brightness(1.12); }
#dbg button:active { transform: translateY(1px); }
#dbg .dbg-go { background: #16a34a; }
#dbg .dbg-chips button { flex: 1; padding: 7px 0; background: #0d9488; }
#dbg .dbg-wide { flex: 1; background: #7c3aed; }
#dbg .dbg-danger { width: 100%; padding: 9px; background: transparent; color: #fb7185; border: 1px solid rgba(251,113,133,0.5); box-shadow: none; }
#dbg .dbg-danger:hover { background: rgba(225,29,72,0.15); }
#dbg .dbg-link { padding: 0 2px; background: none; box-shadow: none; color: #93c5fd; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; }
#dbg-money { font: 700 13px ui-monospace, monospace; color: #ffd166; letter-spacing: 0; text-transform: none; }
#dbg .dbg-speed { margin-bottom: 10px; }
#dbg .dbg-sl { display: flex; justify-content: space-between; margin-bottom: 4px; }
#dbg .dbg-val { font: 700 13px ui-monospace, monospace; color: #cbd5ff; }
#dbg .dbg-val.off { color: #fbbf24; }
#dbg input[type=range] { --p: 25%; width: 100%; height: 6px; margin: 6px 0 8px; border-radius: 99px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background: linear-gradient(90deg, #38bdf8 var(--p), rgba(255,255,255,0.14) var(--p)); }
#dbg input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #38bdf8; box-shadow: 0 2px 6px rgba(0,0,0,0.4); }
#dbg input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid #38bdf8; }
#dbg .dbg-pre { display: flex; gap: 5px; }
#dbg .dbg-pre button { flex: 1; padding: 5px 0; background: rgba(255,255,255,0.08); color: #cbd5ff; box-shadow: none; font-size: 12px; }
#dbg .dbg-pre button.on { background: #38bdf8; color: #082032; }
/* calmer out-of-stock state: no pulsing, no bouncing */
.lbl.stock.warn { animation: none; background: rgba(214,69,80,0.92); font-size: 12px; padding: 3px 9px; box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.lbl.stock .oos { letter-spacing: 0.5px; }
.lbl.bubble.restock { animation: drift 3.2s ease-in-out infinite; }
.lbl.bubble.restock.urgent { animation: none; }
@keyframes drift { 50% { margin-top: -3px; } }

/* quieter emoji reactions */
.lbl.float.emoji.soft { font-size: 16px; opacity: 0.8; filter: none; }
.lbl.emoji { animation: none; font-size: 20px; }
.lbl.float.emoji { font-size: 18px; }

/* splash: bubbles layer must not take grid space; content centered and lifted a touch */
.sp-bubbles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.sp-center { transform: translateY(-4vh); }
.sp-rays { top: 40%; }

/* sailing is done by walking into the ground zone at the MY ISLAND arch */
#btn-play { display: none !important; }

.v-main.green .v-amt { background: rgba(0,60,50,0.28); }

/* =====================================================================
   Soft tropical theme — airy white cards, lagoon-navy ink, teal / coral / gold accents.
   Replaces the old brown wood & parchment look everywhere (overrides only).
   ===================================================================== */
:root {
  --ink: #24485a;
  --wood: #9ccfd2; --wood-d: #1f4a5e; --wood-l: #b9e3e3;
  --sand: #ffffff; --sand-d: #eef6f4;
  --muted: #5d7f8d;
  --card-shadow: 0 10px 26px rgba(14, 58, 78, 0.18);
  --soft-edge: 0 3px 0 #dcebe8;
}
/* world labels */
.lbl.crowd { border: 0; box-shadow: 0 4px 0 #c97a00, 0 8px 16px rgba(14,58,78,0.25); text-shadow: 0 2px 0 rgba(150,80,0,0.5); }
.lbl.pad { background: #fff; border: 0; box-shadow: var(--soft-edge), var(--card-shadow); border-radius: 16px; }
.pad-title { color: var(--muted); }
.lbl.stock { background: rgba(31,74,94,0.82); }
.lbl.bubble { border: 0; color: #5a3d00; box-shadow: 0 3px 0 #d99a0a, 0 8px 16px rgba(14,58,78,0.2); }
.lbl.bubble.ad { box-shadow: 0 3px 0 #0d8f80, 0 8px 16px rgba(14,58,78,0.2); color: #fff; }
.lbl.bubble.dim { background: rgba(31,74,94,0.78); }
.lbl.bubble.restock.urgent { box-shadow: 0 3px 0 #c43c3c, 0 8px 16px rgba(14,58,78,0.2); }

/* HUD */
.icon-btn { background: rgba(255,255,255,0.94); border: 0; box-shadow: 0 4px 0 #d3e6e3, var(--card-shadow); }
.icon-btn:active { box-shadow: 0 1px 0 #d3e6e3; }
#money { background: rgba(255,255,255,0.94); color: var(--ink); border: 0; box-shadow: 0 4px 0 #d3e6e3, var(--card-shadow); text-shadow: none; }
#level-val { filter: drop-shadow(0 3px 0 #0d8f80) drop-shadow(0 6px 10px rgba(14,58,78,0.2)); }
#prog-track { background: rgba(255,255,255,0.35); border: 0; box-shadow: inset 0 1px 3px rgba(14,58,78,0.25); }
#prog-fill { background: linear-gradient(90deg, #ffd166, #fff3c4); }

/* run-ready gear tray: frosted glass */
#gearbar { background: rgba(255,255,255,0.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.85); box-shadow: 0 16px 36px rgba(14,58,78,0.25); border-radius: 26px; padding: 9px; }
.gear { background: #fff; border-radius: 18px; box-shadow: var(--soft-edge), 0 6px 14px rgba(14,58,78,0.08); }
.g-t { color: var(--muted); }
.g-t b { color: #0d8f80; }
.g-b { box-shadow: 0 2px 0 #0d8f80; text-shadow: none; }
.g-b.ad { box-shadow: 0 2px 0 #5b21b6; }
.g-lv { border: 0; box-shadow: 0 2px 6px rgba(196,60,60,0.4); }
.gear.compass.on { background: linear-gradient(180deg, #e9fffb, #c4f5ea); }
.hint-t { -webkit-text-stroke: 6px var(--wood-d); }
.keys { color: #fff; text-shadow: 0 1px 2px rgba(14,58,78,0.5); }
kbd { background: rgba(255,255,255,0.95); color: var(--ink); border: 0; box-shadow: 0 2px 0 #cfe3e0; }
.city-hint { color: #fff; text-shadow: 0 1px 3px rgba(14,58,78,0.55); }
#joy::before { background: rgba(255,255,255,0.18); border: 3px dashed rgba(255,255,255,0.8); }

/* buttons: no dark outline, soft coloured base */
.btn { border: 0; border-radius: 18px; box-shadow: 0 5px 0 #0d8f80, 0 12px 24px rgba(14,58,78,0.25); text-shadow: 0 2px 0 rgba(0,60,55,0.25); }
.btn:active { box-shadow: 0 1px 0 #0d8f80; }
.btn.ad { box-shadow: 0 5px 0 #5b21b6, 0 12px 24px rgba(14,58,78,0.25); text-shadow: 0 2px 0 rgba(60,20,120,0.3); }
.btn.ad:active { box-shadow: 0 1px 0 #5b21b6; }
.btn.play { box-shadow: 0 5px 0 #d9700a, 0 12px 24px rgba(14,58,78,0.25); }
.btn.ghost { color: var(--muted); box-shadow: none; }
@keyframes pulse { 50% { scale: 1.06; } }

/* panels: clean white cards */
#modal { background: rgba(14,60,80,0.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.panel { background: linear-gradient(180deg, #ffffff, #f6fbfa); border: 0; border-radius: 28px; box-shadow: 0 30px 70px rgba(10,40,60,0.35), inset 0 0 0 1px rgba(255,255,255,0.9); }
.panel::before, .panel::after { display: none; }
.panel h2 { color: var(--ink); text-shadow: none; letter-spacing: 0.5px; }
.panel p { color: var(--muted); }
.panel p b { color: #0d8f80; }
.ribbon { filter: drop-shadow(0 4px 0 #c43c3c); }
.earned { color: #e08a00; text-shadow: none; }
.tgl { background: #eef4f3; color: #8aa3ad; box-shadow: 0 4px 0 #dbe7e5; }
.tgl.on { box-shadow: 0 4px 0 #0d8f80; }
.skin { background: #f7fbfa; box-shadow: 0 3px 0 #e2eeec; border: 3px solid transparent; }
.skin.sel { border-color: var(--teal2); background: #ecfdf9; }
.skin b { color: var(--ink); }
.tag { background: #eef4f3; color: var(--muted); }
.tag.buy { background: #ffe08a; color: #6b4a00; }

/* toast & banner */
#toast { background: rgba(255,255,255,0.96); color: var(--ink); border: 0; box-shadow: var(--card-shadow); border-radius: 16px; }
.b-main { text-shadow: 0 8px 0 rgba(31,74,94,0.35); }

/* voyage complete */
#modal:has(.victory) { background: radial-gradient(ellipse at 50% 40%, rgba(40,170,180,0.5), rgba(10,50,80,0.82)); }
.v-big { -webkit-text-stroke-color: #1f4a5e; text-shadow: 0 7px 0 rgba(31,74,94,0.45); }
#earned-val { -webkit-text-stroke-color: #1f4a5e; text-shadow: 0 6px 0 rgba(31,74,94,0.4); }
.v-voy { background: rgba(255,255,255,0.22); border: 1px solid rgba(255,255,255,0.7); }
@media (max-width: 520px) { .v-big { -webkit-text-stroke: 8px #1f4a5e; } }

/* splash */
.sp-small { -webkit-text-stroke-color: #1f4a5e; text-shadow: 0 5px 0 #143a4c; }
.sp-gold { color: #1f4a5e; -webkit-text-stroke-color: #1f4a5e; text-shadow: 0 9px 0 #143a4c, 0 18px 30px rgba(0,20,40,0.45); }
.sp-bar { background: rgba(255,255,255,0.3); border: 2px solid rgba(255,255,255,0.85); box-shadow: 0 10px 24px rgba(0,40,70,0.25), inset 0 2px 6px rgba(0,40,70,0.25); }
#load-pct { -webkit-text-stroke-color: #1f4a5e; }

/* ---------- island minimap + full map ---------- */
#minimap { position: fixed; left: 12px; bottom: calc(14px + var(--safe-b)); width: 116px; height: 150px; padding: 3px; border-radius: 20px; z-index: 6; display: none; overflow: hidden;
  background: #fff; box-shadow: 0 4px 0 #d3e6e3, 0 10px 26px rgba(14,58,78,0.25); transition: transform 0.12s; }
body[data-mode="city"] #minimap { display: block; }
#minimap:active { transform: scale(0.95); }
#minimap canvas { display: block; border-radius: 17px; }
.mm-tag { position: absolute; right: 7px; bottom: 7px; font-family: var(--display); font-size: 11px; letter-spacing: 1px; padding: 2px 7px; border-radius: 8px; background: rgba(31,74,94,0.78); color: #fff; }
#bigmap { position: fixed; inset: 0; z-index: 22; display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity 0.2s;
  background: rgba(14,60,80,0.38); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#bigmap.show { opacity: 1; pointer-events: auto; }
.bm-card { background: linear-gradient(180deg, #ffffff, #f6fbfa); border-radius: 28px; padding: 12px 14px 14px; box-shadow: 0 30px 70px rgba(10,40,60,0.35); transform: scale(0.92); transition: transform 0.25s cubic-bezier(.2,1.5,.4,1); }
#bigmap.show .bm-card { transform: scale(1); }
.bm-head { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; }
.bm-head b { font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--ink); }
.bm-x { width: 36px; height: 36px; border-radius: 50%; background: #eef4f3; color: var(--ink); font-size: 16px; font-weight: 700; box-shadow: 0 2px 0 #dbe7e5; }
.bm-x:active { transform: translateY(2px); box-shadow: none; }
#bigmap canvas { display: block; border-radius: 20px; }
.bm-legend { display: flex; gap: 16px; justify-content: center; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.bm-legend span { display: flex; align-items: center; gap: 6px; }
.bm-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 4px; }
.lg-you { background: #ff5a5a; border-radius: 50% !important; box-shadow: 0 0 0 3px rgba(255,90,90,0.25); }
.lg-open { background: #ffa8cb; box-shadow: inset 0 0 0 2px #fff, 0 0 0 1px #e6eef0; }
.lg-lock { background: #e6f2ee; border: 2px dashed #9fbfc6; }
@media (max-width: 520px) { #minimap { width: 92px; height: 120px; border-radius: 17px; } #minimap canvas { border-radius: 14px; } }
/* round, zoomed-in minimap that follows the captain */
#minimap { width: 132px; height: 132px; padding: 4px; border-radius: 50%; overflow: visible; }
#minimap canvas { border-radius: 50%; }
#minimap::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; pointer-events: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7), inset 0 0 14px rgba(14,58,78,0.35); }
.mm-tag { right: auto; left: 50%; bottom: -8px; translate: -50% 0; box-shadow: 0 2px 6px rgba(14,58,78,0.3); z-index: 1; }
@media (max-width: 520px) { #minimap { width: 104px; height: 104px; border-radius: 50%; } #minimap canvas { border-radius: 50%; } }

/* level badge in the shop label */
.lbl.stock .lv { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 7px; background: #ffc23d; color: #5a3d00; font-size: 0.85em; line-height: 1.5; }

/* speech bubbles */
.lbl.say { font-family: 'Fredoka', system-ui, sans-serif; font-size: 12px; font-weight: 600; color: #1f4a5e; background: #fff; padding: 4px 9px; border-radius: 12px; white-space: nowrap; box-shadow: 0 3px 8px rgba(14,58,78,0.18); margin-top: -8px; animation: sayPop 0.25s ease-out; }
.lbl.say::after { content: ''; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-top-color: #fff; border-bottom: 0; }
/* the captain's speech: a navy-and-gold pirate bubble with a skull tag, so it never reads as a guest's */
.lbl.say.cap { font-size: 13px; font-weight: 700; color: #fff6dc; background: linear-gradient(180deg, #24496b, #16304a); border: 2px solid #f2c14e; padding: 4px 11px 4px 9px; border-radius: 14px; box-shadow: 0 3px 0 #0d2033, 0 5px 12px rgba(10,30,50,0.35); z-index: 5; }
.lbl.say.cap::before { content: '☠️'; margin-right: 5px; font-size: 12px; }
.lbl.say.cap::after { bottom: -9px; margin-left: -7px; border-width: 7px 7px 0; border-top-color: #f2c14e; }
@keyframes sayPop { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }

/* hover tooltip */
#tip { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; min-width: 170px; max-width: 260px; padding: 9px 12px 10px; border-radius: 14px; background: rgba(255,255,255,0.97); color: #1f4a5e; font-family: 'Fredoka', system-ui, sans-serif; font-size: 12.5px; box-shadow: 0 8px 24px rgba(14,58,78,0.22); opacity: 0; transition: opacity 0.12s; }
#tip.show { opacity: 1; }
#tip .th { font-size: 15px; font-weight: 700; margin-bottom: 2px; white-space: nowrap; }
#tip .th i { font-weight: 500; opacity: 0.6; font-style: normal; }
#tip .ts { font-size: 11.5px; opacity: 0.65; margin-bottom: 5px; }
#tip .tl { display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 7px; background: #ffc23d; color: #5a3d00; font-size: 11px; vertical-align: 2px; }
#tip .tr { display: flex; justify-content: space-between; gap: 14px; padding: 2px 0; border-top: 1px solid rgba(31,74,94,0.08); }
#tip .tr span { opacity: 0.7; }
#tip .tr b { font-weight: 600; text-align: right; }
#tip .tn { margin-top: 5px; font-size: 11px; color: #0f6e56; }

/* building status bar (v2) */
/* building status chip: small, translucent, out of the way */
.lbl.stock.sbar { display: flex; align-items: center; gap: 4px; padding: 1px 7px 2px 6px; border-radius: 999px; overflow: hidden; background: rgba(20,58,74,0.55); color: #fff; font-family: 'Fredoka', system-ui, sans-serif; font-size: 10.5px; font-weight: 700; line-height: 14px; box-shadow: none; animation: none; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.lbl.stock.sbar.warn { background: rgba(220,38,38,0.82); box-shadow: 0 0 0 1.5px #fff; animation: oosGlow 1.6s ease-in-out infinite; }   /* steady: a soft glow pulse, no bouncing */
.sbar .sb-lv { color: #ffd166; font-size: 10px; }
.sbar .sb-n { font-variant-numeric: tabular-nums; opacity: 0.95; }
.sbar .sb-fill { position: absolute; left: 0; bottom: 0; height: 2px; background: #34d399; transition: width 0.3s; }
.sbar .sb-fill.low { background: #fbbf24; }
.sbar .sb-fill.out { background: #fff; }
.sbar .sb-fill.guests { background: #67e8f9; }

/* destination tag above tourists */
.lbl.dest { font-size: 16px; line-height: 1; padding: 3px 6px 4px 6px; border-radius: 999px; background: rgba(255,255,255,0.88); box-shadow: 0 2px 5px rgba(14,58,78,0.18); display: flex; align-items: center; gap: 2px; }
.lbl.dest .dt-ar { font-family: "Fredoka", system-ui, sans-serif; font-size: 12px; font-weight: 700; color: #14b8a6; }

/* captain XP bar (island view) */
#xpbar { position: fixed; left: 50%; top: 52px; transform: translateX(-50%); z-index: 20; display: flex; align-items: center; gap: 8px; padding: 4px 12px 5px 4px; border-radius: 999px; background: rgba(255,255,255,0.94); box-shadow: 0 4px 14px rgba(14,58,78,0.2); font-family: 'Fredoka', system-ui, sans-serif; color: #1f4a5e; pointer-events: none; }
#xpbar .xp-lv { display: flex; align-items: center; gap: 2px; height: 30px; padding: 0 10px 0 8px; border-radius: 999px; background: linear-gradient(180deg, #ffd66b, #ffb31f); color: #6b4300; font-size: 13px; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.12); }
#xpbar .xp-lv b { font-size: 17px; font-weight: 800; }
#xpbar .xp-body { width: 150px; }
#xpbar .xp-top { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 700; margin-bottom: 3px; }
#xpbar .xp-t { opacity: 0.65; }
#xpbar .xp-track { position: relative; height: 8px; border-radius: 99px; background: #e3eef2; overflow: hidden; }
#xpbar .xp-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, #7c3aed); transition: width 0.35s; }
#xpbar.gain .xp-lv { animation: xpPulse 0.35s ease-out; }
@keyframes xpPulse { 50% { transform: scale(1.12); } }
.lbl.plv { font-family: 'Fredoka', system-ui, sans-serif; display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 3px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(180deg, #2b3a5c, #141b2e); border: 2px solid #f2c14e; box-shadow: 0 3px 0 #0b1020, 0 4px 10px rgba(0,0,0,0.3); position: relative; }
.lbl.plv::after { content: ''; position: absolute; left: 50%; bottom: -7px; margin-left: -5px; border: 5px solid transparent; border-top-color: #f2c14e; border-bottom: 0; }
.lbl.plv i { font-style: normal; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6c4, #f2c14e 60%, #b8860b); font-size: 12px; box-shadow: inset 0 0 0 1.5px #8a5a00; }
.lbl.plv span { font-size: 8.5px; font-weight: 800; letter-spacing: 1px; color: #cfd8ee; }
.lbl.plv b { font-size: 14px; font-weight: 800; color: #ffd166; text-shadow: 0 1px 0 #6b4300; line-height: 1; }
.lbl.float.xp { font-family: 'Fredoka', system-ui, sans-serif; font-size: 13px; font-weight: 800; color: #7c3aed; text-shadow: 0 1px 0 #fff, 0 0 6px rgba(255,255,255,0.9); }

/* destination tag: a small round badge */
.lbl.dest { width: 26px; height: 26px; padding: 0; border-radius: 50%; justify-content: center; font-size: 14px; line-height: 26px; }

#tip .tsec { margin-top: 6px; padding-top: 4px; font-size: 11px; font-weight: 700; color: #7c3aed; letter-spacing: 0.3px; }

/* island view: captain level on top, voyage banner under it, both 1.5x */
#xpbar { top: calc(10px + var(--safe-t, 0px)); transform: translateX(-50%) scale(1.2); transform-origin: top center; }   /* (desktop: 20% under the old 1.5x) */
body.in-city #voyage { top: 53px; scale: 1.2; transform-origin: top center; }
body.in-city #voyage #prog { display: none; }
@media (max-width: 600px) {
  #xpbar { transform: translateX(-50%) scale(1.15); }
  body.in-city #voyage { top: 50px; scale: 1.15; }
}

body.in-city #toast { top: calc(146px + var(--safe-t, 0px)); }
@media (max-width: 600px) { body.in-city #toast { top: calc(108px + var(--safe-t, 0px)); } }

/* captain perk bars in the tooltip */
#tip .pk { display: grid; grid-template-columns: 112px 1fr 40px; align-items: center; gap: 8px; padding: 3px 0; }
#tip .pk-n { opacity: 0.8; white-space: nowrap; }
#tip .pk-bar { position: relative; height: 8px; border-radius: 99px; background: #e8eef2; overflow: hidden; min-width: 70px; }
#tip .pk-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; }
#tip .pk b { text-align: right; font-weight: 700; }
#tip { max-width: 300px; }

/* event feed (island view, top-left under the gold counter) */
#feed { position: fixed; left: calc(12px + var(--safe-l, 0px)); top: calc(64px + var(--safe-t, 0px)); z-index: 18; display: flex; flex-direction: column; gap: 6px; pointer-events: none; max-width: min(300px, 60vw); }
#feed .ev { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 14px; background: rgba(255,255,255,0.94); box-shadow: 0 3px 10px rgba(14,58,78,0.18); font-family: 'Fredoka', system-ui, sans-serif; font-size: 13px; color: #1f4a5e; border-left: 4px solid #14b8a6; animation: evIn 0.35s cubic-bezier(.2,1.4,.4,1); transition: opacity 0.4s, transform 0.4s; }
#feed .ev.out { opacity: 0; transform: translateX(-20px); }
#feed .ev-i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #eaf7f5; font-size: 15px; }
#feed .ev-t b { font-weight: 700; }
#feed .ev.gold { border-left-color: #ffb31f; } #feed .ev.gold .ev-i { background: #fff3d1; }
#feed .ev.blue { border-left-color: #38b6ff; } #feed .ev.blue .ev-i { background: #e3f3ff; }
#feed .ev.green { border-left-color: #22c55e; } #feed .ev.green .ev-i { background: #e6f9ee; }
#feed .ev.red { border-left-color: #ef4444; } #feed .ev.red .ev-i { background: #fdeaea; }
@keyframes evIn { from { opacity: 0; transform: translateX(-24px) scale(0.95); } to { opacity: 1; transform: none; } }

/* character tooltip cards */
#tip .tp-head { display: flex; align-items: center; gap: 10px; margin: -9px -12px 8px; padding: 10px 12px; border-radius: 14px 14px 0 0; background: linear-gradient(135deg, #e6fbf8, #f2fbff); }
#tip .tp-head.cap { background: linear-gradient(135deg, #fff1c9, #ffe2a8); }
#tip .tp-head.tour { background: linear-gradient(135deg, #dcfaf3, #e8f6ff); }
#tip .tp-head.help { background: linear-gradient(135deg, #dff0ff, #eaf2ff); }
#tip .tp-head.vend { background: linear-gradient(135deg, #ffe4ee, #fff1f5); }
#tip .tp-av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 2px 6px rgba(14,58,78,0.15); }
#tip .tp-id { flex: 1; min-width: 0; }
#tip .tp-name { font-size: 15px; font-weight: 800; line-height: 1.15; }
#tip .tp-name i { font-weight: 500; opacity: 0.6; font-style: normal; }
#tip .tp-sub { font-size: 11.5px; opacity: 0.7; margin-top: 1px; }
#tip .tp-xp { position: relative; height: 7px; border-radius: 99px; background: rgba(255,255,255,0.8); overflow: hidden; margin-top: 5px; }
#tip .tp-xp i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #a78bfa, #7c3aed); }
#tip .tp-xpn { font-size: 10px; font-weight: 700; opacity: 0.6; margin-top: 2px; }
#tip .tp-pill { display: inline-block; margin: 0 0 7px; padding: 4px 10px; border-radius: 999px; background: #eef4f7; font-size: 12px; font-weight: 600; }
#tip .tp-pill.good { background: #dcfce7; color: #166534; }
#tip .tp-pill.bad { background: #fee2e2; color: #991b1b; }
#tip .tp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
#tip .tp-tile { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 4px; border-radius: 10px; background: #f5f8fa; text-align: center; }
#tip .tp-ti { font-size: 15px; line-height: 1.1; }
#tip .tp-tk { font-size: 10px; opacity: 0.6; }
#tip .tp-tile b { font-size: 12.5px; font-weight: 700; }

#tip .tp-head.cash { background: linear-gradient(135deg, #d9fbe9, #f0fff6); }
#tip .tp-head.harb { background: linear-gradient(135deg, #d6f0ff, #e9f7ff); }

/* island view: captain level + voyage in one card */
body.in-city #voyage { display: none; }
#xpbar { flex-direction: column; align-items: stretch; gap: 0; padding: 0; border-radius: 16px; overflow: hidden; background: #ffffff; border: 2px solid #ffffff; box-shadow: 0 4px 0 rgba(14,58,78,0.12), 0 6px 16px rgba(14,58,78,0.22); }
#xpbar .xp-main { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; }
#xpbar .xp-lv { width: 38px; height: 38px; padding: 0; flex-direction: column; justify-content: center; gap: 0; border-radius: 12px; font-size: 10px; line-height: 1; }
#xpbar .xp-lv b { font-size: 17px; line-height: 1; }
#xpbar .xp-body { width: 160px; }
#xpbar .xp-voy { text-align: center; padding: 2px 0 3px; font-family: var(--display); font-size: 13px; letter-spacing: 0.4px; color: #fff; background: linear-gradient(180deg, var(--teal1), var(--teal2)); text-shadow: 0 1px 0 var(--teal3); }
#xpbar .xp-voy b { font-weight: inherit; }
body.in-city #toast { top: calc(130px + var(--safe-t, 0px)); }
@media (max-width: 600px) { body.in-city #toast { top: calc(104px + var(--safe-t, 0px)); } }

/* HUD card: captain's-log style (deep navy + gold trim) so it never reads like a building status pill */
#xpbar { background: linear-gradient(180deg, #24597a, #173d55); border: 3px solid #ffc23d; border-radius: 18px; box-shadow: 0 4px 0 #0e2a3b, 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.18); color: #fff7e0; }
#xpbar .xp-main { padding: 6px 12px 6px 6px; }
#xpbar .xp-lv { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b0 0 15%, #ffd34d 45%, #e08a00 100%); border: 2px solid #7a4a10; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.45), 0 2px 0 #0e2a3b; color: #5a3100; }
#xpbar .xp-lv b { font-size: 16px; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
#xpbar .xp-t { color: #9fe3ff; opacity: 1; letter-spacing: 0.3px; }
#xpbar .xp-n { color: #ffd166; }
#xpbar .xp-track { height: 10px; background: rgba(0,0,0,0.35); box-shadow: inset 0 1px 3px rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.12); }
#xpbar .xp-track i { background: linear-gradient(90deg, #ffd166, #ff9f1c); box-shadow: 0 0 6px rgba(255,190,60,0.7); }
#xpbar .xp-voy { background: linear-gradient(180deg, #8a5a2b, #5e3415); color: #ffd166; text-shadow: 0 1px 0 rgba(0,0,0,0.45); border-top: 2px dashed rgba(255,209,102,0.55); padding: 3px 0 4px; }

/* coin piles: running total + per-sale pop */
.lbl.piletag { display: flex; align-items: center; gap: 4px; padding: 2px 9px 2px 3px; border-radius: 999px; font-family: var(--display); font-size: 14px; color: #6b4300; background: linear-gradient(180deg, #fff3c4, #ffd166); border: 2px solid #e0a100; box-shadow: 0 2px 0 #b07800, 0 3px 8px rgba(0,0,0,0.18); white-space: nowrap; }
.lbl.piletag.bump { animation: pileBump 0.28s ease-out; }
@keyframes pileBump { 40% { scale: 1.18; } }
.lbl.float.coinpop { font-size: 20px; color: #ffe066; -webkit-text-stroke: 4px #8a5a00; }

/* live guest counter beside the money pill (island only) */
#hud-left { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
/* one stats panel beside the money pill: guests now | total served | live satisfaction (island only) */
#hud-stats { display: none; align-items: center; gap: 12px; padding: 5px 16px 5px 6px; border-radius: 26px; background: rgba(255,255,255,0.95); color: var(--ink); box-shadow: 0 4px 0 #d3e6e3, var(--card-shadow); font-family: var(--display); }
body.in-city #hud-stats { display: flex; }
/* not enough room beside the captain panel: the stats panel drops under the money pill */
#hud-right { display: flex; align-items: center; gap: 10px; pointer-events: auto; }
/* not enough room beside the captain panel: the stats panel drops under it, and the alerts feed under the stats */
@media (max-width: 1010px) { #hud-stats { margin-top: 134px; } #feed { top: calc(196px + var(--safe-t, 0px)); } }
.st-cell { position: relative; display: flex; align-items: center; gap: 7px; }
.st-cell.pop { animation: bump 0.25s ease-out; }
.st-sep { align-self: stretch; margin: 4px 0; border-left: 2px dashed #d6e2e6; }
.st-cell .g-ico { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-style: normal; font-size: 17px; line-height: 1; font-family: 'Segoe UI Emoji', 'Apple Color Emoji', 'Noto Color Emoji', sans-serif; box-shadow: inset 0 -2px 0 rgba(0,0,0,0.15); }
.st-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.st-cell .g-num { font-size: 21px; min-width: 1.2em; line-height: 1; }
.st-cell .g-cap { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: #8aa0b4; line-height: 1; }
#guests .g-ico { background: radial-gradient(circle at 35% 30%, #7ff0e2, #12b5a3); box-sizing: border-box; padding-bottom: 5px; }   /* (the 👥 glyph sits low in its em box: lift it to the centre) */
#guests .g-num { color: #0f9e8e; }
#served .g-ico { background: radial-gradient(circle at 35% 30%, #8ee6a2, #2fa952); color: #fff; font-family: var(--display); font-size: 16px; text-shadow: 0 1px 0 rgba(0,0,0,0.2); }
#served .g-num { color: #23914a; }
#mood .g-ico { background: none; box-shadow: none; font-size: 27px; }
#mood .g-num { color: #3fae55; transition: color 0.4s; }
#mood.mid .g-num { color: #e8a312; } #mood.low .g-num { color: #e5533d; }
#guests .g-plus { position: absolute; left: 4px; top: calc(100% + 8px); padding: 2px 8px; border-radius: 12px; font-size: 15px; line-height: 20px; color: #fff; background: #12b5a3; box-shadow: 0 2px 0 #0d8f80; pointer-events: none; white-space: nowrap; animation: gplus 0.9s ease-out forwards; }
@keyframes gplus { 0% { opacity: 0; translate: -6px 0; scale: 0.7; } 20% { opacity: 1; translate: 0 0; scale: 1; } 70% { opacity: 1; translate: 0 -6px; } 100% { opacity: 0; translate: 0 -12px; } }
@media (max-width: 600px) { #hud-right { flex-direction: column-reverse; align-items: flex-end; gap: 0; } #hud-right #money { margin-top: 56px; } #feed { top: calc(154px + var(--safe-t, 0px)); } #hud-stats { margin-top: 102px; gap: 7px; padding: 3px 10px 3px 4px; } .st-cell { gap: 4px; } .st-cell .g-num { font-size: 16px; } .st-cell .g-cap { font-size: 8px; } .st-cell .g-ico { width: 24px; height: 24px; font-size: 13px; } #mood .g-ico { font-size: 21px; } }

/* 3D chest on the splash: drawn over the stage, the SVG chest hides once the first frame is ready */
.sp-chest3d { position: absolute; left: 50%; top: 50%; width: 500px; height: 380px; margin: -238px 0 0 -250px; pointer-events: none; filter: drop-shadow(0 14px 14px rgba(0,30,60,0.35)); }
/* the flat SVG chest is only a fallback for browsers without WebGL; the 3D chest fades in once its first frame is drawn */
.sp-stage .sp-chest { visibility: hidden; }
.sp-stage.no-3d .sp-chest { visibility: visible; }
.sp-chest3d { opacity: 0; transition: opacity 0.45s ease-out; }
.sp-stage.has-3d .sp-chest3d { opacity: 1; }
@media (max-width: 600px) { .sp-chest3d { width: 452px; height: 344px; margin: -214px 0 0 -226px; } }
.sp-stage:not(.no-3d) .sp-orbit-wrap { display: none; }   /* 3D coins orbit the 3D chest; the flat CSS ring is only for the no-WebGL fallback */

/* loading-screen error card */
.sp-err { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 18px 14px; border-radius: 20px; background: rgba(255,255,255,0.94); color: #1f4a5e; text-align: center; box-shadow: 0 6px 0 rgba(6,60,90,0.25), 0 16px 30px rgba(0,30,60,0.25); animation: spIn 0.6s cubic-bezier(.2,1.6,.4,1) backwards; }
.sp-err-ico { font-size: 34px; line-height: 1; }
.sp-err-t { font-family: var(--display); font-size: 22px; }
.sp-err-s { font-size: 13px; opacity: 0.75; margin-bottom: 4px; }
.sp-err-btn { font-family: var(--display); font-size: 18px; color: #fff; border: 0; border-radius: 999px; padding: 9px 26px; background: linear-gradient(180deg, #2ee6c8, #12b5a3); box-shadow: 0 4px 0 #0d8f80; cursor: pointer; }
.sp-err-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #0d8f80; }
.sp-err-fresh { margin-top: 2px; font-size: 12px; color: #1f4a5e; background: none; border: 0; text-decoration: underline; opacity: 0.6; cursor: pointer; }
.sp-err-d { font-size: 10px; opacity: 0.4; max-width: 260px; word-break: break-word; }

/* complete page: the splash's 3D chest (pops in), SVG chest + css coins only as the no-WebGL fallback */
.v-chest3d { position: absolute; left: 50%; top: 50%; width: 340px; height: 258px; margin: -150px 0 0 -170px; pointer-events: none; filter: drop-shadow(0 12px 12px rgba(0,0,0,0.3)); opacity: 0; }
.v-stage.has-3d .v-chest3d { opacity: 1; animation: chestPop 0.7s 0.1s cubic-bezier(.2,1.8,.4,1) backwards; }
.v-stage.has-3d .v-chest, .v-stage.has-3d .v-fly { visibility: hidden; }
@media (max-width: 520px) { .v-chest3d { width: 296px; height: 225px; margin: -130px 0 0 -148px; } }

/* ---------- first-visit park tutorial card ---------- */
#tut-card { position: fixed; left: 50%; bottom: calc(22px + var(--safe-b, 0px)); z-index: 14; width: min(440px, calc(100vw - 32px)); translate: -50% 30px; opacity: 0; pointer-events: none;
  padding: 10px 14px 12px; border-radius: 20px; background: rgba(255,255,255,0.97); box-shadow: 0 12px 28px rgba(14,58,78,0.28), 0 0 0 3px #ffd23f; transition: opacity 0.3s, translate 0.35s cubic-bezier(.2,1.5,.4,1); font-family: Fredoka, system-ui, sans-serif; color: #24485a; }
#tut-card.show { opacity: 1; translate: -50% 0; pointer-events: auto; }
body:not(.in-city) #tut-card { display: none; }
#tut-card.pop .tut-body { animation: tutPop 0.45s cubic-bezier(.2,1.6,.4,1); }
@keyframes tutPop { from { transform: scale(0.85); opacity: 0.2; } to { transform: none; opacity: 1; } }
.tut-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.tut-step { font-family: var(--display, 'Lilita One'), sans-serif; font-size: 12px; letter-spacing: 1.5px; color: #fff; background: linear-gradient(180deg, #2ec4b6, #1a9e93); padding: 2px 10px; border-radius: 99px; }
.tut-skip { border: 0; background: none; color: #7a95a3; font: 600 13px Fredoka, sans-serif; cursor: pointer; padding: 2px 4px; }
.tut-skip:hover { color: #24485a; }
.tut-body { display: flex; align-items: center; gap: 12px; }
.tut-ico { flex: 0 0 52px; height: 52px; display: grid; place-items: center; font-size: 32px; border-radius: 16px; background: radial-gradient(circle at 40% 35%, #fff8d6, #ffe08a); box-shadow: inset 0 -3px 0 rgba(181,112,10,0.25); }
.tut-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tut-title { font-family: var(--display, 'Lilita One'), sans-serif; font-weight: 400; font-size: 21px; line-height: 1.1; color: #1f4a5e; }
.tut-sub { font-size: 14px; line-height: 1.3; color: #3d6475; }
.tut-sub b { color: #e07a00; }
.tut-keys kbd { min-width: 0; padding: 0 5px; margin: 0 1px; font-size: 12px; }
.tut-hand { display: inline-block; animation: tutHand 1.4s ease-in-out infinite; }
@keyframes tutHand { 0%, 100% { transform: translateX(-9px) rotate(-8deg); } 50% { transform: translateX(9px) rotate(8deg); } }
.tut-dots { display: flex; justify-content: center; gap: 6px; margin-top: 8px; }
.tut-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d6e6ea; transition: all 0.3s; }
.tut-dots i.on { width: 22px; border-radius: 99px; background: #ffb703; }
.tut-dots i.done { background: #2ec4b6; }
@keyframes oosGlow { 0%, 100% { box-shadow: 0 0 0 1.5px #fff, 0 0 0 0 rgba(220,38,38,0.55); } 50% { box-shadow: 0 0 0 1.5px #fff, 0 0 0 6px rgba(220,38,38,0); } }
#tip .tp-desc { font-size: 12.5px; line-height: 1.35; margin: 0 0 8px; color: #3d6475; max-width: 240px; }

/* ---------- park manager: side buttons, goals and facilities panels ---------- */
#side-btns { position: fixed; right: calc(12px + var(--safe-r, 0px)); top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 12px; z-index: 5; pointer-events: auto; }
body[data-mode="city"] #side-btns { display: flex; }
.side-btn { position: relative; width: 58px; height: 58px; border-radius: 18px; font-size: 26px; line-height: 1; padding: 0 0 12px; background: radial-gradient(circle at 35% 30%, var(--sand), var(--sand-d)); border: 3px solid var(--wood); box-shadow: 0 4px 0 var(--wood-d), 0 6px 12px rgba(0,0,0,0.18); cursor: pointer; }
.side-btn span { position: absolute; left: 0; right: 0; bottom: 3px; font-family: var(--display); font-size: 11px; color: var(--wood-d); letter-spacing: 0.3px; }
.side-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--wood-d); }
.side-btn .badge { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--coral2); color: #fff; font: 13px/22px var(--display); font-style: normal; border: 2px solid #fff; display: none; box-shadow: 0 2px 4px rgba(0,0,0,0.25); }
.side-btn .badge.on { display: block; animation: pulse 1.1s ease-in-out infinite; }
.panel.manage { width: min(600px, 100%); max-height: 88vh; display: flex; flex-direction: column; }
.ach-sum, .fac-sum { font-family: var(--display); color: var(--wood); font-size: 15px; margin: 0 0 8px; }
.ach-list, .fac-list { overflow-y: auto; flex: 1 1 auto; min-height: 0; padding: 2px 4px 6px; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.ach, .fac { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; background: #fffaf0; box-shadow: 0 3px 0 var(--sand-d); }
.ach.ready { background: linear-gradient(180deg, #fff8d6, #ffeaa8); box-shadow: 0 3px 0 var(--gold3); }
.ach.max { opacity: 0.75; }
.ach-ico, .fac-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; background: #f3e6c9; }
.ach-mid, .fac-mid { flex: 1 1 auto; min-width: 0; }
.ach-top, .fac-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ach-top b, .fac-top b { font-family: var(--display); font-weight: 400; font-size: 17px; color: var(--wood-d); }
.ach-stars i { font-style: normal; color: #d8c8a8; font-size: 13px; } .ach-stars i.on { color: var(--gold2); text-shadow: 0 1px 0 var(--gold3); }
.ach-desc { font-size: 12px; color: #8a6a48; font-weight: 600; margin: 1px 0 4px; }
.ach-bar { position: relative; height: 16px; border-radius: 8px; background: #ead9b6; overflow: hidden; }
.ach-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 8px; background: linear-gradient(180deg, var(--teal1), var(--teal2)); }
.ach-bar span { position: relative; display: block; text-align: center; font: 11px/16px var(--display); color: var(--wood-d); }
.ach-act, .fac-act { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.ach-claim { font-size: 15px; padding: 8px 14px; }
.ach-rw { font: 11px/1.35 var(--display); color: var(--wood); text-align: right; }
.ach-max { font: 12px var(--display); color: var(--teal3); }
.fac-tabs { display: flex; gap: 6px; margin: 2px 0 8px; overflow-x: auto; padding-bottom: 3px; }
.fac-tab { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 8px; border-radius: 12px; border: 2px solid var(--sand-d); background: #fffaf0; font-size: 18px; cursor: pointer; }
.fac-tab span { font: 11px var(--display); color: var(--wood-d); white-space: nowrap; }
.fac-tab small { font: 10px var(--display); color: var(--wood); }
.fac-tab.on { background: linear-gradient(180deg, var(--teal1), var(--teal2)); border-color: var(--teal3); } .fac-tab.on span, .fac-tab.on small { color: #fff; }
.fac-tab.locked { opacity: 0.6; }
.fac.unbuilt .fac-ico { filter: grayscale(0.7); opacity: 0.75; }
.fac-lv { display: inline-flex; align-items: center; gap: 2px; } .fac-lv i { width: 8px; height: 8px; border-radius: 2px; background: #e2d2b0; display: inline-block; } .fac-lv i.on { background: var(--gold2); }
.fac-lv b { font: 11px var(--display); color: var(--teal3); margin-left: 4px; } .fac-lv.off { font: 11px var(--display); color: #a58a66; }
.fac-stats { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; font-weight: 600; color: #7a5a3a; margin-top: 3px; } .fac-stats .pile { color: var(--gold3); }
.fac-btn { display: flex; flex-direction: column; align-items: center; min-width: 74px; padding: 5px 8px; border-radius: 12px; border: 2px solid var(--wood); font: 12px var(--display); color: #fff; cursor: pointer; box-shadow: 0 3px 0 var(--wood-d); background: linear-gradient(180deg, #7cc7ff, #2f8fe0); }
.fac-btn b { font-weight: 400; font-size: 13px; }
.fac-btn.build { background: linear-gradient(180deg, var(--gold1), var(--gold2)); color: var(--wood-d); }
.fac-btn.hire { background: linear-gradient(180deg, #c4a6ff, #7c5cff); }
.fac-btn.cant { filter: grayscale(0.85); opacity: 0.6; }
.fac-btn:active, .fac-go:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--wood-d); }
.fac-go { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--wood); background: #fff4dc; font-size: 18px; cursor: pointer; box-shadow: 0 3px 0 var(--wood-d); }
.fac-locked { padding: 26px 10px; font-size: 16px; color: #7a5a3a; font-weight: 600; }
@media (max-width: 600px) {
  #side-btns { top: auto; bottom: calc(96px + var(--safe-b, 0px)); transform: none; gap: 10px; }
  .side-btn { width: 50px; height: 50px; font-size: 22px; border-radius: 15px; }
  .fac { flex-wrap: wrap; } .fac-act { width: 100%; justify-content: flex-end; }
  .ach-ico, .fac-ico { width: 38px; height: 38px; font-size: 22px; }
}
.panel.manage > h2, .panel.manage > .fac-tabs, .panel.manage > .ach-sum, .panel.manage > .fac-sum, .panel.manage > .btns, .panel.manage > .fac-locked { flex-shrink: 0; }
.fac-tab { flex-shrink: 0; }
.panel.manage { width: min(600px, calc(100vw - 24px)); max-width: calc(100vw - 24px); min-width: 0; }
.panel.manage > * { min-width: 0; max-width: 100%; }
@media (max-width: 600px) { .panel.manage { padding: 22px 12px 14px; } .fac-tab { padding: 5px 6px; } .fac-btn { min-width: 70px; } }
@media (max-width: 600px) { .fac-mid { flex: 1 1 0; } .fac-ico { align-self: flex-start; } }

/* ===== park manager panels: captain's-logbook look (navy header, gold trim, parchment cards) ===== */
.panel.manage { padding: 0; overflow: hidden; width: min(620px, calc(100vw - 24px)); max-height: 88vh; border-radius: 26px;
  background: #fbf1dc; border: 4px solid #f5c04a; box-shadow: 0 8px 0 #b8801c, 0 28px 70px rgba(10,30,60,0.45); text-align: left; }
@media (max-width: 600px) { .panel.manage { padding: 0; } }
.mg-head { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 58px 14px 16px; flex-shrink: 0;
  background: linear-gradient(180deg, #24557a, #183d5c); border-bottom: 4px solid #f5c04a; box-shadow: inset 0 -6px 0 rgba(0,0,0,0.12); }
.mg-badge { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 28px;
  background: radial-gradient(circle at 35% 30%, #fff3b8, #ffc23d 60%, #e0950f); border: 3px solid #fff1c4; box-shadow: 0 3px 0 #8a5a10, 0 0 0 3px rgba(255,194,61,0.35); }
.mg-htxt { flex: 1 1 auto; min-width: 0; }
.mg-head h3 { margin: 0 0 6px; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; color: #fff4d6; text-shadow: 0 2px 0 #0e2a40; letter-spacing: 0.5px; }
.mg-hbar { position: relative; height: 20px; border-radius: 10px; background: rgba(0,0,0,0.3); box-shadow: inset 0 2px 3px rgba(0,0,0,0.3); overflow: hidden; }
.mg-hbar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; background: linear-gradient(180deg, #ffe08a, #ffb31f); box-shadow: inset 0 -3px 0 rgba(0,0,0,0.12); }
.mg-hbar span { position: relative; display: block; text-align: center; font: 13px/20px var(--display); color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.mg-hstats { display: flex; flex-wrap: wrap; gap: 6px; }
.mg-hstats span { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,0.12); color: #d6e6f2; font-size: 12px; font-weight: 600; }
.mg-hstats b { color: #ffe08a; font-family: var(--display); font-weight: 400; font-size: 13px; }
.mg-hstats .coin-ico.sm { width: 14px; height: 14px; }
.mg-x { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff1c4; cursor: pointer; padding: 0;
  background: radial-gradient(circle at 35% 30%, #ff9e9e, #e5484d); color: #fff; font: 18px/1 var(--display); box-shadow: 0 3px 0 #8f1f24; }
.mg-x:active { transform: translateY(2px); box-shadow: 0 1px 0 #8f1f24; }
.mg-note { margin: 10px 14px 0; padding: 7px 12px; border-radius: 12px; background: linear-gradient(90deg, #fff1b8, #ffe08a); color: #7a4a00; font: 14px var(--display); text-align: center; box-shadow: 0 2px 0 #e0b44a; flex-shrink: 0; }
.mg-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 12px 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.mg-goal, .mg-fac { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: #fffaf0; border: 2px solid #ecd9b0; box-shadow: 0 4px 0 #e2c690; flex-shrink: 0; }
.mg-goal.ready { background: linear-gradient(180deg, #fffbe6, #fff0bf); border-color: #f5c04a; box-shadow: 0 4px 0 #d79a1b, 0 0 0 3px rgba(255,194,61,0.25); }
.mg-goal.max { background: #f2f7f2; border-color: #cfe3cf; box-shadow: 0 4px 0 #b9d4b9; }
.mg-medal { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 27px;
  background: radial-gradient(circle at 35% 30%, #fff, var(--c) 75%); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--c), 0 3px 0 rgba(0,0,0,0.18); }
.mg-goal.max .mg-medal { filter: saturate(0.6); }
.mg-tile { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 28px;
  background: linear-gradient(160deg, #ffffff 0%, color-mix(in srgb, var(--c) 35%, #ffffff) 100%); border: 2px solid color-mix(in srgb, var(--c) 55%, #ffffff); box-shadow: 0 3px 0 color-mix(in srgb, var(--c) 45%, #b08850); }
.mg-fac.unbuilt { background: #f6efe0; } .mg-fac.unbuilt .mg-tile { filter: grayscale(0.85); opacity: 0.7; }
.mg-mid { flex: 1 1 auto; min-width: 0; }
.mg-title { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.mg-title b { font-family: var(--display); font-weight: 400; font-size: 18px; color: #1f4a66; line-height: 1.1; }
.mg-stars, .mg-lv { display: inline-flex; gap: 3px; }
.mg-stars i, .mg-lv i { width: 13px; height: 13px; display: inline-block; background: #ddd0b4; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.mg-stars i.on, .mg-lv i.on { background: linear-gradient(180deg, #ffe08a, #ffad0f); }
.mg-lvt { font: 12px var(--display); color: #fff; background: #2d98da; padding: 1px 7px; border-radius: 8px; } .mg-lvt.off { background: #b9a785; }
.mg-desc { font-size: 12.5px; font-weight: 600; color: #8a6a48; margin: 2px 0 6px; } .mg-desc b { color: #b26b00; }
.mg-bar { position: relative; height: 16px; border-radius: 9px; background: #efe0bf; box-shadow: inset 0 2px 2px rgba(120,80,20,0.18); overflow: hidden; }
.mg-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 9px; background: linear-gradient(180deg, #6fe0cf, #14b8a6); box-shadow: inset 0 -3px 0 rgba(0,0,0,0.1); }
.mg-bar.full i { background: linear-gradient(180deg, #ffe08a, #ffb31f); }
.mg-bar span { position: relative; display: block; text-align: center; font: 11px/16px var(--display); color: #5a3a12; }
.mg-act { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.mg-fac .mg-act { flex-direction: row; align-items: center; }
.mg-reward { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.mg-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.mg-chip { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 99px; background: #f1e6cf; color: #6b4a2b; font-size: 12px; font-weight: 700; white-space: nowrap; }
.mg-chip em { font-style: normal; font-weight: 600; opacity: 0.7; } .mg-chip .coin-ico.sm { width: 14px; height: 14px; }
.mg-chip.gold { background: #fff0b8; color: #8a5a00; } .mg-chip.xp { background: #ece3ff; color: #5b3fb8; }
.mg-chip.ok { background: #dcf5e8; color: #1c7a4b; } .mg-chip.warn { background: #ffe3e0; color: #b23a32; } .mg-chip.dim { background: transparent; color: #a58a66; padding-left: 0; }
.mg-claim { padding: 9px 18px; border-radius: 14px; border: 0; cursor: pointer; font: 16px var(--display); color: #6b3d00; letter-spacing: 0.5px;
  background: linear-gradient(180deg, #ffe58f, #ffb31f); box-shadow: 0 4px 0 #c47f08, 0 6px 12px rgba(200,130,10,0.35); }
.mg-claim:active { transform: translateY(3px); box-shadow: 0 1px 0 #c47f08; }
.mg-done { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 50%; background: #2fbf71; color: #fff; font: 20px/1 var(--display); box-shadow: 0 3px 0 #1d8a50; }
.mg-done small { font-size: 9px; margin-top: 2px; }
.mg-tabs { display: flex; gap: 6px; padding: 12px 14px 4px; overflow-x: auto; flex-shrink: 0; }
.mg-tab { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0; padding: 6px 10px 5px; border-radius: 14px; cursor: pointer;
  background: #fffaf0; border: 2px solid #ecd9b0; box-shadow: 0 3px 0 #e2c690; }
.mg-tab .mg-ti { font-size: 20px; line-height: 1.15; } .mg-tab .mg-tn { font: 12px var(--display); color: #1f4a66; white-space: nowrap; } .mg-tab small { font: 11px var(--display); color: #a58a66; }
.mg-tab.on { background: linear-gradient(180deg, #24557a, #183d5c); border-color: #f5c04a; box-shadow: 0 3px 0 #0e2a40; } .mg-tab.on .mg-tn { color: #fff4d6; } .mg-tab.on small { color: #ffe08a; }
.mg-tab.locked { opacity: 0.6; }
.mg-btn { display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 82px; padding: 5px 10px 6px; border-radius: 13px; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, #5cb8ff, #2d7fd6); box-shadow: 0 4px 0 #1d5aa0; }
.mg-btn small { font: 10px var(--display); letter-spacing: 0.6px; opacity: 0.9; } .mg-btn b { display: inline-flex; align-items: center; gap: 3px; font: 15px var(--display); font-weight: 400; }
.mg-btn .coin-ico.sm { width: 15px; height: 15px; }
.mg-btn.hire { background: linear-gradient(180deg, #b79bff, #7c5cff); box-shadow: 0 4px 0 #5536c9; }
.mg-btn.build { background: linear-gradient(180deg, #ffe58f, #ffb31f); color: #6b3d00; box-shadow: 0 4px 0 #c47f08; }
.mg-btn.cant { filter: grayscale(0.9); opacity: 0.55; }
.mg-btn:active, .mg-go:active { transform: translateY(3px); box-shadow: 0 1px 0 rgba(0,0,0,0.3); }
.mg-go { width: 40px; height: 40px; border-radius: 50%; border: 3px solid #fff1c4; cursor: pointer; font-size: 18px; padding: 0; background: radial-gradient(circle at 35% 30%, #3a6d94, #183d5c); box-shadow: 0 3px 0 #0e2a40; }
.mg-locked { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 40px 10px; font-size: 34px; color: #8a6a48; }
.mg-locked b { font: 20px var(--display); font-weight: 400; color: #1f4a66; } .mg-locked span { font-size: 14px; font-weight: 600; }
@media (max-width: 600px) {
  .mg-head { padding: 12px 52px 12px 12px; gap: 10px; } .mg-badge { width: 44px; height: 44px; font-size: 22px; } .mg-head h3 { font-size: 21px; }
  .mg-goal, .mg-fac { flex-wrap: wrap; gap: 8px 10px; padding: 9px 10px; }
  .mg-medal, .mg-tile { width: 44px; height: 44px; font-size: 22px; align-self: flex-start; }
  .mg-mid { flex: 1 1 0; } .mg-act { width: 100%; flex-direction: row; justify-content: flex-end; align-items: center; } .mg-reward { flex-direction: row; margin-right: auto; }
  .mg-title b { font-size: 16px; }
}

/* park manager: a slim rope-and-gold scrollbar instead of the grey system one */
@supports not selector(::-webkit-scrollbar) { .mg-body, .mg-tabs { scrollbar-width: thin; scrollbar-color: #e2a82a transparent; } }   /* (Firefox; Chrome/Safari use the styled bar below)*/
.mg-body::-webkit-scrollbar { width: 10px; }
.mg-body::-webkit-scrollbar-track { margin: 10px 0; border-radius: 99px; background: rgba(176,128,60,0.14); box-shadow: inset 0 1px 2px rgba(120,80,20,0.18); }
.mg-body::-webkit-scrollbar-thumb { border-radius: 99px; border: 2px solid #fbf1dc; background: linear-gradient(180deg, #ffd96b, #f0a91c); box-shadow: inset 0 -2px 0 rgba(150,90,0,0.25); }
.mg-body::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #ffe58f, #e0950f); }
.mg-body::-webkit-scrollbar-button { display: none; height: 0; }
.mg-tabs::-webkit-scrollbar { height: 6px; }
.mg-tabs::-webkit-scrollbar-track { background: transparent; }
.mg-tabs::-webkit-scrollbar-thumb { border-radius: 99px; background: #e2c690; }
.mg-tabs::-webkit-scrollbar-button { display: none; }
.mg-body { padding-right: 8px; }

/* goals + manage buttons: stacked right under the settings button (under the gold pill on phones, where it sits below settings) */
#side-btns { top: calc(68px + var(--safe-t, 0px)); bottom: auto; transform: none; right: calc(10px + var(--safe-r, 0px)); gap: 10px; }
@media (max-width: 600px) { #side-btns { top: calc(162px + var(--safe-t, 0px)); bottom: auto; right: calc(10px + var(--safe-r, 0px)); } }

/* ===== guided tutorial: Polly the quartermaster (advisor panel), spotlight + pointing hand, swipe hint ===== */
#tut-card.tg { position: fixed; left: 50%; bottom: calc(18px + var(--safe-b, 0px)); z-index: 27; width: min(560px, calc(100vw - 20px)); padding: 0; translate: -50% 30px;
  display: flex; align-items: flex-end; gap: 0; background: none; border: 0; box-shadow: none; opacity: 0; pointer-events: none; transition: opacity 0.3s, translate 0.35s cubic-bezier(.2,1.4,.4,1); }
#tut-card.tg.show { opacity: 1; translate: -50% 0; pointer-events: auto; }
body:not(.in-city) #tut-card.tg { display: none; }
.tg-portrait { position: relative; z-index: 2; flex: 0 0 auto; width: 92px; height: 92px; margin-right: -18px; margin-bottom: 6px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff3b8, #ffc23d 60%, #e0950f); border: 4px solid #fff1c4; box-shadow: 0 4px 0 #8a5a10, 0 8px 18px rgba(10,30,60,0.35); }
.tg-portrait span { font-size: 54px; line-height: 1; display: block; animation: tgBob 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes tgBob { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-4px); } }
.tg-box { flex: 1 1 auto; min-width: 0; padding: 10px 14px 10px 30px; border-radius: 20px; background: #fffaf0; border: 4px solid #f5c04a; box-shadow: 0 6px 0 #b8801c, 0 14px 30px rgba(10,30,60,0.35); }
.tg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.tg-name { font-family: var(--display); font-weight: 400; font-size: 18px; color: #fff4d6; background: linear-gradient(180deg, #24557a, #183d5c); padding: 1px 10px 2px; border-radius: 9px; }
.tg-role { font: 700 11px Fredoka, sans-serif; color: #a58a66; letter-spacing: 0.5px; text-transform: uppercase; }
.tg-step { margin-left: auto; font-family: var(--display); font-size: 12px; letter-spacing: 1.2px; color: #e08a00; }
.tg .tut-skip { margin-left: 4px; border: 0; background: none; color: #a58a66; font: 700 12px Fredoka, sans-serif; cursor: pointer; padding: 2px 4px; }
.tg-text { min-height: 42px; font: 600 15.5px/1.35 Fredoka, sans-serif; color: #4a3220; }
.tg-text b { color: #d06d00; }
.tg-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.tg .tut-dots { display: flex; gap: 5px; margin: 0; }
.tg .tut-dots i { width: 8px; height: 8px; border-radius: 50%; background: #ead9b6; transition: all 0.3s; }
.tg .tut-dots i.on { width: 20px; border-radius: 99px; background: #ffb31f; }
.tg .tut-dots i.done { background: #2ec4b6; }
.tg-next { display: none; font: 13px var(--display); color: #2d7fd6; animation: pulse 1.1s ease-in-out infinite; }
.tg.talk .tg-next { display: inline; }
.tg.talk { cursor: pointer; }
#tut-card.tg.pop .tg-box { animation: tutPop 0.45s cubic-bezier(.2,1.6,.4,1); }
#tut-spot { position: fixed; z-index: 26; border-radius: 18px; pointer-events: none; opacity: 0; transition: opacity 0.25s, left 0.2s, top 0.2s, width 0.2s, height 0.2s;
  box-shadow: 0 0 0 9999px rgba(8,24,40,0.45), 0 0 0 4px #ffd23f, 0 0 22px 6px rgba(255,210,63,0.8); }
#tut-spot.on { opacity: 1; animation: tgGlow 1.1s ease-in-out infinite; }
@keyframes tgGlow { 50% { box-shadow: 0 0 0 9999px rgba(8,24,40,0.45), 0 0 0 6px #ffe58f, 0 0 30px 10px rgba(255,210,63,0.9); } }
#tut-hand { position: fixed; z-index: 28; font-size: 44px; line-height: 1; pointer-events: none; translate: -30% 0; opacity: 0; filter: drop-shadow(0 3px 3px rgba(0,0,0,0.35)); }
#tut-hand.on { opacity: 1; animation: tgTap 0.9s ease-in-out infinite; }
@keyframes tgTap { 0%, 100% { transform: translateY(6px) scale(1); } 50% { transform: translateY(-4px) scale(0.92); } }
#tut-swipe { position: fixed; left: 50%; top: 52%; z-index: 26; pointer-events: none; opacity: 0; transition: opacity 0.3s; }
#tut-swipe.on { opacity: 1; }
body:not(.in-city) #tut-swipe, body:not(.in-city) #tut-spot, body:not(.in-city) #tut-hand { display: none; }
#tut-swipe span { display: block; font-size: 52px; filter: drop-shadow(0 3px 3px rgba(0,0,0,0.35)); animation: tgSwipe 1.8s ease-in-out infinite; }
#tut-swipe::before { content: ''; position: absolute; left: -10px; top: 6px; width: 140px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.7)); animation: tgTrail 1.8s ease-in-out infinite; }
@keyframes tgSwipe { 0% { transform: translate(-60px, 0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translate(70px, -10px); opacity: 1; } 100% { transform: translate(70px, -10px); opacity: 0; } }
@keyframes tgTrail { 0% { width: 0; opacity: 0; } 70% { width: 130px; opacity: 1; } 100% { opacity: 0; } }
@media (max-width: 600px) { .tg-portrait { width: 72px; height: 72px; margin-right: -14px; } .tg-portrait span { font-size: 42px; } .tg-box { padding: 8px 10px 8px 22px; } .tg-text { font-size: 14px; } .tg-role { display: none; } }

/* ===== voyage screen: bigger voyage banner, gold/settings and menu buttons ===== */
body[data-mode^="run"] #voyage { scale: 1.4; transform-origin: top center; top: 6px; }
body[data-mode^="run"] #hud-right { scale: 1.3; transform-origin: top right; }
#gearbar { scale: 1.35; transform-origin: bottom center; }
@media (max-width: 600px) {
  body[data-mode^="run"] #voyage { scale: 1.15; }
  body[data-mode^="run"] #hud-right { scale: 1.1; }
  #gearbar { scale: 1.15; }
}
/* short desktop windows (a laptop with its toolbars): the voyage-start cards come down in size step by step and the
   "drag to steer" hint moves up out of their way (at 620 px they covered it) */
@media (min-width: 601px) and (max-height: 780px) { #gearbar { scale: 1.12; } #hint { top: 52%; } }
@media (min-width: 601px) and (max-height: 690px) { #gearbar { scale: 0.96; } #hint { top: 47%; scale: 0.9; } }
@media (min-width: 601px) and (max-height: 600px) { #gearbar { scale: 0.82; } #hint { top: 43%; scale: 0.8; } }

/* ===== hover tooltips (mouse only) ===== */
/* hover tooltip card: icon tile + title + one line + optional chip */
#ui-tip { --tc: #14b8a6; --tc2: #0e8f84; --tbg: #e6faf7;
  position: fixed; z-index: 60; display: flex; align-items: center; gap: 10px; max-width: 280px; padding: 9px 13px 9px 9px;
  border-radius: 16px; pointer-events: none; background: #fffdf7; border: 2px solid var(--tc);
  box-shadow: 0 10px 26px rgba(10, 40, 60, 0.28), inset 0 -3px 0 rgba(0, 0, 0, 0.05);
  font: 500 12.5px/1.3 Fredoka, system-ui, sans-serif; color: #4a5d6e;
  opacity: 0; translate: 0 -5px; scale: 0.96; transition: opacity 0.14s, translate 0.14s, scale 0.14s; }
#ui-tip.on { opacity: 1; translate: 0 0; scale: 1; }
#ui-tip .tt-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-size: 21px;
  background: linear-gradient(160deg, var(--tbg), #fff); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--tc) 35%, transparent); }
#ui-tip .tt-tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#ui-tip b { font: 700 14px/1.15 'Lilita One', Fredoka, sans-serif; letter-spacing: 0.2px; color: var(--tc2); }
#ui-tip em { align-self: flex-start; margin-top: 4px; padding: 2px 8px; border-radius: 999px; font: 600 11.5px/1.4 Fredoka, sans-serif; font-style: normal;
  color: #fff; background: var(--tc); }
#ui-tip::before { content: ''; position: absolute; left: var(--ax, 50%); top: -7px; width: 11px; height: 11px; translate: -50% 0; rotate: 45deg;
  background: #fffdf7; border-left: 2px solid var(--tc); border-top: 2px solid var(--tc); border-radius: 3px 0 0 0; }
#ui-tip.up::before { top: auto; bottom: -7px; border: 0; border-right: 2px solid var(--tc); border-bottom: 2px solid var(--tc); border-radius: 0 0 3px 0; }
#ui-tip.up { translate: 0 5px; } #ui-tip.up.on { translate: 0 0; }
#ui-tip.tt-gold { --tc: #f0a020; --tc2: #b86e00; --tbg: #fff3d1; }
#ui-tip.tt-pink { --tc: #f25f8a; --tc2: #c2335e; --tbg: #ffe6ee; }
#ui-tip.tt-purple { --tc: #8b5cf6; --tc2: #6234d1; --tbg: #efe8ff; }
#ui-tip.tt-slate { --tc: #7c8ea3; --tc2: #46576b; --tbg: #eef2f6; }
#feed .ev { pointer-events: auto; cursor: default; }

/* ===== daily treasure: 7-day login calendar ===== */
.panel.daily { width: min(600px, calc(100vw - 24px)); }
.dl-sub { font: 600 13px/1.3 Fredoka, sans-serif; color: #7a6a55; margin-top: 2px; }
.dl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px 6px; }
.dl-day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px 10px; border-radius: 16px; background: #fff; box-shadow: 0 3px 0 #e3d4b8, 0 6px 14px rgba(14,58,78,0.08); border: 3px solid transparent; transition: transform 0.2s; }
.dl-day.big { grid-column: span 2; background: linear-gradient(180deg, #fff6d8, #ffe39a); }
.dl-n { font: 13px var(--display); letter-spacing: 1px; color: #a58a66; }
.dl-i { font-size: 34px; line-height: 1.15; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2)); }
.dl-day.big .dl-i { font-size: 46px; }
.dl-g { display: flex; align-items: center; gap: 4px; font: 16px var(--display); color: #5e3415; }
.dl-x { font: 700 11px Fredoka, sans-serif; color: #7b4fd6; }
.dl-day.later { opacity: 0.8; }
.dl-day.done { background: #eef8f5; }
.dl-day.done .dl-i, .dl-day.done .dl-g { opacity: 0.45; }
.dl-ok { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; color: #20bf6b; text-shadow: 0 2px 0 #fff, 0 0 10px #fff; }
.dl-day.now { border-color: #ffb31f; background: linear-gradient(180deg, #fffbea, #fff0bf); transform: translateY(-3px); box-shadow: 0 0 0 4px rgba(255,179,31,0.25), 0 0 22px rgba(255,190,40,0.7); animation: dlGlow 1.2s ease-in-out infinite; }
.dl-day.now .dl-n { color: #e08a00; }
.dl-day.pop { animation: tutPop 0.5s cubic-bezier(.2,1.6,.4,1); }
@keyframes dlGlow { 50% { box-shadow: 0 0 0 6px rgba(255,179,31,0.3), 0 0 30px rgba(255,190,40,0.95); } }
.dl-foot { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 10px 16px 16px; }
.dl-ad { padding: 9px 18px; border-radius: 14px; border: 0; cursor: pointer; font: 16px var(--display); color: #fff; letter-spacing: 0.5px; background: linear-gradient(180deg, #a77bff, #7b4fd6); box-shadow: 0 4px 0 #5a33a8; }
.dl-ad:active { transform: translateY(3px); box-shadow: 0 1px 0 #5a33a8; }
.dl-ad:disabled { opacity: 0.6; }
.dl-wait { font: 600 15px Fredoka, sans-serif; color: #4a3220; padding: 8px 14px; border-radius: 12px; background: #eef8f5; }
@media (max-width: 600px) { .dl-grid { gap: 7px; padding: 10px; } .dl-i { font-size: 26px; } .dl-day.big .dl-i { font-size: 36px; } .dl-g { font-size: 13px; } }

/* ===== island screen: bigger gold/settings, side buttons and stats bar (desktop + tablet) ===== */
@media (min-width: 601px) {
  body.in-city #hud-right { scale: 1.05; transform-origin: top right; }
  body.in-city #side-btns { scale: 0.95; transform-origin: top right; top: calc(70px + var(--safe-t, 0px)); }
  #feed { top: calc(82px + var(--safe-t, 0px)); }
}
@media (min-width: 601px) and (max-width: 1010px) { #feed { top: calc(212px + var(--safe-t, 0px)); } }
body.in-city #hud-stats { scale: 0.85; transform-origin: top left; }   /* (15% smaller everywhere: it fits up in the top-left corner beside the captain card) */   /* (only where it clears the captain-level card) */

/* ===== side buttons: one colour each (Goals gold, Manage teal, Daily pink) ===== */
#side-btns .side-btn { border: 0; }
#side-btns .side-btn span { color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,0.28); }
#side-btns #btn-ach { background: linear-gradient(180deg, #ffd45c, #f5a623); box-shadow: 0 4px 0 #c27a0e, 0 8px 14px rgba(194,122,14,0.35); }
#side-btns #btn-fac { background: linear-gradient(180deg, #4fd8c8, #14a99a); box-shadow: 0 4px 0 #0b7a6f, 0 8px 14px rgba(11,122,111,0.35); }
#side-btns #btn-daily { background: linear-gradient(180deg, #ff8fc0, #e8508f); box-shadow: 0 4px 0 #b0306a, 0 8px 14px rgba(176,48,106,0.35); }
#side-btns #btn-ach:active { box-shadow: 0 1px 0 #c27a0e; }
#side-btns #btn-fac:active { box-shadow: 0 1px 0 #0b7a6f; }
#side-btns #btn-daily:active { box-shadow: 0 1px 0 #b0306a; }

/* voyage strip on the captain card: click to set sail */
#xpbar { pointer-events: auto; }
#xpbar .xp-voy { pointer-events: auto; cursor: pointer; transition: filter 0.15s, background 0.15s; }
#xpbar .xp-voy::after { content: ' ▶'; font-size: 0.8em; opacity: 0.85; }
#xpbar .xp-voy:hover { filter: brightness(1.18); }
#xpbar .xp-voy:active { filter: brightness(0.92); }

/* trick intro banner on voyages: smaller, two lines, sits higher so it doesn't cover the hazard */
#banner.trick { top: 20%; padding: 0 12px; }
#banner.trick.show { animation-duration: 2.8s; }
#banner.trick .b-main { font-size: 44px; -webkit-text-stroke: 8px var(--wood-d); letter-spacing: 1px; line-height: 1.1; }
#banner.trick .b-main small { display: block; font-size: 24px; color: #ffd23f; -webkit-text-stroke: 6px var(--wood-d); letter-spacing: 3px; }
#banner.trick .b-sub { font-size: 20px; margin-top: 4px; }
@media (max-width: 600px) { #banner.trick .b-main { font-size: 30px; -webkit-text-stroke: 6px var(--wood-d); } #banner.trick .b-main small { font-size: 18px; } #banner.trick .b-sub { font-size: 15px; } }

/* sea-monster boss HP tag */
.lbl.boss-hp { font-family: var(--display); font-size: 24px; color: #fff; padding: 4px 14px 5px; border-radius: 14px; background: linear-gradient(180deg, #e63946, #a4161a); border: 3px solid #ffd23f; box-shadow: 0 4px 0 #6a040f, 0 8px 16px rgba(0,0,0,0.3); white-space: nowrap; }
.lbl.boss-hp b { font-weight: 400; }

/* voyage complete: retry + best-result note */
.v-retry { width: min(320px, 92vw); padding: 10px 16px; font-size: 18px; color: #fff; background: linear-gradient(180deg, #5aa9e6, #2f6fb3); box-shadow: 0 4px 0 #1d4f85, 0 8px 16px rgba(0,0,0,0.2); }
.v-retry:active { transform: translateY(3px); box-shadow: 0 1px 0 #1d4f85; }
.v-best { max-width: min(340px, 92vw); padding: 6px 12px; border-radius: 12px; background: rgba(255,255,255,0.88); color: #4a3220; font: 600 14px/1.3 Fredoka, sans-serif; text-align: center; }
.v-best b { color: #d06d00; }

/* ===== daily lucky wheel: pirate ship helm + 7-day streak (fixed-size page) ===== */
.panel.wheel { width: min(560px, 96vw); max-height: none; }   /* (height fixed by its content; the zoom steps below keep it on screen) */
.wheel .wh-body { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 18px 18px;
  background:
    linear-gradient(180deg, #fbf0d6, #f3e1b6); }
/* 7-day streak track */
.wh-streak { display: flex; align-items: center; width: 100%; height: 86px; }
.wh-link { flex: 1 1 6px; height: 4px; min-width: 4px; background: repeating-linear-gradient(90deg, #b98a4e 0 6px, transparent 6px 10px); }
.wh-day { position: relative; flex: none; width: 56px; height: 76px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fffaf0; border: 2px solid #e2c48f; color: #8a6a44; box-shadow: 0 3px 0 #d8b47a; }
.wh-day small { font: 700 9.5px Fredoka, sans-serif; letter-spacing: 0.5px; }
.wh-day .wh-dico { font-size: 19px; line-height: 1.25; }
.wh-day b { font: 15px/1 'Lilita One', Fredoka, sans-serif; color: #6b4423; }
.wh-day em { position: absolute; bottom: -9px; left: 50%; translate: -50% 0; padding: 1px 6px; border-radius: 99px; background: #b23a2e; color: #ffe9b8; font: 700 9.5px Fredoka, sans-serif; font-style: normal; white-space: nowrap; }
.wh-day.done { background: linear-gradient(180deg, #d9f5e3, #b9e8c9); border-color: #4caf72; box-shadow: 0 3px 0 #3b8f5b; }
.wh-day.done .wh-dico { color: #1e7a43; font-weight: 900; }
.wh-day.now, .wh-day.today { background: linear-gradient(180deg, #fff3c4, #ffd166); border-color: #e09a1a; box-shadow: 0 3px 0 #b8740a, 0 0 0 4px rgba(255, 209, 102, 0.45); }
.wh-day.now { animation: whNow 1.3s ease-in-out infinite; }
@keyframes whNow { 50% { transform: translateY(-3px); } }
.wh-day.d7 { width: 62px; border-color: #b23a2e; }
/* the helm */
.wh-stage { position: relative; width: 300px; height: 300px; flex: none; margin: 34px 0 36px; }   /* (margin: room for the spoke handles) */
.wh-handles, .wh-rim { position: absolute; inset: 0; will-change: transform; }
.wh-handles i { position: absolute; left: 50%; top: 50%; width: 14px; height: 40px; margin-left: -7px; border-radius: 7px;
  transform-origin: 50% 0; transform: rotate(var(--a)) translateY(-170px);   /* spans radius 130..170: plugs into the rim (outer edge 138) */
  background: linear-gradient(90deg, #5a3016, #b07040 40%, #c98a52 55%, #6b3d1d); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.3); }
.wh-handles i::before { content: ''; position: absolute; left: 50%; top: -12px; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d79a5e, #8a5228 55%, #5a3016); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35), inset 0 -2px 0 rgba(0, 0, 0, 0.2); }
.wh-handles i::after { content: ''; position: absolute; left: -2px; right: -2px; top: 10px; height: 4px; border-radius: 2px; background: #e8b64c; }   /* brass collar */
.wh-rim { inset: 12px; border-radius: 50%;
  background: repeating-conic-gradient(from 3deg, #8a5228 0 7deg, #7a4520 7deg 12deg, #94592c 12deg 19deg), #8a5228;
  box-shadow: 0 10px 24px rgba(60, 30, 10, 0.4), inset 0 0 0 4px #e8b64c, inset 0 0 0 7px #5a3016, 0 0 0 3px #5a3016; }
.wh-rim b { position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff1b8, #e8b64c 60%, #9c6a12); transform: rotate(var(--a)) translateY(-128px); }
.wh-wheel { position: absolute; inset: 30px; border-radius: 50%; overflow: hidden; will-change: transform; box-shadow: 0 0 0 4px #e8b64c, inset 0 0 18px rgba(60, 30, 10, 0.35); }
.wh-wheel::after { content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(#e8b64c 0 0.8deg, transparent 0.8deg 45deg), radial-gradient(circle, transparent 58%, rgba(60, 30, 10, 0.18)); }
.wh-seg { position: absolute; left: 50%; top: 50%; width: 72px; margin-left: -36px; display: flex; flex-direction: column; align-items: center; gap: 1px;
  transform: rotate(var(--a)) translateY(-110px); transform-origin: 50% 0; text-align: center; z-index: 1; }
.wh-seg .wh-ic { font-size: 25px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3)); }
.wh-seg b { font: 14px/1.1 'Lilita One', Fredoka, sans-serif; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); white-space: nowrap; }
.wh-seg.jp .wh-ic { font-size: 30px; }
.wh-seg.win .wh-ic { animation: whWin 0.5s ease-in-out 3; }
@keyframes whWin { 50% { transform: scale(1.35); } }
.wh-pointer { position: absolute; left: 50%; top: -2px; width: 34px; height: 46px; margin-left: -17px; z-index: 3; transform-origin: 50% 20%;
  background: linear-gradient(90deg, #c9952c, #ffe08a 50%, #c9952c); clip-path: polygon(50% 100%, 0 30%, 18% 0, 82% 0, 100% 30%); filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.4)); }
.wh-pointer::after { content: ''; position: absolute; left: 50%; top: 9px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #b23a2e; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.25); }
.wh-pointer.tk { animation: whTick 0.12s ease-out; }
@keyframes whTick { 40% { transform: rotate(-14deg); } }
.wh-hub { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px; border-radius: 50%; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #fff2b0, #e8b64c 55%, #9c6a12); border: 5px solid #5a3016; color: #4a2a0c;
  font: 17px/1 'Lilita One', Fredoka, sans-serif; box-shadow: 0 0 0 3px #e8b64c, 0 6px 14px rgba(0, 0, 0, 0.35), inset 0 -4px 0 rgba(0, 0, 0, 0.15); cursor: pointer; transition: transform 0.12s; }
.wh-hub span { font-size: 22px; line-height: 1; margin-bottom: 1px; }
.wh-hub:hover:not(:disabled) { transform: scale(1.06); }
.wh-hub:disabled { filter: grayscale(0.5) brightness(0.95); cursor: default; }
/* fixed-height controls: the page never changes size between before / during / after a spin */
.wh-side { display: grid; grid-template-rows: 70px 60px 34px; gap: 8px; width: min(340px, 100%); }
.wh-btn { height: 60px; padding: 0 16px; border-radius: 16px; font: 19px/1.1 'Lilita One', Fredoka, sans-serif; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wh-btn small { display: block; font: 600 12px Fredoka, sans-serif; opacity: 0.85; }
.wh-btn:disabled { background: #e6d6b8; color: #8a7a62; box-shadow: none; cursor: default; }
.wh-note { display: flex; align-items: center; justify-content: center; text-align: center; font: 600 13px/1.2 Fredoka, sans-serif; color: #6b5640; overflow: hidden; }
.wh-note b { font-family: ui-monospace, monospace; color: #b23a2e; }
.wh-note.warn { color: #b23a2e; }
.wh-res { display: flex; align-items: center; justify-content: center; text-align: left; gap: 12px; height: 70px; padding: 0 14px; border-radius: 16px; background: #fffaf0; border: 2px solid #e2c48f; overflow: hidden; }
.wh-res.won { border-color: #e8b64c; box-shadow: 0 4px 12px rgba(120, 80, 20, 0.15); animation: whPop 0.35s cubic-bezier(.2, 1.6, .5, 1); }
.wh-res.jp { background: linear-gradient(135deg, #fff3c4, #ffe08a); border-color: #b23a2e; }
.wh-res-ic { font-size: 34px; flex: none; }
.wh-res small { display: block; font: 600 11px Fredoka, sans-serif; color: #9a7a4a; text-transform: uppercase; letter-spacing: 0.5px; }
.wh-res b { font: 23px/1.1 'Lilita One', Fredoka, sans-serif; color: #2b7a3b; }
.wh-res.idle b { color: #b23a2e; }
.wh-res .wh-chest { color: #b23a2e; text-transform: none; letter-spacing: 0; font-weight: 700; }
@keyframes whPop { from { transform: scale(0.85); opacity: 0.3; } }
/* small / short screens: the whole page scales by a fixed step (it never resizes while open) */
@media (max-height: 860px) { .panel.wheel { zoom: 0.88; } }
@media (max-height: 740px) { .panel.wheel { zoom: 0.76; } }
@media (max-height: 620px) { .panel.wheel { zoom: 0.66; } }
@media (max-width: 600px) {
  .wh-streak { height: 76px; }
  .wh-day { width: 40px; height: 66px; } .wh-day.d7 { width: 46px; } .wh-day small { font-size: 8px; } .wh-day b { font-size: 12px; } .wh-day .wh-dico { font-size: 15px; }
}

/* ===== facility detail card (shops + attractions) ===== */
#tip .tp-head.shop { background: linear-gradient(135deg, #fff1d6, #ffe4c2); }
#tip .tp-head.att { background: linear-gradient(135deg, #e7e9ff, #f1e8ff); }
#tip .tp-head.shop .tp-av, #tip .tp-head.att .tp-av { width: 44px; height: 44px; font-size: 25px; box-shadow: 0 0 0 3px rgba(255,255,255,0.9), 0 3px 8px rgba(14,58,78,0.18); }
#tip .tp-pill.bad { background: #ffe4e4; color: #b42318; }
#tip .tp-meter { display: grid; grid-template-columns: 1fr auto; row-gap: 4px; margin: 0 0 8px; font-size: 12px; }
#tip .tp-meter span { opacity: 0.75; font-weight: 600; }
#tip .tp-meter b { font-weight: 700; }
#tip .tp-meter i { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 99px; background: #e8eef2; overflow: hidden; }
#tip .tp-meter u { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; text-decoration: none; transition: width 0.3s; }
#tip .tp-up { display: flex; justify-content: space-between; align-items: center; margin: 8px -12px -10px; padding: 8px 12px; border-radius: 0 0 14px 14px;
  background: linear-gradient(90deg, #fff6d8, #ffeab0); font-size: 12px; font-weight: 600; color: #7a4a00; }
#tip .tp-up b { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800; color: #5a3d00; }
#tip .tp-up.max { background: linear-gradient(90deg, #e3f8ec, #c9f0d8); color: #146c43; }

/* the little "+1" guest-arrival pop under the Guests counter is hidden (it cluttered the corner) */
#guests .g-plus { display: none !important; }
/* level badge on every building's status bar: one star per level, metal by tier (bronze -> silver -> gold -> diamond) */
.sbar .sb-badge { display: inline-block; padding: 1px 6px; margin-left: -4px; border-radius: 999px; font-size: 12px; line-height: 14px; letter-spacing: -0.5px; text-shadow: 0 1px 0 rgba(0,0,0,0.25); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45); }
.sbar .sb-badge.t-bronze  { background: linear-gradient(180deg, #f0b27a, #a8602c); color: #fff4e6; }
.sbar .sb-badge.t-silver  { background: linear-gradient(180deg, #f8fafc, #94a3b8); color: #334155; text-shadow: 0 1px 0 rgba(255,255,255,0.6); }
.sbar .sb-badge.t-gold    { background: linear-gradient(180deg, #fff1a8, #e0a100); color: #7a4a00; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
.sbar .sb-badge.t-diamond { background: linear-gradient(120deg, #e0fbff, #a5f3fc 35%, #f5d0fe 60%, #7dd3fc); background-size: 200% 100%; color: #0e4f6b; text-shadow: 0 0 4px #fff; animation: sbDiamond 2.4s linear infinite; }
@keyframes sbDiamond { from { background-position: 0% 0; } to { background-position: 200% 0; } }

/* ---- level plaque over every building (v2): navy enamel plaque with a gold rim, a metal level medal, count + gauge ---- */
.lbl.stock.sbar { display: flex; align-items: center; gap: 6px; padding: 2px 9px 2px 2px; border-radius: 999px; overflow: visible;
  background: linear-gradient(180deg, #2c5579 0%, #173a5c 55%, #10304d 100%); border: 1.5px solid #f2c14e; color: #fff;
  font-family: 'Fredoka', system-ui, sans-serif; font-size: 11px; font-weight: 700; line-height: 13px;
  box-shadow: 0 2px 0 #9a6a12, 0 4px 9px rgba(10,30,50,0.35), inset 0 1px 0 rgba(255,255,255,0.28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.lbl.stock.sbar.warn { background: linear-gradient(180deg, #ef5350, #c62828); border-color: #fff; box-shadow: 0 2px 0 #7f1d1d, 0 4px 9px rgba(127,29,29,0.4); animation: oosGlow 1.6s ease-in-out infinite; }
.sbar .sb-badge { position: relative; padding: 2px 8px 2px 7px; margin: 0; border-radius: 999px; font-size: 11.5px; line-height: 14px; letter-spacing: -0.3px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), inset 0 -2px 0 rgba(0,0,0,0.18), 0 1px 2px rgba(0,0,0,0.35); }
.sbar .sb-badge::after { content: ''; position: absolute; left: 6%; right: 6%; top: 1px; height: 42%; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0)); pointer-events: none; }
.sbar .sb-badge.t-bronze  { background: linear-gradient(180deg, #f6c08f 0%, #c97b3a 55%, #8f4f1e 100%); color: #fff6ea; text-shadow: 0 1px 0 #6b3510; }
.sbar .sb-badge.t-silver  { background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 55%, #8796ab 100%); color: #3b4a5e; text-shadow: 0 1px 0 rgba(255,255,255,0.7); }
.sbar .sb-badge.t-gold    { background: linear-gradient(180deg, #fff3b0 0%, #f2c14e 50%, #c98a0b 100%); color: #7a4300; text-shadow: 0 1px 0 rgba(255,255,255,0.55); }
.sbar .sb-badge.t-diamond { background: linear-gradient(115deg, #e9fdff 0%, #a5f3fc 30%, #f5d0fe 55%, #93c5fd 80%, #e9fdff 100%); background-size: 220% 100%; color: #0b4a66; text-shadow: 0 0 5px #fff; animation: sbDiamond 2.6s linear infinite; }
.sbar .sb-main { display: flex; flex-direction: column; gap: 2px; min-width: 38px; }
.sbar .sb-n { display: flex; align-items: baseline; gap: 2px; font-size: 11.5px; line-height: 12px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 0 rgba(0,0,0,0.45); opacity: 1; }
.sbar .sb-ic { font-size: 9px; margin-right: 1px; transform: translateY(-0.5px); }
.sbar .sb-max { opacity: 0.7; font-size: 10px; }
.sbar .sb-track { position: relative; display: block; height: 4px; border-radius: 3px; background: rgba(0,0,0,0.38); box-shadow: inset 0 1px 1px rgba(0,0,0,0.4); overflow: hidden; }
.sbar .sb-track .sb-fill { position: absolute; left: 0; top: 0; bottom: 0; height: auto; border-radius: 3px; background: linear-gradient(90deg, #22c55e, #86efac); transition: width 0.3s; }
.sbar .sb-track .sb-fill.low { background: linear-gradient(90deg, #f59e0b, #fde047); }
.sbar .sb-track .sb-fill.out { background: #fff; }
.sbar .sb-track .sb-fill.guests { background: linear-gradient(90deg, #06b6d4, #a5f3fc); }

.sbar .sb-ppl { width: 14px; height: 10px; display: inline-block; vertical-align: -1px; filter: drop-shadow(0 1px 0 rgba(0,0,0,0.45)); }

/* lucky wheel: STOP while the helm runs free */
.wh-btn.wh-stop { border: 0; cursor: pointer; color: #fff; background: linear-gradient(180deg, #ff6b5e, #d23a2c); box-shadow: 0 4px 0 #8f2017, 0 6px 14px rgba(143,32,23,0.35); text-shadow: 0 1px 0 rgba(0,0,0,0.25); animation: whStop 0.9s ease-in-out infinite; }
.wh-btn.wh-stop:active { transform: translateY(3px); box-shadow: 0 1px 0 #8f2017; }
.wh-hub.stop { color: #b3261e; }
@keyframes whStop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }

/* debug (L menu): pad tags */
.lbl.dbgpad { background: rgba(16,24,40,0.85); color: #7dffb0; border: 1px solid #7dffb0; border-radius: 6px; padding: 2px 6px; font: 700 11px/1.25 ui-monospace, Consolas, monospace; text-align: center; white-space: nowrap; pointer-events: none; z-index: 5; }
.lbl.dbgpad small { display: block; font-weight: 400; font-size: 10px; color: #e2e8f0; }
.lbl.dbgpad.off { color: #fbbf24; border-color: #fbbf24; }
#dbg button.on { background: #16a34a; color: #fff; }

/* ===== phone layout pass (portrait + landscape) ===== */
/* portrait phones: the captain-level card clears the settings gear; the alert feed shows at most two cards;
   the tutorial card (Polly) lifts the minimap out of its way */
@media (max-width: 420px) {
  #xpbar { transform: translateX(-50%) scale(1.0); left: calc(50% - 22px); }
  #hud-stats { margin-top: 82px; }
  #feed { top: calc(134px + var(--safe-t, 0px)); max-width: min(240px, 62vw); }
  #feed > :nth-child(n+3) { display: none; }
  #side-btns { top: calc(162px + var(--safe-t, 0px)); }
}
@media (max-width: 600px) { body:has(#tut-card.show) #minimap { opacity: 0; pointer-events: none; transition: opacity 0.3s; } }
/* short landscape phones: one compact top row (stats | level card | money), small side buttons, a 2-card feed,
   and the lucky wheel laid out side by side so it fits the height */
@media (max-height: 500px) and (orientation: landscape) {
  #xpbar { transform: translateX(-50%) scale(0.92); top: calc(6px + var(--safe-t, 0px)); }
  #hud { top: calc(6px + var(--safe-t)); }
  #hud-stats, body.in-city #hud-stats { margin-top: 0 !important; scale: 0.68; transform-origin: top left; }
  #hud-right #money { margin-top: 0; }
  #feed { top: calc(64px + var(--safe-t, 0px)); max-width: min(260px, 34vw); }
  #feed > :nth-child(n+3) { display: none; }
  #side-btns { top: calc(64px + var(--safe-t, 0px)); scale: 0.78; transform-origin: top right; }
  #minimap { width: 96px !important; height: 96px !important; }
  #tut-card, #tut-card.tg { width: min(480px, calc(100vw - 260px)); bottom: calc(8px + var(--safe-b, 0px)); }
  .panel.wheel { zoom: 0.6 !important; width: min(1120px, 160vw); max-height: none !important; }
  .wheel .wh-body { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "stage streak" "stage side"; align-items: center; column-gap: 26px; row-gap: 18px; }
  .wheel .wh-streak { grid-area: streak; align-self: end; zoom: 0.84; justify-self: center; }
  .wheel .wh-stage { grid-area: stage; margin: 30px 34px; }
  .wheel .wh-side { grid-area: side; align-self: start; }
  #modal .panel:not(.wheel) { max-height: calc(100vh - 16px); }
  #gearbar { scale: 0.7; transform-origin: bottom center; bottom: calc(4px + var(--safe-b)); }   /* (voyage start cards: keep the track and the coin stack in view) */
}

/* ===== exploring: the context action button and the buoy-race timer ===== */
#act-btn { position: fixed; left: 50%; bottom: calc(150px + var(--safe-b, 0px)); transform: translateX(-50%) scale(0.9); z-index: 16; display: none; align-items: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; pointer-events: auto; font: 20px var(--display); color: #fff; letter-spacing: 0.3px;
  background: linear-gradient(180deg, #2ec4b6, #138a80); box-shadow: 0 5px 0 #0b5f58, 0 10px 22px rgba(10,40,60,0.3); text-shadow: 0 2px 0 rgba(0,0,0,0.2); opacity: 0; transition: opacity .15s, transform .15s; }
#act-btn.show { display: flex; opacity: 1; transform: translateX(-50%) scale(1); }
#act-btn.hot { background: linear-gradient(180deg, #ffb703, #fb8500); box-shadow: 0 5px 0 #a85400, 0 10px 22px rgba(10,40,60,0.3); animation: actPulse 0.45s ease-in-out infinite alternate; }
#act-btn:active { transform: translateX(-50%) translateY(3px); box-shadow: 0 2px 0 #0b5f58; }
#act-btn small { font: 700 11px Fredoka, sans-serif; padding: 2px 6px; border-radius: 6px; background: rgba(255,255,255,0.28); }
#act-btn .ab-alt { margin-left: 4px; padding: 5px 11px; border-radius: 999px; font-size: 16px; background: rgba(255,255,255,0.22); border: 2px solid rgba(255,255,255,0.7); }
@keyframes actPulse { from { transform: translateX(-50%) scale(1); } to { transform: translateX(-50%) scale(1.08); } }
body:not(.in-city) #act-btn { display: none !important; }
#race-hud { position: fixed; left: 50%; top: calc(150px + var(--safe-t, 0px)); transform: translateX(-50%); z-index: 15; display: none; padding: 7px 16px; border-radius: 999px;
  font: 600 15px Fredoka, sans-serif; color: #fff; background: rgba(16,48,77,0.82); border: 2px solid #f2c14e; box-shadow: 0 4px 12px rgba(0,0,0,0.25); white-space: nowrap; pointer-events: none; }
#race-hud.show { display: block; }
#race-hud b { color: #ffd166; font-size: 17px; }
body:not(.in-city) #race-hud { display: none !important; }
@media (max-height: 500px) and (orientation: landscape) { #act-btn { bottom: calc(70px + var(--safe-b, 0px)); } #race-hud { top: calc(64px + var(--safe-t, 0px)); } }

/* loading screen: its moving layers run on the compositor (smooth even while the game is busy loading) */
.sp-rays, .sp-waves, .sp-bubbles i { will-change: transform; backface-visibility: hidden; }
.sp-chest3d { filter: none; }   /* (the 3D chest is drawn once; its own soft shadow is in the scene) */

/* ===== phones: a slimmer top HUD (stats, captain level + voyage card, money) ===== */
@media (max-width: 600px) {
  #xpbar, #xpbar { transform: translateX(-50%) scale(0.78); left: 50%; }
  body.in-city #voyage { top: calc(37px + var(--safe-t, 0px)); scale: 0.78; }
  body.in-city #hud-stats { margin-top: 70px; scale: 0.72; transform-origin: top left; }
  body.in-city #hud-right { scale: 0.74; transform-origin: top right; }
  body.in-city #hud-right #money { margin-top: 50px; }
  #feed { top: calc(112px + var(--safe-t, 0px)); }
  #side-btns { top: calc(118px + var(--safe-t, 0px)); scale: 0.88; transform-origin: top right; }
  body.in-city #toast { top: calc(84px + var(--safe-t, 0px)); }
}
@media (max-height: 500px) and (orientation: landscape) {
  #xpbar { transform: translateX(-50%) scale(0.78); left: 50%; top: calc(4px + var(--safe-t, 0px)); }
  body.in-city #voyage { top: calc(31px + var(--safe-t, 0px)); scale: 0.78; }
  body.in-city #hud-stats { margin-top: 0 !important; scale: 0.66; transform-origin: top left; }
  #hud { top: calc(4px + var(--safe-t)); }
  body.in-city #hud-right { scale: 0.72; transform-origin: top right; }
  body.in-city #hud-right #money { margin-top: 0; }
  #side-btns { top: calc(52px + var(--safe-t, 0px)); scale: 0.7; }
}
/* phone landscape: a compact advisor panel (smaller parrot, text and padding) */
@media (max-height: 500px) and (orientation: landscape) {
  #tut-card.tg { width: min(380px, calc(100vw - 280px)); bottom: calc(6px + var(--safe-b, 0px)); }
  #tut-card.tg .tg-portrait { width: 54px; height: 54px; margin-right: -12px; }
  #tut-card.tg .tg-portrait span { font-size: 30px; }
  #tut-card.tg .tg-box { padding: 6px 10px 6px 18px; }
  #tut-card.tg .tg-head { margin-bottom: 2px; }
  #tut-card.tg .tg-name { font-size: 13px; padding: 1px 8px; }
  #tut-card.tg .tg-role { display: none; }
  #tut-card.tg .tg-text { font-size: 12.5px; line-height: 1.3; }
  #tut-card.tg .tg-foot { margin-top: 3px; }
  #tut-card.tg .tg-next, #tut-card.tg .tut-skip, #tut-card.tg .tg-step { font-size: 10px; }
  #tut-card.tg .tut-dots i { width: 6px; height: 6px; }
}
/* desktop / tablet island: stats bar and gold 20% smaller */
@media (min-width: 601px) and (min-height: 501px) {
  body.in-city #hud-stats { scale: 0.68; transform-origin: top left; }
  body.in-city #hud-right { scale: 0.84; transform-origin: top right; }
}
/* the soft corner vignette (was a full-screen shader pass): a free CSS overlay right over the canvas */
#vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, rgba(10,20,30,0) 38%, rgba(10,20,30,0.07) 62%, rgba(10,20,30,0.17) 100%); }
/* ===== settings: rows with an icon, a title and a slide switch ===== */
.panel.settings { width: min(420px, calc(100vw - 32px)); padding: 22px 20px 18px; }
.set-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 14px; }
.set-head h2 { margin: 0; }
.set-badge { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(160deg, #ffe08a, #f2b632); box-shadow: 0 3px 0 #c98a12; }
.set-list { display: flex; flex-direction: column; gap: 10px; }
.set-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 18px; background: #f3f8fa; box-shadow: inset 0 0 0 2px #e3eef2; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: transform .12s; }
.set-row:active { transform: scale(0.98); }
.set-ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15); }
.set-txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.set-txt b { font: 18px/1.15 var(--display); color: var(--ink); }
.set-txt small { font: 600 12px Fredoka, sans-serif; color: #7b8fa0; margin-top: 2px; }
.sw { flex: none; position: relative; width: 54px; height: 32px; border-radius: 99px; background: #c9d6dd; box-shadow: inset 0 2px 3px rgba(0,0,0,0.15); transition: background .2s; }
.sw i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.25); transition: transform .22s cubic-bezier(.3,1.4,.5,1); }
.sw.on { background: linear-gradient(180deg, #34d399, #10b981); }
.sw.on i { transform: translateX(22px); }
.set-foot { text-align: center; font: 600 11px Fredoka, sans-serif; color: #9fb2bf; margin: 14px 0 4px; letter-spacing: .3px; }

/* settings: drawn glyphs instead of emoji */
.set-ico svg { width: 24px; height: 24px; filter: drop-shadow(0 1.5px 0 rgba(0,0,0,0.22)); }
.set-ico { position: relative; overflow: hidden; }
.set-ico::before { content: ''; position: absolute; left: 4px; right: 4px; top: 3px; height: 42%; border-radius: 10px 10px 14px 14px; background: linear-gradient(180deg, rgba(255,255,255,0.45), rgba(255,255,255,0)); }
.set-badge svg { width: 26px; height: 26px; filter: drop-shadow(0 1.5px 0 rgba(0,0,0,0.2)); }

/* "Try it?" card: shown when the captain steps onto an attraction's lot (its halo lights up in the park) */
#try-card { position: fixed; left: 50%; bottom: calc(140px + var(--safe-b, 0px)); z-index: 17; display: none; align-items: center; gap: 12px;
  padding: 10px 12px 10px 10px; border-radius: 22px; background: linear-gradient(180deg, #fffdf5, #fff3d1); color: #3b2a14;
  box-shadow: 0 0 0 3px #ffd166, 0 6px 0 #c98a12, 0 14px 28px rgba(10,40,60,0.35); font-family: Fredoka, sans-serif;
  transform: translateX(-50%); animation: tcIn .32s cubic-bezier(.3,1.5,.5,1); max-width: calc(100vw - 32px); }
#try-card.show { display: flex; }
@keyframes tcIn { from { transform: translateX(-50%) translateY(18px) scale(.85); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
#try-card .tc-ico { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 28px;
  background: radial-gradient(circle at 50% 35%, #fff6c9, #ffcf4a 70%); box-shadow: inset 0 -3px 0 rgba(160,90,0,.25), 0 0 16px rgba(255,200,60,.8); animation: tcGlow 1.2s ease-in-out infinite alternate; }
@keyframes tcGlow { to { box-shadow: inset 0 -3px 0 rgba(160,90,0,.25), 0 0 26px rgba(255,210,80,1); } }
#try-card .tc-txt { display: flex; flex-direction: column; flex: none; }
#try-card .tc-txt small { font-size: 12px; font-weight: 600; color: #a0661a; white-space: nowrap; }
#try-card .tc-txt b { font-size: 19px; font-weight: 700; line-height: 1.15; white-space: nowrap; }
#try-card .tc-btns { display: flex; gap: 8px; margin-left: 4px; }
#try-card button { border: 0; cursor: pointer; font: 700 16px Fredoka, sans-serif; border-radius: 999px; padding: 9px 16px; white-space: nowrap; }
#try-card .tc-yes { color: #fff; background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 4px 0 #0b7a55; animation: tcYes .6s ease-in-out infinite alternate; }
@keyframes tcYes { to { transform: scale(1.07); filter: brightness(1.08); } }
#try-card .tc-yes kbd { font: 700 11px Fredoka, sans-serif; padding: 1px 5px; margin-left: 4px; border-radius: 6px; background: rgba(255,255,255,.3); }
#try-card .tc-no { color: #7a6a55; background: #efe6d2; box-shadow: 0 4px 0 #cdbd9c; }
#try-card button:active { transform: translateY(3px); box-shadow: none; }
body:not(.in-city) #try-card { display: none !important; }
@media (max-width: 600px) { #try-card .tc-txt { flex: 1 1 auto; } #try-card .tc-txt b { white-space: normal; } #try-card { flex-wrap: wrap; justify-content: center; gap: 8px; } #try-card .tc-txt b { font-size: 16px; } #try-card .tc-yes kbd { display: none; } }
@media (max-height: 500px) and (orientation: landscape) { #try-card { bottom: calc(64px + var(--safe-b, 0px)); padding: 6px 10px 6px 6px; } #try-card .tc-ico { width: 40px; height: 40px; font-size: 22px; } #try-card .tc-txt b { font-size: 16px; } }

/* the shop counter on the "try it" card: three things to buy */
#try-card .tc-items { display: flex; gap: 8px; }
#try-card .tc-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; width: 92px; padding: 6px 4px 7px; border-radius: 16px;
  background: #ffffff; color: #3b2a14; box-shadow: 0 0 0 2px #f2d79a, 0 4px 0 #e0bd72; font: 600 12px Fredoka, sans-serif; white-space: normal; }
#try-card .tc-item .ti-e { font-size: 26px; line-height: 1.1; }
#try-card .tc-item .ti-n { font-size: 11.5px; line-height: 1.1; min-height: 25px; display: flex; align-items: center; text-align: center; }
#try-card .tc-item .ti-p { display: inline-flex; align-items: center; gap: 3px; margin-top: 2px; padding: 2px 8px; border-radius: 99px; background: linear-gradient(180deg, #34d399, #10b981); color: #fff; font-weight: 700; font-size: 13px; }
#try-card .tc-item kbd { position: absolute; top: -6px; right: -4px; font: 700 10px Fredoka, sans-serif; padding: 1px 5px; border-radius: 6px; background: #ffb703; color: #fff; }
#try-card .tc-item:hover { box-shadow: 0 0 0 3px #ffd166, 0 4px 0 #e0bd72; }
#try-card .tc-item.poor { opacity: .55; }
#try-card .tc-item.poor .ti-p { background: #b8b0a2; }
#try-card.shop .tc-btns { margin-left: 0; }
@media (max-width: 600px) { #try-card .tc-item { width: 84px; } #try-card .tc-item kbd { display: none; } }
@media (max-height: 500px) and (orientation: landscape) { #try-card .tc-item { width: 80px; padding: 4px 3px 5px; } #try-card .tc-item .ti-e { font-size: 20px; } }

/* splash: the spinning coin wears the game's own doubloon (the same art as the money icon) */
.sp-coin3d .cf, .sp-coin3d .cb { background: center / 100% 100% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E %3Cdefs%3E%3CradialGradient id='g' cx='38%25' cy='32%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23fff3b0'/%3E%3Cstop offset='.35' stop-color='%23ffd447'/%3E%3Cstop offset='.8' stop-color='%23e79a12'/%3E%3Cstop offset='1' stop-color='%23b86a06'/%3E%3C/radialGradient%3E %3CradialGradient id='f' cx='40%25' cy='35%25' r='70%25'%3E%3Cstop offset='0' stop-color='%23ffe680'/%3E%3Cstop offset='1' stop-color='%23e0950f'/%3E%3C/radialGradient%3E%3C/defs%3E %3Ccircle cx='32' cy='32' r='31' fill='%238a4d05'/%3E%3Ccircle cx='32' cy='32' r='30' fill='url%28%23g%29'/%3E %3Cg stroke='%23b5650a' stroke-width='1.6' stroke-linecap='round' opacity='.8'%3E%3Cline x1='61.00' y1='32.00' x2='58.00' y2='32.00'/%3E%3Cline x1='60.56' y1='37.04' x2='57.61' y2='36.51'/%3E%3Cline x1='59.25' y1='41.92' x2='56.43' y2='40.89'/%3E%3Cline x1='57.11' y1='46.50' x2='54.52' y2='45.00'/%3E%3Cline x1='54.22' y1='50.64' x2='51.92' y2='48.71'/%3E%3Cline x1='50.64' y1='54.22' x2='48.71' y2='51.92'/%3E%3Cline x1='46.50' y1='57.11' x2='45.00' y2='54.52'/%3E%3Cline x1='41.92' y1='59.25' x2='40.89' y2='56.43'/%3E%3Cline x1='37.04' y1='60.56' x2='36.51' y2='57.61'/%3E%3Cline x1='32.00' y1='61.00' x2='32.00' y2='58.00'/%3E%3Cline x1='26.96' y1='60.56' x2='27.49' y2='57.61'/%3E%3Cline x1='22.08' y1='59.25' x2='23.11' y2='56.43'/%3E%3Cline x1='17.50' y1='57.11' x2='19.00' y2='54.52'/%3E%3Cline x1='13.36' y1='54.22' x2='15.29' y2='51.92'/%3E%3Cline x1='9.78' y1='50.64' x2='12.08' y2='48.71'/%3E%3Cline x1='6.89' y1='46.50' x2='9.48' y2='45.00'/%3E%3Cline x1='4.75' y1='41.92' x2='7.57' y2='40.89'/%3E%3Cline x1='3.44' y1='37.04' x2='6.39' y2='36.51'/%3E%3Cline x1='3.00' y1='32.00' x2='6.00' y2='32.00'/%3E%3Cline x1='3.44' y1='26.96' x2='6.39' y2='27.49'/%3E%3Cline x1='4.75' y1='22.08' x2='7.57' y2='23.11'/%3E%3Cline x1='6.89' y1='17.50' x2='9.48' y2='19.00'/%3E%3Cline x1='9.78' y1='13.36' x2='12.08' y2='15.29'/%3E%3Cline x1='13.36' y1='9.78' x2='15.29' y2='12.08'/%3E%3Cline x1='17.50' y1='6.89' x2='19.00' y2='9.48'/%3E%3Cline x1='22.08' y1='4.75' x2='23.11' y2='7.57'/%3E%3Cline x1='26.96' y1='3.44' x2='27.49' y2='6.39'/%3E%3Cline x1='32.00' y1='3.00' x2='32.00' y2='6.00'/%3E%3Cline x1='37.04' y1='3.44' x2='36.51' y2='6.39'/%3E%3Cline x1='41.92' y1='4.75' x2='40.89' y2='7.57'/%3E%3Cline x1='46.50' y1='6.89' x2='45.00' y2='9.48'/%3E%3Cline x1='50.64' y1='9.78' x2='48.71' y2='12.08'/%3E%3Cline x1='54.22' y1='13.36' x2='51.92' y2='15.29'/%3E%3Cline x1='57.11' y1='17.50' x2='54.52' y2='19.00'/%3E%3Cline x1='59.25' y1='22.08' x2='56.43' y2='23.11'/%3E%3Cline x1='60.56' y1='26.96' x2='57.61' y2='27.49'/%3E%3C/g%3E %3Ccircle cx='32' cy='32' r='23.5' fill='url%28%23f%29' stroke='%23b5650a' stroke-width='2'/%3E %3Ccircle cx='32' cy='32' r='21' fill='none' stroke='%23fff0a0' stroke-width='1' opacity='.7'/%3E %3Cg fill='none' stroke='%23a35e05' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E %3Ccircle cx='32' cy='18.5' r='3.4'/%3E%3Cline x1='32' y1='22' x2='32' y2='46'/%3E%3Cline x1='24.5' y1='27' x2='39.5' y2='27'/%3E %3Cpath d='M20 36.5c1 6.5 6 10 12 10s11-3.5 12-10'/%3E%3C/g%3E %3Cg fill='%23a35e05'%3E%3Cpath d='M17 37.8l3.6-4.6 2.6 4.4z'/%3E%3Cpath d='M47 37.8l-3.6-4.6-2.6 4.4z'/%3E%3C/g%3E %3Cg fill='none' stroke='%23fff2b0' stroke-width='1' stroke-linecap='round' opacity='.8'%3E%3Cline x1='30.6' y1='23' x2='30.6' y2='44'/%3E%3Cpath d='M21.5 37.2c1.2 4.8 5.2 7.6 10 7.8'/%3E%3C/g%3E %3Cellipse cx='22' cy='17' rx='8' ry='4.5' fill='%23fff' opacity='.45' transform='rotate%28-35 22 17%29'/%3E%3C/svg%3E"); box-shadow: none; }
.sp-coin3d .cf::after, .sp-coin3d .cb::after { content: none; }
.sp-coin3d .ce { background: radial-gradient(circle, #b86f00 0 60%, #e8a21a 72%, #9a5a00 100%); }

/* the souvenir the captain carries for a while after shopping */
.lbl.emoji.held { font-size: 26px; padding: 4px 7px; border-radius: 50%; background: radial-gradient(circle, rgba(255,240,190,0.95) 0 45%, rgba(255,215,110,0) 72%); filter: drop-shadow(0 2px 2px rgba(0,0,0,0.25)); animation: none; }

/* ---------- voyage result: a pirate reward card (chest bursting out of its top, ribbon banner, carved loot plate) ---------- */
.panel.victory { width: min(400px, 94vw); display: flex; flex-direction: column; align-items: center; }
.panel.victory .v-stage { width: 250px; height: 190px; margin: 0 auto -54px; z-index: 2; }
.panel.victory .v-chest3d { width: 360px; height: 273px; margin: -150px 0 0 -180px; filter: drop-shadow(0 14px 14px rgba(40,20,0,0.35)); }
.v-card { position: relative; width: 100%; padding: 70px 22px 22px; border-radius: 30px; text-align: center;
  background: radial-gradient(ellipse at 50% 0%, #fffaf0 0%, #fbeccb 55%, #f3d9a6 100%);
  border: 5px solid #9a5b2a; box-shadow: inset 0 0 0 3px #f2c14e, inset 0 0 0 7px #c98b46, inset 0 -10px 24px rgba(150,90,30,0.18), 0 8px 0 #6e3d18, 0 22px 40px rgba(0,20,40,0.45);
  animation: vCardIn 0.55s cubic-bezier(.2,1.5,.4,1) backwards; }
.v-card::before, .v-card::after { content: ''; position: absolute; top: 14px; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff3b0, #e3a11c 60%, #9a6208); box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.v-card::before { left: 14px; } .v-card::after { right: 14px; }
@keyframes vCardIn { from { opacity: 0; transform: translateY(40px) scale(0.9); } }
/* ribbon banner across the card */
.panel.victory .v-title { position: absolute; left: -26px; right: -26px; top: 26px; z-index: 3; line-height: 1; animation: vDrop 0.6s 0.15s cubic-bezier(.2,1.6,.4,1) backwards; }
.panel.victory .v-big { display: block; margin: 0; padding: 10px 0 12px; font-size: 44px; color: #fff; letter-spacing: 1.5px;
  -webkit-text-stroke: 7px #7a1e1e; paint-order: stroke fill; text-shadow: 0 4px 0 rgba(90,15,15,0.55);
  background: linear-gradient(180deg, #ff6a5c 0%, #e5372f 48%, #c4231f 52%, #b01d1a 100%);
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%); box-shadow: inset 0 3px 0 rgba(255,255,255,0.3); }
.panel.victory .v-voy { position: absolute; left: 50%; top: -15px; transform: translateX(-50%); z-index: 1; padding: 4px 16px 5px; font-size: 14px; letter-spacing: 3px; white-space: nowrap;
  color: #5a3313; background: linear-gradient(180deg, #ffe7a3, #f2b84a); border: 2px solid #9a5b2a; border-radius: 999px; box-shadow: 0 3px 0 #9a5b2a; }
.v-haul { margin: 40px 0 4px; font: 700 13px/1 Fredoka, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: #9a6a3a; }
.v-haul::before, .v-haul::after { content: '✦'; margin: 0 8px; color: #e3a11c; }
.panel.victory .v-loot { margin: 0 auto 16px; padding: 8px 16px 8px 10px; width: fit-content; gap: 8px; border-radius: 999px;
  background: linear-gradient(180deg, #7a4520, #5c3013); box-shadow: inset 0 3px 6px rgba(0,0,0,0.45), 0 2px 0 rgba(255,255,255,0.6); }
.panel.victory .v-loot .coin-ico { width: 40px; height: 40px; }
.panel.victory #earned-val { font-size: 42px; color: #ffd75e; -webkit-text-stroke: 0; text-shadow: 0 2px 0 #8a4a00, 0 0 18px rgba(255,200,60,0.45); }
.panel.victory .v-stamp { width: 52px; height: 52px; margin-left: 2px; background: radial-gradient(circle at 35% 30%, #fff1a8, #f2b23a 60%, #c27c0e); border: 2px dashed #fff6d0; color: #6b3a08; box-shadow: 0 0 0 3px #c27c0e, 0 3px 6px rgba(0,0,0,0.35); }
.panel.victory .v-stamp b { font-size: 18px; text-shadow: none; } .panel.victory .v-stamp small { font-size: 8px; }
.panel.victory .v-btns { gap: 10px; }
.panel.victory .v-main { width: 100%; }
.panel.victory .v-retry { width: auto; padding: 8px 20px; font-size: 15px; color: #7a4a22; background: rgba(255,255,255,0.55); border: 2px solid #c98b46; box-shadow: 0 3px 0 #c98b46; }
.panel.victory .v-retry:active { transform: translateY(2px); box-shadow: 0 1px 0 #c98b46; }
.panel.victory .v-best { background: #fff; border: 2px solid #f2c14e; }
@media (max-width: 520px) {
  .panel.victory .v-stage { width: 220px; height: 170px; margin-bottom: -48px; }
  .panel.victory .v-chest3d { width: 316px; height: 240px; margin: -132px 0 0 -158px; }
  .panel.victory .v-big { font-size: 36px; -webkit-text-stroke-width: 6px; }
  .panel.victory #earned-val { font-size: 36px; }
  .v-card { padding: 62px 16px 18px; }
}

/* result card ribbon (v2): a banner wider than the card with folded swallow-tail ends, gold stitched borders,
   the voyage number on a gold plaque riding on its top edge */
.panel.victory .v-title { left: -34px; right: -34px; top: 30px; height: 66px; }
.panel.victory .v-band { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; border-radius: 6px;
  background: linear-gradient(180deg, #ff6f5e 0%, #e8392f 45%, #c9241f 55%, #a81b18 100%);
  box-shadow: inset 0 3px 0 rgba(255,255,255,0.35), inset 0 -4px 0 rgba(90,10,10,0.35), 0 6px 0 #7a1414, 0 10px 18px rgba(60,10,0,0.35); }
.panel.victory .v-band::before { content: ''; position: absolute; inset: 6px 8px; border-top: 2px dashed rgba(255,226,150,0.9); border-bottom: 2px dashed rgba(255,226,150,0.9); pointer-events: none; }
.panel.victory .v-big { position: relative; padding: 0; background: none; clip-path: none; box-shadow: none;
  font-size: 40px; line-height: 1; letter-spacing: 2px; color: #fff7e0;
  -webkit-text-stroke: 6px #6e1010; paint-order: stroke fill; text-shadow: 0 4px 0 #6e1010, 0 0 14px rgba(255,210,120,0.35); }
.panel.victory .v-tail { position: absolute; top: 16px; width: 54px; height: 62px; z-index: 0;
  background: linear-gradient(180deg, #c42a24, #8e1714); }
.panel.victory .v-tail.l { left: -30px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%); }
.panel.victory .v-tail.r { right: -30px; clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%); }
.panel.victory .v-tail::after { content: ''; position: absolute; top: 0; width: 22px; height: 16px; background: #5c0d0b; }
.panel.victory .v-tail.l::after { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.panel.victory .v-tail.r::after { left: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
.panel.victory .v-voy { top: -20px; z-index: 3; padding: 3px 18px 4px; font-size: 13px; letter-spacing: 3px; color: #5a3313;
  background: linear-gradient(180deg, #fff0b8, #f2b84a 60%, #d99a2b); border: 2px solid #8a4f20; box-shadow: 0 2px 0 #8a4f20, inset 0 1px 0 rgba(255,255,255,0.7); }
.panel.victory .v-voy::before, .panel.victory .v-voy::after { content: '★'; font-size: 10px; color: #a8661c; margin: 0 6px; vertical-align: 1px; }
.v-haul { margin-top: 52px; }
@media (max-width: 520px) {
  .panel.victory .v-title { left: -24px; right: -24px; height: 58px; }
  .panel.victory .v-big { font-size: 34px; -webkit-text-stroke-width: 5px; }
  .panel.victory .v-tail { width: 44px; height: 54px; top: 14px; }
  .panel.victory .v-tail.l { left: -22px; } .panel.victory .v-tail.r { right: -22px; }
}

.tc-item .ti-p.free { color: #0f9d76; font-weight: 800; letter-spacing: 1px; }
/* first time an action button appears: it glows and pulses, with a bouncing pointer and a "Tap to ..." bubble */
#act-btn.first, .act-btn.first { animation: abFirst 1s ease-in-out infinite; box-shadow: 0 0 0 4px #ffe08a, 0 0 26px 8px rgba(255,214,90,0.85), 0 6px 0 rgba(0,0,0,0.25); }
@keyframes abFirst { 0%, 100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.12); } }
.ab-tip { position: absolute; left: 50%; bottom: calc(100% + 14px); transform: translateX(-50%); white-space: nowrap; padding: 6px 14px; border-radius: 14px;
  font: 800 16px/1.1 Fredoka, sans-serif; color: #5a3313; background: #fff6d6; border: 3px solid #f2b84a; box-shadow: 0 4px 0 #c98a2a, 0 8px 16px rgba(0,0,0,0.25); pointer-events: none; animation: abTip 1s ease-in-out infinite; }
.ab-tip::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -8px; border: 8px solid transparent; border-top-color: #f2b84a; }
@keyframes abTip { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.ab-hand { position: absolute; right: -18px; bottom: -26px; font-size: 34px; pointer-events: none; animation: abHand 0.8s ease-in-out infinite; filter: drop-shadow(0 3px 2px rgba(0,0,0,0.3)); }
@keyframes abHand { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-6px, -8px); } }

/* the "Try it?" card sits lower, near the bottom edge, so it covers less of the park */
#try-card { bottom: calc(28px + var(--safe-b, 0px)); }
@media (max-height: 500px) and (orientation: landscape) { #try-card { bottom: calc(14px + var(--safe-b, 0px)); } }
@media (max-width: 640px) and (orientation: portrait) { #try-card { bottom: calc(132px + var(--safe-b, 0px)); } }   /* (phones: stays clear of the map in the corner) */

/* first person: the Exit button, bottom centre */
#fpv-exit { position: fixed; left: 50%; bottom: calc(28px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 18; display: none; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 20px var(--display); color: #fff; letter-spacing: 0.5px;
  background: linear-gradient(180deg, #ff6b6b, #d63c3c); box-shadow: 0 5px 0 #8f2424, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
#fpv-exit.show { display: flex; }
#fpv-exit span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,0.25); font-size: 15px; }
#fpv-exit:active { transform: translateX(-50%) translateY(3px); box-shadow: 0 2px 0 #8f2424; }

/* first person: the captain's lines, a speech bubble on screen above the Exit button */
#fpv-say { position: fixed; left: 50%; bottom: calc(98px + var(--safe-b, 0px)); z-index: 18; display: flex; align-items: center; gap: 10px; max-width: min(560px, 90vw);
  padding: 10px 18px 10px 10px; border-radius: 18px; border: 3px solid #f2c14e; background: linear-gradient(180deg, #24496b, #16304a); color: #fff6dc;
  font: 700 19px/1.25 Fredoka, sans-serif; box-shadow: 0 6px 0 rgba(10,20,40,0.35), 0 12px 24px rgba(0,0,0,0.3); pointer-events: none;
  opacity: 0; transform: translate(-50%, 10px) scale(0.95); transition: opacity .2s, transform .25s cubic-bezier(.2,1.6,.4,1); }
#fpv-say.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
#fpv-say { transition: opacity .2s, transform .25s cubic-bezier(.2,1.6,.4,1), bottom .25s ease; }
#fpv-say b { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f2c14e; font-size: 20px; }
#fpv-say::after { content: ''; position: absolute; left: 50%; top: 100%; margin-left: -9px; border: 9px solid transparent; border-top-color: #f2c14e; }

/* first person at the turtle pool: the Feed button, beside Exit */
#fpv-feed { position: fixed; left: calc(50% + 86px); bottom: calc(28px + var(--safe-b, 0px)); z-index: 18; display: none; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 20px var(--display); color: #fff; letter-spacing: 0.5px;
  background: linear-gradient(180deg, #7ed957, #3fa34d); box-shadow: 0 5px 0 #2a6e33, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25);
  animation: feedPulse 1.4s ease-in-out infinite; }
#fpv-feed.show { display: flex; }
#fpv-feed span { font-size: 20px; }
#fpv-feed:active { transform: translateY(3px); box-shadow: 0 2px 0 #2a6e33; }
@keyframes feedPulse { 0%,100% { scale: 1; } 50% { scale: 1.07; } }
body:has(#fpv-feed.show) #fpv-exit { transform: translateX(calc(-50% - 70px)); }

/* the harbour office: pick a floor */
#floor-pick { position: fixed; left: 50%; bottom: calc(28px + var(--safe-b, 0px)); transform: translate(-50%, 16px); z-index: 18; opacity: 0; pointer-events: none;
  padding: 14px 16px 12px; border-radius: 20px; border: 3px solid #fff; background: linear-gradient(180deg, #24496b, #16304a); color: #fff6dc; text-align: center;
  box-shadow: 0 6px 0 rgba(10,20,40,0.35), 0 14px 28px rgba(0,0,0,0.3); transition: opacity .2s, transform .25s cubic-bezier(.2,1.6,.4,1); font-family: Fredoka, sans-serif; }
#floor-pick.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
#floor-pick .fp-t { font: 22px var(--display); }
#floor-pick .fp-s { font-size: 14px; opacity: 0.8; margin: 2px 0 10px; }
#floor-pick .fp-b { display: flex; gap: 8px; }
#floor-pick .fp-b button { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 96px; padding: 10px 10px 8px; border-radius: 14px; cursor: pointer;
  border: 2px solid rgba(255,255,255,0.8); background: linear-gradient(180deg, #ff7a5c, #e0503a); color: #fff; box-shadow: 0 4px 0 #9a3020; font-family: inherit; }
#floor-pick .fp-b button:nth-child(2) { background: linear-gradient(180deg, #3fb6d9, #1f7fa8); box-shadow: 0 4px 0 #145a78; }
#floor-pick .fp-b button:nth-child(3) { background: linear-gradient(180deg, #ffcf4a, #e9a21b); box-shadow: 0 4px 0 #9a6a10; color: #4a2c00; }
#floor-pick .fp-b button:active { transform: translateY(3px); box-shadow: none; }
#floor-pick .fp-b b { font-size: 26px; line-height: 1; }
#floor-pick .fp-b span { font-weight: 700; font-size: 15px; }
#floor-pick .fp-b i { font-style: normal; font-size: 12px; opacity: 0.85; }
#floor-pick .fp-no { margin-top: 10px; padding: 5px 16px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.6); background: transparent; color: #fff6dc; cursor: pointer; font-family: inherit; }

/* diving: the mask's soft dark rim and a touch of blue over the view */
body.diving::after { content: ''; position: fixed; inset: 0; z-index: 16; pointer-events: none;
  background: radial-gradient(ellipse 78% 82% at 50% 48%, rgba(20,110,150,0) 55%, rgba(6,48,78,0.42) 82%, rgba(2,22,40,0.85) 100%); }

/* first person at the sunset bar: chat with the barkeep, or order a drink (a row above Exit) */
#fpv-bar { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 18; display: none; gap: 8px; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 96vw; }
#fpv-bar.show { display: flex; animation: barIn 0.35s ease-out; }
#fpv-bar button { display: flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 18px var(--display); color: #fff; letter-spacing: 0.4px;
  background: linear-gradient(180deg, #ffb347, #f0703a); box-shadow: 0 5px 0 #a8431c, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); transition: opacity 0.2s, filter 0.2s; }
#fpv-bar button.chat { background: linear-gradient(180deg, #5cc8f0, #2f8fd6); box-shadow: 0 5px 0 #1d5e94, 0 10px 22px rgba(10,20,40,0.35); }
#fpv-bar button span { font-size: 20px; }
#fpv-bar button:active { transform: translateY(3px); box-shadow: 0 2px 0 #a8431c; }
#fpv-bar.busy button { opacity: 0.45; filter: grayscale(0.5); pointer-events: none; }
@keyframes barIn { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }

/* first person in a shop: its goods, to pick at the counter (a row above Exit) */
#fpv-shop { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 18; display: none; flex-direction: column; align-items: center; gap: 6px; width: max-content; max-width: 96vw; }
#fpv-shop.show { display: flex; animation: barIn 0.35s ease-out; }
#fpv-shop .fs-h { font: 17px var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.45), 0 0 8px rgba(0,0,0,0.4); }
#fpv-shop .fs-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
#fpv-shop button { display: flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 18px var(--display); color: #fff; letter-spacing: 0.4px;
  background: linear-gradient(180deg, #c77dff, #8e44d6); box-shadow: 0 5px 0 #5b2a91, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
#fpv-shop button span { font-size: 20px; }
#fpv-shop button:active { transform: translateY(3px); box-shadow: 0 2px 0 #5b2a91; }

/* first person: things to do with the people in a room (a row just above Exit; the bar's drinks and the shop's goods sit above it) */
#fpv-acts { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 18; display: none; gap: 8px; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 96vw; }
#fpv-acts.show { display: flex; animation: barIn 0.35s ease-out; }
#fpv-acts button { display: flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 17px var(--display); color: #fff; letter-spacing: 0.4px;
  background: linear-gradient(180deg, #3fd0b8, #1f9a86); box-shadow: 0 5px 0 #136557, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); transition: opacity 0.2s, filter 0.2s; }
#fpv-acts button span { font-size: 19px; }
#fpv-acts button:active { transform: translateY(3px); box-shadow: 0 2px 0 #136557; }
#fpv-acts.busy button { opacity: 0.45; filter: grayscale(0.5); pointer-events: none; }
body:has(#fpv-acts.show) #fpv-bar, body:has(#fpv-acts.show) #fpv-shop { bottom: calc(148px + var(--safe-b, 0px)); }

/* first person: the thrill and tipsy overlays */
#fpv-fx { position: fixed; inset: 0; pointer-events: none; z-index: 16; overflow: hidden; }
#fpv-fx .speed { position: absolute; inset: -12%; opacity: 0; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,0.55) 0deg 0.5deg, transparent 0.5deg 5deg, rgba(255,255,255,0.3) 5deg 5.3deg, transparent 5.3deg 11deg);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent 34%, #000 78%); mask-image: radial-gradient(circle at 50% 50%, transparent 34%, #000 78%); }
#fpv-fx .tint { position: absolute; inset: 0; opacity: 0; background: radial-gradient(ellipse at center, rgba(255,190,120,0.12) 25%, rgba(255,120,60,0.5) 100%); }
#fpv-fx .flash { position: absolute; inset: 0; opacity: 0; background: #fff; }
#fpv-fx .drops i { position: absolute; border-radius: 50%; animation: dropRun linear forwards; opacity: 0;
  background: radial-gradient(ellipse at 50% 70%, rgba(235,250,255,0.28), rgba(200,238,255,0.12) 55%, transparent 72%); filter: blur(1.2px); }   /* (soft smears of water on the lens, not shiny soap bubbles) */
@keyframes dropRun { 0% { opacity: 0; transform: scale(0.3); } 8% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: translateY(130px) scale(0.8, 1.3); } }

/* first person: the aquarium camera and its polaroid; the bonfire's stick */
#fpv-photo, #fpv-roast button { display: none; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 20px var(--display); color: #fff; letter-spacing: 0.5px;
  background: linear-gradient(180deg, #5cc8f0, #2f8fd6); box-shadow: 0 5px 0 #1d5e94, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); touch-action: none; user-select: none; -webkit-user-select: none; }
#fpv-photo { position: fixed; left: calc(50% + 86px); bottom: calc(28px + var(--safe-b, 0px)); z-index: 18; }
#fpv-photo.show { display: flex; }
#fpv-photo:active, #fpv-roast button:active { transform: translateY(3px); }
body:has(#fpv-photo.show) #fpv-exit { transform: translateX(calc(-50% - 70px)); }
#photo-card { position: fixed; right: 24px; top: 86px; width: 220px; padding: 10px 10px 38px; background: #fffdf7; border-radius: 6px; z-index: 30; pointer-events: none;
  box-shadow: 0 14px 34px rgba(0,0,0,0.38); opacity: 0; transform: rotate(5deg) scale(0.5); transition: transform 0.4s cubic-bezier(.3,1.6,.5,1), opacity 0.3s; }
#photo-card.show { opacity: 1; transform: rotate(4deg) scale(1); }
#photo-card.away { opacity: 0; transform: rotate(14deg) translate(60px, -30px) scale(0.6); transition: all 0.5s ease-in; }
#photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #0b3a55; }
#photo-card b { position: absolute; left: 0; right: 0; bottom: 9px; text-align: center; font: 17px var(--display); color: #2b2d42; }
#fpv-roast { position: fixed; right: calc(20px + var(--safe-r, 0px)); bottom: calc(28px + var(--safe-b, 0px)); z-index: 18; display: none; flex-direction: column; align-items: center; gap: 6px; }
#fpv-roast.show { display: flex; }
#fpv-roast.show button { display: flex; background: linear-gradient(180deg, #ffb347, #e8590c); box-shadow: 0 5px 0 #a33e08, 0 10px 22px rgba(10,20,40,0.35); }
#fpv-roast .rm { position: relative; width: 170px; height: 14px; border-radius: 8px; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.35);
  background: linear-gradient(90deg, #fffaf0 0%, #f6e3b8 26%, #f2c06b 41%, #e0a54a 63%, #9b5a24 70%, #3a2414 82%, #1a100a 100%); }
#fpv-roast .zone { position: absolute; left: 40.7%; width: 22.2%; top: -4px; bottom: -4px; border: 2px dashed #9be15d; border-radius: 6px; }
#fpv-roast .needle { position: absolute; top: -7px; width: 4px; height: 24px; margin-left: -2px; background: #fff; border-radius: 2px; box-shadow: 0 0 6px rgba(0,0,0,0.6); left: 0; }
#fpv-roast .rl { font: 16px var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.5), 0 0 8px rgba(0,0,0,0.4); }

/* first person at the bar: the shaker rhythm */
#fpv-mix { position: fixed; left: 50%; bottom: calc(110px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 19; display: none; flex-direction: column; align-items: center; gap: 8px; touch-action: none; user-select: none; -webkit-user-select: none; }
#fpv-mix.show { display: flex; animation: barIn 0.3s ease-out; }
#fpv-mix .mx { position: relative; width: 120px; height: 120px; }
#fpv-mix .tgt, #fpv-mix .ring { position: absolute; left: 50%; top: 50%; width: 70px; height: 70px; border-radius: 50%; transform: translate(-50%,-50%); }
#fpv-mix .tgt { border: 5px solid #ffd166; background: rgba(255,209,102,0.25); box-shadow: 0 0 14px rgba(255,209,102,0.7); }
#fpv-mix .ring { border: 4px solid #fff; box-shadow: 0 0 10px rgba(255,255,255,0.8); }
#fpv-mix .mx b { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font: 18px var(--display); color: #fff; white-space: nowrap; text-shadow: 0 2px 0 rgba(0,0,0,0.5); }
#fpv-mix .mx b.perfect { color: #9be15d; font-size: 22px; } #fpv-mix .mx b.good { color: #ffd166; font-size: 20px; } #fpv-mix .mx b.miss { color: #ff6b6b; }
#fpv-mix button { display: flex; align-items: center; gap: 8px; padding: 11px 28px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 22px var(--display); color: #fff;
  background: linear-gradient(180deg, #ff8fab, #e0457b); box-shadow: 0 5px 0 #9c2551, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
#fpv-mix button:active { transform: translateY(3px); }
#fpv-mix small { font: 14px var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.5); }
body:has(#fpv-mix.show) #fpv-bar { visibility: hidden; }

/* achievements: a medal sliding down from the top */
#ach-toast { position: fixed; left: 50%; top: calc(14px + var(--safe-t, 0px)); z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border-radius: 20px; pointer-events: none;
  background: linear-gradient(180deg, #2b2d42, #1b1c2b); border: 3px solid #ffd166; box-shadow: 0 10px 30px rgba(0,0,0,0.4); transform: translate(-50%, -160%); transition: transform 0.45s cubic-bezier(.3,1.4,.5,1); }
#ach-toast.show { transform: translate(-50%, 0); }
#ach-toast .at-m { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: radial-gradient(circle at 35% 30%, #fff3b0, #ffd166 45%, #e0a020); box-shadow: 0 0 0 3px #fff6d0 inset, 0 0 16px rgba(255,209,102,0.7); }
#ach-toast .at-t { display: flex; flex-direction: column; }
#ach-toast small { font: 12px var(--display); color: #ffd166; letter-spacing: 0.5px; }
#ach-toast b { font: 19px var(--display); color: #fff; }
#ach-toast i { font: 13px var(--body, sans-serif); color: #c9cce0; font-style: normal; }

/* first person: the extra buttons (bottom right), the result card, the spyglass, the reel, the surf balance, under the wave */
.fpv-play { position: fixed; right: calc(20px + var(--safe-r, 0px)); bottom: calc(28px + var(--safe-b, 0px)); z-index: 18; display: none; align-items: center; gap: 8px; padding: 10px 22px; border-radius: 999px; border: 3px solid #fff; cursor: pointer;
  font: 20px var(--display); color: #fff; letter-spacing: 0.5px; background: linear-gradient(180deg, #ffb347, #f0703a); box-shadow: 0 5px 0 #a8431c, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); touch-action: none; user-select: none; -webkit-user-select: none; }
.fpv-play.show { display: flex; } .fpv-play:active, .fpv-play.on { transform: translateY(3px); filter: brightness(1.12); }
.fpv-play i { font-style: normal; font-size: 15px; opacity: 0.9; }
#fpv-squirt { background: linear-gradient(180deg, #5cc8f0, #2f8fd6); box-shadow: 0 5px 0 #1d5e94, 0 10px 22px rgba(10,20,40,0.35); }
#fpv-scope { background: linear-gradient(180deg, #c9a227, #8a6a12); box-shadow: 0 5px 0 #5a440a, 0 10px 22px rgba(10,20,40,0.35); }
#fpv-card { position: fixed; left: 50%; top: 18%; z-index: 40; display: flex; flex-direction: column; align-items: center; padding: 14px 30px; border-radius: 22px; pointer-events: none; background: linear-gradient(180deg, #2b2d42, #1b1c2b); border: 3px solid #ffd166;
  box-shadow: 0 12px 34px rgba(0,0,0,0.45); opacity: 0; transform: translate(-50%, -20px) scale(0.85); transition: all 0.35s cubic-bezier(.3,1.5,.5,1); }
#fpv-card.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
#fpv-card small { font: 14px var(--display); color: #ffd166; letter-spacing: 1px; text-transform: uppercase; } #fpv-card b { font: 40px var(--display); color: #fff; } #fpv-card i { font: 17px var(--display); color: #dfe3f5; font-style: normal; }
#scope-view { position: fixed; inset: 0; z-index: 15; pointer-events: none; display: none; background: radial-gradient(circle at 50% 50%, transparent 0 31vmin, rgba(0,0,0,0.55) 32vmin, #05060a 33.5vmin); }
#scope-view.show { display: block; }
#scope-view .cross { position: absolute; left: 50%; top: 50%; width: 30vmin; height: 30vmin; transform: translate(-50%,-50%); border-radius: 50%; border: 2px solid rgba(255,255,255,0.35);
  background: linear-gradient(rgba(255,255,255,0.45), rgba(255,255,255,0.45)) center / 2px 100% no-repeat, linear-gradient(90deg, rgba(255,255,255,0.45), rgba(255,255,255,0.45)) center / 100% 2px no-repeat; }
#fpv-reel { position: fixed; right: calc(20px + var(--safe-r, 0px)); bottom: calc(28px + var(--safe-b, 0px)); z-index: 18; display: none; flex-direction: column; align-items: center; gap: 7px; touch-action: none; user-select: none; -webkit-user-select: none; }
#fpv-reel.show { display: flex; }
#fpv-reel .rt { position: relative; width: 200px; height: 16px; border-radius: 9px; border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,0.35); background: linear-gradient(90deg, #5cc8f0 0%, #9be15d 28%, #9be15d 80%, #ff4d4d 86%, #b00020 100%); }
#fpv-reel .zone { position: absolute; left: 28%; width: 52%; top: -4px; bottom: -4px; border: 2px dashed #fff; border-radius: 6px; }
#fpv-reel .nd { position: absolute; top: -7px; width: 5px; height: 26px; margin-left: -2px; background: #fff; border-radius: 3px; box-shadow: 0 0 6px rgba(0,0,0,0.7); left: 0; }
#fpv-reel .rp { width: 200px; height: 9px; border-radius: 6px; background: rgba(0,0,0,0.35); overflow: hidden; } #fpv-reel .rp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ffd166, #ff9f1c); }
#fpv-reel b { font: 17px var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.5), 0 0 8px rgba(0,0,0,0.4); }
#fpv-reel button { display: flex; align-items: center; gap: 8px; padding: 11px 26px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 21px var(--display); color: #fff; background: linear-gradient(180deg, #7ed957, #3fa34d); box-shadow: 0 5px 0 #2a6e33, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
#fpv-reel button:active { transform: translateY(3px); }
#fpv-bang { position: fixed; left: 50%; top: 32%; z-index: 30; font-size: 90px; pointer-events: none; opacity: 0; transform: translate(-50%, 0); }
#fpv-bang.show { animation: bang 0.9s ease-out forwards; }
@keyframes bang { 0% { opacity: 0; transform: translate(-50%, 20px) scale(0.4); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1.2); } 70% { opacity: 1; transform: translate(-50%, -6px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -20px) scale(1); } }
#fpv-surf { position: fixed; left: 50%; bottom: calc(92px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 18; display: none; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; width: 340px; touch-action: none; user-select: none; -webkit-user-select: none; }
#fpv-surf.show { display: flex; }
#fpv-surf button { width: 64px; height: 56px; border-radius: 18px; border: 3px solid #fff; cursor: pointer; font: 24px var(--display); color: #fff; background: linear-gradient(180deg, #5cc8f0, #2f8fd6); box-shadow: 0 5px 0 #1d5e94, 0 10px 22px rgba(10,20,40,0.35); }
#fpv-surf button:active { transform: translateY(3px); }
#fpv-surf .sm { position: relative; width: 170px; height: 16px; border-radius: 9px; border: 2px solid #fff; background: linear-gradient(90deg, #ff4d4d, #ffd166 22%, #9be15d 40%, #9be15d 60%, #ffd166 78%, #ff4d4d); box-shadow: 0 3px 10px rgba(0,0,0,0.35); }
#fpv-surf .sm.danger { animation: wob 0.25s ease-in-out infinite alternate; } @keyframes wob { to { transform: rotate(3deg); } }
#fpv-surf .mk { position: absolute; top: -8px; width: 22px; height: 28px; margin-left: -11px; border-radius: 6px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.5); left: 50%; }
#fpv-surf b { flex-basis: 100%; text-align: center; font: 17px var(--display); color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.5), 0 0 8px rgba(0,0,0,0.4); }
#fpv-under { position: fixed; inset: 0; z-index: 16; pointer-events: none; opacity: 0; transition: opacity 0.35s; background: radial-gradient(ellipse at 50% 20%, rgba(120,220,255,0.55), rgba(10,70,130,0.85)); }
#fpv-under.show { opacity: 1; }
#fpv-under i { position: absolute; bottom: -40px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); background: rgba(255,255,255,0.15); animation: bub 1.4s linear infinite; }
#fpv-under i:nth-child(1) { left: 20%; } #fpv-under i:nth-child(2) { left: 35%; width: 10px; height: 10px; animation-delay: .3s; } #fpv-under i:nth-child(3) { left: 50%; width: 26px; height: 26px; animation-delay: .6s; }
#fpv-under i:nth-child(4) { left: 62%; animation-delay: .2s; } #fpv-under i:nth-child(5) { left: 75%; width: 12px; height: 12px; animation-delay: .8s; } #fpv-under i:nth-child(6) { left: 86%; animation-delay: .45s; }
@keyframes bub { to { transform: translateY(-110vh); } }
#fpv-acts .aff { align-self: center; padding: 6px 12px; border-radius: 999px; background: rgba(27,28,43,0.75); border: 2px solid #ff8fab; font-size: 15px; letter-spacing: 1px; }
#fpv-bar button.secret { display: none; background: linear-gradient(180deg, #9b59d0, #5b1f86); box-shadow: 0 5px 0 #3a1157, 0 10px 22px rgba(10,20,40,0.35); }
#fpv-bar.vip button.secret { display: flex; }

/* level up: medal + ribbon + perk chips */
#lvup { position: fixed; left: 50%; top: calc(92px + var(--safe-t, 0px)); z-index: 45; display: none; transform: translateX(-50%); pointer-events: auto; cursor: pointer; }
body.in-city #lvup { top: calc(84px + var(--safe-t, 0px)); }
#lvup.show { display: block; animation: luIn 0.6s cubic-bezier(.25,1.5,.45,1) both; }
#lvup.out { animation: luOut 0.4s ease-in forwards; }
@keyframes luIn { 0% { opacity: 0; transform: translate(-50%, -60px) scale(0.6); } 100% { opacity: 1; transform: translate(-50%, 0) scale(1); } }
@keyframes luOut { from { opacity: 1; transform: translate(-50%, 0); } to { opacity: 0; transform: translate(-50%, -40px) scale(0.9); } }
.lu-card { position: relative; display: flex; align-items: center; gap: 18px; padding: 14px 26px 14px 16px; border-radius: 26px; overflow: hidden;
  background: radial-gradient(ellipse 70% 120% at 18% 50%, rgba(255,214,102,0.22), transparent 60%), linear-gradient(180deg, #1f5f86 0%, #163f63 55%, #10304d 100%);
  border: 3px solid #ffd166; box-shadow: 0 0 0 3px rgba(255,255,255,0.18) inset, 0 6px 0 #a8761a, 0 16px 36px rgba(8,24,44,0.45); color: #fff; }
.lu-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 48%, transparent 60%); transform: translateX(-120%); animation: luShine 1.1s 0.55s ease-out; }
@keyframes luShine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
.lu-medal { position: relative; flex: none; width: 92px; height: 92px; display: grid; place-items: center; }
.lu-rays { position: absolute; inset: -26px; border-radius: 50%; background: repeating-conic-gradient(rgba(255,214,102,0.42) 0 10deg, transparent 10deg 22deg);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); animation: luSpin 9s linear infinite; }
@keyframes luSpin { to { transform: rotate(360deg); } }
.lu-coin { position: relative; width: 84px; height: 84px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 34% 28%, #fff6c8 0%, #ffd94a 34%, #f2a91a 70%, #c27a08 100%);
  box-shadow: 0 0 0 4px #fff2b8 inset, 0 0 0 7px #d18f12 inset, 0 4px 0 #8a5a06, 0 0 26px rgba(255,200,60,0.75); animation: luCoin 0.75s 0.1s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes luCoin { 0% { transform: scale(0) rotateY(0); } 70% { transform: scale(1.12) rotateY(360deg); } 100% { transform: scale(1) rotateY(360deg); } }
.lu-coin small { font: 13px var(--display); color: #8a4b00; letter-spacing: 1px; margin-bottom: -4px; }
.lu-coin b { font: 40px/1 var(--display); font-weight: 400; color: #fff; -webkit-text-stroke: 5px #9a5a00; paint-order: stroke fill; text-shadow: 0 3px 0 #7a4400; }
.lu-coin.pop b { animation: luPop 0.45s cubic-bezier(.3,1.8,.5,1); }
@keyframes luPop { 0% { transform: scale(0.4); } 100% { transform: scale(1); } }
.lu-medal s { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -3.5px; border-radius: 2px; background: #ffe58a; box-shadow: 0 0 8px #ffd166; opacity: 0;
  animation: luSpark 0.9s calc(0.45s + var(--d)) ease-out forwards; }
.lu-medal s:nth-child(3n) { background: #fff; } .lu-medal s:nth-child(4n) { background: #7fe3ff; box-shadow: 0 0 8px #7fe3ff; }
@keyframes luSpark { 0% { opacity: 1; transform: rotate(var(--a)) translateY(-30px) rotate(45deg) scale(1.2); } 100% { opacity: 0; transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(45deg) scale(0.3); } }
.lu-body { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.lu-rib { position: relative; margin-left: 8px; padding: 3px 16px; background: linear-gradient(180deg, #ff6b5a, #e0392b); border-radius: 4px; box-shadow: 0 3px 0 #9c1f15; transform: skewX(-8deg); transform-origin: left center; animation: luRib 0.5s 0.25s cubic-bezier(.3,1.5,.5,1) both; }
.lu-rib span { display: block; transform: skewX(8deg); font: 15px var(--display); letter-spacing: 2px; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
@keyframes luRib { 0% { opacity: 0; transform: skewX(-8deg) scaleX(0.2); } 100% { opacity: 1; transform: skewX(-8deg) scaleX(1); } }
.lu-t { font: 26px/1.05 var(--display); color: #cfe8ff; letter-spacing: 0.5px; text-shadow: 0 2px 0 rgba(0,0,0,0.3); white-space: nowrap; }
.lu-t b { font-weight: 400; color: #ffd166; }
.lu-unl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 14px var(--display); }
.lu-unl i { font-style: normal; }
.lu-unl span { padding: 3px 10px; border-radius: 99px; background: linear-gradient(180deg, #7ee8a6, #3fbf72); color: #0d3a20; box-shadow: 0 2px 0 #23824a; animation: luChip 0.4s 0.7s cubic-bezier(.3,1.6,.5,1) both; }
.lu-pks { display: flex; gap: 8px; margin-top: 2px; }
.lu-pk { position: relative; display: flex; align-items: center; gap: 7px; padding: 6px 12px 6px 6px; border-radius: 14px; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.22); animation: luChip 0.4s cubic-bezier(.3,1.6,.5,1) both; }
.lu-pk:nth-child(1) { animation-delay: 0.6s; } .lu-pk:nth-child(2) { animation-delay: 0.72s; } .lu-pk:nth-child(3) { animation-delay: 0.84s; }
@keyframes luChip { 0% { opacity: 0; transform: translateY(10px) scale(0.7); } 100% { opacity: 1; transform: none; } }
.lu-pk i { font-style: normal; font-size: 16px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.lu-pk.g i { background: rgba(110,231,160,0.25); } .lu-pk.y i { background: rgba(255,209,102,0.28); } .lu-pk.p i { background: rgba(196,160,255,0.28); }
.lu-pk span { display: flex; flex-direction: column; line-height: 1; }
.lu-pk b { font: 17px var(--display); font-weight: 400; } .lu-pk.g b { color: #8ff0b6; } .lu-pk.y b { color: #ffd98a; } .lu-pk.p b { color: #d9c4ff; }
.lu-pk small { font: 600 11px 'Fredoka', sans-serif; color: #a9c6de; letter-spacing: 0.3px; margin-top: 2px; }
.lu-pk u { display: flex; align-items: center; gap: 5px; text-decoration: none; }
.lu-pk em { display: inline-flex; align-items: center; height: 16px; padding: 0 5px; border-radius: 6px; font: 11px/1 var(--display); font-style: normal; color: #7ee8a6; background: rgba(46,160,96,0.22); border: 1px solid rgba(126,232,166,0.45); white-space: nowrap;
  animation: luDelta 0.45s cubic-bezier(.3,1.7,.5,1) both; }
.lu-pk:nth-child(1) em { animation-delay: 0.95s; } .lu-pk:nth-child(2) em { animation-delay: 1.07s; } .lu-pk:nth-child(3) em { animation-delay: 1.19s; }
@keyframes luDelta { 0% { opacity: 0; transform: translateX(-6px) scale(0.6); } 100% { opacity: 1; transform: none; } }
.lu-pk em.mx { color: #ffd98a; background: rgba(255,209,102,0.2); border-color: rgba(255,209,102,0.5); }
.lu-pk.up { border-color: rgba(126,232,166,0.6); }
.lu-next { font: 600 12px 'Fredoka', sans-serif; color: #9fbfd8; } .lu-next b { color: #fff; font-weight: 600; }
@media (max-width: 600px) {
  body.in-city #lvup, #lvup { top: calc(96px + var(--safe-t, 0px)); width: calc(100vw - 24px); }
  .lu-pk em { font-size: 10px; height: 14px; padding: 0 4px; } .lu-pk u { gap: 3px; }
  .lu-card { gap: 10px; padding: 10px 12px 10px 8px; border-radius: 20px; }
  .lu-medal { width: 64px; height: 64px; } .lu-coin { width: 60px; height: 60px; } .lu-coin b { font-size: 28px; -webkit-text-stroke-width: 4px; } .lu-coin small { font-size: 10px; }
  .lu-t { font-size: 19px; } .lu-pks { gap: 5px; flex-wrap: wrap; } .lu-pk { padding: 3px 8px 3px 4px; } .lu-pk i { width: 22px; height: 22px; font-size: 13px; } .lu-pk b { font-size: 14px; }
}

/* =====================================================================================================
   FIRST PERSON, ONE LOOK FOR EVERY EXPERIENCE
   a cinematic view: the park's HUD tucked away, a soft dark edge top and bottom; a title chip up top; Leave in the
   top-left corner; the menus and the people's buttons in frosted-glass panels at the bottom centre; the big action
   buttons (feed, photo, roast, reel, squirt, spyglass, hands up) bottom right; the captain's line just above the dock
   ===================================================================================================== */
:root { --fp-glass: rgba(12, 30, 50, 0.6); --fp-glass-hi: rgba(16, 38, 62, 0.78); --fp-line: rgba(255, 255, 255, 0.18); --fp-gold: #ffd166; --fp-ink: #f5f9ff; --fp-sub: #a9c3da; --fp-blur: blur(14px) saturate(1.35); }

/* the park's HUD steps aside (gold stays, small) */
#hud-stats, #side-btns, #minimap { transition: opacity 0.35s, transform 0.35s; }
body.fpv #hud-stats { opacity: 0; transform: translateY(-16px); pointer-events: none; }
body.fpv #side-btns { opacity: 0; transform: translateX(24px); pointer-events: none; }
body.fpv #minimap { opacity: 0 !important; transform: translateY(24px) scale(0.9); pointer-events: none; }
body.fpv #money { transform: scale(0.86); transform-origin: right center; opacity: 0.92; }
body.fpv::before { content: ''; position: fixed; inset: 0; z-index: 15; pointer-events: none;
  background: linear-gradient(180deg, rgba(4, 14, 26, 0.38) 0%, rgba(4, 14, 26, 0) 15%, rgba(4, 14, 26, 0) 66%, rgba(4, 14, 26, 0.5) 100%); animation: fpFade 0.6s ease-out; }
@keyframes fpFade { from { opacity: 0; } }

/* the title chip */
#fpv-title { position: fixed; left: 50%; top: calc(14px + var(--safe-t, 0px)); z-index: 19; display: none; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 8px; max-width: 92vw; pointer-events: none; transform: translateX(-50%); }
body.fpv #fpv-title { display: flex; }
#fpv-title.show { animation: fpTitle 0.55s cubic-bezier(.25, 1.5, .45, 1) both; }
@keyframes fpTitle { from { opacity: 0; transform: translate(-50%, -18px) scale(0.9); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }
#fpv-title span { display: flex; }
#fpv-title i { font-style: normal; width: 38px; height: 38px; flex: none; display: grid; place-items: center; font-size: 21px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff7d6, #ffd166 55%, #e9a21b); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3); position: relative; z-index: 1; margin-right: -26px; }
#fpv-title span { flex-direction: column; justify-content: center; padding: 6px 20px 7px 34px; border-radius: 999px; background: var(--fp-glass); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur);
  border: 1.5px solid var(--fp-line); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); min-height: 38px; box-sizing: border-box; }
#fpv-title small { font: 10px var(--display); letter-spacing: 1.6px; text-transform: uppercase; color: var(--fp-gold); line-height: 1; }
#fpv-title b { font: 18px/1.1 var(--display); font-weight: 400; color: var(--fp-ink); white-space: nowrap; letter-spacing: 0.3px; }
#fpv-title em { flex-basis: 100%; display: flex; justify-content: center; font: 600 13px Fredoka, sans-serif; font-style: normal; color: #fff; opacity: 0; transform: translateY(-6px); transition: opacity 0.4s, transform 0.4s; }
#fpv-title.hint em { opacity: 1; transform: none; }
#fpv-title em { text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }

/* Leave: the top-left corner, out of the way of everything else */
#fpv-exit { left: calc(16px + var(--safe-l, 0px)); top: calc(14px + var(--safe-t, 0px)); bottom: auto; transform: none; gap: 9px; padding: 6px 18px 6px 6px;
  border: 1.5px solid var(--fp-line); background: var(--fp-glass-hi); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); font-size: 17px; text-shadow: none; z-index: 20; transition: background 0.2s, transform 0.15s; }
#fpv-exit span { width: 30px; height: 30px; font-size: 14px; background: linear-gradient(180deg, #ff7a7a, #e04545); box-shadow: 0 2px 0 #9c2a2a; }
#fpv-exit:hover { background: rgba(30, 56, 86, 0.86); }
#fpv-exit:active { transform: scale(0.95); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28); }
body:has(#fpv-feed.show) #fpv-exit, body:has(#fpv-photo.show) #fpv-exit { transform: none; }

/* the captain's line: a glass bubble with a gold rim, just above the dock */
#fpv-say { bottom: calc(110px + var(--safe-b, 0px)); padding: 8px 18px 8px 8px; border-radius: 20px; border: 1.5px solid rgba(255, 209, 102, 0.75);
  background: var(--fp-glass-hi); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); color: var(--fp-ink); font: 600 17px/1.25 Fredoka, sans-serif;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3); }
#fpv-say b { width: 34px; height: 34px; font-size: 18px; background: radial-gradient(circle at 35% 30%, #fff7d6, #ffd166 55%, #e9a21b); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5); }
#fpv-say::after { margin-left: -8px; border-width: 8px; border-top-color: rgba(255, 209, 102, 0.75); }

/* ---- the dock: the people's buttons (a glass bar) at the very bottom, a menu (a glass panel of tiles) above it */
#fpv-acts { bottom: calc(18px + var(--safe-b, 0px)); gap: 4px; padding: 5px; border-radius: 999px; align-items: center;
  background: var(--fp-glass); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); border: 1.5px solid var(--fp-line); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28); }
#fpv-acts button { gap: 8px; padding: 5px 16px 5px 5px; border: 0; border-radius: 999px; background: transparent; box-shadow: none; font-size: 16px; text-shadow: none; color: var(--fp-ink);
  transition: background 0.18s, opacity 0.2s, filter 0.2s, transform 0.12s; }
#fpv-acts button span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-size: 17px; background: rgba(63, 208, 184, 0.28); box-shadow: inset 0 0 0 1.5px rgba(126, 240, 220, 0.5); }
#fpv-acts button:nth-of-type(3n+2) span { background: rgba(255, 209, 102, 0.26); box-shadow: inset 0 0 0 1.5px rgba(255, 220, 140, 0.55); }
#fpv-acts button:nth-of-type(3n) span { background: rgba(196, 160, 255, 0.28); box-shadow: inset 0 0 0 1.5px rgba(214, 190, 255, 0.55); }
#fpv-acts button:hover { background: rgba(255, 255, 255, 0.12); }
#fpv-acts button:active { transform: scale(0.95); box-shadow: none; background: rgba(255, 255, 255, 0.2); }
#fpv-acts.busy button { opacity: 0.62; filter: grayscale(0.35); }   /* (still readable over bright sea and sky while a scene plays) */
#fpv-acts .aff { padding: 0 12px 0 10px; height: 32px; display: flex; align-items: center; border: 0; border-radius: 999px; margin-right: 2px;
  background: rgba(255, 120, 160, 0.16); box-shadow: inset 0 0 0 1.5px rgba(255, 143, 171, 0.5); font-size: 13px; letter-spacing: 2px; }

/* the shop's goods and the bar's drinks: tiles in a glass panel */
#fpv-shop, #fpv-bar { bottom: calc(18px + var(--safe-b, 0px)); padding: 10px 12px 12px; border-radius: 24px; gap: 8px;
  background: var(--fp-glass); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); border: 1.5px solid var(--fp-line); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
body:has(#fpv-acts.show) #fpv-shop, body:has(#fpv-acts.show) #fpv-bar { bottom: calc(80px + var(--safe-b, 0px)); }
#fpv-shop .fs-h { font: 12px var(--display); letter-spacing: 1.6px; text-transform: uppercase; color: var(--fp-gold); text-shadow: none; }
#fpv-shop .fs-row { gap: 8px; }
#fpv-shop button, #fpv-bar button { position: relative; flex-direction: column; justify-content: center; gap: 5px; min-width: 104px; padding: 10px 12px 9px; border-radius: 18px;
  border: 1.5px solid rgba(255, 255, 255, 0.16); background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 15px; color: var(--fp-ink); text-shadow: none; letter-spacing: 0.3px; transition: transform 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s, opacity 0.2s, filter 0.2s; }
#fpv-shop button span, #fpv-bar button span { width: 46px; height: 46px; display: grid; place-items: center; font-size: 25px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fffaf0, #ffe39a 55%, #f4b63c); box-shadow: 0 3px 0 rgba(0, 0, 0, 0.22), 0 0 0 2px rgba(255, 255, 255, 0.5); transition: transform 0.2s; }
#fpv-shop button::after { content: 'FREE'; position: absolute; top: 7px; right: 7px; padding: 1px 6px; border-radius: 99px; font: 9px var(--display); letter-spacing: 0.6px; color: #0d3a20; background: #7ee8a6; }
#fpv-shop button:hover, #fpv-bar button:hover { transform: translateY(-3px); border-color: rgba(255, 209, 102, 0.8); background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08));
  box-shadow: 0 0 0 2px rgba(255, 209, 102, 0.35), 0 10px 20px rgba(0, 0, 0, 0.25); }
#fpv-shop button:hover span, #fpv-bar button:hover span { transform: scale(1.08) rotate(-6deg); }
#fpv-shop button:active, #fpv-bar button:active { transform: translateY(0) scale(0.96); box-shadow: none; }
#fpv-bar { flex-wrap: nowrap; }
#fpv-bar button { min-width: 84px; }
#fpv-bar button.chat span { background: radial-gradient(circle at 35% 30%, #e6f7ff, #8fd6f5 55%, #3aa0d8); }
#fpv-bar button.chat { margin-right: 6px; }
#fpv-bar button.chat::after { content: ''; position: absolute; right: -8px; top: 14px; bottom: 14px; width: 1.5px; background: var(--fp-line); }
#fpv-bar button.secret { background: linear-gradient(180deg, rgba(155, 89, 208, 0.55), rgba(91, 31, 134, 0.45)); border-color: rgba(214, 170, 255, 0.7); box-shadow: 0 0 16px rgba(155, 89, 208, 0.5); }
#fpv-bar button.secret span { background: radial-gradient(circle at 35% 30%, #f3e6ff, #c48cf0 55%, #7a35b5); }
#fpv-bar.busy button { opacity: 0.4; filter: grayscale(0.6); }

/* ---- the big action buttons: bottom right, one look (each keeps its own colour) */
#fpv-feed, #fpv-photo { left: auto; right: calc(20px + var(--safe-r, 0px)); bottom: calc(22px + var(--safe-b, 0px)); }
.fpv-play, #fpv-feed, #fpv-photo, #fpv-roast button, #fpv-reel button, #fpv-mix button { border: 2px solid rgba(255, 255, 255, 0.92); border-radius: 22px; padding: 11px 22px 11px 12px; gap: 10px; font-size: 19px; }
.fpv-play, #fpv-feed, #fpv-photo { bottom: calc(22px + var(--safe-b, 0px)); }
.fpv-play > span:first-child, #fpv-feed > span, #fpv-photo > span, #fpv-roast button > span, #fpv-reel button > span, #fpv-mix button > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.24); font-size: 19px; }
.fpv-play::before, #fpv-feed::before, #fpv-photo::before { content: ''; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid rgba(255, 255, 255, 0.35); opacity: 0; animation: fpRing 2.2s ease-out infinite; pointer-events: none; }
@keyframes fpRing { 0% { opacity: 0.8; transform: scale(0.94); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
#fpv-feed { animation: none; }

/* the gauges (marshmallow heat, fishing line, surf balance, shaker): a glass card round each */
#fpv-roast, #fpv-reel { bottom: calc(18px + var(--safe-b, 0px)); padding: 12px 14px 14px; border-radius: 24px; gap: 9px;
  background: var(--fp-glass); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); border: 1.5px solid var(--fp-line); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
#fpv-surf { bottom: calc(18px + var(--safe-b, 0px)); width: auto; max-width: 92vw; padding: 12px 16px; border-radius: 24px; gap: 10px 14px;
  background: var(--fp-glass); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); border: 1.5px solid var(--fp-line); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
#fpv-surf button { border-width: 2px; border-radius: 16px; }
#fpv-mix { bottom: calc(18px + var(--safe-b, 0px)); padding: 12px 18px 14px; border-radius: 26px;
  background: var(--fp-glass); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); border: 1.5px solid var(--fp-line); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }
#fpv-roast .rl, #fpv-reel b, #fpv-surf b, #fpv-mix small { text-shadow: none; color: var(--fp-ink); }
#fpv-roast .rm, #fpv-reel .rt, #fpv-surf .sm { border-width: 1.5px; border-color: rgba(255, 255, 255, 0.8); }
#floor-pick { border: 1.5px solid var(--fp-line); background: var(--fp-glass-hi); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3); }

/* the result card, the badge toast: the same glass and gold */
#fpv-card { background: var(--fp-glass-hi); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); border: 1.5px solid rgba(255, 209, 102, 0.8); top: calc(76px + var(--safe-t, 0px)); }
body.fpv #ach-toast { top: calc(66px + var(--safe-t, 0px)); }
body.fpv #toast { top: calc(70px + var(--safe-t, 0px)); }

/* phones */
@media (max-width: 600px) {
  #fpv-exit { padding: 5px 12px 5px 5px; font-size: 15px; }
  #fpv-exit span { width: 26px; height: 26px; }
  #fpv-title { top: calc(62px + var(--safe-t, 0px)); }
  #fpv-title b { font-size: 15px; } #fpv-title i { width: 32px; height: 32px; font-size: 17px; margin-right: -22px; } #fpv-title span { min-height: 32px; padding: 4px 14px 5px 28px; }
  #fpv-shop button, #fpv-bar button { min-width: 82px; padding: 8px 8px 7px; font-size: 13px; }
  #fpv-shop button span, #fpv-bar button span { width: 38px; height: 38px; font-size: 20px; }
  #fpv-bar { flex-wrap: wrap; max-width: 94vw; } #fpv-bar button.chat::after { content: none; }
  #fpv-acts button { padding: 4px 11px 4px 4px; font-size: 14px; } #fpv-acts button span { width: 28px; height: 28px; font-size: 15px; }
  body:has(#fpv-acts.show) #fpv-shop, body:has(#fpv-acts.show) #fpv-bar { bottom: calc(70px + var(--safe-b, 0px)); }
  body:has(.fpv-play.show) #fpv-acts, body:has(#fpv-photo.show) #fpv-acts, body:has(#fpv-feed.show) #fpv-acts { bottom: calc(84px + var(--safe-b, 0px)); }
  body:has(.fpv-play.show) #fpv-acts ~ #fpv-shop { bottom: calc(140px + var(--safe-b, 0px)); }
  .fpv-play, #fpv-feed, #fpv-photo { font-size: 16px; padding: 8px 16px 8px 8px; }
  body.fpv #money { transform: scale(0.78); }
}
body.fpv #ach-toast:not(.show) { transform: translate(-50%, calc(-100% - 90px)); }
#fpv-bar button.chat { background: linear-gradient(180deg, rgba(92, 200, 240, 0.32), rgba(47, 143, 214, 0.18)); border-color: rgba(140, 215, 245, 0.55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
#fpv-bar button.chat:active { box-shadow: none; }
#fpv-acts .aff:empty { display: none; }
@media (max-width: 600px) {
  #fpv-acts { flex-wrap: nowrap; gap: 2px; padding: 4px; max-width: 96vw; }
  #fpv-acts button { gap: 5px; padding: 3px 9px 3px 3px; font-size: 12.5px; white-space: nowrap; }
  #fpv-acts button span { width: 26px; height: 26px; font-size: 14px; }
  #fpv-acts .aff { padding: 0 8px; height: 26px; letter-spacing: 0; font-size: 11px; }
  #fpv-shop, #fpv-bar { max-width: 96vw; box-sizing: border-box; padding: 8px 8px 10px; }
  #fpv-shop .fs-row { flex-wrap: nowrap; gap: 6px; width: 100%; }
  #fpv-shop button { flex: 1 1 0; min-width: 0; padding: 8px 4px 7px; font-size: 12px; text-align: center; line-height: 1.1; }
  #fpv-shop button::after { top: 4px; right: 4px; }
  body:has(#fpv-acts.show) #fpv-shop, body:has(#fpv-acts.show) #fpv-bar { bottom: calc(64px + var(--safe-b, 0px)); }
  #fpv-bar { gap: 6px; } #fpv-bar button { min-width: 0; flex: 1 1 60px; font-size: 12px; padding: 7px 4px 6px; }
}

/* ===== first person on a phone held upright: one tidy top row (Exit · coins · settings), the title chip on its own line
   beneath it, the captain's line a wide bubble, the action bar and the big button kept clear of each other ===== */
#fpv-title, #fpv-say { width: max-content; }   /* (centred with left: 50%: never squeezed into half the screen and wrapped) */
#fpv-title { flex-wrap: wrap; }
#fpv-title > i, #fpv-title > span { flex: none; }
@media (max-width: 600px) {
  body.fpv #hud-left { visibility: hidden; position: absolute; pointer-events: none; }   /* (its stats are tucked away in first person: out of the row, so coins and settings sit in the corner) */
  body.fpv #hud { justify-content: flex-end; }
  body.fpv #hud-right { flex-direction: row; align-items: center; gap: 6px; scale: 1; margin-right: 2px; }
  body.fpv #hud-right #money { margin-top: 0; transform: none; font-size: 14px; padding: 3px 10px 3px 3px; border-radius: 999px; background: var(--fp-glass); color: #fff; border: 1.5px solid var(--fp-line); box-shadow: 0 4px 14px rgba(0,0,0,0.25); -webkit-backdrop-filter: var(--fp-blur); backdrop-filter: var(--fp-blur); }
  body.fpv #hud-right #money .coin-ico { width: 20px; height: 20px; }
  body.fpv #btn-settings { width: 36px; height: 36px; font-size: 17px; }
  body.fpv #hud { top: calc(4px + var(--safe-t, 0px)); }
  #fpv-exit { top: calc(12px + var(--safe-t, 0px)); }
  #fpv-title { top: calc(60px + var(--safe-t, 0px)); max-width: 94vw; }
  #fpv-title b { font-size: 15px; }
  #fpv-title em { font-size: 12px; margin-top: 2px; }
  #fpv-say { max-width: 90vw; font-size: 15px; padding: 6px 14px 6px 6px; }
  #fpv-say b { width: 30px; height: 30px; font-size: 16px; flex: none; }
  /* the action bar sits just over the big button on the right; the big button is a compact round-cornered pill */
  .fpv-play, #fpv-feed, #fpv-photo { right: calc(10px + var(--safe-r, 0px)); bottom: calc(14px + var(--safe-b, 0px)); font-size: 15px; padding: 6px 14px 6px 6px; gap: 8px; border-radius: 18px; }
  .fpv-play > span:first-child, #fpv-feed > span, #fpv-photo > span { width: 30px; height: 30px; }
  body:has(.fpv-play.show) #fpv-acts, body:has(#fpv-photo.show) #fpv-acts, body:has(#fpv-feed.show) #fpv-acts { bottom: calc(72px + var(--safe-b, 0px)); }
  #fpv-acts { max-width: calc(100vw - 16px); }
}

/* the villa nap: the view fades to sleep, Zzz drifting up, and wakes again */
#fpv-nap { position: fixed; inset: 0; z-index: 17; pointer-events: none; opacity: 0; background: radial-gradient(ellipse at center, rgba(20,24,48,0.75), rgba(8,10,24,0.96)); display: flex; align-items: center; justify-content: center; gap: 6px; }
#fpv-nap b { font: 64px var(--display); color: #cfe3ff; opacity: 0.85; text-shadow: 0 2px 12px rgba(120,160,255,0.6); }
#fpv-nap b:nth-child(2) { font-size: 48px; margin-top: -40px; } #fpv-nap b:nth-child(3) { font-size: 34px; margin-top: -80px; }
#fpv-nap.on { animation: fpNap 3.6s ease-in-out both; }
#fpv-nap.on b { animation: fpZz 1.2s ease-in-out infinite alternate; }
@keyframes fpNap { 0% { opacity: 0; } 25%, 70% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fpZz { from { transform: translateY(6px); } to { transform: translateY(-10px); } }
/* the action bar keeps clear of the surfing balance bar, the marshmallow stick and the fishing reel */
body:has(#fpv-surf.show) #fpv-acts { bottom: calc(150px + var(--safe-b, 0px)); }
@media (max-width: 600px) {
  #fpv-acts { overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
  #fpv-acts::-webkit-scrollbar { display: none; }
  #fpv-acts button { flex: none; }
  body:has(#fpv-roast.show) #fpv-acts, body:has(#fpv-reel.show) #fpv-acts { bottom: calc(190px + var(--safe-b, 0px)); }
  body:has(#fpv-surf.show) #fpv-acts { bottom: calc(160px + var(--safe-b, 0px)); }
}

/* coin grab (coaster / pirate ship): the button lights up while a coin is in reach */
#fpv-acts button[data-id="coins"] small { font-size: 12px; opacity: 0.75; margin-left: 2px; }
#fpv-acts button[data-id="coins"].hot { background: linear-gradient(180deg, #ffd75e, #ffb020); color: #4a2a00; box-shadow: 0 0 0 3px rgba(255, 215, 94, 0.45), 0 0 18px rgba(255, 190, 40, 0.8); animation: cg-pulse 0.35s ease-in-out infinite alternate; }
#fpv-acts button[data-id="coins"].hot span { background: rgba(255, 255, 255, 0.55); }
@keyframes cg-pulse { from { transform: scale(1); } to { transform: scale(1.08); } }
#fpv-acts.busy button[data-id="coins"].hot, #fpv-acts.busy button[data-id="coins"]:has(small) { opacity: 1; filter: none; pointer-events: auto; }

/* cucumber slices over the eyes (spa): a dim, dreamy vignette and two crisp slices that drop in and settle */
#fpv-cuc { position: fixed; inset: 0; z-index: 17; pointer-events: none; opacity: 0; transition: opacity 0.45s ease; }
#fpv-cuc.on { opacity: 1; }
#fpv-cuc .cuc-dim { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 48%, rgba(24, 48, 22, 0.55), rgba(6, 14, 8, 0.86) 70%, rgba(0, 0, 0, 0.94)); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
#fpv-cuc .cuc-s { position: absolute; top: 50%; width: min(44vw, 46vh); aspect-ratio: 1; margin-top: calc(min(44vw, 46vh) / -2); filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55)); transform: translateY(-120vh) rotate(-30deg); }
#fpv-cuc .cuc-s svg { width: 100%; height: 100%; display: block; }
#fpv-cuc .cuc-s.l { right: 50.5%; }
#fpv-cuc .cuc-s.r { left: 50.5%; }
#fpv-cuc.on .cuc-s.l { animation: cuc-drop 0.7s cubic-bezier(0.3, 1.35, 0.5, 1) forwards, cuc-breathe 3.2s ease-in-out 0.8s infinite; --r: -8deg; }
#fpv-cuc.on .cuc-s.r { animation: cuc-drop 0.7s cubic-bezier(0.3, 1.35, 0.5, 1) 0.18s forwards, cuc-breathe 3.2s ease-in-out 1s infinite; --r: 11deg; }
#fpv-cuc:not(.on) .cuc-s { transition: transform 0.45s ease-in; transform: translateY(-110vh) rotate(25deg); }
@keyframes cuc-drop { 0% { transform: translateY(-110vh) rotate(-40deg); } 70% { transform: translateY(0) rotate(var(--r)) scale(1.06, 0.92); } 100% { transform: translateY(0) rotate(var(--r)) scale(1); } }
@keyframes cuc-breathe { 0%, 100% { transform: translateY(0) rotate(var(--r)) scale(1); } 50% { transform: translateY(-1.2%) rotate(var(--r)) scale(1.018); } }

/* eyelids closing (spa: the nap, and the blink that carries him to the massage table) and the dream behind them */
#fpv-lids { position: fixed; inset: 0; z-index: 17; pointer-events: none; display: none; --k: 0; --d: 0; }
#fpv-lids.on { display: block; }
#fpv-lids .lid { position: absolute; left: -10%; right: -10%; height: var(--h, 0%); background: #120c0a; }
#fpv-lids .lid.t { top: 0; border-radius: 0 0 50% 50% / 0 0 calc(var(--k) * 70%) calc(var(--k) * 70%); box-shadow: 0 6px 30px 10px rgba(18, 12, 10, 0.7); }
#fpv-lids .lid.b { bottom: 0; border-radius: 50% 50% 0 0 / calc(var(--k) * 60%) calc(var(--k) * 60%) 0 0; box-shadow: 0 -6px 30px 10px rgba(18, 12, 10, 0.7); }
#fpv-lids .dream { position: absolute; inset: 0; display: grid; place-items: center; opacity: var(--d); }
#fpv-lids .cloud { position: relative; width: min(60vw, 420px); aspect-ratio: 2 / 1.1; border-radius: 50%; background: radial-gradient(ellipse at 50% 45%, rgba(255, 236, 200, 0.55), rgba(190, 150, 255, 0.18) 60%, rgba(0, 0, 0, 0) 72%); filter: blur(0.3px); }
#fpv-lids .cloud span { position: absolute; font-size: clamp(24px, 5vw, 44px); animation: dream-float 3.2s ease-in-out infinite; }
#fpv-lids .cloud span:nth-child(1) { left: 14%; top: 34%; }
#fpv-lids .cloud span:nth-child(2) { left: 40%; top: 18%; animation-delay: -0.8s; }
#fpv-lids .cloud span:nth-child(3) { left: 64%; top: 40%; animation-delay: -1.6s; }
#fpv-lids .cloud span:nth-child(4) { left: 34%; top: 58%; animation-delay: -2.2s; }
#fpv-lids .cloud span:nth-child(5) { left: 78%; top: 16%; animation-delay: -0.4s; font-size: clamp(16px, 3vw, 26px); }
@keyframes dream-float { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-12px) rotate(6deg); } }

#fpv-card { transition: opacity .25s, transform .3s cubic-bezier(.2,1.6,.4,1), top .3s ease; }   /* (slides down out of the way when the level bar comes back) */
#fpv-card.hush { opacity: 0 !important; }

/* the tutorial in first person (inside the shop): up top, clear of the shop's goods and the buttons along the bottom */
#tut-card.fpvtop { bottom: auto; top: calc(84px + var(--safe-t, 0px)); }
body:not(.in-city) #tut-card.fpvtop { display: block; }

/* the tutorial in first person on a phone held sideways: tucked into the top-right corner, the middle of the view left open */
#tut-card.fpvtop.side { left: auto; right: calc(10px + var(--safe-r, 0px)); width: min(330px, 44vw); }
#tut-card.fpvtop.side, #tut-card.fpvtop.side.show { translate: 0 0; }

/* ===== phone portrait: the guest stats and the money stack vertically, in narrow columns either side of the captain's
   level card, so the row under it stays free (they used to sit across it, on top of the shops' and rides' own labels) */
@media (max-width: 600px) and (orientation: portrait) {
  body.in-city #hud-stats { flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 9px 6px 6px; border-radius: 16px; margin-top: 0 !important; scale: 0.72; transform-origin: top left; }
  body.in-city #hud-stats .st-sep { display: none; }
  body.in-city #hud-stats .st-cell { gap: 6px; }
  body.in-city #hud-right { flex-direction: column-reverse; align-items: flex-end; gap: 4px; scale: 0.74; transform-origin: top right; }
  body.in-city #hud-right #money { margin-top: 0; flex-direction: column; gap: 8px; padding: 7px 10px 8px; border-radius: 16px; font-size: 17px; line-height: 1.05; }   /* (a little air between the coin and the amount) */
  body.in-city #hud-right #money .coin-ico { width: 26px; height: 26px; }
  #feed { top: calc(96px + var(--safe-t, 0px)); }
}

/* phone portrait: the gear sits in the side column under Daily, and the side column moves up under the money */
#side-btns #btn-settings { background: linear-gradient(180deg, #8fa3b8, #5b6f86); box-shadow: 0 4px 0 #3d4d60, 0 8px 14px rgba(61,77,96,0.35); }   /* (slate: the fourth tile) */
#side-btns #btn-settings:active { box-shadow: 0 1px 0 #3d4d60; }
@media (max-width: 600px) and (orientation: portrait) {
  body.gear-down #side-btns { top: calc(68px + var(--safe-t, 0px)); }
}

/* phones (portrait or landscape): no level/stock chips over the buildings and no amounts over the coin piles - the
   small screen got too busy; tap a building for its details instead. (Desktop keeps them all.) */
@media (pointer: coarse) and (max-width: 900px), (pointer: coarse) and (max-height: 500px) {
  .lbl.stock.sbar, .lbl.piletag { display: none !important; }
}

/* no satisfaction readout in the stats bar (guests and served only) */
#hud-stats #mood, #hud-stats #served + .st-sep { display: none !important; }

/* ===== the two info bars (guests/served, and the money) wear the captain's-log look of the level card between them:
   deep navy, gold trim, a hard drop edge - so the top row reads as one set instead of two plain white pills */
body.in-city #hud-stats, body.in-city #money { background: linear-gradient(180deg, #2a6487, #173d55); border: 3px solid #ffc23d; box-shadow: 0 4px 0 #0e2a3b, 0 8px 18px rgba(0,0,0,0.32), inset 0 1px 0 rgba(255,255,255,0.22), inset 0 -8px 12px rgba(0,0,0,0.14); color: #fff7e0; }
body.in-city #hud-stats { gap: 14px; padding: 5px 18px 5px 6px; border-radius: 30px; }
body.in-city #hud-stats .st-sep { margin: 5px 0; border-left: 2px dashed rgba(255,209,102,0.5); }
body.in-city #hud-stats .st-cell { gap: 8px; }
body.in-city #hud-stats .g-ico { width: 34px; height: 34px; border: 2px solid rgba(255,255,255,0.85); box-sizing: border-box; box-shadow: 0 2px 0 #0e2a3b, inset 0 -3px 5px rgba(0,0,0,0.18); }
body.in-city #hud-stats .g-num { font-size: 22px; text-shadow: 0 2px 0 rgba(0,0,0,0.35); }
body.in-city #hud-stats .g-cap { color: #9fe3ff; font-size: 10px; letter-spacing: 0.1em; }
body.in-city #guests .g-num { color: #8ff5e8; }
body.in-city #served .g-num { color: #a8f5b6; }
body.in-city #money { gap: 9px; padding: 4px 18px 4px 5px; border-radius: 30px; font-size: 23px; color: #ffd866; text-shadow: 0 2px 0 rgba(0,0,0,0.4); letter-spacing: 0.3px; }
body.in-city #money .coin-ico { width: 34px; height: 34px; filter: drop-shadow(0 2px 0 #0e2a3b); }
@media (max-width: 600px) and (orientation: portrait) {
  body.in-city #hud-stats { gap: 5px; padding: 6px 12px 6px 6px; border-radius: 18px; }
  body.in-city #hud-right #money { border-radius: 18px; }
}

/* ---- level tag over every building (v3): a little cream parchment sign with a wooden edge and a pointer, so it reads
   as part of the world - the navy-and-gold look is now the HUD's alone ---- */
.lbl.stock.sbar { border-radius: 9px; padding: 2px 8px 3px 3px; background: linear-gradient(180deg, #fffaf0 0%, #f6e7c8 100%); border: 1.5px solid #a9743a; color: #5b3a1c;
  box-shadow: 0 2px 0 #7d5226, 0 4px 8px rgba(60,35,10,0.28), inset 0 1px 0 #fff; }
.lbl.stock.sbar::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 8px; height: 8px; margin-left: -4px; background: #f6e7c8; border-right: 1.5px solid #a9743a; border-bottom: 1.5px solid #a9743a; transform: rotate(45deg); border-radius: 0 0 2px 0; box-shadow: 2px 2px 0 #7d5226; }
.lbl.stock.sbar.warn { background: linear-gradient(180deg, #ff6b61, #d63a34); border-color: #7f1d1d; color: #fff; box-shadow: 0 2px 0 #7f1d1d, 0 4px 9px rgba(127,29,29,0.4); }
.lbl.stock.sbar.warn::after { background: #d63a34; border-color: #7f1d1d; box-shadow: 2px 2px 0 #7f1d1d; }
.sbar .sb-badge { border-radius: 6px; }
.sbar .sb-badge::after { border-radius: 5px; }
.lbl.stock.sbar:not(.warn) .sb-n { text-shadow: none; color: #5b3a1c; }
.lbl.stock.sbar:not(.warn) .sb-max { opacity: 0.6; }
.lbl.stock.sbar:not(.warn) .sb-ppl, .lbl.stock.sbar:not(.warn) .sb-ic { filter: none; }
.lbl.stock.sbar:not(.warn) .sb-track { background: rgba(120,80,35,0.24); box-shadow: inset 0 1px 1px rgba(90,55,20,0.3); }
.lbl.stock.sbar:not(.warn) .sb-track .sb-fill { background: linear-gradient(90deg, #16a34a, #4ade80); }
.lbl.stock.sbar:not(.warn) .sb-track .sb-fill.low { background: linear-gradient(90deg, #ea8a0b, #fbbf24); }
.lbl.stock.sbar:not(.warn) .sb-track .sb-fill.guests { background: linear-gradient(90deg, #0891b2, #38bdf8); }
.lbl.stock.sbar:not(.warn) .sb-ppl [fill="#ffffff"] { fill: #5b3a1c; }
.lbl.stock.sbar:not(.warn) .sb-ppl [fill="#7dd3fc"] { fill: #b98a52; }

/* one-time "running slow?" card offering smooth mode */
#perf-tip { position: fixed; left: 50%; bottom: calc(22px + var(--safe-b, 0px)); z-index: 60; display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 12px; max-width: calc(100vw - 32px); box-sizing: border-box;
  border-radius: 18px; background: rgba(255,255,255,0.97); color: var(--ink); box-shadow: 0 4px 0 #d3e6e3, 0 10px 24px rgba(14,58,78,0.28); font-family: 'Fredoka', system-ui, sans-serif;
  transform: translate(-50%, 30px); opacity: 0; transition: transform 0.35s, opacity 0.35s; }
#perf-tip.show { transform: translate(-50%, 0); opacity: 1; }
#perf-tip .pt-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(160deg, #ffd166, #f08c00); font-size: 18px; }
#perf-tip .pt-txt { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
#perf-tip .pt-txt b { font-size: 15px; } #perf-tip .pt-txt small { font-size: 12px; color: #5f7d8c; }
#perf-tip .pt-on { flex: none; border: 0; border-radius: 12px; padding: 8px 14px; font: 700 14px 'Fredoka', system-ui, sans-serif; color: #fff; background: linear-gradient(180deg, #34d399, #10b981); box-shadow: 0 3px 0 #0b7a57; cursor: pointer; }
#perf-tip .pt-x { flex: none; border: 0; background: none; color: #8aa0b4; font-size: 16px; cursor: pointer; padding: 4px; }

/* splash chest: the 3D chest pre-rendered to a picture (it never moved), so the splash needs no second WebGL context
   and no shader compile before the bar can start (~0.7 s saved); regenerate with buildChest() from js/chest3d.js */
.sp-chest-img { background: center / contain no-repeat url(data:image/webp;base64,UklGRvysAABXRUJQVlA4WAoAAAAwAAAA5wMA9wIASUNDUMgBAAAAAAHIAAAAAAQwAABtbnRyUkdCIFhZWiAH4AABAAEAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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o5Z2fJI2YZqqswdngHzdX0gLMWG3s/gJcjTNYU3No/1GoRO29Eev0yF89R4ujJd2YilfGTLoEnAOpg87GD7YWn283vT1uHaLGJ4D91tMAxyXezLgRk5lKJDSbE5KTlyHFSHcU127HnCrIRrGjvigPGBVIaXp2znSzyPnvIRd5VR7HdlkzyPFpYiWdFTqJUz6FEihxcYu2t1FTF7mrf7GEp2UP6Mo35LOfGvCuAAAAABWzZrd9xscImTahaODPCHqGtfWGxMiqzzfUew1MN31h/MLQTShGUe2JF8NwqmBZR9MJbVnD0xXO3KCmk2v5Gb7wVQ0QYnO/4HI+glxGBByJofoM1vkuv7chxikKmdXihozl61GXsD809QCixTMrGqMa1e7SDL1wIw0YHJP8zm0vog9LiAYyIwI4CVQmF7NFeTvcWyrRIeJeSjRbeWOJ7C0WmYhOCTBMzwrCVinfPVOGJYQh3H+WYIL9VAGk87hjYva4kP9JmzQbCFfKfpCl2mhn0l6iwDK/0z/QMuTdjr94MKJRNs2CsV39cC+QVhm4U0dCtqHlrrtxipcmsQ/cyLf8vRbo4LVntEySUgdFC+/cRp4bxJKhJbpvyP2jcvQ5FEFhhtMeSxPilL4IAAAAAADi+iVtPzt9lULYy/t0YbSi+5vTnxyzjfwn2vyeCiyDOwqMDGGGixgbJsgzPsClxgBYw7bXRYGFkX0xBYE/BN4UDPrbACx+/Rygzbnmh9SEMpl7KeNA1Rb5288/lHDhqvTwAAAAAAAAAAAAAAAAAAAAAAAAAAAAA); }

/* the dive's dig challenge: air meter, a timing bar, three brushes, the Brush! button */
#dive-dig { position: fixed; left: 50%; bottom: calc(22px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 19; display: none; flex-direction: column; align-items: center; gap: 8px; width: min(360px, 92vw); padding: 12px 16px 14px; border-radius: 24px;
  background: rgba(8, 40, 60, 0.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1.5px solid rgba(160, 230, 255, 0.35); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; }
#dive-dig.show { display: flex; animation: luIn 0.4s cubic-bezier(.25,1.5,.45,1) both; }
#dive-dig .dd-t { font: 18px var(--display); letter-spacing: 0.4px; text-shadow: 0 2px 0 rgba(0,0,0,0.3); }
#dive-dig .dd-air { position: relative; width: 100%; height: 12px; border-radius: 99px; background: rgba(255,255,255,0.15); overflow: hidden; }
#dive-dig .dd-air i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #4cc9f0, #9be7ff); border-radius: 99px; transition: width 0.1s linear; }
#dive-dig.low .dd-air i { background: linear-gradient(90deg, #ff6b6b, #ffb3b3); animation: wob 0.3s ease-in-out infinite alternate; }
#dive-dig .dd-air span { position: absolute; right: 8px; top: -1px; font: 600 10px 'Fredoka', sans-serif; color: #0b3a52; }
#dive-dig .dd-bar { position: relative; width: 100%; height: 22px; border-radius: 12px; background: linear-gradient(180deg, #d9b878, #b8914e); box-shadow: inset 0 2px 6px rgba(0,0,0,0.35); }
#dive-dig .dd-zone { position: absolute; top: 3px; bottom: 3px; border-radius: 8px; background: linear-gradient(180deg, #9be15d, #4fbf5a); box-shadow: 0 0 10px rgba(155,225,93,0.7); }
#dive-dig .dd-mk { position: absolute; top: -5px; width: 8px; height: 32px; margin-left: -4px; border-radius: 4px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,0.5); }
#dive-dig .dd-pips { display: flex; gap: 8px; }
#dive-dig .dd-pips i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,0.2); border: 1.5px solid rgba(255,255,255,0.5); }
#dive-dig .dd-pips i.on { background: #ffd166; border-color: #fff; box-shadow: 0 0 8px #ffd166; }
#dive-dig button { display: flex; align-items: center; gap: 8px; padding: 9px 26px; border-radius: 999px; border: 3px solid #fff; cursor: pointer; font: 20px var(--display); color: #fff;
  background: linear-gradient(180deg, #ffd166, #f4a024); box-shadow: 0 5px 0 #b06d10, 0 10px 22px rgba(10,20,40,0.35); text-shadow: 0 2px 0 rgba(0,0,0,0.25); }
#dive-dig button:active { transform: translateY(3px); box-shadow: 0 2px 0 #b06d10; }
#dive-dig.won { border-color: #ffd166; box-shadow: 0 0 30px rgba(255,209,102,0.6); }
#dive-dig.lost { opacity: 0.6; }

/* the water slide's plunge: under the surface for a moment - green-blue, dim at the edges, bubbles streaming up */
#fpv-under { position: fixed; inset: 0; z-index: 16; display: none; opacity: 0; pointer-events: none; overflow: hidden;
  background: radial-gradient(ellipse at 50% 20%, rgba(150, 240, 230, 0.55), rgba(30, 150, 170, 0.8) 55%, rgba(8, 70, 110, 0.94)); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
#fpv-under i { position: absolute; bottom: -40px; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.75); background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.08) 55%); animation: uwBub linear infinite; }
@keyframes uwBub { from { transform: translate(0, 0) scale(0.7); } to { transform: translate(18px, -115vh) scale(1.25); } }

/* coin grab tutorial: a banner, and a ring + pointing hand that follows the nearest coin */
#cg-tut { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
#cg-tut .cg-banner { position: absolute; left: 50%; top: calc(86px + var(--safe-t, 0px)); transform: translateX(-50%); max-width: min(92vw, 440px); padding: 10px 16px; border-radius: 16px; background: rgba(20, 32, 52, 0.88); border: 2px solid #ffd75e; color: #fff; text-align: center; font-size: 14px; line-height: 1.35; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.4); transition: opacity 0.6s; }
#cg-tut .cg-banner b { display: block; font-size: 17px; color: #ffd75e; margin-bottom: 2px; }
#cg-tut .cg-banner u { text-decoration: none; color: #ffd75e; font-weight: 800; }
#cg-tut .cg-ring { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity 0.2s; }
#cg-tut .cg-ring::before { content: ''; position: absolute; left: -34px; top: -34px; width: 68px; height: 68px; border-radius: 50%; border: 4px solid #ffd75e; box-shadow: 0 0 16px rgba(255, 215, 94, 0.9); animation: cg-ping 0.9s ease-out infinite; }
#cg-tut .cg-ring i { position: absolute; left: -2px; top: 22px; font-style: normal; font-size: 34px; animation: cg-tap 0.9s ease-in-out infinite; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
@keyframes cg-ping { 0% { transform: scale(0.7); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes cg-tap { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* two choices at once (Board ship / Dive, Fish / Boat): two separate buttons side by side, not one button with a chip in it */
#act-btn.pair { background: none; border: none; box-shadow: none; padding: 0; gap: 14px; pointer-events: none; animation: none; text-shadow: none; }
#act-btn.pair .ab-main, #act-btn.pair .ab-alt { pointer-events: auto; display: flex; align-items: center; gap: 8px; margin: 0; padding: 11px 20px; border-radius: 999px; border: 3px solid #fff; font: 20px var(--display); color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, #2ec4b6, #138a80); box-shadow: 0 5px 0 #0b5f58, 0 10px 22px rgba(10,40,60,0.3); text-shadow: 0 2px 0 rgba(0,0,0,0.2); }
#act-btn.pair .ab-alt { background: linear-gradient(180deg, #4cc9f0, #1b7fae); box-shadow: 0 5px 0 #13597a, 0 10px 22px rgba(10,40,60,0.3); }
#act-btn.pair .ab-main:active, #act-btn.pair .ab-alt:active { transform: translateY(3px); }
#act-btn.pair.first { box-shadow: none; }
#act-btn.pair.first .ab-main { box-shadow: 0 0 0 4px #ffe08a, 0 0 26px 8px rgba(255,214,90,0.85), 0 6px 0 rgba(0,0,0,0.25); }
@media (max-width: 600px) { #act-btn.pair .ab-main, #act-btn.pair .ab-alt { padding: 9px 15px; font-size: 17px; } #act-btn.pair { gap: 10px; } }

/* things to do with the guest he's standing beside: a row of pill buttons, above the bottom prompt when that shows */
#guest-acts { position: fixed; left: 50%; bottom: calc(150px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 16; display: flex; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.22s ease, visibility 0s linear 0.22s, translate 0.22s ease; translate: 0 8px; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: min(96vw, 680px); padding: 8px 10px; border-radius: 26px; background: rgba(16, 40, 58, 0.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(10, 30, 50, 0.3); }
#guest-acts.show { opacity: 1; visibility: visible; pointer-events: auto; translate: 0 0; transition: opacity 0.22s ease, visibility 0s, translate 0.22s ease; }
body:has(#act-btn.show) #guest-acts { bottom: calc(214px + var(--safe-b, 0px)); }
#guest-acts button { display: flex; align-items: center; gap: 6px; padding: 7px 14px 7px 8px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.9); background: linear-gradient(180deg, #fffaf0, #ffe3a6); color: #5a3a1a; font: 16px Fredoka, sans-serif; font-weight: 700; cursor: pointer; box-shadow: 0 3px 0 #c9953e; }
#guest-acts button span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.8); font-size: 16px; }
#guest-acts button:active { transform: translateY(2px); box-shadow: 0 1px 0 #c9953e; }
@keyframes gaIn { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%); } }

/* rock-paper-scissors: his three hands to pick from */
#rps-pick { position: fixed; left: 50%; bottom: calc(150px + var(--safe-b, 0px)); transform: translateX(-50%); z-index: 17; display: none; gap: 14px; padding: 10px 14px; border-radius: 30px; background: rgba(16, 40, 58, 0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(10, 30, 50, 0.3); animation: gaIn 0.22s ease-out; }
#rps-pick.show { display: flex; }
#rps-pick button { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 92px; padding: 8px 0 7px; border-radius: 20px; border: 2px solid rgba(255, 255, 255, 0.9); background: linear-gradient(180deg, #fffaf0, #ffe3a6); color: #5a3a1a; font: 15px Fredoka, sans-serif; font-weight: 700; cursor: pointer; box-shadow: 0 3px 0 #c9953e; }
#rps-pick button b { font-size: 34px; line-height: 1.1; }
#rps-pick button:active { transform: translateY(2px); box-shadow: 0 1px 0 #c9953e; }

/* the "time to set sail" nudge: the Voyage strip glows and bobs, a tip drops down under the captain card */
#xpbar .xp-voy.nudge { animation: voyNudge 1.3s ease-in-out infinite; }
@keyframes voyNudge { 0%, 100% { filter: brightness(1); box-shadow: 0 0 0 rgba(255, 209, 102, 0); } 50% { filter: brightness(1.25); box-shadow: 0 0 14px 3px rgba(255, 209, 102, 0.85); } }
#sail-tip { position: fixed; z-index: 21; left: 50%; top: 140px; translate: -50% -6px; width: max-content; max-width: 80vw; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 16px; border-radius: 16px; background: linear-gradient(180deg, #fffaf0, #ffe3a6); border: 2px solid #fff; box-shadow: 0 6px 18px rgba(10, 30, 50, 0.3), 0 3px 0 #c9953e; color: #5a3a1a; font-family: var(--display); pointer-events: auto; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.25s, translate 0.25s, visibility 0s 0.25s; }
#sail-tip.show { opacity: 1; visibility: visible; translate: -50% 0; transition: opacity 0.25s, translate 0.25s; }
#sail-tip::before { content: ''; position: absolute; top: -8px; left: 50%; translate: -50% 0; border: 8px solid transparent; border-top: 0; border-bottom-color: #fff; }
#sail-tip b { font-size: 16px; font-weight: inherit; color: #0d8f80; }
#sail-tip span { font-size: 13px; }

/* phones (portrait, and short landscape): the first-person action row never runs off the screen - smaller pills, and
   a second row if they still don't fit */
@media (max-width: 600px), (max-height: 440px) {
  #fpv-acts { flex-wrap: wrap; justify-content: center; max-width: calc(100vw - 16px); border-radius: 22px; row-gap: 2px; }
  #fpv-acts button { font-size: 14px; padding: 4px 11px 4px 4px; gap: 5px; }
  #fpv-acts button span { width: 26px; height: 26px; font-size: 14px; }
  #fpv-acts .aff { height: 26px; font-size: 13px; }
}
/* phones in portrait: the shop / bar cards shrink to fit one row across the screen instead of wrapping 4 + 1 */
@media (max-width: 600px) {
  #fpv-shop, #fpv-bar { flex-wrap: nowrap; max-width: calc(100vw - 12px); padding: 8px 6px 9px; gap: 5px; border-radius: 20px; }
  #fpv-shop button, #fpv-bar button { min-width: 0; flex: 1 1 0; padding: 7px 2px 6px; gap: 3px; font-size: 12px; border-radius: 14px; }
  #fpv-shop button span, #fpv-bar button span { width: 36px; height: 36px; font-size: 19px; }
  #fpv-shop button::after { top: 3px; right: 3px; font-size: 8px; padding: 0 4px; }
}
/* phones in landscape (short screens): the shop / bar cards lower and slimmer, so the scene above them stays in view */
@media (max-height: 440px) and (min-width: 601px) {
  #fpv-shop, #fpv-bar { padding: 6px 8px 7px; gap: 6px; border-radius: 18px; }
  #fpv-shop button, #fpv-bar button { min-width: 74px; padding: 5px 8px 5px; gap: 2px; font-size: 12px; border-radius: 13px; }
  #fpv-shop button span, #fpv-bar button span { width: 32px; height: 32px; font-size: 17px; }
  body:has(#fpv-acts.show) #fpv-shop, body:has(#fpv-acts.show) #fpv-bar { bottom: calc(64px + var(--safe-b, 0px)); }
}
/* portrait phones: the guests / served panel up in the top row, in the corner left of the captain-level card,
   scaled down to fit there */
@media (max-width: 600px) and (orientation: portrait) {
  body.in-city #hud-stats { scale: 0.54; transform-origin: top left; }
}
/* the guest actions row takes the whole screen width it needs (centred on 50% it was shrink-wrapping to half the
   screen, one button a line on phones); smaller pills on phones, two or three to a row */
#guest-acts { width: max-content; max-width: calc(100vw - 16px); }
@media (max-width: 600px) {
  #guest-acts { gap: 6px; padding: 6px 8px; border-radius: 20px; }
  #guest-acts button { font-size: 13px; padding: 5px 10px 5px 5px; gap: 4px; }
  #guest-acts button span { width: 22px; height: 22px; font-size: 13px; }
}
/* the side buttons' count badge: the number dead centre in its circle (a 22px line-height inside a 22px border-box
   with a 2px rim sat it 2px low) */
.side-btn .badge { line-height: 1; }
.side-btn .badge.on { display: flex; align-items: center; justify-content: center; padding-bottom: 1px; }
/* the splash's subtitle ribbon (ISLAND BUILDER & COIN RUSH) stays on one line on a phone */
.sp-ribbon { white-space: nowrap; }
@media (max-width: 480px) { .sp-ribbon { font-size: 15px; letter-spacing: 2px; padding: 6px 18px 7px; } }
@media (max-width: 360px) { .sp-ribbon { font-size: 13px; letter-spacing: 1.5px; padding: 5px 12px 6px; } }
/* portrait screens: the guest actions on ONE row, 15% smaller - and on a narrow phone sized to the screen width so all
   six still fit (sizes in em, so the whole pill scales with the font) */
@media (orientation: portrait) {
  #guest-acts { flex-wrap: nowrap; gap: 0.4em; padding: 0.45em 0.6em; border-radius: 999px; font-size: clamp(9px, 2.45vw, 13.6px); }
  #guest-acts button { font-size: 1em; padding: 0.4em 0.75em 0.4em 0.35em; gap: 0.35em; white-space: nowrap; box-shadow: 0 0.18em 0 #c9953e; }
  #guest-acts button span { width: 1.65em; height: 1.65em; font-size: 1em; }
}
/* the selfie polaroid's caption: in the white strip under the photo (never over it), a warm ink, smaller, at most 2 lines */
#photo-card { padding: 9px 9px 0; }
#photo-card b { position: static; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  min-height: 2.5em; margin: 0; padding: 8px 4px 9px; box-sizing: content-box; text-align: center; font: 14px/1.25 var(--display); letter-spacing: 0.3px;
  color: #7a3e12; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); display: -webkit-box; align-content: center; }
#photo-card b::before { content: '★ '; color: #e0a526; } #photo-card b::after { content: ' ★'; color: #e0a526; }
@media (max-width: 600px), (max-height: 500px) { #photo-card { width: 168px; padding: 7px 7px 0; } #photo-card b { font-size: 11.5px; padding: 6px 3px 7px; } }
/* the galleon's Fire! while it is held to aim: lit up red-gold, pulsing (the rest of the row dims as usual) */
#fpv-acts.busy button[data-id="cannon"].aiming, #fpv-acts button[data-id="cannon"].aiming { opacity: 1; filter: none; background: linear-gradient(180deg, #ff7a59, #e63946); color: #fff; box-shadow: 0 0 0 3px rgba(255, 224, 102, 0.6), 0 0 20px rgba(255, 90, 60, 0.8); animation: cg-pulse 0.35s ease-in-out infinite alternate; }
#fpv-acts button[data-id="cannon"] { touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
#fpv-acts.busy button[data-id="cannon"].aiming { pointer-events: auto; }
/* ---- the splash logo, redrawn: chunky rounded letters close together with a thick navy outline - a big white PIRATE COVE,
   a bigger gold TYCOON - and a proper teal banner with folded tails carrying the subtitle (white, navy outline) ---- */
.sp-title { line-height: 0.92; isolation: isolate; }
.sp-small { position: relative; z-index: 2; font-size: clamp(30px, 9.8vw, 56px); letter-spacing: 1px; margin-right: 0; color: #fff; -webkit-text-stroke: 0.25em #173a63; paint-order: stroke fill;
  text-shadow: 0 0.12em 0 #0e2744, 0 0.22em 0.3em rgba(6, 28, 56, 0.4); }
.sp-gold { z-index: 1; font-size: clamp(58px, 18.5vw, 104px); letter-spacing: 1px; margin-top: 0.02em; color: #173a63; -webkit-text-stroke: 0.2em #173a63; paint-order: stroke fill;
  text-shadow: 0 0.1em 0 #0e2744, 0 0.2em 0.32em rgba(6, 28, 56, 0.45); }
.sp-gold::after { letter-spacing: 1px;
  background: linear-gradient(110deg, rgba(255,255,255,0) 42%, rgba(255,255,255,0.9) 50%, rgba(255,255,255,0) 58%),
    linear-gradient(180deg, #fff6b8 0%, #ffe45c 22%, #ffc928 50%, #ff9f1c 78%, #f58410 100%);
  background-size: 260% 100%, 100% 100%; background-repeat: no-repeat; -webkit-background-clip: text; background-clip: text; }
.sp-ribbon { position: relative; z-index: 3; isolation: isolate; margin-top: 0.42em; padding: 0.42em 1.5em 0.5em; font-size: clamp(12.5px, 4.3vw, 25px); letter-spacing: 0.5px; white-space: nowrap;
  color: #fff; -webkit-text-stroke: 0.26em #14506a; paint-order: stroke fill; text-shadow: 0 0.1em 0 #0d3d52;
  background: none; clip-path: none; filter: drop-shadow(0 0.22em 0 rgba(8, 62, 74, 0.55)) drop-shadow(0 0.5em 0.6em rgba(4, 40, 60, 0.3)); }
.sp-ribbon::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 0.34em;   /* (the band) */
  background: linear-gradient(180deg, #5cf0dc 0%, #2fd8c6 38%, #18b8ac 100%); box-shadow: inset 0 0.14em 0 rgba(255, 255, 255, 0.45), inset 0 -0.16em 0 rgba(6, 110, 108, 0.55); }
.sp-ribbon::before { content: ''; position: absolute; left: -1.25em; right: -1.25em; top: 0.42em; bottom: -0.42em; z-index: -2;   /* (its two tails, folded back behind and a little lower, swallow-cut) */
  background: linear-gradient(90deg, #0f9a94 0, #0f9a94 1.25em, #0a6f6e 1.25em, #0a6f6e 1.9em, transparent 1.9em, transparent calc(100% - 1.9em), #0a6f6e calc(100% - 1.9em), #0a6f6e calc(100% - 1.25em), #0f9a94 calc(100% - 1.25em));
  clip-path: polygon(0 0, 100% 0, calc(100% - 0.6em) 50%, 100% 100%, 0 100%, 0.6em 50%); }
/* short screens: the splash block is scaled to fit the window's height by a small script in index.html (any height, desktop or phone) */
/* ---- the splash ribbon, take 2: a glossy teal band with a stitched edge, and two proper swallow-tailed ends that fold
   back behind it (a dark fold where each tucks under), the whole thing gently arched ---- */
.sp-ribbon { padding: 0.5em 1.7em 0.56em; margin-top: 0.5em; letter-spacing: 0.6px; -webkit-text-stroke: 0.2em #0f4c63; text-shadow: 0 0.09em 0 #0b3a4e;
  filter: drop-shadow(0 0.18em 0 rgba(6, 70, 80, 0.45)) drop-shadow(0 0.45em 0.5em rgba(3, 35, 55, 0.35)); }
.sp-ribbon::after { border-radius: 0.22em;
  background: linear-gradient(180deg, #8ff7e8 0%, #46e3d0 18%, #23cbbb 55%, #13a99f 100%);
  box-shadow: inset 0 0.1em 0 rgba(255, 255, 255, 0.6), inset 0 -0.14em 0 #0d8c86, 0 0 0 0.07em #0d7f7a; }
.sp-ribbon::before { content: ''; position: absolute; inset: 0.2em 0.35em; z-index: -1; border-radius: 0.12em; background: none; clip-path: none;   /* (the stitching) */
  border-top: 0.07em dashed rgba(255, 255, 255, 0.55); border-bottom: 0.07em dashed rgba(4, 96, 94, 0.5); }
.sp-ribbon .rb-t { position: absolute; top: 0.42em; height: 100%; width: 2.3em; z-index: -2; display: block; font-style: normal;
  background: linear-gradient(180deg, #17a99d 0%, #0f8d85 60%, #0a7570 100%); box-shadow: inset 0 0.08em 0 rgba(255, 255, 255, 0.28), inset 0 -0.1em 0 rgba(4, 60, 60, 0.5); }
.sp-ribbon .rb-l { left: -1.65em; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0.75em 50%); }
.sp-ribbon .rb-r { right: -1.65em; clip-path: polygon(0 0, 100% 0, calc(100% - 0.75em) 50%, 100% 100%, 0 100%); }
.sp-ribbon .rb-t::after { content: ''; position: absolute; bottom: 0; width: 0.65em; height: 0.42em; background: #075a58; }   /* (the fold, where the tail tucks under the band) */
.sp-ribbon .rb-l::after { right: 0; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.sp-ribbon .rb-r::after { left: 0; clip-path: polygon(0 0, 100% 0, 0 100%); }
/* the level-up card's close button: the panels' round ✕, tucked in the top-right corner */
#lvup .lu-x { top: 10px; right: 10px; width: 34px; height: 34px; z-index: 3; font-size: 16px; }
@media (max-width: 600px), (max-height: 500px) { #lvup .lu-x { top: 6px; right: 6px; width: 28px; height: 28px; font-size: 13px; } }
/* the level-up card: up at the very top of the screen (over the captain-level bar it's announcing), 20% smaller */
#lvup, body.in-city #lvup { top: calc(6px + var(--safe-t, 0px)); zoom: 0.8; }
@media (max-width: 600px) { #lvup, body.in-city #lvup { top: calc(6px + var(--safe-t, 0px)); width: calc((100vw - 24px) / 0.8); } }
/* the simplified level-up card: medal, one title line, the unlocks, one line of boosts */
.lu-card.lu-simple { gap: 14px; padding: 10px 54px 10px 12px; }
.lu-simple .lu-medal { width: 70px; height: 70px; } .lu-simple .lu-coin { width: 64px; height: 64px; }
.lu-simple .lu-coin b { font-size: 30px; -webkit-text-stroke-width: 4px; } .lu-simple .lu-coin small { font-size: 10px; }
.lu-simple .lu-body { display: flex; flex-direction: column; gap: 6px; }
.lu-simple .lu-t { font-size: 24px; color: #fff; }
.lu-simple .lu-t em { font-style: normal; font-size: 15px; letter-spacing: 1.5px; color: #fff; background: linear-gradient(180deg, #ff6b6b, #d62f3a); padding: 2px 9px 3px; border-radius: 8px; margin-right: 6px; vertical-align: 3px; box-shadow: 0 2px 0 #8f1f24; }
.lu-simple .lu-unl { font-size: 13px; } .lu-simple .lu-unl span { padding: 2px 9px; }
.lu-gain { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 600 13px 'Fredoka', sans-serif; color: #9fbfd8; }
.lu-gain b { color: #7ee8a6; font-weight: 700; }
.lu-simple .lu-x { top: 50%; margin-top: -17px; right: 12px; }
@media (max-width: 600px) { .lu-card.lu-simple { padding: 8px 44px 8px 8px; gap: 8px; } .lu-simple .lu-t { font-size: 18px; } .lu-simple .lu-t em { font-size: 12px; } .lu-simple .lu-x { margin-top: -14px; right: 8px; } }
#lvup .lu-simple .lu-x { top: 50%; margin-top: -17px; right: 12px; }
@media (max-width: 600px) { #lvup .lu-simple .lu-x { margin-top: -14px; right: 8px; } }
body:has(#lvup.show:not(.out)) #xpbar { opacity: 0; transition: opacity .2s; }   /* (the card stands in for the level bar while it shows) */
.lu-card.lu-simple { padding-right: 22px; }   /* (no close button any more: no room kept for it) */
@media (max-width: 600px) { .lu-card.lu-simple { padding-right: 14px; } }
/* the medal's "LV": a little higher, with a gap above the number */
.lu-coin small { margin-bottom: 1px; transform: translateY(-3px); line-height: 1; }
.lu-simple .lu-coin small { margin-bottom: 2px; transform: translateY(1px); }
/* ---- the guest action bar, redesigned: a navy panel with a gold rim, each action a coloured round icon with its
   label beneath (game-style tiles instead of plain pills); sized in em so the portrait one-row rule still scales it ---- */
#guest-acts { font-size: 16px; gap: 0.35em; padding: 0.45em 0.6em 0.4em; border-radius: 1.4em; flex-wrap: nowrap;
  background: linear-gradient(180deg, rgba(31, 78, 107, 0.94), rgba(14, 42, 64, 0.94)); border: 0.16em solid #ffd166;
  box-shadow: 0 0.35em 0 rgba(8, 26, 42, 0.55), 0 0.6em 1.6em rgba(6, 24, 40, 0.45), inset 0 0.1em 0 rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: none; backdrop-filter: none; }
#guest-acts button { flex-direction: column; gap: 0.18em; min-width: 4.1em; padding: 0.25em 0.3em 0.2em; border: 0; border-radius: 0.9em; background: transparent; box-shadow: none;
  color: #fff; font: 0.82em/1.1 var(--display); letter-spacing: 0.3px; text-shadow: 0 0.1em 0 rgba(0, 0, 0, 0.35); transition: transform 0.12s, background 0.12s; }
#guest-acts button:hover { background: rgba(255, 255, 255, 0.08); }
#guest-acts button span { --c1: #6ec6ff; --c2: #2f86d6; --c3: #1d5c99; width: 2.55em; height: 2.55em; font-size: 1.2em; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 45%), linear-gradient(180deg, var(--c1), var(--c2));
  border: 0.12em solid #fff; box-shadow: 0 0.17em 0 var(--c3), 0 0.3em 0.5em rgba(0, 0, 0, 0.25); }
#guest-acts button:active { transform: translateY(0.12em); box-shadow: none; }
#guest-acts button:active span { box-shadow: 0 0.05em 0 var(--c3); }
#guest-acts button[data-k="joke"] span { --c1: #ffe680; --c2: #f7b731; --c3: #b9821a; }
#guest-acts button[data-k="rps"] span { --c1: #8ff0b4; --c2: #2fbf71; --c3: #1d8550; }
#guest-acts button[data-k="dance"] span { --c1: #ffb3dc; --c2: #ef5da8; --c3: #b33a7c; }
#guest-acts button[data-k="duel"] span { --c1: #ff9e9e; --c2: #e5484d; --c3: #9e2a2e; }
#guest-acts button[data-k="tip"] span { --c1: #fff0a8; --c2: #ffc928; --c3: #c48a10; }
@media (orientation: portrait) { #guest-acts { font-size: clamp(9px, 2.45vw, 13.6px); gap: 0.2em; padding: 0.4em 0.45em 0.35em; } #guest-acts button { min-width: 3.9em; } }
@media (max-width: 600px) and (orientation: landscape), (max-height: 500px) { #guest-acts { font-size: 13px; } }
/* the guest action bar lower down: near the bottom edge, just above the "try a ride" card when that's showing */
#guest-acts { bottom: calc(18px + var(--safe-b, 0px)); }
body:has(#try-card.show) #guest-acts { bottom: calc(108px + var(--safe-b, 0px)); }
body:has(#act-btn.show) #guest-acts { bottom: calc(214px + var(--safe-b, 0px)); }
/* no running counters on the first-person action buttons (Spyglass 0/3, the squirt gun's hits) */
.fpv-play i { display: none !important; }

/* short desktop windows: the lucky wheel side by side (wheel | streak + prize), which needs far less height, so it can stay
   a readable size instead of shrinking to 0.66 */
@media (min-width: 900px) and (max-height: 780px) and (min-height: 501px) and (orientation: landscape) {
  .panel.wheel { zoom: 0.84 !important; width: min(1120px, 118vw); max-height: none !important; }
  .wheel .wh-body { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "stage streak" "stage side"; align-items: center; column-gap: 26px; row-gap: 18px; }
  .wheel .wh-streak { grid-area: streak; align-self: end; zoom: 0.9; justify-self: center; }
  .wheel .wh-stage { grid-area: stage; margin: 24px 30px; }
  .wheel .wh-side { grid-area: side; align-self: start; }
}
@media (min-width: 900px) and (max-height: 640px) and (min-height: 501px) and (orientation: landscape) { .panel.wheel { zoom: 0.72 !important; } }
/* the voyage result: the chest stands on top of the panel, so on a short window the whole card is scaled to fit */
@media (max-height: 640px) and (orientation: landscape) { #modal .panel.victory { zoom: 0.86; } }
@media (max-height: 540px) and (orientation: landscape) { #modal .panel.victory { zoom: 0.74; } }

/* a coin pile at its cap: a little red FULL flag on its tag - collect me */
.piletag .pile-full { margin-left: 5px; padding: 1px 6px 2px; border-radius: 8px; background: #e63946; color: #fff; font-size: 0.68em; letter-spacing: 0.5px; vertical-align: 2px; box-shadow: 0 2px 0 #9b1d27; }

/* ===== phones & tablets ===== */
/* touch screens: no keyboard keys under "drag to steer" (A D / arrow keys mean nothing on a phone) */
@media (hover: none) and (pointer: coarse) { #hint .keys { display: none; } .tut-keys { display: none; } }
/* portrait phones: the hint sits higher, clear of the captain and his coin pile */
@media (max-width: 600px) and (orientation: portrait) { #hint { top: 46%; } }
/* narrow phones in the voyage: the "Voyage n" banner and the gold pill side by side without overlapping */
@media (max-width: 420px) {
  body[data-mode^="run"] #voyage { scale: 0.98; }
  body[data-mode^="run"] #hud-right { scale: 0.88; }
}
/* the voyage result card: its ribbon reaches past the panel, so on a phone the whole card is scaled to fit the width */
@media (max-width: 480px) { #modal .panel.victory { zoom: 0.84; } }
@media (max-width: 380px) { #modal .panel.victory { zoom: 0.76; } }
/* landscape phones: the settings card fits the height (Done sat on the bottom edge) */
@media (max-height: 500px) and (orientation: landscape) { #modal .panel.settings { zoom: 0.82; } }
/* the voyage result's haul pill: the coin never squeezed by the figure (on a phone the card is narrow and the coin was
   shrunk to a sliver under the "$16.0K", which then sat hard against the left edge) */
.v-loot .coin-ico { flex: 0 0 auto; }
.v-loot #earned-val { white-space: nowrap; flex: 0 0 auto; }
.panel.victory .v-loot { max-width: calc(100% - 8px); padding-left: 12px; padding-right: 18px; }
@media (max-width: 520px) { .panel.victory .v-loot .coin-ico { width: 34px; height: 34px; } .panel.victory #earned-val { font-size: 32px; } }
/* ...and the ring-multiplier stamp sits on the pill's right edge instead of taking a slot in it: until it popped in
   (~2 s) it was an empty space there, so the figure looked pushed to the left */
.panel.victory .v-loot { position: relative; }
.panel.victory .v-loot .v-stamp { position: absolute; right: -30px; top: 50%; margin: -26px 0 0; }

/* ===== voyage result: the treasure-haul pill, take 3 =====
   a dark wood pill with a gold rim and a warm glow, the coin and the figure centred in it, and the ring multiplier as
   a little gold tag hanging centred under it (as a round stamp on the pill's end it sat on top of the figure's last letter) */
.panel.victory .v-haul { margin-top: 56px; }
.panel.victory .v-loot { position: relative; margin: 2px auto 30px; padding: 9px 22px 9px 10px; gap: 10px; border: 2px solid #f2c14e;
  background: radial-gradient(ellipse 80% 120% at 50% 0%, #8a5226 0%, #5c3013 70%); box-shadow: inset 0 3px 8px rgba(0,0,0,0.5), inset 0 -2px 0 rgba(255,214,120,0.25), 0 0 0 3px rgba(255,236,180,0.55), 0 6px 14px rgba(120,70,20,0.35); }
.panel.victory .v-loot .coin-ico { filter: drop-shadow(0 2px 0 rgba(0,0,0,0.35)); }
.panel.victory #earned-val { letter-spacing: 0.5px; }
.panel.victory .v-loot .v-stamp { position: absolute; left: 50%; right: auto; top: auto; bottom: -15px; translate: -50% 0; margin: 0; rotate: 0deg;
  width: auto; height: auto; display: flex; align-items: baseline; gap: 5px; padding: 3px 11px 4px; border-radius: 999px; white-space: nowrap; line-height: 1;
  background: linear-gradient(180deg, #ffe48a, #f2b23a); border: 2px solid #fff6d0; color: #6b3a08; box-shadow: 0 2px 0 #b8740c, 0 3px 6px rgba(0,0,0,0.25); }
.panel.victory .v-loot .v-stamp b { font-size: 15px; text-shadow: none; }
.panel.victory .v-loot .v-stamp small { font-size: 9px; letter-spacing: 1px; font-weight: 700; }
@keyframes stampInTag { from { transform: translateY(-8px) scale(1.6); opacity: 0; } }
.panel.victory .v-loot .v-stamp { animation-name: stampInTag; }
@media (max-width: 520px) { .panel.victory .v-haul { margin-top: 60px; } .panel.victory .v-loot { padding: 7px 18px 7px 8px; } }

/* ---------- Poki build only (tools/bundle.mjs poki puts class="poki" on <html>) ----------
   Poki's reward-button rules: the normal button sits above the 🎬 one and is at least as big, so every
   dialog's 🎬 button goes last and "Try Again" / "No thanks" / "Later" become full-size buttons. */
html.poki .btns .btn { order: 1; font-size: 20px; padding: 12px 22px; }
html.poki .btns .btn.ad { order: 2; }
html.poki .btns .btn.ghost { background: linear-gradient(180deg, var(--teal1), var(--teal2)); color: #fff; font-family: var(--display); font-size: 20px; box-shadow: 0 5px 0 #0d8f80, 0 12px 24px rgba(14,58,78,0.25); text-shadow: 0 2px 0 rgba(0,60,55,0.25); }
html.poki .btns .btn.ghost::after { display: block; }
/* Poki build: the Esc pause card (js/platform-poki.js) */
#poki-pause { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; background: rgba(14,60,80,0.45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: pointer; }
#poki-pause.show { display: grid; }
#poki-pause .pp-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 34px; border-radius: 22px; background: rgba(255,255,255,0.96); color: var(--wood, #6b3f1d); box-shadow: 0 12px 30px rgba(0,0,0,0.25); }
#poki-pause b { font-family: var(--display); font-size: 34px; color: #0f766e; }
#poki-pause span { font-weight: 700; font-size: 16px; }
