@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root{color-scheme:dark;
  --bg:#050d19;
  --panel:#101f32;
  --panel2:#14263c;
  --stroke:#57708b;
  --orange:#ff7900;
  --yellow:#ffd000;
  --text:#f6f8ff;
  --muted:#b9c8db}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:radial-gradient(ellipse at 50% 0%,#102745 0%,#06101e 45%,#040a14 100%);
  font-family:Inter,system-ui,sans-serif;color:var(--text);font-size:15px}
a{color:#fff;text-decoration:none}
button{font:inherit;cursor:pointer}
em{font-style:normal;color:var(--yellow)}
.top{background:linear-gradient(110deg,#0b1a2d,#ff6300 58%,#ed4900);
  box-shadow:0 5px 28px #0005}
.top-inner
{
  max-width:1500px;
  margin:auto;
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 30px;
  gap:18px}
.brand{display:flex;align-items:center;gap:12px}.brand img{width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 4px 8px #3218)}
.brand strong{font-size:clamp(23px,2.5vw,38px);letter-spacing:-1.5px;white-space:nowrap;font-weight:900}
.brand small{display:block;font-size:14px;margin-top:2px}.head-right{display:flex;align-items:center;gap:18px}
.today{background:#b944002a;padding:10px 16px;border-radius:15px;font-weight:700}
.today small{display:block;font-weight:400;font-size:12px}
.head-right button{border:0;background:#12263a;color:#fff;border-radius:25px;padding:10px 14px;font-size:20px}
.head-right 
.bell,.head-right 
.hamb{background:transparent;font-size:27px}
.wrap{max-width:1500px;margin:auto;padding:0 26px 30px}
.nav{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;background:#0b1a2d;border-radius:0 0 20px 20px;padding:8px;margin-bottom:16px}
.nav a{text-align:center;padding:15px 8px;font-weight:800;border-radius:12px;color:#e4ecf7;transition:.2s}
.nav a:hover{background:#1e344d}
.nav a.active{background:linear-gradient(110deg,#ff9700,#ff6100);
  box-shadow:inset 0 0 0 1px #ffb340,0 3px 14px #ff7b0050;color:white}
.hero{height:clamp(200px,22vw,300px);
  position:relative;border-radius:23px;overflow:hidden;border:1px solid #5b78a1;background:#07162e;margin-bottom:16px}
.hero>img{width:100%;height:100%;object-fit:cover;object-position:center}
.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#020b20f2 0%,#06112cce 28%,#06112c35 62%,transparent)}
.hero-overlay{position:absolute;z-index:1;top:50%;left:5%;transform:translateY(-50%)}
.live-chip{background:#e91526;color:white;border-radius:40px;padding:6px 14px;font-weight:900;font-size:13px}
.hero h1{font-size:clamp(30px,4vw,54px);letter-spacing:-2px;margin:8px 0 2px;font-weight:900}
.hero p{font-size:clamp(15px,1.8vw,23px);margin:0 0 12px}
.hero ul{list-style:none;padding:0;margin:0;display:grid;gap:6px}.hero li:before{content:'✓';
  background:#ff7900;border-radius:50%;padding:2px 5px;margin-right:9px;font-weight:900}
.twocards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}
.mini,
.panel,
.countdown{background:linear-gradient(125deg,#1a2d40,#09192b 62%,#10243a);
  border:1px solid var(--stroke);border-radius:20px;box-shadow:inset 0 1px #ffffff0c}
.mini{display:flex;align-items:center;gap:17px;padding:16px 24px;min-height:96px}
.miniicon{font-size:33px;color:#ff8500;background:#ff7b0025;padding:12px;border-radius:14px;text-shadow:0 0 16px #ff7900}
.mini h2{font-size:20px;margin:0 0 6px}
.mini p{margin:0;color:#d7e0ec}
.mini .arrow{margin-left:auto;font-size:30px;color:#a9bcd2}
.status.good{color:#58f6a3!important}
.status.warn{color:#ffd073!important}
.countdown{
  position:relative;
  overflow:hidden;
  text-align:center;
  padding:15px 15px 18px;
  margin-bottom:16px;
  border-color:#ff7900;
  background:radial-gradient(ellipse at 50% 130%,#b74b00 0%,#1c2532 50%,#0a1727 85%)}
.countdown:before,
.countdown:after{content:'';
  position:absolute;
  width:50%;
  height:85px;
  bottom:-55px;
  border:8px solid #ff8300;
  border-radius:50%;
  filter:blur(7px);pointer-events:none}
.countdown:before{left:-10%}
.countdown:after{right:-10%}
.countdown h2{font-size:clamp(16px,1.7vw,23px);margin:0 0 13px}
.digits{display:flex;align-items:center;justify-content:center;gap:12px}
.digits>div{display:grid;gap:5px;min-width:100px}
.digits b{font-size:clamp(30px,4vw,55px);
  font-variant-numeric:tabular-nums;
  letter-spacing:2px;
  background:linear-gradient(#171923,#060b16);
  border:1px solid #ffae00;
  border-radius:14px;
  box-shadow:0 0 16px #ff8000aa,inset 0 0 14px #ff790040;
  padding:6px 15px}
.digits small{font-size:12px;font-weight:800}
.digits i{font-size:35px;font-style:normal;font-weight:900;transform:translateY(-12px)}
.dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.dashboard-main,.dashboard-side{min-width:0;display:flex;flex-direction:column;gap:16px}
.panel{padding:20px 22px;margin-bottom:16px}
.dashboard-grid 
.panel{margin-bottom:0}
.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.sectionhead h2,
.side-intro h2{margin:0;font-size:clamp(17px,1.7vw,23px);letter-spacing:-.5px}
.sectionhead p{margin:5px 0 0;color:#c5d5e7;font-size:13px}
.sectionhead a{color:#ffa100;font-weight:800;white-space:nowrap;font-size:13px}
.official
{
  background:#056e3b;
  border:1px solid #00e578;
  border-radius:12px;
  padding:9px 11px;
  white-space:nowrap;
  font-weight:700;
  font-size:12px}
.balls{display:flex;justify-content:center;gap:12px;margin:18px 0 15px}
.balls span
{
  display:grid;place-items:center;width:min(20%,100px);aspect-ratio:1.2;
  border-radius:16px;
  background:radial-gradient(ellipse at 50% 35%,#0a0d15,#0a0d15 75%);
  border:2px solid #ff9700;
  box-shadow:0 0 16px #ff7900aa,inset 0 0 16px #ff7b0044;
  font-size:clamp(33px,5vw,70px);
  font-weight:900;
  text-shadow:0 0 2px #fff9}
.resultsub{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.resultsub div{text-align:center;background:#172c43;border:1px solid #3b5876;border-radius:13px;padding:9px;font-weight:800}
.resultsub strong{display:block;color:var(--yellow);font-size:30px;line-height:1.1}
.tablewrap{overflow-x:auto}
table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}
th{background:#20354d;color:#dce7f5;padding:10px 8px;font-size:13px}
td{padding:9px 7px;text-align:center;border-bottom:1px solid #2a3b50;font-weight:650}
td:first-child,
th:first-child{text-align:left}
tr:last-child 
td{border-bottom:0}
.pill
{
  display:inline-block;
  background:linear-gradient(#9d3500,#ef6800,#9a2e00);
  border:1px solid #ffb000;
  border-radius:22px;
  padding:5px 20px;
  box-shadow:0 0 12px #ff710065;
  font-weight:900;
  letter-spacing:1px}
.paito p,
.side-intro p{color:#486b86;font-size:13px;line-height:1.65}
.paitotable td,
.paitotable th{border:1px solid #456079;text-align:center;padding:7px 5px}
.paitodigit{display:inline-grid;place-items:center;width:29px;height:29px;border-radius:6px;color:#06111f;font-weight:900}
.side-intro{padding:14px 20px}.side-intro p{margin:7px 0 0}
.shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:18px 0 25px}
.shortcuts a{display:grid;place-items:center;text-align:center;gap:12px;padding:20px 10px;border:1px solid #ff8200;
  border-radius:20px;background:linear-gradient(145deg,#72371e,#281d21);font-weight:900;min-height:125px}
.shortcuts a:nth-child(2){background:linear-gradient(145deg,#173c60,#101c2d);border-color:#87b5de}
.shortcuts a:nth-child(3){background:linear-gradient(145deg,#574016,#211b17);border-color:#ffd100}
.shortcuts a span{font-size:42px;color:#ff8a00}
.shortcuts a:nth-child(3) 
span{color:#ffd100}
.article{line-height:1.8;max-width:960px;margin:20px auto}
.article h1{font-size:30px}
.empty{color:#d3e0ed;text-align:center;padding:22px}
.sponsor{display:block;margin:12px auto;max-width:950px}
.sponsor img{max-width:100%;height:auto;display:block;margin:auto}
footer{border-top:1px solid #40546d;text-align:center;padding:22px 10px;color:#dce5f1}
footer strong{color:white}
footer p{font-size:12px;color:#8fa5bb;max-width:850px;margin:12px auto 0}
.light{--text:#102238;--muted:#435c76;background:#e7edf5;color:#102238}
.light .panel,
.light .mini{background:#fff;color:#14263d}
.light .mini p,
.light .sectionhead p,
.light .paito p{color:#425870}
.light .nav{background:#243850}
.light .resultsub div{color:white}
.light .countdown{color:white}
@media(min-width:1000px)
{
  .dashboard-grid .dashboard-side .paito{flex:1}
  .dashboard-grid 
  .dashboard-side 
  .side-intro{display:none}
  .dashboard-grid 
  .dashboard-side .paito .tablewrap{flex:1}.dashboard-grid .dashboard-side .paito p{margin-top:4px}}
@media(max-width:900px){.top-inner{padding:10px 16px}.brand img{width:55px;height:55px}.brand strong{font-size:25px}.head-right{gap:6px}.today,.theme,.bell{display:none!important}.wrap{padding:0 12px 20px}.nav{display:flex;overflow-x:auto;scrollbar-width:none}.nav a{flex:0 0 auto;padding:13px 16px;font-size:13px}.dashboard-grid{grid-template-columns:1fr}.dashboard-main,.dashboard-side{gap:13px}.panel{margin-bottom:13px}.hero{height:225px}.twocards{gap:10px}.mini{padding:12px;gap:9px;min-height:80px}.mini h2{font-size:14px}.mini p{font-size:11px}.miniicon{font-size:24px;padding:9px}.mini .arrow{display:none}.dashboard-grid .side-intro{display:none}.shortcuts{gap:9px}.shortcuts a{font-size:12px;min-height:100px}.shortcuts a span{font-size:30px}}
@media(max-width:520px){.brand strong{font-size:22px}.brand small{font-size:10px}.brand img{width:45px;height:45px}.top-inner{min-height:65px}.head-right .hamb{font-size:22px;padding:8px}.nav{margin-bottom:12px}.hero{height:205px;border-radius:15px}.hero-overlay{left:5%}.hero h1{font-size:29px;letter-spacing:-1px}.hero p{font-size:14px}.hero li{font-size:11px}.hero ul{gap:5px}.live-chip{font-size:10px}.mini{border-radius:14px}.mini h2{font-size:12px}.mini p{font-size:10px}.miniicon{font-size:20px;padding:7px}.countdown{border-radius:15px}.countdown h2{font-size:15px}.digits{gap:7px}.digits>div{min-width:75px}.digits b{font-size:34px;padding:6px 8px}.digits i{font-size:24px}.panel{padding:14px 12px;border-radius:15px}.sectionhead h2{font-size:16px}.sectionhead a,.official{font-size:10px}.official{padding:6px}.balls{gap:8px}.balls span{font-size:39px;border-radius:11px}.resultsub strong{font-size:25px}th,td{font-size:11px;padding:8px 5px}.pill{padding:5px 11px}.shortcuts a{padding:10px 4px;min-height:80px;font-size:10px;border-radius:12px}.shortcuts a span{font-size:23px}footer{font-size:12px}}

/* Paito manual painting */
.paito-tools{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:12px 0}.tool-label{font-size:13px;font-weight:800}.paito-palette{display:flex;flex-wrap:wrap;gap:7px}.paito-swatch{width:30px;height:30px;border-radius:8px;border:2px solid #6a8097;cursor:pointer}.paito-swatch.chosen{outline:3px solid #fff;outline-offset:2px}.paito-tool-btn{background:#172e47;color:#fff;border:1px solid #65809b;padding:8px 11px;border-radius:9px;font-weight:700}.paito-tool-btn.chosen{background:#c45a00;border-color:#ff9b00}.paito-hint{font-size:12px!important;color:#b7cce2!important}.paitodigit{border:1px solid #ffffff70;cursor:pointer;font:inherit;font-weight:900;transition:transform .12s}.paitodigit:hover,.paitodigit:focus-visible{transform:scale(1.12);outline:2px solid #fff;outline-offset:2px}.paitodigit.manual-colored{box-shadow:inset 0 0 0 2px #fff8}


/* App install promotion: separate module, preserves user's existing CSS */
.install-promo{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:13px 0 17px;padding:13px 19px;border:1px solid #ff9b2f;border-radius:17px;background:linear-gradient(110deg,#853214 0%,#2b2134 37%,#102b48 78%,#0b1a2e 100%);box-shadow:0 5px 22px #ff75001b;color:#fff}
.install-promo[hidden],.install-guide[hidden]{display:none!important}
.install-promo-brand{display:flex;align-items:center;gap:13px;min-width:0;flex:1}
.install-promo-brand img{width:62px;height:62px;object-fit:contain;border-radius:13px;background:#0a2039;box-shadow:0 0 0 1px #ffa54c,0 4px 16px #0007}
.install-promo-brand h2{font-size:clamp(16px,2vw,22px);margin:0 0 4px;font-weight:800;line-height:1.2;color:white}
.install-promo-brand h2 em{font-style:normal;color:#ffd200}
.install-promo-brand p{font-size:12px;color:#e0e8f3;margin:0;line-height:1.4}
.install-promo-benefits{display:flex;gap:16px;border-left:1px solid #ffffff55;padding-left:18px}
.install-promo-benefits span{display:flex;align-items:center;flex-direction:column;font-size:20px;color:#ffb11b;gap:2px}
.install-promo-benefits small{font-size:10px;color:white}
.install-promo-actions{display:flex;align-items:center;gap:12px}
.install-promo-btn{white-space:nowrap;border:1px solid #ffc15b;border-radius:24px;padding:12px 21px;background:linear-gradient(180deg,#ffac00,#ff7000);color:white;font-size:15px;font-weight:800;cursor:pointer;box-shadow:0 3px 10px #ff780050}
.install-promo-btn:hover{filter:brightness(1.12)}
.install-promo-dismiss{border:0;background:transparent;color:#e2e8f1;text-decoration:underline;cursor:pointer;font-size:11px;white-space:nowrap}
.install-guide{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:#000b;padding:20px}
.install-guide-card{position:relative;width:min(420px,100%);background:#11243b;border:1px solid #ff8d18;border-radius:17px;padding:27px;color:white;box-shadow:0 12px 45px #0009}
.install-guide-card h2{margin:0 0 12px;font-size:22px}.install-guide-card p{line-height:1.6;color:#e0e8f3}
.install-guide-close{position:absolute;right:14px;top:9px;font-size:27px;color:white;border:0;background:transparent;cursor:pointer}
.install-guide-ok{background:#ff8000;border:0;border-radius:10px;color:white;font-weight:800;padding:10px 20px;cursor:pointer}
@media(max-width:900px){.install-promo-benefits{display:none}.install-promo{padding:12px 14px}}
@media(max-width:600px){.install-promo{flex-wrap:wrap;gap:9px;margin:10px 0 13px;padding:11px 12px}.install-promo-brand{flex-basis:100%}.install-promo-brand img{width:48px;height:48px}.install-promo-brand h2{font-size:16px}.install-promo-brand p{font-size:11px}.install-promo-actions{width:100%;justify-content:center;gap:17px}.install-promo-btn{font-size:13px;padding:9px 25px}.install-promo-dismiss{font-size:11px}}

/* Web Partner drawer - isolated from existing design */
.partner-backdrop[hidden]{display:none!important}
.partner-backdrop{position:fixed;inset:0;background:rgba(1,8,19,.72);z-index:1200;backdrop-filter:blur(3px)}
.partner-drawer{position:fixed;top:0;right:0;bottom:0;width:min(390px,92vw);z-index:1201;overflow-y:auto;background:linear-gradient(155deg,#162a44,#071321 70%);border-left:1px solid rgba(255,142,19,.55);box-shadow:-15px 0 55px #0009;color:#fff;padding:22px;transform:translateX(105%);transition:transform .25s ease;visibility:hidden}
.partner-drawer.is-open{transform:translateX(0);visibility:visible}
.partner-drawer-head{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff25;padding-bottom:18px}
.partner-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#ffae36}
.partner-drawer h2{margin:5px 0;font-size:25px;color:#fff}
.partner-drawer p{margin:0;color:#b6c9dc;font-size:13px;line-height:1.5}
.partner-close{background:#ff7b00;color:#fff;border:0;border-radius:12px;width:40px;height:40px;font-size:27px;cursor:pointer;flex:none}
.partner-links{display:grid;gap:10px;padding:20px 0}
.partner-link{display:flex;align-items:center;gap:12px;background:#172c44;border:1px solid #38516b;border-radius:13px;padding:13px;color:#fff;text-decoration:none;font-weight:700;font-size:14px;transition:background .15s,border-color .15s}
.partner-link:hover,.partner-link:focus-visible{background:#263e58;border-color:#ff8a00;color:#fff}
.partner-link-icon{display:grid;place-items:center;background:#ff7b0024;color:#ffa42b;border-radius:9px;width:35px;height:35px;font-size:18px}
.partner-external{margin-left:auto;color:#ffae36}
.partner-note{border-top:1px solid #ffffff25;padding-top:14px!important}
body.partner-menu-open{overflow:hidden}
@media(prefers-reduced-motion:reduce){.partner-drawer{transition:none}}

/* SEO editorial: preserve existing dashboard theme */
.seo-links,.seo-page-intro{margin:18px 0;padding:20px;border:1px solid #3b536e;border-radius:18px;background:#102036;color:#e8f1fc}
.seo-links h2,.seo-page-intro h1{margin:0 0 12px}.seo-links a,.article a{color:#ffb13b;text-decoration:underline;text-underline-offset:3px}
.seo-links ul{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:9px 24px;padding-left:20px}
.seo-article-card{padding:15px 0;border-bottom:1px solid #34475f}.seo-article-card h2{margin:0 0 8px}.article article p{line-height:1.85}.article article h2{margin-top:24px}.article nav{margin-bottom:16px;line-height:1.7}
