:root {
  --bg: #071526; --bg2: #0b2340; --card: rgba(16,34,58,.82); --card2: rgba(255,255,255,.06); --line: rgba(255,255,255,.09);
  --text: #f4f1e8; --dim: #9fb0c6; --green: #3ee07a; --red: #ff5a5f; --amber: #ffb340; --gold: #ffcf4a;
  --blue: #4ca8ff; --purple: #9b7bff; --teal: #2fd0c0; --parch: #f3e2b8; --parch2: #e2c88e; --ink: #3a2412;
  --pirate: "Pirata One", "Rye", Georgia, serif;
  --safe-top: env(safe-area-inset-top); --safe-bot: env(safe-area-inset-bottom);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; color: var(--text); font: 16px/1.35 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; }
body { min-height: 100vh; overscroll-behavior-y: none; background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(76,168,255,.22), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(47,208,192,.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40'%3E%3Cpath d='M0 20 Q15 10 30 20 T60 20 T90 20 T120 20' stroke='%23ffffff' stroke-opacity='.035' stroke-width='2' fill='none'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--bg2), var(--bg) 70%);
  background-attachment: fixed; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
a { color: var(--gold); text-decoration: none; }
.num, .money { font-variant-numeric: tabular-nums; }
.hidden { display: none !important; }
.center { text-align: center; }
.tap { cursor: pointer; transition: transform .12s; } .tap:active { transform: scale(.98); }

/* header */
header.top { position: sticky; top: 0; z-index: 5; background: linear-gradient(180deg, rgba(7,21,38,.96), rgba(7,21,38,.82));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: calc(var(--safe-top) + 10px) 16px 10px; display: flex; align-items: center; gap: 8px; }
header.top .ttl { flex: 1; min-width: 0; }
header.top h1 { font-family: var(--pirate); font-weight: 400; font-size: 32px; margin: 0; line-height: 1; color: var(--parch); letter-spacing: .5px; text-shadow: 0 2px 0 rgba(0,0,0,.4); white-space: nowrap; }
.subttl { color: var(--dim); font-size: 12.5px; margin-top: 3px; }
.icon-btn { width: 36px; height: 36px; border-radius: 18px; background: rgba(255,255,255,.08); border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; flex: none; }
.icon-btn.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

main { padding: 6px 16px calc(var(--safe-bot) + 100px); max-width: 640px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px 16px; margin: 0 0 12px; }
.section-title { color: var(--parch2); font-size: 13px; font-weight: 700; letter-spacing: .4px; margin: 22px 4px 9px; display: flex; justify-content: space-between; align-items: center; }
.section-title a { font-weight: 600; }
.label { color: var(--dim); font-size: 13px; }
.big { font-size: 34px; font-weight: 800; letter-spacing: -.8px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pos { color: var(--green); } .neg { color: var(--red); } .warn { color: var(--amber); }
.note { color: var(--dim); font-size: 13px; margin: 14px 4px; }

/* rows */
.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.grow { flex: 1; min-width: 0; }
.name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.sub { color: var(--dim); font-size: 12.5px; }
.amt { font-weight: 700; text-align: right; white-space: nowrap; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 4px; margin-right: 5px; vertical-align: 0; }
.datebadge { width: 46px; height: 50px; border-radius: 12px; background: linear-gradient(180deg, var(--parch), var(--parch2)); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex: none; box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.datebadge small { font-size: 10px; font-weight: 800; letter-spacing: .5px; opacity: .7; }
.datebadge b { font-family: var(--pirate); font-weight: 400; font-size: 24px; line-height: 1; }
.datebadge.soon { background: linear-gradient(180deg, #ff8a7a, #e04848); color: #fff; }
.scroll-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--card2); display: grid; place-items: center; font-size: 20px; flex: none; }
.tag { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 8px; background: var(--card2); color: var(--dim); margin-left: 6px; vertical-align: 1px; }
.tag.auto { background: rgba(47,208,192,.16); color: var(--teal); }
.tag.err { background: rgba(255,90,95,.15); color: var(--red); }

/* alerts */
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; margin-bottom: 10px; font-size: 14px; border: 1px solid var(--line); }
.al-ic { font-size: 22px; line-height: 1; }
.alert.bad { background: rgba(255,90,95,.14); } .alert.info { background: rgba(76,168,255,.13); }
.alert.parrot { background: linear-gradient(135deg, rgba(62,224,122,.16), rgba(255,90,95,.16)); }

/* hero / treasure chest */
.hero { position: relative; overflow: hidden; border-radius: 22px; padding: 20px 18px 26px; margin-bottom: 12px; min-height: 150px;
  background: radial-gradient(400px 200px at 85% 70%, rgba(255,207,74,.35), transparent 60%), linear-gradient(135deg, #12406e, #0a2546 60%, #081a33);
  border: 1px solid rgba(255,207,74,.25); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero.slim { min-height: 130px; }
.hero-txt { position: relative; z-index: 2; max-width: 62%; }
.eyebrow { font-family: var(--pirate); font-size: 20px; color: var(--parch2); }
.gold-num { font-size: 34px; font-weight: 800; letter-spacing: -1px; line-height: 1.1;
  background: linear-gradient(180deg, #fff3b0, #ffcf4a 55%, #e09a12); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 0 rgba(0,0,0,.35)); }
.hero-sub { color: var(--dim); font-size: 13px; margin-top: 4px; }
.split { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--parch); margin-top: 6px; }
.art-chest { position: absolute; right: -4px; bottom: 6px; width: 46%; max-width: 170px; z-index: 1; }
.art-chest .spark { animation: twinkle 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.art-chest .s2 { animation-delay: 1.2s; }
@keyframes twinkle { 0%,100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.1); } }
.waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 26px; z-index: 0; }

/* home mini tiles */
.mini-poster { border-radius: 18px; padding: 12px 14px; color: var(--ink); text-align: center;
  background: radial-gradient(circle at 50% 40%, var(--parch), var(--parch2) 120%); box-shadow: inset 0 0 0 3px rgba(58,36,18,.25), 0 8px 20px rgba(0,0,0,.3); }
.mp-h { font-family: var(--pirate); font-size: 28px; line-height: 1; letter-spacing: 2px; }
.mp-l { font-size: 11px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; opacity: .65; margin-top: 2px; }
.mp-n { font-family: var(--pirate); font-size: 26px; color: #a3171c; line-height: 1.1; }
.rank-tile { border-radius: 18px; padding: 12px 14px; text-align: center; background: var(--card); border: 1px solid var(--line);
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--rc) 35%, transparent); }
.rt-ic { font-size: 26px; line-height: 1; } .rt-n { font-size: 26px; font-weight: 800; color: var(--rc); line-height: 1.15; }
.rt-l { font-family: var(--pirate); font-size: 17px; color: var(--parch); }
.h-scroll { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.h-scroll::-webkit-scrollbar { display: none; }
.mini-bank { flex: 0 0 140px; scroll-snap-align: start; border-radius: 18px; padding: 12px; color: #fff; position: relative; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.mini-bank::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.22), transparent 40%); pointer-events: none; }
.mb-logo { font-weight: 900; font-size: 14px; min-width: 32px; padding: 0 6px; width: fit-content; height: 32px; border-radius: 10px; background: rgba(0,0,0,.22); display: grid; place-items: center; }
.mb-name { font-size: 13px; margin-top: 10px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-amt { font-size: 19px; font-weight: 800; } .mb-sub { font-size: 11.5px; opacity: .75; }
.empty { color: var(--dim); text-align: center; padding: 18px 8px; font-size: 14px; }
.empty svg { width: 120px; display: block; margin: 0 auto 6px; }

/* vaults (bank cards) */
.vault { position: relative; overflow: hidden; border-radius: 22px; padding: 16px; margin-bottom: 14px; color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.35); }
.vault::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.25), transparent 35%), radial-gradient(300px 140px at 100% 0, rgba(255,255,255,.12), transparent 70%); pointer-events: none; }
.vault-wm { position: absolute; right: -6px; top: -22px; font-size: 96px; font-weight: 900; opacity: .09; letter-spacing: -6px; pointer-events: none; }
.vault-head { position: relative; display: flex; align-items: center; gap: 12px; }
.vault-logo { min-width: 44px; padding: 0 6px; height: 44px; border-radius: 14px; border: 2px solid; display: grid; place-items: center; font-weight: 900; font-size: 17px; background: rgba(0,0,0,.2); flex: none; }
.vault-name { font-weight: 800; font-size: 18px; } .vault-sub { font-size: 12.5px; opacity: .8; }
.vault-amt { font-size: 22px; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,.3); }
.vault-list { position: relative; margin-top: 12px; background: rgba(0,0,0,.22); border-radius: 14px; padding: 2px 12px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.vrow { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid rgba(255,255,255,.12); }
.vrow:first-child { border-top: 0; }
.vrow .sub { color: rgba(255,255,255,.72); }
.v-ic { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 16px; flex: none; }

/* wanted poster */
.poster { position: relative; border-radius: 6px; padding: 18px 18px 16px; text-align: center; color: var(--ink); margin: 6px 6px 8px;
  background: radial-gradient(circle at 50% 35%, #f8ebc8, var(--parch) 45%, #d7b877 110%);
  box-shadow: 0 0 0 2px rgba(58,36,18,.35) inset, 0 0 40px rgba(120,70,20,.35) inset, 0 16px 34px rgba(0,0,0,.45); transform: rotate(-1deg); }
.poster::before, .poster::after { content: ""; position: absolute; top: 10px; width: 12px; height: 12px; border-radius: 6px; background: radial-gradient(circle at 35% 35%, #ddd, #666); box-shadow: 0 2px 2px rgba(0,0,0,.4); }
.poster::before { left: 12px; } .poster::after { right: 12px; }
.poster-h { font-family: var(--pirate); font-size: 64px; line-height: .9; letter-spacing: 4px; color: #2b1a0d; }
.poster-sub { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .6; }
.poster-art { width: 118px; height: 96px; margin: 10px auto; border: 3px solid #2b1a0d; background: linear-gradient(180deg, #c9d9e6, #8fb0c9); display: grid; place-items: center; box-shadow: inset 0 0 12px rgba(0,0,0,.3); }
.poster-art svg { width: 74px; }
.poster-l { font-family: var(--pirate); font-size: 22px; letter-spacing: 3px; }
.poster-n { font-family: var(--pirate); font-size: 46px; line-height: 1; color: #9e1218; }
.rope { height: 10px; border-radius: 5px; overflow: hidden; display: flex; margin: 12px 0 8px; box-shadow: inset 0 0 0 1.5px rgba(58,36,18,.4); background: rgba(58,36,18,.12); }
.rope span { display: block; height: 100%; }
.poster-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-size: 12.5px; font-weight: 600; }
.poster-legend i, .legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 4px; }

.loan-tile { position: relative; overflow: hidden; border-radius: 18px; padding: 12px 14px; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.loan-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.2), transparent 40%); pointer-events: none; }
.lt-ic { font-size: 26px; } .lt-name { font-size: 13px; opacity: .9; margin-top: 4px; }
.lt-amt { font-size: 22px; font-weight: 800; } .lt-sub { font-size: 11.5px; opacity: .75; }

/* credit card tiles */
.ccard { position: relative; overflow: hidden; border-radius: 20px; padding: 16px 18px; margin-bottom: 14px; color: #fff; aspect-ratio: auto; min-height: 190px;
  box-shadow: 0 14px 30px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.25); }
.cc-shine { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.28), transparent 32%), radial-gradient(260px 160px at 110% 120%, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }
.cc-top { position: relative; display: flex; justify-content: space-between; align-items: center; }
.cc-bank { font-weight: 800; font-size: 15px; letter-spacing: .3px; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.cc-wm { font-weight: 900; font-size: 22px; font-style: italic; }
.cc-mid { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.chip { width: 42px; height: 32px; flex: none; }
.cc-name { font-size: 13px; opacity: .85; }
.cc-num { position: relative; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 16px; letter-spacing: 2px; margin-top: 12px; text-shadow: 0 1px 2px rgba(0,0,0,.4); opacity: .95; }
.cc-bottom { position: relative; display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; }
.cc-bottom small, .cc-util small { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .8px; opacity: .75; }
.cc-bottom b { font-size: 16px; }
.cc-util { position: relative; margin-top: 10px; }
.cc-bar { height: 6px; border-radius: 3px; background: rgba(0,0,0,.28); overflow: hidden; margin-bottom: 4px; }
.cc-bar span { display: block; height: 100%; border-radius: 3px; }

/* sea chart calendar */
.map { position: relative; border-radius: 18px; padding: 14px 12px 12px; color: var(--ink);
  background: radial-gradient(circle at 30% 20%, #f8ebc8, var(--parch) 50%, #d4b273 120%);
  box-shadow: inset 0 0 0 2px rgba(58,36,18,.3), inset 0 0 50px rgba(120,70,20,.3), 0 12px 28px rgba(0,0,0,.4); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.map-title { font-family: var(--pirate); font-size: 28px; line-height: 1; }
.map-sub { font-size: 12.5px; font-weight: 600; opacity: .7; }
.map-btn { width: 36px; height: 36px; border-radius: 18px; border: 2px solid rgba(58,36,18,.4); font-size: 20px; font-weight: 700; color: var(--ink); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal .dow { text-align: center; font-size: 12px; font-weight: 800; opacity: .55; padding: 3px 0; }
.cal .d { aspect-ratio: 1 / 1.1; border-radius: 10px; border: 1.5px dashed rgba(58,36,18,.22); padding: 3px 2px; display: flex; flex-direction: column; align-items: center; position: relative; min-width: 0; }
.cal .d .dn { font-weight: 700; font-size: 14px; }
.cal .d.out { opacity: .35; }
.cal .d.has { background: rgba(158,18,24,.07); border-style: solid; border-color: rgba(158,18,24,.3); }
.cal .d.today { box-shadow: 0 0 0 2.5px #1a5fae; }
.cal .d.sel { background: var(--ink); color: var(--parch); border-color: var(--ink); }
.xmark { font-family: var(--pirate); color: #b5121b; font-size: 18px; line-height: .9; font-weight: 700; }
.xmark.auto { color: #0f7a72; font-size: 13px; font-family: inherit; }
.cal .d.sel .xmark { color: #ff8a7a; } .cal .d.sel .xmark.auto { color: var(--teal); }
.cal .d .tot { font-size: 9px; font-weight: 700; opacity: .8; white-space: nowrap; overflow: hidden; max-width: 100%; }
.map-legend { display: flex; align-items: center; gap: 14px; margin-top: 10px; font-size: 12.5px; font-weight: 600; }
.map-legend .xk { font-family: var(--pirate); color: #b5121b; font-size: 16px; } .map-legend .xk.auto { color: #0f7a72; font-family: inherit; font-size: 13px; }
.map-legend .compass { margin-left: auto; font-size: 24px; }

.fund { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; overflow: hidden; }
.fund::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--bg); }
.fund-head { display: flex; align-items: center; gap: 12px; }
.fund-logo { min-width: 40px; padding: 0 5px; font-size: 13px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; flex: none; }
.pill { padding: 6px 10px; border-radius: 12px; font-weight: 800; font-size: 13px; text-align: right; white-space: nowrap; }
.pill small { display: block; font-weight: 600; font-size: 11px; opacity: .85; }
.pill.bad { background: rgba(255,90,95,.18); color: #ff8a8d; } .pill.ok { background: rgba(62,224,122,.16); color: var(--green); }
.fund-bar { height: 7px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0 4px; }
.fund-bar span { display: block; height: 100%; border-radius: 4px; }
.fund-row { display: flex; gap: 10px; font-size: 13.5px; padding: 6px 0; border-top: 1px solid var(--line); }
.fund-row span:first-child { color: var(--dim); width: 92px; flex: none; }

/* score / compass */
.compass-card { position: relative; border-radius: 22px; padding: 18px 16px 16px; margin-bottom: 12px; text-align: center; overflow: hidden;
  background: radial-gradient(300px 200px at 50% 85%, rgba(255,207,74,.18), transparent 70%), linear-gradient(160deg, #143a63, #0a2240);
  border: 1px solid rgba(201,164,106,.35); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.gauge { display: block; margin: 0 auto; }
.score-num { margin-top: -62px; }
.score-num .big { font-size: 50px; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.rank-badge { display: inline-block; margin: 8px 0 6px; padding: 6px 16px; border-radius: 20px; font-family: var(--pirate); font-size: 22px;
  color: var(--parch); background: color-mix(in srgb, var(--rc) 22%, transparent); border: 1.5px solid var(--rc); }
.next-rank { margin-top: 10px; font-size: 13.5px; color: var(--parch); background: rgba(0,0,0,.2); border-radius: 12px; padding: 8px; }
.ladder { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 6px; margin-bottom: 12px; }
.rung { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; opacity: .55; }
.rung.on { opacity: 1; background: color-mix(in srgb, var(--rc) 16%, transparent); box-shadow: inset 0 0 0 1.5px var(--rc); }
.rung .r-ic { font-size: 22px; width: 30px; text-align: center; }
.rung b { display: block; font-family: var(--pirate); font-weight: 400; font-size: 19px; color: var(--parch); }
.rung small { color: var(--dim); font-size: 12px; } .rung .num { color: var(--rc); font-weight: 800; }

/* tab bar */
nav.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 6; display: flex; background: rgba(6,17,31,.94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid rgba(201,164,106,.25); padding: 6px 4px calc(var(--safe-bot) + 6px); }
nav.tabs button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--pirate); font-size: 14px; color: var(--dim); padding: 4px 0; }
nav.tabs button svg { width: 25px; height: 25px; }
nav.tabs button.on { color: var(--gold); }
nav.tabs button.on svg { filter: drop-shadow(0 0 6px rgba(255,207,74,.5)); }

/* buttons */
.btn { display: block; width: 100%; padding: 14px; border-radius: 14px; background: linear-gradient(180deg, #3d9bff, #1f6fe0); color: #fff; font-weight: 700; text-align: center; margin-top: 10px; box-shadow: 0 6px 16px rgba(31,111,224,.35); }
.btn.secondary { background: rgba(255,255,255,.08); border: 1px solid var(--line); box-shadow: none; color: var(--text); }
.btn.gold { background: linear-gradient(180deg, #ffe07a, #e5a514); color: #3a2412; box-shadow: 0 6px 16px rgba(229,165,20,.3); }
.btn.danger { background: rgba(255,90,95,.14); color: var(--red); box-shadow: none; }
.btn-row { display: flex; gap: 10px; } .btn-row .btn { flex: 1; }

/* sheet / forms */
.sheet { position: fixed; inset: 0; z-index: 20; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; }
.sheet-card { background: #0f2340; border-top: 1px solid rgba(201,164,106,.35); width: 100%; max-width: 640px; max-height: 92vh; overflow: auto; border-radius: 22px 22px 0 0; padding: 18px 16px calc(var(--safe-bot) + 18px); }
.sheet-card h2 { margin: 0 0 12px; font-family: var(--pirate); font-weight: 400; font-size: 28px; color: var(--parch); display: flex; justify-content: space-between; align-items: center; }
.sheet-card .card { background: rgba(255,255,255,.05); }
.field { margin-bottom: 12px; }
.field label { display: block; font-size: 13px; color: var(--dim); margin-bottom: 5px; }
.field input, .field select { width: 100%; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); font-size: 16px; -webkit-appearance: none; appearance: none; }
.field select option { background: #0f2340; }
.field.check { display: flex; align-items: center; gap: 10px; } .field.check label { margin: 0; color: var(--text); font-size: 15px; }
.field.check input { width: 22px; height: 22px; -webkit-appearance: auto; appearance: auto; }

.login { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 24px; max-width: 420px; margin: 0 auto; text-align: center; }
.login h1 { font-family: var(--pirate); font-weight: 400; font-size: 52px; margin: 0; color: var(--parch); }
.login .art-chest { position: static; width: 170px; margin: 0 auto; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--safe-bot) + 88px); background: #1d3a60; border: 1px solid rgba(201,164,106,.35); padding: 10px 16px; border-radius: 14px; z-index: 30; font-size: 14px; max-width: 90vw; }
.blur .money { filter: blur(8px); }
