:root { --bg:#09090d; --card:rgba(24,25,33,.82); --card2:#1d1f29; --line:#2d3040; --text:#f4f4f8; --muted:#9ca1b3; --accent:#ff8a3d; --accent2:#ffb347; --ink:#1c0f00; --ok:#4ade80; --bad:#ff6b6b; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
body { background: radial-gradient(900px 480px at 50% -120px, rgba(255,138,61,.20), transparent 70%), var(--bg); min-height: 100vh; }
.app { max-width: 520px; margin: 0 auto; padding: 18px 16px calc(32px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 14px; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--ink); font-weight: 900; display: grid; place-items: center; font-size: 20px; }
h1 { margin: 0; font-size: 28px; letter-spacing: -.8px; }
.badge { margin-left: auto; font-size: 12px; color: var(--accent2); border: 1px solid rgba(255,138,61,.45); padding: 4px 10px; border-radius: 999px; background: rgba(255,138,61,.08); }
.sub { margin: 8px 0 0; color: var(--muted); font-size: 16px; } .sub em { color: var(--text); font-style: normal; font-weight: 700; }
.notice { margin: 0; font-size: 12.5px; line-height: 1.45; color: #bfe3cd; text-align: center; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px; display: flex; flex-direction: column; gap: 12px; backdrop-filter: blur(14px); box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.steps li { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 6px 0; border-radius: 999px; background: var(--card2); color: var(--muted); }
.steps li.on { background: rgba(255,138,61,.16); color: var(--accent2); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.slot { display: flex; flex-direction: column; gap: 8px; }
.thumb { cursor: pointer; aspect-ratio: 3/4; border: 2px dashed #3a3e52; border-radius: 18px; background: var(--card2) center/cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 8px; transition: border-color .2s, transform .15s; }
.thumb:active { transform: scale(.98); }
.ph { display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 650; color: var(--text); }
.ph b { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,138,61,.16); color: var(--accent2); display: grid; place-items: center; font-size: 26px; font-weight: 500; margin-bottom: 4px; }
.ph small { color: var(--muted); font-weight: 400; font-size: 12px; }
.thumb.has { border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(255,138,61,.14); }
.thumb.has .ph { display: none; }
.label { margin: 4px 0 0; font-size: 14px; font-weight: 700; }
.muted { color: var(--muted); font-weight: 400; font-size: 12px; }
.hint { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.hint.warn { color: #ffd58a; }
.center { text-align: center; }
.chips { display: flex; gap: 8px; }
.chip { flex: 1; padding: 11px 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-size: 15px; font-family: inherit; }
.chip i { font-style: normal; font-size: 10px; color: var(--muted); margin-left: 2px; text-transform: uppercase; letter-spacing: .04em; }
.chip[aria-checked="true"] { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--ink); border-color: transparent; font-weight: 700; }
.chip[aria-checked="true"] i { color: var(--ink); }
.text { width: 100%; padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-size: 15px; font-family: inherit; }
.text:focus { outline: 2px solid rgba(255,138,61,.6); border-color: transparent; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags button { font: 13px system-ui; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; }
.row { display: flex; gap: 8px; }
.grow { flex: 1; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--card2); color: var(--text); font-size: 15px; cursor: pointer; text-align: center; font-family: inherit; }
.btn.small { padding: 9px 6px; font-size: 13.5px; }
.btn.ghost { background: transparent; color: var(--muted); }
.btn.big { padding: 16px; font-size: 17px; font-weight: 700; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: var(--ink); border-color: transparent; }
.btn.cta { margin-top: 4px; box-shadow: 0 10px 34px rgba(255,138,61,.35); }
.btn.cta::after { content: "→"; margin-left: 8px; }
.btn.link { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 4px; font-size: 14px; }
.btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.scan { position: relative; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; background: var(--card2); }
.scan img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.6) saturate(.8); display: block; }
.scan::after { content: ""; position: absolute; left: 0; right: 0; height: 28%; background: linear-gradient(180deg, transparent, rgba(255,138,61,.55), transparent); animation: sweep 1.8s ease-in-out infinite; }
.spin { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--accent); animation: sp 1s linear infinite; z-index: 2; }
@keyframes sp { to { transform: rotate(360deg); } }
@keyframes sweep { 0% { top: -28%; } 100% { top: 100%; } }
.big-text { margin: 0; font-size: 18px; font-weight: 700; text-align: center; }
.error { border-color: rgba(255,107,107,.5); }
.error .big-text { color: var(--bad); text-align: left; }
.error p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.compare { position: relative; aspect-ratio: 3/4; border-radius: 20px; overflow: hidden; background: #000; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.before { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.tag { position: absolute; top: 10px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,.62); backdrop-filter: blur(6px); }
.tl { left: 10px; } .tr { right: 10px; } .tag.bl { top: auto; bottom: 10px; left: 10px; font-weight: 500; font-size: 11.5px; color: #ddd; }
.knob { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.6); pointer-events: none; }
.knob::after { content: "<>"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; font-weight: 700; font-size: 14px; display: grid; place-items: center; letter-spacing: -1px; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
#slider { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.another { border-color: rgba(255,138,61,.5); color: var(--accent2); }
#quickFrame { width: 100%; height: 860px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.foot { font-size: 12px; color: var(--muted); line-height: 1.5; }
.foot p { margin: 0 0 8px; } .foot a { color: var(--accent2); } .foot summary { cursor: pointer; margin-bottom: 8px; color: var(--text); }
