/* Shared phone canvas and bottom navigation. */
html { background:#171719; }
body { --phone:480px; --gutter:8px; --dock-height:55px; width:min(100%,var(--phone)); margin:0 auto; min-height:100dvh; background:#101113; color:#f2f1ed; padding-bottom:calc(var(--dock-height) + 1px + env(safe-area-inset-bottom)); }
#content { width:100%; margin:0; }
#header[hidden], #dock[hidden] { display:none !important; }
#dock { max-width:var(--phone); margin:auto; background:#080809; border-top:1px solid #353333; }
#dock .dock-inner {
 width:100%; grid-template-columns:repeat(6,minmax(0,1fr)) clamp(48px,15vw,56px) repeat(6,minmax(0,1fr));
}
#dock .dock-inner button {
 grid-column:span 2; display:grid; grid-template-rows:26px 16px; grid-template-columns:minmax(0,1fr);
 justify-items:center; align-items:center; align-content:center; gap:1px; padding:0;
 height:var(--dock-height); min-width:0; white-space:nowrap; font-size:11px; line-height:16px;
}
#dock .dock-inner button svg { grid-area:1 / 1; width:20px; height:20px; z-index:1; }
#dock .dock-inner button span { grid-area:2 / 1; }
#dock .dock-inner button:nth-child(-n+2) { grid-column:span 3; }
#dock .dock-inner button[data-go="/hall"] { grid-column:span 1; }
#dock .dock-inner button[data-go="/hall"] svg { color:#f3d295; }
#dock .dock-inner button[data-go="/hall"]::after {
 content:""; grid-area:1 / 1; width:38px; height:26px; border-radius:9px; background:#30281e;
}
#dock button { min-height:52px; color:#a7a6a5; }
#dock button.sel { color:#e8c689; background:none; }
#dock button.sel::before { display:none; }
body:is([data-page="register"],[data-page="login"]) { padding-bottom:0; background:#040709; }
.entry { min-height:100dvh; position:relative; isolation:isolate; background:#05080b; overflow:hidden; }
.entry::before { content:""; position:absolute; z-index:-1; inset:0; background:linear-gradient(180deg,#000 0%,#000 14%,#03070a9c 32%,#05090cb5 57%,#031015 89%,#02090d),url("assets/matchday.webp") 57% 50% / auto 86% no-repeat; }
.entry-inner { width:min(87%,382px); margin:auto; padding:clamp(27px,5.3dvh,54px) 0 max(36px,env(safe-area-inset-bottom)); }
.entry h1 { margin:0 auto; text-align:center; line-height:0; }
.entry h1 img { width:clamp(112px,36%,147px); }
.entry-clubs { margin:clamp(21px,3.6dvh,36px) auto 0; text-align:center; }
.entry-clubs img { display:block; width:min(100%,340px); margin:auto; mix-blend-mode:screen; }
.entry-tabs { display:flex; gap:26px; margin:clamp(24px,5.1dvh,48px) 0 clamp(13px,2dvh,24px); }
.entry-tabs button { padding:0 1px 7px; font-size:17px; color:#a8a7a7; border-bottom:2px solid transparent; }
.entry-tabs [aria-current] { font-weight:750; color:#fff; border-bottom-color:#eac589; }
.entry form { display:grid; gap:8px; }
.auth-input, #preference { display:flex; align-items:center; min-height:clamp(42px,5.45dvh,50px); border:1px solid #ffffff16; background:#ffffff14; border-radius:10px; color:#e0c49c; padding:0 13px; }
.auth-input:focus-within, #preference:focus-visible { outline:1px solid #e8c68a; }
.auth-input input { width:100%; min-width:0; flex:1; min-height:40px; border:0; outline:0; padding:0 10px; color:#fff; background:transparent; font:inherit; font-size:16px; }
.auth-input input::placeholder { color:#c4c2c0; font-size:13px; }
#preference { width:100%; justify-content:space-between; text-align:left; padding-block:5px; }
#preference>span { display:flex; align-items:center; gap:10px; }
#preference small, #preference b { display:block; } #preference small { color:#bdbbb8; font-size:10px; } #preference b { color:#fff; font-size:13px; font-weight:600; }
.error:empty { display:none; }
.entry .gold, #sheet .gold { margin:1px 0 0; min-height:42px; border:1px solid #e8c78b; border-radius:8px; color:#2d210e; background:linear-gradient(170deg,#f9dea6,#deb375); }
.entry-foot { display:grid; grid-template-columns:1fr 1fr; gap:14px; width:84%; margin:clamp(18px,3.1dvh,29px) auto 0; }
.entry-foot button { min-height:60px; display:grid; place-content:center; justify-items:center; gap:4px; font-size:12px; border:1px solid #ffffff18; border-radius:8px; background:linear-gradient(150deg,#ffffff16,#ffffff08); }
.entry-note { font-size:11px; margin:0 0 10px; text-align:left; color:#c4c2bf; }
#sheet { width:min(100%,var(--phone)); max-width:none; margin:auto auto 0; bottom:0; border-radius:20px 20px 0 0; background:linear-gradient(135deg,#1a1a1a,#0c0c0d); border:1px solid #363536; padding:15px 18px max(17px,env(safe-area-inset-bottom)); }
#sheet::before { display:block; content:""; width:36px; height:4px; margin:0 auto 10px; background:#716a61; border-radius:4px; }
#sheet::backdrop { background:#000a; }
#sheet .sheet-top { position:relative; display:flex; justify-content:center; min-height:29px; }
#sheet .sheet-top h2 { font-size:20px; } #sheet .sheet-top button { position:absolute; right:0; top:-4px; }
#sheet .options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
#sheet .options button { padding:6px 2px; justify-content:center; font-size:12px; min-height:37px; }
#sheet .options button.chosen { color:#f2cb87; border-color:#c9a567; }
#sheet[data-type="pref"]>p,#sheet[data-type="edit"]>p { text-align:center; font-size:12px; color:#b3afa8; margin:8px 0 18px; }
#sheet .stretch { margin-top:20px; }
.category-bar { display:flex; align-items:center; gap:6px; padding:4px var(--gutter); min-height:42px; background:linear-gradient(100deg,#554c42,#4c433a 72%,#342f2d); }
.category-bar button { display:inline-flex; align-items:center; justify-content:center; min-height:34px; padding:0 3px; }
.category-bar .mini-brand img { width:77px; max-height:30px; mix-blend-mode:screen; }
.category-bar .mini-brand { padding:0; mix-blend-mode:screen; }
.bar-space { flex:1; }
.category-bar .balance,.category-bar .top-register { font-size:12px; border:1px solid #b09160; border-radius:20px; padding:0 12px; min-height:27px; color:#f5d39b; }
.category-bar .top-login { font-size:13px; padding:0 6px; }
.category-bar .avatar { width:28px; min-height:28px; border-radius:50%; background:#dec99a; color:#3c342b; }
.venue-home { padding:6px var(--gutter) 12px; }
.venue-home .ticker { margin:0 0 7px; height:26px; font-size:11px; border-radius:5px; }
.design-banner { padding:0; display:block; width:100%; margin-bottom:6px; }
.design-banner img { display:block; width:100%; aspect-ratio:230/60; object-fit:cover; border-radius:6px; }
.flow-section { margin:15px 0 9px; color:#eee; font-size:16px; }
.sport-picker, .sports-providers { display:flex; justify-content:space-around; align-items:center; background:#202125; border-radius:8px; padding:3px; gap:2px; }
.sport-picker button,.sports-providers button { display:grid; place-items:center; gap:3px; flex:1; min-height:44px; padding:3px; }
.sport-picker span { font-size:18px; line-height:1.12; }
.sport-picker small,.sports-providers span { font-size:10px; }
.sport-picker [aria-pressed="true"] { color:#f2d199; background:#3a3631; border-radius:6px; }
.fixture-strip { display:flex; overflow-x:auto; gap:6px; margin-top:9px; scrollbar-width:thin; scrollbar-color:#514b40 transparent; scroll-snap-type:x mandatory; }
.fixture-strip .match-card { flex:0 0 calc((100% - 6px) / 2); min-width:0; scroll-snap-align:start; background:#212226; }
.fixture-strip .match-card:only-child { flex-basis:100%; }
.fixture-strip .match-main { flex-direction:column; align-items:stretch; }
.fixture-strip .match-card:only-child .match-main { flex-direction:row; align-items:center; }
.fixture-strip .match-meta { font-size:11px; }
.fixture-strip .match-meta>span { min-width:0; }
.fixture-strip .star { flex-shrink:0; }
.sports-providers svg { color:#d8ba84; }
.flow-row { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0 6px; }
.flow-row .flow-section { margin:0; }
.agenda { display:grid; gap:5px; }
.agenda button { text-align:left; border-radius:6px; background:#1f2023; min-height:64px; padding:8px 12px; display:grid; grid-template-columns:1fr auto; gap:3px; }
.agenda button span { font-size:10px; color:#aaa; grid-column:1/-1; }
.agenda strong,.agenda time { font-size:13px; line-height:1.5; }
.agenda time { align-self:center; font-variant-numeric:tabular-nums; }
.catalog-filters { display:flex; gap:5px; padding:5px; margin:4px 0 9px; background:#1d1e21; border-radius:7px; overflow-x:auto; scrollbar-width:none; }
.catalog-filters button,.pay-tabs button { flex:none; min-height:32px; padding:0 10px; border-radius:5px; font-size:12px; color:#bcbab6; }
.catalog-filters button[aria-pressed="true"] { background:#3a342d; color:#f5cf89; }
.cover-grid,.lottery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px 6px; }
.cover-card { background:#202124; border-radius:7px; overflow:hidden; min-width:0; position:relative; }
.cover-card>button:first-child { display:block; width:100%; padding:0; text-align:left; }
.cover-card img { display:block; width:100%; aspect-ratio:1; object-fit:cover; }
.cover-card span { display:block; font-size:11px; padding:7px 18px 7px 4px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.cover-card small { color:#c7a567; margin-right:3px; font-size:8px; }
.cover-fav { position:absolute; right:0; bottom:0; height:28px; width:24px; padding:0; background:#202124; color:#a4a4a6; }
.cover-fav[aria-pressed="true"] { color:#e9bf77; }
.table-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.table-card { background:#202124; padding:0; text-align:left; border-radius:8px; overflow:hidden; }
.table-card img { width:100%; aspect-ratio:1.6; display:block; object-fit:cover; }
.road { display:grid; grid-template-columns:repeat(14,1fr); grid-template-rows:repeat(4,12px); padding:5px; background:radial-gradient(#696a7038 1px, transparent 1px) 0 0 / 12px 12px; }
.road i { width:8px; height:8px; align-self:center; border:1.5px solid #e05858; border-radius:100%; }
.road .b { border-color:#659ae9; }
.table-name { display:block; padding:4px 7px 7px; color:#bbb; font-size:11px; }
.provider-mosaic { display:grid; gap:5px; margin-bottom:8px; }
.provider-mosaic.cards { grid-template-columns:repeat(2,1fr); grid-template-rows:repeat(3,clamp(38px,17vw,79px)); }
.provider-mosaic.cards button:first-child { grid-row:1/3; }
.provider-mosaic.fishing { grid-template-columns:1fr 1.5fr 1fr; grid-template-rows:repeat(2,clamp(45px,20vw,92px)); }
.provider-mosaic.fishing button:nth-child(-n+2) { grid-row:span 2; }
.provider-mosaic button { padding:0; border-radius:7px; overflow:hidden; }
.provider-mosaic button[aria-pressed="true"] { outline:2px solid #e5bc77; outline-offset:-2px; }
.provider-mosaic img { width:100%; height:100%; object-fit:cover; display:block; }
.catalog-empty { color:#b4b1ac; font-size:13px; }
.draw-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.draw-pair button { text-align:left; min-height:105px; border-radius:8px; background:linear-gradient(135deg,#182039,#384779); padding:10px 8px; display:grid; gap:4px; }
.draw-pair button:nth-child(2) { background:linear-gradient(135deg,#282642,#524474); }
.draw-pair small,.lottery-grid small { color:#c6c3cc; font-size:10px; }
.draw-pair b { font-size:15px; }
.draw-pair span { display:flex; gap:3px; align-items:center; }
.draw-pair i { font-size:9px; font-weight:bold; color:#655549; background:#f6e2a8; width:17px; height:17px; line-height:17px; text-align:center; font-style:normal; border-radius:50%; }
.lottery-grid button { display:grid; place-items:center; gap:4px; padding:11px 2px 9px; background:#202124; border-radius:8px; }
.lottery-grid img { width:54%; border-radius:50%; aspect-ratio:1; } .lottery-grid b { font-size:12px; }
.page-heading { position:relative; margin:0; min-height:45px; justify-content:center; } .page-heading h1 { font-size:17px; }
.page-heading .circle-button { position:absolute; left:5px; }
body:not([data-page="register"],[data-page="login"],[data-page="lobby"]) #content { padding:0 var(--gutter) 12px; }
.flow-offers { display:grid; gap:8px; }
.flow-offers article { overflow:hidden; border-radius:7px; background:#262525; }
.flow-offers img { display:block; width:100%; aspect-ratio:228/70; object-fit:cover; }
.flow-offers article>div { display:flex; justify-content:space-between; align-items:center; padding:6px 8px; font-size:12px; }
.flow-offers small { color:#d9bb85; }
body[data-page="deposit"] { background:#f1efec; color:#242321; } body[data-page="deposit"] .page-heading { background:#181819; color:#f1eeeb; }
.payment-home { background:white; padding:12px; color:#292722; }.payment-home h2 { font-size:15px; margin:4px 0 8px; }
.pay-tabs { display:flex; border-bottom:1px solid #ddd; } .pay-tabs button { flex:1; color:#57534c; }
.pay-tabs button[aria-pressed="true"] { color:#885d22; border-bottom:2px solid #b3915e; }
.payment-home section { padding:15px 2px; display:grid; gap:5px; border-bottom:1px solid #ece8e3; }
.payment-home section small { color:#777; } .payment-home section strong { font-size:14px; }
.payment-preview { display:grid; justify-items:center; gap:9px; margin:20px 0; padding:30px 0; background:#f8f6f1; color:#806b48; font-size:13px; }
body[data-page="support"] { background:#efeff0; color:#202124; } body[data-page="support"] #content { padding:0; }
body[data-page="support"] .page-heading { color:#fff; background:#3577e3; }
.chat-home { display:flex; align-items:flex-start; gap:8px; padding:16px 10px; }
.chat-avatar { border-radius:50%; background:#397bea; color:white; padding:8px; display:flex; }
.chat-bubble,.chat-compose { background:#fff; font-size:13px; padding:12px; line-height:1.7; border-radius:8px; }
.chat-compose { position:fixed; inset-inline:0; margin-inline:auto; bottom:calc(var(--dock-height) + 1px + env(safe-area-inset-bottom)); width:min(100%,var(--phone)); display:flex; align-items:center; gap:8px; color:#737478; border-radius:0; }
@media(max-height:650px) { .entry-tabs { margin-top:20px; } .entry-foot { margin-top:14px; } .entry-inner { padding-top:24px; } .entry-clubs { margin-top:16px; } }
.entry h1 img { display:block; margin:0 auto; }
.entry form .auth-input { margin:0; gap:0; }
.fixture-strip .match-time { justify-content:space-between; }
.fixture-strip .match-card:only-child .match-time { display:grid; width:auto; margin-left:auto; border:0; padding:0; }
.fixture-strip .lineup { min-width:0; }
.fixture-strip .lineup>span { white-space:nowrap; }
#sheet::backdrop { backdrop-filter:none; }
.member-home { display:grid; gap:10px; }
.member-name { display:flex; align-items:center; gap:10px; padding:15px 3px; }
.member-name .avatar { width:42px; height:42px; display:grid; place-items:center; border:1px solid #c5a469; border-radius:50%; color:#e4c385; }
.member-name span { display:grid; gap:2px; } .member-name small,.member-wallet small { color:#acaaa5; }
.member-wallet { border-radius:10px; background:linear-gradient(120deg,#302d29,#201f20); padding:16px; display:grid; gap:13px; }
.member-wallet>strong { color:#f0d2a2; font-size:23px; }
.member-actions,.member-shortcuts { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }
.member-actions button { min-height:32px; border:1px solid #8d7754; border-radius:16px; color:#ebcc9b; }
.member-actions button:first-child { color:#32281d; background:linear-gradient(#f1d7a6,#c9a26e); }
.member-shortcuts { border:1px solid #2c2b2a; border-radius:7px; background:#212123; padding:10px 4px; }
.member-shortcuts button { display:grid; place-items:center; gap:5px; font-size:12px; }
.member-shortcuts svg { color:#d7b985; }

body[data-page="hall"] #content { padding:6px var(--gutter) 12px; }
.hall-page .hall-wrap { width:100%; }
.hall-page .hall-notice { width:100%; margin:6px 0 0; }
.hall-page .hall-tabbar {
 display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px;
 margin:7px 0 9px; padding:0; overflow:visible;
}
.hall-page .hall-tabbar button { min-width:0; min-height:44px; padding:0 2px; }
.hall-page .hall-banner { height:auto; aspect-ratio:2.75; border-radius:6px; }
.hall-page .hall-mosaic { gap:7px; grid-auto-columns:calc((100% - 14px) / 3); }
