:root{
 --bg:#032f2b;--bg2:#012824;--panel:#083b36;--panel2:#0b443e;
 --gold:#d7a64e;--gold2:#f0d08d;--cream:#fbf1df;--text:#fbf5e9;
 --muted:#bac9c0;--line:rgba(215,166,78,.31);--green:#5d8d51;--danger:#b63831;
 --shadow:0 20px 60px rgba(0,0,0,.24);--radius:18px
}

/* V66.1 — visible crypto top-up action */
.real-payment-actions .crypto-charge-button{border-color:#2bbf9b;background:linear-gradient(135deg,#073d37,#0d6559);color:#fff;box-shadow:0 8px 24px #001f1b55}
.crypto-pay-logos{display:inline-flex;align-items:center;gap:5px;margin-inline-start:8px;direction:ltr}
.crypto-pay-logos b{display:grid;place-items:center;width:27px;height:27px;border-radius:50%;font-size:14px;font-weight:900;line-height:1;box-shadow:0 2px 7px #0005}
.crypto-pay-logos .usdt-logo{background:#26a17b;color:#fff;font-size:18px}.crypto-pay-logos .bnb-logo{background:#f3ba2f;color:#171717}.crypto-pay-logos .tron-logo{background:#ef0027;color:#fff}.crypto-pay-logos .sol-logo{background:linear-gradient(145deg,#9945ff,#14f195);color:#071d1a;font-style:italic}
@media(max-width:730px){.real-payment-actions .crypto-charge-button{grid-column:1/-1;min-height:58px}.crypto-pay-logos b{width:25px;height:25px}}
*{box-sizing:border-box}
html{direction:rtl;scroll-behavior:smooth}
body{margin:0;font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif;color:var(--text);min-height:100vh;background:
radial-gradient(circle at 90% 10%,rgba(215,166,78,.07),transparent 24%),
linear-gradient(180deg,#04332f,#022824 72%,#012521)}
body.compact{--radius:13px}
body.reduce-motion *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}button{cursor:pointer}
.shell{max-width:1500px;margin:auto}.container{width:min(1460px,calc(100% - 28px));margin:auto}
.topbar{position:sticky;top:0;z-index:60;background:rgba(3,47,43,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(215,166,78,.19)}
.toprow{min-height:80px;display:flex;align-items:center;gap:23px}
.brand{display:flex;align-items:center;gap:12px;min-width:220px}
.brandmark{width:56px;height:56px;border:0;border-radius:18px;display:grid;place-items:center;color:transparent;font-size:0;background:url("./site-logo.png") center/cover no-repeat;box-shadow:0 10px 24px rgba(0,0,0,.22);overflow:hidden;flex:0 0 56px}
.brand strong{display:block;font-size:26px;color:var(--cream)}.brand small{display:block;font-size:9px;letter-spacing:4px;color:var(--gold2);margin-top:3px}
.nav{flex:1;display:flex;justify-content:center;gap:18px;align-items:center;font-size:12px;color:#e8deca}.nav a{padding:30px 0 25px;border-bottom:2px solid transparent;white-space:nowrap}.nav a:hover,.nav a.active{color:var(--gold2);border-color:var(--gold)}
.head-actions{display:flex;gap:8px;align-items:center}
.btn{border:1px solid var(--line);background:rgba(255,255,255,.02);color:var(--cream);border-radius:10px;padding:10px 14px;transition:.18s}.btn:hover{border-color:var(--gold);transform:translateY(-1px)}.btn.gold{border:0;background:linear-gradient(#efce86,#d6a347);color:#17342e;font-weight:900}.btn.small{font-size:10px;padding:7px 10px}.btn.danger{border-color:rgba(208,84,76,.45);color:#ffd1cc}
main{padding:18px 0 34px}.card{border:1px solid var(--line);border-radius:var(--radius);background:linear-gradient(180deg,rgba(9,60,54,.97),rgba(4,45,41,.99));box-shadow:var(--shadow);overflow:hidden}.panel{padding:18px}
.page-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin:8px 0 17px}.page-head h1{font-size:29px;margin:0}.page-head p{margin:7px 0 0;color:var(--muted);font-size:12px;line-height:1.9}.breadcrumb{font-size:9px;color:#9cafA5;margin-bottom:8px}
.gold{color:var(--gold2)}.muted{color:var(--muted)}.tiny{font-size:9px}.small{font-size:11px}.stack{display:grid;gap:14px}.grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.tag{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border:1px solid var(--line);border-radius:999px;font-size:9px;color:#ead9b7;background:rgba(215,166,78,.06)}.tag.live{border-color:rgba(189,55,47,.5);background:rgba(189,55,47,.16);color:#ffd5d2}
.hero{display:grid;grid-template-columns:1.55fr .65fr .88fr;gap:14px}
.hero.personalized-hero{align-items:stretch}
.hero.personalized-hero.layout-all{grid-template-columns:1.55fr .65fr .88fr}
.hero.personalized-hero.layout-no-chance{grid-template-columns:minmax(0,1.9fr) minmax(300px,.82fr)}
.hero.personalized-hero.layout-no-current{grid-template-columns:minmax(0,1.95fr) minmax(330px,.95fr)}
.hero.personalized-hero.layout-live-only{grid-template-columns:minmax(0,1fr)}
.hero.personalized-hero.layout-no-live{grid-template-columns:repeat(2,minmax(0,1fr))}
.hero.personalized-hero.layout-two-generic{grid-template-columns:repeat(2,minmax(0,1fr))}
.hero.personalized-hero.layout-one{grid-template-columns:minmax(0,1fr)}
.hero.personalized-hero.layout-no-chance .live-card,
.hero.personalized-hero.layout-no-current .live-card{min-height:520px}
.hero.personalized-hero.layout-live-only .live-card{min-height:590px;max-width:none}
.hero.personalized-hero.layout-no-live .current,
.hero.personalized-hero.layout-no-live .chance,
.hero.personalized-hero.layout-two-generic > article,
.hero.personalized-hero.layout-one > article{min-height:470px}
.hero.personalized-hero.live-emphasis-1 .live-card{min-height:540px}
.hero.personalized-hero.live-emphasis-2 .live-card{min-height:590px}

.live-card{min-height:470px;position:relative;background:#123d39}.live-card img{width:100%;height:100%;object-fit:cover;display:block}.live-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.68))}
.live-top{position:absolute;z-index:4;top:15px;right:15px;display:flex;gap:7px}.live-bottom{position:absolute;z-index:4;right:16px;left:16px;bottom:14px;display:flex;justify-content:space-between;align-items:end}.live-bottom strong{display:block;font-size:16px}.live-bottom small{display:block;margin-top:4px;color:#e3e9e4;font-size:10px}
.player-tools{display:flex;gap:6px}.player-tools button{width:38px;height:38px;border:1px solid rgba(255,255,255,.25);border-radius:9px;background:rgba(0,0,0,.38);color:white}
.current{min-height:470px;padding:21px;text-align:center;display:flex;flex-direction:column;align-items:center}.current h3{font-size:15px;margin:0}.medal{width:160px;height:160px;border-radius:50%;border:3px solid var(--gold);display:grid;place-items:center;font-size:67px;font-weight:900;margin:20px 0 17px;background:radial-gradient(circle,#105047,#052e2b 70%);box-shadow:inset 0 0 0 8px rgba(215,166,78,.08)}.current .meta{font-size:13px}.history{margin-top:auto;width:100%;height:42px;border:1px solid var(--gold);border-radius:9px;background:transparent;color:#efd18b}
.chance{min-height:470px;padding:19px}.chance h2{margin:0;font-size:24px}.gauge-card{border:1px solid rgba(215,166,78,.27);border-radius:14px;margin-top:16px;padding:14px;text-align:center}.gauge{width:225px;height:116px;overflow:hidden;position:relative;margin:7px auto 0}.gauge:before{content:"";position:absolute;width:225px;height:225px;border-radius:50%;background:conic-gradient(from 270deg,#d7a64e 0 116deg,#2c5a48 116deg 180deg,transparent 180deg);mask:radial-gradient(circle,transparent 0 64px,#000 65px)}.gauge-copy{position:relative;margin-top:-48px}.gauge-copy strong{display:block;font-size:37px;color:var(--gold2)}.chance-note{font-size:9px;color:#bdc9c1;margin-top:22px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:19px}.metric{border:1px solid rgba(215,166,78,.19);border-radius:10px;text-align:center;padding:9px 4px}.metric span{font-size:8px;color:#b6c6bd}.metric b{display:block;font-size:21px;margin-top:6px}
.lower{display:grid;grid-template-columns:.9fr 1.8fr 1.05fr;gap:14px;margin-top:14px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.section-head h3{margin:0;font-size:18px}
.row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid rgba(255,255,255,.065)}.person{display:flex;gap:8px;align-items:center}.avatar{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#245048;border:1px solid rgba(215,166,78,.26)}.person b{font-size:10px}.person small{display:block;font-size:8px;color:#a8bbb1;margin-top:2px}.amount{font-size:10px;color:#f0d99f;font-weight:800}
.chat-list{max-height:245px;overflow:auto}.msg{display:flex;gap:8px;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.06)}.msg p{margin:3px 0 0;font-size:10px;line-height:1.6}.msg time{font-size:8px;color:#95aaa0}.chat-form{display:flex;gap:6px;margin-top:9px}.chat-form input{flex:1;height:39px;border:1px solid rgba(215,166,78,.22);border-radius:9px;background:#0a433c;color:white;padding:0 11px;outline:none}.chat-form button{width:40px;border-radius:9px;border:1px solid var(--gold);background:transparent;color:var(--gold2)}
/* Real 90-ball Daberna cards: 3x9, 15 numbers */
.ticket-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.daberna-card{background:linear-gradient(180deg,#f5e9cb,#e5cea0);color:#263229;border:1px solid #ba893d;border-radius:8px;padding:6px;box-shadow:0 7px 16px rgba(0,0,0,.18)}
.daberna-head{display:flex;justify-content:space-between;align-items:center;font-size:8px;color:#745b32;padding:0 2px 4px}.daberna-grid{display:grid;grid-template-columns:repeat(9,1fr);direction:ltr;border:1px solid #b89456;background:#c9ad78}
.d-cell{height:34px;position:relative;display:grid;place-items:center;border-left:1px solid #c3a66e;border-bottom:1px solid #c3a66e;background:#fff6df;font-size:12px;font-weight:900}.d-cell.blank{background:#dec8a1}.d-cell.hit{background:#fff4d5}.d-cell.hit:after{content:"";position:absolute;width:23px;height:23px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#8eb36f,#4f7f45 70%);box-shadow:0 1px 3px #0004;opacity:.93}.d-cell.hit span{position:relative;z-index:2;color:white}
.cards-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
/* Big all numbers dialog */
.overlay{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.7);backdrop-filter:blur(6px);display:none;padding:24px}.overlay.show{display:grid;place-items:center}.numbers-dialog{width:min(940px,100%);max-height:92vh;overflow:auto;border:1px solid var(--gold);border-radius:20px;background:#063b36;padding:20px;box-shadow:0 35px 110px #0009}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-head h2{margin:0;font-size:22px}.x{border:0;background:transparent;color:#fff;font-size:28px}.all-number-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:9px}.ball-num{min-height:57px;border:1px solid rgba(255,255,255,.15);border-radius:11px;background:#0d4a42;display:grid;place-items:center;font-size:18px;font-weight:900;color:#eaf0eb}.ball-num.called{background:#356447;border-color:#71915d}.ball-num.latest{background:#dfa949;color:#173029;border-color:#f1d18c;box-shadow:0 0 0 3px rgba(223,169,73,.14)}
.dialog-legend{display:flex;gap:18px;flex-wrap:wrap;margin-top:14px;color:#bdcbc3;font-size:10px}
/* Lobby */
.room{padding:17px}.room-head{display:flex;justify-content:space-between;gap:10px}.room h3{margin:8px 0 4px}.room-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:13px 0}.room-stat{background:rgba(255,255,255,.025);border-radius:10px;text-align:center;padding:9px}.room-stat span{display:block;color:#aabcb2;font-size:8px}.room-stat b{display:block;margin-top:5px;font-size:13px}.progress{height:6px;background:#16483f;border-radius:99px;overflow:hidden}.progress span{height:100%;display:block;background:linear-gradient(90deg,#d3a049,#efd08b)}
/* Forms/background pages */
.visual-page{min-height:calc(100vh - 80px);display:grid;place-items:center;padding:32px 14px;background-size:cover;background-position:center;position:relative}.visual-page:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(1,35,32,.9),rgba(2,48,43,.58));}.visual-page>*{position:relative;z-index:2}
.form-card{width:min(540px,100%);padding:24px;background:rgba(4,49,44,.93);border:1px solid var(--line);border-radius:20px;box-shadow:0 30px 100px #0006;backdrop-filter:blur(10px)}.form-card h1{margin:0}.field{margin-top:12px}.field label{display:block;font-size:9px;color:#c2d0c8;margin-bottom:5px}.field input,.field select,.field textarea{width:100%;border:1px solid rgba(215,166,78,.23);border-radius:9px;background:#0b443d;color:#fff;padding:11px;outline:none}.field textarea{min-height:115px;resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.submit{width:100%;height:43px;margin-top:15px;border:0;border-radius:9px;background:#d7a64e;color:#17332d;font-weight:900}.form-note{font-size:9px;color:#aebfb5;line-height:1.8;margin-top:10px}
/* settings */
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.065)}.setting-row b{font-size:11px}.setting-row small{display:block;margin-top:3px;font-size:8px;color:#a9bbb1}.toggle{width:44px;height:24px;border-radius:99px;border:1px solid rgba(255,255,255,.14);background:#184b43;position:relative;flex:0 0 44px}.toggle:after{content:"";position:absolute;right:3px;top:2px;width:18px;height:18px;border-radius:50%;background:#c9d5ce;transition:.18s}.toggle.on{background:#8b7136}.toggle.on:after{right:21px;background:#ffe5aa}
/* Tables/info */
.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:10px}.table th,.table td{padding:11px;border-bottom:1px solid rgba(255,255,255,.065);text-align:right;white-space:nowrap}.table th{color:#d9c59d}.notice{padding:12px;border:1px solid rgba(215,166,78,.23);border-radius:11px;background:rgba(215,166,78,.055);font-size:10px;line-height:1.8}.faq details{padding:12px 0;border-bottom:1px solid rgba(255,255,255,.065)}.faq summary{cursor:pointer;font-size:11px;font-weight:800}.faq p{font-size:10px;line-height:1.9;color:#b8c8bf}
.footer{border-top:1px solid rgba(215,166,78,.17);padding:28px 0 35px;margin-top:20px;color:#b5c5bb}.footer-grid{display:grid;grid-template-columns:1.25fr repeat(4,1fr);gap:22px}.footer h4{margin:0 0 10px;color:#e8d9bd}.footer a{display:block;margin:7px 0;font-size:9px}.footer p{font-size:9px;line-height:1.9}.footer-bottom{margin-top:20px;padding-top:14px;border-top:1px solid rgba(255,255,255,.055);display:flex;justify-content:space-between;font-size:8px}
.toast{position:fixed;z-index:150;left:20px;bottom:20px;background:#f2deb0;color:#17342e;padding:11px 14px;border-radius:10px;font-size:9px;box-shadow:var(--shadow);opacity:0;transform:translateY(20px);transition:.18s}.toast.show{opacity:1;transform:none}
@media(max-width:1160px){.nav{display:none}.hero,.hero.personalized-hero,.hero.personalized-hero.layout-all{grid-template-columns:1.4fr .7fr}.hero.personalized-hero.layout-all .chance{grid-column:1/-1;min-height:auto}.hero.personalized-hero.layout-no-chance,.hero.personalized-hero.layout-no-current,.hero.personalized-hero.layout-no-live,.hero.personalized-hero.layout-two-generic,.hero.personalized-hero.layout-one,.hero.personalized-hero.layout-live-only{grid-template-columns:1fr}.chance{grid-column:1/-1;min-height:auto}.lower{grid-template-columns:1fr 1.8fr}.chat-panel{grid-column:1/-1}.grid4{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}.cards-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:730px){.container{width:calc(100% - 18px)}.brand strong{font-size:20px}.brand small{letter-spacing:2px}.head-actions .btn:not(.gold){display:none}.hero,.hero.personalized-hero,.hero.personalized-hero.layout-all,.hero.personalized-hero.layout-no-chance,.hero.personalized-hero.layout-no-current,.hero.personalized-hero.layout-live-only,.hero.personalized-hero.layout-no-live,.hero.personalized-hero.layout-two-generic,.hero.personalized-hero.layout-one,.lower,.grid2,.grid3,.grid4,.settings-grid,.form-row{grid-template-columns:1fr}.live-card,.hero.personalized-hero.layout-no-chance .live-card,.hero.personalized-hero.layout-no-current .live-card,.hero.personalized-hero.layout-live-only .live-card,.hero.personalized-hero.live-emphasis-1 .live-card,.hero.personalized-hero.live-emphasis-2 .live-card{min-height:400px}.current,.chance{min-height:auto}.ticket-wrap,.cards-gallery{grid-template-columns:1fr}.all-number-grid{grid-template-columns:repeat(5,1fr)}.ball-num{min-height:54px;font-size:17px}.footer-grid{grid-template-columns:1fr}.page-head{align-items:start;flex-direction:column}}


/* ===== v4: numeral system, recent balls, improved chance chart, zoom cards, mobile immersion ===== */
:root{
  --mobile-nav-h:72px;
}

/* Recent called balls under current number */
.recent-called{
  width:100%;
  margin:14px 0 11px;
}
.recent-called-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  margin-bottom:8px;
  font-size:9px;
  color:var(--muted);
}
.recent-balls{
  direction:ltr;
  display:flex;
  gap:7px;
  align-items:center;
  justify-content:center;
  overflow-x:auto;
  padding:3px 2px 7px;
  scrollbar-width:none;
}
.recent-balls::-webkit-scrollbar{display:none}
.recent-ball{
  flex:0 0 32px;
  width:32px;height:32px;
  border-radius:50%;
  display:grid;place-items:center;
  position:relative;
  border:1px solid #bc8f43;
  color:#17342d;
  background:
    radial-gradient(circle at 32% 25%,#fff8dc 0 12%,#e8c36d 13% 45%,#c18d38 72%,#79561f 100%);
  box-shadow:0 4px 10px rgba(0,0,0,.28), inset -2px -4px 5px rgba(82,47,9,.2);
  font-weight:900;
  font-size:11px;
}
.recent-ball:before{
  content:"";position:absolute;left:6px;top:5px;width:7px;height:5px;border-radius:50%;background:rgba(255,255,255,.72);filter:blur(.2px)
}
.recent-ball.latest{
  flex-basis:39px;width:39px;height:39px;
  border:2px solid #ffe5a7;
  box-shadow:0 0 0 3px rgba(215,166,78,.14),0 6px 15px rgba(0,0,0,.34);
  font-size:13px;
}

/* All numbers: large numbered balls */
.numbers-dialog{
  width:min(1020px,100%);
}
.all-number-grid{
  direction:ltr;
  grid-template-columns:repeat(10,minmax(64px,1fr));
  gap:12px;
}
.ball-num{
  aspect-ratio:1;
  min-height:64px;
  border-radius:50%;
  position:relative;
  overflow:hidden;
  border:1px solid #466d64;
  background:
    radial-gradient(circle at 33% 27%,#48786c 0 7%,#154f47 28%,#0b3d37 68%,#052c29 100%);
  display:grid;
  place-items:center;
  color:#e8efea;
  font-size:19px;
  font-weight:900;
  box-shadow:0 6px 14px rgba(0,0,0,.25), inset -4px -6px 8px rgba(0,0,0,.18);
}
.ball-num:before{
  content:"";
  position:absolute;
  left:19%;top:14%;
  width:27%;height:17%;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  transform:rotate(-25deg);
}
.ball-num.called{
  background:
    radial-gradient(circle at 33% 27%,#9fbe8b 0 7%,#6f9c61 27%,#477b48 66%,#2d5735 100%);
  border-color:#9dbe8e;
  color:white;
}
.ball-num.latest{
  background:
    radial-gradient(circle at 33% 27%,#fff9dd 0 8%,#f0cd79 28%,#daa34a 66%,#8d6021 100%);
  color:#17312a;
  border-color:#ffe5a6;
  box-shadow:0 0 0 4px rgba(229,177,77,.16),0 8px 20px rgba(0,0,0,.3);
}
.number-range-label{
  direction:rtl;
  margin-top:12px;
  display:flex;justify-content:center;gap:8px;flex-wrap:wrap;
}

/* Chance analysis: cleaner donut + stage progress */
.chance-v4{
  display:flex;
  flex-direction:column;
}
.chance-ring-wrap{
  display:grid;
  place-items:center;
  margin:16px 0 10px;
}
.chance-ring{
  --chance:34;
  width:184px;height:184px;
  border-radius:50%;
  display:grid;place-items:center;
  position:relative;
  background:
    conic-gradient(var(--gold) calc(var(--chance)*1%), #28564a 0);
  box-shadow:0 12px 28px rgba(0,0,0,.22), inset 0 0 0 1px rgba(255,255,255,.04);
}
.chance-ring:before{
  content:"";position:absolute;inset:15px;border-radius:50%;
  background:radial-gradient(circle at 40% 30%,#0d4840,#073832 70%);
  border:1px solid rgba(215,166,78,.25);
}
.chance-ring-copy{
  position:relative;z-index:2;text-align:center;
}
.chance-ring-copy strong{
  display:block;font-size:35px;color:var(--gold2);line-height:1;
}
.chance-ring-copy span{
  display:block;font-size:9px;color:var(--muted);margin-top:7px;
}
.chance-stage-list{
  display:grid;gap:10px;margin-top:12px;
}
.chance-stage{
  display:grid;
  grid-template-columns:92px 1fr 38px;
  gap:9px;align-items:center;
  font-size:9px;
}
.chance-stage-track{
  height:7px;border-radius:99px;overflow:hidden;background:#17483f;
}
.chance-stage-track i{
  display:block;height:100%;width:0;
  background:linear-gradient(90deg,#c89238,#f0d18b);
  border-radius:99px;
}
.chance-stage b{font-size:9px;color:#edd69d;text-align:left}

/* Card zoom */
.daberna-card{
  cursor:zoom-in;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.daberna-card:hover{
  transform:translateY(-2px);
  border-color:#e0b85e;
  box-shadow:0 11px 23px rgba(0,0,0,.25);
}
.daberna-card.focus-hit{
  animation:cardPulse 1.2s ease 2;
}
@keyframes cardPulse{
  0%,100%{box-shadow:0 7px 16px rgba(0,0,0,.18)}
  50%{box-shadow:0 0 0 4px rgba(215,166,78,.24),0 16px 28px rgba(0,0,0,.28);transform:scale(1.025)}
}
.card-zoom-overlay{
  position:fixed;inset:0;z-index:130;
  display:none;place-items:center;padding:20px;
  background:rgba(0,0,0,.76);backdrop-filter:blur(7px);
}
.card-zoom-overlay.show{display:grid}
.card-zoom-shell{
  width:min(960px,100%);
  position:relative;
  background:#073a35;
  border:1px solid var(--gold);
  border-radius:20px;
  padding:24px;
  box-shadow:0 35px 110px rgba(0,0,0,.6);
}
.card-zoom-close{
  position:absolute;left:13px;top:10px;
  border:0;background:transparent;color:#fff;font-size:30px;z-index:3;
}
.card-zoom-title{
  margin-bottom:15px;padding-left:35px;
  display:flex;justify-content:space-between;align-items:center;gap:12px;
}
.card-zoom-content .daberna-card{
  cursor:default;
  width:100%;
  transform:none!important;
}
.card-zoom-content .daberna-head{font-size:12px;padding:0 5px 8px}
.card-zoom-content .d-cell{
  height:72px;
  font-size:24px;
}
.card-zoom-content .d-cell.hit:after{
  width:48px;height:48px;
}
.card-zoom-hint{
  text-align:center;color:var(--muted);font-size:9px;margin-top:12px;
}

/* Better standalone auth pages */
.auth-page{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(400px,.85fr);
  background:#042e2a;
}
.auth-visual{
  min-height:100vh;
  position:relative;
  background-image:linear-gradient(180deg,rgba(3,41,37,.08),rgba(2,35,32,.78)),url(bg-auth.jpg);
  background-size:cover;background-position:center;
  display:flex;align-items:flex-end;padding:55px;
}
.auth-visual:after{
  content:"";position:absolute;inset:0;
  background:radial-gradient(circle at 25% 20%,rgba(239,196,107,.11),transparent 28%);
  pointer-events:none;
}
.auth-story{position:relative;z-index:2;max-width:650px}
.auth-brand{display:inline-flex;align-items:center;gap:13px;margin-bottom:24px}
.auth-brand .brandmark{backdrop-filter:none}
.auth-story h1{font-size:39px;margin:0 0 12px;color:#f6e7c8}
.auth-story p{font-size:12px;line-height:2;color:#d8e0da}
.auth-points{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}
.auth-points span{
  padding:8px 11px;border-radius:999px;border:1px solid rgba(240,208,141,.32);
  background:rgba(4,48,43,.55);backdrop-filter:blur(8px);font-size:9px;
}
.auth-side{
  display:grid;place-items:center;padding:35px 28px;
  background:
    radial-gradient(circle at 70% 8%,rgba(215,166,78,.08),transparent 24%),
    linear-gradient(180deg,#073732,#032b27);
}
.auth-form{
  width:min(480px,100%);
}
.auth-form-card{
  padding:28px;border-radius:22px;border:1px solid var(--line);
  background:rgba(7,57,52,.92);box-shadow:0 28px 90px rgba(0,0,0,.34);
}
.auth-form-card h2{font-size:26px;margin:0 0 6px}
.auth-back{display:inline-block;margin-bottom:18px;font-size:10px;color:#d9c599}

/* Mobile game immersion */
.mobile-nav{
  display:none;
}
.mobile-game-strip{
  display:none;
}
@media(max-width:730px){
  body{padding-bottom:calc(var(--mobile-nav-h) + 10px)}
  .topbar{position:relative}
  .toprow{min-height:68px}
  .head-actions{display:none}
  .brand{min-width:0}
  .brandmark{width:46px;height:46px;border-radius:14px;background-size:cover}
  .brand strong{font-size:19px}
  .brand small{font-size:7px}
  main{padding-top:9px}
  .page-head{display:none}
  .hero{gap:10px}
  .live-card{
    min-height:54vh;
    max-height:590px;
    border-radius:16px;
  }
  .live-bottom{bottom:11px;right:12px;left:12px}
  .current{
    padding:16px 13px;
    border-radius:16px;
  }
  .medal{
    width:138px;height:138px;
    font-size:58px;
    margin:12px 0 8px;
  }
  .recent-called{margin:8px 0}
  .recent-balls{
    justify-content:flex-start;
    padding-right:4px;padding-left:4px;
    scroll-snap-type:x mandatory;
  }
  .recent-ball{flex-basis:36px;width:36px;height:36px;font-size:12px;scroll-snap-align:center}
  .recent-ball.latest{flex-basis:43px;width:43px;height:43px}
  .chance{padding:16px 13px;border-radius:16px}
  .chance-ring{width:160px;height:160px}
  .chance-ring-copy strong{font-size:31px}
  .chance-stage{grid-template-columns:76px 1fr 34px}
  .lower{gap:10px}
  .ticket-wrap{
    display:flex!important;
    overflow-x:auto;
    gap:8px;
    scroll-snap-type:x mandatory;
    padding-bottom:8px;
  }
  .ticket-wrap .daberna-card{
    flex:0 0 91%;
    scroll-snap-align:center;
  }
  .d-cell{height:38px;font-size:13px}
  .d-cell.hit:after{width:27px;height:27px}
  .cards-gallery{
    display:flex!important;
    overflow-x:auto;
    gap:8px;
    scroll-snap-type:x mandatory;
    padding-bottom:8px;
  }
  .cards-gallery .daberna-card{
    flex:0 0 92%;scroll-snap-align:center;
  }
  .overlay{padding:8px}
  .numbers-dialog{
    width:100%;height:calc(100vh - 18px);max-height:none;border-radius:18px;padding:14px;
  }
  .dialog-head{
    position:sticky;top:-14px;z-index:3;background:#063b36;padding:14px 0 10px;
  }
  .dialog-head h2{font-size:18px}
  .all-number-grid{
    grid-template-columns:repeat(5,1fr);
    gap:11px;
  }
  .ball-num{
    min-height:0;
    width:100%;
    font-size:18px;
  }
  .card-zoom-overlay{padding:7px}
  .card-zoom-shell{
    width:100%;max-height:calc(100vh - 14px);overflow:auto;
    border-radius:18px;padding:18px 12px 14px;
  }
  .card-zoom-content .d-cell{height:54px;font-size:19px}
  .card-zoom-content .d-cell.hit:after{width:38px;height:38px}
  .mobile-nav{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    position:fixed;z-index:80;
    bottom:0;left:0;right:0;
    height:var(--mobile-nav-h);
    background:rgba(3,43,39,.96);
    border-top:1px solid rgba(215,166,78,.28);
    backdrop-filter:blur(16px);
    padding:7px 6px max(7px,env(safe-area-inset-bottom));
  }
  .mobile-nav a{
    display:grid;place-items:center;
    align-content:center;gap:4px;
    color:#c5d1ca;font-size:8px;
    border-radius:11px;
  }
  .mobile-nav a strong{font-size:18px;font-weight:400;width:24px;height:24px;display:grid;place-items:center}
  .mobile-nav a strong svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .mobile-nav a.game strong svg{width:27px;height:27px;stroke-width:1.6}
  .mobile-nav a.game{
    background:linear-gradient(180deg,#d9aa4e,#be8834);
    color:#17322c;
    transform:translateY(-13px);
    border-radius:50%;
    width:56px;height:56px;
    justify-self:center;
    box-shadow:0 8px 20px rgba(0,0,0,.3);
  }
  .footer{display:none}
  .mobile-game-strip{
    display:flex;
    position:sticky;top:0;z-index:55;
    align-items:center;justify-content:space-between;gap:8px;
    margin:0 -5px 9px;padding:7px 9px;
    background:rgba(5,52,47,.94);
    border:1px solid rgba(215,166,78,.2);
    border-radius:12px;
    backdrop-filter:blur(12px);
  }
  .mobile-game-strip .mini-current{
    display:flex;align-items:center;gap:7px;font-size:9px;
  }
  .mobile-game-strip .mini-ball{
    width:34px;height:34px;border-radius:50%;display:grid;place-items:center;
    background:#d8a64d;color:#17312b;font-weight:900;font-size:12px;
  }

  /* Auth mobile */
  body.auth-body{padding-bottom:0}
  .auth-page{grid-template-columns:1fr;min-height:100vh}
  .auth-visual{min-height:34vh;padding:24px 18px;background-position:center 25%}
  .auth-story h1{font-size:27px}
  .auth-story p{display:none}
  .auth-points{display:none}
  .auth-brand{margin-bottom:10px}
  .auth-side{padding:18px 13px 30px;align-items:start}
  .auth-form-card{padding:21px 16px;border-radius:18px}
  .auth-form-card h2{font-size:23px}
}

/* V66.1 network artwork */
.crypto-network-icon{padding:7px;box-sizing:border-box;background:#071f1d!important;color:transparent!important;box-shadow:inset 0 0 0 1px #ffffff20,0 5px 14px #001b18aa}
.crypto-network-icon svg{display:block;width:100%;height:100%}

/* V66.2 direct crypto wallet entry */
.crypto-charge-button{display:flex!important;align-items:center;justify-content:center;gap:14px;min-height:64px}.crypto-charge-copy{display:grid;text-align:start;line-height:1.35}.crypto-charge-copy strong{font-size:15px}.crypto-charge-copy small{color:#c2ded7;font-size:11px;font-weight:500}.crypto-entry-loading{padding:28px;border:1px solid #d7a64e66;border-radius:24px;background:linear-gradient(145deg,#0b5047,#062e2a);text-align:center;box-shadow:0 15px 36px #001b1766}.crypto-entry-loading h2{margin:0 0 8px;color:#f3ca77}.crypto-entry-loading p{max-width:650px;margin:0 auto 14px;line-height:1.9}.crypto-entry-loading span{color:#a9c7bf}
@media(max-width:730px){.crypto-charge-button{justify-content:space-between!important;padding:11px 14px!important}.crypto-charge-copy strong{font-size:14px}.crypto-charge-copy small{font-size:10px}.crypto-entry-loading{padding:20px 14px}}

/* V66.3 dedicated crypto view */
main.crypto-focus-mode>:not(#cryptoWalletPanel):not(.crypto-back-finance){display:none!important}main.crypto-focus-mode{display:block!important;max-width:1180px;padding-top:24px}.crypto-focus-mode #cryptoWalletPanel{display:block!important;margin:0 auto 40px}.crypto-back-finance{display:inline-flex!important;margin:0 0 14px}.crypto-focus-mode .crypto-wallet-panel{scroll-margin-top:18px}

/* V66.4 standalone crypto payment page */
.crypto-payment-page{min-height:100vh;background:radial-gradient(circle at 50% 0,rgba(42,176,135,.16),transparent 38%),var(--bg)}
.crypto-page-header{border-bottom:1px solid rgba(222,174,67,.28);background:rgba(3,55,48,.94);backdrop-filter:blur(14px)}
.crypto-page-top{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.crypto-payment-main{max-width:1100px;padding-top:34px;padding-bottom:64px}
.crypto-page-title{display:flex;align-items:center;gap:16px;margin-bottom:22px}
.crypto-page-title .usdt-logo{width:58px;height:58px;font-size:34px;flex:0 0 58px}
.crypto-page-title h1{margin:0 0 5px;font-size:clamp(1.65rem,4vw,2.5rem)}
.crypto-page-title p{margin:0;color:var(--muted)}
.crypto-payment-main>.crypto-wallet-panel{display:block!important;margin:0!important}
.crypto-page-actions{display:flex;align-items:center;gap:10px}.crypto-page-actions .language-switcher{position:static!important;margin:0!important;width:auto!important}.crypto-load-error{text-align:center;padding:32px}.crypto-load-error h2{margin-top:0}.crypto-load-error .btn{margin-top:10px}
@media(max-width:640px){.crypto-page-top{min-height:70px}.crypto-page-top .brand small{display:none}.crypto-back-finance{padding:9px 12px;font-size:.82rem}.crypto-payment-main{padding-top:22px;padding-bottom:34px}.crypto-page-title{align-items:flex-start}.crypto-page-title .usdt-logo{width:48px;height:48px;flex-basis:48px;font-size:28px}}

/* V60 — complete private-room game, cards, chat and owner controls. */
.private-room-playing .private-rooms-page{max-width:1500px}.private-room-playing #privateRoomsList{display:block}.private-room-playing .private-room{padding:clamp(12px,2vw,24px)}
.room-enter-game{display:inline-flex;margin-top:16px}.room-game-shell{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:18px;margin-top:20px}.room-game-toolbar,.room-paused,.room-player-cards{grid-column:1/-1}.room-game-toolbar{display:flex;gap:10px;flex-wrap:wrap;position:sticky;top:8px;z-index:20;padding:10px;border:1px solid var(--line);border-radius:16px;background:#043a34f2;backdrop-filter:blur(12px)}
.room-paused{text-align:center;background:#6b4a18;color:#fff3cf}.room-player-cards{padding:18px;border:1px solid var(--line);border-radius:20px;background:#052f2b}.room-cards-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.room-player-card{padding:14px;border:2px solid #9a7745;border-radius:18px;background:linear-gradient(145deg,#f5e7c7,#d9bd83);color:#153830;box-shadow:0 10px 24px #0005}.room-ticket-grid{display:grid;grid-template-columns:repeat(9,1fr);border:2px solid #876839;background:#fff8e6}.room-ticket-grid span{display:grid;place-items:center;min-height:38px;border:1px solid #b99b65;font-weight:800}.room-ticket-grid span.hit{background:#d8a749;color:#092f2b;box-shadow:inset 0 0 0 3px #fff4b5}
.room-chat-panel,.room-owner-settings{padding:18px;border:1px solid var(--line);border-radius:20px;background:#052f2b}.room-chat-list{display:grid;gap:9px;max-height:360px;overflow:auto;margin-bottom:12px}.room-chat-message{padding:10px 12px;border-radius:14px;background:#0b5048}.room-chat-message p{margin:5px 0;overflow-wrap:anywhere}.room-chat-message small{color:var(--muted)}.room-chat-panel form{display:flex;gap:8px}.room-chat-panel input{flex:1;min-width:0}.room-owner-settings summary{cursor:pointer;font-size:20px;font-weight:800;color:var(--gold2)}.room-owner-settings form{display:grid;gap:8px;margin:15px 0}.room-owner-settings .danger{background:#792e2b;color:#fff;border-color:#bd6159}
.room-winner-board{grid-column:1/-1;padding:18px;border:1px solid rgba(215,166,78,.65);border-radius:20px;background:linear-gradient(145deg,#073d36,#052925)}.room-winner-board>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.room-original-layout .room-player-cards{grid-column:1/2}.room-original-layout .room-chat-panel{grid-column:2/3}.private-room-game-page .room-feature-intro,.private-room-game-page .private-room-grid,.private-room-game-page .page-head{display:none!important}
.room-ticket-grid{direction:ltr;border:1px solid #9c7a43;background:#b7965e}.room-ticket-grid .room-ticket-cell{appearance:none;display:grid;place-items:center;min-height:42px;padding:0;border:0;border-inline-end:1px solid #c6ad79;border-bottom:1px solid #c6ad79;background:#fffaf0;color:#19352f;font:900 15px/1 inherit;font-variant-numeric:tabular-nums;cursor:default}.room-ticket-grid .room-ticket-cell:disabled{background:#e8d8b7;color:transparent}.room-ticket-grid .room-ticket-cell.called-match:not(.player-marked){background:#fff1ca;color:#9b3227;box-shadow:inset 0 0 0 2px #d4a652}.room-ticket-grid .room-ticket-cell.called-match{cursor:pointer}.room-ticket-grid .room-ticket-cell.player-marked{position:relative;background:#fff4d8;color:#a72820;box-shadow:inset 0 0 0 3px #af7d3d}.room-ticket-grid .room-ticket-cell.player-marked:after{content:"";position:absolute;width:30px;height:30px;border:4px double #9b7041;border-radius:50%;background:#ead5a566;pointer-events:none}
.room-player-card,.daberna-card{background:#f3e2bd!important;border:1px solid #a98143!important;border-radius:5px!important;box-shadow:0 8px 22px rgba(0,0,0,.22)!important}.daberna-grid{direction:ltr!important}.room-player-card{padding:10px}.room-player-card .section-head{padding:3px 4px 7px;border-bottom:1px solid #b8955b}
@media(max-width:730px){.room-game-shell{grid-template-columns:1fr}.room-original-layout .room-player-cards,.room-original-layout .room-chat-panel{grid-column:1}.room-winner-board>div{grid-template-columns:1fr}.room-cards-grid{grid-template-columns:1fr}.room-ticket-grid span{min-height:32px;font-size:13px}.room-game-toolbar{top:6px}.room-chat-panel form{align-items:stretch}.room-chat-panel form .btn{padding-inline:14px}}
.header-settings-link{display:inline-flex!important;align-items:center;gap:6px}.header-live-return{white-space:nowrap;box-shadow:0 0 0 2px rgba(240,198,101,.2),0 8px 24px rgba(0,0,0,.22)}.voice-number-setting>div:last-child{flex-wrap:wrap}.voice-number-setting select{min-width:105px}.room-password-toggle{margin-top:7px}.room-owner-quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}.room-owner-quick-actions .danger{background:#6f2d2a;color:#fff}.private-room{overflow:hidden}.private-room>.section-head{padding-bottom:10px;border-bottom:1px solid rgba(215,166,78,.22)}
/* Premium paper card: restrained textile paper, crisp grid and high-contrast numbers. */
.daberna-card,.room-player-card{position:relative;overflow:hidden;background:linear-gradient(145deg,#fbf2da 0%,#ecd7aa 100%)!important;border:1px solid #8d6b36!important;box-shadow:0 12px 28px rgba(0,0,0,.28),inset 0 0 0 2px rgba(255,255,255,.4)!important}.daberna-card:before,.room-player-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(91,65,30,.018) 3px 4px)}.daberna-head,.room-player-card .section-head{position:relative;z-index:1;color:#4f3a1e;font-weight:800}.daberna-grid,.room-ticket-grid{position:relative;z-index:1;box-shadow:inset 0 0 0 1px #76562d}.daberna-card .d-cell{background:#fffaf0!important;border-color:#baa06e!important}.daberna-card .d-cell.blank{background:#dcc69b!important}
@media(max-width:730px){.header-settings-link{min-width:44px}.header-settings-link{font-size:0}.header-settings-link span{font-size:19px}.header-live-return{order:-1;width:100%;justify-content:center}.mobile-nav .mobile-rooms span{font-size:10px}}

/* V64 — three selectable card identities inspired by classic Daberna cards. */
.card-theme-settings{margin-top:14px}.card-theme-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card-theme-picker>button{padding:12px;border:1px solid rgba(215,166,78,.3);border-radius:14px;background:#073a34;color:#f8ebcb;cursor:pointer;transition:.18s}.card-theme-picker>button:hover{transform:translateY(-2px);border-color:#e2b85f}.card-theme-picker>button.active{border-color:#f2cc73;box-shadow:0 0 0 3px rgba(226,184,95,.18)}.card-theme-picker b{display:block;margin-top:9px}.theme-preview{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;height:82px;padding:7px;border-radius:7px}.theme-preview i{border-radius:2px}.theme-purple{background:#d6c2a1;border:5px double #593071}.theme-purple i:nth-child(odd){background:#55216d}.theme-purple i:nth-child(even){background:#fff7dc;border:1px solid #55216d}.theme-tile{background:#e9d3a9;border:5px double #836238}.theme-tile i{background:conic-gradient(from 45deg,#8d3e43 0 25%,#e7d5aa 0 50%,#3f6070 0 75%,#e7d5aa 0)}.theme-brown{background:#f2e2be;border:5px double #79503f}.theme-brown i:nth-child(odd){background:#74352e}.theme-brown i:nth-child(even){background:#fff5da;border:1px solid #74352e}

body.card-theme-classic-purple .daberna-card,body.card-theme-classic-purple .room-player-card{background:linear-gradient(145deg,#e6d8bd,#cdb58f)!important;border:5px double #5c2a72!important;box-shadow:0 11px 28px #1d0b2770!important}
body.card-theme-classic-purple .daberna-grid,body.card-theme-classic-purple .room-ticket-grid{background:#57206e!important;border-color:#391447!important;gap:2px;padding:3px}
body.card-theme-classic-purple .d-cell,body.card-theme-classic-purple .room-ticket-cell{background:#fff8df!important;color:#3e1b4f!important;border:1px solid #6b3b7c!important;border-radius:3px}
body.card-theme-classic-purple .d-cell.blank,body.card-theme-classic-purple .room-ticket-cell:disabled{background:linear-gradient(145deg,#6a2882,#421356)!important;color:transparent!important;box-shadow:inset 0 0 0 2px #8f65a0}
body.card-theme-classic-purple .daberna-head,body.card-theme-classic-purple .room-player-card .section-head{color:#4a1f5d!important}

body.card-theme-persian-tile .daberna-card,body.card-theme-persian-tile .room-player-card{background:linear-gradient(145deg,#efe1bd,#caa978)!important;border:6px double #735232!important;box-shadow:0 12px 30px #25170c66!important}
body.card-theme-persian-tile .daberna-grid,body.card-theme-persian-tile .room-ticket-grid{background:#83643f!important;border-color:#67482b!important;gap:2px;padding:3px}
body.card-theme-persian-tile .d-cell,body.card-theme-persian-tile .room-ticket-cell{background:#f7e7c4!important;color:#3b3d41!important;border:1px solid #9e7649!important;font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif!important;text-shadow:0 1px #fff6df}
body.card-theme-persian-tile .d-cell.blank,body.card-theme-persian-tile .room-ticket-cell:disabled{background-color:#d7bc8d!important;background-image:linear-gradient(45deg,transparent 42%,#87444a 43% 48%,transparent 49%),linear-gradient(-45deg,transparent 42%,#3f6770 43% 48%,transparent 49%)!important;background-size:18px 18px!important;color:transparent!important}
body.card-theme-persian-tile .daberna-head,body.card-theme-persian-tile .room-player-card .section-head{color:#593d22!important}

body.card-theme-heritage-brown .daberna-card,body.card-theme-heritage-brown .room-player-card{background:#efe2c4!important;border:6px double #684238!important;box-shadow:0 13px 32px #27110e6b!important}
body.card-theme-heritage-brown .daberna-grid,body.card-theme-heritage-brown .room-ticket-grid{background:#6c332e!important;border-color:#4b2421!important;gap:2px;padding:3px}
body.card-theme-heritage-brown .d-cell,body.card-theme-heritage-brown .room-ticket-cell{background:linear-gradient(145deg,#85443b,#642d29)!important;color:#fff5d9!important;border:1px solid #b88468!important;font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif!important;text-shadow:0 1px 1px #32110f}
body.card-theme-heritage-brown .d-cell.blank,body.card-theme-heritage-brown .room-ticket-cell:disabled{background:#f5e8c8!important;color:transparent!important;box-shadow:inset 0 0 0 1px #a77b5d}
body.card-theme-heritage-brown .daberna-head,body.card-theme-heritage-brown .room-player-card .section-head{color:#5d302b!important}

body[class*="card-theme-"] .d-cell.called-match:not(.player-marked),body[class*="card-theme-"] .room-ticket-cell.called-match:not(.player-marked){background:#fff0ad!important;color:#9c241f!important;box-shadow:inset 0 0 0 3px #d29b38!important}
body[class*="card-theme-"] .d-cell.player-marked,body[class*="card-theme-"] .room-ticket-cell.player-marked{background:#fff1c7!important;color:#a51e1a!important}

/* V65 — compact mobile rooms navigation and a stable live-game return. */
.landing-room-feature{background:linear-gradient(180deg,#f5f7f1,#fff)}
.landing-room-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.landing-room-grid article{position:relative;min-height:210px;padding:24px;border:1px solid #d9e1d9;border-radius:18px;background:#fff;box-shadow:0 14px 34px rgba(22,61,52,.07)}
.landing-room-grid article>b{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#0d463e;color:#efc66f;font-size:13px}
.landing-room-grid h3{margin:18px 0 9px;color:#173f37;font-size:19px}.landing-room-grid p{margin:0;color:#657a74;font-size:14px;line-height:1.9}
.landing-room-actions{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:28px}
.landing-game-theme .landing-room-feature{background:linear-gradient(155deg,#073a34,#0a4a42);color:#f7ead3}
.landing-game-theme .landing-room-feature .landing-section-head h2{color:#f7ead3}.landing-game-theme .landing-room-feature .landing-section-head p{color:#c8d8d1}
.landing-game-theme .landing-room-grid article{background:#06352f;border-color:#d7a64e55;box-shadow:0 16px 36px #001f1b55}
.landing-game-theme .landing-room-grid article>b{background:#e0ad51;color:#17372f}.landing-game-theme .landing-room-grid h3{color:#f5e8cf}.landing-game-theme .landing-room-grid p{color:#bfcfc8}

@media(max-width:900px){.landing-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:730px){
  .mobile-nav .mobile-rooms{display:none!important}
  .header-live-return{position:fixed!important;z-index:1090;top:calc(8px + env(safe-area-inset-top,0px));left:50%;transform:translateX(-50%);width:auto!important;max-width:calc(100vw - 130px);min-height:42px;padding:8px 13px!important;border-radius:999px!important;font-size:12px!important;box-shadow:0 8px 28px #001d19aa,0 0 0 2px #efc66f55!important}
  .private-room-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;align-items:start}
  .private-room-grid>.card{padding:12px 10px!important;border-radius:15px!important;min-width:0}
  .private-room-grid h2{font-size:16px;margin:0 0 10px}.private-room-grid .field{margin-bottom:9px}.private-room-grid label{font-size:11px}
  .private-room-grid input,.private-room-grid select{min-height:43px;padding:8px!important;font-size:13px}.private-room-grid .btn{width:100%;padding:9px 6px!important;font-size:12px}
  .room-feature-intro{padding:12px!important;margin-bottom:10px!important}.room-feature-intro p{margin:5px 0 0;font-size:12px;line-height:1.7}
  .private-room-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}.private-room-stats span{text-align:center;padding:7px 5px!important;font-size:10px}
  .room-owner-quick-actions,.room-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px!important}.room-owner-quick-actions .btn,.room-actions .btn{width:100%;margin:0!important}
  .landing-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.landing-room-grid article{min-height:0;padding:15px 12px;border-radius:14px}.landing-room-grid article>b{width:34px;height:34px}.landing-room-grid h3{font-size:15px;margin:12px 0 6px}.landing-room-grid p{font-size:11px;line-height:1.75}
  .landing-room-actions{align-items:stretch;flex-direction:column;gap:10px}.landing-room-actions a{text-align:center}
}
@media(max-width:390px){.private-room-grid{grid-template-columns:1fr!important}.landing-room-grid{grid-template-columns:1fr}}

/* V66 — encrypted non-custodial wallet and on-chain USDT payments. */
.crypto-wallet-panel{margin:22px 0;padding:clamp(16px,3vw,30px);border:1px solid #d9aa4f88;border-radius:26px;background:radial-gradient(circle at 10% 0,#15685b55,transparent 34%),linear-gradient(145deg,#073e37,#052c28);box-shadow:0 24px 55px #001d1a66;color:#f4ead6;overflow:hidden}
.crypto-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.crypto-head h2{font-size:clamp(24px,4vw,38px);margin:5px 0}.crypto-head p{max-width:720px;color:#bdd0c9;margin:0}.crypto-head>div>span{color:#efc66f;font:800 11px/1.4 ui-monospace,monospace;letter-spacing:1.2px}.crypto-shield{display:grid;place-items:center;flex:0 0 78px;width:78px;height:78px;border-radius:24px;background:linear-gradient(145deg,#f0c76d,#b97c25);color:#103b34;font-size:38px;box-shadow:0 12px 30px #0005}
.crypto-security-note,.crypto-seed-warning{padding:15px;border:1px solid #e5bd6a66;border-radius:15px;background:#dca84b14;color:#eeddbd;line-height:1.8}.crypto-seed-warning code{display:block;margin:14px 0;padding:16px;border-radius:12px;background:#021e1b;color:#ffd984;font:700 16px/2 ui-monospace,monospace;word-spacing:10px;text-align:left;direction:ltr;user-select:all}
.crypto-start-actions,.crypto-tools,.crypto-card-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}.crypto-form{display:grid;gap:10px;max-width:640px;margin-top:18px}.crypto-form.compact{grid-template-columns:minmax(180px,1fr) auto auto;align-items:end}.crypto-form input,.crypto-form textarea,.crypto-form select,.crypto-form-row input,.crypto-form-row select{width:100%;box-sizing:border-box;border:1px solid #d5ad6255;border-radius:11px;background:#0a4b43;color:#fff;padding:12px}.crypto-check{display:flex!important;align-items:center;gap:8px}.crypto-check input{width:auto}.crypto-form-row{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:10px;margin:16px 0}.crypto-form-row label{display:grid;gap:6px}
.crypto-restore-methods{display:grid;grid-template-columns:repeat(2,minmax(220px,1fr));gap:12px;max-width:760px;margin-top:18px}.crypto-restore-methods [data-cancel]{grid-column:1/-1}@media(max-width:640px){.crypto-restore-methods{grid-template-columns:1fr}.crypto-restore-methods [data-cancel]{grid-column:auto}}
.crypto-network-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.crypto-network-grid article{display:flex;flex-direction:column;align-items:center;min-width:0;padding:18px;border:1px solid #e1b65e55;border-radius:20px;background:linear-gradient(160deg,#0b5047,#073730);box-shadow:inset 0 1px #ffffff12,0 12px 28px #001a1755}.crypto-network-grid header{display:flex;align-items:center;align-self:stretch;gap:10px;margin-bottom:12px}.crypto-network-grid header div{display:grid}.crypto-network-grid header small{color:#9fbcb4}.crypto-network-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#e6b65b;color:#133a33;font-weight:950;font-size:20px}.crypto-network-grid canvas{border-radius:12px;max-width:150px}.crypto-network-grid code,.crypto-intent code{display:block;width:100%;margin-top:12px;padding:10px;box-sizing:border-box;border-radius:9px;background:#032621;color:#d8e9e3;font-size:10px;overflow-wrap:anywhere;text-align:center}.crypto-balance{display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:12px;padding-top:12px;border-top:1px solid #ffffff14}.crypto-balance span{color:#9eb9b1;font-size:11px}.crypto-balance strong{color:#f0ca78}
.crypto-network-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.crypto-network-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:58px;padding:8px 12px;border:1px solid #d7a64e66;border-radius:15px;background:#073b35;color:#dcebe6;cursor:pointer}.crypto-network-tabs button.active{border-color:#efc66c;background:linear-gradient(145deg,#d7a243,#f0ca72);color:#07372f;box-shadow:0 8px 22px #001d1855}.crypto-network-tabs .crypto-network-icon{width:34px;height:34px;border-radius:10px;background:#fff}.crypto-network-tabs svg{width:27px;height:27px}.crypto-network-grid.single-network{display:block;max-width:620px;margin:0 auto}.crypto-network-grid.single-network article{display:none}.crypto-network-grid.single-network article.active{display:flex}.crypto-network-grid.single-network canvas{width:180px;max-width:100%;height:auto!important}
.crypto-deposit,.crypto-history{margin-top:22px;padding:18px;border:1px solid #ffffff16;border-radius:18px;background:#021f1c55}.crypto-rate{display:flex;gap:9px;align-items:baseline;color:#b9ccc5}.crypto-rate b{color:#f0ca78}.crypto-rate small{margin-inline-start:auto}.crypto-intent{margin-top:15px;padding:18px;border:1px solid #e8bd6588;border-radius:16px;background:#0a4c43}.crypto-intent form{display:grid;grid-template-columns:1fr auto;gap:9px;margin-top:12px}.crypto-intent form label,.crypto-intent form p{grid-column:1/-1}.crypto-intent form input{min-width:0;border-radius:10px;padding:11px;background:#052d28;color:#fff;border:1px solid #d7a64e55}.crypto-history-row{display:grid;grid-template-columns:1fr auto auto;gap:10px;padding:11px 0;border-bottom:1px solid #ffffff12}.crypto-history-row em{font-style:normal}.crypto-history-row .status-completed{color:#68db9f}.crypto-history-row .status-pending{color:#f0ca78}
@media(max-width:800px){.crypto-network-grid{grid-template-columns:1fr}.crypto-network-tabs{grid-template-columns:1fr}.crypto-network-tabs button{justify-content:flex-start}.crypto-form.compact,.crypto-form-row{grid-template-columns:1fr}.crypto-head{align-items:flex-start}.crypto-shield{width:56px;height:56px;flex-basis:56px;border-radius:18px;font-size:28px}.crypto-intent form{grid-template-columns:1fr}.crypto-wallet-panel{border-radius:18px;padding:14px}.crypto-network-grid article{padding:14px}.crypto-rate{align-items:flex-start;flex-direction:column}.crypto-rate small{margin:0}.crypto-history-row{grid-template-columns:1fr auto}.crypto-history-row em{grid-column:1/-1}}

/* V66.11 — direct treasury deposits with unique invoice amounts. */
.crypto-network-badge{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#082923;color:#fff;font-weight:950;box-shadow:inset 0 0 0 1px #ffffff24}.crypto-network-badge.bsc{color:#f4ba2f}.crypto-network-badge.tron{color:#ff4c5b}.crypto-network-badge.solana{color:#76f7d0}
.crypto-direct-destination{display:grid;justify-items:center;gap:10px;margin:18px 0;padding:20px;border:1px solid #e0b55766;border-radius:20px;background:linear-gradient(145deg,#0a4c43,#06332e);text-align:center}.crypto-direct-destination>[data-network-title]{display:flex;align-items:center;gap:10px;font-size:18px}.crypto-direct-destination>span{color:#b9cec7}.crypto-treasury-address{display:block;width:100%;box-sizing:border-box;padding:14px 16px;border:1px solid #ebc66c66;border-radius:13px;background:#031f1c;color:#fff2c7;font:800 clamp(16px,2vw,21px)/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all;text-align:center;user-select:all}
.crypto-deposit-create{grid-template-columns:minmax(220px,1fr) auto;max-width:none;align-items:end;padding:18px;border:1px solid #ffffff18;border-radius:18px;background:#021f1c55}.crypto-deposit-create label{display:grid;gap:7px}.crypto-deposit-create [role=status]{grid-column:1/-1;margin:0;color:#ffcf70}
.crypto-payment-invoice{display:grid;justify-items:center;gap:12px;margin-top:20px;padding:clamp(18px,3vw,30px);border:2px solid #eac26688;border-radius:24px;background:radial-gradient(circle at 50% 0,#1d796955,transparent 45%),#063a34;box-shadow:0 20px 44px #001b1855;text-align:center}.crypto-invoice-network{display:flex;align-items:center;gap:10px}.crypto-exact-amount{display:block;color:#ffd46f;font:950 clamp(32px,7vw,58px)/1.15 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-1px;direction:ltr}.crypto-countdown{display:flex;align-items:center;gap:10px;padding:9px 15px;border-radius:999px;background:#021f1c}.crypto-countdown strong{color:#ffd46f;font:900 24px/1 ui-monospace,monospace;font-variant-numeric:tabular-nums}.crypto-payment-status{margin:0;color:#ffda83;font-weight:900}.crypto-payment-invoice .notice{max-width:760px;line-height:1.9}
.crypto-history-row>div{display:grid;gap:3px}.crypto-history-row small{display:block;color:#9ebbb3}.crypto-history-row .status-under-review{color:#75d6c0}.crypto-history-row .status-rejected{color:#ff8875}
.admin-crypto-list{display:grid;gap:14px}.crypto-admin-mark{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#e7b653;color:#073a33;font-size:26px;font-weight:950}.admin-crypto-row{padding:16px;border:1px solid #ffffff1a;border-radius:18px;background:#062f2b}.admin-crypto-row.has-difference{border-color:#ff9a6c99}.admin-crypto-row header,.admin-crypto-row footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.admin-crypto-row header>div{display:grid}.admin-crypto-row header small,.admin-crypto-row footer{color:#a8c1ba}.admin-crypto-amounts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:13px 0}.admin-crypto-amounts span{display:grid;gap:5px;padding:10px;border-radius:12px;background:#ffffff09;color:#a9c2bb}.admin-crypto-amounts strong{color:#fff3cf;overflow-wrap:anywhere}.admin-crypto-address,.admin-crypto-tx{display:block;margin:9px 0;padding:10px;border-radius:10px;background:#031e1b;color:#dbece6;overflow-wrap:anywhere;text-align:left}.admin-crypto-tx{color:#efc766}.admin-crypto-review{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.admin-crypto-review>div{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}.admin-crypto-review input{min-width:0}.admin-crypto-row footer{margin-top:12px}
@media(max-width:800px){.crypto-network-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.crypto-network-tabs button{justify-content:center;padding:7px 5px;min-height:52px}.crypto-network-tabs button b{font-size:11px}.crypto-network-badge{width:29px;height:29px;flex-basis:29px}.crypto-deposit-create{grid-template-columns:1fr}.crypto-deposit-create [role=status]{grid-column:auto}.crypto-treasury-address{font-size:15px;padding:12px 9px}.crypto-history-row{grid-template-columns:1fr}.crypto-history-row em{grid-column:auto}.admin-crypto-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-crypto-review{grid-template-columns:1fr}.admin-crypto-review>div{grid-column:auto}.admin-crypto-review .btn{width:100%}.admin-crypto-row footer{align-items:flex-start;flex-direction:column}}
@media(max-width:650px){.card-theme-picker{grid-template-columns:1fr}.card-theme-picker>button{display:grid;grid-template-columns:120px 1fr;align-items:center;text-align:start}.theme-preview{height:62px}.card-theme-picker b{margin:0 10px}}
.prize-decision{margin-top:14px;padding:16px;border:1px solid rgba(245,202,101,.42);border-radius:16px;background:#052e29}.prize-decision-timer{display:flex;align-items:baseline;justify-content:center;gap:10px;margin:10px auto;padding:12px 18px;width:max-content;max-width:100%;border:2px solid #efc45c;border-radius:16px;background:#092f2a;color:#ffe19a;box-shadow:0 0 26px rgba(239,196,92,.18)}.prize-decision-timer strong{font:900 clamp(38px,7vw,64px)/1 ui-monospace,SFMono-Regular,Consolas,monospace;font-variant-numeric:tabular-nums;color:#ffd15f}.prize-decision-timer span{font-size:14px;font-weight:800}.prize-decision-timer.urgent{border-color:#ff765d;animation:prizePulse .7s ease-in-out infinite alternate}.prize-decision-timer.urgent strong{color:#ff826d}.admin-prize-decisions{margin:20px 0;padding:16px;border:1px solid #e2b651;border-radius:16px}.admin-prize-decisions .prize-decision-timer strong{font-size:44px}@keyframes prizePulse{to{box-shadow:0 0 30px rgba(255,79,55,.55);transform:scale(1.025)}}@media(max-width:600px){.prize-decision{padding:12px}.prize-decision-timer{display:grid;text-align:center;gap:4px}.prize-decision-timer strong{font-size:54px}.prize-choice .btn{display:block;width:100%;margin:8px 0}}
.prize-choice-modal,.decision-center-alert{position:fixed!important;z-index:13000;left:50%;top:50%;transform:translate(-50%,-50%);width:min(620px,calc(100vw - 28px));max-height:calc(100vh - 28px);overflow:auto;margin:0!important;padding:24px!important;border:2px solid #e8bd5d!important;border-radius:24px!important;background:linear-gradient(145deg,#0b4a40,#052c27)!important;box-shadow:0 25px 100px #000d,0 0 0 9999px rgba(0,20,17,.78)!important}.prize-choice-modal h3,.decision-center-alert h2{text-align:center;color:#ffdc83}.decision-center-alert{text-align:center}.decision-center-alert .decision-alert-icon{display:grid;place-items:center;width:60px;height:60px;margin:0 auto 10px;border-radius:50%;background:#e5b34e;color:#17342d;font-size:28px;font-weight:950}.decision-center-alert>strong{display:block;font-size:20px;color:#fff1c5}.decision-center-alert>p{line-height:1.9}.decision-center-alert.decision-complete{border-color:#65c9a7!important}.admin-prize-results{margin-top:16px;padding:14px;border:1px solid rgba(101,201,167,.38);border-radius:14px}@media(max-width:600px){.prize-choice-modal,.decision-center-alert{width:calc(100vw - 18px);max-height:calc(100vh - 18px);padding:16px!important;border-radius:18px!important}.decision-center-alert h2{font-size:22px}.decision-center-alert>strong{font-size:17px}}

/* V30 — clearer navigation inside the live game room. */
@media(min-width:1161px){
  body.v19-game-layout .topbar{
    background:linear-gradient(180deg,rgba(4,57,51,.98),rgba(2,43,39,.96));
    border-bottom-color:rgba(239,198,110,.32);
    box-shadow:0 10px 32px rgba(0,0,0,.2);
  }
  body.v19-game-layout .toprow{
    gap:18px!important;
  }
  body.v19-game-layout .game-top-nav{
    justify-content:flex-start!important;
    gap:7px!important;
    padding:0 4px;
    font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif;
    font-size:14px!important;
    font-weight:700;
  }
  body.v19-game-layout .game-top-nav a{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 11px!important;
    border:1px solid transparent;
    border-radius:11px;
    transition:background .18s,border-color .18s,color .18s,transform .18s;
  }
  body.v19-game-layout .game-top-nav a:hover{
    color:#ffe1a0;
    background:rgba(255,255,255,.045);
    border-color:rgba(239,198,110,.22);
    transform:translateY(-1px);
  }
  body.v19-game-layout .game-top-nav .game-nav-home{
    min-width:84px;
    color:#f5ead3;
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.11);
  }
  body.v19-game-layout .game-top-nav .game-nav-buy{
    min-width:118px;
    color:#19332d!important;
    background:linear-gradient(180deg,#f4d58f,#d4a044);
    border-color:rgba(255,230,171,.65);
    box-shadow:0 7px 18px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.35);
    font-size:14px;
    font-weight:900;
  }
  body.v19-game-layout .game-top-nav .game-nav-buy:hover{
    color:#10251f!important;
    background:linear-gradient(180deg,#ffe3a5,#dda94b);
  }
}

/* V52 — all-numbers modal must always remain closable on mobile. */
#numbersOverlay,#calledNumbersOverlay{z-index:5000}
.numbers-modal-open .mobile-nav,.numbers-modal-open .mobile-game-strip{visibility:hidden!important;pointer-events:none!important}
@media(max-width:730px){
  #numbersOverlay,#calledNumbersOverlay{padding:0!important}
  #numbersOverlay .numbers-dialog,#calledNumbersOverlay .numbers-dialog{
    width:100%!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
    padding:0 12px calc(18px + env(safe-area-inset-bottom))!important;
  }
  #numbersOverlay .dialog-head,#calledNumbersOverlay .dialog-head{
    top:0!important;
    min-height:58px;
    margin:0 -12px 12px!important;
    padding:calc(8px + env(safe-area-inset-top)) 14px 10px!important;
    border-bottom:1px solid rgba(215,166,78,.35);
    box-shadow:0 8px 24px rgba(0,0,0,.35);
  }
  #numbersOverlay .x,#calledNumbersOverlay .x{
    display:grid!important;
    place-items:center;
    flex:0 0 46px;
    width:46px;
    height:46px;
    border:2px solid #efc96e!important;
    border-radius:50%;
    background:#173f37!important;
    color:#fff4cf!important;
    font-size:34px!important;
    line-height:1;
    box-shadow:0 5px 15px rgba(0,0,0,.35);
  }
}


/* =========================================================
   V5 — typography, adaptive personalized grid, refined chance,
   floating number board
   ========================================================= */

/* Larger, easier-to-read typography */
body{
  font-size:16px;
  line-height:1.55;
}
.nav{font-size:14px}
.btn{font-size:13px}
.btn.small{font-size:12px}
.page-head h1{font-size:33px}
.page-head p{font-size:14px}
.breadcrumb{font-size:11px}
.small{font-size:13px}
.tiny{font-size:11px}
.tag{font-size:11px}
.live-bottom strong{font-size:18px}
.live-bottom small{font-size:12px}
.current h3{font-size:18px}
.current .meta{font-size:15px}
.section-head h3{font-size:21px}
.person b{font-size:13px}
.person small{font-size:10px}
.amount{font-size:12px}
.msg p{font-size:12px}
.msg time{font-size:10px}
.metric span{font-size:10px}
.metric b{font-size:23px}
.daberna-head{font-size:10px}
.d-cell{font-size:13px}
.footer a,.footer p{font-size:11px}
.footer-bottom{font-size:10px}

/* Personalized lower grid.
   The remaining cards automatically reflow and cards gain room. */
.lower.personalized-grid{
  align-items:start;
}
.lower.personalized-grid.layout-all{
  grid-template-columns:minmax(280px,.9fr) minmax(620px,1.8fr) minmax(330px,1.05fr);
}
.lower.personalized-grid.layout-no-winners{
  grid-template-columns:minmax(640px,1.8fr) minmax(330px,1fr);
}
.lower.personalized-grid.layout-no-chat{
  grid-template-columns:minmax(300px,.85fr) minmax(700px,2.05fr);
}
.lower.personalized-grid.layout-no-cards{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.lower.personalized-grid.layout-only-cards{
  grid-template-columns:minmax(0,1fr);
}
.lower.personalized-grid.layout-only-cards [data-section-key="activeCards"]{
  max-width:1120px;
  width:100%;
  margin-inline:auto;
}
.lower.personalized-grid.layout-two-generic{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.lower.personalized-grid.layout-one{
  grid-template-columns:minmax(0,1fr);
}
.lower.personalized-grid.layout-one > article{
  max-width:1050px;
  width:100%;
  margin-inline:auto;
}

/* When winners are hidden, active cards become larger and easier to read. */
.lower.personalized-grid.layout-no-winners [data-section-key="activeCards"] .ticket-wrap{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.lower.personalized-grid.layout-no-winners [data-section-key="activeCards"] .d-cell{
  height:42px;
  font-size:15px;
}
.lower.personalized-grid.layout-no-winners [data-section-key="activeCards"] .d-cell.hit:after{
  width:30px;height:30px;
}
.lower.personalized-grid.layout-no-winners [data-section-key="activeCards"] .daberna-head{
  font-size:11px;
}

/* More breathing room and bigger home cards */
.ticket-wrap{gap:9px}
.d-cell{height:38px}
.d-cell.hit:after{width:27px;height:27px}

/* A more visually distinct chance panel */
.chance-v5{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 10%,rgba(238,188,89,.18),transparent 28%),
    radial-gradient(circle at 15% 95%,rgba(54,130,112,.28),transparent 32%),
    linear-gradient(160deg,#0d5149 0%,#083d37 48%,#062f2b 100%);
  border-color:rgba(234,188,96,.55);
}
.chance-v5:before{
  content:"";
  position:absolute;
  width:190px;height:190px;
  border-radius:50%;
  left:-70px;bottom:-85px;
  border:1px solid rgba(240,208,141,.14);
  box-shadow:0 0 0 24px rgba(240,208,141,.025),0 0 0 48px rgba(240,208,141,.02);
  pointer-events:none;
}
.chance-v5 > *{position:relative;z-index:2}
.chance-v5 .section-head h2{font-size:25px;margin:0}
.chance-ring{
  width:198px;height:198px;
  background:
    conic-gradient(
      #f1ca72 0 calc(var(--chance)*.58%),
      #d39b3c calc(var(--chance)*.58%) calc(var(--chance)*1%),
      #214e45 calc(var(--chance)*1%) 100%
    );
  box-shadow:0 15px 36px rgba(0,0,0,.27),0 0 0 7px rgba(241,202,114,.04);
}
.chance-ring:before{
  inset:17px;
  background:
    radial-gradient(circle at 40% 26%,#146157 0%,#0b4840 52%,#06342f 100%);
  border:1px solid rgba(243,205,129,.34);
  box-shadow:inset 0 0 24px rgba(0,0,0,.22);
}
.chance-ring-copy strong{
  font-size:39px;
  text-shadow:0 2px 12px rgba(240,208,141,.18);
}
.chance-stage-list{
  padding:13px;
  border-radius:14px;
  border:1px solid rgba(240,208,141,.16);
  background:rgba(2,41,37,.24);
}
.chance-stage{
  grid-template-columns:112px 1fr 46px;
  font-size:11px;
}
.chance-stage-track{
  height:9px;
  background:#173f39;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.25);
}
.chance-stage-track i{
  background:linear-gradient(90deg,#ce8f32,#f1c96e,#ffe3a1);
}
.chance-stage b{
  font-size:11px;
  color:#ffe0a0;
}
.chance-explain{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:10px;
}
.chance-explain > div{
  padding:9px 6px;
  border-radius:10px;
  text-align:center;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.035);
}
.chance-explain span{display:block;font-size:9px;color:#b9cac1}
.chance-explain b{display:block;font-size:14px;margin-top:4px;color:#f2d89f}

/* Floating number board: smaller, readable, doesn't take over the screen */
.overlay{
  background:rgba(0,0,0,.38);
  backdrop-filter:blur(3px);
  padding:14px;
  place-items:start center;
}
.overlay.show{
  display:grid;
}
.numbers-dialog{
  width:min(720px,calc(100% - 20px));
  max-height:min(690px,calc(100vh - 120px));
  margin-top:88px;
  border-radius:18px;
  padding:16px;
  overflow:auto;
  box-shadow:0 24px 80px rgba(0,0,0,.48);
  animation:floatIn .18s ease-out;
}
@keyframes floatIn{
  from{opacity:0;transform:translateY(-8px) scale(.985)}
  to{opacity:1;transform:none}
}
.dialog-head{
  position:sticky;
  top:-16px;
  z-index:5;
  background:linear-gradient(180deg,#063b36 82%,rgba(6,59,54,0));
  padding:15px 0 12px;
  margin-bottom:4px;
}
.dialog-head h2{font-size:20px}
.all-number-grid{
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:7px;
}
.ball-num{
  min-height:0;
  aspect-ratio:1;
  font-size:14px;
  border-radius:50%;
  box-shadow:0 4px 10px rgba(0,0,0,.22),inset -3px -4px 6px rgba(0,0,0,.14);
}
.ball-num:before{
  left:20%;top:15%;width:25%;height:16%;
}
.dialog-legend{
  font-size:10px;
  margin-top:11px;
  justify-content:center;
}

/* Settings copy more readable */
.setting-row b{font-size:13px}
.setting-row small{font-size:10px}
.field label{font-size:11px}

/* Legal pages */
.legal-intro{
  display:grid;
  grid-template-columns:1.3fr .7fr;
  gap:14px;
  margin-bottom:14px;
}
.legal-rule{
  padding:14px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.legal-rule:last-child{border-bottom:0}
.legal-rule h3{margin:0 0 6px;font-size:16px}
.legal-rule p{font-size:12px;line-height:1.95;color:#c0cec6;margin:0}
.rule-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(215,166,78,.06);
  color:#efd79e;
  font-size:10px;
}

/* desktop responsive edge cases */
@media(max-width:1250px){
  .lower.personalized-grid.layout-all{
    grid-template-columns:minmax(260px,.85fr) minmax(520px,1.7fr);
  }
  .lower.personalized-grid.layout-all .chat-panel{
    grid-column:1/-1;
  }
  .lower.personalized-grid.layout-no-winners{
    grid-template-columns:minmax(520px,1.7fr) minmax(300px,1fr);
  }
}

/* Mobile refinements */
@media(max-width:730px){
  body{font-size:16px}
  .small{font-size:13px}.tiny{font-size:11px}
  .lower.personalized-grid,
  .lower.personalized-grid.layout-all,
  .lower.personalized-grid.layout-no-winners,
  .lower.personalized-grid.layout-no-chat,
  .lower.personalized-grid.layout-no-cards,
  .lower.personalized-grid.layout-only-cards,
  .lower.personalized-grid.layout-two-generic,
  .lower.personalized-grid.layout-one{
    grid-template-columns:1fr;
  }
  .lower.personalized-grid [data-section-key="activeCards"]{
    width:100%;max-width:none;
  }
  .lower.personalized-grid.layout-no-winners [data-section-key="activeCards"] .ticket-wrap{
    display:flex;
  }
  .lower.personalized-grid.layout-no-winners [data-section-key="activeCards"] .d-cell{
    height:40px;
    font-size:14px;
  }
  .chance-ring{width:176px;height:176px}
  .chance-ring-copy strong{font-size:34px}
  .chance-stage{grid-template-columns:92px 1fr 40px;font-size:10px}
  .chance-explain{grid-template-columns:repeat(3,1fr)}
  .numbers-dialog{
    width:min(560px,calc(100% - 14px));
    max-height:72vh;
    margin-top:64px;
    padding:13px;
  }
  .dialog-head{top:-13px;padding:12px 0 10px}
  .all-number-grid{
    grid-template-columns:repeat(6,1fr);
    gap:7px;
  }
  .ball-num{font-size:14px}
}

/* Very small phones */
@media(max-width:390px){
  .all-number-grid{grid-template-columns:repeat(5,1fr)}
  .numbers-dialog{max-height:70vh}
}


/* =========================================================
   V6 — Persian numeral typography, new chance palette,
   distinct auth backgrounds
   ========================================================= */

/* System font stack optimized for Persian/Arabic digits.
   No external font file is required. */
body.persian-numerals,
body.persian-numerals [data-number],
body.persian-numerals .medal,
body.persian-numerals .recent-ball,
body.persian-numerals .ball-num,
body.persian-numerals .d-cell,
body.persian-numerals .metric b,
body.persian-numerals .chance-ring-copy strong,
body.persian-numerals .chance-stage b,
body.persian-numerals .amount,
body.persian-numerals .table,
body.persian-numerals .number-sample-fa{
  font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif;
  font-feature-settings:"tnum" 1;
  font-variant-numeric:tabular-nums;
  letter-spacing:0;
}

/* Extra legibility for Persian numerals on small circular UI */
body.persian-numerals .recent-ball{
  font-size:12px;
  line-height:1;
  font-weight:700;
}
body.persian-numerals .ball-num{
  font-size:15px;
  line-height:1;
  font-weight:700;
}
body.persian-numerals .medal{
  font-size:62px;
  line-height:1;
}
body.persian-numerals .d-cell{
  font-size:14px;
  line-height:1;
}

/* Number examples in Settings must never be auto-converted */
.numeral-example{
  display:inline-flex;
  align-items:center;
  gap:9px;
  direction:ltr;
  margin-top:8px;
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.numeral-example code{
  font-size:14px;
  color:#f2dec0;
  background:transparent;
}
.number-sample-en{
  font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif;
  direction:ltr;
}
.number-sample-fa{
  font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif;
  direction:ltr;
  font-size:15px;
}

/* New chance panel: petroleum blue / cyan instead of green-gold */
.chance-v5{
  background:
    radial-gradient(circle at 85% 8%,rgba(86,199,194,.16),transparent 30%),
    radial-gradient(circle at 5% 90%,rgba(73,117,180,.22),transparent 34%),
    linear-gradient(155deg,#103b4d 0%,#0b3344 48%,#082b39 100%);
  border-color:rgba(82,182,186,.5);
}
.chance-v5:before{
  border-color:rgba(91,198,195,.16);
  box-shadow:0 0 0 24px rgba(73,146,175,.025),0 0 0 48px rgba(73,146,175,.018);
}
.chance-v5 .tag{
  border-color:rgba(91,198,195,.28);
  background:rgba(91,198,195,.08);
  color:#bfeceb;
}
.chance-ring{
  background:
    conic-gradient(
      #54c9c0 0 calc(var(--chance)*.58%),
      #4b8fca calc(var(--chance)*.58%) calc(var(--chance)*1%),
      #183d4a calc(var(--chance)*1%) 100%
    );
  box-shadow:0 15px 36px rgba(0,0,0,.28),0 0 0 7px rgba(84,201,192,.045);
}
.chance-ring:before{
  background:
    radial-gradient(circle at 40% 26%,#155061 0%,#0d3f50 54%,#092f3d 100%);
  border-color:rgba(96,207,201,.3);
}
.chance-ring-copy strong{
  color:#b8f1ec;
  text-shadow:0 2px 14px rgba(84,201,192,.17);
}
.chance-ring-copy span{
  color:#b9d8dd;
}
.chance-stage-list{
  border-color:rgba(89,186,188,.17);
  background:rgba(5,34,45,.28);
}
.chance-stage-track{
  background:#183b48;
}
.chance-stage-track i{
  background:linear-gradient(90deg,#3e8eb3,#56c3bd,#a4e0cf);
}
.chance-stage b{
  color:#aee5e1;
}
.chance-explain > div{
  border-color:rgba(104,193,194,.12);
  background:rgba(52,116,137,.09);
}
.chance-explain span{color:#a9cad1}
.chance-explain b{color:#c3efeb}

/* Separate background images for auth pages */
.auth-page.login-theme .auth-visual{
  background-image:
    linear-gradient(180deg,rgba(2,35,32,.05),rgba(2,35,32,.78)),
    url(bg-login.jpg);
  background-position:center;
}
.auth-page.signup-theme .auth-visual{
  background-image:
    linear-gradient(180deg,rgba(2,35,32,.04),rgba(2,35,32,.79)),
    url(bg-signup.jpg);
  background-position:center;
}
.auth-page.forgot-theme .auth-visual{
  background-image:
    linear-gradient(180deg,rgba(2,35,32,.12),rgba(2,35,32,.82)),
    url(bg-login.jpg);
  background-position:center;
}
.auth-visual{
  background-image:none;
}
.auth-visual:before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(0,0,0,.08),transparent 42%),
    radial-gradient(circle at 28% 22%,rgba(235,188,95,.10),transparent 27%);
  pointer-events:none;
}
.auth-story{
  text-shadow:0 2px 15px rgba(0,0,0,.32);
}
.auth-story h1{
  max-width:560px;
}
.auth-form-card{
  border-color:rgba(216,173,86,.33);
  background:
    radial-gradient(circle at 90% 0%,rgba(216,173,86,.055),transparent 28%),
    rgba(7,57,52,.94);
}

/* mobile Persian digits */
@media(max-width:730px){
  body.persian-numerals .medal{font-size:55px}
  body.persian-numerals .recent-ball{font-size:12px}
  body.persian-numerals .ball-num{font-size:14px}
  .numeral-example{width:100%;justify-content:space-between}
}


/* =========================================================
   V19 — Minimal visual patch on ORIGINAL V7 only
   1) Live host/video stays on the LEFT on desktop
   2) Called numbers use authentic Daberna wooden/red chips
   No other V7 layout/settings/features are redesigned.
   ========================================================= */

/* Desktop placement: first hero item (live video) at physical left. */
.hero{
  direction:ltr;
}
.hero > article{
  direction:rtl;
}

/* Main current number: pale wooden disc + thick red painted rim. */
.medal{
  width:160px;
  height:160px;
  border-radius:50%;
  border:7px solid #c83827;
  color:#b62f20;
  display:grid;
  place-items:center;
  font-size:67px;
  font-weight:900;
  margin:20px 0 17px;
  background:
    radial-gradient(circle at 31% 24%,rgba(255,255,255,.62) 0 8%,transparent 9% 20%),
    repeating-radial-gradient(circle at 50% 50%,rgba(127,83,38,.08) 0 1px,transparent 2px 5px),
    radial-gradient(circle at 50% 45%,#f7e9ca 0 55%,#e7c998 56% 73%,#c99a62 74% 100%);
  box-shadow:
    inset 0 0 0 4px #f0d7ad,
    inset 0 0 0 7px rgba(172,103,53,.26),
    inset 0 -12px 20px rgba(105,62,28,.17),
    0 12px 25px rgba(0,0,0,.34);
  text-shadow:0 1px 0 rgba(255,255,255,.35);
  position:relative;
}
.medal:after{
  content:"";
  position:absolute;
  inset:13px;
  border-radius:50%;
  border:2px solid rgba(190,48,34,.72);
  pointer-events:none;
}

/* Mobile current number gets the same real Daberna token feel. */
.mobile-game-strip .mini-ball{
  color:#b52e20 !important;
  border:4px solid #c63827 !important;
  background:
    repeating-radial-gradient(circle at 50% 50%,rgba(127,83,38,.07) 0 1px,transparent 2px 5px),
    radial-gradient(circle,#f6e6c5 0 58%,#dfbd88 59% 78%,#bf8b55 79% 100%) !important;
  box-shadow:inset 0 0 0 2px #efd6aa,0 4px 10px rgba(0,0,0,.28) !important;
}

/* 10 recently called numbers: same wooden chip, red rim, red number. */
.recent-ball,
body.persian-numerals .recent-ball{
  flex:0 0 34px;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  position:relative;
  border:4px solid #c63827;
  color:#b52e20;
  background:
    radial-gradient(circle at 30% 22%,rgba(255,255,255,.58) 0 10%,transparent 11% 19%),
    repeating-radial-gradient(circle at 50% 50%,rgba(125,80,35,.07) 0 1px,transparent 2px 4px),
    radial-gradient(circle,#f7e8c7 0 56%,#e4c18e 57% 78%,#bf8952 79% 100%);
  box-shadow:inset 0 0 0 2px #efd5a8,0 4px 9px rgba(0,0,0,.28);
  font-weight:900;
  font-size:11px;
  line-height:1;
}
.recent-ball:before{
  content:"";
  position:absolute;
  inset:5px;
  width:auto;
  height:auto;
  left:5px;
  top:5px;
  border-radius:50%;
  background:transparent;
  border:1px solid rgba(184,47,33,.64);
  filter:none;
}
.recent-ball.latest,
body.persian-numerals .recent-ball.latest{
  flex-basis:42px;
  width:42px;
  height:42px;
  border:5px solid #d1432d;
  color:#a92418;
  font-size:14px;
  box-shadow:inset 0 0 0 2px #f3dab0,0 0 0 3px rgba(215,166,78,.16),0 7px 16px rgba(0,0,0,.34);
}

/* 1–90 dialog: unread numbers stay dark; CALLED numbers become real wood chips. */
.ball-num{
  aspect-ratio:1;
  min-height:64px;
  border-radius:50%;
}
.ball-num.called,
body.persian-numerals .ball-num.called{
  overflow:hidden;
  border:5px solid #c63827;
  color:#b52e20;
  background:
    radial-gradient(circle at 31% 23%,rgba(255,255,255,.58) 0 9%,transparent 10% 19%),
    repeating-radial-gradient(circle at 50% 50%,rgba(124,78,34,.065) 0 1px,transparent 2px 5px),
    radial-gradient(circle,#f7e8c8 0 56%,#e3c18f 57% 78%,#bd8852 79% 100%);
  box-shadow:inset 0 0 0 3px #efd4a5,inset 0 -8px 12px rgba(98,55,24,.12),0 6px 14px rgba(0,0,0,.27);
  font-weight:900;
}
.ball-num.called:before{
  content:"";
  position:absolute;
  inset:7px;
  width:auto;
  height:auto;
  left:7px;
  top:7px;
  border-radius:50%;
  background:transparent;
  border:2px solid rgba(184,47,33,.66);
  transform:none;
}
.ball-num.latest,
body.persian-numerals .ball-num.latest{
  color:#9d2117;
  border-color:#dd4a31;
  background:
    radial-gradient(circle at 31% 23%,rgba(255,255,255,.67) 0 9%,transparent 10% 18%),
    repeating-radial-gradient(circle at 50% 50%,rgba(124,78,34,.065) 0 1px,transparent 2px 5px),
    radial-gradient(circle,#f9ebcd 0 55%,#e9c996 56% 78%,#c18d55 79% 100%);
  box-shadow:inset 0 0 0 3px #f3d9ad,0 0 0 4px rgba(221,74,49,.16),0 9px 20px rgba(0,0,0,.34);
}

/* Called-number marker on the classic paper cards: small real wooden counter. */
.d-cell.hit{
  background:#fff4d5;
}
.d-cell.hit:after{
  content:"";
  position:absolute;
  width:25px;
  height:25px;
  border-radius:50%;
  background:
    repeating-radial-gradient(circle at 50% 50%,rgba(127,83,38,.07) 0 1px,transparent 2px 4px),
    radial-gradient(circle,#f5e3bd 0 58%,#dcb57d 59% 80%,#b97f49 81% 100%);
  border:3px solid #c63827;
  box-shadow:inset 0 0 0 1px #efd6ad,0 2px 5px rgba(0,0,0,.25);
  opacity:.96;
}
.d-cell.hit span{
  position:relative;
  z-index:2;
  color:#a92a1d;
  font-weight:900;
}

/* Keep mobile stacking clean; video remains first/top on mobile. */
@media(max-width:730px){
  .hero{direction:rtl;}
  .hero > article{direction:rtl;}
  .medal{width:145px;height:145px;font-size:61px;border-width:7px;}
  .ball-num.called{border-width:4px;}
}


/* =========================================================
   V19 EXACT PATCH — ONLY NUMBER TOKENS + ALL-CALLED STRIP
   Source layout/settings remain untouched.
   Visual target: pale wooden counter, two brown concentric rings,
   red printed number — matching the supplied reference token.
   ========================================================= */

/* Main called number */
.medal,
body.persian-numerals .medal{
  border:4px solid #9b7652 !important;
  color:#ae251c !important;
  background:
    radial-gradient(circle at 32% 26%,rgba(255,255,255,.36) 0 7%,transparent 8% 18%),
    repeating-radial-gradient(circle at 50% 50%,rgba(117,81,45,.045) 0 1px,transparent 2px 5px),
    radial-gradient(circle,#f0dfc1 0 58%,#dfc39d 59% 77%,#bd956e 78% 100%) !important;
  box-shadow:
    inset 0 0 0 3px #d9b98e,
    inset 0 0 0 6px rgba(105,72,42,.46),
    inset 0 0 0 10px rgba(233,212,180,.54),
    inset 0 -10px 17px rgba(91,61,34,.14),
    0 11px 24px rgba(0,0,0,.31) !important;
  text-shadow:0 1px 0 rgba(255,255,255,.18) !important;
}
.medal:after{
  inset:13px !important;
  border:2px solid rgba(91,61,35,.68) !important;
}

/* Mobile current token */
.mobile-game-strip .mini-ball{
  color:#ae251c !important;
  border:3px solid #9b7652 !important;
  background:
    repeating-radial-gradient(circle at 50% 50%,rgba(117,81,45,.045) 0 1px,transparent 2px 4px),
    radial-gradient(circle,#f0dfc1 0 58%,#dfc39d 59% 77%,#bd956e 78% 100%) !important;
  box-shadow:inset 0 0 0 2px #d8b98f,inset 0 0 0 4px rgba(101,69,40,.42),0 4px 9px rgba(0,0,0,.25) !important;
}

/* Recent called tokens + all-called tokens: exactly same material language */
.recent-ball,
body.persian-numerals .recent-ball,
.all-called-ball,
body.persian-numerals .all-called-ball{
  border:3px solid #9b7652 !important;
  color:#ae251c !important;
  background:
    radial-gradient(circle at 31% 24%,rgba(255,255,255,.30) 0 8%,transparent 9% 18%),
    repeating-radial-gradient(circle at 50% 50%,rgba(117,81,45,.045) 0 1px,transparent 2px 4px),
    radial-gradient(circle,#f0dfc1 0 58%,#dfc39d 59% 77%,#bd956e 78% 100%) !important;
  box-shadow:inset 0 0 0 2px #d8b98f,inset 0 0 0 4px rgba(101,69,40,.40),0 4px 8px rgba(0,0,0,.23) !important;
}
.recent-ball:before,
.all-called-ball:before{
  inset:5px !important;
  border:1px solid rgba(91,61,35,.58) !important;
  background:transparent !important;
}
.recent-ball.latest,
body.persian-numerals .recent-ball.latest,
.all-called-ball.latest,
body.persian-numerals .all-called-ball.latest{
  border-color:#8d6848 !important;
  color:#9f1f17 !important;
  box-shadow:inset 0 0 0 2px #e0c49b,inset 0 0 0 4px rgba(91,61,35,.48),0 0 0 3px rgba(215,166,78,.18),0 7px 14px rgba(0,0,0,.30) !important;
}

/* Compact all-called ribbon; does not change the V19 page grid or settings. */
.all-called-block{
  width:100%;
  margin-top:9px;
  padding-top:8px;
  border-top:1px solid rgba(215,166,78,.16);
}
.all-called-balls{
  width:100%;
  display:flex;
  gap:6px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:5px 2px 8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(215,166,78,.35) transparent;
  direction:ltr;
}
.all-called-balls::-webkit-scrollbar{height:5px}
.all-called-balls::-webkit-scrollbar-thumb{background:rgba(215,166,78,.35);border-radius:99px}
.all-called-ball{
  flex:0 0 31px;
  width:31px;
  height:31px;
  border-radius:50%;
  display:grid;
  place-items:center;
  position:relative;
  font-size:10px;
  font-weight:900;
  line-height:1;
}
.all-called-ball:before{
  content:"";
  position:absolute;
  border-radius:50%;
}

/* 1–90 board: keep V19 read/unread logic; only called chips adopt the supplied wood style. */
.ball-num.called,
body.persian-numerals .ball-num.called{
  border:4px solid #9b7652 !important;
  color:#ae251c !important;
  background:
    radial-gradient(circle at 31% 24%,rgba(255,255,255,.30) 0 8%,transparent 9% 18%),
    repeating-radial-gradient(circle at 50% 50%,rgba(117,81,45,.045) 0 1px,transparent 2px 5px),
    radial-gradient(circle,#f0dfc1 0 58%,#dfc39d 59% 77%,#bd956e 78% 100%) !important;
  box-shadow:inset 0 0 0 2px #d8b98f,inset 0 0 0 5px rgba(101,69,40,.42),0 5px 12px rgba(0,0,0,.24) !important;
}
.ball-num.called:before{
  inset:7px !important;
  border:1px solid rgba(91,61,35,.60) !important;
  background:transparent !important;
}
.ball-num.latest,
body.persian-numerals .ball-num.latest{
  color:#981d15 !important;
  border-color:#806044 !important;
  box-shadow:inset 0 0 0 2px #e4c9a2,inset 0 0 0 5px rgba(91,61,35,.47),0 0 0 4px rgba(215,166,78,.18),0 8px 18px rgba(0,0,0,.31) !important;
}


/* =========================================================
   Requested micro-patch — recent 10 numbers + all-numbers window only
   Everything else remains unchanged.
   ========================================================= */

/* 10 recent called numbers: slightly larger and more readable. */
.recent-ball,
body.persian-numerals .recent-ball{
  flex-basis:42px !important;
  width:42px !important;
  height:42px !important;
  font-size:15px !important;
  font-weight:950 !important;
  letter-spacing:0 !important;
}
.recent-ball.latest,
body.persian-numerals .recent-ball.latest{
  flex-basis:49px !important;
  width:49px !important;
  height:49px !important;
  font-size:17px !important;
}

/* "View all numbers": fit all 1–90 in one viewport, no vertical scrolling. */
#numbersOverlay{
  padding:6px !important;
  place-items:center !important;
}
#numbersOverlay .numbers-dialog{
  width:min(960px,calc(100vw - 12px)) !important;
  height:min(720px,calc(100dvh - 12px)) !important;
  max-height:calc(100dvh - 12px) !important;
  margin:0 !important;
  padding:10px 12px !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
#numbersOverlay .dialog-head{
  position:static !important;
  flex:0 0 auto !important;
  padding:0 0 7px !important;
  margin:0 !important;
  background:transparent !important;
}
#numbersOverlay .dialog-head h2{
  font-size:18px !important;
}
#numbersOverlay .dialog-head .small{
  font-size:9px !important;
}
#numbersOverlay .all-number-grid{
  flex:1 1 auto !important;
  min-height:0 !important;
  direction:ltr !important;
  display:grid !important;
  grid-template-columns:repeat(10,minmax(0,1fr)) !important;
  grid-template-rows:repeat(9,minmax(0,1fr)) !important;
  gap:clamp(2px,.45vw,6px) !important;
  align-items:center !important;
  justify-items:center !important;
  overflow:hidden !important;
}
#numbersOverlay .ball-num{
  min-height:0 !important;
  width:min(58px,calc((100vw - 90px)/10),calc((100dvh - 125px)/9)) !important;
  height:min(58px,calc((100vw - 90px)/10),calc((100dvh - 125px)/9)) !important;
  aspect-ratio:1 / 1 !important;
  font-size:clamp(10px,min(1.55vw,2.05vh),16px) !important;
}
#numbersOverlay .dialog-legend{
  flex:0 0 auto !important;
  margin:6px 0 0 !important;
  padding:0 !important;
  font-size:9px !important;
  line-height:1.2 !important;
}

@media(max-width:730px){
  .recent-ball,
  body.persian-numerals .recent-ball{
    flex-basis:40px !important;
    width:40px !important;
    height:40px !important;
    font-size:14px !important;
  }
  .recent-ball.latest,
  body.persian-numerals .recent-ball.latest{
    flex-basis:47px !important;
    width:47px !important;
    height:47px !important;
    font-size:16px !important;
  }
  #numbersOverlay{
    padding:3px !important;
  }
  #numbersOverlay .numbers-dialog{
    width:calc(100vw - 6px) !important;
    height:calc(100dvh - 6px) !important;
    max-height:calc(100dvh - 6px) !important;
    padding:7px !important;
    border-radius:14px !important;
  }
  #numbersOverlay .dialog-head{
    padding-bottom:4px !important;
  }
  #numbersOverlay .dialog-head h2{
    font-size:15px !important;
  }
  #numbersOverlay .dialog-head .small{
    font-size:7px !important;
    line-height:1.2 !important;
  }
  #numbersOverlay .all-number-grid{
    grid-template-columns:repeat(10,minmax(0,1fr)) !important;
    grid-template-rows:repeat(9,minmax(0,1fr)) !important;
    gap:2px !important;
  }
  #numbersOverlay .ball-num{
    width:min(42px,calc((100vw - 42px)/10),calc((100dvh - 105px)/9)) !important;
    height:min(42px,calc((100vw - 42px)/10),calc((100dvh - 105px)/9)) !important;
    font-size:clamp(8px,2.7vw,13px) !important;
    border-width:2px !important;
  }
  #numbersOverlay .ball-num.called{
    border-width:3px !important;
  }
  #numbersOverlay .ball-num.called:before{
    inset:4px !important;
  }
  #numbersOverlay .dialog-legend{
    margin-top:3px !important;
    font-size:7px !important;
    gap:5px !important;
    flex-wrap:nowrap !important;
  }
}


/* =========================================================
   Micro patch: 10 recent numbers ONLY
   Horizontal swipe, full unclipped wooden balls, clearer digits.
   ========================================================= */
.recent-called{
  overflow:visible !important;
}
.recent-balls{
  width:100% !important;
  max-width:100% !important;
  box-sizing:border-box !important;
  direction:ltr !important;
  display:flex !important;
  flex-wrap:nowrap !important;
  justify-content:flex-start !important;
  align-items:center !important;
  gap:9px !important;
  overflow-x:auto !important;
  overflow-y:visible !important;
  min-height:64px !important;
  padding:7px 10px 10px !important;
  scroll-padding-inline:10px !important;
  scroll-snap-type:x proximity !important;
  overscroll-behavior-inline:contain !important;
  touch-action:pan-x !important;
  -webkit-overflow-scrolling:touch !important;
  scrollbar-width:none !important;
}
.recent-balls::-webkit-scrollbar{
  display:none !important;
}
.recent-ball,
body.persian-numerals .recent-ball{
  flex:0 0 46px !important;
  width:46px !important;
  height:46px !important;
  min-width:46px !important;
  min-height:46px !important;
  max-width:46px !important;
  max-height:46px !important;
  box-sizing:border-box !important;
  overflow:visible !important;
  scroll-snap-align:center !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  line-height:1 !important;
  font-size:16px !important;
  font-weight:950 !important;
  text-align:center !important;
  font-variant-numeric:tabular-nums !important;
}
.recent-ball:before{
  inset:5px !important;
  box-sizing:border-box !important;
  pointer-events:none !important;
}
.recent-ball.latest,
body.persian-numerals .recent-ball.latest{
  flex:0 0 50px !important;
  width:50px !important;
  height:50px !important;
  min-width:50px !important;
  min-height:50px !important;
  max-width:50px !important;
  max-height:50px !important;
  font-size:18px !important;
  margin-inline:1px !important;
}

@media(max-width:730px){
  .recent-balls{
    gap:8px !important;
    min-height:62px !important;
    padding:6px 9px 9px !important;
  }
  .recent-ball,
  body.persian-numerals .recent-ball{
    flex-basis:44px !important;
    width:44px !important;
    height:44px !important;
    min-width:44px !important;
    min-height:44px !important;
    max-width:44px !important;
    max-height:44px !important;
    font-size:15px !important;
  }
  .recent-ball.latest,
  body.persian-numerals .recent-ball.latest{
    flex-basis:48px !important;
    width:48px !important;
    height:48px !important;
    min-width:48px !important;
    min-height:48px !important;
    max-width:48px !important;
    max-height:48px !important;
    font-size:17px !important;
  }
}


/* =========================================================
   Complete local game-flow interactions — additive only
   ========================================================= */
.d-cell[data-value]{cursor:pointer;user-select:none;-webkit-user-select:none}
.d-cell.called-match:not(.hit){box-shadow:inset 0 0 0 2px rgba(210,158,64,.72);background:#fff0c8}
.d-cell.called-match:not(.hit) span{color:#715a30}
.daberna-card.claim-ready{box-shadow:0 0 0 2px rgba(239,202,114,.55),0 12px 30px rgba(0,0,0,.2)}
#buyCardCatalog .daberna-card{cursor:pointer;position:relative;transition:.15s}
#buyCardCatalog .daberna-card.selected-card{transform:translateY(-3px);box-shadow:0 0 0 3px #e4b95c,0 16px 35px rgba(0,0,0,.25)}
#buyCardCatalog .daberna-card.selected-card:after{content:"✓ انتخاب شد";position:absolute;top:7px;left:7px;padding:4px 7px;border-radius:999px;background:#d8a84d;color:#16372f;font-size:9px;font-weight:900;z-index:5}
#buyCardCatalog .daberna-card.purchased-card{opacity:.5;filter:saturate(.65);cursor:not-allowed}
#buyCardCatalog .daberna-card.purchased-card:after{content:"خریداری‌شده";position:absolute;top:7px;left:7px;padding:4px 7px;border-radius:999px;background:#173f38;color:#dbc48f;font-size:9px;font-weight:800;z-index:5}
.claim-status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}
.claim-status-grid>div{padding:10px;border:1px solid rgba(215,166,78,.2);border-radius:10px;text-align:center;background:rgba(255,255,255,.025)}
.claim-status-grid span{display:block;font-size:10px;color:#b9c9c0}.claim-status-grid b{display:block;margin-top:4px;font-size:20px;color:#f0d08e}
button:disabled,.btn:disabled,.submit:disabled{opacity:.45;cursor:not-allowed;transform:none!important}
@media(max-width:520px){.claim-status-grid{grid-template-columns:1fr 1fr 1fr}.claim-status-grid span{font-size:8px}.claim-status-grid b{font-size:17px}}


/* =========================================================
   Purchase-first entry flow — visible card buying, same site theme
   ========================================================= */
.nav a.nav-buy{
  color:#17332d !important;
  background:linear-gradient(135deg,#f0ce82,#d7a64e);
  border:1px solid #f3d999;
  border-radius:999px;
  padding:8px 14px;
  font-weight:900;
  box-shadow:0 7px 18px rgba(215,166,78,.16);
}
.nav a.nav-buy:hover{transform:translateY(-1px);box-shadow:0 9px 24px rgba(215,166,78,.25)}
.header-buy-card{font-weight:900;box-shadow:0 8px 22px rgba(215,166,78,.2)}
.purchase-hero{
  margin-bottom:14px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:radial-gradient(circle at 85% 20%,rgba(239,201,117,.2),transparent 31%),linear-gradient(145deg,#0c5249,#073a35);
  border-color:rgba(238,197,110,.58);
}
.purchase-hero h2{margin:7px 0 5px;font-size:26px;color:#f4e4c4}
.purchase-hero p{margin:0;color:#c5d2ca;font-size:13px}
.purchase-hero-btn{
  min-width:230px;
  display:grid;
  grid-template-columns:48px 1fr;
  grid-template-rows:auto auto;
  column-gap:10px;
  align-items:center;
  padding:13px 16px;
  border-radius:15px;
  color:#17332d;
  background:linear-gradient(135deg,#f5d992,#d8a447);
  border:1px solid #ffe3a2;
  box-shadow:0 13px 30px rgba(0,0,0,.2),0 0 0 4px rgba(215,166,78,.07);
}
.purchase-hero-btn>span{grid-row:1/3;font-size:30px}.purchase-hero-btn strong{font-size:18px}.purchase-hero-btn small{font-size:10px;color:#5b4a27}
.room-buy-btn{font-weight:900;min-width:145px;text-align:center}
.purchase-page-head{align-items:center}
.purchase-required-badge{padding:9px 13px;border:1px solid rgba(215,166,78,.38);border-radius:999px;background:rgba(215,166,78,.09);color:#efd495;font-size:11px;font-weight:800}
.purchase-flow{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0 14px}
.purchase-flow span{padding:10px;border-radius:10px;text-align:center;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025);font-size:11px;color:#9fb3aa}
.purchase-flow .done{color:#b9d5c3;border-color:rgba(83,152,111,.35);background:rgba(83,152,111,.09)}
.purchase-flow .active{color:#ffe0a0;border-color:rgba(215,166,78,.55);background:rgba(215,166,78,.12);font-weight:900}
.purchase-main-button{font-size:15px;min-height:48px;box-shadow:0 9px 22px rgba(215,166,78,.2)}
.mobile-nav a.mobile-buy{color:#f1ca72}
.mobile-nav a.mobile-buy strong{color:#f1ca72}
@media(max-width:730px){
  .purchase-hero{align-items:stretch;flex-direction:column;padding:14px}.purchase-hero h2{font-size:21px}.purchase-hero-btn{min-width:0;width:100%}
  .purchase-flow{grid-template-columns:1fr;gap:5px}.purchase-required-badge{display:none}
}


/* =========================================================
   V20 — Public landing + authenticated purchase home
   ========================================================= */
.landing-body{background:#fbfbf8;color:#16342f;min-height:100vh;font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif}
.landing-nav-wrap{position:sticky;top:0;z-index:80;background:rgba(255,255,252,.94);backdrop-filter:blur(14px);border-bottom:1px solid #e4e6df}
.landing-nav{height:76px;display:flex;align-items:center;gap:28px;direction:rtl}
.landing-brand{min-width:205px}.landing-brand strong{color:#153b34}.landing-brand small{color:#8c6e36}
.landing-links{display:flex;align-items:center;gap:26px;flex:1;justify-content:center;font-size:13px;font-weight:750;color:#294c45}
.landing-links a:hover{color:#b07821}
.landing-actions{display:flex;gap:8px}.landing-actions .btn{border-color:#d9ddd6;color:#23453e;background:#fff}.landing-actions .landing-signup{background:#e6a93c;border-color:#e6a93c;color:#17352f}
.landing-hero{padding:70px 0 82px;background:radial-gradient(circle at 16% 20%,rgba(231,174,70,.16),transparent 28%),linear-gradient(180deg,#fcfcf8,#f4f6ef)}
.landing-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(460px,.95fr);gap:58px;align-items:center}
.landing-copy h1{font-size:clamp(42px,5vw,72px);line-height:1.08;letter-spacing:-1.8px;margin:14px 0 24px;color:#113c34}.landing-copy h1 em{font-style:normal;color:#bb7b1f}.landing-copy p{font-size:18px;line-height:2;color:#536b65;max-width:720px;margin:0}.landing-kicker{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:850;letter-spacing:.4px;color:#9b681e;background:#fff4dd;border:1px solid #ecd09a;padding:8px 12px;border-radius:999px}
.landing-cta{display:flex;align-items:center;gap:16px;margin-top:30px}.landing-primary{background:#e4a338;color:#153830!important;font-weight:900;padding:15px 22px;border-radius:10px;box-shadow:0 12px 28px rgba(193,127,31,.18)}.landing-secondary{font-weight:800;color:#28564c!important}.landing-trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:28px;font-size:12px;color:#61736e}.landing-trust span{display:flex;align-items:center;gap:5px}
.landing-showcase{position:relative;min-height:510px}.landing-stage{position:absolute;inset:0 0 72px 55px;border-radius:26px;overflow:hidden;box-shadow:0 30px 70px rgba(21,57,49,.18);background:#123f39;border:1px solid #d2d9d1}.landing-stage img{width:100%;height:100%;object-fit:cover;display:block}.landing-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(4,29,26,.62))}.stage-label{position:absolute;z-index:3;top:18px;right:18px;background:#b64237;color:#fff;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900}.stage-ball{position:absolute;z-index:4;left:22px;bottom:22px;width:78px;height:78px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 28%,#f7e9d0,#dab789 68%,#a98258);border:5px double #7e6042;color:#b02f23;font-size:30px;font-weight:950;box-shadow:0 10px 20px #0005}
.landing-ticket{position:absolute;right:0;bottom:0;width:min(390px,82%);background:#f7e6bd;padding:13px;border-radius:14px;box-shadow:0 18px 45px rgba(35,56,50,.2);transform:rotate(-2deg);z-index:5;border:1px solid #c9a466}.landing-ticket-head{display:flex;justify-content:space-between;color:#755a2f;font-size:10px;margin-bottom:7px}.landing-ticket-grid{display:grid;grid-template-columns:repeat(9,1fr);background:#d0b27a;border:1px solid #aa864c}.landing-ticket-grid b,.landing-ticket-grid i{height:31px;display:grid;place-items:center;border:1px solid rgba(98,73,36,.28);font-size:12px;font-style:normal;color:#352a1d;background:#f2dfb3}.landing-ticket-grid i{background:#c8aa73}
.landing-section{padding:88px 0;background:#fff}.landing-section-head{max-width:730px;margin:0 auto 40px;text-align:center}.landing-section-head>span{font-size:12px;font-weight:850;color:#a36e20}.landing-section-head h2,.landing-info-grid h2{font-size:clamp(30px,3.5vw,48px);line-height:1.25;color:#153d35;margin:10px 0 16px}.landing-section-head p,.landing-info-grid p{font-size:16px;line-height:2;color:#657a74}.landing-steps,.landing-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.landing-steps article,.landing-feature-grid article{border:1px solid #e0e4dd;border-radius:18px;padding:28px;background:#fbfcf9}.landing-steps strong{font-size:13px;color:#bd7e20}.landing-steps h3,.landing-feature-grid h3{font-size:20px;margin:18px 0 8px;color:#173f37}.landing-steps p,.landing-feature-grid p{color:#6a7c77;line-height:1.9;font-size:14px}.landing-dark{background:#103f38;color:#e7f0ec}.landing-dark h2,.landing-dark p{color:inherit}.landing-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.landing-number-demo{border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:24px;background:rgba(255,255,255,.05)}.number-title{font-size:12px;color:#c8d9d3;margin-bottom:15px}.number-row{display:flex;gap:10px;direction:ltr}.number-row b{width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 28%,#f6e5c7,#d9b181 70%,#9a754f);border:4px double #8b6845;color:#af3024;font-size:22px}.landing-number-demo small{display:block;margin-top:14px;color:#aac2ba}.landing-safe{background:#f1f5f0}.landing-safe-card{background:#fff;border:1px solid #dce3dc;border-radius:24px;padding:34px;box-shadow:0 18px 50px rgba(31,66,57,.08)}.landing-safe-card>span{font-size:42px}.landing-faq{max-width:860px;margin:auto}.landing-faq details{border-bottom:1px solid #e2e5df;padding:18px 0}.landing-faq summary{font-size:17px;font-weight:850;cursor:pointer;color:#1c433a}.landing-faq p{color:#687b75;line-height:1.9}.landing-final{background:#e5a43b;padding:54px 0}.landing-final .container{display:flex;align-items:center;justify-content:space-between;gap:24px}.landing-final span{font-size:12px;font-weight:900}.landing-final h2{margin:6px 0 0;color:#15392f;font-size:30px}.landing-final a{background:#123f37;color:#fff!important;border-radius:10px;padding:14px 20px;font-weight:900}.landing-footer{background:#0d342e;color:#bdcdc8;padding:35px 0}.landing-footer .container{display:flex;justify-content:space-between;gap:30px}.landing-footer .brand strong{color:#fff}.landing-footer .container>div:last-child{display:flex;gap:18px;align-items:center;font-size:11px}
.nav-game-entry{color:#ffd685!important;border:1px solid rgba(215,166,78,.42);background:rgba(215,166,78,.08);border-radius:8px;padding:7px 10px!important}
.home-readiness{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center;margin-bottom:14px;background:radial-gradient(circle at 8% 30%,rgba(215,166,78,.12),transparent 28%),#073f38}.home-ready-copy h2{margin:10px 0 6px}.home-ready-copy p{margin:0;color:#b9c9c1}.home-ready-stats{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}.home-ready-stats span{border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035);padding:8px 10px;border-radius:9px;font-size:11px;color:#b9c9c1}.home-ready-stats b{color:#f0d18b;margin-right:5px}.home-enter-game{min-width:215px;min-height:58px;border-radius:12px;display:grid;place-items:center;font-weight:950;padding:10px 18px;text-align:center;transition:.18s}.home-enter-game.locked{background:#173f39;color:#829c94!important;border:1px solid #315b53;cursor:not-allowed}.home-enter-game.ready{background:linear-gradient(135deg,#e8b34f,#d29a35);color:#163b33!important;box-shadow:0 12px 28px rgba(224,166,65,.18)}
@media(max-width:980px){.landing-links{display:none}.landing-hero-grid,.landing-info-grid{grid-template-columns:1fr}.landing-showcase{min-height:430px}.landing-steps,.landing-feature-grid{grid-template-columns:1fr}.landing-copy h1{font-size:48px}.home-readiness{grid-template-columns:1fr}.home-enter-game{width:100%}}
@media(max-width:620px){.landing-nav{height:66px}.landing-brand{min-width:0}.landing-brand small{display:none}.landing-actions .btn:first-child{display:none}.landing-actions .landing-signup{padding:9px 11px}.landing-hero{padding:42px 0 60px}.landing-hero-grid{gap:34px}.landing-copy h1{font-size:39px;letter-spacing:-.5px}.landing-copy p{font-size:15px}.landing-cta{align-items:stretch;flex-direction:column}.landing-primary,.landing-secondary{text-align:center}.landing-showcase{min-height:340px}.landing-stage{inset:0 0 55px 22px}.landing-ticket{width:88%}.landing-ticket-grid b,.landing-ticket-grid i{height:25px;font-size:10px}.stage-ball{width:60px;height:60px;font-size:24px}.landing-section{padding:60px 0}.landing-final .container,.landing-footer .container{flex-direction:column;align-items:flex-start}.landing-footer .container>div:last-child{flex-wrap:wrap}.number-row{gap:5px}.number-row b{width:48px;height:48px;font-size:17px}}


/* =========================================================
   V21 — game-theme landing + richer conversion content + social auth
   ========================================================= */
.landing-body.landing-game-theme{
  background:#032f2c;
  color:#f4ead4;
}
.landing-game-theme .landing-nav-wrap{
  background:rgba(3,39,36,.94);
  border-bottom:1px solid rgba(219,174,88,.22);
  box-shadow:0 8px 34px rgba(0,0,0,.16);
}
.landing-game-theme .landing-brand strong{color:#f5ead4}
.landing-game-theme .landing-brand small{color:#d8ad5a}
.landing-game-theme .landing-links{color:#d8e2dc}
.landing-game-theme .landing-links a:hover{color:#f2c76c}
.landing-game-theme .landing-actions .btn{background:#0b4a43;border-color:rgba(226,187,108,.25);color:#f0e6d0}
.landing-game-theme .landing-actions .landing-signup{background:linear-gradient(135deg,#d6a448,#f0c76d);border-color:#e5ba61;color:#15362f;box-shadow:0 10px 30px rgba(222,172,73,.2)}
.landing-game-theme .landing-hero{
  position:relative;overflow:hidden;padding:76px 0 88px;
  background:
    radial-gradient(circle at 13% 18%,rgba(225,174,75,.18),transparent 31%),
    radial-gradient(circle at 88% 76%,rgba(50,130,112,.24),transparent 35%),
    linear-gradient(145deg,#073b36 0%,#04312e 52%,#022824 100%);
}
.landing-game-theme .landing-hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(180deg,#000,transparent 90%);pointer-events:none}
.landing-game-theme .landing-copy h1{color:#f7edda;text-shadow:0 8px 28px rgba(0,0,0,.22)}
.landing-game-theme .landing-copy h1 em{color:#efc366}
.landing-game-theme .landing-copy p{color:#cbd9d2}
.landing-game-theme .landing-kicker{color:#f0cd82;background:rgba(223,174,78,.1);border-color:rgba(230,186,99,.3)}
.landing-game-theme .landing-primary{background:linear-gradient(135deg,#d7a54a,#f2cc79);color:#16372f!important;box-shadow:0 16px 38px rgba(217,165,74,.24)}
.landing-game-theme .landing-secondary{color:#e8d4ad!important}
.landing-game-theme .landing-trust{color:#b8cac2}
.landing-prize-callout{margin-top:24px;border:1px solid rgba(237,196,111,.3);background:linear-gradient(135deg,rgba(235,188,91,.13),rgba(255,255,255,.025));border-radius:16px;padding:15px 18px;display:grid;gap:3px;max-width:570px;box-shadow:inset 0 1px 0 rgba(255,255,255,.035)}
.landing-prize-callout span{font-size:11px;color:#d9c49a}.landing-prize-callout strong{font-size:27px;color:#ffd982}.landing-prize-callout small{font-size:9px;color:#91aaa0;line-height:1.7}
.landing-game-theme .landing-stage{border-color:rgba(230,190,105,.32);box-shadow:0 32px 80px rgba(0,0,0,.4)}
.stage-caption{position:absolute;z-index:4;right:20px;bottom:21px;display:grid;color:#fff}.stage-caption b{font-size:16px}.stage-caption span{font-size:10px;color:#d5e2dc;margin-top:3px}
.landing-proof-strip{background:#062d2a;border-top:1px solid rgba(221,177,88,.14);border-bottom:1px solid rgba(221,177,88,.14)}
.landing-proof-strip .container{display:grid;grid-template-columns:repeat(4,1fr);padding-top:20px;padding-bottom:20px}
.landing-proof-strip .container>div{text-align:center;border-left:1px solid rgba(255,255,255,.07)}.landing-proof-strip .container>div:last-child{border-left:0}.landing-proof-strip b{display:block;color:#efc66e;font-size:23px}.landing-proof-strip span{display:block;color:#9fb4aa;font-size:10px;margin-top:3px}
.landing-game-theme .landing-section{background:#073832;color:#e8efe9}
.landing-game-theme .landing-section:nth-of-type(even){background:#06332f}
.landing-game-theme .landing-section-head>span{color:#e5b75b}
.landing-game-theme .landing-section-head h2,.landing-game-theme .landing-info-grid h2{color:#f3e8d1}
.landing-game-theme .landing-section-head p,.landing-game-theme .landing-info-grid p{color:#adc0b7}
.landing-game-theme .landing-steps article,.landing-game-theme .landing-feature-grid article{background:linear-gradient(160deg,#0b4841,#073b36);border-color:rgba(222,179,91,.18);box-shadow:0 16px 42px rgba(0,0,0,.12)}
.landing-game-theme .landing-steps h3,.landing-game-theme .landing-feature-grid h3{color:#f1e7d3}.landing-game-theme .landing-steps p,.landing-game-theme .landing-feature-grid p{color:#aebfb7}.landing-game-theme .landing-steps strong{color:#efc36c}.landing-game-theme .landing-steps article>a{display:inline-block;margin-top:10px;color:#efc56c;font-weight:800;font-size:12px}
.landing-prizes{background:radial-gradient(circle at 50% 0,rgba(226,176,72,.12),transparent 38%),#062f2b!important}
.prize-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;align-items:stretch}.prize-card{position:relative;border:1px solid rgba(229,183,91,.22);border-radius:20px;background:linear-gradient(160deg,#0b4840,#06352f);padding:26px;text-align:center;box-shadow:0 18px 42px rgba(0,0,0,.18)}.prize-card.featured{transform:translateY(-8px);border-color:rgba(240,199,111,.55);background:radial-gradient(circle at 50% 0,rgba(236,186,80,.18),transparent 45%),linear-gradient(160deg,#10564b,#083b35)}.prize-icon{font-size:34px}.prize-card>span{display:block;color:#d8c49c;font-size:12px;margin-top:8px}.prize-card strong{display:block;color:#ffd77d;font-size:31px;margin:7px 0 0}.prize-card small{color:#90aaa0;font-size:9px}.prize-card p{color:#b8c8c0;font-size:12px;line-height:1.8;margin:13px 0 0}.prize-note{max-width:900px;margin:20px auto 0;border:1px solid rgba(236,190,99,.16);border-radius:12px;padding:12px 16px;text-align:center;color:#9cb0a6;font-size:10px;line-height:1.8;background:rgba(0,0,0,.08)}
.landing-game-theme .landing-dark{background:#042824!important}.landing-bullets{display:grid;gap:8px;margin-top:18px;color:#c8d6cf;font-size:12px}.landing-game-theme .landing-number-demo{background:rgba(7,61,54,.78);border-color:rgba(239,198,111,.22)}
.landing-game-theme .landing-safe{background:#073630!important}.landing-game-theme .landing-safe-card{background:linear-gradient(160deg,#0d5048,#083d37);border-color:rgba(230,186,99,.2);color:#eef1e8;box-shadow:0 18px 50px rgba(0,0,0,.2)}.landing-safe-card ul{margin:15px 0 0;padding-right:18px;color:#b7c9c0;font-size:12px;line-height:2}
.landing-community{background:#062d29!important}.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.community-grid article{border:1px solid rgba(231,188,100,.16);border-radius:18px;padding:24px;background:rgba(12,70,62,.55)}.community-grid article>b{font-size:30px}.community-grid h3{color:#f3e6cf}.community-grid p{color:#a9bdb3;font-size:13px;line-height:1.85}
.landing-game-theme .landing-faq details{border-color:rgba(255,255,255,.09)}.landing-game-theme .landing-faq summary{color:#f0e5d0}.landing-game-theme .landing-faq p{color:#a9bcb3}
.landing-game-theme .landing-final{background:linear-gradient(135deg,#d4a047,#efc76e)}.landing-final p{margin:5px 0 0;color:#4d4a33;font-size:12px}.landing-final-actions{display:flex;gap:8px;align-items:center}.landing-final-actions a{background:#0b3b35;color:#fff!important}.landing-final-actions .landing-final-login{background:rgba(255,255,255,.42);color:#14372f!important;border:1px solid rgba(20,55,47,.16)}
.landing-game-theme .landing-footer{background:#021f1d;border-top:1px solid rgba(230,188,102,.12)}

/* Social auth */
.auth-eyebrow{display:inline-block;margin-bottom:8px;color:#efc66e;font-size:11px;font-weight:850;letter-spacing:.3px}.auth-form-card-wide{width:min(620px,100%)}.social-auth-stack{display:grid;gap:9px;margin:16px 0}.social-auth-btn{width:100%;min-height:48px;border-radius:10px;border:1px solid rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;gap:10px;font:inherit;cursor:pointer;font-size:12px;transition:.16s transform,.16s border-color}.social-auth-btn:hover{transform:translateY(-1px);border-color:rgba(237,195,107,.45)}.social-auth-btn.google{background:#f8f8f5;color:#233b36}.social-auth-btn.apple{background:#101413;color:#fff}.social-icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff;border:1px solid #ddd;font-weight:900;color:#4285f4}.apple-icon{background:#000;color:#fff;border-color:#444;font-size:10px}.auth-divider{display:flex;align-items:center;gap:10px;margin:13px 0;color:#899e95;font-size:10px}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:rgba(255,255,255,.09);flex:1}.auth-check{display:flex;align-items:flex-start;gap:8px;margin-top:13px;color:#aebdb6;font-size:10px;line-height:1.7}.auth-check input{margin-top:4px}.auth-switch{text-align:center;margin-top:14px;color:#aebfb7;font-size:11px}.auth-switch a{color:#efc46b;font-weight:800}.demo-login-box{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:12px 13px;border-radius:12px;border:1px dashed rgba(238,195,106,.42);background:rgba(228,177,73,.07)}.demo-login-box>div{display:grid;gap:3px}.demo-login-box span{color:#efcc84;font-size:10px;font-weight:900}.demo-login-box b{font-size:10px;color:#c6d3cd}.demo-login-box code{font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif;color:#fff;background:#0a332f;padding:2px 5px;border-radius:5px}.demo-login-box button{border:1px solid rgba(239,198,112,.3);background:#124b43;color:#f2d99f;border-radius:8px;padding:8px 10px;font-size:10px;cursor:pointer}

@media(max-width:980px){.prize-grid,.community-grid{grid-template-columns:1fr}.prize-card.featured{transform:none}.landing-proof-strip .container{grid-template-columns:repeat(2,1fr);gap:12px}.landing-proof-strip .container>div{border-left:0}.landing-final-actions{width:100%}.landing-final-actions a{flex:1;text-align:center}}
@media(max-width:620px){.landing-prize-callout strong{font-size:23px}.landing-proof-strip .container{grid-template-columns:repeat(2,1fr)}.prize-card strong{font-size:25px}.demo-login-box{align-items:stretch;flex-direction:column}.social-auth-btn{min-height:46px}.landing-final-actions{flex-direction:column;align-items:stretch}.landing-final-actions a{width:100%;text-align:center}}


/* =========================================================
   BUGFIX ONLY — public landing contact + game-room sizing
   Scoped so no other page/layout is changed.
   ========================================================= */
.landing-public-contact{background:#073832!important}
.landing-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.landing-contact-grid article{border:1px solid rgba(231,188,100,.17);border-radius:18px;padding:24px;background:linear-gradient(160deg,#0b4841,#073b36);box-shadow:0 16px 42px rgba(0,0,0,.12)}
.landing-contact-grid article>b{font-size:28px}.landing-contact-grid h3{margin:12px 0 7px;color:#f1e7d3}.landing-contact-grid p{margin:0;color:#aebfb7;font-size:12px;line-height:1.9}.landing-contact-grid a{display:inline-block;margin-top:14px;color:#efc56c;font-weight:850;font-size:12px}

/* Restore a compact/fixed game view without touching any other page. */
@media(min-width:731px){
  body.game-room-fixed main.container{width:min(1380px,calc(100% - 28px));padding-top:10px}
  body.game-room-fixed .page-head{margin:4px 0 10px}
  body.game-room-fixed .page-head h1{font-size:29px}
  body.game-room-fixed main.container>.notice{padding:9px 11px;line-height:1.55}
  body.game-room-fixed .hero{margin-top:10px!important;gap:12px;align-items:stretch}
  body.game-room-fixed .hero>.live-card,
  body.game-room-fixed .hero>.current,
  body.game-room-fixed .hero>.chance{height:470px;min-height:470px;max-height:470px}
  body.game-room-fixed .current{padding:16px 14px}
  body.game-room-fixed .current .medal{width:138px;height:138px;font-size:58px;margin:11px 0 8px}
  body.game-room-fixed .current .recent-called{margin:7px 0 8px}
  body.game-room-fixed .chance{padding:14px 13px;overflow:hidden}
  body.game-room-fixed .chance .section-head{margin-bottom:5px}
  body.game-room-fixed .chance .section-head h2{font-size:21px}
  body.game-room-fixed .chance .chance-ring{width:156px;height:156px}
  body.game-room-fixed .chance .chance-ring:before{inset:14px}
  body.game-room-fixed .chance .chance-ring-copy strong{font-size:31px}
  body.game-room-fixed .chance .chance-explain{margin-top:5px}
  body.game-room-fixed .chance .chance-explain>div{padding:6px 4px}
  body.game-room-fixed .chance .chance-stage-list{padding:8px;margin-top:6px}
  body.game-room-fixed .chance .chance-stage{grid-template-columns:96px 1fr 40px}
  body.game-room-fixed .chance>.notice{margin-top:7px!important;padding:7px 8px;line-height:1.45;font-size:9px}
}
@media(max-width:980px) and (min-width:731px){
  body.game-room-fixed .hero{grid-template-columns:1.35fr .75fr}
  body.game-room-fixed .hero>.chance{grid-column:1/-1;height:auto;min-height:0;max-height:none}
}
@media(max-width:730px){
  .landing-contact-grid{grid-template-columns:1fr}
  /* keep the previously accepted mobile game sizing exactly as-is */
}


/* =========================================================
   V22 — requested fixes only
   1) completed-registration gate UI
   2) landing footer without outgoing links
   3) compact live game room, scoped only to game-room.html
   ========================================================= */
.social-completion-panel[hidden]{display:none!important}
.social-completion-panel{margin:14px 0 16px;padding:16px;border:1px solid rgba(239,198,110,.34);border-radius:14px;background:linear-gradient(160deg,rgba(13,75,66,.78),rgba(5,50,45,.9));box-shadow:inset 0 1px rgba(255,255,255,.04)}
.social-completion-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:8px}
.social-completion-head h3{margin:2px 0 5px;font-size:17px;color:#f4e6ca}.social-completion-head p{margin:0;color:#aebfb7;font-size:10px;line-height:1.75}
.social-completion-head button{border:0;background:transparent;color:#f0cf8a;font-size:25px;line-height:1;padding:0 5px}
.landing-footer-simple{align-items:center!important}.landing-footer-note{font-size:10px;color:#9cb0a7}

@media(min-width:981px){
  body.game-room-fixed .toprow{min-height:62px;gap:14px}
  body.game-room-fixed .brand{min-width:175px;gap:9px}
  body.game-room-fixed .brandmark{width:40px;height:40px;flex-basis:40px;border-radius:12px}
  body.game-room-fixed .brand strong{font-size:19px}
  body.game-room-fixed .brand small{font-size:7px;letter-spacing:2.5px}
  body.game-room-fixed .nav{gap:12px;font-size:10px}
  body.game-room-fixed .nav a{padding:21px 0 18px}
  body.game-room-fixed .head-actions{gap:6px}
  body.game-room-fixed .head-actions .btn,body.game-room-fixed .head-actions .tag{font-size:9px;padding:7px 9px}
  body.game-room-fixed main.container{width:min(1240px,calc(100% - 24px));padding-top:7px;padding-bottom:24px}
  body.game-room-fixed .page-head{margin:2px 0 7px}
  body.game-room-fixed .page-head h1{font-size:23px}
  body.game-room-fixed .page-head p{font-size:10px;margin-top:3px;line-height:1.5}
  body.game-room-fixed .breadcrumb{font-size:8px;margin-bottom:4px}
  body.game-room-fixed main.container>.notice{padding:6px 9px;font-size:9px;line-height:1.4}
  body.game-room-fixed .hero{margin-top:8px!important;gap:9px;grid-template-columns:1.55fr .68fr .9fr}
  body.game-room-fixed .hero>.live-card,
  body.game-room-fixed .hero>.current,
  body.game-room-fixed .hero>.chance{height:390px;min-height:390px;max-height:390px}
  body.game-room-fixed .live-top{top:10px;right:10px}
  body.game-room-fixed .live-bottom{right:12px;left:12px;bottom:10px}
  body.game-room-fixed .live-bottom strong{font-size:13px}
  body.game-room-fixed .live-bottom small{font-size:9px}
  body.game-room-fixed .current{padding:12px 10px}
  body.game-room-fixed .current h3{font-size:14px}
  body.game-room-fixed .current .medal{width:108px;height:108px;font-size:46px;margin:8px 0 5px}
  body.game-room-fixed .current .recent-called{margin:5px 0 5px}
  body.game-room-fixed .current .recent-called-head{font-size:8px;margin-bottom:4px}
  body.game-room-fixed .recent-ball{width:34px;height:34px;min-width:34px;font-size:13px}
  body.game-room-fixed .current .history{height:32px;margin-top:5px;font-size:9px}
  body.game-room-fixed .chance{padding:10px 10px;overflow:hidden}
  body.game-room-fixed .chance .section-head{margin-bottom:1px}
  body.game-room-fixed .chance .section-head h2{font-size:17px}
  body.game-room-fixed .chance .tag{font-size:8px;padding:4px 6px}
  body.game-room-fixed .chance .chance-ring{width:120px;height:120px;margin-top:2px}
  body.game-room-fixed .chance .chance-ring:before{inset:11px}
  body.game-room-fixed .chance .chance-ring-copy strong{font-size:25px}
  body.game-room-fixed .chance .chance-ring-copy span{font-size:9px}
  body.game-room-fixed .chance .chance-explain{margin-top:2px;gap:4px}
  body.game-room-fixed .chance .chance-explain>div{padding:4px 3px}
  body.game-room-fixed .chance .chance-explain span{font-size:7px}
  body.game-room-fixed .chance .chance-explain b{font-size:11px;margin-top:2px}
  body.game-room-fixed .chance .chance-stage-list{padding:5px 6px;margin-top:4px}
  body.game-room-fixed .chance .chance-stage{grid-template-columns:78px 1fr 33px;font-size:8px;gap:4px;margin:5px 0}
  body.game-room-fixed .chance .chance-stage-track{height:6px}
  body.game-room-fixed .chance .chance-stage b{font-size:8px}
  body.game-room-fixed .chance>.notice{margin-top:4px!important;padding:4px 5px;line-height:1.3;font-size:7px}
  body.game-room-fixed main.container>article.card.panel{margin-top:9px!important;padding:12px}
  body.game-room-fixed main.container>article.card.panel .section-head{margin-bottom:7px}
  body.game-room-fixed main.container>article.card.panel .section-head h3{font-size:16px}
  body.game-room-fixed .cards-gallery{gap:6px}
  body.game-room-fixed .daberna-card{padding:4px}
  body.game-room-fixed .d-cell{height:29px;font-size:11px}
  body.game-room-fixed .d-cell.hit:after{width:21px;height:21px}
  body.game-room-fixed .daberna-head{font-size:8px;padding-bottom:3px}
  body.game-room-fixed .claim-panel{padding:11px!important}
  body.game-room-fixed .claim-panel p,body.game-room-fixed .claim-panel .notice{font-size:9px}
}
@media(max-width:1100px) and (min-width:981px){
  body.game-room-fixed main.container{width:calc(100% - 20px)}
  body.game-room-fixed .hero{grid-template-columns:1.4fr .72fr}
  body.game-room-fixed .hero>.live-card,body.game-room-fixed .hero>.current{height:370px;min-height:370px;max-height:370px}
  body.game-room-fixed .hero>.chance{grid-column:1/-1;height:auto;min-height:0;max-height:none}
}


/* =========================================================
   V23 — only requested visual/function changes
   ========================================================= */
/* Readability: +4px on normal site copy; game room stays carefully fitted. */
body:not(.game-room-reference){font-size:20px}
body:not(.game-room-reference) .nav{font-size:16px}
body:not(.game-room-reference) .btn{font-size:17px}
body:not(.game-room-reference) .btn.small{font-size:14px}
body:not(.game-room-reference) .small{font-size:15px}
body:not(.game-room-reference) .tiny{font-size:13px}
body:not(.game-room-reference) .tag{font-size:13px}
body:not(.game-room-reference) .page-head p{font-size:16px}
body:not(.game-room-reference) .breadcrumb{font-size:13px}
body:not(.game-room-reference) .field label{font-size:15px}
body:not(.game-room-reference) .footer a,body:not(.game-room-reference) .footer p{font-size:15px}

/* Game room exactly returns to the compact dashboard arrangement shown in the reference. */
@media(min-width:981px){
  body.game-room-reference .toprow{min-height:68px}
  body.game-room-reference main.game-reference-main{width:min(1380px,calc(100% - 26px));padding:10px 0 22px}
  body.game-room-reference .game-reference-hero{grid-template-columns:1.55fr .65fr .88fr!important;gap:12px!important;margin-top:0!important}
  body.game-room-reference .game-reference-hero>.live-card,
  body.game-room-reference .game-reference-hero>.current,
  body.game-room-reference .game-reference-hero>.chance{height:470px!important;min-height:470px!important;max-height:470px!important}
  body.game-room-reference .live-card{min-height:470px!important}
  body.game-room-reference .current{padding:18px 14px!important}
  body.game-room-reference .current h3{font-size:17px!important}
  body.game-room-reference .current .medal{width:144px!important;height:144px!important;font-size:60px!important;margin:12px 0 9px!important}
  body.game-room-reference .current .recent-called{margin:8px 0 7px!important}
  body.game-room-reference .recent-ball{width:41px!important;height:41px!important;min-width:41px!important;font-size:15px!important}
  body.game-room-reference .current .history{height:38px!important;font-size:12px!important;margin-top:6px!important}
  body.game-room-reference .current .meta{font-size:13px!important;margin-top:5px}
  body.game-room-reference .chance{padding:14px!important;overflow:hidden}
  body.game-room-reference .chance .section-head h2{font-size:21px!important}
  body.game-room-reference .chance .chance-ring{width:158px!important;height:158px!important}
  body.game-room-reference .chance .chance-ring-copy strong{font-size:33px!important}
  body.game-room-reference .chance .chance-explain>div{padding:6px 4px!important}
  body.game-room-reference .chance .chance-explain span{font-size:9px!important}
  body.game-room-reference .chance .chance-explain b{font-size:13px!important}
  body.game-room-reference .chance .chance-stage-list{padding:8px!important;margin-top:7px!important}
  body.game-room-reference .chance .chance-stage{grid-template-columns:98px 1fr 42px!important;font-size:10px!important;margin:7px 0!important}
  body.game-room-reference .game-chance-note{font-size:9px!important;padding:6px 7px!important;margin-top:7px!important}
  body.game-room-reference .game-reference-lower{grid-template-columns:.9fr 1.8fr 1.05fr!important;gap:12px!important;margin-top:12px!important;align-items:stretch!important}
  body.game-room-reference .game-reference-lower>article{height:330px!important;min-height:330px!important;max-height:330px!important;overflow:hidden}
  body.game-room-reference .game-reference-lower .panel{padding:14px!important}
  body.game-room-reference .game-reference-lower .section-head h3{font-size:18px!important}
  body.game-room-reference .game-cards-panel .cards-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;max-height:274px;overflow:auto;padding-left:2px}
  body.game-room-reference .game-cards-panel .daberna-card{padding:4px!important}
  body.game-room-reference .game-cards-panel .d-cell{height:29px!important;font-size:22px!important}
  body.game-room-reference .game-cards-panel .d-cell.hit:after{width:21px!important;height:21px!important}
  body.game-room-reference .chat-list{max-height:215px!important}
  body.game-room-reference .msg p{font-size:11px!important}
  body.game-room-reference .row{padding:10px 0!important}
  body.game-room-reference .person b{font-size:12px!important}.game-room-reference .person small{font-size:9px!important}.game-room-reference .amount{font-size:11px!important}
  body.game-room-reference .game-results-link{display:inline-block;margin-top:11px}
  body.game-room-reference .game-claim-compact{margin-top:12px!important;padding:10px 14px!important}
  body.game-room-reference .game-claim-compact .section-head{margin-bottom:6px}
  body.game-room-reference .game-claim-compact p{margin:6px 0;font-size:11px}
  body.game-room-reference .claim-status-grid{margin-top:4px}
}
@media(max-width:980px){body.game-room-reference .game-reference-hero,body.game-room-reference .game-reference-lower{grid-template-columns:1fr!important}body.game-room-reference .game-reference-lower>article{height:auto!important;min-height:0!important;max-height:none!important}}

/* Purchase page redesign */
.purchase-v23{margin-top:14px}.purchase-v23-top{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}.purchase-control-card,.purchased-current-card{min-height:100%}.purchase-price{font-size:28px;color:var(--gold2);text-align:left}.purchase-price small{font-size:12px;color:var(--muted);display:block;margin-top:3px}.purchase-status-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:14px 0}.purchase-status-strip span{padding:10px;border:1px solid rgba(215,166,78,.18);background:rgba(255,255,255,.025);border-radius:11px;font-size:13px;color:var(--muted)}.purchase-status-strip b{display:block;color:#f6e3b9;margin-top:5px;font-size:15px}.purchase-quantity{display:flex;align-items:center;justify-content:center;gap:12px;margin:13px 0}.purchase-quantity button{width:48px;height:48px;border-radius:50%;border:1px solid var(--gold);background:#0a443d;color:#f4d28d;font-size:26px}.purchase-quantity>div{display:flex;align-items:center;gap:9px;padding:8px 14px;border:1px solid rgba(215,166,78,.2);border-radius:14px}.purchase-quantity label{font-size:14px;color:var(--muted)}.purchase-quantity input{width:62px;height:42px;text-align:center;background:#063832;border:1px solid var(--line);border-radius:9px;color:#fff;font-size:20px;font-weight:900}.purchase-limit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.purchase-limit-grid>div{padding:10px;text-align:center;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.055)}.purchase-limit-grid span{display:block;font-size:12px;color:var(--muted)}.purchase-limit-grid b{display:block;margin-top:4px;color:#f5db9c}.purchase-total-row{display:flex;align-items:center;justify-content:space-between;margin:14px 0 9px;padding-top:12px;border-top:1px solid rgba(255,255,255,.07)}.purchase-total-row strong{font-size:25px;color:#f1cf86}.purchase-refund-note{font-size:13px!important;color:#b9cac1;line-height:1.8;margin:10px 0 0}.purchase-card-gallery{grid-template-columns:repeat(3,minmax(0,1fr))!important}.purchase-card-gallery .daberna-card{cursor:pointer;transition:.16s}.purchase-card-gallery .daberna-card:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(0,0,0,.24)}.refund-card-list{display:grid;gap:8px}.refund-card-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px;border:1px solid rgba(215,166,78,.18);border-radius:11px;background:rgba(255,255,255,.025)}.refund-card-row>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.refund-card-row b{color:#f3d68f}.refund-card-row span,.refund-card-row small{color:var(--muted);font-size:12px}.refund-card-btn:disabled{opacity:.45;cursor:not-allowed}.purchase-catalog-panel{margin-top:14px}
@media(max-width:900px){.purchase-v23-top{grid-template-columns:1fr}.purchase-status-strip{grid-template-columns:1fr}.purchase-card-gallery{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:560px){.purchase-card-gallery{grid-template-columns:1fr!important}.refund-card-row{align-items:flex-start;flex-direction:column}.purchase-price{font-size:22px}.purchase-limit-grid{grid-template-columns:1fr}}

/* Landing: rotating drum, floating balls and richer visual motion. */
.landing-showcase-v23{position:relative;isolation:isolate}.landing-orbit{position:absolute;inset:-40px -30px -35px -35px;z-index:-1;pointer-events:none}.orbit-ring{position:absolute;border-radius:50%;border:1px solid rgba(232,183,87,.25);animation:landingSpin 18s linear infinite}.ring-one{width:390px;height:390px;right:0;top:25px}.ring-two{width:300px;height:300px;right:45px;top:70px;animation-direction:reverse;animation-duration:13s}.orbit-ball{position:absolute;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:18px;color:#ad3328;background:radial-gradient(circle at 35% 28%,#fff1d3,#dfbd83 62%,#a97841);border:3px solid #81572e;box-shadow:0 12px 28px #0007,inset 0 0 0 3px rgba(255,255,255,.2);animation:landingFloat 4s ease-in-out infinite}.b1{right:-10px;top:40px}.b2{left:-25px;top:100px;animation-delay:-1.2s}.b3{right:35px;bottom:15px;animation-delay:-2.1s}.b4{left:25px;bottom:-20px;animation-delay:-.7s}.landing-mini-drum{position:absolute;left:-70px;top:43%;width:130px;height:130px;z-index:5;filter:drop-shadow(0 16px 25px rgba(0,0,0,.45));animation:landingFloat 5s ease-in-out infinite}.mini-drum-wheel{position:absolute;inset:8px 25px 8px 0;border:7px double #d7a64e;border-radius:50%;background:radial-gradient(circle,#0e4f47 0 45%,#032c29 46%);animation:landingSpin 10s linear infinite}.mini-drum-wheel i{position:absolute;left:50%;top:4%;width:2px;height:92%;background:rgba(240,208,141,.38);transform-origin:center}.mini-drum-wheel i:nth-child(2){transform:rotate(45deg)}.mini-drum-wheel i:nth-child(3){transform:rotate(90deg)}.mini-drum-wheel i:nth-child(4){transform:rotate(135deg)}.mini-drum-wheel span{position:absolute;inset:28px;border-radius:50%;display:grid;place-items:center;background:#e7c78f;color:#8f2c24;font-weight:900}.mini-drum-handle{position:absolute;right:0;top:48px;width:35px;height:12px;border-radius:8px;background:#d7a64e;box-shadow:16px 13px 0 -2px #a66e2e}.landing-excitement{margin-top:15px;padding:13px 15px;border:1px solid rgba(240,193,96,.27);border-radius:14px;background:linear-gradient(90deg,rgba(215,166,78,.08),rgba(12,79,70,.25));display:grid;gap:5px}.landing-excitement b{color:#f5d68f;font-size:16px}.landing-excitement span{color:#c3d0c9;font-size:13px;line-height:1.7}@keyframes landingSpin{to{transform:rotate(360deg)}}@keyframes landingFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}@media(prefers-reduced-motion:reduce){.orbit-ring,.orbit-ball,.landing-mini-drum,.mini-drum-wheel{animation:none!important}}


/* =========================================================
   V24 — LIVE GAME LAYOUT RESTORED TO THE ACCEPTED V19 DASHBOARD
   Scoped only to game-room.html. No other page is resized.
   ========================================================= */
@media(min-width:1161px){
  body.v19-game-layout .toprow{min-height:80px!important;gap:23px!important}
  body.v19-game-layout .brand{min-width:220px!important;gap:12px!important}
  body.v19-game-layout .brandmark{width:56px!important;height:56px!important;flex-basis:56px!important;border-radius:18px!important}
  body.v19-game-layout .brand strong{font-size:26px!important}
  body.v19-game-layout .brand small{font-size:9px!important;letter-spacing:4px!important}
  body.v19-game-layout .nav{gap:18px!important;font-size:12px!important}
  body.v19-game-layout .nav a{padding:30px 0 25px!important}
  body.v19-game-layout .head-actions{gap:8px!important}
  body.v19-game-layout .head-actions .btn{font-size:13px!important;padding:10px 14px!important}
  body.v19-game-layout main.game-reference-main{width:min(1460px,calc(100% - 28px))!important;padding:18px 0 34px!important}

  /* V19 top row: live physical left, current center, chance physical right */
  body.v19-game-layout .game-reference-hero{
    direction:ltr!important;
    display:grid!important;
    grid-template-columns:1.55fr .65fr .88fr!important;
    gap:14px!important;
    margin-top:0!important;
    align-items:stretch!important;
  }
  body.v19-game-layout .game-reference-hero>article{direction:rtl!important}
  body.v19-game-layout .game-reference-hero>.live-card,
  body.v19-game-layout .game-reference-hero>.current,
  body.v19-game-layout .game-reference-hero>.chance{
    height:470px!important;
    min-height:470px!important;
    max-height:470px!important;
  }
  body.v19-game-layout .live-top{top:15px!important;right:15px!important}
  body.v19-game-layout .live-bottom{right:16px!important;left:16px!important;bottom:14px!important}
  body.v19-game-layout .live-bottom strong{font-size:18px!important}
  body.v19-game-layout .live-bottom small{font-size:12px!important}

  body.v19-game-layout .current{padding:21px!important}
  body.v19-game-layout .current h3{font-size:18px!important}
  body.v19-game-layout .current .medal{width:160px!important;height:160px!important;font-size:67px!important;margin:20px 0 17px!important}
  body.v19-game-layout .current .recent-called{margin:10px 0 8px!important}
  body.v19-game-layout .current .recent-called-head{font-size:9px!important;margin-bottom:8px!important}
  body.v19-game-layout .current .history{height:42px!important;font-size:12px!important;margin-top:7px!important}
  body.v19-game-layout .current .meta{font-size:13px!important;margin-top:5px!important}
  /* preserve the accepted V19 horizontal recent-number strip */
  body.v19-game-layout .recent-balls{min-height:64px!important;padding:7px 10px 10px!important;gap:9px!important;overflow-x:auto!important;overflow-y:visible!important}
  body.v19-game-layout .recent-ball{width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;max-width:46px!important;max-height:46px!important;font-size:16px!important;flex:0 0 46px!important}
  body.v19-game-layout .recent-ball.latest{width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;max-width:50px!important;max-height:50px!important;font-size:18px!important;flex:0 0 50px!important}

  body.v19-game-layout .chance{padding:19px!important;overflow:hidden!important}
  body.v19-game-layout .chance .section-head{margin-bottom:11px!important}
  body.v19-game-layout .chance .section-head h2{font-size:25px!important}
  body.v19-game-layout .chance .tag{font-size:11px!important;padding:6px 9px!important}
  body.v19-game-layout .chance .chance-ring{width:198px!important;height:198px!important}
  body.v19-game-layout .chance .chance-ring:before{inset:17px!important}
  body.v19-game-layout .chance .chance-ring-copy strong{font-size:39px!important}
  body.v19-game-layout .chance .chance-ring-copy span{font-size:11px!important}
  body.v19-game-layout .chance .chance-explain{margin-top:10px!important;gap:7px!important}
  body.v19-game-layout .chance .chance-explain>div{padding:9px 6px!important}
  body.v19-game-layout .chance .chance-explain span{font-size:9px!important}
  body.v19-game-layout .chance .chance-explain b{font-size:14px!important;margin-top:4px!important}
  body.v19-game-layout .chance .chance-stage-list{padding:13px!important;margin-top:8px!important}
  body.v19-game-layout .chance .chance-stage{grid-template-columns:112px 1fr 46px!important;font-size:11px!important;margin:8px 0!important;gap:7px!important}
  body.v19-game-layout .chance .chance-stage-track{height:9px!important}
  body.v19-game-layout .chance .chance-stage b{font-size:11px!important}
  body.v19-game-layout .game-chance-note{font-size:9px!important;padding:7px 8px!important;margin-top:8px!important;line-height:1.45!important}

  /* V19 lower row: chat physical left, cards center, winners physical right */
  body.v19-game-layout .game-reference-lower{
    direction:rtl!important;
    display:grid!important;
    grid-template-columns:.9fr 1.8fr 1.05fr!important;
    gap:14px!important;
    margin-top:14px!important;
    align-items:start!important;
  }
  body.v19-game-layout .game-reference-lower>article{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
  }
  body.v19-game-layout .game-reference-lower .panel{padding:18px!important}
  body.v19-game-layout .game-reference-lower .section-head{margin-bottom:11px!important}
  body.v19-game-layout .game-reference-lower .section-head h3{font-size:21px!important}
  body.v19-game-layout .game-cards-panel .cards-gallery{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
  }
  body.v19-game-layout .game-cards-panel .daberna-card{padding:6px!important}
  body.v19-game-layout .game-cards-panel .d-cell{height:38px!important;font-size:22px!important}
  body.v19-game-layout .game-cards-panel .d-cell.hit:after{width:27px!important;height:27px!important}
  body.v19-game-layout .game-cards-panel .daberna-head{font-size:10px!important}
  body.v19-game-layout .chat-list{max-height:245px!important}
  body.v19-game-layout .msg p{font-size:12px!important}
  body.v19-game-layout .msg time{font-size:10px!important}
  body.v19-game-layout .row{padding:9px 0!important}
  body.v19-game-layout .person b{font-size:13px!important}
  body.v19-game-layout .person small{font-size:10px!important}
  body.v19-game-layout .amount{font-size:12px!important}
  body.v19-game-layout .game-claim-compact{margin-top:14px!important;padding:14px 18px!important}
}

/* Tablet/mobile keep the accepted responsive behavior instead of forcing desktop V19 widths. */
@media(max-width:1160px){
  body.v19-game-layout .game-reference-hero,
  body.v19-game-layout .game-reference-lower{direction:rtl!important}
}

/* V28 — personalized game sections always reclaim the available space.
   Two visible panels share the row equally; one visible panel fills it. */
.hero.personalized-hero[data-visible-sections="2"],
.lower.personalized-grid[data-visible-sections="2"]{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
.hero.personalized-hero[data-visible-sections="1"],
.lower.personalized-grid[data-visible-sections="1"]{
  grid-template-columns:minmax(0,1fr)!important;
}
.hero.personalized-hero[data-visible-sections="0"],
.lower.personalized-grid[data-visible-sections="0"]{
  display:none!important;
}
.hero.personalized-hero[data-visible-sections="1"]>article,
.lower.personalized-grid[data-visible-sections="1"]>article{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  grid-column:1/-1!important;
}

@media(min-width:1161px){
  body.v19-game-layout .game-reference-hero[data-visible-sections="2"],
  body.v19-game-layout .game-reference-lower[data-visible-sections="2"]{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.v19-game-layout .game-reference-hero[data-visible-sections="1"],
  body.v19-game-layout .game-reference-lower[data-visible-sections="1"]{
    grid-template-columns:minmax(0,1fr)!important;
  }
}

/* Purchase page: quantity only. Cards are assigned randomly after purchase. */
.random-card-info{margin-top:14px}
.random-card-info .notice{margin-top:8px}


/* =========================================================
   V25 — purchase finality + charge account + wooden card marks
   Landing graphics only. Existing game layout stays unchanged.
   ========================================================= */

/* Called number: automatic visual change even before manual marking. */
.d-cell.called-match:not(.player-marked){
  background:linear-gradient(180deg,#ffe9ad,#f6d58b)!important;
  box-shadow:inset 0 0 0 2px rgba(171,106,43,.72),inset 0 0 14px rgba(255,255,255,.38)!important;
}
.d-cell.called-match:not(.player-marked) span{color:#8d2f24!important;font-weight:950!important}

/* Manual/Auto mark: old wooden Daberna token, brown rings + red number. */
.d-cell.player-marked.wood-token-mark{background:#fff1ce!important;overflow:visible}
.d-cell.player-marked.wood-token-mark:after{
  content:""!important;
  position:absolute!important;
  width:min(30px,88%)!important;
  height:min(30px,88%)!important;
  aspect-ratio:1!important;
  border-radius:50%!important;
  background:
    radial-gradient(circle at 34% 26%,rgba(255,255,255,.7) 0 7%,transparent 8%),
    radial-gradient(circle,#f4dfb9 0 53%,#e8c894 54% 68%,#c69662 69% 100%)!important;
  border:2px solid #8b603c!important;
  box-shadow:inset 0 0 0 3px #e8cfaa,inset 0 0 0 4px rgba(91,57,35,.72),0 2px 5px rgba(61,37,22,.35)!important;
  opacity:1!important;
  z-index:1!important;
}
.d-cell.player-marked.wood-token-mark span{position:relative!important;z-index:3!important;color:#b53227!important;text-shadow:0 1px #fff6e0;font-weight:950!important}
.card-zoom-content .d-cell.player-marked.wood-token-mark:after{width:min(42px,86%)!important;height:min(42px,86%)!important}

/* Purchase: no cancellation language/UI. */
.purchase-final-note{font-size:13px;color:#c7d4cd;line-height:1.85;margin:10px 0 0;padding:10px 12px;border-radius:10px;background:rgba(215,166,78,.07);border:1px solid rgba(215,166,78,.15)}
.purchased-fixed-list{margin-top:14px}.purchased-card-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.purchased-card-row{display:grid;grid-template-columns:34px 1fr auto;gap:9px;align-items:center;padding:11px;border:1px solid rgba(215,166,78,.17);border-radius:11px;background:rgba(255,255,255,.025)}.purchased-card-row b{display:block;color:#f3d68f}.purchased-card-row small{display:block;margin-top:2px;color:var(--muted);font-size:10px}.purchased-card-row strong{font-size:11px;color:#e9d4a6}.purchased-card-token{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#d7a64e;color:#173b34;font-weight:950}

/* Large, obvious recharge account card inside purchase area. */
.charge-account-card{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:100%;background:radial-gradient(circle at 50% 8%,rgba(245,201,105,.24),transparent 34%),linear-gradient(155deg,#0d5148,#063a34 62%,#052d29)!important;border-color:rgba(239,195,100,.55)!important}
.charge-glow{position:absolute;inset:-35%;z-index:-1;background:conic-gradient(from 0deg,transparent,rgba(238,187,82,.16),transparent 32%,rgba(70,186,159,.12),transparent 68%);animation:chargeSpin 9s linear infinite}
.charge-icon{width:108px;height:108px;border-radius:32px;display:grid;place-items:center;margin:8px auto 13px;background:linear-gradient(145deg,#f3cc78,#c7892e);box-shadow:0 16px 40px rgba(0,0,0,.35),0 0 0 8px rgba(235,188,89,.07);position:relative}
.charge-icon svg{width:58px;height:58px;color:#123b34;position:relative;z-index:1}
.charge-icon:before,.charge-icon:after{content:"";position:absolute;inset:-12px;border-radius:38px;border:1px solid rgba(244,207,128,.35);animation:chargePulse 2.4s ease-out infinite}.charge-icon:after{inset:-24px;animation-delay:-1.2s}.charge-icon span{font-size:55px;line-height:1;color:#123b34;font-weight:300;transform:translateY(-2px)}
.charge-account-card h3{font-size:26px;margin:8px 0 5px}.charge-account-card p{margin:0;color:#bdd0c7;font-size:13px}.charge-balance{display:block;font-size:25px;color:#f5d990;margin:12px 0}.charge-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;width:100%;margin:4px 0 9px}.charge-amounts button{border:1px solid rgba(215,166,78,.22);background:#083b35;color:#c9d7d0;border-radius:10px;padding:9px 5px;font-weight:800}.charge-amounts button.active{background:#d7a64e;color:#163a33;border-color:#f1cf89;box-shadow:0 0 0 3px rgba(215,166,78,.11)}.charge-main-button{width:100%;border:0;border-radius:12px;padding:13px;background:linear-gradient(90deg,#d7a64e,#efca78);color:#173b34;font-size:16px;font-weight:950;box-shadow:0 10px 25px rgba(0,0,0,.22);cursor:pointer}.charge-account-card>small{margin-top:9px;color:#94aaa0;font-size:10px;line-height:1.7}
@keyframes chargeSpin{to{transform:rotate(360deg)}}@keyframes chargePulse{0%{transform:scale(.86);opacity:.55}100%{transform:scale(1.1);opacity:0}}

/* Landing: make the visual centerpiece larger/richer without changing the page flow. */
.landing-showcase-v23{min-height:590px!important;transform:translateZ(0)}
.landing-brand-emblem{position:absolute;z-index:8;right:42px;top:-26px;display:flex;align-items:center;gap:10px;padding:9px 13px 9px 9px;border-radius:22px;background:rgba(4,42,38,.88);border:1px solid rgba(237,192,96,.42);box-shadow:0 14px 34px rgba(0,0,0,.35);backdrop-filter:blur(8px);animation:landingFloat 5.5s ease-in-out infinite}
.landing-brand-emblem img{width:82px;height:82px;border-radius:22px;object-fit:cover;box-shadow:0 8px 20px rgba(0,0,0,.28)}.landing-brand-emblem span{font-weight:950;color:#f4d487;font-size:19px;white-space:nowrap}
.landing-orbit-v25{inset:-85px -85px -70px -90px!important}.landing-orbit-v25 .ring-one{width:520px;height:520px;right:-15px;top:0;border-width:2px}.landing-orbit-v25 .ring-two{width:400px;height:400px;right:45px;top:60px}.landing-orbit-v25 .ring-three{width:610px;height:610px;right:-60px;top:-45px;animation-duration:26s;border-color:rgba(99,201,174,.14)}
.landing-orbit-v25 .orbit-ball{width:66px;height:66px;font-size:20px}.landing-orbit-v25 .b1{right:-20px;top:40px}.landing-orbit-v25 .b2{left:-15px;top:120px}.landing-orbit-v25 .b3{right:40px;bottom:10px}.landing-orbit-v25 .b4{left:35px;bottom:-10px}.landing-orbit-v25 .b5{right:55%;top:-42px;animation-delay:-3s}.landing-orbit-v25 .b6{right:-42px;bottom:38%;animation-delay:-1.6s}
.landing-drum-v25{left:-115px!important;top:35%!important;width:210px!important;height:210px!important;z-index:7!important;animation:landingFloat 5s ease-in-out infinite!important}.landing-drum-v25 .mini-drum-wheel{inset:8px 44px 8px 0!important;border-width:9px!important}.landing-drum-v25 .mini-drum-wheel span{inset:48px!important;font-size:22px}.landing-drum-v25 .mini-drum-handle{right:2px!important;top:86px!important;width:52px!important;height:15px!important;box-shadow:23px 17px 0 -2px #a66e2e!important}.landing-drum-v25 .drum-ball{position:absolute;z-index:8;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eed5a8;border:2px solid #8c6039;color:#ad3026;font-size:11px;font-weight:950;box-shadow:0 4px 8px #0005;animation:drumBallFloat 3s ease-in-out infinite}.landing-drum-v25 .db1{left:62px;top:50px}.landing-drum-v25 .db2{left:92px;top:102px;animation-delay:-1s}.landing-drum-v25 .db3{left:50px;top:132px;animation-delay:-2s}@keyframes drumBallFloat{0%,100%{transform:translate(0,0) rotate(0)}50%{transform:translate(12px,-8px) rotate(18deg)}}
.landing-stage{inset:20px 0 72px 38px!important}.landing-ticket{z-index:9!important}

@media(max-width:900px){.purchased-card-list{grid-template-columns:1fr 1fr}.landing-showcase-v23{min-height:500px!important}.landing-drum-v25{left:-45px!important;transform:scale(.82)}.landing-brand-emblem{right:15px}.landing-brand-emblem img{width:68px;height:68px}}
@media(max-width:620px){.purchased-card-list{grid-template-columns:1fr}.charge-icon{width:88px;height:88px}.landing-showcase-v23{min-height:400px!important}.landing-brand-emblem{top:-18px;right:8px;padding:6px}.landing-brand-emblem img{width:54px;height:54px;border-radius:15px}.landing-brand-emblem span{display:none}.landing-drum-v25{left:-55px!important;top:42%!important;transform:scale(.58)}.landing-orbit-v25{inset:-45px -35px!important}.landing-orbit-v25 .orbit-ball{width:47px;height:47px;font-size:14px}.landing-orbit-v25 .ring-one{width:350px;height:350px}.landing-orbit-v25 .ring-two{width:270px;height:270px}.landing-orbit-v25 .ring-three{width:410px;height:410px}}
@media(prefers-reduced-motion:reduce){.charge-glow,.charge-icon:before,.charge-icon:after,.landing-brand-emblem,.landing-drum-v25 .drum-ball{animation:none!important}}

/* V26 — random card proposals with user choice, available directly on Home. */
.random-card-picker{margin-top:14px;border-color:rgba(215,166,78,.28)!important;background:linear-gradient(145deg,rgba(8,65,58,.98),rgba(4,44,40,.98))!important}
.random-generate-button{border:1px solid #efcb7e;border-radius:12px;padding:12px 18px;background:linear-gradient(100deg,#e3b85e,#f4d995);color:#173b34;font:inherit;font-weight:950;cursor:pointer;box-shadow:0 9px 24px rgba(0,0,0,.22);transition:.18s}
.random-generate-button:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.3)}.random-generate-button:disabled{opacity:.55;cursor:not-allowed;transform:none}
.random-picker-help{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.random-picker-help span{padding:9px;border-radius:10px;background:rgba(215,166,78,.07);border:1px solid rgba(215,166,78,.16);text-align:center;color:#d8c79f;font-size:12px;font-weight:800}
.random-pick-gallery{min-height:150px}.random-picker-empty{grid-column:1/-1;min-height:135px;display:grid;place-items:center;text-align:center;padding:22px;border:1px dashed rgba(215,166,78,.3);border-radius:13px;color:#9fb3aa;background:rgba(0,0,0,.09)}
.random-pick-gallery .daberna-card{position:relative;cursor:pointer;outline:none;transition:transform .18s,border-color .18s,box-shadow .18s,filter .18s}.random-pick-gallery .daberna-card:hover,.random-pick-gallery .daberna-card:focus-visible{transform:translateY(-3px);border-color:#e6bc68;box-shadow:0 12px 28px rgba(0,0,0,.32)}
.random-pick-gallery .daberna-card.selected-card-option{border-color:#ffd77d!important;box-shadow:0 0 0 3px rgba(235,190,94,.2),0 16px 34px rgba(0,0,0,.36);transform:translateY(-3px);filter:saturate(1.12)}
.random-pick-gallery .daberna-card.selected-card-option:after{content:"✓ انتخاب شد";position:absolute;top:7px;left:7px;z-index:8;padding:5px 8px;border-radius:999px;background:#e4b557;color:#173b34;font-size:10px;font-weight:950;box-shadow:0 5px 12px rgba(0,0,0,.25)}
@media(max-width:700px){.random-card-picker .section-head{align-items:stretch;flex-direction:column}.random-generate-button{width:100%}.random-picker-help{grid-template-columns:1fr}.random-picker-help span{padding:7px}.purchase-v23-top{grid-template-columns:1fr}.charge-account-card{min-height:480px}}

/* V27 — logo-only landing visual with a slow orbital rotation. */
.landing-logo-showcase{min-height:590px!important;display:grid;place-items:center;position:relative;isolation:isolate;overflow:visible}
.landing-logo-showcase:before{content:"";position:absolute;width:86%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgba(232,185,86,.2),rgba(55,166,139,.08) 42%,transparent 70%);filter:blur(14px);animation:logoAura 5s ease-in-out infinite}
.landing-logo-orbit{position:relative;width:min(480px,90vw);aspect-ratio:1;display:grid;place-items:center}
.landing-logo-core{position:relative;z-index:5;width:58%;aspect-ratio:1;border-radius:32%;padding:14px;background:linear-gradient(145deg,rgba(244,206,127,.9),rgba(112,72,31,.52));box-shadow:0 34px 90px rgba(0,0,0,.48),0 0 0 9px rgba(236,190,95,.09),inset 0 1px 0 rgba(255,255,255,.48);animation:logoCoreFloat 5.2s ease-in-out infinite;overflow:hidden}
.landing-logo-core img{width:100%;height:100%;display:block;border-radius:28%;object-fit:cover;filter:saturate(1.08) contrast(1.03)}
.logo-light-sweep{position:absolute;z-index:2;inset:-55%;background:linear-gradient(105deg,transparent 42%,rgba(255,255,255,.44) 49%,transparent 56%);animation:logoSweep 4.8s ease-in-out infinite;pointer-events:none}
.logo-orbit-ring{position:absolute;border-radius:50%;border:1px solid rgba(240,196,105,.42);box-shadow:inset 0 0 35px rgba(225,176,73,.05)}
.logo-ring-one{inset:4%;border-width:2px;animation:landingSpin 20s linear infinite}.logo-ring-two{inset:14%;border-style:dashed;border-color:rgba(91,196,166,.38);animation:landingSpin 14s linear infinite reverse}.logo-ring-three{inset:25%;border-width:2px;border-color:rgba(244,213,146,.3);animation:landingSpin 9s linear infinite}
.logo-orbit-spark{position:absolute;z-index:4;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff5d5,#e0aa47 68%,#86521f);box-shadow:0 0 22px rgba(244,197,100,.72)}
.spark-one{top:4%;left:48%;animation:logoSparkOne 20s linear infinite}.spark-two{right:14%;top:24%;background:radial-gradient(circle at 35% 30%,#d7fff2,#48ac91 70%,#17604f);animation:logoSparkTwo 14s linear infinite}.spark-three{bottom:16%;left:17%;animation:logoSparkThree 17s linear infinite}.spark-four{width:11px;height:11px;right:26%;bottom:22%;animation:logoSparkFour 11s linear infinite reverse}
.landing-logo-title{position:absolute;z-index:8;bottom:14px;display:grid;text-align:center;gap:3px}.landing-logo-title strong{color:#f6d78f;font-size:30px;text-shadow:0 8px 24px #000}.landing-logo-title span{color:#9cc7b9;font-size:11px;font-weight:900;letter-spacing:5px;direction:ltr}
@keyframes logoAura{0%,100%{transform:scale(.94);opacity:.65}50%{transform:scale(1.06);opacity:1}}@keyframes logoCoreFloat{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(1deg)}}@keyframes logoSweep{0%,25%{transform:translateX(-55%) rotate(10deg)}55%,100%{transform:translateX(55%) rotate(10deg)}}
@keyframes logoSparkOne{to{transform:rotate(360deg) translateX(208px) rotate(-360deg)}}@keyframes logoSparkTwo{to{transform:rotate(-360deg) translateX(150px) rotate(360deg)}}@keyframes logoSparkThree{to{transform:rotate(360deg) translateX(178px) rotate(-360deg)}}@keyframes logoSparkFour{to{transform:rotate(360deg) translateX(105px) rotate(-360deg)}}
/* Purchase and non-game cards stay visually neutral; live progress is applied in JS only on Game Room and My Cards. */
.random-pick-gallery .d-cell,.purchase-catalog-panel .d-cell{background:#fff6df!important;box-shadow:none!important}.random-pick-gallery .d-cell.blank,.purchase-catalog-panel .d-cell.blank{background:#dec8a1!important}.random-pick-gallery .d-cell span,.purchase-catalog-panel .d-cell span{color:#352a1d!important}
@media(max-width:620px){.landing-logo-showcase{min-height:390px!important}.landing-logo-orbit{width:min(350px,92vw)}.landing-logo-core{width:56%;padding:10px}.landing-logo-title{bottom:0}.landing-logo-title strong{font-size:24px}.landing-logo-title span{font-size:9px;letter-spacing:4px}.logo-orbit-spark{width:14px;height:14px}@keyframes logoSparkOne{to{transform:rotate(360deg) translateX(150px) rotate(-360deg)}}@keyframes logoSparkTwo{to{transform:rotate(-360deg) translateX(112px) rotate(360deg)}}@keyframes logoSparkThree{to{transform:rotate(360deg) translateX(128px) rotate(-360deg)}}@keyframes logoSparkFour{to{transform:rotate(360deg) translateX(78px) rotate(-360deg)}}}
@media(prefers-reduced-motion:reduce){.landing-logo-showcase:before,.landing-logo-core,.logo-light-sweep,.logo-orbit-ring,.logo-orbit-spark{animation:none!important}}

.nav .nav-game-entry{
  align-items:center;
  gap:7px;
  margin-inline:3px;
  padding:9px 13px!important;
  border:1px solid rgba(255,224,153,.62);
  border-radius:999px;
  color:#1c332d!important;
  background:linear-gradient(180deg,#f1cf82,#c99136);
  box-shadow:0 7px 20px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.35);
  font-weight:900;
  white-space:nowrap;
}
.nav .nav-game-entry:hover,
.nav .nav-game-entry.active{
  color:#102620!important;
  background:linear-gradient(180deg,#ffe4a5,#d9a142);
  transform:translateY(-1px);
}
.nav-live-dot{
  color:#cf3028;
  font-size:13px;
  text-shadow:0 0 8px rgba(207,48,40,.55);
  animation:liveNavPulse 1.5s ease-in-out infinite;
}
@keyframes liveNavPulse{50%{opacity:.42;transform:scale(.82)}}

/* V29 — emphasize the primary game content after personalization. */
@media(min-width:1161px){
  body.v19-game-layout .game-reference-hero.layout-all{
    grid-template-columns:minmax(0,1.78fr) minmax(235px,.62fr) minmax(310px,.82fr)!important;
  }
  body.v19-game-layout .game-reference-hero.layout-no-chance{
    grid-template-columns:minmax(0,1.85fr) minmax(280px,.8fr)!important;
  }
  body.v19-game-layout .game-reference-hero.layout-no-current{
    grid-template-columns:minmax(0,1.85fr) minmax(330px,.9fr)!important;
  }
  body.v19-game-layout .game-reference-hero.layout-no-live,
  body.v19-game-layout .game-reference-hero.layout-two-generic{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.v19-game-layout .game-reference-lower{
    direction:ltr!important;
  }
  body.v19-game-layout .game-reference-lower>article{
    direction:rtl!important;
  }
  body.v19-game-layout .game-reference-lower [data-section-key="chat"]{grid-area:chat}
  body.v19-game-layout .game-reference-lower [data-section-key="activeCards"]{grid-area:cards}
  body.v19-game-layout .game-reference-lower [data-section-key="winners"]{grid-area:winners}
  body.v19-game-layout .game-reference-lower.layout-all{
    grid-template-columns:minmax(250px,.82fr) minmax(650px,2.15fr) minmax(250px,.82fr)!important;
    grid-template-areas:"chat cards winners";
  }
  body.v19-game-layout .game-reference-lower.layout-no-winners{
    grid-template-columns:minmax(260px,.78fr) minmax(700px,2.22fr)!important;
    grid-template-areas:"chat cards";
  }
  body.v19-game-layout .game-reference-lower.layout-no-chat{
    grid-template-columns:minmax(700px,2.22fr) minmax(260px,.78fr)!important;
    grid-template-areas:"cards winners";
  }
  body.v19-game-layout .game-reference-lower.layout-no-cards,
  body.v19-game-layout .game-reference-lower.layout-two-generic{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.v19-game-layout .game-reference-lower.layout-no-cards{
    grid-template-areas:"chat winners";
  }
  body.v19-game-layout .game-reference-lower.layout-only-cards{
    grid-template-areas:"cards";
  }
  body.v19-game-layout .game-reference-lower.layout-one>article,
  body.v19-game-layout .game-reference-lower.layout-two-generic>article{
    grid-area:auto;
  }
  body.v19-game-layout .game-cards-panel .d-cell{
    height:42px!important;
    font-size:22px!important;
  }
  body.v19-game-layout .game-cards-panel .d-cell.hit:after{
    width:30px!important;
    height:30px!important;
  }
}

@media(max-width:730px){
  body{padding-bottom:92px!important}
  .mobile-nav{
    height:82px!important;
    padding:8px 5px max(9px,env(safe-area-inset-bottom))!important;
    box-shadow:0 -10px 30px rgba(0,0,0,.28);
  }
  .mobile-nav a{
    gap:5px!important;
    font-size:11px!important;
    font-weight:800;
    letter-spacing:0;
  }
  .mobile-nav a strong{
    font-size:23px!important;
    line-height:1;
  }
  .mobile-nav a.game{
    width:64px!important;
    height:64px!important;
    transform:translateY(-16px)!important;
    border:2px solid rgba(255,229,170,.7);
    box-shadow:0 10px 26px rgba(0,0,0,.42),0 0 0 5px rgba(215,166,78,.09)!important;
  }
  .mobile-nav a.game span{font-size:11px!important}
  body.v19-game-layout .game-cards-panel .d-cell{
    height:42px!important;
    font-size:22px!important;
  }
}

/* Final live-room header overrides. Kept last so older layout snapshots cannot shrink it. */
@media(min-width:1161px){
  body.v19-game-layout .topbar{
    background:linear-gradient(180deg,rgba(4,57,51,.98),rgba(2,43,39,.96));
    border-bottom-color:rgba(239,198,110,.32);
    box-shadow:0 10px 32px rgba(0,0,0,.2);
  }
  body.v19-game-layout .toprow{gap:18px!important}
  body.v19-game-layout .game-top-nav{
    justify-content:flex-start!important;
    gap:7px!important;
    padding:0 4px;
    font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif;
    font-size:14px!important;
    font-weight:700;
  }
  body.v19-game-layout .game-top-nav a{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 11px!important;
    border:1px solid transparent;
    border-radius:11px;
    transition:background .18s,border-color .18s,color .18s,transform .18s;
  }
  body.v19-game-layout .game-top-nav a:hover{
    color:#ffe1a0;
    background:rgba(255,255,255,.045);
    border-color:rgba(239,198,110,.22);
    transform:translateY(-1px);
  }
  body.v19-game-layout .game-top-nav .game-nav-home{
    min-width:84px;
    color:#f5ead3;
    background:rgba(255,255,255,.055);
    border-color:rgba(255,255,255,.11);
  }
  body.v19-game-layout .game-top-nav .game-nav-buy{
    min-width:118px;
    color:#19332d!important;
    background:linear-gradient(180deg,#f4d58f,#d4a044);
    border-color:rgba(255,230,171,.65);
    box-shadow:0 7px 18px rgba(0,0,0,.22),inset 0 1px rgba(255,255,255,.35);
    font-size:14px;
    font-weight:900;
  }
  body.v19-game-layout .game-top-nav .game-nav-buy:hover{
    color:#10251f!important;
    background:linear-gradient(180deg,#ffe3a5,#dda94b);
  }
}
.real-payment-box{margin-top:18px;padding:16px;border:1px solid rgba(218,169,71,.35);border-radius:16px;background:rgba(0,0,0,.16)}
.real-payment-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0}.real-payment-actions .btn{flex:1;min-width:150px}
.daberna-live-frame{width:100%;height:100%;border:0;display:block;background:#000}
/* Language switcher */
.language-switcher{display:flex;align-items:center;gap:6px;background:#073c34;color:#fff3d2;border:1px solid rgba(223,171,70,.55);border-radius:10px;padding:5px 8px;white-space:nowrap}.language-switcher b{font-size:11px}.language-select{background:transparent;color:#fff3d2;border:0;padding:5px 2px;font:inherit;min-width:82px}.language-select option{background:#073c34;color:#fff}
html[dir="ltr"] body{text-align:left}
html[dir="ltr"] .field label,html[dir="ltr"] input,html[dir="ltr"] textarea,html[dir="ltr"] select{text-align:left}

/* Admin dashboard navigation */
.admin-menu{position:sticky;top:10px;z-index:20;display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:10px;border:1px solid rgba(215,166,78,.28);border-radius:15px;background:rgba(3,45,40,.96);box-shadow:0 12px 35px rgba(0,0,0,.18)}
.admin-menu button{border:1px solid rgba(255,255,255,.12);border-radius:10px;background:#0b443d;color:#dce8e2;padding:10px 14px;font-weight:800}
.admin-menu button:hover,.admin-menu button.active{background:#d7a64e;color:#17332d;border-color:#eac574}
#adminPanel>.admin-section{display:none!important;width:100%;max-width:none!important;margin:0!important}
#adminPanel>.admin-section.active{display:block!important}
#adminPanel .table-wrap{overflow:auto}
@media(max-width:760px){.admin-menu{display:grid;grid-template-columns:1fr 1fr;position:static}.admin-menu button{padding:10px 7px;font-size:11px}.admin-section .form-row{grid-template-columns:1fr}}

/* Classic Daberna card readability */
.daberna-card .d-cell{background:#fff9e9;color:#172f2b;font-size:14px;font-weight:950;font-variant-numeric:tabular-nums;text-shadow:0 1px 0 #fff;line-height:1}
.daberna-card .d-cell.blank{background:#e7d2a8;color:transparent}
.daberna-card .d-cell.blank span{display:none}
.daberna-card .daberna-grid{background:#b98d4b;border-color:#a87935}
.daberna-card .d-cell:nth-child(9n+1){border-left:0}
.chat-empty{margin:8px 0;text-align:center}

/* Alternative top-up support is intentionally available only in Persian. */
html:not([lang="fa"]) .other-charge-notice{display:none!important}
.other-charge-notice{margin-top:18px;padding:20px;border:1px solid #cba34e;border-radius:14px;direction:rtl;text-align:right}
.other-charge-notice p{line-height:1.9}
.cancel-ticket{margin-inline-start:auto;white-space:nowrap}
@media(max-width:760px){.language-switcher b{display:none}.language-switcher{padding:4px 6px}.language-select{min-width:72px;font-size:12px}}

/* Keep the embedded player's play, sound and fullscreen controls accessible. */
.live-card::after{pointer-events:none}
.live-card:has(.daberna-live-frame)::after{display:none}
.live-card .live-top,.live-card .live-bottom{display:none!important}
.daberna-live-frame{position:relative;z-index:1;pointer-events:auto}

/* Explicit embedded-player bounds and hit testing, including iOS Safari. */
.live-card.has-live-player{position:relative;isolation:isolate}
.live-card.has-live-player::before,.live-card.has-live-player::after{display:none!important;pointer-events:none!important}
.live-card.has-live-player>.daberna-live-frame{position:absolute!important;inset:0;width:100%!important;height:100%!important;border:0;z-index:1;pointer-events:auto!important;touch-action:auto;transform:none}
@media(max-width:730px){body .hero>.live-card.has-live-player,body.v19-game-layout .game-reference-hero>.live-card.has-live-player{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/9}}

.round-countdown{position:fixed;inset-inline-end:auto;right:18px;bottom:22px;z-index:1100;display:grid;gap:3px;text-align:center;background:linear-gradient(150deg,#0a443c,#032620);border:1px solid #dfb558;border-radius:16px;padding:12px 20px;color:#f4dfac;box-shadow:0 8px 30px #0006;max-width:calc(100vw - 36px);pointer-events:auto;cursor:grab;touch-action:none;user-select:none}
.round-countdown[hidden]{display:none!important}
.round-countdown strong{font:700 18px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:0;font-variant-numeric:tabular-nums;color:#ffdb75;white-space:nowrap}
.round-countdown span{font-size:12px}.round-countdown small{font-size:10px;color:#c5d7d0}.footer-support{margin:14px 0;overflow-wrap:anywhere}.footer-support a{display:inline;direction:ltr;unicode-bidi:isolate}
@media(max-width:730px){.round-countdown{bottom:calc(82px + env(safe-area-inset-bottom));inset-inline-end:10px;padding:8px 12px;max-width:calc(100vw - 20px)}.round-countdown strong{font-size:13px}}

[data-game-start]{display:inline-block;white-space:nowrap;unicode-bidi:isolate}.admin-user-controls{margin-top:10px;padding:10px;border:1px solid #d9b14c55;border-radius:12px;min-width:250px}.admin-user-controls summary{cursor:pointer;font-weight:800;color:var(--gold2)}.admin-user-controls label{display:flex;gap:8px;align-items:center;margin:9px 0;font-size:13px}.admin-user-controls .btn{width:100%;margin:8px 0}.admin-user-controls small{display:block;line-height:1.7;color:var(--muted)}
.round-countdown.dragging{cursor:grabbing}.round-countdown:focus-visible{outline:3px solid #ffe1a0;outline-offset:4px}.landing-countdown{display:grid;gap:6px;max-width:570px;margin-top:24px;padding:22px;border:1px solid #dfb558;border-radius:18px;background:linear-gradient(135deg,#10564b,#032b25);text-align:center;color:#f4dfac}.landing-countdown[hidden]{display:none!important}.landing-countdown strong{font:700 clamp(16px,3vw,24px)/1.5 ui-monospace,monospace;color:#ffdb75}.landing-countdown small{color:#b8c8c0}

.win-celebration{position:fixed;left:50%;top:20%;transform:translateX(-50%);z-index:10020;max-width:90vw;min-width:250px;padding:24px 40px;text-align:center;background:linear-gradient(140deg,#07594c,#092d28);border:3px solid #f5ce69;border-radius:26px;box-shadow:0 0 70px #f5ce6977;pointer-events:none;overflow:hidden;color:#ffdf91}.win-celebration h2{margin:8px}.win-medal{font-size:64px}.win-celebration.stage-two-lines{background:linear-gradient(135deg,#443168,#1f3049);border-color:#a9dfff}.win-celebration.stage-daberna{background:linear-gradient(135deg,#764516,#193f36);box-shadow:0 0 100px #ffd86a99}.win-celebration i{position:absolute;left:var(--x);top:-20px;width:7px;height:15px;background:var(--color);animation:winConfetti 2s var(--delay) ease-in infinite}.prize-retired{opacity:.6}.retired-label{display:block;padding:7px;background:#633d21;color:#ffe0a6;font-size:12px}.prize-choice .btn{margin:6px}.win-sound-toggle{margin:8px 0}@keyframes winConfetti{to{transform:translateY(350px) rotate(540deg)}}@media(prefers-reduced-motion:reduce){.win-celebration i{display:none}}

.security-dialog{position:fixed;inset:10% 5% auto;margin:auto;max-width:540px;max-height:80vh;overflow:auto;z-index:12000;background:#093b33;padding:24px}.security-dialog input,#accountSecurityPanel input,#accountSecurityPanel textarea{display:block;width:100%;max-width:600px;margin:10px 0;padding:12px;border:1px solid #cba34e;border-radius:8px;background:#062b25;color:#fff}#accountSecurityPanel{margin-top:18px}#accountSecurityPanel textarea{font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif}
.turnstile-box{display:flex;min-height:68px;align-items:center;justify-content:center;margin:14px 0;padding:8px;border:1px solid #d7ad4b55;border-radius:12px;background:#062f29;color:#bdd0c9;text-align:center;overflow:hidden}
.financial-panel{margin:18px 0}.finance-balances{display:flex;flex-wrap:wrap;gap:14px;margin:16px 0}.finance-balances>div{padding:18px;border:1px solid #cba34e;border-radius:12px;flex:1;min-width:180px}.finance-balances strong{display:block;font-size:25px;color:#f1cb76}.financial-panel input,.financial-panel select,.financial-panel textarea,.finance-review input,.finance-review textarea{display:block;width:100%;margin:8px 0 12px;padding:12px;background:#073b33;color:#fff;border:1px solid #8a7844;border-radius:9px;box-sizing:border-box}.finance-review{margin:14px 0;padding:16px}.finance-review .btn{margin:6px}.finance-details{white-space:pre-wrap;overflow-wrap:anywhere;direction:ltr;text-align:start}

.payment-brands{display:inline-flex;align-items:center;gap:10px;direction:ltr}.payment-brands svg{width:64px;height:30px}.real-payment-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.real-payment-actions .btn{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:16px}.payment-support{margin-top:12px}[hidden]{display:none!important}@media(max-width:600px){.real-payment-actions{grid-template-columns:1fr}}

/* Support mailbox */
.support-mailbox-head,.support-thread>header,.user-support-thread>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.support-mailbox-head p,.support-thread header p,.user-support-thread header p{margin:4px 0;color:#a9c6bd;font-size:12px}.support-mailbox{display:grid;grid-template-columns:minmax(250px,34%) 1fr;min-height:570px;margin-top:18px;border:1px solid rgba(218,169,71,.3);border-radius:18px;overflow:hidden;background:#052e29}.support-conversations{border-inline-end:1px solid rgba(218,169,71,.25);background:#062a26;overflow:auto}.support-conversation{display:flex;width:100%;align-items:center;justify-content:space-between;gap:10px;padding:16px;border:0;border-bottom:1px solid rgba(255,255,255,.07);background:transparent;color:#eaf2ee;text-align:start;cursor:pointer}.support-conversation:hover,.support-conversation.active{background:#0b463e}.support-conversation span{display:grid;gap:6px;min-width:0}.support-conversation b,.support-conversation small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.support-conversation small{color:#91afa6}.support-conversation em{font-style:normal;font-size:10px;padding:5px 7px;border-radius:999px;white-space:nowrap}.status-open{background:#744f13;color:#ffe09a}.status-answered{background:#155c4c;color:#bdf4df}.status-closed{background:#394541;color:#c7d1cd}.support-thread{display:flex;min-width:0;flex-direction:column;padding:18px}.support-thread>header{padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.08)}.support-thread select{width:auto;min-width:140px;padding:9px;background:#073b33;color:#fff;border:1px solid #8a7844;border-radius:9px}.support-messages{display:flex;flex:1;max-height:430px;overflow:auto;flex-direction:column;gap:12px;padding:18px 4px}.support-bubble{width:min(78%,650px);padding:12px 15px;border-radius:16px;background:#0b4b42;align-self:flex-start;overflow-wrap:anywhere}.support-bubble.from-admin{align-self:flex-end;background:#72521c;color:#fff4d5}.support-bubble>div{display:flex;justify-content:space-between;gap:16px;font-size:11px}.support-bubble time{opacity:.72}.support-bubble p{margin:8px 0 0;white-space:pre-wrap;line-height:1.7}.support-thread textarea,.user-ticket-reply textarea{display:block;width:100%;box-sizing:border-box;margin:8px 0;padding:12px;border:1px solid #8a7844;border-radius:10px;background:#062b25;color:#fff}.support-compose-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.user-support-thread{margin-top:14px}.user-support-thread .support-messages{max-height:none}.user-ticket-reply{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.1)}.user-ticket-reply button{margin-inline-end:10px}.support-empty{margin:auto;color:#9ab3ab}@media(max-width:760px){.support-mailbox{grid-template-columns:1fr}.support-conversations{max-height:230px;border-inline-end:0;border-bottom:1px solid rgba(218,169,71,.25)}.support-thread{min-height:500px}.support-bubble{width:88%}.support-mailbox-head,.support-thread>header,.user-support-thread>header{align-items:flex-start;flex-direction:column}}

.support-page-grid{align-items:start}.support-page-grid>.form-card{align-self:start}.user-ticket-list{display:grid;gap:10px;max-height:560px;overflow:auto;padding-inline-end:3px}.user-ticket-item{overflow:hidden;border:1px solid rgba(218,169,71,.28);border-radius:14px;background:#073832}.user-ticket-item>summary{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:14px 16px;cursor:pointer;list-style:none}.user-ticket-item>summary::-webkit-details-marker{display:none}.user-ticket-item>summary:hover{background:#0b463e}.user-ticket-summary{display:grid;gap:5px;min-width:0}.user-ticket-summary b,.user-ticket-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-ticket-summary small{font-size:10px;color:#9db8b0}.user-ticket-item>summary i{font-style:normal;font-size:18px;transition:transform .2s}.user-ticket-item[open]>summary i{transform:rotate(180deg)}.user-ticket-content{padding:0 16px 16px;border-top:1px solid rgba(255,255,255,.08)}.user-ticket-content .support-messages{max-height:340px;margin-top:4px;padding:14px 2px}.user-ticket-reply textarea{min-height:96px;resize:vertical}.user-ticket-reply .support-compose-actions .btn{margin:0}.support-page-grid #ticketList{margin-top:12px}@media(max-width:760px){.support-page-grid{width:min(100%,620px)!important}.user-ticket-item>summary{grid-template-columns:minmax(0,1fr) auto;padding:12px}.user-ticket-item>summary i{display:none}.user-ticket-content{padding:0 12px 12px}.user-ticket-content .support-messages{max-height:300px}.support-page-grid>.form-card{padding:18px}}

/* Loyalty levels and cashback */
.loyalty-current{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:22px;padding:24px;margin-bottom:18px;border:1px solid #a77235;border-radius:22px;background:linear-gradient(135deg,#0b463d,#06332d);box-shadow:0 18px 45px #0003}.loyalty-current .loyalty-medal{width:92px}.loyalty-current h2{margin:3px 0;font-size:32px}.loyalty-current p{margin:4px 0}.loyalty-current>div>span,.loyalty-cashback span{color:#aac5bd}.loyalty-cashback{min-width:210px;padding:16px;border:1px solid #ffffff1c;border-radius:16px;background:#0002}.loyalty-cashback strong{display:block;margin:5px 0;color:#f4ce73;font-size:25px}.loyalty-cashback small{display:block;max-width:250px}.loyalty-tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.loyalty-tier{position:relative;padding:24px;text-align:center;border:1px solid #ffffff1a;border-radius:20px;background:#07372f;overflow:hidden}.loyalty-tier.active{border-color:#f0c661;box-shadow:0 0 0 2px #f0c63522,0 16px 36px #0003;transform:translateY(-4px)}.loyalty-tier.active::after{content:'سطح فعلی';position:absolute;top:12px;inset-inline-end:12px;padding:5px 8px;border-radius:999px;background:#d5a747;color:#17332d;font-size:10px;font-weight:900}.loyalty-tier .loyalty-medal{width:76px;height:90px}.loyalty-tier h3{font-size:23px;margin:4px}.loyalty-tier p{min-height:42px;color:#b8cec7}.loyalty-tier small{display:block;color:#f2ce7a}.loyalty-progress{margin-top:18px}.loyalty-progress .progress{height:10px;margin:14px 0;border-radius:99px;background:#15564c;overflow:hidden}.loyalty-progress .progress span{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#b77a37,#f0cd70)}.loyalty-month{display:flex;justify-content:space-between;gap:12px;margin:18px 0;padding:14px;border-radius:12px;background:#062f2a}.loyalty-month strong{color:#f0cc70}@media(max-width:760px){.loyalty-current{grid-template-columns:80px 1fr}.loyalty-current .loyalty-medal{width:72px}.loyalty-cashback{grid-column:1/-1}.loyalty-tiers{grid-template-columns:1fr}.loyalty-tier.active{transform:none}}

/* V43 — clearer live game state and mobile-first play layout. */
.game-stage-status{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0;padding:13px 16px;border:1px solid rgba(231,187,90,.55);border-radius:15px;background:linear-gradient(135deg,#0b4a40,#07352f);box-shadow:0 10px 30px #0002}
.game-stage-status strong{color:#ffdc82;font-size:16px}.game-stage-status>div{display:flex;flex-wrap:wrap;gap:8px}.game-stage-status span{padding:7px 10px;border-radius:999px;background:#062d28;color:#a9beb8;font-size:12px;font-weight:800}.game-stage-status span.active{background:#d9a949;color:#15322c}.game-stage-status span.done{background:#145e50;color:#d2f4e8}
.host-number-overlay{position:absolute;z-index:4;inset-inline-start:14px;bottom:14px;display:grid;place-items:center;gap:7px;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;pointer-events:none}.host-current-ball{width:132px;height:132px;display:grid;place-items:center;border-radius:50%;border:7px solid #c83827;color:#b62f20;font-size:56px;line-height:1;font-weight:950;font-variant-numeric:tabular-nums;background:radial-gradient(circle at 31% 24%,rgba(255,255,255,.62) 0 8%,transparent 9% 20%),repeating-radial-gradient(circle at 50% 50%,rgba(127,83,38,.08) 0 1px,transparent 2px 5px),radial-gradient(circle at 50% 45%,#f7e9ca 0 55%,#e7c998 56% 73%,#c99a62 74% 100%);box-shadow:inset 0 0 0 4px #f0d7ad,inset 0 0 0 7px rgba(172,103,53,.26),inset 0 -12px 20px rgba(105,62,28,.17),0 7px 18px rgba(0,0,0,.42);text-shadow:0 1px 0 rgba(255,255,255,.35)}.host-number-overlay>div{display:flex;justify-content:center;gap:5px;min-height:30px}.host-number-overlay i{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;border:3px solid #c63827;color:#b52e20;font-size:11px;font-style:normal;font-weight:950;background:repeating-radial-gradient(circle at 50% 50%,rgba(127,83,38,.07) 0 1px,transparent 2px 5px),radial-gradient(circle,#f6e6c5 0 58%,#dfbd88 59% 78%,#bf8b55 79% 100%);box-shadow:inset 0 0 0 2px #efd6aa,0 3px 8px rgba(0,0,0,.35)}
@media(max-width:730px){
  body{font-size:16px;line-height:1.75}body p,body label,body .muted{font-size:max(13px,1em)}
  .mobile-game-strip{top:4px;z-index:75;box-shadow:0 8px 24px #0007}.mobile-game-strip .mini-current{font-size:12px}.mobile-game-strip .mini-ball{width:48px;height:48px;font-size:20px;box-shadow:0 0 0 4px rgba(226,178,78,.18)}
  .game-stage-status{display:grid;gap:9px;padding:12px;margin:8px 0}.game-stage-status strong{font-size:15px}.game-stage-status>div{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.game-stage-status span{text-align:center;padding:7px 3px;font-size:11px}
  .host-number-overlay{inset-inline-start:8px;bottom:8px;gap:4px}.host-current-ball{width:82px;height:82px;border-width:5px;font-size:36px}.host-number-overlay i{width:20px;height:20px;border-width:2px;font-size:8px}.host-number-overlay>div{gap:3px;min-height:20px}
  body.v19-game-layout .game-reference-hero{display:flex!important;flex-direction:column!important}.game-reference-hero>.game-cards-panel{order:2;width:100%;box-sizing:border-box}.game-reference-hero>[data-section-key="currentNumber"]{order:3}.game-reference-hero>[data-section-key="chance"]{order:4}.game-reference-hero>[data-section-key="live"]{order:1}
  body.v19-game-layout .game-cards-panel .cards-gallery,.game-reference-hero .game-cards-panel .cards-gallery{display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow:visible!important;scroll-snap-type:none!important;gap:12px!important;padding:0!important}
  body.v19-game-layout .game-cards-panel .daberna-card,.game-reference-hero .game-cards-panel .daberna-card{width:100%!important;max-width:none!important;min-width:0!important;flex:none!important;margin:0!important}
  .game-cards-panel .section-head h3{font-size:20px}.daberna-card .daberna-head{font-size:13px}.daberna-card .d-cell{height:46px!important;font-size:16px!important}
}

/* V50/V51 — the live current number floats and app navigation stays at viewport bottom. */
@media(max-width:730px){
  body{padding-bottom:calc(92px + env(safe-area-inset-bottom))!important}
  .mobile-nav{
    position:fixed!important;
    top:auto!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    width:100%;
    box-sizing:border-box;
    margin:0!important;
    z-index:1000!important;
  }
  .mobile-game-strip{
    position:fixed!important;
    top:max(8px,env(safe-area-inset-top))!important;
    right:10px!important;
    left:10px!important;
    width:auto!important;
    margin:0!important;
    z-index:900!important;
    box-shadow:0 10px 28px rgba(0,0,0,.48)!important;
  }
  body.game-room-reference main.game-reference-main,
  body.v19-game-layout main.game-reference-main{
    padding-top:78px!important;
  }
}

/* Final navigation fit: keep the desktop menu centered and prevent wrapped labels. */
@media (min-width:1161px){
  .toprow{width:min(100% - 32px, 1880px);margin-inline:auto;gap:clamp(8px,1vw,18px)}
  .brand{min-width:clamp(130px,11vw,210px);flex:0 0 auto}
  .nav{flex:1 1 auto;min-width:0;justify-content:space-between;gap:clamp(6px,.7vw,13px);font-size:clamp(10px,.68vw,13px)}
  .nav a{white-space:nowrap;flex:0 0 auto;padding-inline:0}
  .head-actions{flex:0 0 auto}
  .nav a.nav-buy{white-space:nowrap;max-width:none}
}
.guide-complete{margin:18px auto;line-height:1.9;max-width:1000px}
.guide-complete h2,.guide-complete h3{color:var(--gold2);margin:18px 0 8px}
.guide-complete ol,.guide-complete ul{padding-inline-start:24px}
.guide-complete li{margin:8px 0}
.guide-complete details{padding:12px;border-top:1px solid rgba(215,166,78,.2)}
.guide-complete summary{cursor:pointer;color:var(--cream);font-weight:700}

/* v54: header uses normal flow and wraps instead of covering other controls. */
@media(min-width:1161px){
 body .topbar .toprow,body.v19-game-layout .topbar .toprow{display:flex!important;flex-wrap:wrap!important;width:calc(100% - 32px)!important;max-width:1800px;min-height:80px!important;gap:10px 18px!important;padding-block:10px!important}
 body .topbar .brand{flex:0 0 auto!important;min-width:150px!important}
 body .topbar .brand strong{font-size:22px}
 body .topbar .nav,body.v19-game-layout .topbar .nav{display:flex!important;flex:1 1 580px!important;min-width:0!important;flex-wrap:wrap!important;gap:10px 16px!important;justify-content:center!important;font-size:14px!important}
 body .topbar .nav a,body.v19-game-layout .topbar .nav a{padding:10px 4px!important;white-space:nowrap!important}
 body .topbar .head-actions{display:flex!important;flex:0 1 auto!important;flex-wrap:wrap!important;max-width:100%!important;gap:8px!important;margin-inline-start:auto}
 body .topbar .head-actions>*{position:static!important;flex-shrink:0;max-width:100%}
}
.site54-menu-trigger{display:none}
@media(max-width:1160px){
 body .topbar .toprow{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding-block:8px!important;min-width:0}
 body .topbar .brand{min-width:0!important;flex:1 1 auto}
 body .topbar .head-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0;max-width:100%}
 body .topbar .language-switcher{display:flex!important;max-width:100%;position:static!important}
 .site54-menu-trigger{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;cursor:pointer}
 body .mobile-nav{display:flex!important;position:fixed!important;inset-inline:0!important;bottom:0!important;width:100%!important;z-index:1000;padding-bottom:env(safe-area-inset-bottom,0px)}
 body:not(.admin-session){padding-bottom:calc(85px + env(safe-area-inset-bottom,0px))}
}
.site54-backdrop[hidden]{display:none!important}
.site54-backdrop{position:fixed;inset:0;z-index:1100;background:#001b18bb;display:flex;align-items:flex-start;justify-content:center;padding:18px;overflow:auto}
.site54-menu{width:min(100%,480px);max-height:calc(100dvh - 36px);overflow:auto;background:#073a34;border:1px solid #d7a64e;border-radius:18px;padding:18px;box-sizing:border-box}

/* V55 — keep all five fixed mobile navigation items evenly spaced. */
@media(max-width:1160px){
  body .mobile-nav{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:stretch!important;
  }
  body .mobile-nav>a{
    width:auto!important;
    min-width:0!important;
    padding-inline:2px!important;
    text-align:center!important;
  }
  body .mobile-nav>a:not(.game){
    justify-self:stretch!important;
  }
  body .mobile-nav>a span{
    max-width:100%;
    white-space:nowrap;
    font-size:clamp(8px,2.45vw,11px)!important;
    line-height:1.2;
  }
  body .mobile-nav>a.game{
    justify-self:center!important;
  }
}
.site54-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.site54-menu a{display:block;padding:13px 10px;border-bottom:1px solid #d7a64e33;min-height:44px;box-sizing:border-box}
.site54-menu details{margin-block:8px;border:1px solid #d7a64e44;border-radius:10px;padding:10px}
.site54-menu summary{cursor:pointer;font-weight:700;padding:8px}
.site54-menu-close{min-width:44px;min-height:44px;font-size:25px;cursor:pointer}
.site54-menu .site54-room-link{margin-bottom:10px;border:1px solid #e6b75e88;border-radius:12px;background:linear-gradient(135deg,#d6a448,#f0c76d);color:#14372f!important;font-weight:900;text-align:center}

/* V56 — keep the language control visible below the floating number bar. */
@media(max-width:730px){
  body.v19-game-layout .topbar{
    padding-top:calc(76px + env(safe-area-inset-top))!important;
  }
  body.v19-game-layout .topbar .toprow{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:center!important;
    gap:9px!important;
  }
  body.v19-game-layout .topbar .brand{
    grid-column:1/-1;
    justify-self:center;
  }
  body.v19-game-layout .topbar .nav{
    display:none!important;
  }
  body.v19-game-layout .topbar .head-actions{
    display:contents!important;
  }
  body.v19-game-layout .topbar .head-actions>:not(.language-switcher){
    display:none!important;
  }
  body.v19-game-layout .topbar .language-switcher,
  body.v19-game-layout .site54-menu-trigger{
    width:100%!important;
    min-width:0!important;
    min-height:48px!important;
    box-sizing:border-box;
    justify-content:center!important;
    position:static!important;
    margin:0!important;
  }
  body.v19-game-layout .topbar .language-switcher{
    grid-column:1;
  }
  body.v19-game-layout .site54-menu-trigger{
    grid-column:2;
  }
  body.v19-game-layout .topbar .language-switcher b{
    display:inline!important;
  }
  body.v19-game-layout .topbar .language-select{
    min-width:76px!important;
    max-width:100%!important;
    font-size:13px!important;
  }
}

/* V57 — Persian remains RTL; English, German and Turkish use a complete LTR interface. */
html[dir="ltr"],html[dir="ltr"] body{direction:ltr!important;text-align:left}
html[dir="ltr"] .topbar,
html[dir="ltr"] .topbar .toprow,
html[dir="ltr"] .topbar .brand,
html[dir="ltr"] .topbar .nav,
html[dir="ltr"] .topbar .head-actions,
html[dir="ltr"] .language-switcher,
html[dir="ltr"] .site54-menu,
html[dir="ltr"] .landing-nav,
html[dir="ltr"] .hero,
html[dir="ltr"] .hero>article,
html[dir="ltr"] body.v19-game-layout .game-reference-hero,
html[dir="ltr"] body.v19-game-layout .game-reference-hero>article,
html[dir="ltr"] body.v19-game-layout .game-reference-lower,
html[dir="ltr"] body.v19-game-layout .game-reference-lower>article,
html[dir="ltr"] .number-range-label{direction:ltr!important}
html[dir="ltr"] .topbar .nav{justify-content:flex-start!important}
html[dir="ltr"] .page-head,
html[dir="ltr"] .section-head,
html[dir="ltr"] .card,
html[dir="ltr"] .panel,
html[dir="ltr"] .notice,
html[dir="ltr"] .setting-row,
html[dir="ltr"] .support-thread,
html[dir="ltr"] .support-conversation,
html[dir="ltr"] .site54-menu,
html[dir="ltr"] .site54-menu a,
html[dir="ltr"] .site54-menu summary,
html[dir="ltr"] .game-stage-status,
html[dir="ltr"] .loyalty-current,
html[dir="ltr"] .loyalty-progress{text-align:start}
html[dir="ltr"] .table th,html[dir="ltr"] .table td{text-align:left}
html[dir="ltr"] .landing-safe-card ul{padding-left:18px;padding-right:0}

/* V58 — administration, prize decisions and mobile game ergonomics. */
.admin-filter-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px}
.admin-filter-bar input{flex:1 1 260px}.admin-filter-bar select{flex:0 1 190px}
.admin-user-controls .delete-user-account{margin-inline-start:8px}
.admin-mobile-logout{display:none}
.prize-choice-rules{padding:14px 16px;margin:14px 0;border:1px solid rgba(240,208,141,.5);border-radius:14px;background:rgba(0,0,0,.16);line-height:1.9}
.prize-choice-rules ul{margin:8px 0 0;padding-inline-start:22px}
.prize-choice-modal .prize-decision>p{text-align:center;font-size:16px}
.prize-choice-modal [data-prize-choice]{min-height:48px;font-weight:800;margin:5px}
.voice-number-setting>div:last-child{display:flex;align-items:center;gap:10px}
.game-stage-status #viewRoundWinner{margin-top:12px}
.private-room-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:18px}
.private-room-stats{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.private-room-stats span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;color:var(--muted)}
.room-pending .notice{display:flex;align-items:center;gap:8px}.room-pending .notice b{margin-inline-end:auto}
.room-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}.room-current-number{display:grid;place-items:center;width:110px;height:110px;margin:12px auto;border:8px double #b58b53;border-radius:50%;background:#f4e4bf;color:#b31d1d;font-size:48px}.landing-private-rooms{margin:18px auto;max-width:900px;text-align:center}
.room-members{margin-top:14px}.room-members>div{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid rgba(215,166,78,.16)}
.room-number-stage{margin-top:18px;padding:clamp(16px,3vw,28px);border:1px solid rgba(215,166,78,.55);border-radius:24px;background:radial-gradient(circle at 50% 20%,rgba(25,113,97,.34),transparent 38%),linear-gradient(145deg,#062e2a,#031e1c);box-shadow:inset 0 0 45px rgba(0,0,0,.28)}
.room-stage-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.room-stage-head span{color:var(--gold2)}.room-stage-head h3{margin:4px 0 0}
.room-main-ball{display:grid;place-items:center;width:clamp(145px,25vw,220px);aspect-ratio:1;margin:24px auto 18px;border-radius:50%;border:12px double #9f7748;background:radial-gradient(circle at 35% 28%,#fff8dd 0 9%,#ead6a9 10% 46%,#c9a16d 68%,#9b7043 100%);color:#ad1717;font-size:clamp(64px,11vw,100px);font-weight:900;text-shadow:0 2px #fff;box-shadow:0 18px 34px #0008,inset 0 0 0 5px #f6e7c3}
.room-recent-balls{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;min-height:48px}.room-recent-balls span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:4px double #987144;background:#e7d0a0;color:#9d1b1b;font-weight:800}.room-recent-balls span.latest{transform:scale(1.15);box-shadow:0 0 0 3px #d7a64e55}
.room-number-progress{height:9px;margin:22px 0;border-radius:999px;background:#0b4d45;overflow:hidden}.room-number-progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ba8334,#f5d47f);transition:width .35s ease}
.room-all-numbers summary{cursor:pointer;text-align:center;color:var(--gold2);padding:12px}.room-number-grid{display:grid;grid-template-columns:repeat(10,minmax(30px,1fr));gap:8px;padding-top:12px}.room-number-grid span{display:grid;place-items:center;aspect-ratio:1;border-radius:50%;background:#0b4b43;border:1px solid #6f8e81;color:#b9cac2;font-weight:700}.room-number-grid span.called{background:#e7d0a0;color:#9d1b1b;border:4px double #987144}.room-number-grid span.latest{box-shadow:0 0 0 3px #e3b34f}
.admin-room-list{display:grid;gap:12px}.admin-room-row small{display:block;margin-top:4px}.room-money-note{line-height:1.8}

@media(max-width:730px){
  .admin-mobile-logout{display:block;position:fixed;inset-inline-start:10px;bottom:calc(84px + env(safe-area-inset-bottom));z-index:1250;background:#6e2724!important;color:#fff!important;box-shadow:0 8px 26px #0008}
  .lower.personalized-grid [data-section-key="activeCards"]{order:1}
  .lower.personalized-grid [data-section-key="winners"]{order:2}
  .lower.personalized-grid [data-section-key="chat"]{order:3;grid-column:1/-1}
  .admin-filter-bar>*{flex:1 1 100%!important;width:100%}
  .prize-choice-modal .prize-decision>div:last-child{display:grid;grid-template-columns:1fr;gap:8px}
  .private-room-grid{grid-template-columns:1fr}
  .room-number-grid{grid-template-columns:repeat(6,minmax(32px,1fr));gap:7px}.room-number-grid span{font-size:12px}.room-main-ball{width:160px}.room-stage-head{align-items:flex-start}.room-stage-head h3{font-size:20px}
}

/* V66.12 — readable cards, premium selectable themes and complete LTR flow. */
html[dir="ltr"]{direction:ltr}
html[dir="ltr"] body{direction:ltr;text-align:left}
html[dir="ltr"] .hero>article,
html[dir="ltr"] body.v19-game-layout .game-reference-hero>article,
html[dir="ltr"] body.v19-game-layout .game-reference-lower>article,
html[dir="ltr"] .number-range-label,
html[dir="ltr"] .landing-nav{direction:ltr!important;text-align:left}
html[dir="ltr"] .section-head,
html[dir="ltr"] .setting-row,
html[dir="ltr"] .crypto-head,
html[dir="ltr"] .crypto-direct-destination,
html[dir="ltr"] .crypto-payment-invoice,
html[dir="ltr"] .admin-crypto-row{text-align:left}

.theme-emerald{background:linear-gradient(145deg,#d8c995,#9e7b3e);border:5px double #07594b}
.theme-emerald i:nth-child(odd){background:linear-gradient(145deg,#0e7765,#06483f)}
.theme-emerald i:nth-child(even){background:#fff4cf;border:1px solid #a87b2e}
.theme-midnight{background:linear-gradient(145deg,#181a20,#050609);border:5px double #d4a647}
.theme-midnight i:nth-child(odd){background:linear-gradient(145deg,#e0b95e,#8c5f19)}
.theme-midnight i:nth-child(even){background:#f9efd4;border:1px solid #bc8b31}
.theme-royal{background:linear-gradient(145deg,#dfd1a8,#9f8251);border:5px double #153f78}
.theme-royal i:nth-child(odd){background:linear-gradient(145deg,#285fa4,#102f63)}
.theme-royal i:nth-child(even){background:#fff7de;border:1px solid #3264a1}

body.card-theme-emerald-luxe .daberna-card,body.card-theme-emerald-luxe .room-player-card{background:radial-gradient(circle at 15% 0,#fff3bd55,transparent 35%),linear-gradient(145deg,#e6d5a7,#a8894c)!important;border:6px double #0b6b59!important;box-shadow:0 14px 34px #001d186e,0 0 0 2px #d8b75f33!important}
body.card-theme-emerald-luxe .daberna-grid,body.card-theme-emerald-luxe .room-ticket-grid{background:#07584c!important;border-color:#043d35!important;gap:2px;padding:3px}
body.card-theme-emerald-luxe .d-cell,body.card-theme-emerald-luxe .room-ticket-cell{background:linear-gradient(145deg,#fff8df,#ecdcae)!important;color:#063e36!important;border:1px solid #a68342!important;text-shadow:0 1px #fff}
body.card-theme-emerald-luxe .d-cell.blank,body.card-theme-emerald-luxe .room-ticket-cell:disabled{background:linear-gradient(135deg,#0d7664 0 48%,#096050 48% 52%,#075044 52%)!important;color:transparent!important;box-shadow:inset 0 0 0 2px #d8b75f66}
body.card-theme-emerald-luxe .daberna-head,body.card-theme-emerald-luxe .room-player-card .section-head{color:#06493e!important}

body.card-theme-midnight-gold .daberna-card,body.card-theme-midnight-gold .room-player-card{background:radial-gradient(circle at 50% -20%,#e8bd5d35,transparent 48%),linear-gradient(145deg,#1d2026,#07080b)!important;border:6px double #d7a94b!important;box-shadow:0 16px 38px #000b,0 0 24px #d7a64e24!important}
body.card-theme-midnight-gold .daberna-grid,body.card-theme-midnight-gold .room-ticket-grid{background:#b8842e!important;border-color:#edc56e!important;gap:2px;padding:3px}
body.card-theme-midnight-gold .d-cell,body.card-theme-midnight-gold .room-ticket-cell{background:linear-gradient(145deg,#fff8df,#e8d3a0)!important;color:#17191e!important;border:1px solid #a97b2d!important;text-shadow:0 1px #fff}
body.card-theme-midnight-gold .d-cell.blank,body.card-theme-midnight-gold .room-ticket-cell:disabled{background:linear-gradient(145deg,#252932,#0d0f13)!important;color:transparent!important;box-shadow:inset 0 0 0 2px #c99b4366}
body.card-theme-midnight-gold .daberna-head,body.card-theme-midnight-gold .room-player-card .section-head{color:#f3cf7d!important}

body.card-theme-royal-blue .daberna-card,body.card-theme-royal-blue .room-player-card{background:radial-gradient(circle at 20% 0,#ffffff66,transparent 34%),linear-gradient(145deg,#e8d9ae,#b1945e)!important;border:6px double #184d8b!important;box-shadow:0 14px 34px #06182e80,0 0 0 2px #cfad6233!important}
body.card-theme-royal-blue .daberna-grid,body.card-theme-royal-blue .room-ticket-grid{background:#174a85!important;border-color:#0d315d!important;gap:2px;padding:3px}
body.card-theme-royal-blue .d-cell,body.card-theme-royal-blue .room-ticket-cell{background:linear-gradient(145deg,#fff9e4,#e8d8ad)!important;color:#102f58!important;border:1px solid #4d6e96!important;text-shadow:0 1px #fff}
body.card-theme-royal-blue .d-cell.blank,body.card-theme-royal-blue .room-ticket-cell:disabled{background:linear-gradient(135deg,#2862a3 0 45%,#174a85 45% 55%,#113968 55%)!important;color:transparent!important;box-shadow:inset 0 0 0 2px #e0bf7266}
body.card-theme-royal-blue .daberna-head,body.card-theme-royal-blue .room-player-card .section-head{color:#143d71!important}

body[class*="card-theme-"] .d-cell,body[class*="card-theme-"] .room-ticket-cell{font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif!important;font-size:clamp(15px,1.25vw,18px)!important;font-weight:950!important;line-height:1!important;font-variant-numeric:tabular-nums!important;font-feature-settings:"tnum" 1}
body[class*="card-theme-"] .d-cell.called-match:not(.player-marked),body[class*="card-theme-"] .room-ticket-cell.called-match:not(.player-marked){background:#fff0ad!important;color:#9c241f!important;box-shadow:inset 0 0 0 3px #d29b38!important}
body[class*="card-theme-"] .d-cell.player-marked,body[class*="card-theme-"] .room-ticket-cell.player-marked{background:#fff1c7!important;color:#a51e1a!important}
.card-zoom-content .d-cell{font-size:22px!important}

@media(max-width:730px){
  body[class*="card-theme-"] .d-cell,body[class*="card-theme-"] .room-ticket-cell{font-size:17px!important;min-height:40px}
  .card-zoom-content .d-cell{font-size:22px!important;min-height:56px}
}
.season-active:not(.game-room-reference):not(.v19-game-layout){background-color:var(--season-bg)!important}.season-active:not(.game-room-reference) .landing-hero,.season-active:not(.game-room-reference) .landing-footer{background:var(--season-bg)!important}.season-active:not(.game-room-reference) .btn.gold{background:var(--season-accent)!important;color:#17241f!important}.season-footer{padding:18px;text-align:center;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:16px;background:#103d34;color:#fff}.season-footer a{display:inline-flex;align-items:center;gap:7px;color:#fff!important}.season-footer p{width:100%;margin:0}.season-image{position:fixed;inset:0;background-size:cover;background-position:center;opacity:.15;pointer-events:none;z-index:0}.season-effects{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:20}.season-effects span{position:absolute;top:-30px;animation:season-fall 16s linear infinite;color:#fff;font-size:20px}@keyframes season-fall{to{transform:translateY(110vh)}}.season-notice{position:relative;text-align:center;padding:12px;background:#103d34;color:white}.season-notice img{max-width:100%;max-height:240px}.season-footer:empty{display:none}#adminAppearanceSection label{display:block;margin:10px 0}#adminAppearanceSection input{display:block;width:100%;max-width:650px}#adminAppearanceSection button{margin:5px}.season-active dialog{max-width:90vw;padding:24px}
/* DABERNA_V6615_SAFE_UPDATE: draggable host number, wrapper fullscreen and readable setting copy. */
.host-number-overlay{z-index:7!important;pointer-events:auto!important;cursor:grab!important;touch-action:none!important;user-select:none!important}.host-number-overlay.dragging{cursor:grabbing!important}.host-number-overlay:focus-visible{outline:2px solid #ffd978;outline-offset:5px;border-radius:50%}
.host-number-setting>div:first-child{min-width:0}.host-number-setting b{font-size:15px!important;line-height:1.65}.host-number-setting small{display:block;margin-top:5px;color:#c2d2cc;font-size:13px!important;line-height:1.85;max-width:720px}
.host-live-fullscreen{position:absolute;z-index:8;top:12px;inset-inline-start:12px;width:44px;height:44px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.55);border-radius:12px;background:rgba(2,28,25,.78);color:#fff4cf;font:900 26px/1 Arial,sans-serif;cursor:pointer;box-shadow:0 5px 18px #0007;backdrop-filter:blur(7px)}.host-live-fullscreen:hover,.host-live-fullscreen:focus-visible{background:#d9a949;color:#15322c;outline:none}
.live-card:fullscreen,.live-card:-webkit-full-screen,.live-card.host-pseudo-fullscreen{width:100vw!important;height:100vh!important;height:100dvh!important;max-width:none!important;max-height:none!important;min-height:0!important;border:0!important;border-radius:0!important;background:#000}.live-card:fullscreen>.daberna-live-frame,.live-card:-webkit-full-screen>.daberna-live-frame,.live-card.host-pseudo-fullscreen>.daberna-live-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}.live-card.host-pseudo-fullscreen{position:fixed!important;z-index:5000!important;inset:0!important}.host-pseudo-fullscreen-open{overflow:hidden!important}


@font-face{font-family:DabernaKOMedia;src:url(data:font/woff;base64,d09GRk9UVE8AAAksAAsAAAAACdQAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABDRkYgAAACoAAABYcAAAXEH7XCqkdQT1MAAAgoAAAAhwAAAKwY1RlcR1NVQgAACLAAAAApAAAAKqXurgVPUy8yAAABaAAAAEkAAABgh8ZmfWNtYXAAAAJQAAAAOgAAAEQGhQebaGVhZAAAAQgAAAA2AAAANi4jjVpoaGVhAAABQAAAACAAAAAkBN0Aw2htdHgAAAjcAAAATgAAAFQeYAHTbWF4cAAAAWAAAAAGAAAABgAVUABuYW1lAAABtAAAAJoAAAEAD0gnLnBvc3QAAAKMAAAAEwAAACD/rgAoAAEAAAABAAC91BnuXw889QADA0MAAAAA5iYKaQAAAADnL0CnAAb/7AGxAh8AAAAHAAIAAAAAAAB4nGNgZGBg2vfvCkMa43kGNgYuxo0MQBEUIAoAex0EogAAUAAAFQAAeJxjYGE8zNzCwMrAwaTI+IWBgcERQjMqMWgwnGBAAQqMyLxQ73A/hgMMBmw/mSL+XWFIY7rPuAkoDFbDOIFJCKSBgQUAX3gNJgAAAHicdY4xCsJAFERfTAzYeACxSKmCQZFgEbBIYyEqCCqkExNUFJWIhTfJcR3jgtvIFv/9+TPDAj4LXByvgUMbDNdoavuyy4CeYc/y1JmQGvZpUTJjScCcnIwTO3HCRXPPmZXUA89qLxgSqvXzYtbKbfWLuMr/0n0rvZFa8JB+46peOz+V68Wdo+4BI10izY4okm9M93/vGx+GHo8AAHicY2BgYGJgYGAGYhEgyQimWRgMgDQHEILkLNky2X7+/w9kGbAlsH34////7Z8LfwqC1YIBAP/wDCYAAHicY2BmAIP/qxk0GLAAACsKAdYAeJxVVGlQU1cYzQPeI0B8CPYxJA/eY21ZW9SKTmnFDRVRgRbFLSCEBMKSkICGXUEUCKEgRSBEURhcCCIoIkZAQKpotUA7LdW6jFVbtFarjvJl5k6XxPqnf75zz5n5zpxz78zFOFYWHAzDyIjIdeIkaULgsvQEUZpZWWC05xi9MeP7FsY5Vh48yx6eFePQkL6rsvId8Kz3q4xhxh4cKu07XHCtI9Q6cHgYxiXfc/H0C1q0ZNUmSZ5YKQ9MUMplYtPMVpnP2SlKsZlJ5DuUZpDuNLMsaY55ineKZSYUS5NTsk0ok75dFMkzc5VmyS1DmpUllSVHRLq9Tev2X1orDOMJPAPUKk2mJq9W08wlY5ATbkDulegDhAtI6smTwMeBgTj5vZo6qDn7qM4Ow8psOA42HMpUnmPJseN4cGI5TZzHGINFY/uwi9jfFsEWay1KLW5a/GW5wrLWctDKzSpjgkReYAf+Hq4o/p1VM3hWAB0PC/k7CHfXaE/XyerJ8kn+7oNNlVp6auxbWKVis4nlBZI4CZ2aeuqeilXvsP5/ujuerhPVkxUT/L312rJGuv2E7swRNqNVn6unx/vvQpDIZBBYXqDMpLPkzS9yTSwoJ1WRSWfLdS+VZjt31yjwdvrm6+6f+9lyHV4cIaxIopfmNTR3DPT/cphtf1i6Hw8T1uhk7KmjZxtOVXUDz3nvVzhyzFu6bLkgqUV0ScXEJWcIowRhXevuMmQ8+I9RLy4+ePMkAbz8/BKQJ7Ly0S/+nfWFZGpIY+g10EODG4J1bGa6tDSZ/iKmeUzDknFQoqbqictgu/1NKayug1n8surgrE3Vcw/x85FVXcn4zotlY0f4KuRShRwGkDuXPABhTueJdnDshHlPZ3YC7byrOmJ+HLJJRbZ8xWtTqxU/5lc4y9D8GYR3Iod25Mwnm+CRmtJVtQHjBYQUvDPAmZ9CmFzj0TxPhDUje+eGsu/uXQH8KMzmtyHrQeQyEcYlF0P6u3zyyT23S+7wwbYo/kYMvTZm4dzQM0lD7XqtvpVVf1gR0OnDRaFGvputXn1c3Z6rk0qK5G6uoyCrocDXAAEzgAnBH/kg7y3mF3TrQwHgy2rOUxsL3oDljPb18IjWA2EIK3TfyJIofLCKAkfj6XRCsm2TTKjipp+xJjs7nOD1M5RDTL2GTy/BHMHT4AG/4NWS5K3MQDjeo+89PUCPtAk3Iws057N1S9nEzeWJFSoueRnW76Yg4Ob0g4uKc6GH2IHj7b19gqngq94hb5cvROBn9X09w/RgmyQhPCJxaSFbF4dXH2z88hB9r0URHZu0MUyY0tKlYqNi8aTuUeUtmhyGAiegwP3yYDRMhxKoEf2JJ4DIGrkPmlSIwFGENamFTwpNNW7fevXKZ9hLoSjfm8XqHuIgInpgVnktjk4QW5G+qQRv7etqOEZfO7Zm7aKUjPg0adNJKSuOxOUDF3YbaHIccvZQwPvpt+cvQ65+LE8rzU9jm6eHb8Ps4rIRZyQ6hhzQYhQiQP6PgoFglkMhpdU0aRqZGm1DVSN95WzskiilULwtfRIIlmzvK6Zqip/VT0HkDxD0B0Ty99bh6DkhQ9yaItCpFyKXYMSEIxc+2QBxxRTYD12bvp5pEHax/V2tZy4I7od0L0A2n69cl9iWbEhhNickbV4jWHRtPdgzK8CX6qrvPdLN3EjsSIsWbCuUiLYo+kaZFuijTh5u0Z9qVWxXlMjy5EzsifS2cwJy/GE/Vb3BdCWZ4ACLIUQA/vPuIwLxQoN8vG+vf3C8o1bXweR8tDEEzT7AvQ6/UlfaDKcv6FciolBdoC5i9hXuqiiioxKHplgyX2f00gGhG9ERaFJnzSwc/Ydns59nW8mzMzpSHXPMX7Q1pTnS0mz3L7cGkm4AeJwtjS0OwkAUhL/dNt1tRTUHQKDRyAZFUFW4kpCQkCB6LI7QQ1RXo6trH7MbxLzMX+bhgIY9R3x3vvS0wzjcaSnlY0bK3esxvomJZZR4KZexy83AQQsnrvTceCr3FFRKotZT39lCbVNms9hHbmUbQSoKjX21FmzVraUL8emfLOmXbT9D6yNIAHicY2BkYGDgYlBj0GBgcnHzCWHgSyxKTGKQYGABijP8/88ABwBreAVEAAAAeJxjPMQQwvCOQZJhM4MkowsQnwdiZyAOAuJABhHGDgY2xl4GdkZDBi7GbUB1Jxm4GRcwCDLuAPJBenoYJBgPAuk5QPEuoDiQDQBjQQ5GAAA=) format("woff");font-weight:100 900;font-display:swap;unicode-range:U+0030-0039,U+0660-0669,U+06F0-06F9}
html:root body :is([data-latest-number],[data-latest-mini],[data-host-recent] i,.host-current-ball,.stage-ball,.recent-ball,.mini-ball,.all-called-ball,.ball-num,.room-main-ball,.room-recent-balls span,[data-recent-called] .medal,[data-recent-called] .recent-medal){
 font-family:DabernaKOMedia,Vazirmatn,Tahoma,sans-serif!important;font-synthesis:none;letter-spacing:0
}
.card-toman{display:inline-block;font:600 1rem/1.6 Vazirmatn,Tahoma,sans-serif}

/* Daberna mobile and classic cards v66.26 */
@font-face{font-family:DabernaVazir;src:url('/assets/fonts/Vazir-v30.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
html body,body :is(button,input,select,textarea,h1,h2,h3,h4,h5,h6,p,label,summary,a,small,b,strong,.tag,.notice,.d-cell,.room-ticket-cell){font-family:DabernaVazir,Vazirmatn,Tahoma,sans-serif}
.game-cards-panel>.section-head>h3,.game-cards-panel>.section-head>h2{display:none}
.card-distance{display:inline-block;font-size:.86rem;line-height:1.55;color:#483a24;font-weight:700}
.room-player-card{background:#f5e9cb;color:#263229;border:1px solid #ba893d;border-radius:8px;padding:6px}
.room-player-card .room-ticket-grid{direction:ltr;grid-template-columns:repeat(9,minmax(0,1fr));gap:1px;background:#b98d4b;border:1px solid #a87935}
.room-player-card .room-ticket-cell{appearance:none;color:#172f2b;background:#fff9e9;border:0;border-radius:0;min-width:0;padding:0;font-size:clamp(16px,3.9vw,21px);font-weight:800}
.room-player-card .room-ticket-cell:disabled{background:#e7d2a8;opacity:1}
.room-player-card .room-ticket-cell.called-match{color:#912e22;background:#fff0c8;box-shadow:inset 0 0 0 2px #d29e40}
.room-player-card .room-ticket-cell.player-marked{border-radius:50%;background:radial-gradient(circle at 38% 30%,#fff4d4,#dbb885 72%,#9f7947);color:#a42e22}
body .daberna-card .d-cell{font-size:clamp(16px,3.9vw,21px)}
@media(max-width:1160px){
 body .mobile-nav{box-sizing:border-box;max-width:100%;background:#073b34;border-top:1px solid #846e45;height:calc(64px + env(safe-area-inset-bottom,0px));padding:4px 5px env(safe-area-inset-bottom,0px);align-items:center!important}
 body .mobile-nav>a{display:grid;align-content:center;justify-items:center;color:#e8eee6;gap:3px;text-decoration:none}
 body .mobile-nav a strong{display:grid;place-items:center;width:24px;height:24px}
 body .mobile-nav a strong svg{display:block;width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 body .mobile-nav a.game{color:#163b31;background:#e4b150;border-radius:50%}
 body.admin-session .mobile-nav,body .mobile-nav[hidden]{display:none!important}
}
@media(max-width:730px){
 body .landing-nav{flex-wrap:wrap;height:auto;min-height:58px;padding-block:5px;gap:4px 8px}
 body .landing-actions,body .landing-final-actions{display:flex;flex-flow:row nowrap;align-items:center;gap:6px}
 body .landing-actions .btn:first-child,body .landing-actions .btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:5px 9px;white-space:nowrap}
 .private-room-playing [hidden]{display:none!important}
 body.private-room-playing .private-rooms-page,body.private-room-playing .private-room,body.private-room-playing .room-game-shell{min-height:0;gap:8px;margin-block:6px;padding-block:6px}
 .private-room-playing .room-number-stage{margin-block:6px;padding:8px 12px}
 .private-room-playing .room-main-ball{width:clamp(72px,20vw,100px);margin:5px auto;border-width:5px;font-size:2.6rem}
 .private-room-playing .room-game-toolbar{position:static;gap:5px;padding:5px}
 .private-room-playing .section-head,.private-room-playing .private-room-stats{margin-block:4px}
 .private-room-playing .room-stage-head :is(h3,p),.private-room-playing .room-winner-board h2{margin:0;font-size:1.05rem}
}
@media(min-width:1161px){body .mobile-nav{display:none!important}}
body :is(.daberna-card,.room-player-card){background:linear-gradient(180deg,#f5e9cb,#e5cea0)!important;border:1px solid #ba893d!important;border-radius:8px;box-shadow:0 7px 16px #0003!important}
body :is(.daberna-card,.room-player-card)::before{content:none}
body .daberna-card .d-cell:not(.hit):not(.called-match):not(.blank){background:#fff9e9!important}
body .daberna-card .d-cell.blank{background:#e7d2a8!important}
body .daberna-card .daberna-grid{direction:ltr}

/* Compact private room information; independent of audio. */
.room-info29{box-sizing:border-box;display:block;min-width:0;width:100%;border:1px solid #846e4570;border-radius:10px;padding:0 10px;margin:4px 0;color:inherit}
.room-info29>summary{display:list-item;cursor:pointer;font-weight:700;padding:9px 2px;line-height:1.4;list-style:revert}
.room-info29:not([open])>.room-info29-content{display:none!important}
.room-info29[open]>.room-info29-content{display:block;padding-block:4px 8px}
.room-info29-content>.section-head{margin-block:4px!important}
.room-info29>summary:focus-visible{outline:2px solid #e4b150;outline-offset:2px}

@media(max-width:730px){
 html body.compact-game-header31 .topbar{position:relative!important;top:auto!important;height:auto!important;min-height:0!important;padding:env(safe-area-inset-top,0px) 0 0!important}
 html body.compact-game-header31 .topbar .toprow{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:center!important;width:calc(100% - 12px)!important;gap:4px!important;min-height:0!important;padding:4px 0!important;margin:auto!important}
 html body.compact-game-header31 .topbar .toprow.has-sound-control{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 html body.compact-game-header31 .topbar .head-actions{display:contents!important}
 html body.compact-game-header31 .topbar .head-actions>:not(.language-switcher),html body.compact-game-header31 .topbar .nav{display:none!important}
 html body.compact-game-header31 .topbar :is(.brand,.language-switcher,.site54-menu-trigger,#numberAudioEnable){display:flex!important;position:static!important;align-items:center!important;justify-content:center!important;justify-self:stretch!important;grid-row:1!important;grid-column:auto!important;gap:3px!important;width:100%!important;height:44px!important;min-height:44px!important;min-width:0!important;padding:0 3px!important;margin:0!important;box-sizing:border-box!important;line-height:1.2!important;font-size:clamp(10px,2.8vw,13px)!important;text-align:center!important}
 html body.compact-game-header31 .topbar .brandmark{width:40px!important;height:40px!important;min-width:40px!important;margin:0!important;background:url('/assets/brand31.webp') center/contain no-repeat!important;font-size:0!important}
 html body.compact-game-header31 .topbar .brand>div:not(.brandmark){position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 html body.compact-game-header31 .topbar .language-switcher b,html body.compact-game-header31 .topbar .language-switcher>span{display:none!important}
 html body.compact-game-header31 .topbar .language-select{width:100%!important;min-width:0!important;padding:0 2px!important;font-size:inherit!important}
 html body.compact-game-header31 #numberAudioEnable{white-space:normal!important;overflow-wrap:anywhere}
}
.discovery-links31{max-width:70rem;margin:1rem auto;padding:.75rem 1rem;line-height:1.9}
.discovery-links31 h2{font-size:1.05rem;margin:0 0 .2rem}
.compact-game-header31 .topbar .brandmark{flex:0 1 40px}

/* A single wood finish across live draws, history and marked tickets. */
:root{--draw32-face:radial-gradient(circle at 34% 26%,#ffffffa8 0 6%,transparent 8%),radial-gradient(circle,#fff0cf 0 52%,#be905f 53% 55%,#eacda1 56% 68%,#9f744b 69% 72%,#d1ab79 73% 100%);--draw32-edge:#89613d;--draw32-ink:#932821}
html:root body :is(.medal[data-latest-number],.mini-ball,.stage-ball,.host-current-ball,.room-main-ball,.recent-ball,.all-called-ball,.room-recent-balls span,.room-number-grid span.called,.ball-num.called,[data-host-recent] i),html:root body #numbersOverlay .ball-num.called,html:root body .d-cell.player-marked.wood-token-mark:after,html:root body .room-ticket-grid .room-ticket-cell.player-marked:after{background:var(--draw32-face)!important;border:2px solid var(--draw32-edge)!important;color:var(--draw32-ink)!important;border-radius:50%!important;box-shadow:0 2px 4px #30201044!important;text-shadow:none!important}
html:root body :is(.recent-ball,.all-called-ball,.ball-num.called):before,html:root body #numbersOverlay .ball-num.called:before{display:none!important}
html:root body .room-ticket-cell.player-marked{isolation:isolate;position:relative}
html:root body .room-ticket-grid .room-ticket-cell.player-marked:after{content:'';position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(30px,86%);height:auto;aspect-ratio:1;z-index:-1;pointer-events:none}
html:root body .language-switcher,html:root body.compact-game-header31 .topbar .toprow .language-switcher{position:relative!important;display:inline-grid!important;place-items:center!important;min-width:44px!important;min-height:44px!important;width:44px!important;padding:0!important}
html:root body .language-switcher>b{display:none!important}
html:root body.compact-game-header31 .topbar .toprow .language-switcher>span,html:root body .language-switcher>span{display:inline!important;font-size:21px!important;line-height:1!important}
html:root body .language-switcher select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;min-width:0!important;opacity:0!important;cursor:pointer}
.language-switcher:focus-within{outline:2px solid #efc979;outline-offset:2px}
html body #toast.toast{pointer-events:none;position:fixed;inset:auto 50% calc(24px + env(safe-area-inset-bottom)) auto;transform:translate(50%,12px);width:max-content;max-width:min(32rem,calc(100vw - 28px));box-sizing:border-box;padding:.85rem 1.25rem;font:inherit;font-size:1rem;font-weight:650;line-height:1.55;text-align:center;background:#fff2cf;color:#18362e;border:2px solid #c6933c;border-radius:14px;box-shadow:0 8px 36px #001c16a8;z-index:2147483646}
html body #toast.toast.show{transform:translate(50%,0);opacity:1}
@media(max-width:760px){html body #toast.toast{bottom:calc(88px + env(safe-area-inset-bottom))}}
#adminMenu .admin-new32{display:inline-grid;place-items:center;min-width:1.45em;height:1.45em;margin-inline-start:.45em;padding-inline:.28em;border-radius:2em;background:#a3262f;color:white;font:700 14px/1 system-ui;font-variant-numeric:tabular-nums}
html:root body :is(.medal[data-latest-number],.stage-ball,.mini-ball,.host-current-ball,.room-main-ball)::before{background:none!important;box-shadow:none!important;border:0!important}
html:root body .language-switcher:has(select:focus-visible){outline:2px solid #efc979}

@media(max-width:730px){
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow{display:flex!important;align-items:center!important;flex-wrap:nowrap!important;width:calc(100% - 12px)!important;gap:4px!important;min-height:44px!important;margin:auto!important;padding:3px 0!important}
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .nav{display:none!important}
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .head-actions{display:contents!important}
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .brand{width:auto!important;min-width:36px!important;flex:0 0 38px!important;margin:0!important;padding:0!important}
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .brandmark{width:36px!important;height:36px!important;min-width:36px!important;background:url('/assets/brand31.webp') center/contain no-repeat!important;font-size:0!important}
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .brand>div:not(.brandmark){position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .header-user-chip{display:none!important}
 html body:not(.admin-session) .topbar:has(.site54-menu-trigger) .header-settings-link{font-size:0!important;padding:0!important;width:36px!important;min-width:36px!important}
 html body:not(.admin-session) .topbar .header-settings-link span{font-size:18px!important}
 html body:not(.admin-session) .topbar .toprow .site54-menu-trigger{position:static!important;flex:0 1 auto!important;width:auto!important;margin:0!important;padding:4px 8px!important;min-width:40px!important}
 html body:not(.admin-session) .topbar .toprow #numberAudioEnable{width:auto!important;flex:1 1 4rem!important}
 html body:not(.admin-session) .topbar .toprow .head-actions>.btn{min-width:0;white-space:normal;line-height:1.15;padding-inline:5px}
 body.private-room-playing .room-game-shell{display:flex!important;flex-direction:column;gap:6px!important;padding-top:0!important;margin-top:3px!important}
 body.private-room-playing .room-player-cards{order:0}
 body.private-room-playing .room-winner-board{order:2;padding:8px!important}
 body.private-room-playing .room-game-toolbar,body.private-room-playing .room-paused{order:1}
 body.private-room-playing .room-chat-panel{order:3}
 body.private-room-playing .room-owner-settings{order:4}
 body.private-room-playing .room-winner-board>div{display:flex;flex-wrap:wrap;gap:4px}
 body.private-room-playing .room-winner-board .notice{margin:0;padding:4px 7px;min-height:0}
}
#roomDecision33{box-sizing:border-box;width:min(92vw,26rem);max-height:85dvh;overflow:auto;inset:0;margin:auto;padding:20px;border:2px solid #dcb35e;border-radius:16px;background:#093e35;color:#fff4d3;text-align:center}
#roomDecision33::backdrop{background:#001a15bb}
#roomDecision33 .decision-clock33{display:block;font-size:2.6rem;line-height:1.3;color:#ffda8b;font-variant-numeric:tabular-nums}
#roomDecision33 button{margin:3px;min-height:44px}
@media(max-width:730px){html body:not(.admin-session) .mobile-nav:not([hidden]){position:fixed!important;inset:auto 0 0!important;margin:0!important;transform:none!important}html body .mobile-nav~.mobile-nav{display:none!important}}

/* Compact mobile controls: one centered row with a fixed touch area for each action. */
@media(max-width:730px){
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow{
   display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:center!important;
   gap:clamp(7px,2.4vw,14px)!important;width:100%!important;max-width:36rem!important;
   min-height:54px!important;height:auto!important;margin:0 auto!important;padding:5px 8px!important;box-sizing:border-box!important
 }
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .head-actions{display:contents!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow :is(.brand,.language-switcher,.header-settings-link,.site54-menu-trigger,[id="numberAudioEnable"]){
   position:relative!important;inset:auto!important;box-sizing:border-box!important;flex:none!important;align-self:center!important;
   align-items:center!important;justify-content:center!important;height:44px!important;min-height:44px!important;max-height:44px!important;
   margin:0!important;padding:0 6px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;
   line-height:1.15!important;border-radius:11px!important;min-width:44px!important;width:44px!important
 }
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .brand{display:flex!important;padding:0!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .brandmark{width:37px!important;height:37px!important;min-width:37px!important;flex:none!important;margin:0!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .language-switcher{width:48px!important;display:grid!important;place-items:center!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .language-switcher>span{display:inline!important;font-size:20px!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .header-settings-link:not([hidden]){display:inline-flex!important;font-size:0!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .header-settings-link span{font-size:19px!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow .site54-menu-trigger{width:auto!important;min-width:64px!important;padding:0 9px!important;display:inline-flex!important;font-size:14px!important}
 html:root body:not(.admin-session) .topbar:has(.site54-menu-trigger) .toprow #numberAudioEnable{width:auto!important;min-width:56px!important;padding:0 8px!important;display:inline-flex!important;font-size:0!important}
 html:root body:not(.admin-session) .topbar .toprow #numberAudioEnable::after{content:attr(data-short-audio);font-size:14px;font-weight:650;line-height:1.15;white-space:nowrap}
 /* Keep the live-game shortcut reachable on pages where the account has an active card. */
 html:root body:not(.admin-session) .topbar:has(.header-live-return:not([hidden])) .toprow{flex-wrap:wrap!important;row-gap:4px!important}
}

#roomSound35{display:none!important}
@media(max-width:730px){
 html:root body #freeRoomHeader35.toprow{
   display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:center!important;
   gap:clamp(6px,1.8vw,9px)!important;width:100%!important;max-width:none!important;min-height:56px!important;
   padding:6px 8px!important;margin:0 auto!important;box-sizing:border-box!important
 }
 html:root body #freeRoomHeader35 .head-actions{display:contents!important}
 html:root body #freeRoomHeader35>.nav,html:root body #freeRoomHeader35 .head-actions>:not(.language-switcher),
 html:root body #freeRoomHeader35 #numberAudioEnable{display:none!important}
 html:root body #freeRoomHeader35 :is(.brand,.language-switcher,.site54-menu-trigger,[id="roomSound35"]){
   display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;
   margin:0!important;padding:0!important;position:relative!important;inset:auto!important;box-sizing:border-box!important;
   height:44px!important;min-height:44px!important;max-height:44px!important;min-width:0!important;
   border-radius:11px!important;white-space:nowrap!important;overflow-wrap:normal!important;line-height:1!important;
   font-size:15px!important;font-weight:650!important;letter-spacing:normal!important
 }
 html:root body #freeRoomHeader35 .brand{order:0;width:44px!important}
 html:root body #freeRoomHeader35 .brandmark{background:url('/assets/brand31.webp') center/contain no-repeat!important;width:40px!important;height:40px!important;min-width:40px!important;flex:none!important;margin:0!important}
 html:root body #freeRoomHeader35 .language-switcher{order:1;width:52px!important}
 html:root body #freeRoomHeader35 .language-switcher b{display:none!important}
 html:root body #freeRoomHeader35 .language-switcher>span{display:inline!important;font-size:21px!important;pointer-events:none}
 html:root body #freeRoomHeader35 .language-switcher select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer}
 html:root body #freeRoomHeader35 #roomSound35{order:2;width:80px!important;gap:6px!important}
 html:root body #freeRoomHeader35 .site54-menu-trigger{order:3;width:76px!important}
 #roomSound35 svg{width:19px;height:19px;flex:none}
 #roomSound35 svg .off35,#roomSound35 svg.muted35 .waves35{display:none}
 #roomSound35 svg.muted35 .off35{display:block}
}

@media(max-width:730px){
 html:root body.game-room-reference .mobile-game-strip:not(.is-floating36){display:none!important}
 html:root body.game-room-reference .mobile-game-strip.is-floating36{display:flex!important;position:fixed!important;top:max(6px,env(safe-area-inset-top))!important}
 html:root body.game-room-reference main.game-reference-main{padding-top:6px!important}
 html:root body.game-room-reference .topbar{position:relative!important;top:auto!important}
 html:root body.game-room-reference #freeRoomHeader35 .brand>div:not(.brandmark){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)}
}

@media(max-width:730px){
 html:root body .topbar #roomsLobby37.toprow{
   display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:center!important;
   gap:clamp(3px,1vw,8px)!important;width:100%!important;padding:5px 6px!important;box-sizing:border-box!important
 }
 html:root body #roomsLobby37 .head-actions{display:contents!important}
 html:root body #roomsLobby37 .brand{order:0}
 html:root body #roomsLobby37 .language-switcher{order:1;position:relative!important;width:48px!important;min-width:44px!important;height:44px!important;flex:none!important}
 html:root body #roomsLobby37 .header-settings-link{order:3}
 html:root body #roomsLobby37 .site54-menu-trigger{order:4;flex:none!important}
 html:root body #roomsLobby37 .header-live-return{
   order:2;position:static!important;inset:auto!important;transform:none!important;float:none!important;
   display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto!important;
   width:auto!important;max-width:none!important;min-width:0!important;height:44px!important;margin:0!important;padding:0 7px!important;
   line-height:1.15!important;white-space:nowrap!important;font-size:12px!important
 }
 html:root body #roomsLobby37 .header-live-return[hidden]{display:none!important}
 @media(max-width:359px){
   html:root body #roomsLobby37:has(.header-live-return) .header-settings-link{display:none!important}
 }
}

@media(max-width:1368px), (pointer:coarse) and (max-width:1600px){
 html body main.game-reference-main .hero.game-reference-hero,
 html body main.game-reference-main .game-reference-lower {
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   height:auto!important;min-height:0!important;gap:12px!important;
 }
 html body main.game-reference-main :is(.game-reference-hero,.game-reference-lower)>article{
   width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box;
   height:auto!important;min-height:0!important;max-height:none!important;
 }
 html body main.game-reference-main .hero.game-reference-hero>.live-card:not(.host-pseudo-fullscreen):not(:fullscreen){
   align-self:stretch!important;aspect-ratio:auto!important;
   padding:0!important;height:auto!important;min-height:0!important;
 }
 html body main.game-reference-main .hero.game-reference-hero>.live-card:not(.host-pseudo-fullscreen):not(:fullscreen)::before{
   content:"";display:block!important;position:static!important;padding-top:min(56.25%,64vh);
   height:0;box-sizing:content-box;background:none!important;pointer-events:none;
 }
 html body main.game-reference-main .hero.game-reference-hero>.live-card>img {
   position:absolute;inset:0;width:100%;height:100%;object-fit:contain;
 }

 html body main.game-reference-main .game-cards-panel .cards-gallery{
   display:grid!important;
   grid-template-columns:repeat(auto-fit,minmax(min(100%,410px),1fr))!important;
   gap:clamp(8px,1.3vw,16px)!important;
   width:100%!important;max-width:1080px!important;margin-inline:auto!important;
   align-items:start!important;box-sizing:border-box;
 }
 html body main.game-reference-main .game-cards-panel .cards-gallery>.daberna-card{
   width:100%!important;max-width:580px!important;min-width:0!important;
   margin:0!important;justify-self:center;box-sizing:border-box;container-type:inline-size;
 }
 html body main.game-reference-main .game-cards-panel .daberna-card .d-cell{
   font-size:clamp(16px,5.1cqi,26px)!important;height:clamp(30px,9.5cqi,50px)!important;
 }
}
html body main.game-reference-main .live-card.has-live-player>.daberna-live-frame{
 inset:0!important;width:100%!important;height:100%!important;pointer-events:auto!important;
}
html body main.game-reference-main .live-card.has-live-player .host-number-overlay:not([style*="top"]){
 bottom:min(68px,26%)!important;
}

/* The frame supplies its own height so tablet touch coordinates match the video. */
@media (min-width:600px) and (min-height:600px) and (any-pointer:coarse) {
 html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player:not(:fullscreen):not(.host-pseudo-fullscreen) {
   display:block;
   position:relative;
   padding:0!important;
   height:auto!important;
   min-height:0!important;
   max-height:none!important;
   aspect-ratio:auto!important;
   align-self:start!important;
   width:100%!important;
 }
 html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player:not(:fullscreen):not(.host-pseudo-fullscreen)::before,
 html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player::after {
   content:none!important;display:none!important;pointer-events:none!important;
 }
 html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player:not(:fullscreen):not(.host-pseudo-fullscreen)>.daberna-live-frame {
   display:block!important;position:static!important;
   width:100%!important;height:auto!important;aspect-ratio:16/9;
   max-height:72vh;max-height:72svh;
   border:0;pointer-events:auto!important;touch-action:auto!important;
 }
 html body main.game-reference-main .live-card.has-live-player>.host-number-overlay {pointer-events:none!important}
 html body main.game-reference-main .live-card.has-live-player>.host-number-overlay>.host-current-ball {pointer-events:auto!important;touch-action:none}
}

@media(max-width:1160px){
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37){display:flex!important;position:relative;align-items:center!important;justify-content:space-evenly!important;gap:4px!important;padding:6px!important;width:100%!important;min-height:56px!important;flex-wrap:wrap!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .head-actions{display:contents!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) :is(.brand,.language-switcher,.header-live-return,.header-settings-link,.site54-menu-trigger,#roomSound35,#numberAudioEnable){
   position:relative!important;inset:auto!important;transform:none!important;align-self:center!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
   height:44px!important;min-height:44px!important;max-height:44px!important;margin:0!important;box-sizing:border-box!important;flex:1 0 auto!important;width:44px!important;min-width:44px!important;max-width:none!important;padding:0!important;white-space:nowrap!important;border-radius:11px!important;
 }
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .brand{order:0}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .brand>div:not(.brandmark),html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .language-switcher b{display:none!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .brandmark{width:38px!important;min-width:38px!important;height:38px!important;background:url('/assets/brand31.webp') center/contain no-repeat!important;font-size:0!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .language-switcher{order:1}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .language-switcher>span{display:inline!important;font-size:20px!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .language-switcher select{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .header-live-return{order:2;width:auto!important;padding-inline:9px!important;font-size:12px!important;gap:4px;box-shadow:none!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) :is(#roomSound35,#numberAudioEnable){order:2}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .header-settings-link{order:3;font-size:0!important;gap:0!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .header-settings-link span{font-size:20px!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .site54-menu-trigger{order:4;width:60px!important;font-size:14px!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) [hidden]{display:none!important}

 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .nav {display:none!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .header-user-chip {display:none!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37):has(#roomSound35) #numberAudioEnable {display:none!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) > .brand {flex:0 0 44px!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) .header-live-return {min-width:max-content!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) :is(.header-settings-link,.language-switcher,.site54-menu-trigger,#roomSound35) {max-width:150px!important}
 html:root body:not(.admin-session) .topbar .toprow:has(.site54-menu-trigger):is(.toprow,#freeRoomHeader35):is(.toprow,#roomsLobby37) #roomSound35 {min-width:60px!important}
}

/* Give the embedded player a real box on every screen. */
html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player:not(:fullscreen):not(.host-pseudo-fullscreen) {
  display:block!important;position:relative!important;height:auto!important;min-height:0!important;
  max-height:none!important;padding:0!important;align-self:start!important;aspect-ratio:auto!important;
}
html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player:not(:fullscreen):not(.host-pseudo-fullscreen)::before,
html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player::after {
  content:none!important;display:none!important;pointer-events:none!important;
}
html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player:not(:fullscreen):not(.host-pseudo-fullscreen)>.daberna-live-frame {
  position:static!important;display:block!important;width:100%!important;height:auto!important;
  aspect-ratio:16/9!important;min-height:0!important;max-height:76svh!important;
  border:0!important;pointer-events:auto!important;touch-action:auto!important;
}
html body main.game-reference-main .live-card.has-live-player>.host-number-overlay {pointer-events:none!important}
html body main.game-reference-main .live-card.has-live-player>.host-number-overlay>.host-current-ball {pointer-events:auto!important}
@media (orientation:landscape) and (max-height:520px) {
  html body main.game-reference-main .hero.game-reference-hero>.live-card.has-live-player:not(:fullscreen):not(.host-pseudo-fullscreen)>.daberna-live-frame {
    max-height:calc(100svh - 140px)!important;
    scroll-margin-block:60px 80px;
  }
}
