:root{
  --bg:#edf1f4;
  --surface:#ffffff;
  --surface-2:#f5f7f9;
  --surface-3:#e8edf1;
  --ink:#0b1720;
  --muted:#657783;
  --line:#d8e0e5;
  --brand:#07131d;
  --brand-2:#122531;
  --accent:#ffcc1a;
  --accent-2:#e8b900;
  --teal:#17bfa3;
  --danger:#dc3f49;
  --shadow:0 18px 60px rgba(7,19,29,.10);
  --shadow-soft:0 10px 30px rgba(7,19,29,.08);
  --radius-xl:30px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:13px;
  --max:1180px;
  --rail:94px;
  --bottom-nav:78px;
  --ease:cubic-bezier(.2,.75,.25,1);
}

html[data-theme="dark"]{
  --bg:#071018;
  --surface:#0d1922;
  --surface-2:#13232e;
  --surface-3:#1a2d39;
  --ink:#f5f8fa;
  --muted:#91a4af;
  --line:#203541;
  --brand:#030b10;
  --brand-2:#0d1d27;
  --shadow:0 18px 60px rgba(0,0,0,.34);
  --shadow-soft:0 10px 30px rgba(0,0,0,.22);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{
  margin:0;
  min-height:100vh;
  background:
    radial-gradient(circle at 18% -10%,rgba(255,204,26,.09),transparent 26rem),
    var(--bg);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overscroll-behavior-y:none;
}
button,input,select,textarea{font:inherit}
button,a{-webkit-tap-highlight-color:transparent}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{border:0}
.hidden{display:none!important}
.noscript{padding:18px;background:#7b1c25;color:#fff;text-align:center;font-weight:700}

.app-shell{min-height:100vh}
.desktop-rail{
  display:none;
  position:fixed;
  inset:0 auto 0 0;
  width:var(--rail);
  background:var(--brand);
  border-right:1px solid rgba(255,255,255,.08);
  padding:18px 12px 16px;
  z-index:40;
}
.rail-brand{
  width:66px;height:66px;
  margin:0 auto 24px;
  border-radius:22px;
  display:grid;place-items:center;
  background:#0d1d27;
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.rail-brand img{width:54px;height:auto}
.rail-nav{display:grid;gap:8px}
.rail-link{
  min-height:64px;
  border-radius:20px;
  display:grid;
  place-items:center;
  color:#8da0ab;
  transition:.25s var(--ease);
  position:relative;
}
.rail-link svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.rail-link span{font-size:10px;font-weight:750;margin-top:4px;letter-spacing:-.01em}
.rail-link.active{color:var(--accent);background:rgba(255,204,26,.10)}
.rail-link.active:before{content:"";position:absolute;left:-12px;width:3px;height:28px;border-radius:0 6px 6px 0;background:var(--accent)}
.rail-footer{position:absolute;left:12px;right:12px;bottom:15px;display:grid;place-items:center;gap:10px}
.rail-version{font-size:9px;color:#5d727f;font-weight:700;letter-spacing:.08em}

.app-column{min-height:100vh}
.topbar{
  position:sticky;top:0;z-index:30;
  height:76px;
  padding:env(safe-area-inset-top) 18px 0;
  display:flex;align-items:center;gap:13px;
  background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:blur(18px) saturate(145%);
  border-bottom:1px solid color-mix(in srgb,var(--line) 72%,transparent);
}
.mobile-brand{
  flex:0 0 50px;height:50px;
  border-radius:16px;
  display:grid;place-items:center;
  background:var(--brand);
  overflow:hidden;
  box-shadow:0 8px 22px rgba(7,19,29,.18);
}
.mobile-brand img{width:43px}
.topbar-copy{min-width:0;flex:1}
.eyebrow{margin:0 0 2px;color:var(--muted);font-size:9px;font-weight:850;letter-spacing:.16em}
.topbar h1{margin:0;font-size:18px;line-height:1.08;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-actions{display:flex;gap:7px}
.icon-button{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background:var(--surface);
  color:var(--ink);
  border:1px solid var(--line);
  cursor:pointer;
  transition:.2s var(--ease);
  box-shadow:0 5px 16px rgba(7,19,29,.04);
}
.icon-button:active{transform:scale(.94)}
.icon-button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.theme-icon{width:18px;height:18px;border-radius:50%;border:2px solid currentColor;position:relative}
.theme-icon:after{content:"";position:absolute;width:9px;height:9px;border-radius:50%;background:var(--surface);right:-3px;top:-3px}
html[data-theme="dark"] .theme-icon:after{background:var(--ink);width:5px;height:5px;right:1px;top:1px}

.app-view{
  width:min(100%,var(--max));
  margin:0 auto;
  min-height:calc(100vh - 76px);
  padding:18px 16px calc(var(--bottom-nav) + 30px + env(safe-area-inset-bottom));
  outline:none;
}
.view-loader{height:55vh;display:flex;align-items:center;justify-content:center;gap:7px}
.view-loader span{width:8px;height:8px;border-radius:50%;background:var(--accent);animation:loading 1s infinite alternate}
.view-loader span:nth-child(2){animation-delay:.15s}.view-loader span:nth-child(3){animation-delay:.3s}
@keyframes loading{to{transform:translateY(-8px);opacity:.4}}

.bottom-nav{
  position:fixed;
  z-index:35;
  left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));
  height:68px;
  padding:6px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  background:rgba(7,19,29,.94);
  backdrop-filter:blur(18px) saturate(140%);
  border:1px solid rgba(255,255,255,.10);
  border-radius:24px;
  box-shadow:0 18px 50px rgba(7,19,29,.28);
}
.nav-link{
  min-width:0;
  border-radius:18px;
  color:#80939f;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;
  transition:.2s var(--ease);
  position:relative;
}
.nav-link svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nav-link span{font-size:9px;font-weight:800;white-space:nowrap}
.nav-link.active{color:var(--accent);background:rgba(255,204,26,.10)}
.nav-link.active:after{content:"";position:absolute;top:4px;width:22px;height:2px;border-radius:4px;background:var(--accent)}

/* generic */
.view{animation:viewIn .34s var(--ease)}
@keyframes viewIn{from{opacity:.15;transform:translateY(10px)}to{opacity:1;transform:none}}
.section{margin-top:26px}
.section:first-child{margin-top:0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:0 2px 13px}
.section-head h2{font-size:20px;line-height:1.08;margin:0;letter-spacing:-.035em}
.section-head p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45}
.text-link{color:var(--ink);font-size:12px;font-weight:800;display:inline-flex;align-items:center;gap:5px;cursor:pointer}
.text-link:after{content:"→";color:var(--accent);font-size:17px;line-height:1}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);box-shadow:var(--shadow-soft)}
.badge{display:inline-flex;align-items:center;gap:5px;height:27px;padding:0 10px;border-radius:99px;background:var(--surface-2);border:1px solid var(--line);color:var(--muted);font-size:10px;font-weight:800;white-space:nowrap}
.badge.gold{background:rgba(255,204,26,.13);border-color:rgba(255,204,26,.35);color:color-mix(in srgb,var(--ink) 80%,#8d6d00)}
.badge.success{background:rgba(23,191,163,.10);border-color:rgba(23,191,163,.24);color:#0d8d77}
html[data-theme="dark"] .badge.success{color:#55d8c2}
.badge.danger{background:rgba(220,63,73,.09);border-color:rgba(220,63,73,.22);color:var(--danger)}
.badge svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.primary-button,.secondary-button,.ghost-button{
  min-height:48px;padding:0 17px;border-radius:15px;cursor:pointer;font-weight:820;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s var(--ease)
}
.primary-button{background:var(--accent);color:#07131d;box-shadow:0 10px 24px rgba(255,204,26,.22)}
.secondary-button{background:var(--brand);color:#fff}
.ghost-button{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.primary-button:active,.secondary-button:active,.ghost-button:active{transform:scale(.98)}
.primary-button svg,.secondary-button svg,.ghost-button svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.muted{color:var(--muted)}
.empty-state{padding:38px 24px;text-align:center;background:var(--surface);border:1px dashed var(--line);border-radius:var(--radius-lg)}
.empty-state .empty-icon{width:64px;height:64px;margin:0 auto 16px;border-radius:50%;display:grid;place-items:center;background:var(--surface-2);color:var(--accent)}
.empty-state .empty-icon svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}
.empty-state h3{margin:0 0 7px;font-size:18px}.empty-state p{margin:0 auto 18px;max-width:420px;color:var(--muted);font-size:13px;line-height:1.55}

/* home */
.hero{
  overflow:hidden;
  min-height:375px;
  position:relative;
  background:linear-gradient(145deg,#06111a 0%,#0b1e2a 58%,#18303d 100%);
  color:white;
  border-radius:30px;
  box-shadow:0 22px 65px rgba(7,19,29,.24);
  isolation:isolate;
}
.hero:before{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,204,26,.16);border-radius:50%;right:-120px;top:-145px;box-shadow:0 0 0 50px rgba(255,204,26,.03),0 0 0 100px rgba(255,204,26,.02)}
.hero:after{content:"";position:absolute;inset:auto -15% -75% 22%;height:110%;background:radial-gradient(ellipse,rgba(255,204,26,.12),transparent 55%);z-index:-1}
.hero-copy{padding:27px 24px 0;position:relative;z-index:3}
.hero-kicker{font-size:10px;font-weight:850;color:var(--accent);letter-spacing:.13em;margin:0 0 11px}
.hero h2{margin:0;max-width:430px;font-size:34px;line-height:.98;letter-spacing:-.055em}
.hero h2 span{color:var(--accent)}
.hero p{max-width:430px;margin:13px 0 0;color:#b8c7cf;font-size:13px;line-height:1.55}
.hero-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}
.hero .secondary-button{background:white;color:#07131d}
.hero-progress{
  margin:25px 18px 18px;
  min-height:104px;
  padding:15px 15px 15px 17px;
  display:flex;align-items:center;gap:14px;
  border-radius:22px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.11);
  backdrop-filter:blur(12px);
  position:relative;z-index:3;
}
.progress-ring{--p:0;width:72px;height:72px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:conic-gradient(var(--accent) calc(var(--p)*1%),rgba(255,255,255,.12) 0);position:relative}
.progress-ring:before{content:"";position:absolute;inset:7px;border-radius:50%;background:#10212b}
.progress-ring strong{position:relative;font-size:16px;letter-spacing:-.04em}.progress-ring small{display:block;font-size:8px;color:#8ea1ac;text-align:center;font-weight:750}
.hero-progress-copy{min-width:0}.hero-progress-copy strong{display:block;font-size:18px;letter-spacing:-.03em}.hero-progress-copy p{margin:4px 0 0;font-size:11px;color:#9fb0ba;line-height:1.4}
.hero-progress .mini-stat{margin-left:auto;text-align:right}.hero-progress .mini-stat strong{color:var(--accent);font-size:19px}.hero-progress .mini-stat span{display:block;font-size:9px;color:#8fa3af;margin-top:3px}

.quick-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:12px}
.stat-card{min-height:92px;padding:14px 13px;border-radius:20px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.stat-card strong{display:block;font-size:23px;letter-spacing:-.05em}.stat-card span{display:block;margin-top:5px;color:var(--muted);font-size:10px;font-weight:700;line-height:1.3}
.stat-card.gold strong{color:#bf9200}

.coin-showcase{overflow:hidden;position:relative;padding:20px;background:var(--brand);border-radius:var(--radius-xl);color:#fff}
.coin-showcase-head{display:flex;align-items:start;justify-content:space-between;gap:15px;position:relative;z-index:2}
.coin-showcase-head h3{margin:0;font-size:22px;letter-spacing:-.04em}.coin-showcase-head p{margin:6px 0 0;color:#9eb0ba;font-size:11px;line-height:1.5;max-width:360px}
.coin-stack{height:184px;position:relative;margin-top:4px}
.coin-stack img{position:absolute;width:125px;height:125px;object-fit:cover;border-radius:50%;box-shadow:0 18px 30px rgba(0,0,0,.26);border:2px solid rgba(255,255,255,.15);transition:.3s var(--ease)}
.coin-stack img:nth-child(1){left:0;bottom:5px;transform:rotate(-10deg)}
.coin-stack img:nth-child(2){left:18%;bottom:26px;transform:rotate(8deg)}
.coin-stack img:nth-child(3){left:37%;bottom:7px;transform:rotate(-4deg)}
.coin-stack img:nth-child(4){right:18%;bottom:30px;transform:rotate(10deg)}
.coin-stack img:nth-child(5){right:0;bottom:4px;transform:rotate(-7deg)}

.state-strip{display:flex;gap:8px;overflow:auto;padding:2px 2px 8px;scrollbar-width:none}.state-strip::-webkit-scrollbar{display:none}
.state-chip{flex:0 0 auto;height:42px;padding:0 14px;border-radius:14px;background:var(--surface);border:1px solid var(--line);color:var(--ink);font-size:11px;font-weight:800;cursor:pointer}.state-chip strong{color:var(--accent-2);margin-right:5px}

/* search / attractions */
.search-panel{padding:14px;border-radius:24px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);position:sticky;top:85px;z-index:12}
.search-box{height:50px;border-radius:16px;background:var(--surface-2);display:flex;align-items:center;padding:0 13px;border:1px solid transparent;transition:.2s}
.search-box:focus-within{border-color:rgba(255,204,26,.75);box-shadow:0 0 0 4px rgba(255,204,26,.10)}
.search-box svg{width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:1.8;margin-right:9px}
.search-box input{width:100%;border:0;background:transparent;outline:0;color:var(--ink);font-size:14px}.search-box input::placeholder{color:#91a0a9}
.filter-row{display:flex;gap:7px;margin-top:9px;overflow:auto;scrollbar-width:none}.filter-row::-webkit-scrollbar{display:none}
.filter-select,.filter-button{height:40px;flex:0 0 auto;border-radius:13px;background:var(--surface);border:1px solid var(--line);color:var(--ink);padding:0 12px;font-size:11px;font-weight:770;outline:0;cursor:pointer}
.filter-select{max-width:150px}
.filter-button.active{background:var(--brand);border-color:var(--brand);color:#fff}
.results-meta{display:flex;align-items:center;justify-content:space-between;margin:16px 2px 10px;color:var(--muted);font-size:11px}.results-meta strong{color:var(--ink)}
.attraction-list{display:grid;gap:10px}
.attraction-card{position:relative;display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;padding:17px;border-radius:22px;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft);cursor:pointer;transition:.2s var(--ease);overflow:hidden}
.attraction-card:active{transform:scale(.992)}
.attraction-card:before{content:"";position:absolute;left:0;top:14px;bottom:14px;width:3px;border-radius:0 5px 5px 0;background:var(--accent)}
.attraction-card.inactive:before{background:#83939d}.attraction-card.inactive{opacity:.78}
.attraction-title{font-size:15px;font-weight:850;line-height:1.2;letter-spacing:-.02em;margin:0 0 7px}.attraction-meta{display:flex;flex-wrap:wrap;gap:6px 11px;color:var(--muted);font-size:10px;font-weight:700}.meta-item{display:inline-flex;align-items:center;gap:5px}.meta-item svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8}
.attraction-progress{margin-top:10px;display:flex;align-items:center;gap:8px}.mini-progress{height:5px;border-radius:8px;background:var(--surface-3);overflow:hidden;flex:1}.mini-progress span{display:block;height:100%;border-radius:inherit;background:var(--accent)}.attraction-progress small{font-size:9px;color:var(--muted);font-weight:850;white-space:nowrap}
.card-chevron{width:36px;height:36px;border-radius:12px;background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}.card-chevron svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}
.load-more{margin:16px auto 0;display:flex}

/* detail */
.detail-hero{position:relative;overflow:hidden;background:var(--brand);color:#fff;padding:22px;border-radius:30px;box-shadow:var(--shadow)}
.detail-hero:after{content:"";position:absolute;width:260px;height:260px;right:-110px;top:-120px;border-radius:50%;border:1px solid rgba(255,204,26,.18);box-shadow:0 0 0 40px rgba(255,204,26,.035),0 0 0 80px rgba(255,204,26,.02)}
.back-button{position:relative;z-index:2;width:39px;height:39px;border-radius:13px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:white;display:grid;place-items:center;cursor:pointer}.back-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2}
.detail-hero h2{position:relative;z-index:2;margin:18px 0 7px;font-size:30px;line-height:1.04;letter-spacing:-.055em;max-width:620px}.detail-location{position:relative;z-index:2;color:#9fb1bb;font-size:12px;font-weight:720;display:flex;align-items:center;gap:6px}.detail-location svg{width:15px;height:15px;fill:none;stroke:var(--accent);stroke-width:1.8}
.detail-badges{position:relative;z-index:2;margin-top:17px;display:flex;gap:7px;flex-wrap:wrap}.detail-hero .badge{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.11);color:#cbd6dc}.detail-hero .badge.gold{color:var(--accent);border-color:rgba(255,204,26,.24);background:rgba(255,204,26,.07)}
.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.detail-actions a,.detail-actions button{flex:1 1 145px}
.souvenir-panel{padding:20px;border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-soft)}
.souvenir-panel-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.souvenir-panel-head h3{margin:0;font-size:20px;letter-spacing:-.035em}.souvenir-panel-head p{margin:5px 0 0;color:var(--muted);font-size:11px;line-height:1.45}.save-status{font-size:9px;color:var(--muted);font-weight:750;text-align:right;white-space:nowrap}.save-status strong{display:block;color:var(--teal);font-size:10px;margin-bottom:2px}
.souvenir-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}
.souvenir-slot{aspect-ratio:1;border-radius:50%;display:grid;place-items:center;position:relative;cursor:pointer;background:var(--surface-2);border:2px solid var(--line);transition:.2s var(--ease);overflow:hidden;user-select:none}.souvenir-slot:active{transform:scale(.94)}.souvenir-slot.selected{border-color:var(--accent);box-shadow:0 0 0 4px rgba(255,204,26,.10)}
.souvenir-slot img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);opacity:.42;transition:.2s}.souvenir-slot.selected img{filter:none;opacity:1}.souvenir-slot .slot-number{font-size:17px;font-weight:900;color:#99a7af}.souvenir-slot.selected .slot-number{color:#0b1720}.souvenir-slot.selected:not(:has(img)){background:var(--accent);border-color:var(--accent)}
.slot-check{position:absolute;right:-1px;bottom:-1px;width:24px;height:24px;border-radius:50%;background:var(--brand);border:2px solid var(--surface);display:none;place-items:center;color:var(--accent)}.selected .slot-check{display:grid}.slot-check svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.5}
.info-card{padding:18px;border-radius:22px;background:var(--surface);border:1px solid var(--line)}.info-card h3{margin:0 0 9px;font-size:16px}.info-card p{margin:0;color:var(--muted);font-size:12px;line-height:1.65;white-space:pre-line}

/* collection */
.collection-summary{padding:22px;background:var(--brand);color:#fff;border-radius:30px;box-shadow:var(--shadow);position:relative;overflow:hidden}.collection-summary:after{content:"";position:absolute;inset:auto -110px -150px auto;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(255,204,26,.18),transparent 62%)}
.collection-summary-head{position:relative;z-index:1;display:flex;align-items:start;justify-content:space-between;gap:15px}.collection-summary h2{margin:0;font-size:27px;letter-spacing:-.05em}.collection-summary p{margin:7px 0 0;color:#9fb0ba;font-size:11px;line-height:1.5}.big-count{position:relative;z-index:1;margin-top:24px;display:flex;align-items:end;gap:9px}.big-count strong{font-size:58px;line-height:.78;letter-spacing:-.08em;color:var(--accent)}.big-count span{font-size:11px;color:#9aadb8;padding-bottom:5px;font-weight:750}.collection-meter{position:relative;z-index:1;margin-top:19px}.collection-meter-labels{display:flex;justify-content:space-between;color:#a4b5bf;font-size:9px;font-weight:750;margin-bottom:7px}.collection-meter-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.10);overflow:hidden}.collection-meter-bar span{display:block;height:100%;background:var(--accent);border-radius:inherit}
.collection-card{padding:17px;background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:var(--shadow-soft);cursor:pointer}.collection-card-top{display:flex;align-items:start;justify-content:space-between;gap:10px}.collection-card h3{font-size:15px;margin:0 0 5px;letter-spacing:-.02em}.collection-card p{margin:0;color:var(--muted);font-size:10px}.collection-count{font-size:13px;font-weight:900;color:#bb9000}.collection-dots{display:flex;gap:5px;flex-wrap:wrap;margin-top:13px}.collection-dot{width:16px;height:16px;border-radius:50%;background:var(--surface-3);border:1px solid var(--line)}.collection-dot.active{background:var(--accent);border-color:var(--accent);box-shadow:inset 0 0 0 3px rgba(255,255,255,.46)}

/* products */
.segmented{display:grid;grid-template-columns:1fr 1fr;background:var(--surface-2);border:1px solid var(--line);padding:4px;border-radius:16px}.segmented button{height:40px;border-radius:12px;background:transparent;color:var(--muted);font-size:11px;font-weight:850;cursor:pointer}.segmented button.active{background:var(--surface);color:var(--ink);box-shadow:0 4px 14px rgba(7,19,29,.07)}
.product-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}.product-card{background:var(--surface);border:1px solid var(--line);border-radius:23px;overflow:hidden;box-shadow:var(--shadow-soft);cursor:pointer}.product-image{aspect-ratio:1/1.08;background:linear-gradient(145deg,var(--surface-2),var(--surface-3));display:grid;place-items:center;padding:14px;position:relative}.product-image img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 16px 18px rgba(7,19,29,.14))}.product-body{padding:13px}.product-body h3{font-size:14px;line-height:1.2;margin:0 0 6px;letter-spacing:-.02em}.product-body p{font-size:10px;line-height:1.45;color:var(--muted);margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.product-card .product-link{margin-top:10px;font-size:10px;font-weight:850;color:var(--ink);display:flex;align-items:center;justify-content:space-between}.product-link span:last-child{color:var(--accent-2);font-size:15px}

/* more */
.more-hero{padding:21px;background:var(--brand);border-radius:28px;color:#fff;display:flex;align-items:center;gap:15px;box-shadow:var(--shadow)}.more-logo{width:68px;height:68px;border-radius:20px;background:#10222d;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(255,255,255,.08)}.more-logo img{width:57px}.more-hero h2{font-size:22px;margin:0;letter-spacing:-.04em}.more-hero p{margin:5px 0 0;color:#9fb1bb;font-size:11px;line-height:1.5}
.menu-list{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-soft)}
.menu-row{width:100%;min-height:64px;padding:0 16px;background:transparent;color:var(--ink);display:grid;grid-template-columns:40px 1fr auto;gap:11px;align-items:center;text-align:left;border-bottom:1px solid var(--line);cursor:pointer}.menu-row:last-child{border-bottom:0}.menu-icon{width:40px;height:40px;border-radius:13px;background:var(--surface-2);display:grid;place-items:center;color:var(--ink)}.menu-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.menu-copy strong{display:block;font-size:12px}.menu-copy span{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.3}.menu-arrow{color:var(--muted);font-size:18px}
.data-notice{padding:16px;border-radius:20px;background:rgba(255,204,26,.09);border:1px solid rgba(255,204,26,.26);font-size:10px;line-height:1.55;color:var(--muted)}.data-notice strong{color:var(--ink)}
.faq-list{display:grid;gap:8px}.faq-item{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden}.faq-question{width:100%;padding:15px 16px;background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font-size:12px;font-weight:820;cursor:pointer}.faq-question span:last-child{font-size:19px;color:var(--accent-2);transition:.2s}.faq-item.open .faq-question span:last-child{transform:rotate(45deg)}.faq-answer{display:none;padding:0 16px 16px;color:var(--muted);font-size:11px;line-height:1.65;white-space:pre-line}.faq-item.open .faq-answer{display:block}
.about-copy{display:grid;gap:15px}.about-copy h3{font-size:18px;margin:0 0 5px}.about-copy p{font-size:12px;line-height:1.65;color:var(--muted);margin:0;white-space:pre-line}

/* modal / toast */
.modal-root:empty{display:none}.modal-root{position:fixed;inset:0;z-index:100;display:grid;place-items:end center;background:rgba(3,10,15,.62);backdrop-filter:blur(7px);padding:14px}.modal-card{width:min(100%,570px);max-height:min(86vh,760px);overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:28px;box-shadow:0 28px 90px rgba(0,0,0,.36);animation:modalIn .25s var(--ease)}@keyframes modalIn{from{transform:translateY(30px);opacity:.4}to{transform:none;opacity:1}}
.modal-head{position:sticky;top:0;z-index:2;padding:17px 17px 11px;background:color-mix(in srgb,var(--surface) 92%,transparent);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head h3{margin:0;font-size:18px;letter-spacing:-.03em}.modal-close{width:38px;height:38px;border-radius:12px;background:var(--surface-2);color:var(--ink);display:grid;place-items:center;cursor:pointer}.modal-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2}.modal-body{padding:6px 17px 19px}.modal-product-image{height:250px;border-radius:22px;background:var(--surface-2);display:grid;place-items:center;padding:20px;margin-bottom:17px}.modal-product-image img{max-height:100%;object-fit:contain;filter:drop-shadow(0 18px 22px rgba(7,19,29,.15))}.modal-body p{color:var(--muted);font-size:12px;line-height:1.7;white-space:pre-line}.modal-actions{display:flex;gap:9px;margin-top:18px}.modal-actions>*{flex:1}
.toast-stack{position:fixed;z-index:150;top:90px;left:50%;transform:translateX(-50%);width:min(calc(100% - 28px),430px);display:grid;gap:8px;pointer-events:none}.toast{padding:13px 15px;border-radius:15px;background:var(--brand);color:#fff;box-shadow:0 15px 35px rgba(7,19,29,.28);font-size:11px;font-weight:760;animation:toastIn .25s var(--ease)}@keyframes toastIn{from{transform:translateY(-10px);opacity:0}}

/* desktop */
@media (min-width:820px){
  .desktop-rail{display:block}
  .app-column{margin-left:var(--rail)}
  .bottom-nav{display:none}
  .mobile-brand,.mobile-theme{display:none}
  .topbar{height:86px;padding:0 32px;background:color-mix(in srgb,var(--bg) 86%,transparent)}
  .topbar h1{font-size:22px}.eyebrow{font-size:10px}
  .app-view{min-height:calc(100vh - 86px);padding:26px 32px 60px}
  .hero{min-height:430px;display:grid;grid-template-columns:1.3fr .7fr;align-items:end}
  .hero-copy{padding:40px 40px 32px;align-self:start}.hero h2{font-size:54px;max-width:650px}.hero p{font-size:14px}
  .hero-progress{margin:0 28px 28px 0;min-height:135px;align-self:end;padding:20px}.progress-ring{width:86px;height:86px}.progress-ring strong{font-size:19px}
  .quick-stats{gap:13px}.stat-card{padding:18px;min-height:108px}.stat-card strong{font-size:30px}.stat-card span{font-size:11px}
  .home-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;align-items:start}
  .coin-showcase{height:100%;min-height:330px;padding:26px}.coin-stack{height:220px}.coin-stack img{width:145px;height:145px}
  .search-panel{top:98px;padding:16px;display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:10px}.filter-row{margin-top:0}
  .attraction-list{grid-template-columns:1fr 1fr;gap:12px}
  .detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start}.detail-layout .detail-main{display:grid;gap:18px}.detail-layout .detail-side{position:sticky;top:105px}.souvenir-grid{grid-template-columns:repeat(4,1fr);gap:14px}
  .collection-layout{display:grid;grid-template-columns:360px 1fr;gap:18px;align-items:start}.collection-summary{position:sticky;top:105px}.collection-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}
  .product-grid{grid-template-columns:repeat(3,1fr);gap:14px}.product-image{aspect-ratio:1/1}
  .more-layout{display:grid;grid-template-columns:340px 1fr;gap:18px;align-items:start}.more-left{position:sticky;top:105px}.more-right{display:grid;gap:18px}
  .modal-root{place-items:center}.modal-card{border-radius:30px}
}

@media (min-width:1120px){
  .attraction-list{grid-template-columns:repeat(3,1fr)}
  .product-grid{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:360px){
  .hero h2{font-size:30px}.quick-stats{grid-template-columns:1fr 1fr}.quick-stats .stat-card:last-child{grid-column:1/-1}.souvenir-grid{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:1fr}.bottom-nav{left:7px;right:7px}.nav-link span{font-size:8px}
}

@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

.product-detail-card{overflow:hidden;display:grid;gap:0}
.product-detail-image{min-height:320px;background:linear-gradient(145deg,var(--surface-2),var(--surface-3));display:grid;place-items:center;padding:28px}
.product-detail-image img{max-height:380px;width:100%;object-fit:contain;filter:drop-shadow(0 20px 24px rgba(7,19,29,.16))}
.product-detail-copy{padding:22px}
.product-detail-copy h3{margin:0 0 10px;font-size:18px;letter-spacing:-.03em}
.product-detail-copy p{margin:0;color:var(--muted);font-size:12px;line-height:1.75;white-space:pre-line}
@media (min-width:820px){.product-detail-card{grid-template-columns:minmax(300px,.8fr) 1.2fr}.product-detail-image{min-height:440px}.product-detail-copy{padding:30px}}
