/* Layout: the shared island fills the screen; the game HUD floats in the corners on smoked-glass cards. Chat sits bottom-left on desktop and moves to the top on touch screens so the thumb stick and cast button own the bottom. */
:root {
  --ink: #f4efe5;
  --ink-dim: rgba(244, 239, 229, .68);
  --glass: rgba(11, 21, 30, .5);
  --glass-strong: rgba(11, 21, 30, .84);
  --line: rgba(244, 239, 229, .15);
  --brass: #f0b45c;
  --sea: #84d6c8;
  --alarm: #ff8a6e;
  --display: 'Young Serif', 'Iowan Old Style', Georgia, serif;
  --ui: 'Figtree', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color-scheme: dark;
}
[hidden] { display: none !important; }
html, body { height: 100%; }
body { background: #0d1a25; color: var(--ink); font-family: var(--ui); overflow: hidden; -webkit-font-smoothing: antialiased; }
#app { position: fixed; inset: 0; overflow: hidden; }
#scene { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; }
#scene:active { cursor: grabbing; }
button, input { font: inherit; color: inherit; box-sizing: border-box; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.card { background: var(--glass); -webkit-backdrop-filter: blur(12px) saturate(1.25); backdrop-filter: blur(12px) saturate(1.25); border: 1px solid var(--line); border-radius: 14px; }
.eyebrow { margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); font-weight: 600; }
.hud { transition: opacity .6s; }
#app:not(.joined) .hud { opacity: 0; pointer-events: none; visibility: hidden; }

/* ---------- top bar ---------- */
.hud-top { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; pointer-events: none; }
.hud-top > * { pointer-events: auto; }
.stack { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; min-width: 0; }
.stack.right { align-items: flex-end; }
.island { padding: 12px 16px 13px; display: grid; gap: 3px; min-width: 0; }
.island h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.1; text-wrap: balance; }
.meta { margin: 3px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.meta b { color: var(--ink); font-weight: 600; }
.sep { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-dim); opacity: .6; }
.forecast { font-size: 12px; color: var(--ink-dim); margin: 2px 0 0; }

