:root{
  --bg:#0B0B10; --surface:#17171F; --surface2:#20202B;
  --text:#F2F2F5; --muted:#9B9BA7; --accent:#0A84FF;
  --border:rgba(255,255,255,.09); --radius:20px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  background:var(--bg); color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Hiragino Kaku Gothic ProN",sans-serif;
  max-width:480px; margin:0 auto; min-height:100vh;
  padding:0 16px 120px;
}
a{color:inherit;text-decoration:none}
img{display:block}

/* header */
.site-head{
  display:flex; justify-content:space-between; align-items:center;
  padding:18px 2px 6px;
}
.logo{font-size:17px; font-weight:800; letter-spacing:.02em}
.head-fav{font-size:20px; color:var(--accent); padding:6px}

/* headings */
h1{font-size:32px; font-weight:800; line-height:1.25; margin:26px 0 20px}
h2{font-size:20px; font-weight:800; margin:34px 0 14px}
.backlink{display:inline-block; color:var(--accent); font-size:15px; font-weight:600; margin-top:18px}
.chip-now{
  display:inline-block; background:var(--surface2); color:var(--text);
  font-size:14px; font-weight:700; padding:6px 12px; border-radius:999px; margin-bottom:14px;
}

/* pickers */
.pick-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px}
.pick-btn{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:24px 14px; font-size:19px; font-weight:700; text-align:center; color:var(--text);
  transition:background .12s ease;
}
.pick-btn:active{background:var(--surface2)}
.pick-list{display:flex; flex-direction:column; gap:12px}
.pick-row{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px 18px; font-size:21px; font-weight:700; color:var(--text);
  display:flex; justify-content:space-between; align-items:center;
  transition:background .12s ease;
}
.pick-row:active{background:var(--surface2)}
.pick-row .arrow{color:var(--muted); font-weight:400}

/* feature links */
.feature-links{margin-top:40px; display:flex; flex-direction:column}
.feature-links a{
  padding:16px 2px; font-size:16px; font-weight:700;
  border-top:1px solid var(--border); display:flex; justify-content:space-between;
}
.feature-links a .arrow{color:var(--muted); font-weight:400}

/* cards */
.card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; margin-bottom:16px;
}
.card-shot img{width:100%; aspect-ratio:16/10; object-fit:cover; background:var(--surface2)}
.card-body{padding:14px 16px 16px}
.card-top{display:flex; justify-content:space-between; align-items:baseline; gap:10px}
.card-name{font-size:18px; font-weight:800; line-height:1.3}
.card-price{font-size:15px; font-weight:700; color:var(--accent); white-space:nowrap}
.card-one{font-size:14.5px; line-height:1.55; color:#D8D8DE; margin-top:6px}
.badges{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px}
.badge{
  background:var(--surface2); color:#C9C9D2; font-size:12px; font-weight:600;
  padding:4px 9px; border-radius:999px;
}
.card-actions{display:flex; gap:10px; margin-top:14px; align-items:stretch}
.btn-store{
  flex:1; text-align:center; background:var(--accent); color:#fff;
  font-size:15px; font-weight:700; padding:12px; border-radius:12px;
}
.btn-fav{
  width:48px; border-radius:12px; border:1px solid var(--border);
  background:var(--surface2); color:var(--muted); font-size:19px; cursor:pointer;
}
.btn-fav.on{color:#FF375F}
.change-link{display:block; text-align:center; color:var(--accent); font-weight:700; font-size:16px; padding:18px 0 4px}

/* detail */
.detail-head{display:flex; gap:14px; align-items:center; margin-top:22px}
.detail-head img{width:84px; height:84px; border-radius:20px}
.detail-name{font-size:23px; font-weight:800; line-height:1.3}
.detail-sub{color:var(--muted); font-size:14px; margin-top:3px}
.detail-store{margin-top:14px}
.detail-store .btn-store{display:block}
.detail-one{font-size:17px; font-weight:700; line-height:1.6; margin-top:22px}
.detail-review{font-size:15px; line-height:1.75; color:#D8D8DE; margin-top:8px}
.carousel{
  display:flex; gap:10px; overflow-x:auto; margin-top:18px;
  scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch;
  margin-left:-16px; margin-right:-16px; padding:0 16px;
}
.carousel img{height:280px; width:auto; border-radius:14px; scroll-snap-align:start; background:var(--surface2)}
.spec{list-style:none}
.spec li{
  padding:11px 2px; font-size:15.5px; border-bottom:1px solid var(--border);
  display:flex; gap:10px; align-items:center;
}
.spec li .mark{color:var(--accent); font-weight:800; width:18px}
.spec li.no{color:var(--muted)}
.spec li.no .label{text-decoration:line-through}
.spec li.no .mark{color:var(--muted)}
.details-table{width:100%; border-collapse:collapse}
.details-table th,.details-table td{
  text-align:left; font-size:14.5px; padding:10px 2px; border-bottom:1px solid var(--border);
  vertical-align:top;
}
.details-table th{color:var(--muted); font-weight:600; width:96px; white-space:nowrap}
.rating-note{font-size:12.5px; color:var(--muted)}

/* empty state */
.empty-btn{
  display:block; text-align:center; background:var(--accent); color:#fff;
  font-size:16px; font-weight:700; padding:16px; border-radius:14px; margin-top:28px;
}

/* bottom nav : Liquid Glass layer (nav only) */
.tabbar{
  position:fixed; left:50%; transform:translateX(-50%);
  bottom:calc(12px + env(safe-area-inset-bottom));
  width:min(440px, calc(100% - 24px));
  display:flex; justify-content:space-around;
  background:rgba(22,22,30,.55);
  -webkit-backdrop-filter:blur(22px) saturate(170%);
  backdrop-filter:blur(22px) saturate(170%);
  border:1px solid rgba(255,255,255,.14); border-radius:999px;
  padding:10px 8px; z-index:50;
  box-shadow:0 8px 30px rgba(0,0,0,.45);
}
.tabbar a{
  font-size:13.5px; font-weight:700; color:var(--muted);
  padding:8px 18px; border-radius:999px;
}
.tabbar a.on{color:#fff; background:rgba(255,255,255,.14)}
