/* ============================================================
   GOL LIVE POC — Cinematic Dark Design System
   3 switchable themes via [data-theme] CSS custom properties
   ============================================================ */

/* ---------- Theme tokens ---------- */
:root, [data-theme="brand"] {
  --bg: #120e1a; --bg2: #1a1426; --bg3: #241a33;
  --accent: #ff2d78; --accent2: #8b5cf6;
  --grad: linear-gradient(135deg, #ff2d78 0%, #8b5cf6 100%);
  --txt: #f5f3f7; --muted: #c3b9d4; --line: rgba(255,255,255,.08);   /* G1: muted lightened for WCAG AA */
  --glass: rgba(36, 26, 51, .55); --glass-brd: rgba(255,255,255,.12);
  --live: #ff4757; --ok: #2dd4a7; --warn: #ffd166; --gold: #f4c95d;
}
[data-theme="neon"] {
  --bg: #0a0a0c; --bg2: #111114; --bg3: #18181d;
  --accent: #ff0055; --accent2: #00aeef;
  --grad: linear-gradient(135deg, #ff0055 0%, #00aeef 100%);
  --txt: #ffffff; --muted: #cbcbcb; --line: rgba(255,255,255,.09);   /* G1: AA */
  --glass: rgba(20, 20, 26, .6); --glass-brd: rgba(255,255,255,.14);
  --live: #ff0055; --ok: #2dd4a7; --warn: #ffd166; --gold: #ffce54;
}
[data-theme="aurora"] {
  --bg: #14141f; --bg2: #1a1a2e; --bg3: #22223a;
  --accent: #20c997; --accent2: #ff6b9d;
  --grad: linear-gradient(135deg, #20c997 0%, #ff6b9d 100%);
  --txt: #f5f5f5; --muted: #c4c4c4; --line: rgba(255,255,255,.08);   /* G1: AA */
  --glass: rgba(31, 31, 51, .55); --glass-brd: rgba(255,255,255,.12);
  --live: #ff4757; --ok: #20c997; --warn: #ffd166; --gold: #e9c46a;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--txt);
  font-family: 'Inter', 'Noto Sans TC', 'Noto Sans JP', 'Noto Sans Thai', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
  font-size: 15px; line-height: 1.55; min-height: 100vh;
  background-image: radial-gradient(1200px 500px at 80% -10%, color-mix(in srgb, var(--accent2) 14%, transparent), transparent 60%),
                    radial-gradient(900px 420px at -10% 30%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 16px; color: var(--txt);   /* 16px min — <16px makes iOS Safari auto-zoom on focus */
  background: var(--bg3); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; outline: none; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); }
::placeholder { color: var(--muted); opacity: .7; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); } .small { font-size: 12.5px; }
.hide { display: none !important; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
}
.hd { display: flex; align-items: center; gap: 22px; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 18px; letter-spacing: .2px; white-space: nowrap; }
.logo .logo-img { height: 26px; width: auto; display: block; }
.logo .oo { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .live-tag { font-size: 10px; font-weight: 800; letter-spacing: 1.5px; padding: 3px 7px;
  border-radius: 999px; background: var(--grad); color: #fff; }
nav.main { display: flex; gap: 4px; flex: 1; }
nav.main a { padding: 8px 12px; border-radius: 9px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
nav.main a:hover { color: var(--txt); background: var(--bg3); }
nav.main a.on { color: var(--txt); background: var(--bg3); box-shadow: inset 0 -2px 0 var(--accent); }
.hd-actions { display: flex; align-items: center; gap: 8px; }
.chip { font-size: 12px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--glass-brd); background: var(--glass); color: var(--txt); transition: .2s; }
.chip:hover { border-color: var(--accent); box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 45%, transparent); }
.chip.solid { background: var(--grad); border: none; color: #fff; }
.cart-n { display: inline-block; min-width: 17px; text-align: center; font-size: 11px; background: var(--accent);
  color: #fff; border-radius: 999px; padding: 1px 4px; margin-left: 4px; }
.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; overflow: hidden;
  border-radius: 0 0 28px 28px; }
.hero-bg { position: absolute; inset: 0; background-size: 400% 400%; animation: heroFlow 14s ease infinite; opacity: .9; }
@keyframes heroFlow { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, color-mix(in srgb, var(--bg) 88%, transparent) 92%); }
.hero-in { position: relative; z-index: 2; padding: 56px 0 42px; width: 100%; }
.hero-badges { display: flex; gap: 8px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(28px, 4.6vw, 52px); font-weight: 900; line-height: 1.12; max-width: 760px;
  text-shadow: 0 4px 30px rgba(0,0,0,.45); }
.hero p.sub { margin-top: 12px; max-width: 620px; color: #e8e2f2; font-size: 15.5px; }
.hero-cta { margin-top: 22px; display: flex; gap: 12px; align-items: center; }

/* ---------- Badges / pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800;
  letter-spacing: 1px; padding: 5px 11px; border-radius: 999px; text-transform: uppercase; }
.pill.live { background: var(--live); color: #fff; box-shadow: 0 0 16px color-mix(in srgb, var(--live) 65%, transparent); }
.pill.live .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100%{opacity:1; transform:scale(1)} 50%{opacity:.35; transform:scale(.78)} }
.pill.selling { background: color-mix(in srgb, var(--ok) 22%, transparent); color: var(--ok); border: 1px solid var(--ok); }
.pill.upcoming { background: rgba(255,255,255,.07); color: var(--muted); border: 1px solid var(--line); }
.pill.replay { background: color-mix(in srgb, var(--accent2) 22%, transparent); color: color-mix(in srgb, var(--accent2) 70%, #fff); border: 1px solid var(--accent2); }
.pill.geo { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); border: 1px solid var(--warn); }
.pill.lottery { background: var(--grad); color: #fff; }
.pill.genre { background: rgba(255,255,255,.08); color: var(--txt); }

/* ---------- Sections / rows ---------- */
section.row { margin: 34px 0; }
.row-hd { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; }
.row-hd h2 { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.row-hd .bar { width: 26px; height: 4px; border-radius: 2px; background: var(--grad); }
.row-hd a.more { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.row-hd a.more:hover { color: var(--accent); }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(218px, 1fr)); }

/* ---------- Poster cards ---------- */
.card { position: relative; border-radius: 16px; overflow: hidden; background: var(--bg2);
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; cursor: pointer; }
.card:hover { transform: translateY(-5px) scale(1.015); border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  box-shadow: 0 14px 44px rgba(0,0,0,.5), 0 0 24px color-mix(in srgb, var(--accent) 28%, transparent); }
.poster { aspect-ratio: 3/4; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.poster .ini { font-size: 64px; font-weight: 900; color: rgba(255,255,255,.18); letter-spacing: 2px; }
.poster .ip { position: absolute; left: 14px; right: 14px; bottom: 12px; font-weight: 800; font-size: 16px;
  line-height: 1.25; text-shadow: 0 2px 14px rgba(0,0,0,.6); }
.poster .scrim { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, transparent 22%, transparent 72%, rgba(0,0,0,.28) 100%); }
.poster .shine { position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 48%, transparent 60%);
  transform: translateX(-110%); transition: transform .7s; }
.card:hover .shine { transform: translateX(110%); }
.poster .corner { position: absolute; top: 10px; left: 10px; }
.poster .corner-r { position: absolute; top: 10px; right: 10px; }
.card-meta { padding: 12px 14px 14px; }
.card-meta .t { font-weight: 700; font-size: 14px; line-height: 1.35; min-height: 38px; }
.card-meta .d { margin-top: 6px; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.card-meta .countdown { margin-top: 8px; font-size: 12px; color: var(--warn); font-variant-numeric: tabular-nums; font-weight: 700; }
.card-meta .price { color: var(--txt); font-weight: 800; }

/* ---------- Filter tabs ---------- */
.tabs { display: flex; gap: 8px; margin: 26px 0 6px; flex-wrap: wrap; }
.tabs button { padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--bg3); border: 1px solid var(--line); color: var(--muted); transition: .2s; }
.tabs button.on { background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 40%, transparent); }

/* ---------- Event detail ---------- */
.detail { display: grid; grid-template-columns: 340px 1fr; gap: 34px; margin-top: 30px; align-items: start; }
.detail .poster-lg { position: sticky; top: 84px; border-radius: 18px; overflow: hidden; aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--glass-brd);
  box-shadow: 0 24px 70px rgba(0,0,0,.55); }
.poster-lg .ini { font-size: 110px; font-weight: 900; color: rgba(255,255,255,.16); }
.poster-lg .ip { position: absolute; left: 20px; right: 20px; bottom: 20px; font-size: 24px; font-weight: 900; text-shadow: 0 2px 18px rgba(0,0,0,.65); }
.d-head h1 { font-size: clamp(22px, 3vw, 34px); font-weight: 900; line-height: 1.2; margin: 10px 0 6px; }
.d-cast { color: var(--muted); font-size: 14px; }
.countbox { display: flex; gap: 10px; margin: 18px 0; }
.countbox .cell { background: var(--glass); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 14px; padding: 12px 0 8px; text-align: center; width: 78px; }
.countbox .num { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.countbox .lab { font-size: 10px; letter-spacing: 1.5px; color: var(--muted); font-weight: 700; }
.kv { display: flex; gap: 10px; margin: 6px 0; font-size: 14px; }
.kv .k { color: var(--muted); min-width: 110px; font-weight: 600; }

/* ticket cards */
.tickets { display: flex; flex-direction: column; gap: 12px; margin: 18px 0; }
.tk { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px;
  border-radius: 14px; background: var(--glass); border: 1.5px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: .2s; }
.tk:hover { border-color: var(--accent); }
.tk.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 22px color-mix(in srgb, var(--accent) 30%, transparent); }
.tk.vip { border-image: linear-gradient(120deg, var(--gold), #fff4, var(--gold)) 1; border-style: solid;
  background: linear-gradient(160deg, color-mix(in srgb, var(--gold) 10%, var(--glass)), var(--glass)); }
.tk .rad { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); flex: none; position: relative; }
.tk.sel .rad { border-color: var(--accent); }
.tk.sel .rad::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.tk .info { flex: 1; }
.tk .nm { font-weight: 800; font-size: 14.5px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tk .perks { margin-top: 4px; font-size: 12px; color: var(--muted); }
.tk .pr { font-size: 18px; font-weight: 900; white-space: nowrap; }
.qtyc { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.qtyc button { width: 32px; height: 32px; background: var(--bg3); font-size: 16px; font-weight: 800; }
.qtyc button:hover { background: var(--accent); color: #fff; }
.qtyc .v { width: 38px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }

.buybar { display: flex; align-items: center; gap: 14px; padding: 16px; margin-top: 6px;
  border-radius: 16px; background: var(--glass); border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.buybar .tot { font-size: 20px; font-weight: 900; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 13px; font-weight: 800; font-size: 14.5px; letter-spacing: .4px;
  background: var(--grad); color: #fff; transition: .22s; border: none;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--accent) 38%, transparent); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 50%, transparent); }
.btn.ghost { background: transparent; border: 1.5px solid var(--glass-brd); color: var(--txt); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); }
.btn.sm { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.noticebox { margin: 16px 0; padding: 13px 16px; border-radius: 12px; font-size: 13px;
  background: color-mix(in srgb, var(--warn) 9%, transparent); border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); color: var(--warn); }
.d-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin: 26px 0 16px; }
.d-tabs button { padding: 10px 18px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; }
.d-tabs button.on { color: var(--txt); border-color: var(--accent); }
.guide-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 14px 0; }
.gstep { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 14px; padding: 16px; text-align: center; }
.gstep .n { width: 30px; height: 30px; margin: 0 auto 8px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; }

/* support wall */
.wall { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.wall .w { display: flex; gap: 12px; padding: 12px 14px; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 12px; }
.wall .amt { margin-left: auto; font-weight: 900; color: var(--gold); white-space: nowrap; }

/* ---------- Cart / checkout ---------- */
.page-title { font-size: 26px; font-weight: 900; margin: 30px 0 18px; display: flex; align-items: center; gap: 12px; }
.cartline { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--glass);
  border: 1px solid var(--glass-brd); border-radius: 14px; margin-bottom: 10px; }
.thumb { width: 56px; height: 74px; border-radius: 9px; flex: none; display: flex; align-items: center;
  justify-content: center; font-weight: 900; color: rgba(255,255,255,.25); overflow: hidden; }
.co-grid { display: grid; grid-template-columns: 1fr 380px; gap: 26px; align-items: start; margin-top: 8px; }
.panel { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 16px; padding: 20px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.panel h3 { font-size: 15px; font-weight: 800; margin-bottom: 12px; }
.payopt { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: 11px; margin-bottom: 8px; cursor: pointer; font-weight: 700; font-size: 14px; }
.payopt.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); }
.agree { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; color: var(--muted); margin: 9px 0; cursor: pointer; }
.agree input { width: auto; margin-top: 2px; }
.sumline { display: flex; justify-content: space-between; margin: 7px 0; font-size: 14px; }
.sumline.tot { font-size: 18px; font-weight: 900; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }

/* success */
.success { text-align: center; padding: 56px 0 30px; }
.bigcheck { width: 86px; height: 86px; margin: 0 auto 18px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 42px; color: #fff;
  box-shadow: 0 0 50px color-mix(in srgb, var(--accent) 55%, transparent); animation: popIn .5s cubic-bezier(.2,1.6,.4,1); }
@keyframes popIn { from { transform: scale(.3); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.ticket-visual { max-width: 430px; margin: 26px auto; border-radius: 18px; overflow: hidden; text-align: left;
  background: var(--bg2); border: 1px solid var(--glass-brd); box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.ticket-visual .top { padding: 18px 22px; background: var(--grad); color: #fff; }
.ticket-visual .bot { padding: 18px 22px; display: flex; gap: 18px; align-items: center;
  border-top: 2px dashed var(--line); position: relative; }
.ticket-visual .bot::before, .ticket-visual .bot::after { content: ''; position: absolute; top: -11px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--bg); }
.ticket-visual .bot::before { left: -11px; } .ticket-visual .bot::after { right: -11px; }
.qr { width: 84px; height: 84px; flex: none; background:
  repeating-linear-gradient(0deg, #fff 0 4px, transparent 4px 8px),
  repeating-linear-gradient(90deg, #fff 0 4px, #111 4px 8px); border-radius: 8px; opacity: .92; }
.confetti { position: fixed; top: -10px; font-size: 16px; animation: fall linear forwards; z-index: 90; pointer-events: none; }
@keyframes fall { to { transform: translateY(105vh) rotate(720deg); opacity: .2; } }

/* ---------- My Box ---------- */
.boxcard { display: flex; gap: 16px; padding: 16px; background: var(--glass); border: 1px solid var(--glass-brd);
  border-radius: 16px; margin-bottom: 14px; align-items: stretch; flex-wrap: wrap; }
.boxcard .acts { display: flex; gap: 10px; flex-direction: column; justify-content: center; min-width: 170px; }
.statecard { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; text-align: center; font-size: 13px; }
.statecard.on { border-color: var(--ok); color: var(--ok); }
.statecard.off { color: var(--muted); }
.couponcard { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px dashed var(--accent); background: color-mix(in srgb, var(--accent) 6%, transparent); margin-bottom: 10px; }
.couponcard code { font-size: 16px; font-weight: 900; letter-spacing: 1px; color: var(--accent); }

/* ---------- Goods ---------- */
.goods-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.good { background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 16px; overflow: hidden; }
.good .ph { height: 130px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 26px; color: rgba(255,255,255,.25); }
.good .in { padding: 14px; }
.good .nm { font-weight: 700; font-size: 14px; min-height: 40px; }

/* ---------- Live room ---------- */
.liveroom { display: grid; grid-template-columns: 1fr 360px; gap: 0; height: calc(100vh - 60px); }
.stage { position: relative; background: #000; display: flex; flex-direction: column; }
.screen { position: relative; flex: 1; overflow: hidden; }
canvas.show { width: 100%; height: 100%; display: block; }
.wm { position: absolute; top: 0; left: 0; font-size: 12px; color: rgba(255,255,255,.28); font-weight: 700; letter-spacing: 1px;
  pointer-events: none; z-index: 6; text-shadow: 0 0 6px rgba(0,0,0,.4); transition: transform 4s linear; will-change: transform; }
.stage-meta { position: absolute; top: 14px; left: 16px; z-index: 5; display: flex; gap: 8px; align-items: center; }
.stage-meta .vc { font-size: 12px; font-weight: 700; background: rgba(0,0,0,.45); padding: 5px 10px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.subtitle { position: absolute; left: 0; right: 0; bottom: 64px; text-align: center; z-index: 6; padding: 0 40px; }
.subtitle span { display: inline-block; background: rgba(0,0,0,.62); padding: 7px 16px; border-radius: 10px;
  font-size: 16px; font-weight: 600; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ctrlbar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: #0b0b0e;
  border-top: 1px solid var(--line); flex-wrap: wrap; }
.ctrlbar select { width: auto; padding: 6px 10px; font-size: 12.5px; border-radius: 8px; }
.ctrlbar .lab { font-size: 11.5px; color: var(--muted); font-weight: 700; }
.hearts { position: absolute; right: 14px; bottom: 80px; z-index: 7; }
.heartbtn { width: 52px; height: 52px; border-radius: 50%; background: var(--glass); border: 1px solid var(--glass-brd);
  font-size: 22px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: .15s; }
.heartbtn:active { transform: scale(1.25); }
.fly { position: absolute; right: 18px; bottom: 60px; font-size: 18px; animation: flyup 2.2s ease-out forwards; pointer-events: none; }
@keyframes flyup { 0% { opacity: 1; transform: translateY(0) scale(1); } 100% { opacity: 0; transform: translateY(-280px) translateX(-18px) scale(1.5); } }

.chatpane { display: flex; flex-direction: column; background: color-mix(in srgb, var(--bg2) 80%, transparent);
  border-left: 1px solid var(--line); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.chat-tabs { display: flex; border-bottom: 1px solid var(--line); }
.chat-tabs button { flex: 1; padding: 12px; font-weight: 800; font-size: 13px; color: var(--muted); border-bottom: 2px solid transparent; }
.chat-tabs button.on { color: var(--txt); border-color: var(--accent); }
.pinmsg { margin: 10px 12px 0; padding: 9px 12px; border-radius: 10px; font-size: 12.5px;
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.chatlist { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.cmsg { font-size: 13.5px; line-height: 1.45; animation: slideIn .25s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cmsg .u { font-weight: 800; margin-right: 7px; }
.chatin { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.qaitem { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; margin: 0 12px 10px; font-size: 13.5px; }
.qaitem .v { float: right; font-weight: 800; color: var(--accent); cursor: pointer; }
.qaitem.answering { border-color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, transparent); }

/* ---------- Replay ---------- */
.replaybar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.progress { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); position: relative; cursor: pointer; }
.progress .fill { height: 100%; border-radius: 3px; background: var(--grad); width: 38%; }
.progress .chap { position: absolute; top: -3px; width: 4px; height: 12px; border-radius: 2px; background: var(--warn); }

/* ---------- 1:1 Call ---------- */
.callwrap { max-width: 880px; margin: 30px auto; }
.callstage { position: relative; border-radius: 22px; overflow: hidden; background: #000; aspect-ratio: 16/9;
  border: 1px solid var(--glass-brd); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.callstage video.artist, .callstage canvas.artist { width: 100%; height: 100%; object-fit: cover; display: block; }
.selfpip { position: absolute; right: 16px; bottom: 16px; width: 24%; min-width: 150px; aspect-ratio: 4/3;
  border-radius: 14px; overflow: hidden; border: 2px solid var(--glass-brd); background: #111; z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.selfpip video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.calltimer { position: absolute; top: 14px; right: 16px; z-index: 6; font-variant-numeric: tabular-nums;
  background: rgba(0,0,0,.55); padding: 8px 16px; border-radius: 999px; font-weight: 900; font-size: 18px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.calltimer.warn { color: var(--live); animation: pulse 1s infinite; }
.callname { position: absolute; top: 14px; left: 16px; z-index: 6; background: rgba(0,0,0,.55);
  padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.queuelist { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.qrow { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-radius: 12px;
  background: var(--glass); border: 1px solid var(--glass-brd); font-size: 14px; }
.qrow .no { width: 30px; height: 30px; border-radius: 50%; background: var(--bg3); display: flex;
  align-items: center; justify-content: center; font-weight: 800; font-size: 13px; flex: none; }
.qrow.you { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); }
.qrow.you .no { background: var(--grad); color: #fff; }
.qrow.done { opacity: .45; }
.qrow.livecall { border-color: var(--live); }
.qrow .st { margin-left: auto; font-size: 12px; font-weight: 800; }
.callsteps { display: flex; gap: 6px; margin: 22px 0; }
.callsteps .cs { flex: 1; text-align: center; font-size: 12px; font-weight: 700; color: var(--muted);
  padding: 10px 4px; border-top: 3px solid var(--line); }
.callsteps .cs.on { color: var(--txt); border-color: var(--accent); }
.greenroom { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.greenroom .prev { border-radius: 16px; overflow: hidden; background: #111; aspect-ratio: 4/3; position: relative; }
.greenroom .prev video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.checkrow { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 11px;
  background: var(--glass); border: 1px solid var(--glass-brd); margin-bottom: 9px; font-size: 13.5px; font-weight: 600; }
.checkrow .okm { color: var(--ok); font-weight: 900; margin-left: auto; }

/* ---------- Login modal ---------- */
.modal-veil { position: fixed; inset: 0; background: rgba(6,4,12,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { width: 100%; max-width: 410px; background: var(--bg2); border: 1px solid var(--glass-brd);
  border-radius: 22px; padding: 30px; box-shadow: 0 30px 90px rgba(0,0,0,.65); animation: popIn .35s cubic-bezier(.2,1.4,.4,1); }
.modal h2 { font-size: 21px; font-weight: 900; margin-bottom: 6px; }
.modal .fld { margin: 12px 0; }

/* ---------- Phone frame mode ---------- */
.phone-veil { position: fixed; inset: 0; z-index: 95; background: rgba(8,5,14,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; gap: 40px; }
.phone-frame { width: 393px; height: 84vh; max-height: 832px; border-radius: 44px; border: 10px solid #16121f;
  box-shadow: 0 40px 110px rgba(0,0,0,.8), 0 0 0 2px #2a2438; overflow: hidden; position: relative; background: #000; flex: none; }
.phone-frame iframe { width: 100%; height: 100%; border: none; }
.phone-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 118px; height: 26px;
  border-radius: 16px; background: #16121f; z-index: 4; }
.phone-side { color: var(--muted); max-width: 300px; font-size: 14px; line-height: 1.7; }
.phone-side h3 { color: var(--txt); font-size: 20px; font-weight: 900; margin-bottom: 10px; }

/* ---------- Footer ---------- */
footer.site { margin-top: 60px; border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 12.5px; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 120;
  background: var(--bg3); border: 1px solid var(--accent); color: var(--txt); padding: 12px 22px;
  border-radius: 12px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.5); animation: slideIn .25s; }

/* ============================================================
   Responsive — distinct App (mobile) layout
   Driven by html.mobile-mode (toggled synchronously by a <head>
   script for real phones via matchMedia, OR by "View as App").
   No media query here = the same rules also power the desktop
   "View as App" phone preview without an iframe (works behind
   Cloudflare Access).
   ============================================================ */

/* bottom tab bar — the signature app nav (hidden until mobile-mode) */
.mobile-tabbar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border-top: 1px solid var(--line); padding: 7px 0 calc(9px + env(safe-area-inset-bottom)); }
.mobile-tabbar a { flex: 1; text-align: center; font-size: 10px; font-weight: 700; color: var(--muted); padding: 5px 2px; letter-spacing: .2px; }
.mobile-tabbar a.on { color: var(--accent); }
.mobile-tabbar a.on .ico { transform: translateY(-1px); filter: drop-shadow(0 0 8px color-mix(in srgb, var(--accent) 70%, transparent)); }
.mobile-tabbar .ico { display: block; font-size: 21px; margin-bottom: 1px; line-height: 1; }
.app-exit { position: fixed; top: 16px; right: 20px; z-index: 210; }

html.mobile-mode .wrap { padding: 0 14px; }
html.mobile-mode nav.main { display: none; }
html.mobile-mode .hd { gap: 8px; height: 54px; }
html.mobile-mode .logo { font-size: 15px; gap: 7px; }
html.mobile-mode .logo .logo-img { height: 21px; }
html.mobile-mode .logo .live-tag { font-size: 9px; padding: 2px 6px; }
html.mobile-mode .hd-actions { gap: 6px; }
html.mobile-mode .hd-actions .chip { padding: 6px 9px; font-size: 11px; }
html.mobile-mode #themeSel { max-width: 92px; }
html.mobile-mode #phoneBtn { display: none; } /* "View as App" is desktop-only */
html.mobile-mode .mobile-tabbar { display: flex; }
html.mobile-mode body { padding-bottom: 72px; }

/* cinematic full-bleed hero — app splash feel */
html.mobile-mode .hero { min-height: 62vh; border-radius: 0 0 22px 22px; align-items: flex-end; }
html.mobile-mode .hero-in { padding: 40px 0 30px; }
html.mobile-mode .hero h1 { font-size: clamp(26px, 8vw, 36px); }
html.mobile-mode .hero p.sub { font-size: 14px; }
html.mobile-mode .hero-cta { flex-direction: column; align-items: stretch; }
html.mobile-mode .hero-cta .btn { width: 100%; justify-content: center; }

/* poster grid — 2 columns, bigger touch targets */
html.mobile-mode .grid { grid-template-columns: 1fr 1fr; gap: 11px; }
html.mobile-mode .row { margin: 24px 0; }
html.mobile-mode .row-hd h2 { font-size: 18px; }
html.mobile-mode .card:hover { transform: none; }
html.mobile-mode .card:active { transform: scale(.97); }

/* event detail — stacked + sticky buy bar above the tab bar */
html.mobile-mode .detail { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
html.mobile-mode .detail > div { min-width: 0; }   /* let the column shrink below content min so overflow-x:auto children (compare table) scroll instead of forcing page-wide horizontal scroll */
.cmp-scroll, .cmp { min-width: 0; max-width: 100%; }
html.mobile-mode .detail .poster-lg { position: static; max-width: 200px; margin: 0 auto; }
html.mobile-mode .d-head h1 { font-size: 23px; }
html.mobile-mode .countbox .cell { width: auto; flex: 1; }   /* was invalid width:1fr */
html.mobile-mode .buybar { position: sticky; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 40; box-shadow: 0 10px 30px rgba(0,0,0,.5);
  flex-wrap: wrap; gap: 10px; padding: 12px 14px; }   /* wrap buttons to a 2nd row on phones so the row doesn't force ~398px horizontal scroll */
html.mobile-mode .buybar .btn { flex: 1 1 auto; }
html.mobile-mode .tk { padding: 14px 12px; }          /* trim ticket-row min-width a touch for small phones */
html.mobile-mode .tickets { gap: 10px; }

/* checkout / mybox single column */
html.mobile-mode .co-grid { grid-template-columns: 1fr; }
html.mobile-mode .page-title { font-size: 21px; margin: 20px 0 14px; }
html.mobile-mode .boxcard .acts { min-width: 0; flex-direction: row; flex-wrap: wrap; }

/* live room — video on top, chat below, full width */
html.mobile-mode .liveroom { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
html.mobile-mode .stage { height: 40vh; }
html.mobile-mode .chatpane { border-left: none; border-top: 1px solid var(--line); height: 48vh; }
html.mobile-mode .subtitle { bottom: 50px; padding: 0 72px 0 16px; }   /* B3: keep captions clear of the heart button (right:14px) */
html.mobile-mode .subtitle span { font-size: 13px; }

/* 1:1 call — vertical (portrait) like a real video call */
html.mobile-mode .callwrap { margin: 14px auto; }
html.mobile-mode .callstage { aspect-ratio: 9 / 16; max-height: 68vh; margin: 0 auto; }
html.mobile-mode .greenroom { grid-template-columns: 1fr; }
html.mobile-mode .co-grid[style] { grid-template-columns: 1fr !important; }
html.mobile-mode .selfpip { width: 34%; min-width: 110px; }

/* ---- Desktop "View as App" preview: centred phone column + bezel (no iframe) ---- */
html.force-mobile { background: #07060c; overflow-x: hidden; }
html.force-mobile body { max-width: 414px; margin: 0 auto; min-height: 100vh;
  box-shadow: 0 0 0 11px #14101e, 0 0 0 13px #2c2640, 0 40px 130px rgba(0,0,0,.75); }
html.force-mobile header.site { max-width: 414px; margin: 0 auto; }
html.force-mobile .mobile-tabbar { left: 50%; transform: translateX(-50%); width: 414px; max-width: 414px; }
html.force-mobile .toast { z-index: 220; }

/* ============================================================
   Phase-1 P0 fixes (2026-07-06) — a11y focus / 1:1 mode / policy
   / checkout breakdown / payment-failure / oversell
   ============================================================ */

/* G2 — keyboard focus visibility (was: outline:none everywhere) */
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 2px; border-radius: 6px; }
.card:focus-visible, .tk:focus-visible, .payopt:focus-visible { outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 300; background: var(--accent);
  color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; font-weight: 800; }
.skip-link:focus { left: 0; }

/* T3 — 1:1 mode badge + "how the call works" info card */
.mode-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800;
  padding: 3px 9px; border-radius: 999px; letter-spacing: .3px; white-space: nowrap;   /* B2: wrap the whole pill, not inside it */
  background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok);
  border: 1px solid color-mix(in srgb, var(--ok) 55%, transparent); }
.mode-badge.external { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 55%, transparent); }
.info-card { margin: 16px 0; padding: 16px 18px; border-radius: 14px; background: var(--glass);
  border: 1px solid var(--glass-brd); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.info-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.info-card .steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.info-card .st { font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.info-card .st b { color: var(--txt); }

/* T2 — pre-purchase "know before you buy" summary + policy modal */
.buy-notice { margin: 14px 0; padding: 14px 16px; border-radius: 13px;
  background: color-mix(in srgb, var(--accent2) 9%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent2) 40%, transparent); font-size: 13px; }
.buy-notice b { display: block; margin-bottom: 8px; font-size: 13.5px; }
.buy-notice ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.buy-notice li { display: flex; gap: 8px; align-items: flex-start; color: var(--txt); }
.buy-notice li .ic { flex: none; }
.linkbtn { background: none; border: none; color: var(--accent2); font-weight: 800; text-decoration: underline;
  cursor: pointer; font-size: inherit; padding: 0; font-family: inherit; }
.linkbtn:hover { color: var(--accent); }
.policy-modal { max-width: 560px; max-height: 82vh; overflow: auto; text-align: left; }
.policy-modal h2 { margin-bottom: 14px; }
.policy-modal ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.policy-modal li { display: flex; gap: 10px; font-size: 14px; line-height: 1.55; }
.policy-modal li::before { content: '✓'; color: var(--ok); font-weight: 900; flex: none; }
.policy-modal .close { margin-top: 18px; width: 100%; }

/* T5 — checkout breakdown fee note */
.sumline.fee .muted { display: flex; align-items: center; gap: 6px; }
.fx-note { font-size: 11.5px; color: var(--muted); margin-top: 6px; line-height: 1.5;
  padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.04); }
.demo-fail-link { display: block; text-align: center; margin-top: 10px; font-size: 12px; color: var(--muted);
  text-decoration: underline; background: none; border: none; width: 100%; cursor: pointer; font-family: inherit; }

/* T6 — payment failure page */
.failwrap { max-width: 520px; margin: 40px auto; text-align: center; }
.fail-icon { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%;
  background: color-mix(in srgb, var(--live) 20%, transparent); border: 2px solid var(--live);
  display: flex; align-items: center; justify-content: center; font-size: 40px; color: var(--live); }
.fail-panel { text-align: left; margin-top: 22px; }
.fail-row { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; align-items: flex-start; }
.fail-row:last-child { border-bottom: none; }
.fail-row .fic { flex: none; font-size: 18px; }
.fail-row .ft { font-weight: 800; margin-bottom: 2px; }
.fail-row .fd { color: var(--muted); font-size: 13px; }
.fail-cta { display: flex; gap: 10px; margin-top: 20px; }
.fail-cta .btn { flex: 1; }
.assure { color: var(--ok); font-weight: 800; }

/* O2 — sold-out / low-stock ticket states */
.tk.soldout { opacity: .5; filter: grayscale(.4); cursor: not-allowed; }
.tk.soldout:hover { border-color: var(--glass-brd); }
.stock-pill { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px;
  background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn);
  border: 1px solid color-mix(in srgb, var(--warn) 45%, transparent); white-space: nowrap; }
.stock-pill.low { background: color-mix(in srgb, var(--live) 16%, transparent); color: var(--live);
  border-color: color-mix(in srgb, var(--live) 45%, transparent); }
.stock-pill.out { background: rgba(255,255,255,.08); color: var(--muted); border-color: var(--line); }

/* ============================================================
   Phase-2 fixes — funnel: social proof / ticket comparison /
   lottery transparency / add-ons / cart back-link / mobile cart
   ============================================================ */

/* F4 social proof */
.social-proof { margin: 12px 0; padding: 10px 14px; border-radius: 11px; font-size: 13.5px;
  background: color-mix(in srgb, var(--ok) 10%, transparent); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.social-proof b { color: var(--ok); font-size: 15px; }

/* F5 scarcity line (bound to real mock inventory) */
.scarcity { display: inline-block; margin: 8px 0; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--live); background: color-mix(in srgb, var(--live) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--live) 45%, transparent); }

/* T4 ticket comparison matrix */
.cmp { margin: 16px 0; }
.cmp-h { font-size: 13px; font-weight: 800; margin-bottom: 8px; color: var(--muted); }
.cmp-scroll { overflow-x: auto; border: 1px solid var(--glass-brd); border-radius: 12px; }
.cmp-t { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 360px; }
.cmp-t th, .cmp-t td { padding: 9px 10px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp-t thead th { background: var(--glass); font-weight: 800; font-size: 12px; vertical-align: top; }
.cmp-t .cmp-pr { color: var(--accent); font-weight: 900; margin-top: 3px; }
.cmp-t .cmp-lab { text-align: left; color: var(--muted); font-weight: 600; }
.cmp-y { color: var(--ok); font-weight: 900; }
.cmp-n { color: var(--muted); opacity: .5; }

/* F3 lottery transparency */
.lot-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px; }
.lot-stats .ls { background: var(--bg3); border: 1px solid var(--line); border-radius: 10px; padding: 10px 6px; text-align: center; }
.lot-stats .lv { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.lot-stats .ll { font-size: 10.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .lot-stats { grid-template-columns: repeat(2, 1fr); } }
html.mobile-mode .lot-stats { grid-template-columns: repeat(2, 1fr); }   /* B1: also collapse in App-preview (window is wide, media query wouldn't fire) */

/* E1 notes list */
.notes-list { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 6px 0; }
.notes-list li { font-size: 13px; color: var(--muted); padding-left: 18px; position: relative; }
.notes-list li::before { content: '•'; position: absolute; left: 4px; color: var(--accent); }

/* F2 add-ons */
.addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.addon { display: flex; gap: 10px; background: var(--bg3); border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.addon-ph { width: 52px; height: 68px; border-radius: 8px; flex: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-weight: 900; color: rgba(255,255,255,.25); }
.addon-in { flex: 1; min-width: 0; }
.addon-nm { font-weight: 700; font-size: 13px; line-height: 1.3; }
.addon-row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }

/* G5 mobile tabbar cart badge */
.mobile-tabbar .ico { position: relative; }
.tab-cart-n { position: absolute; top: -4px; left: 50%; margin-left: 4px; min-width: 15px; height: 15px;
  padding: 0 4px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 800;
  line-height: 15px; text-align: center; }

/* ============================================================
   Phase-3 batch 1 — a11y: reduced-motion / touch targets
   ============================================================ */

/* G3: honour prefers-reduced-motion (CSS animations/transitions;
   canvas rAF loops are additionally gated in JS via GOL.reduceMotion) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .hero-bg { animation: none !important; }
  .pill.live .dot { animation: none !important; }
  .card:hover { transform: none !important; }
}

/* G9: touch targets >= 44x44 (Apple HIG) / 48dp (Material) */
.qtyc button { width: 44px; height: 44px; }
.chip { min-height: 40px; }
button.chip, a.chip { display: inline-flex; align-items: center; }   /* not select.chip — keeps native select text alignment (Safari) */
.linkbtn { min-height: 32px; padding: 4px 2px; }
.mobile-tabbar a { min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.d-tabs button, .tabs button, .chat-tabs button { min-height: 44px; }
.payopt { min-height: 48px; }
.wall .amt { min-width: 44px; text-align: center; }
html.mobile-mode .hd-actions .chip { min-height: 40px; }