.wallet { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.pill { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
button.pill, .iconbtn { cursor: pointer; }
button.pill:hover, .iconbtn:hover { background: var(--glass-strong); }
.coin { width: 15px; height: 15px; flex: none; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe7a8, #e3a23f 60%, #a96d1d); box-shadow: inset 0 0 0 1.5px rgba(120, 70, 10, .5); }
.pill svg { width: 20px; height: 14px; }
.pill .of { color: var(--ink-dim); font-weight: 500; }
.iconbtn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; padding: 0; }
.iconbtn svg { width: 17px; height: 17px; }
.iconbtn[aria-pressed=false] { color: var(--ink-dim); }
.iconbtn[aria-pressed=false] .on { display: none; }
.iconbtn[aria-pressed=true] .off { display: none; }

.players { padding: 10px 12px; display: grid; gap: 7px; min-width: 200px; max-width: 260px; }
.players ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.players li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: 13px; }
.players li span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.players .swatch { width: 10px; height: 10px; border-radius: 3px; }
.players .status { color: var(--ink-dim); font-size: 12px; }
.players .live { color: var(--sea); }

/* ---------- chat ---------- */
.chat { position: absolute; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(360px, calc(100vw - 32px)); padding: 10px 12px; display: grid; gap: 8px; }
.chat ol { -webkit-mask-image: linear-gradient(transparent, #000 16px); mask-image: linear-gradient(transparent, #000 16px); list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; font-size: 13.5px; line-height: 1.4; max-height: 150px; overflow: hidden; align-content: end; overflow-wrap: anywhere; }
.chat li b { font-weight: 700; }
.chat li.sys { color: var(--sea); }
.chat li.gold { color: var(--brass); }
.chat li.tip { color: var(--ink-dim); font-size: 12.5px; }
.chat form { display: flex; gap: 6px; }
.chat input { flex: 1; min-width: 0; padding: 8px 11px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); font-size: 14px; }
.chat input::placeholder { color: var(--ink-dim); }
.chat form button { padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(244, 239, 229, .1); font-weight: 600; font-size: 13px; cursor: pointer; }

/* ---------- fishing action ---------- */
.action { position: absolute; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; pointer-events: none; }
.action > * { pointer-events: auto; }
.castwrap { position: relative; width: 116px; height: 116px; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); pointer-events: none; }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: rgba(11, 21, 30, .45); }
.ring .sweet { stroke: #ffe08a; stroke-width: 9; opacity: 0; transition: opacity .2s; }
.ring .power { stroke: var(--sea); stroke-linecap: round; }
.action.charging .ring .sweet { opacity: .95; }
.action.perfect .ring .power { stroke: #ffe08a; }
#castBtn { width: 90px; height: 90px; border-radius: 50%; border: 0; cursor: pointer; font-family: var(--display); font-size: 20px; line-height: 1.05; color: #1a1408; background: radial-gradient(circle at 38% 30%, #ffe0a3, var(--brass) 58%, #c0802b); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 -4px 0 rgba(0, 0, 0, .15); transition: transform .12s; user-select: none; -webkit-user-select: none; touch-action: none; -webkit-touch-callout: none; }
#castBtn small { display: block; font-family: var(--ui); font-size: 12px; font-weight: 600; opacity: .75; }
#castBtn:active { transform: scale(.95); }
#castBtn.quiet { background: radial-gradient(circle at 38% 30%, #3c4c5a, #22303c); color: var(--ink); font-size: 16px; }
#castBtn.alert { animation: pulse .45s ease-in-out infinite alternate; background: radial-gradient(circle at 38% 30%, #ffd2c4, var(--alarm) 60%, #c7543a); color: #fff; }
#castBtn.reel { background: radial-gradient(circle at 38% 30%, #c8fff4, var(--sea) 60%, #3c9688); }
@keyframes pulse { to { transform: scale(1.09); } }
#hint { margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--glass); font-size: 13px; text-align: center; max-width: min(420px, calc(100vw - 32px)); }
.meter { width: 240px; padding: 10px 12px; display: grid; gap: 7px; }
.bar { height: 7px; border-radius: 4px; background: rgba(244, 239, 229, .14); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; }
#progBar { background: var(--sea); }
#tenBar { background: linear-gradient(90deg, var(--brass), var(--alarm)); }
.meter .lbl { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-dim); }

.use { padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; background: var(--glass-strong); }
.use:hover { background: rgba(11, 21, 30, .95); }
.use kbd { font: 600 11px var(--ui); padding: 1px 6px; border-radius: 5px; border: 1px solid var(--line); color: var(--ink-dim); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; }
.chips:not(:has(.chip:not([hidden]))) { display: none; }
.chip { padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chip.fed { background: rgba(132, 214, 200, .16); color: var(--sea); }
.chip.frenzy { background: rgba(255, 224, 138, .16); color: #ffe08a; animation: chipglow .8s ease-in-out infinite alternate; }
@keyframes chipglow { to { background: rgba(255, 224, 138, .3); } }
.tag.frenzy .name { color: #ffe08a; font-size: 14px; }
.flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; z-index: 3; }
.stamp { --c: #ffd36b; position: absolute; left: 50%; top: 26%; z-index: 4; display: grid; justify-items: center; gap: 2px; pointer-events: none; transform: translate(-50%, -50%) rotate(-4deg); text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.stamp span { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.stamp b { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 5vw, 44px); color: #fff; white-space: nowrap; }
.stamp.go { animation: stamp 2.8s cubic-bezier(.2, .9, .3, 1.2) forwards; }
@keyframes stamp { 0% { opacity: 0; transform: translate(-50%, -50%) rotate(-4deg) scale(1.8); } 12% { opacity: 1; transform: translate(-50%, -50%) rotate(-4deg) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%) rotate(-4deg) scale(1); } }

/* ---------- touch stick ---------- */
.stick { display: none; position: absolute; left: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); width: 124px; height: 124px; border-radius: 50%; background: rgba(11, 21, 30, .32); border: 1px solid var(--line); touch-action: none; }
.stick .knob { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(244, 239, 229, .82); box-shadow: 0 4px 14px rgba(0, 0, 0, .3); pointer-events: none; }

/* ---------- catch card / trophy room ---------- */
.catch { position: absolute; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(330px, calc(100vw - 32px)); padding: 16px; display: grid; gap: 10px; background: var(--glass-strong); animation: rise .35s ease-out; }
@keyframes rise { from { transform: translate(-50%, 14px); opacity: 0; } }
.catch .fishart { height: 72px; display: grid; place-items: center; border-radius: 10px; background: radial-gradient(ellipse at center, rgba(132, 214, 200, .18), transparent 70%); }
.catch .fishart svg { width: 130px; height: 65px; }
.catch h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 22px; }
.catch .facts { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13.5px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.rar { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #13202b; }
.btns { display: flex; gap: 8px; }
.btns button { flex: 1; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(244, 239, 229, .07); cursor: pointer; font-weight: 600; font-size: 14px; }
.btns button.primary { background: var(--ink); color: #13202b; border-color: var(--ink); }
.btns button:disabled { opacity: .45; cursor: not-allowed; }

.panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 32px)); max-height: calc(100% - 40px); overflow: auto; padding: 18px; display: grid; gap: 14px; background: var(--glass-strong); }
.panel header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 24px; }
.panel .x { border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink-dim); padding: 0 4px; }
.note { margin: 0; font-size: 12px; color: var(--ink-dim); line-height: 1.45; }
.slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.slot { aspect-ratio: 1; max-width: 100%; border-radius: 9px; border: 1px dashed rgba(244, 239, 229, .16); display: grid; place-items: center; padding: 4px; font-size: 10.5px; color: var(--ink-dim); font-variant-numeric: tabular-nums; background: transparent; }
.slot.full { border-style: solid; border-color: var(--line); background: rgba(244, 239, 229, .05); cursor: pointer; align-content: center; gap: 2px; }
.slot.full:hover { background: rgba(244, 239, 229, .13); }
.slot svg { width: 100%; height: auto; max-height: 26px; }
.shop { display: grid; gap: 8px; }
.shop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.shop li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; }
.shop .d { font-size: 12px; color: var(--ink-dim); }
.shop button { grid-row: span 2; grid-column: 2; grid-row-start: 1; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line); background: var(--ink); color: #13202b; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.shop button:disabled { background: transparent; color: var(--ink-dim); cursor: not-allowed; }

