:root{
  --felt:#073f2a;
  --felt-deep:#032b1c;
  --felt-light:#0c6846;
  --paper:#fffdf8;
  --ink:#17201d;
  --gold:#f6c85f;
  --red:#c9343d;
  --line:rgba(255,255,255,.16);
  --shadow:0 24px 70px rgba(0,20,12,.30);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-width:0;
  min-height:100vh;
  overflow-x:hidden;
  background:
    radial-gradient(circle at 10% 18%,rgba(27,145,99,.30),transparent 28rem),
    radial-gradient(circle at 92% 55%,rgba(184,134,34,.22),transparent 30rem),
    linear-gradient(145deg,var(--felt),var(--felt-deep));
  color:#fff;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.45;
}
button,input{font:inherit}
a{color:inherit}
.shell{width:min(1120px,calc(100% - 30px));margin-inline:auto}
.felt-glow{position:fixed;border-radius:999px;filter:blur(6px);pointer-events:none;opacity:.2;z-index:-1}
.felt-glow-one{width:330px;height:330px;left:-190px;top:26%;background:#1fb879}
.felt-glow-two{width:390px;height:390px;right:-230px;bottom:4%;background:#b88622}

.site-header{position:sticky;top:0;z-index:20;background:rgba(3,43,28,.90);backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}
.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;min-width:0}
.brand-card{width:40px;height:51px;display:grid;place-items:center;border-radius:9px;background:linear-gradient(145deg,#9f1f29,#d84b52);border:2px solid rgba(255,255,255,.9);box-shadow:0 7px 18px rgba(0,0,0,.28);transform:rotate(-4deg);position:relative;overflow:hidden}
.brand-card:before,.brand-card:after{content:"";position:absolute;width:28px;height:28px;border:1px solid rgba(255,255,255,.22);transform:rotate(45deg)}
.brand-card:before{left:-14px;top:-14px}.brand-card:after{right:-14px;bottom:-14px}
.brand-card span{font-family:Georgia,serif;font-weight:900;font-size:14px;z-index:1}
.brand-copy{display:flex;flex-direction:column;min-width:0}.brand-copy strong{font-size:16px;white-space:nowrap}.brand-copy small{color:rgba(255,255,255,.65);font-size:11px}
.live-clock{display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid var(--line);background:rgba(255,255,255,.06);border-radius:13px}
.live-clock>span:last-child{display:flex;flex-direction:column}.live-clock small{font-size:9px;text-transform:uppercase;letter-spacing:.11em;color:rgba(255,255,255,.58)}.live-clock strong{font-variant-numeric:tabular-nums;font-size:13px}
.live-dot{width:8px;height:8px;border-radius:50%;background:#43e391;box-shadow:0 0 0 6px rgba(67,227,145,.12);animation:pulse 1.8s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 10px rgba(67,227,145,0)}}

.page-shell{padding-block:26px 58px}
.latest-section{border:1px solid rgba(246,200,95,.35);border-radius:28px;background:rgba(1,38,24,.48);box-shadow:var(--shadow);overflow:hidden}
.latest-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:23px 26px;border-bottom:1px solid rgba(255,255,255,.11);background:linear-gradient(110deg,rgba(255,255,255,.10),rgba(255,255,255,.035))}
.latest-heading>span{display:block;color:var(--gold);font-size:11px;font-weight:850;text-transform:uppercase;letter-spacing:.15em}
.latest-heading h1{margin:5px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(34px,5vw,56px);line-height:1;letter-spacing:-.035em}
.latest-heading time{display:block;margin-top:7px;font-size:15px;font-weight:800;color:rgba(255,255,255,.72);font-variant-numeric:tabular-nums}
.next-result-card{min-width:220px;padding:14px 17px;border:1px solid rgba(246,200,95,.30);border-radius:17px;background:rgba(246,200,95,.10);text-align:right}
.next-result-card>span{display:block;color:rgba(255,255,255,.58);font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.14em}
.next-result-card>strong{display:inline-block;margin-top:2px;color:var(--gold);font-size:20px;font-variant-numeric:tabular-nums}
.next-result-card>small{display:block;color:rgba(255,255,255,.6);font-size:10px}
.countdown{margin-top:7px;font-size:clamp(21px,3vw,30px);font-weight:900;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:.04em}
.next-result-card.is-empty .countdown{color:rgba(255,255,255,.45)}

.latest-board{position:relative;min-height:340px;display:flex;align-items:center;justify-content:center;gap:45px;padding:38px 22px;background:radial-gradient(ellipse at center,rgba(22,113,77,.88),rgba(4,53,35,.97) 70%);overflow:hidden}
.latest-board:before{content:"";position:absolute;inset:17px;border:1px dashed rgba(246,200,95,.28);border-radius:22px}
.board-ring{position:absolute;width:min(78%,720px);height:65%;border:2px solid rgba(246,200,95,.17);border-radius:50%}
.playing-card{position:relative;z-index:2;width:175px;aspect-ratio:.70;display:flex;align-items:center;justify-content:center;border-radius:18px;border:1px solid rgba(40,30,18,.18);background:linear-gradient(145deg,#fff,#f1eadc);color:var(--ink);box-shadow:0 22px 42px rgba(0,0,0,.30),inset 0 0 0 5px rgba(255,255,255,.52)}
.card-andar{transform:rotate(-3deg)}.card-bahar{transform:rotate(3deg);color:var(--red)}
.card-corner{position:absolute;display:flex;flex-direction:column;align-items:center;line-height:.86}.card-corner strong{font-family:Georgia,serif;font-size:25px}.card-corner small{font-size:16px}.card-corner.top{left:13px;top:13px}.card-corner.bottom{right:13px;bottom:13px;transform:rotate(180deg)}
.card-center{display:flex;flex-direction:column;align-items:center}.card-center>span{font-size:34px;line-height:.9}.card-center>strong{font-family:Georgia,serif;font-size:86px;line-height:1}.card-center>small{margin-top:7px;padding-top:6px;border-top:1px solid currentColor;font-size:10px;font-weight:900;letter-spacing:.18em}
.versus-marker{position:relative;z-index:2;min-width:76px;height:62px;padding:7px 12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-radius:18px;border:3px solid rgba(255,255,255,.26);background:linear-gradient(145deg,#f7d579,#c68a1b);color:#3d2b0b;box-shadow:0 12px 24px rgba(0,0,0,.26);font-weight:900;line-height:1}.versus-marker span{font-size:10px;letter-spacing:.14em;text-transform:uppercase}.versus-marker strong{font-family:Georgia,serif;font-size:25px;font-variant-numeric:tabular-nums}

.history-section{margin-top:26px}
.history-head{display:flex;align-items:end;justify-content:space-between;gap:22px;margin-bottom:14px}
.history-head h2{margin:0;font-size:clamp(25px,3vw,34px);letter-spacing:-.03em}.history-head>div>span{display:block;margin-top:2px;color:rgba(255,255,255,.62);font-size:12px}
.date-form{display:grid;grid-template-columns:minmax(135px,1fr) minmax(135px,1fr) auto auto;align-items:end;gap:9px}
.date-form label{display:flex;flex-direction:column;gap:4px}.date-form label span{font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.58)}
.date-form input{width:100%;height:40px;border:1px solid rgba(255,255,255,.18);border-radius:11px;padding:0 11px;background:rgba(0,25,16,.48);color:#fff;color-scheme:dark;outline:none}.date-form input:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(246,200,95,.12)}
.date-form button,.date-form a{height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;padding:0 15px;font-weight:850;text-decoration:none;white-space:nowrap}
.date-form button{border:0;cursor:pointer;background:linear-gradient(145deg,#f7d579,#e9ad36);color:#30230b}.date-form a{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.07)}
.message-bar{margin-bottom:13px;padding:10px 13px;border-radius:11px;background:rgba(246,200,95,.13);border:1px solid rgba(246,200,95,.33);color:#ffe8ad;font-size:12px}
.result-days{display:grid;gap:17px}.result-day{width:100%;min-width:0;border:1px solid rgba(255,255,255,.15);border-radius:20px;background:rgba(255,255,255,.07);overflow:hidden;box-shadow:0 14px 40px rgba(0,0,0,.13)}
.day-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 17px;border-bottom:1px solid rgba(255,255,255,.10);background:rgba(0,23,14,.22)}
.day-header h3{margin:0;font-size:17px}.day-header span{font-size:10px;color:rgba(255,255,255,.58)}
.result-table{width:100%;max-width:100%;border-collapse:collapse;table-layout:fixed}
.result-table .col-time{width:22%}.result-table .col-digit{width:16%}.result-table .col-xa{width:18%}.result-table .col-status{width:28%}
.result-table th{padding:9px 10px;background:rgba(0,20,12,.20);color:rgba(255,255,255,.56);font-size:9px;font-weight:850;text-transform:uppercase;letter-spacing:.10em;text-align:center}
.result-table th:first-child,.result-table td:first-child{text-align:left;padding-left:17px}
.result-table td{height:58px;padding:7px 10px;border-top:1px solid rgba(255,255,255,.09);text-align:center;vertical-align:middle}
.result-table tbody tr:first-child td{border-top:0}.result-table tr.is-declared:nth-child(even){background:rgba(255,255,255,.035)}.result-table tr.is-pending{background:rgba(0,20,12,.15)}
.time-cell time{display:flex;align-items:baseline;gap:4px;white-space:nowrap}.time-cell strong{font-size:15px;font-variant-numeric:tabular-nums}.time-cell small{font-size:9px;color:rgba(255,255,255,.55);font-weight:800}
.digit-card{width:36px;height:42px;display:inline-grid;place-items:center;border-radius:7px;background:linear-gradient(145deg,#fff,#eee6d7);box-shadow:0 5px 12px rgba(0,0,0,.18);font-family:Georgia,serif;font-size:23px;font-weight:900;color:#111}.bahar-digit{color:var(--red)}
.xa-value{font-size:17px;color:var(--gold);font-variant-numeric:tabular-nums}
.status{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap}
.status-declared{background:rgba(67,227,145,.13);color:#7cf4b3;border:1px solid rgba(67,227,145,.24)}
.status-upcoming{background:rgba(246,200,95,.12);color:#f7d579;border:1px solid rgba(246,200,95,.24)}
.status-waiting{background:rgba(255,255,255,.07);color:rgba(255,255,255,.68);border:1px solid rgba(255,255,255,.14)}
.empty-state{padding:38px 18px;text-align:center;border:1px dashed rgba(255,255,255,.22);border-radius:18px;background:rgba(255,255,255,.04);color:rgba(255,255,255,.68)}

@media(max-width:760px){
  .page-shell{padding-top:18px}
  .latest-summary{padding:18px 18px}
  .latest-heading h1{font-size:39px}
  .next-result-card{min-width:190px;padding:12px 14px}
  .latest-board{min-height:300px;gap:24px;padding-inline:12px}
  .playing-card{width:145px}.card-center>strong{font-size:70px}.card-center>span{font-size:28px}.card-corner strong{font-size:21px}.card-corner small{font-size:13px}
  .versus-marker{min-width:66px;height:54px;padding:6px 10px}.versus-marker strong{font-size:21px}
  .history-head{align-items:stretch;flex-direction:column}
  .date-form{grid-template-columns:1fr 1fr auto auto;width:100%}
}
@media(max-width:520px){
  .shell{width:min(100% - 18px,1120px)}
  .header-inner{min-height:64px}.brand-card{width:34px;height:43px}.brand-copy strong{font-size:13px}.brand-copy small{font-size:9px}.live-clock{padding:7px 8px}.live-clock small{display:none}.live-clock strong{font-size:11px}
  .page-shell{padding-bottom:35px}
  .latest-section{border-radius:20px}
  .latest-summary{align-items:stretch;flex-direction:column;gap:14px;padding:17px}
  .latest-heading h1{font-size:38px}.latest-heading time{font-size:13px}
  .next-result-card{min-width:0;width:100%;display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left}.next-result-card>span{grid-column:1}.next-result-card>strong{grid-column:1}.next-result-card>small{grid-column:1}.countdown{grid-column:2;grid-row:1/4;margin:0;font-size:27px;text-align:right}
  .latest-board{min-height:260px;gap:8px;padding:26px 7px 24px}
  .latest-board:before{inset:10px;border-radius:15px}.board-ring{height:58%}
  .playing-card{width:min(35.5vw,128px);border-radius:13px}.card-center>strong{font-size:58px}.card-center>span{font-size:24px}.card-center>small{font-size:8px}.card-corner{display:none}
  .versus-marker{min-width:56px;height:46px;padding:5px 8px;border-width:2px;border-radius:14px}.versus-marker span{font-size:8px}.versus-marker strong{font-size:18px}
  .history-section{margin-top:20px}.history-head h2{font-size:26px}
  .date-form{grid-template-columns:1fr 1fr}.date-form button,.date-form a{width:100%}
  .day-header{padding:11px 10px}.day-header h3{font-size:14px}
  .result-table .col-time{width:24%}.result-table .col-digit{width:15%}.result-table .col-xa{width:16%}.result-table .col-status{width:30%}
  .result-table th{padding:7px 2px;font-size:7px;letter-spacing:.04em}.result-table th:first-child,.result-table td:first-child{padding-left:9px}
  .result-table td{height:50px;padding:5px 2px}
  .time-cell time{gap:2px}.time-cell strong{font-size:12px}.time-cell small{font-size:7px}
  .digit-card{width:29px;height:34px;border-radius:6px;font-size:19px}.xa-value{font-size:14px}.status{padding:4px 5px;font-size:6.5px;letter-spacing:.02em}
}
@media(max-width:360px){
  .brand-copy small{display:none}.live-clock{gap:6px}
  .latest-heading h1{font-size:34px}.countdown{font-size:23px}
  .result-table .col-time{width:25%}.result-table .col-digit{width:14%}.result-table .col-xa{width:15%}.result-table .col-status{width:32%}
  .digit-card{width:27px;height:32px;font-size:18px}.status{font-size:6px;padding-inline:3px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

.jodi-value{display:inline-flex;min-width:44px;min-height:36px;align-items:center;justify-content:center;padding:5px 9px;border:1px solid rgba(247,194,72,.32);border-radius:999px;background:rgba(247,194,72,.10)}
