:root {
  --bg:#101113; --surface:#18191c; --raised:#202226; --ink:#f5f3f0; --muted:#adafb6;
  --prize-photo-ratio:2 / 1; --line:#36383f; --blue:#4169e1; --pale:#a9bcff; --green:#95dab5; --amber:#f1c379;
  --bad:#ff9b9e; --radius:12px; --display:'Unbounded',Arial,sans-serif; --body:'Manrope',Arial,sans-serif;
  color-scheme:dark; font:500 16px/1.5 var(--body); background:var(--bg); color:var(--ink);
  -webkit-font-smoothing:antialiased; scrollbar-color:#555963 var(--bg);
}
* {box-sizing:border-box}
body {margin:0;min-height:100vh}
button,input,select,textarea {font:inherit}
button,a {touch-action:manipulation}
button {border:0;cursor:pointer;background:none;color:inherit}
a {color:inherit;text-decoration:none}
button:disabled {cursor:not-allowed;opacity:.48}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {outline:3px solid #aebeff;outline-offset:3px}
h1,h2,h3,p,figure {margin:0} h1,h2,h3 {text-wrap:balance}
h1,h2,h3,.display {font-family:var(--display);font-weight:700}
h1 {font-size:clamp(1.9rem,4.4vw,3.8rem);letter-spacing:-.055em;line-height:1.04}
h2 {font-size:clamp(1.25rem,2.1vw,1.8rem);letter-spacing:-.045em;line-height:1.22}
h3 {font-size:1.04rem;letter-spacing:-.035em;line-height:1.4}
p {color:var(--muted)}
::selection {background:var(--blue);color:white}
.shell {width:min(calc(100% - 88px),1280px);margin-inline:auto}
.skip {position:fixed;left:8px;top:-100px;z-index:10;background:#fff;color:#111;padding:10px}
.skip:focus {top:8px}
#head {border-bottom:1px solid #2c2d31;background:var(--bg);padding-top:env(safe-area-inset-top)}
.top {min-height:76px;display:flex;align-items:center;gap:clamp(14px,2.2vw,36px)}
.brand {display:inline-flex;align-items:center;background:none;padding:10px 0;flex-shrink:0;touch-action:manipulation}
.brand img {width:clamp(110px,10.5vw,150px);height:auto;display:block}
.desktop-nav {display:flex;align-self:stretch;gap:clamp(4px,1vw,15px);margin:auto}
.nav-btn {display:flex;align-items:center;justify-content:center;gap:7px;position:relative;font-size:.88rem;font-weight:700;color:var(--muted);padding:10px 7px;white-space:nowrap}
.nav-btn.active,.nav-btn:hover {color:var(--ink)}
.desktop-nav .active::after {content:'';position:absolute;inset:auto 5px -1px;height:3px;background:var(--blue)}
.nav-btn .count {border-radius:5px;font:700 .75rem var(--body);padding:1px 5px;color:var(--pale);background:#292f42}
.header-tools {display:flex;gap:8px;align-items:center;margin-left:auto}
.wallet,.role-btn,.soft-btn,.icon-btn,.button,.tab,.text-btn,.mini-btn,.outline-btn {display:inline-flex;align-items:center;justify-content:center;gap:9px;font-weight:700;line-height:1.2}
.wallet,.role-btn {height:40px;padding:0 12px;border:1px solid var(--line);border-radius:8px;font-size:.88rem;white-space:nowrap}
.wallet {background:#1b2233;color:#d4dfff;border-color:#323e59}
.wallet svg {color:#a7b9ff}
.role-btn:hover,.soft-btn:hover,.outline-btn:hover,.icon-btn:hover,.mini-btn:hover,.tab:hover {background:#303239;border-color:#565a65}
.icon-btn {height:42px;width:42px;padding:0;border:1px solid var(--line);border-radius:9px;flex-shrink:0}
.button {min-height:48px;color:white;background:var(--blue);padding:12px 19px;border-radius:6px;transition:background .16s,transform .16s}
.button:hover:not(:disabled) {background:#5077ef}
.button:active:not(:disabled) {transform:translateY(1px)}
.button.light {background:var(--ink);color:#17181b}
.outline-btn,.soft-btn {min-height:45px;padding:10px 15px;border:1px solid var(--line);border-radius:7px;background:var(--surface)}
.mini-btn {border:1px solid var(--line);border-radius:6px;padding:8px 10px;font-size:.875rem}
.text-btn {color:var(--pale);padding:7px 0;text-align:left}
.danger {color:var(--bad)}
.icon {display:inline-block;vertical-align:middle;flex-shrink:0}
#content {padding-top:28px;min-height:calc(100vh - 220px)}
.loading,.empty {padding:35px 20px;text-align:center;color:var(--muted)}
.empty h3 {color:var(--ink);margin-bottom:8px}
.empty .button,.empty .outline-btn {margin-top:16px}
.hero {position:relative;isolation:isolate;display:flex;align-items:center;min-height:clamp(330px,28vw,399px);overflow:hidden;background:#17191e;border:1px solid #30333b;border-radius:var(--radius)}
.hero-photo {position:absolute;z-index:-3;inset:0 0 0 34%;width:66%;height:100%;object-fit:cover;object-position:55% 52%}
.hero::before {content:'';position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#17191e 0%,#17191e 29%,rgba(23,25,30,.97) 34%,rgba(23,25,30,.68) 43%,rgba(23,25,30,.08) 57%,transparent 68%)}
.hero-inner {width:51%;padding:clamp(28px,3.6vw,50px)}
.eyebrow {color:var(--pale);font-size:.77rem;line-height:1.3;font-weight:800;text-transform:uppercase;letter-spacing:.13em;display:flex;align-items:center;gap:9px}
.eyebrow::before {content:'';width:23px;height:4px;background:var(--blue);transform:skewX(-35deg)}
.hero h1 {margin:17px 0 13px;font-size:clamp(2.45rem,4.45vw,4.15rem);line-height:1.03;letter-spacing:-.065em}
.hero h1 em {font-style:normal;color:var(--pale)}
.hero p {max-width:375px;color:#c5c6cb;line-height:1.52}
.hero-actions {display:flex;align-items:center;gap:10px;margin-top:24px}
.hero .icon-btn {height:50px;width:50px;background:#1a1c22}
.subline {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:14px;padding:12px 16px;background:#191b20;border:1px solid #2e3138;border-radius:8px;font-size:.90rem;color:#c7cad2}
.subline>span,.subline button {display:inline-flex;align-items:center;gap:9px}
.subline>span svg {color:var(--pale)}
.subline button {font-size:.88rem;font-weight:700;color:#d9e2ff}
.section {margin-top:34px}
.section-head,.page-head,.row {display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.section-head,.page-head {justify-content:space-between;margin-bottom:17px}
.page-head {margin:10px 0 26px;align-items:flex-end}
.page-head p {margin-top:10px}
.catalog {display:grid;gap:8px;list-style:none;padding:0;margin:0}
.product {position:relative;display:grid;grid-template-columns:clamp(52px,10vw,72px) minmax(0,1fr) 16px;align-items:center;gap:clamp(10px,2vw,18px);width:100%;padding:8px 14px 8px 12px;text-align:left;overflow:hidden;border:1px solid #37393f;border-radius:8px;background:var(--surface);transition:border-color .15s,background .15s}
.product::before {content:'';position:absolute;inset:0 auto 0 0;width:4px;background:var(--rar)}
.product:hover {border-color:#69748c;background:#24262c}
.picture,.graphic {width:100%;height:100%;display:block;object-fit:cover}
.product-visual {min-width:0;aspect-ratio:var(--prize-photo-ratio);overflow:hidden;border-radius:5px;background:#24262a}
.product-meta {min-width:0;display:grid;gap:3px;overflow-wrap:anywhere}
.product-meta strong {font-family:var(--display);font-size:clamp(.9rem,1.35vw,1.1rem);line-height:1.26}
.product-meta small {font-size:.77rem;color:var(--muted)}
.product > .icon {color:var(--pale)}
.product-visual .graphic>strong {font-size:1.1rem}
.product-visual .graphic small {font-size:.55rem;letter-spacing:normal;margin-top:3px}
.rarity {display:inline-flex;align-items:center;gap:7px;font-size:.78rem;color:#c7c9d0;font-weight:650}
.rarity::before {content:'';width:9px;height:4px;background:var(--rar,#b9bbc2);transform:skewX(-30deg)}
.graphic {display:grid;align-content:center;justify-items:center;position:relative;overflow:hidden;background:#243d9a;color:#ecf0ff;background-image:repeating-linear-gradient(123deg,transparent 0 29px,#ffffff0a 30px 31px)}
.graphic.coupon {background-color:#31343c}.graphic.empty-art {background-color:#252629}
.graphic>strong {margin:0;font:700 clamp(1.6rem,3vw,2.85rem)/1 var(--display);letter-spacing:-.06em;z-index:1}
.graphic .symbol {width:32%;max-height:46%;object-fit:contain;opacity:.55}
.graphic small {font-size:.76rem;font-weight:750;margin-top:6px;letter-spacing:.08em;text-transform:uppercase}
.footer {display:flex;align-items:center;gap:20px;justify-content:space-between;border-top:1px solid #292b30;margin-top:45px;min-height:78px;font-size:.78rem;color:#a6a8b0}
.footer img {width:86px;height:auto}.footer button {color:#c3c6ce;padding:9px 0}
#mobile-nav {display:none}
.panel,.box,.entry,.form-box {background:var(--surface);border:1px solid var(--line);border-radius:10px}
.panel,.form-box {padding:clamp(18px,2.3vw,32px)}
.two-col {display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:20px;align-items:start}
.narrow {max-width:850px;margin-inline:auto}
.stack {display:grid;gap:13px}
.row.spread {justify-content:space-between}
.small,.meta {font-size:.86rem;color:var(--muted)}
.muted {color:var(--muted)}.good {color:var(--green)}.warn {color:var(--amber)}
.grow {flex:1;min-width:0}.wide {width:100%}.rule {border:0;height:1px;background:var(--line);margin:18px 0}
.tabbar {display:flex;gap:5px;flex-wrap:wrap;margin-bottom:18px}
.tab {border:1px solid var(--line);border-radius:7px;min-height:40px;padding:9px 13px;font-size:.9rem;color:var(--muted)}
.tab.on {background:#29344f;border-color:#465986;color:#e3e9ff}
.entry {display:flex;align-items:center;gap:14px;padding:14px 16px}
.entry+.entry {margin-top:8px}
.entry img.thumb,.thumb {width:70px;height:62px;object-fit:cover;border-radius:6px;overflow:hidden;flex-shrink:0}
.entry .thumb .graphic>strong {font-size:1rem}
.entry strong {display:block}.entry small {display:block;color:var(--muted);margin-top:3px}
.small-icon {display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #363d4d;background:#202632;color:var(--pale);border-radius:9px}
.stats {display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}
.stat {padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:9px}
.stat b {display:block;font:700 clamp(1.4rem,3vw,2.05rem)/1.1 var(--display);letter-spacing:-.06em;margin-bottom:6px}
.stat span {font-size:.84rem;color:var(--muted)}
.pass {position:relative;background:var(--ink);color:#16171a;border:0;border-radius:13px;padding:26px;max-width:420px;width:100%;text-align:center;overflow:hidden}
.pass .pass-top {display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.8rem;color:#3b3c40;font-weight:750}
.pass-top img {width:112px;height:auto}.pass h2 {margin-top:20px}
.qr {display:grid;place-items:center;background:white;border-radius:8px;padding:6px;margin:17px auto 10px;width:fit-content}
.qr svg {width:clamp(148px,37vw,215px);height:auto;display:block}
.pass .big-code,.big-code {font-family:var(--display);font-weight:700;letter-spacing:.1em;font-size:1.9rem}
.pass small {display:block;color:#44464e}.pass button {margin-top:10px;font-size:.86rem;font-weight:750}
.steps {list-style:none;padding:0;display:grid;gap:16px;margin:15px 0 0}
.steps li {display:flex;gap:12px;align-items:flex-start;color:#d7d9de}
.steps li svg {flex:none;color:var(--pale);margin-top:3px}
#panel {background:var(--surface);color:var(--ink);border:1px solid #494b52;border-radius:15px;width:min(490px,calc(100% - 26px));max-width:100%;max-height:min(86dvh,900px);padding:0;overflow:auto;box-shadow:0 28px 90px #0009}
#panel.wide-dialog {width:min(720px,calc(100% - 26px))}
#panel::backdrop {background:#06070bc9;backdrop-filter:blur(5px)}
.dlg {padding:23px}
.dlg-head {display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:17px}
.dlg-head h2 {align-self:center;font-size:1.25rem}.dlg-head .icon-btn {width:36px;height:36px}
.dlg .hero-detail {width:min(100%,340px);aspect-ratio:var(--prize-photo-ratio);overflow:hidden;border-radius:8px;margin:0 auto 16px}
html:has(#panel:is(.result-dialog,.product-dialog)[open]),body:has(#panel:is(.result-dialog,.product-dialog)[open]) {overflow:hidden;overscroll-behavior:none}
#panel:is(.result-dialog,.product-dialog) {width:min(420px,calc(100% - 26px));max-height:calc(100dvh - 34px);overscroll-behavior:contain}
.result-dialog .dlg {padding:clamp(14px,4vw,20px)}
.result-dialog .dlg-head {margin-bottom:10px}
.result-dialog .result-art {width:min(100%,200px,56dvh);aspect-ratio:var(--prize-photo-ratio);margin:8px auto 12px;border-radius:8px;overflow:hidden}
.result-dialog .result-title {overflow-wrap:anywhere}
.result-dialog .result-note {margin:6px 0 0}
.result-dialog .dlg-actions {margin-top:14px}
.dlg-actions {display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.dlg-actions>* {flex:1}
.notice-box,.hint,.error-inline {padding:12px 14px;border:1px solid #3c465e;background:#202636;border-radius:7px;color:#d8e2ff;font-size:.9rem}
.error-inline {background:#342024;color:#ffc2c4;border-color:#72454c}
[hidden] {display:none!important}
#notices {position:fixed;z-index:80;bottom:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:min(94vw,560px);pointer-events:none}
.toast {background:#f5f3f0;color:#17181c;border-radius:8px;padding:12px 18px;font-size:.88rem;box-shadow:0 6px 26px #0007;display:flex;align-items:center;gap:12px;pointer-events:auto}
.toast button {font-weight:800;text-decoration:underline}
.field {display:grid;gap:6px;font-size:.88rem;font-weight:700;min-width:0}
.field small {font-weight:500;color:var(--muted)}.fields {display:grid;gap:14px}
input:not([type=checkbox]):not([type=radio]),select,textarea {width:100%;min-width:0;border:1px solid #454851;border-radius:6px;background:#111215;color:var(--ink);min-height:43px;padding:9px 12px}
input[type=file] {font-size:.88rem}
select {appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23bbbbbb' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:32px}
textarea {resize:vertical;min-height:68px}
input[type=checkbox] {width:18px;height:18px;accent-color:var(--blue)}
.check {display:inline-flex;gap:8px;align-items:center;font-size:.9rem}
.form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.field.full {grid-column:1/-1}
.fact {display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #34363c}
.fact:last-child {border-bottom:0}.fact span {color:var(--muted)}.fact strong {text-align:right}
.action-row {display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:13px 0;border-bottom:1px solid var(--line);text-align:left}
.action-row:last-child {border:0}.action-row>span {flex:1}.action-row small {display:block;color:var(--muted);margin-top:3px}
.action-row>.icon {color:var(--pale)}
.reel-window {position:relative;background:#0d0e11;overflow:hidden;--cw:126px;--gap:9px;height:158px;border-radius:8px;border-block:1px solid var(--line);margin:20px 0 12px}
.reel-window::before,.reel-window::after {content:'';position:absolute;z-index:2;left:50%;transform:translateX(-50%);border-left:7px solid transparent;border-right:7px solid transparent}
.reel-window::before {top:0;border-top:10px solid #bdceff}.reel-window::after {bottom:0;border-bottom:10px solid #bdceff}
.reel-track {position:absolute;left:50%;top:12px;bottom:12px;display:flex;gap:var(--gap);will-change:transform}
.reel-card {flex:0 0 var(--cw);width:var(--cw);background:#1c1e23;border-radius:6px;overflow:hidden;border-bottom:3px solid var(--rar);font-weight:700}
.reel-card .visual {aspect-ratio:var(--prize-photo-ratio);overflow:hidden}.reel-card>span {display:block;line-height:1.15;padding:6px 7px;font-size:.78rem}
.reel-card .graphic strong {font-size:1.35rem}
.drawer-photo {width:100%;max-height:250px;object-fit:contain;background:#111;border-radius:8px;display:block}
.cam-video {width:100%;max-height:290px;object-fit:cover;border-radius:8px;background:#060608}
.progress-steps {display:flex;gap:6px;margin-bottom:20px}
.progress-steps span {flex:1;color:#a8abb5;font-size:.83rem;border-top:3px solid #42454e;padding-top:6px}
.progress-steps .on {color:var(--pale);border-color:var(--blue)}
.desk {display:grid;grid-template-columns:195px minmax(0,1fr);gap:25px;align-items:start}
.desk-nav {display:grid;position:sticky;top:15px;gap:3px}
.desk-nav button {display:flex;align-items:center;gap:9px;text-align:left;font-size:.89rem;font-weight:650;padding:11px 13px;border-radius:7px;color:#b5b7c0}
.desk-nav .on {background:#252d40;color:#dbe4ff}
.desk-nav button:hover {background:#24262c}
.desk-main {min-width:0}.desk-main h2 {margin-bottom:15px}
.toolbar {display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:13px}
.toolbar>input,.toolbar>select {width:auto;max-width:100%;flex:1 1 115px;font-size:.87rem}
.tablebox {max-width:100%;overflow:auto;border:1px solid var(--line);border-radius:8px}
table {border-collapse:collapse;width:100%;font-size:.84rem}
th,td {padding:11px 12px;border-bottom:1px solid #32343a;text-align:left;vertical-align:middle}
th {color:#bfc4d0;background:#212329;font-size:.79rem;white-space:nowrap}
td {color:#e1e2e7} tr:last-child td {border-bottom:0} td small {display:block;color:var(--muted)}
.table-action {font-weight:750;color:#c1d0ff;padding:3px 0;text-align:left}
.pill {display:inline-flex;align-items:center;padding:3px 8px;border-radius:5px;font-size:.78rem;line-height:1.4;background:#2c3039;color:#ced1d9;white-space:nowrap}
.pill.ok {background:#20352c;color:#a8e7c5}.pill.hold {background:#382f21;color:#f5d49a}.pill.no {background:#382528;color:#ffc3c4}
.chart {display:flex;align-items:stretch;gap:8px;height:130px;margin:22px 0 2px}
.bar-col {flex:1;display:grid;grid-template-rows:1fr auto;gap:7px;text-align:center;color:var(--muted);font-size:.8rem;min-width:0}
.bar-space {display:flex;align-items:flex-end;justify-content:center}
.bar-space i {display:block;width:min(100%,36px);background:#5277e8;border-radius:3px 3px 0 0;min-height:2px}
.admin-cards {display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}
.admin-card {display:grid;gap:8px;background:var(--surface);border:1px solid var(--line);padding:15px;border-radius:8px}
.demo-line {font-size:.82rem;color:#acb0bd}
@media(min-width:1450px){.hero-inner{padding-left:53px}}
@media(max-width:1050px){.shell{width:calc(100% - 48px)}.top{gap:15px}.desktop-nav{gap:0}.desktop-nav .icon{display:none}.desk{grid-template-columns:160px minmax(0,1fr);gap:16px}.hero-inner{width:55%}.wallet,.role-btn{padding:0 9px}}
@media(max-width:760px){
 .shell{width:calc(100% - 32px)}.top{min-height:60px;gap:8px}.brand img{width:114px}.desktop-nav{display:none}.header-tools{gap:6px}
 .wallet,.role-btn{height:36px;font-size:.81rem;padding:0 9px}.role-btn .wide-label{display:none}.top .header-label{font-size:.86rem}
 #content{padding-top:16px;min-height:calc(100dvh - 228px)}.hero{align-items:flex-end;min-height:338px}.hero-inner{width:75%;padding:24px}
 .hero-photo{inset:0 0 0 22%;width:78%;object-position:54% 37%}
 .hero::before{background:linear-gradient(0deg,#17191e 0%,#17191eee 14%,#17191e80 43%,transparent 78%),linear-gradient(90deg,#17191e 3%,#17191edb 24%,#17191e4f 52%,transparent 73%)}
 .hero h1{font-size:clamp(2.3rem,7.3vw,3.3rem)}.hero p{font-size:.93rem;max-width:330px}.hero-actions{margin-top:18px}
 .section{margin-top:25px}.section-head{gap:8px}
 .footer{min-height:68px;gap:9px;font-size:.75rem;flex-wrap:wrap;margin-top:28px;padding-block:12px}.footer img{display:none}
 #mobile-nav:not(:empty){position:fixed;z-index:8;inset:auto 0 0;display:flex;background:#131417f7;border-top:1px solid #33353b;padding:4px max(5px,env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom));backdrop-filter:blur(12px)}
 #mobile-nav .nav-btn{min-width:0;flex:1;flex-direction:column;gap:3px;font-size:.75rem;line-height:1.1;padding:5px 0;min-height:50px}
 #mobile-nav .active{color:#afc2ff}#mobile-nav .count{position:absolute;top:2px;left:calc(50% + 6px);font-size:.64rem;line-height:14px;padding:0 3px}
 .subline{padding:10px 12px;gap:10px;font-size:.82rem}.subline button{font-size:.82rem}.subline svg{width:17px}
 .two-col{grid-template-columns:1fr;gap:14px}.page-head{margin:8px 0 20px}.page-head h1{font-size:1.9rem}
 .desk{grid-template-columns:minmax(0,1fr);gap:15px}.desk-nav{position:static;display:flex;overflow:auto;white-space:nowrap;max-width:100%;padding-bottom:5px}
 .desk-nav button{flex-shrink:0;padding:9px 11px}.desk-nav button .icon{width:16px}
 .pass{margin-inline:auto}.field input,.field select,textarea,.toolbar>input,.toolbar>select{font-size:1rem}
 #notices{bottom:calc(70px + env(safe-area-inset-bottom))}.desk-main .stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 #panel{max-height:90dvh}.dlg{padding:18px}.reel-window{--cw:104px}
}
@media(max-width:480px){
 .hero{min-height:372px}.hero-photo{left:0;width:100%;height:74%;object-position:center 50%}
 .hero::before{background:linear-gradient(0deg,#17191e 0%,#17191e 26%,#17191ef5 38%,#17191e9c 53%,#12141b16 81%),linear-gradient(90deg,#15181e76 0%,transparent 62%)}
 .hero-inner{width:100%;padding:20px}.hero .eyebrow{font-size:.73rem}.hero h1{margin:11px 0 9px;font-size:2.55rem}
 .hero h1 br{display:none}.hero h1 em{display:inline}.hero p{max-width:310px}
 .hero-actions{gap:8px}.hero .icon-btn{width:45px;height:45px}
 .subline{flex-wrap:wrap;gap:6px}.subline button{padding:3px 0}.entry{padding:11px;gap:10px}.entry .thumb{width:49px;height:47px}
 .form-grid{grid-template-columns:1fr}.form-grid.dual{grid-template-columns:repeat(2,minmax(0,1fr))}.stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .entry .mini-btn{padding:8px}.pass{padding:20px}.row .button,.row .outline-btn{font-size:.92rem}.page-head .row{gap:6px}
}
@media(max-width:360px){.shell{width:calc(100% - 22px)}.brand img{width:96px}.hero-inner{padding:16px}.hero h1{font-size:2.15rem}.top .role-btn{gap:4px}.graphic small{font-size:.65rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
@media(max-width:480px){
 .hero{display:grid;grid-template-rows:clamp(135px,40vw,171px) auto;min-height:0;align-items:stretch}
 .hero-photo{position:relative;grid-area:1/1;inset:auto;width:100%;height:100%;object-position:center 55%}
 .hero::before{inset:0 auto auto 0;width:100%;height:clamp(135px,40vw,171px);background:linear-gradient(0deg,#17191e,transparent 26%)}
 .hero-inner{grid-area:2/1;align-self:start;padding:9px 18px 19px}
 .hero h1{font-size:clamp(1.6rem,7.2vw,2.1rem);margin:10px 0}
 .hero-actions{margin-top:16px}
}

#content:focus {outline:none}
.roulette-stage {min-width:0}
.roulette-stage .reel-window {--cw:112px;--gap:8px;height:142px;margin:0 0 14px;border:1px solid #414a63;background:#0d0f15}
.roulette-stage .reel-track {transform:translateX(calc(-3.5 * var(--cw) - 3 * var(--gap)))}
.roulette-stage .reel-card>span {overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow-wrap:anywhere;line-height:1.12;padding:5px 6px}
.roulette-stage .reel-empty::before,.roulette-stage .reel-empty::after {display:none}
.roulette-stage .reel-empty img {width:100%;height:100%;object-fit:cover;object-position:center 55%;opacity:.72}
.roulette-controls {display:grid}
.roulette-controls .button {min-height:51px;gap:7px;justify-content:center;padding-inline:9px;font-weight:800}
.roulette-controls .price {padding-left:9px;border-left:1px solid #ffffff54;font-size:.81rem;white-space:nowrap}
.roulette-status {margin-top:8px;text-align:center;color:#bbbfd0;font-size:.84rem;min-height:1.4em}
.warehouse-page {max-width:850px;margin-inline:auto}
.warehouse-issue {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px;border:1px solid var(--line);border-radius:8px;background:#1a1b20}
.warehouse-check {display:grid;grid-template-columns:24px 48px minmax(0,1fr);align-items:center;gap:10px;flex:1;cursor:pointer}
.warehouse-check input {width:19px;height:19px;accent-color:#5279df}
.warehouse-check .thumb {width:64px}
.warehouse-check small {display:block;color:#b9bac3;font-size:.78rem}
.warehouse-photos {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.warehouse-photos figure {margin:0}
.warehouse-photos figcaption {margin-bottom:8px;font-weight:700}
.warehouse-photos img {display:block;max-height:68vh;width:100%;object-fit:contain;background:#101113;border-radius:8px}
.warehouse-submit {position:sticky;bottom:0;display:flex;align-items:center;gap:10px;padding:12px 0 max(12px,env(safe-area-inset-bottom));background:#101113}
.proof-preview {width:auto;max-width:100%;max-height:150px;object-fit:contain;justify-self:start;border-radius:6px}
.footer[hidden] {display:none}

@media(max-width:700px){
 .roulette-stage .reel-window {--cw:93px;height:121px;margin-bottom:12px}
 .roulette-controls .button {font-size:.92rem;min-height:48px}
 .roulette-controls .price {font-size:.74rem;padding-left:6px}
 .warehouse-issue {align-items:stretch;flex-direction:column;gap:8px}
 .warehouse-issue>.mini-btn {align-self:flex-end}
 .warehouse-photos {grid-template-columns:1fr}
}
@media(max-width:360px){
 .roulette-controls .button {font-size:.86rem}
}

.overview {grid-template-columns:minmax(0,1fr)}
.overview-presets {gap:8px}
.overview-presets .outline-btn[aria-pressed=true] {border-color:#6f88db;background:#28324c;color:#e3eaff}
.overview-dates {display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:8px;align-items:end;max-width:530px}
.overview-dates input {width:100%;min-width:0}
.overview .fact {padding:8px 0}
.overview .fact strong {white-space:nowrap}
.chart-scroll {overflow-x:auto;padding-bottom:5px}
.chart-scroll .bar-col {flex:1 0 43px;white-space:nowrap}
.chart-scroll .bar-range {flex-basis:82px}
@media(max-width:480px){
 .overview-dates {grid-template-columns:repeat(2,minmax(0,1fr))}
 .overview-dates button {grid-column:1/-1}
}

.participants {grid-template-columns:minmax(0,1fr)}
.participants-table {overflow-x:auto;overscroll-behavior-x:contain}
.participants-table table {table-layout:fixed;min-width:calc(116px * var(--column-count))}
.participants-table th,.participants-table td {padding-inline:8px;text-align:center;border-inline-end:1px solid #373a43;white-space:normal}
.participants-table td:first-child {overflow-wrap:anywhere}
.participants-table .table-action {max-width:100%;text-align:center}
.participants-table td[colspan] {text-align:left}
.reminder-preview {white-space:pre-wrap;overflow-wrap:anywhere}

.staff-list table {table-layout:fixed}
.staff-list th,.staff-list td {text-align:center;white-space:normal;overflow-wrap:anywhere;padding-inline:5px}
.staff-list .table-action {text-align:center;max-width:100%}

.prize-list {grid-template-columns:minmax(0,1fr)}
.prize-list table {table-layout:fixed}
.prize-list col {width:25%}
.prize-list th,.prize-list td {text-align:center;white-space:normal;overflow-wrap:anywhere;padding-inline:5px;border-inline-end:1px solid #373a43}
.prize-list td {padding-block:5px}
.prize-list .table-action {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-align:center;max-width:100%;margin-inline:auto;padding:0;line-height:1.2}
.prize-position {height:60px}
.prize-position {display:grid;align-content:center;gap:2px}
.prize-position small {font-size:.72rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prize-percent {position:relative;max-width:100px;margin:auto}
.prize-percent span {position:absolute;inset-inline-end:5px;top:50%;transform:translateY(-50%);color:var(--muted);pointer-events:none}
.prize-list input[type=number],.prize-list input[type=text] {height:36px;min-height:0;max-width:100px;padding:5px 2px;text-align:center;appearance:textfield}
.prize-percent input[type=text] {padding-inline-end:15px}
.prize-list input::-webkit-inner-spin-button,.prize-list input::-webkit-outer-spin-button {appearance:none;margin:0}

.item-photo-preview {width:96px;aspect-ratio:var(--prize-photo-ratio);overflow:hidden;border-radius:6px;border:1px solid var(--line)}
#item-photo-block[hidden] {display:none}

.seller-tabs {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.seller-tabs .tab {padding:8px 4px;text-align:center;justify-content:center;min-height:44px}
.warehouse-photos.single-photo {grid-template-columns:minmax(0,1fr)}

/* Member area */
body.with-nav #head {border-bottom:0}
body.with-nav #head .top {border-bottom:1px solid var(--line)}
body.with-nav .wallet {border-color:transparent;background:transparent;color:var(--ink)}
body.with-nav .wallet {padding-inline:7px}
body.with-nav .wallet:hover {background:#242731}
@media(min-width:761px) {
  body.with-nav #head .top,body.with-nav .footer {max-width:900px}
}
.club-screen {
  --club-card:#191b20;
  --club-input:#151923;
  --club-selection:#2e3953;
  --club-accent:#7d9dff;
  max-width:480px;
  margin-inline:auto;
  min-width:0;
}
.club-heading {margin:2px 0 clamp(8px,2dvh,16px)}
.club-heading h1 {
  font-size:clamp(1.38rem,6.1vw,2.25rem);line-height:1.13;
  margin:6px 0 4px;text-wrap:wrap;
}
.club-heading em {color:var(--club-accent);font-style:normal}
.club-screen h2 {font-size:clamp(1.05rem,3.8vw,1.35rem)}
.club-section {margin-top:24px}
.club-section h2 {margin-bottom:12px}
.club-screen .roulette-stage .reel-window {
  --cw:calc((100cqw - 24px) / 3);--gap:6px;
  height:calc(var(--cw) / 2 + 85px);
  border:0;border-radius:14px;background:var(--club-card);
}
.club-screen .roulette-stage {container-type:inline-size}
.club-screen .reel-track {top:31px;bottom:31px}
.club-screen .reel-window::before {top:12px;border-top-color:var(--club-accent)}
.club-screen .reel-window::after {bottom:12px;border-bottom-color:var(--club-accent)}
.club-screen .reel-card {background:#25272c;align-self:start;border-bottom-width:4px}
.club-screen .roulette-stage .reel-card>span {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.68rem;font-weight:800;line-height:1.2;padding:4px 5px}
.club-screen .roulette-controls .button {border-radius:11px}
.club-screen .roulette-controls .price {padding:0;border:0;font:inherit}
.club-screen .roulette-controls .price::before {content:'·';margin-right:7px}
.club-screen .roulette-status:empty {display:none}
.club-link {
  min-height:44px;display:flex;align-items:center;gap:8px;
  padding:6px 0;color:var(--muted);font-size:.9rem;
}
.club-link:hover {color:var(--ink)}
.club-catalog .product {background:transparent;border:0;padding:7px 3px 7px 8px;transition:none;-webkit-tap-highlight-color:transparent}
@media(hover:hover) {.club-catalog .product:hover:not(:focus-visible) {background:var(--club-card)}}
.club-catalog .product::before {height:28px;top:50%;transform:translateY(-50%);border-radius:2px}
.club-catalog .product-visual {border-radius:10px}
.club-catalog .product-meta strong {font:800 .95rem/1.26 var(--body)}
.club-catalog .product-meta small {color:var(--rar)}
.club-prize-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:4px;background:var(--club-card);border-radius:14px}
.club-prize-tabs .tab {padding:8px 5px;border:0;border-radius:10px;min-height:44px;font-size:.86rem}
.club-prize-tabs .on {background:var(--club-selection)}
.club-prize-list {display:grid;gap:12px}
.club-prize {padding:10px;background:var(--club-card);border-radius:14px}
.club-prize-details {display:grid;grid-template-columns:clamp(65px,20vw,86px) minmax(0,1fr);gap:12px;align-items:center}
.club-prize-details>.thumb {width:100%;height:auto;aspect-ratio:var(--prize-photo-ratio);border-radius:10px}
.club-prize-copy {display:grid;gap:3px;overflow-wrap:anywhere}
.club-prize-copy small {color:var(--muted);font-size:.83rem}
.club-prize .rarity {color:var(--rar)}
.club-prize .rarity::before {width:7px;height:7px;transform:rotate(45deg);margin-inline:2px}
.club-secondary {
  display:flex;align-items:center;justify-content:center;gap:8px;
  width:100%;min-height:44px;margin-top:10px;padding:8px 10px;
  border-radius:10px;background:var(--club-selection);color:#d2dfff;font-size:.9rem;font-weight:800;
}
.club-secondary:hover {background:#3a4869}
.club-prize-help {display:flex;align-items:center;gap:8px;margin-top:16px;font-size:.87rem}
.club-prize-help .icon {color:var(--club-accent)}
.club-member-card {background:#f1f1ed;max-width:none;padding:17px}
.club-member-card .big-code {font:800 2rem/1.35 var(--body);font-variant-numeric:tabular-nums;letter-spacing:.04em}
.club-member-card button {min-height:44px;margin-top:0;color:#46474d}
.club-member-card .qr {margin-top:14px}
.club-stats {grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:14px 5px;background:var(--club-card);border-radius:14px}
.club-stats-pair {grid-template-columns:repeat(2,minmax(0,1fr))}
.club-stats .stat {text-align:center;padding:5px 2px;background:transparent;border:0;min-width:0;overflow-wrap:anywhere}
.club-stats .stat b {font:800 clamp(1.12rem,6vw,1.7rem)/1.1 var(--body);font-variant-numeric:tabular-nums}
.club-stats .stat span {font-size:.76rem}
.club-invite {background:#1d2332;border-radius:14px;padding:16px}
.club-invite-head {display:flex;align-items:center;gap:12px;margin-bottom:12px}
.club-invite-head p,.club-invite-code {font-size:.86rem}
.club-invite-icon {display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:10px;color:#c1ceff;background:var(--club-selection)}
.club-invite-link,.club-invite-code {display:flex;align-items:center;justify-content:space-between;gap:10px}
.club-invite-link {background:var(--club-input);border-radius:10px;padding:2px 4px 2px 10px;color:#c6cbd9;font-size:.88rem}
.club-invite-link span {min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.club-invite-link button {border:0;color:#beccff}
.club-invite-code {margin-top:12px;color:var(--muted)}
.club-invite-code strong {color:var(--ink);font-variant-numeric:tabular-nums}
.club-friend-list {list-style:none;padding:0;margin:0}
.club-friend-list li {display:flex;flex-wrap:wrap;justify-content:space-between;gap:5px 14px;padding:10px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.club-friend-list span,.club-friend-note {font-size:.85rem;color:var(--muted)}
.club-friend-empty {display:grid;justify-items:center;gap:8px;padding:22px 10px}
.club-friend-empty .icon {color:#8999bd}
.club-friend-empty h3 {margin:0}
.club-friend-note {margin:12px 0 3px}

.entry .prize-thumb,.warehouse-check .prize-thumb {height:auto;aspect-ratio:var(--prize-photo-ratio)}
.proof-preview.prize-proof,.warehouse-photos [data-proof="item"] img {
  width:min(100%,360px);height:auto;max-height:none;aspect-ratio:var(--prize-photo-ratio);
  object-fit:contain;background:#101113;
}

/* Screens with a fixed set of controls fit inside the Telegram viewport. */
body:has(:is(.roulette-home,.qr-home,.friends-home)) {
  display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;
  min-height:0;height:100dvh;padding-bottom:0;overflow:hidden;
}
html:has(:is(.roulette-home,.qr-home,.friends-home)) {overflow:hidden;overscroll-behavior:none}
body.with-nav #content {padding-top:clamp(8px,2.4dvh,22px)}
body:has(:is(.roulette-home,.qr-home,.friends-home)) #content {grid-row:2;min-height:0}
body:has(:is(.roulette-home,.qr-home,.friends-home)) .footer {grid-row:4;min-height:38px;margin-top:0;padding-block:6px env(safe-area-inset-bottom)}
body:has(:is(.roulette-home,.qr-home,.friends-home)) .footer button {padding-block:5px}
.roulette-home .roulette-links,:is(.qr-home,.friends-home) .club-links {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
:is(.roulette-links,.qr-home .club-links,.friends-home .club-links) .club-link {
  justify-content:center;padding-inline:5px;border:1px solid var(--line);border-radius:10px;
  min-height:44px;background:var(--club-card);font-size:.83rem;
}
:is(.roulette-links,.qr-home .club-links,.friends-home .club-links) .club-link .icon {color:var(--club-accent)}
.roulette-home .roulette-stage .reel-window {margin-bottom:10px}
@media(max-height:520px) {
  body.with-nav #head .top {min-height:45px}
  .roulette-home .roulette-stage .reel-window {--cw:min(calc((100cqw - 24px) / 3),18dvh);margin-bottom:7px}
}
@media(max-height:420px) {
  .club-screen .roulette-home .roulette-stage .reel-window {height:calc(var(--cw) / 2 + 57px)}
  .roulette-home .reel-window .reel-track {top:20px;bottom:20px}
  .roulette-home #home-reel::before {top:5px;border-top-width:7px}
  .roulette-home #home-reel::after {bottom:5px;border-bottom-width:7px}
  .roulette-home .roulette-controls .button {min-height:40px;padding-block:8px}
  .roulette-home .roulette-links {margin-top:6px}
  :is(.roulette-links,.qr-home .club-links,.friends-home .club-links) .club-link {min-height:38px}
}

.qr-home .club-member-card {
  display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;
  gap:clamp(8px,4vw,20px);padding:clamp(10px,2dvh,17px);
}
.qr-home .club-member-card .qr {margin:0}
.qr-home .qr svg {width:clamp(108px,31vw,156px)}
.qr-home .big-code {font-size:clamp(1.2rem,6vw,2rem);white-space:nowrap}
.qr-home .club-member-card button {font-size:.77rem;padding-inline:0}
.qr-home .club-card-help {
  display:flex;align-items:center;justify-content:center;gap:6px;
  margin:8px 0;text-align:center;font-size:.79rem;
}
.qr-home .club-card-help .icon {color:var(--club-accent)}
.qr-home .club-stats {
  grid-column:1 / -1;width:100%;padding-block:8px;background:#e4e6eb;color:#17181b;
}
.qr-home .club-stats .stat span {color:#454b59}
@media(max-height:520px) {
  .qr-home .club-card-help {display:none}
  .qr-home .club-member-card {gap:5px 8px;padding:8px}
  .qr-home .club-member-card .qr {grid-row:span 2}
  .qr-home .qr svg {width:108px}
  .qr-home .club-member-card button {min-height:32px}
  .qr-home .club-links {margin-top:6px}
  .qr-home .club-stats {grid-column:2;padding:3px 1px;gap:2px;border-radius:8px}
  .qr-home .club-stats .stat {line-height:1.15;padding:2px 0}
  .qr-home .club-stats .stat b {font-size:clamp(.8rem,4vw,1.15rem);margin-bottom:3px}
  .qr-home .club-stats .stat span {display:block;font-size:.57rem}
}

/* The client footer and tabs share one stable bottom area on every mobile screen. */
@media(max-width:760px) {
  body.with-nav {
    --club-tab-height:50px;
    --club-nav-height:calc(var(--club-tab-height) + 9px + env(safe-area-inset-bottom));
    --club-footer-height:34px;
    padding-bottom:calc(var(--club-nav-height) + var(--club-footer-height));
  }
  body.with-nav #mobile-nav:not(:empty) {height:var(--club-nav-height)}
  body.with-nav #mobile-nav .nav-btn {height:var(--club-tab-height);min-height:0}
  body.with-nav .footer {
    position:fixed;z-index:7;inset:auto 0 var(--club-nav-height);width:100%;
    height:var(--club-footer-height);min-height:0;margin:0;
    padding:0 clamp(11px,4vw,16px);background:#131417;
    flex-wrap:nowrap;gap:6px;font-size:clamp(.65rem,2.8vw,.74rem);line-height:1.15;
  }
  body.with-nav .footer button {flex:none;min-height:30px;padding:4px 0}
  body.with-nav #notices {bottom:calc(var(--club-nav-height) + var(--club-footer-height) + 8px)}
}
@media(max-width:760px) and (max-height:420px) {
  body.with-nav {--club-tab-height:42px;--club-footer-height:28px}
  body.with-nav #mobile-nav .nav-btn {padding-block:3px}
  body.with-nav .footer button {min-height:26px}
}

.roulette-examples {border-top:1px solid var(--line);margin-top:12px;padding-top:10px}
.roulette-examples h2 {margin-bottom:5px}
.roulette-examples .catalog {grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px}
.roulette-examples .product {padding-block:3px;grid-template-columns:clamp(46px,12vw,60px) minmax(0,1fr) 16px}
.roulette-examples .product-meta strong {overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
@media(max-height:680px) {
  .roulette-examples .catalog {grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  .roulette-examples .product {grid-template-columns:30px minmax(0,1fr);gap:3px;padding:2px}
  .roulette-examples .product::before {display:none}
  .roulette-examples .product-visual {width:30px;border-bottom:2px solid var(--rar);border-radius:5px}
  .roulette-examples .product-meta {width:100%;text-align:left;gap:1px}
  .roulette-examples .product-meta strong {font-size:.68rem}
  .roulette-examples .product-meta small {font-size:.58rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .roulette-examples .product>.icon {display:none}
}
@media(max-height:560px) {
  body.with-nav #content {padding-top:5px}
  .club-heading {margin-bottom:5px}
  .club-heading h1 {margin-block:2px;font-size:clamp(1.2rem,5.6vw,1.7rem)}
  .club-screen .roulette-home .roulette-stage .reel-window {--cw:min(calc((100cqw - 24px) / 3),15dvh);height:calc(var(--cw) / 2 + 46px);margin-bottom:4px}
  .roulette-home .reel-window .reel-track {top:14px;bottom:14px}
  .club-screen .roulette-home .reel-card>span {padding-block:2px}
  .roulette-home .roulette-status {position:absolute;width:1px;height:1px;min-height:0;margin:0;clip-path:inset(50%);overflow:hidden}
  .roulette-home #home-reel::before {top:4px;border-top-width:6px}
  .roulette-home #home-reel::after {bottom:4px;border-bottom-width:6px}
  .roulette-home .roulette-controls .button {min-height:36px;padding-block:6px}
  .roulette-home .roulette-links {margin-top:5px}
  .roulette-home .roulette-links .club-link {min-height:30px}
  .roulette-examples {margin-top:7px;padding-top:5px}
  .roulette-examples h2 {font-size:.86rem;margin-bottom:2px}
}

.friend-code-btn {display:flex;margin:8px auto 0;min-height:44px;border-radius:10px;font-size:.86rem}
@media(max-height:520px) {
  .friends-home .club-invite {padding:7px 10px}
  .friends-home .club-invite-head {margin-bottom:5px}
  .friends-home .club-invite-head p {display:none}
  .friends-home .club-invite-icon {width:32px;height:32px}
  .friends-home .club-invite-icon svg {width:18px;height:18px}
  .friends-home .club-invite-link .icon-btn {height:32px;width:34px}
  .friends-home .club-invite-actions {display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:7px;margin-top:6px}
  .friends-home .club-invite-code {margin:0;gap:0;flex-direction:column;align-items:flex-start;font-size:.76rem}
  .friends-home .club-secondary {margin:0;min-height:33px;padding:5px;font-size:.8rem}
  .friends-home .club-links {margin-top:6px}
  .friend-code-btn {margin-top:4px;min-height:28px;padding-block:4px}
}

.qr-home .club-member-card button.qr {
  padding:6px;border:0;cursor:zoom-in;
}
#panel.qr-dialog {
  inset:0;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;
  border:0;border-radius:0;background:#fff;color:#111;overscroll-behavior:contain;color-scheme:light;
}
.qr-dialog .dlg {
  min-height:100dvh;display:flex;flex-direction:column;
  padding:max(12px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
}
.qr-dialog .icon-btn {background:#f2f4f8;border-color:#cdd3df;color:#111}
.qr-dialog .icon-btn:hover {background:#e2e8f4}
.qr-expanded {
  flex:1;display:grid;place-content:center;justify-items:center;gap:8px;
  min-width:0;text-align:center;
}
.qr-expanded .qr {margin:0;padding:0}
.qr-expanded .qr svg {width:min(calc(100vw - 28px),calc(100dvh - 150px),640px)}
.qr-expanded p {color:#454b59;font-size:.88rem}
.qr-expanded .big-code {font-size:clamp(1.3rem,6vw,2.25rem);white-space:nowrap}

@media(max-height:445px) {
  .roulette-home {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:5px}
  .roulette-home .roulette-stage {display:contents}
  .roulette-home .club-heading,.roulette-home #home-reel,.roulette-examples {grid-column:1 / -1}
  .club-screen .roulette-home .roulette-stage .reel-window {--cw:min(22vw,15dvh,108px)}
  .roulette-home .roulette-links {margin-top:0;gap:4px}
  .roulette-home .roulette-links .club-link {font-size:.67rem;line-height:1.12;padding:3px}
  .roulette-home .roulette-links .club-link .icon {display:none}
  .roulette-home .roulette-controls .button {flex-wrap:wrap;gap:3px;padding-inline:5px;font-size:.78rem}
  .roulette-examples {margin-top:4px;padding-top:3px}
  .roulette-examples .catalog {gap:2px 4px}
  .roulette-examples .product {padding-block:1px}
}