/* settings */
.settings { width: min(420px, calc(100vw - 32px)); z-index: 6; }
.setrow { display: grid; gap: 7px; }
.setrow .lbl, .toggle span { font-weight: 600; font-size: 14px; }
.setrow.vol { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 14px; }
.setrow.vol label { font-weight: 600; font-size: 14px; }
.setrow.vol input { width: 100%; accent-color: var(--brass); }
.toggle { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.toggle input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brass); }
.toggle small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-dim); margin-top: 2px; }
.jumpbtn { display: none; position: absolute; right: calc(100% + 4px); bottom: 4px; width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass-strong); color: var(--ink); place-items: center; padding: 0; touch-action: none; -webkit-user-select: none; user-select: none; }
.jumpbtn svg { width: 22px; height: 22px; }
.jumpbtn:active { transform: scale(.94); }
@media (pointer: coarse) { .jumpbtn { display: grid; } }

/* preview panel (hidden, Shift+P) */
.preview { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 250px; padding: 12px 14px; display: grid; gap: 10px; background: var(--glass-strong); }
.preview input[type=range] { width: 100%; accent-color: var(--brass); }
.seg { display: flex; flex-wrap: wrap; gap: 4px; }
.seg button { flex: 1 1 auto; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--line); background: transparent; font-size: 12.5px; cursor: pointer; }
.seg button[aria-pressed=true] { background: var(--ink); color: #13202b; font-weight: 600; }

/* ---------- floating name tags ---------- */
#tags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.tag { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 3px; will-change: transform; }
.tag .name { padding: 2px 7px; border-radius: 6px; background: rgba(11, 21, 30, .55); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.tag.you .name { background: var(--brass); color: #1a1408; }
.tag.local .name { background: rgba(11, 21, 30, .38); color: var(--ink-dim); }
.tag.place .name { background: transparent; font-family: var(--display); font-weight: 400; font-size: 12px; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.tag .bubble { max-width: 220px; padding: 5px 9px; border-radius: 10px 10px 10px 3px; background: var(--ink); color: #13202b; font-size: 12.5px; font-weight: 600; line-height: 1.3; text-align: center; overflow-wrap: anywhere; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.tag .bubble.bang { background: var(--alarm); color: #fff; font-size: 15px; padding: 2px 9px; border-radius: 8px; }
.tag .bubble.gold { background: #ffe08a; }

/* ---------- character screen: you on the island, the camera close on your face ---------- */
.create { position: absolute; inset: 0; display: flex; align-items: center; padding: 24px clamp(16px, 6vw, 96px); pointer-events: none; background: linear-gradient(90deg, rgba(8, 16, 24, .55), rgba(8, 16, 24, 0) 48%); }
.create-card { pointer-events: auto; width: min(370px, 100%); max-height: calc(100% - 16px); overflow: auto; padding: 22px 22px 18px; display: grid; gap: 14px; background: var(--glass-strong); }
.create h1 { margin: 2px 0 0; font-family: var(--display); font-weight: 400; font-size: 32px; line-height: 1.05; }
.create .lede { margin: 6px 0 0; color: var(--ink-dim); font-size: 14px; line-height: 1.5; }
.field { display: grid; gap: 7px; }
.field label, .field .lbl { font-size: 12px; color: var(--ink-dim); font-weight: 600; }
.create input { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .3); font-size: 16px; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches button { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .2); padding: 0; }
.swatches button[aria-checked=true] { border-color: var(--ink); box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), 0 0 0 2px rgba(11, 21, 30, .8); }
.seg button[aria-checked=true] { background: var(--ink); color: #13202b; font-weight: 600; border-color: var(--ink); }
#joinBtn { padding: 12px; border-radius: 12px; border: 0; background: var(--brass); color: #1a1408; font-weight: 700; font-size: 16px; cursor: pointer; }
#joinBtn:hover { filter: brightness(1.06); }
.linkbtn { border: 0; background: transparent; color: var(--sea); font-size: 13.5px; font-weight: 600; cursor: pointer; padding: 2px; justify-self: center; }
.linkbtn:hover { text-decoration: underline; }
.who { font-size: 13px; color: var(--sea); margin: 0; }

/* ---------- islands ---------- */
.travel { z-index: 5; width: min(600px, calc(100vw - 32px)); }
.isles { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.isle { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 11px; align-items: center; padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.isle:hover { background: rgba(244, 239, 229, .05); }
.isle.here { border-color: rgba(240, 180, 92, .55); }
.isle.sel { border-color: var(--sea); background: rgba(132, 214, 200, .08); }
.isle .chip { width: 34px; height: 34px; border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); padding: 0; }
.isle-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.isle-head b { font-family: var(--display); font-weight: 400; font-size: 17px; }
.isle .count { font-size: 12px; color: var(--sea); }
.isle-meta { margin: 1px 0 0; font-size: 12px; color: var(--ink-dim); font-variant-numeric: tabular-nums; }
.isle-blurb, .isle button { display: none; }
.isle.sel .isle-blurb { display: block; grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; line-height: 1.4; }
.isle.sel button { display: block; grid-column: 1 / -1; padding: 9px 12px; border-radius: 10px; border: 0; background: var(--ink); color: #13202b; font-weight: 700; cursor: pointer; }
.isle.sel button:disabled { background: transparent; color: var(--brass); cursor: default; border: 1px solid rgba(240, 180, 92, .4); }
#app.globe .hud, #app.globe #tags, #app.globe .create { opacity: 0; visibility: hidden; pointer-events: none; }
#app.globe .travel { left: auto; right: 16px; top: 16px; bottom: 16px; transform: none; width: min(360px, calc(100vw - 32px)); max-height: none; align-content: start; }
#app.globe #scene { cursor: grab; }
.gtags { position: absolute; inset: 0; pointer-events: none; overflow: hidden; display: none; }
#app.globe .gtags { display: block; }
.glabel { position: absolute; left: 0; top: 0; pointer-events: auto; padding: 3px 8px; border-radius: 7px; border: 0; background: rgba(11, 21, 30, .66); color: var(--ink); font: 600 12px var(--ui); white-space: nowrap; cursor: pointer; }
.glabel:hover { background: rgba(11, 21, 30, .9); }
.glabel.here { background: var(--brass); color: #1a1408; }
.glabel.sel { background: var(--sea); color: #0d1a25; }
.gcap { position: absolute; left: 50%; top: calc(18px + env(safe-area-inset-top, 0px)); transform: translateX(-50%); z-index: 6; margin: 0; padding: 9px 16px; text-align: center; font-size: 14px; background: var(--glass-strong); }
.gcap b { font-family: var(--display); font-weight: 400; font-size: 18px; display: block; }
.veil { position: absolute; inset: 0; z-index: 9; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 42%, #ffffff, #e2eef5 45%, #b4d0e2); }
html.arriving .veil { opacity: 1; }

.fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; }

@media (max-width: 1040px) {
  .action { left: auto; right: 16px; transform: none; justify-items: end; }
  .catch { left: auto; right: 16px; transform: none; animation: none; }
}
@media (pointer: coarse) {
  .stick { display: block; }
  .chat { top: calc(134px + env(safe-area-inset-top, 0px)); bottom: auto; }
  .chat ol { max-height: 64px; }
  .players { display: none; }
}
@media (max-width: 760px) {
  .create { align-items: flex-end; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(0deg, rgba(8, 16, 24, .6), rgba(8, 16, 24, 0) 55%); }
  .create-card { width: 100%; max-height: 54%; padding: 16px; gap: 11px; }
  .create h1 { font-size: 24px; }
  .create .lede { display: none; }
  #app.globe .travel { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; max-height: 44%; }
  #islandsBtn span { display: none; }
  .players { display: none; }
  .island { padding: 9px 12px 10px; }
  .island h1 { font-size: 20px; }
  .meta { font-size: 12px; gap: 4px 8px; }
  .forecast { display: none; }
  .pill { padding: 6px 10px; font-size: 13px; }
  .iconbtn { width: 32px; height: 32px; }
  .wallet { max-width: 170px; }
  .chat { top: calc(134px + env(safe-area-inset-top, 0px)); bottom: auto; left: 16px; right: 16px; width: auto; padding: 8px 10px; }
  .chat ol { max-height: 60px; font-size: 12.5px; }
  .castwrap { width: 104px; height: 104px; }
  #castBtn { width: 80px; height: 80px; font-size: 18px; }
  #hint { font-size: 12px; max-width: 210px; }
  .meter { width: 200px; }
  .catch { bottom: calc(160px + env(safe-area-inset-bottom, 0px)); }
  .slots { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-height: 620px) and (pointer: fine) { .players { display: none; } .chat ol { max-height: 64px; } }
@media (prefers-reduced-motion: reduce) { #castBtn.alert { animation: none; } .catch { animation: none; } .chip.frenzy { animation: none; } .stamp.go { animation: none; } }
