:root{
  --yellow:#ffc52c;
  --yellow-2:#f7ad00;
  --bg:#181918;
  --panel:#292927;
  --panel-2:#333331;
  --panel-3:#3b3b38;
  --line:#4a4a46;
  --text:#f7f7f4;
  --muted:#b7b7b2;
  --white:#fff;
  --danger:#ff5148;
  --safe-bottom:env(safe-area-inset-bottom,0px);
  --header-h:94px;
  --bottom-h:82px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
*{box-sizing:border-box}
html{background:var(--bg);scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);min-height:100vh;-webkit-font-smoothing:antialiased;padding-bottom:calc(var(--bottom-h) + var(--safe-bottom));}
button,input{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible{outline:3px solid rgba(255,197,44,.42);outline-offset:2px}
[hidden]{display:none!important}

.app-header{height:var(--header-h);position:sticky;top:0;z-index:50;background:#272725;border-top:3px solid #374739;box-shadow:0 4px 18px rgba(0,0,0,.3);display:flex;align-items:center;padding:0 18px;gap:14px}
.header-icon{width:54px;height:54px;border:0;background:transparent;padding:10px;display:grid;align-content:center;gap:7px}
.header-icon span{height:4px;border-radius:4px;background:#fff;display:block}
.help-shortcut{border:0;background:transparent;color:#fff;display:flex;flex-direction:column;align-items:center;gap:3px;min-width:54px;font-weight:700}.help-shortcut small{font-size:13px}.help-headset{width:34px;height:34px;border:5px solid var(--yellow);border-radius:50%;color:var(--yellow);display:grid;place-items:center;font-size:16px;line-height:1}
.drovia-symbol{position:absolute;left:50%;transform:translateX(-50%);width:66px;height:66px;border:0;background:transparent;color:var(--yellow);padding:7px}.drovia-symbol svg{width:100%;height:100%;fill:currentColor}.header-spacer{flex:1}
.balance-chip{position:relative;border:3px solid var(--yellow);border-radius:12px;background:#222220;color:var(--yellow);min-width:168px;height:60px;padding:0 16px;display:flex;align-items:center;justify-content:center;gap:11px;font-weight:900;font-size:20px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}.balance-caret{font-size:30px;line-height:1;margin-top:-7px}.message-badge{position:absolute;right:-8px;top:-10px;border-radius:999px;background:var(--yellow);color:#272725;font-size:12px;min-width:24px;height:24px;display:grid;place-items:center;border:2px solid #272725}

.app-main{max-width:960px;margin:0 auto;padding:0 16px 42px}.promo-banner{margin:0 -16px 24px;min-height:152px;padding:22px 30px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative;background:radial-gradient(circle at 80% 25%,#7a4100 0 2%,transparent 3%),linear-gradient(115deg,#3a1709,#131313 52%,#674210);border-bottom:1px solid #3e3e3a}.promo-banner>div:first-child{position:relative;z-index:2;max-width:64%}.promo-banner small{display:block;color:var(--yellow);font-weight:900;letter-spacing:.12em}.promo-banner strong{display:block;font-size:clamp(25px,5vw,48px);line-height:.96;margin:6px 0;color:#fff}.promo-banner span{color:#e1e1dc;font-weight:600;font-size:14px}.promo-art{display:flex;gap:-8px;transform:rotate(-8deg);filter:drop-shadow(0 12px 14px #000)}.promo-art b{font-family:Georgia,serif;font-size:78px;color:var(--yellow);text-shadow:2px 2px 0 #5f3600,-3px 4px 0 #fff2b8;margin-left:-15px}.promo-b{margin-top:0;background:linear-gradient(120deg,#32114f,#171717 52%,#16527a)}.promo-circles{display:flex;gap:8px}.promo-circles i{width:52px;height:52px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff9,#8d4cff 22%,#32205c 70%);border:3px solid #fff2}

.main-tabs{background:#292927;border-radius:8px;padding:0;display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:16px;overflow:hidden}.main-tab{min-height:68px;border:0;background:transparent;color:#fff;font-size:20px;font-weight:900}.main-tab.active{background:var(--yellow);color:#242421}.sport-tools{background:#292927;border-radius:8px;padding:8px;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-bottom:16px}.tool-btn{height:72px;border:0;border-radius:5px;background:transparent;color:#fff;font-size:32px;font-weight:900}.tool-btn.active{background:var(--yellow);color:#282824}.tool-btn.live b{font-size:14px;background:#ffb1b5;color:#af222b;padding:4px 8px;border-radius:5px}

.events-zone{margin-top:12px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:18px 2px 12px}.section-heading.compact{align-items:center}.section-heading small{font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--yellow)}.section-heading h1,.section-heading h2{font-size:22px;margin:2px 0 0}.provider-pill{font-size:11px;font-weight:900;border:1px solid #565650;border-radius:999px;padding:7px 10px;color:var(--yellow)}.text-link{border:0;background:transparent;color:var(--yellow);font-weight:800}
.events-list{display:grid;gap:14px}.events-empty{padding:36px 18px;border-radius:12px;background:var(--panel);text-align:center;color:var(--muted)}.events-empty strong{display:block;color:#fff;margin-bottom:6px}.loading-events{height:280px;border-radius:12px;background:linear-gradient(90deg,#272725 25%,#363633 38%,#272725 62%);background-size:400% 100%;animation:loading 1.2s infinite}@keyframes loading{0%{background-position:100% 0}100%{background-position:0 0}}
.event-card{border-radius:13px;background:linear-gradient(150deg,#30302e,#242422);overflow:hidden;border:1px solid #3c3c39;box-shadow:0 9px 22px rgba(0,0,0,.18)}.event-league{background:var(--yellow);color:#2a2925;min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;font-size:17px;font-weight:900}.event-league .league-ball{font-size:21px}.event-core{padding:18px 18px 15px}.event-date{text-align:center;color:#c8c8c3;font-size:13px;margin-bottom:14px}.event-match{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px}.team{text-align:center;min-width:0}.team-badge{width:60px;height:60px;margin:0 auto 9px;border-radius:50%;border:2px solid #565651;background:radial-gradient(circle at 35% 30%,#4a4a47,#1e1e1c);display:grid;place-items:center;color:var(--yellow);font-size:22px;font-weight:900}.team span{display:block;font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.versus{text-align:center}.versus strong{display:block;font-size:22px}.versus small{color:#aaa}.market-label{font-size:12px;color:#a7a7a3;margin:16px 0 7px}.odds-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.odds-grid.two{grid-template-columns:repeat(2,1fr)}.odd-btn{min-height:70px;border:0;border-radius:5px;background:#f3f3f3;color:#252522;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:6px;transition:.15s}.odd-btn:hover{transform:translateY(-1px);background:#fff}.odd-btn.active{background:var(--yellow);box-shadow:0 0 0 3px rgba(255,197,44,.2)}.odd-btn strong{font-size:20px}.odd-btn .odd-name{font-size:14px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}

.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;background:#252523;padding:14px;border-radius:10px;margin:16px 0}.quick-actions button{min-width:0;border:1px solid #484843;background:#343432;color:#fff;border-radius:8px;min-height:104px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.quick-actions button span{font-size:30px;color:#fff}.quick-actions button:nth-child(2) span{color:#ff303c;font-weight:900;font-size:18px}.quick-actions b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.leagues-panel{background:#242422;border-radius:10px;padding:16px;margin-bottom:18px}.leagues-title{display:flex;align-items:center;gap:14px;margin-bottom:14px}.leagues-title strong{font-size:17px}.leagues-title>span{font-size:15px;color:#777;font-weight:900}.leagues-title i{font-style:normal;background:#555;color:#aaa;border-radius:999px;padding:2px 7px;font-size:11px}.leagues-title button{margin-left:auto;border:0;background:transparent;color:#ddd;font-size:22px}.league-strip{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:2px 0 8px}.league-strip::-webkit-scrollbar{display:none}.sport-btn{border:0;background:transparent;color:#e9e9e5;min-width:104px;max-width:104px;padding:0 3px;display:flex;flex-direction:column;align-items:center;gap:7px}.sport-btn>span:first-child{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#3b3b38;border:1px solid #555;color:var(--yellow);font-size:28px}.sport-btn>span:last-child{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%}.sport-btn.active>span:first-child{background:var(--yellow);color:#2a2925}.provider-note{font-size:11px;color:#8d8d89;margin-top:5px}.skeleton-list{opacity:.5;min-height:70px}

.casino-preview{margin:16px 0 20px}.game-rail{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;padding:4px 0 9px}.game-rail::-webkit-scrollbar{display:none}.game-card{position:relative;flex:0 0 185px;height:245px;border:0;border-radius:20px;overflow:hidden;padding:16px;color:#fff;text-align:left;box-shadow:inset 0 0 0 1px #ffffff14,0 14px 30px #0003}.game-card>span{position:absolute;top:12px;left:12px;background:#27c3d7;color:#17202a;font-size:10px;font-weight:900;padding:5px 8px;transform:skew(-8deg)}.game-card b{position:absolute;left:14px;bottom:44px;font-size:24px;line-height:.92;text-shadow:0 3px 5px #000}.game-card small{position:absolute;left:14px;bottom:16px;color:#ddd}.g1{background:radial-gradient(circle at 65% 25%,#ffd74a 0 8%,transparent 9%),linear-gradient(145deg,#55227f,#0a1534 65%)}.g2{background:radial-gradient(circle at 60% 28%,#fbefdb 0 8%,#181818 9% 12%,transparent 13%),linear-gradient(145deg,#285b3d,#193421 65%)}.g3{background:radial-gradient(circle at 55% 28%,#f6bd3b 0 10%,#8a3d18 11% 18%,transparent 19%),linear-gradient(145deg,#741711,#1f0708 72%)}.g4{background:radial-gradient(circle at 58% 34%,#e9e9ff 0 6%,#ff99cd 7% 16%,transparent 17%),linear-gradient(145deg,#55aaff,#6b2fd1 72%)}

.casino-filters{display:grid;grid-template-columns:1fr 1fr 58px;margin:28px 0 28px;border:1px solid #555;border-radius:7px;overflow:hidden;background:#e9e9e9}.casino-filters button{border:0;border-right:1px solid #b9b9b9;background:#efefef;color:#444;min-height:64px;font-weight:800;font-size:15px;display:flex;align-items:center;justify-content:space-between;padding:0 16px}.casino-filters button:last-child{border-right:0;justify-content:center;font-size:27px}.casino-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.casino-tile{position:relative;aspect-ratio:1/1;border:0;border-radius:9px;overflow:hidden;color:#fff;padding:10px;text-align:center;box-shadow:inset 0 0 0 1px #ffffff15}.casino-tile em{position:absolute;left:8px;top:8px;background:#20bdd4;color:#10252a;font-style:normal;font-size:9px;font-weight:900;padding:5px 7px;transform:skew(-7deg)}.casino-tile strong{font-family:Georgia,serif;display:block;font-size:clamp(12px,3.7vw,23px);line-height:.9;text-shadow:0 3px 5px #000;margin-top:28%}.casino-tile>span{position:absolute;right:8px;bottom:8px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#333b;border:1px solid #fff6;font-size:22px}.c1{background:radial-gradient(circle at 75% 25%,#8539cc 0 15%,transparent 16%),linear-gradient(145deg,#1d153e,#572d87)}.c2{background:radial-gradient(circle at 55% 35%,#ffdc62 0 16%,#f77c19 17% 25%,transparent 26%),linear-gradient(145deg,#702c14,#30120d)}.c3{background:radial-gradient(circle at 70% 28%,#ff6b8d 0 12%,transparent 13%),linear-gradient(145deg,#133647,#53317e)}.c4{background:radial-gradient(circle at 50% 35%,#eee 0 11%,#777 12% 14%,transparent 15%),linear-gradient(145deg,#07171f,#202c35)}.c5{background:radial-gradient(circle at 50% 32%,#ffcb47 0 12%,#aa561c 13% 18%,transparent 19%),linear-gradient(145deg,#751411,#250507)}.c6{background:radial-gradient(circle at 48% 35%,#f5ddc1 0 11%,#aa4f52 12% 18%,transparent 19%),linear-gradient(145deg,#0a2a32,#571e21)}.c7{background:radial-gradient(circle at 50% 45%,var(--yellow) 0 20%,transparent 21%),linear-gradient(145deg,#001f53,#122e68)}.c8{background:radial-gradient(circle at 52% 38%,#eee 0 14%,#222 15% 20%,transparent 21%),linear-gradient(145deg,#0e4c38,#212d18)}.c9{background:radial-gradient(circle at 50% 45%,#f2e4f8 0 15%,#ff66a5 16% 23%,transparent 24%),linear-gradient(145deg,#43a8ee,#6b37d3)}.c10{background:radial-gradient(circle at 53% 38%,#f0bb3a 0 13%,#775118 14% 17%,transparent 18%),linear-gradient(145deg,#285b33,#12311a)}.c11{background:radial-gradient(circle at 52% 38%,#f0f0e6 0 13%,#222 14% 18%,transparent 19%),linear-gradient(145deg,#0b452e,#412e10)}.c12{background:linear-gradient(145deg,#4e1d76,#1b2459 70%)}

.placeholder-view{min-height:62vh;display:grid;place-items:center}.placeholder-card{max-width:560px;text-align:center;background:#272725;border:1px solid #41413d;border-radius:16px;padding:48px 24px}.placeholder-card>span{font-size:56px}.placeholder-card h2{font-size:30px}.placeholder-card p{color:#aaa;line-height:1.6}.btn{border:0;border-radius:7px;min-height:48px;padding:0 18px;font-weight:900}.btn-yellow{background:var(--yellow);color:#282823}.full{width:100%}

.betslip{position:fixed;z-index:44;right:max(18px,calc((100vw - 960px)/2 + 18px));bottom:18px;width:min(365px,calc(100vw - 36px));background:#282826;border-radius:13px 13px 8px 8px;box-shadow:0 16px 45px #0008;border:1px solid #41413d;overflow:hidden;transform:translateY(calc(100% - 62px));transition:transform .22s ease}.betslip.open{transform:translateY(0)}.betslip-grab{height:62px;width:100%;border:0;background:linear-gradient(180deg,#ffd14c,var(--yellow));color:#292924;padding:0 18px;display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:10px;text-align:left}.betslip-grab strong{font-size:16px}.betslip-grab span{font-size:11px}.betslip-grab span b{background:#252522;color:#fff;border-radius:50%;padding:2px 6px}.betslip-grab i{font-style:normal;font-size:24px;transition:.2s}.betslip.open .betslip-grab i{transform:rotate(180deg)}.betslip-body{max-height:min(62vh,520px);overflow:auto;padding:16px}.betslip-head{display:flex;justify-content:space-between;font-weight:900;margin-bottom:12px}.betslip-head b{background:var(--yellow);color:#222;border-radius:999px;padding:2px 8px}.betslip-empty{text-align:center;color:#aaa;padding:28px 12px}.betslip-empty>span{font-size:38px;color:var(--yellow)}.betslip-empty strong{display:block;color:#fff;margin:8px 0}.betslip-empty p{margin:0}.selection-list{display:grid;gap:8px;margin-bottom:13px}.selection-item{position:relative;background:#343432;border-radius:8px;padding:11px 44px 11px 12px;display:grid;grid-template-columns:1fr auto;gap:4px 8px}.selection-item button{position:absolute;right:8px;top:8px;border:0;background:#494945;color:#fff;border-radius:50%;width:25px;height:25px}.selection-item small{grid-column:1/-1;color:#aaa;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selection-price{font-weight:900;color:var(--yellow)}.stake-label{font-size:12px;color:#aaa}.stake-row{display:flex;background:#fff;border-radius:6px;margin:6px 0 8px;overflow:hidden}.stake-row input{width:100%;border:0;background:#fff;color:#222;padding:12px;font-weight:900;outline:0}.stake-row span{color:#222;display:grid;place-items:center;padding:0 12px;font-weight:900}.quick-stakes{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.quick-stakes button{border:1px solid #555;background:#333;color:#fff;border-radius:5px;padding:7px}.bet-summary{border-top:1px solid #494944;margin-top:12px;padding-top:12px;display:grid;gap:7px}.bet-summary div{display:flex;justify-content:space-between}.bet-summary strong{color:var(--yellow)}.server-note{display:block;text-align:center;color:#777;margin-top:8px}

.bottom-nav{position:fixed;z-index:45;left:0;right:0;bottom:0;height:calc(var(--bottom-h) + var(--safe-bottom));padding-bottom:var(--safe-bottom);background:var(--yellow);display:grid;grid-template-columns:repeat(5,1fr);box-shadow:0 -5px 16px #0004}.bottom-nav button{border:0;background:transparent;color:#34342f;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}.bottom-nav button span{font-size:29px;line-height:1}.bottom-nav button small{font-size:12px}.bottom-nav button.active{background:#ffd760}

.drawer-backdrop{position:fixed;z-index:70;inset:0;background:#0009}.side-drawer,.help-drawer{position:fixed;z-index:71;top:0;bottom:0;background:#292927;box-shadow:18px 0 50px #0009;transition:transform .24s ease}.side-drawer{left:0;width:min(90vw,430px);transform:translateX(-105%);padding:20px 22px}.side-drawer.open{transform:translateX(0)}.drawer-head{display:flex;align-items:center;gap:18px;height:76px}.drawer-close,.help-close{border:0;background:transparent;color:#fff;font-size:48px;line-height:1}.drawer-brand{margin-left:auto;font-size:21px}.drawer-brand span{color:var(--yellow)}.drovia-mini{display:inline!important;margin-right:6px}.drawer-links{display:grid;gap:4px;padding-top:20px}.drawer-links button{border:0;background:transparent;color:#fff;min-height:74px;display:flex;align-items:center;gap:20px;text-align:left;font-size:19px;font-weight:750;border-radius:8px}.drawer-links button:hover{background:#33332f}.drawer-links i{font-style:normal;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--yellow);color:#2b2b26;font-size:25px}.drawer-footer{position:absolute;left:22px;right:22px;bottom:25px;border-top:1px solid #555;padding-top:18px;display:flex;gap:24px;align-items:center;font-weight:800}.drawer-footer button{margin-left:auto;border:0;background:transparent;color:#fff;font-size:30px}.help-drawer{right:0;width:min(88vw,390px);transform:translateX(105%);padding:28px}.help-drawer.open{transform:translateX(0)}.help-close{position:absolute;right:18px;top:17px}.help-drawer h2{margin:55px 0 18px}.help-drawer>button:not(.help-close){width:100%;border:0;background:transparent;color:#fff;display:flex;align-items:center;gap:15px;min-height:70px;text-align:left;font-size:18px}.help-drawer i{font-style:normal;width:46px;height:46px;border-radius:50%;background:var(--yellow);color:#252522;display:grid;place-items:center;font-weight:900}.help-drawer p{color:#999;font-size:12px;line-height:1.5;border-top:1px solid #444;padding-top:16px}

.modal-backdrop{position:fixed;z-index:90;inset:0;background:#000c;display:grid;place-items:center;padding:16px}.modal{position:relative;background:#2b2b29;border:1px solid #454540;border-radius:15px;width:min(560px,100%);max-height:88vh;overflow:auto;box-shadow:0 30px 80px #0009}.modal-close{position:absolute;right:14px;top:12px;width:40px;height:40px;border:0;background:transparent;color:#fff;font-size:31px;z-index:2}.auth-modal{padding:34px}.modal-logo{font-size:22px;color:var(--yellow);margin-bottom:22px}.modal-logo b{color:#fff}.modal-logo b span{color:var(--yellow)}.auth-modal h2{font-size:30px;margin:0 0 6px}.auth-modal>p{color:#aaa}.auth-tabs,.account-tabs{display:grid;grid-template-columns:repeat(3,1fr);background:#20201f;border-radius:8px;padding:4px;margin:22px 0}.auth-tabs{grid-template-columns:1fr 1fr}.auth-tabs button,.account-tabs button{border:0;background:transparent;color:#bbb;min-height:44px;border-radius:6px;font-weight:900}.auth-tabs button.active,.account-tabs button.active{background:var(--yellow);color:#292924}.auth-form{display:grid;gap:14px}.auth-form label{font-size:12px;color:#aaa;font-weight:800}.auth-form input{display:block;width:100%;margin-top:6px;border:1px solid #50504b;border-radius:7px;background:#20201f;color:#fff;padding:13px}.form-message{min-height:22px;color:#ff827c;margin-top:10px;font-size:13px}
.account-modal{width:min(650px,100%)}.account-balance-banner{background:var(--yellow);color:#242421;min-height:92px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;font-size:18px}.account-balance-banner strong{font-size:24px}.account-profile{display:flex;align-items:center;gap:13px;padding:20px 26px 0}.account-profile h2{margin:0}.account-profile p{margin:3px 0;color:#aaa}.avatar{width:52px;height:52px;border-radius:50%;background:#444;color:var(--yellow);display:grid;place-items:center;font-size:23px;font-weight:900}.account-tabs{margin:18px 26px}.account-content{padding:0 26px 16px;min-height:180px}.logout-row{width:100%;border:0;border-top:1px solid #454541;background:transparent;color:#fff;min-height:68px;text-align:left;padding:0 28px;font-size:17px}.logout-row span{margin-right:12px}.history-list{display:grid;gap:10px}.history-card{background:#222220;border-radius:8px;padding:13px;display:flex;justify-content:space-between;gap:12px}.history-card h4{margin:0 0 5px}.history-card p{margin:0;color:#aaa;font-size:12px;line-height:1.5}.status{font-size:10px;padding:4px 7px;border-radius:999px;background:#555}.status.WON{background:#1b693b}.status.LOST{background:#773232}.status.PENDING{background:#68591b}.tx-amount.plus{color:#5fdb8b}.tx-amount.minus{color:#ff7771}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.admin-stat{background:#222;border-radius:8px;padding:12px}.admin-stat small{color:#888}.admin-stat strong{display:block;font-size:22px;margin-top:5px}.admin-table{overflow:auto}.admin-table table{width:100%;border-collapse:collapse;font-size:12px}.admin-table th,.admin-table td{padding:9px;border-bottom:1px solid #444;text-align:left}.mini-btn{border:1px solid #555;background:#333;color:#fff;border-radius:5px;padding:6px 8px}.admin-actions{display:flex;gap:5px}
.success-modal{text-align:center;padding:34px}.success-check{width:70px;height:70px;border-radius:50%;background:var(--yellow);color:#262622;display:grid;place-items:center;margin:0 auto 16px;font-size:36px;font-weight:900}.success-modal small{color:var(--yellow);font-weight:900}.ticket-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:18px 0}.ticket-summary div{background:#222;border-radius:7px;padding:11px}.ticket-summary span{display:block;color:#888;font-size:10px}.ticket-summary strong{display:block;margin-top:3px}.toast-stack{position:fixed;z-index:110;top:106px;right:14px;display:grid;gap:8px}.toast{background:#30302d;border:1px solid #555;color:#fff;padding:12px 14px;border-radius:8px;box-shadow:0 10px 30px #0008;max-width:330px}.toast.error{border-color:#93413d}.legal-footer{text-align:center;color:#696965;font-size:11px;padding:30px 15px 80px}

body.light{--bg:#e9e9e9;--panel:#fff;--panel-2:#eee;--panel-3:#ddd;--text:#222;--muted:#666}.light .app-main{color:#222}.light .leagues-panel,.light .quick-actions,.light .main-tabs,.light .sport-tools{box-shadow:0 1px 3px #0002}.light .section-heading h1,.light .section-heading h2{color:#222}.light .legal-footer{color:#777}

@media (min-width:760px){
  :root{--header-h:84px}.app-main{padding-left:24px;padding-right:24px}.promo-banner{margin-left:0;margin-right:0;border-radius:0 0 14px 14px}.casino-grid{grid-template-columns:repeat(4,1fr)}.events-list{grid-template-columns:1fr 1fr}.event-card:first-child:last-child{grid-column:1/-1}.bottom-nav{max-width:760px;left:50%;right:auto;transform:translateX(-50%);border-radius:13px 13px 0 0;overflow:hidden}.betslip{bottom:96px}.game-card{flex-basis:210px}
}
@media (min-width:1050px){
  body{padding-bottom:0}.bottom-nav{display:none}.betslip{position:sticky;float:right;top:100px;bottom:auto;margin-right:calc((100vw - 1300px)/2);width:330px;transform:none}.betslip-grab{display:none}.betslip-body{max-height:700px}.app-main{max-width:950px;margin-left:calc((100vw - 1300px)/2);margin-right:350px}.app-header{padding-left:max(28px,calc((100vw - 1300px)/2));padding-right:max(28px,calc((100vw - 1300px)/2))}.casino-grid{grid-template-columns:repeat(4,1fr)}.legal-footer{padding-bottom:30px}
}
@media (max-width:520px){
  :root{--header-h:82px;--bottom-h:74px}.app-header{padding:0 10px;gap:6px}.header-icon{width:45px}.help-shortcut{min-width:42px}.help-shortcut small{font-size:10px}.help-headset{width:29px;height:29px;border-width:4px}.drovia-symbol{width:54px;height:54px}.balance-chip{min-width:124px;height:50px;font-size:15px;padding:0 9px;border-width:2px}.message-badge{display:none}.app-main{padding:0 10px 34px}.promo-banner{margin-left:-10px;margin-right:-10px;min-height:126px;padding:16px}.promo-banner>div:first-child{max-width:68%}.promo-banner strong{font-size:26px}.promo-banner span{font-size:11px}.promo-art b{font-size:54px}.main-tab{font-size:16px;min-height:58px}.sport-tools{padding:6px}.tool-btn{height:60px;font-size:27px}.events-list{gap:11px}.event-league{font-size:14px;min-height:52px}.event-core{padding:14px 10px 12px}.team-badge{width:50px;height:50px}.team span{font-size:15px}.odd-btn{min-height:65px}.odd-btn strong{font-size:17px}.odd-btn .odd-name{font-size:12px}.quick-actions{padding:8px;gap:6px}.quick-actions button{min-height:90px}.quick-actions b{font-size:11px}.leagues-panel{padding:12px}.leagues-title strong{font-size:14px}.leagues-title>span{font-size:12px}.sport-btn{min-width:88px;max-width:88px}.sport-btn>span:first-child{width:50px;height:50px}.casino-grid{gap:9px}.casino-tile{border-radius:7px}.casino-tile em{font-size:7px}.casino-tile>span{width:29px;height:29px}.casino-filters{grid-template-columns:1fr 1fr 48px}.casino-filters button{font-size:11px;min-height:54px;padding:0 8px}.bottom-nav button span{font-size:24px}.bottom-nav button small{font-size:10px}.betslip{right:8px;bottom:calc(var(--bottom-h) + 6px);width:calc(100vw - 16px)}.betslip-grab strong{font-size:14px}.account-balance-banner{padding:0 20px}.account-balance-banner strong{font-size:18px}.admin-grid{grid-template-columns:1fr 1fr}
}

/* =========================================================
   DROVIABET RESPONSIVE LAYER v4
   Ajustes para móviles pequeños, tablets, escritorio,
   landscape, safe areas y navegadores móviles modernos.
   ========================================================= */
:root{
  --safe-top:env(safe-area-inset-top,0px);
  --safe-right:env(safe-area-inset-right,0px);
  --safe-left:env(safe-area-inset-left,0px);
  --viewport-h:100dvh;
  --page-gutter:clamp(10px,2vw,24px);
}

html{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

body{
  width:100%;
  min-width:280px;
  min-height:var(--viewport-h,100dvh);
  overflow-x:hidden;
}

img,svg,video,canvas{max-width:100%;height:auto}
button,input,select,textarea{max-width:100%}
.app-main,.view-section,.events-zone,.events-list,.event-card,.event-core,.event-match,.team,.leagues-panel,.casino-preview,.casino-grid{min-width:0}

.app-header{
  height:calc(var(--header-h) + var(--safe-top));
  padding-top:var(--safe-top);
  padding-left:max(var(--page-gutter),var(--safe-left));
  padding-right:max(var(--page-gutter),var(--safe-right));
}

.app-main{
  width:100%;
  padding-left:var(--page-gutter);
  padding-right:var(--page-gutter);
}

.promo-banner{
  margin-left:calc(var(--page-gutter) * -1);
  margin-right:calc(var(--page-gutter) * -1);
}

.event-league,.event-date,.team span,.odd-btn .odd-name,.selection-item small{
  overflow-wrap:anywhere;
}

/* El cupón siempre queda por encima de la navegación móvil. */
.betslip{
  right:max(var(--page-gutter),var(--safe-right));
  bottom:calc(var(--bottom-h) + var(--safe-bottom) + 10px);
  max-width:calc(100vw - max(var(--page-gutter),var(--safe-left)) - max(var(--page-gutter),var(--safe-right)));
}
.betslip-body{
  max-height:min(62dvh,calc(var(--viewport-h,100dvh) - var(--header-h) - var(--bottom-h) - 100px));
  overscroll-behavior:contain;
}

.bottom-nav{
  padding-left:var(--safe-left);
  padding-right:var(--safe-right);
}
.bottom-nav button{min-height:44px}

.side-drawer,.help-drawer{
  height:var(--viewport-h,100dvh);
  max-height:var(--viewport-h,100dvh);
  overflow-y:auto;
  overscroll-behavior:contain;
  padding-top:max(20px,var(--safe-top));
  padding-bottom:max(20px,var(--safe-bottom));
}
.side-drawer{display:flex;flex-direction:column;padding-left:max(22px,var(--safe-left));padding-right:22px}
.drawer-head{flex:0 0 auto}
.drawer-links{flex:1 0 auto}
.drawer-footer{position:static;margin-top:auto;flex:0 0 auto;padding-bottom:4px}
.help-drawer{padding-right:max(28px,var(--safe-right));padding-left:28px}

.modal-backdrop{
  min-height:var(--viewport-h,100dvh);
  padding-top:max(12px,var(--safe-top));
  padding-right:max(12px,var(--safe-right));
  padding-bottom:max(12px,var(--safe-bottom));
  padding-left:max(12px,var(--safe-left));
}
.modal{
  max-height:calc(var(--viewport-h,100dvh) - max(24px,var(--safe-top)) - max(24px,var(--safe-bottom)));
  overscroll-behavior:contain;
}

.toast-stack{
  top:calc(var(--header-h) + var(--safe-top) + 12px);
  right:max(10px,var(--safe-right));
  left:auto;
  max-width:calc(100vw - 20px - var(--safe-left) - var(--safe-right));
}
.toast{max-width:min(330px,calc(100vw - 20px - var(--safe-left) - var(--safe-right)))}

/* iOS evita zoom automático al enfocar inputs con 16px o más. */
@media (pointer:coarse){
  input,select,textarea{font-size:16px}
  button{touch-action:manipulation}
}

/* Teléfonos muy estrechos: 280px - 359px */
@media (max-width:359px){
  :root{--header-h:70px;--bottom-h:66px;--page-gutter:8px}
  .app-header{gap:4px}
  .header-icon{width:42px;height:42px;padding:7px}
  .header-icon span{height:3px}
  .help-shortcut{display:none}
  .drovia-symbol{width:44px;height:44px}
  .balance-chip{min-width:106px;height:44px;padding:0 7px;font-size:12px;border-width:2px;gap:5px}
  .balance-caret{font-size:22px}
  .promo-banner{min-height:112px;padding:14px 12px}
  .promo-banner>div:first-child{max-width:100%}
  .promo-banner strong{font-size:22px}
  .promo-banner span{font-size:10px}
  .promo-art,.promo-circles{display:none}
  .main-tab{min-height:50px;font-size:13px;padding:0 4px}
  .sport-tools{gap:2px;padding:5px}
  .tool-btn{height:52px;font-size:23px}
  .tool-btn.live b{font-size:10px;padding:4px}
  .section-heading{gap:8px}
  .section-heading h1,.section-heading h2{font-size:18px}
  .provider-pill{font-size:9px;padding:6px 7px;max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .event-league{min-height:46px;padding:0 10px;font-size:12px}
  .event-core{padding:11px 8px}
  .event-match{gap:5px}
  .team-badge{width:42px;height:42px;font-size:17px;margin-bottom:6px}
  .team span{font-size:12px;line-height:1.2;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:29px}
  .versus strong{font-size:17px}.versus small{font-size:10px}
  .market-label{margin-top:11px}
  .odds-grid{gap:4px}
  .odd-btn{min-height:58px;padding:4px}
  .odd-btn strong{font-size:15px}
  .odd-btn .odd-name{font-size:10px}
  .quick-actions{grid-template-columns:1fr 1fr;gap:6px;padding:7px}
  .quick-actions button{min-height:74px}
  .quick-actions button span{font-size:23px}
  .casino-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .casino-filters{grid-template-columns:1fr 1fr 42px}
  .casino-filters button{min-height:48px;padding:0 6px;font-size:9px}
  .casino-filters button:last-child{font-size:21px}
  .game-card{flex-basis:150px;height:205px}
  .game-card b{font-size:20px}
  .bottom-nav button span{font-size:21px}
  .bottom-nav button small{font-size:8.5px;white-space:nowrap}
  .betslip{width:calc(100vw - 16px);right:8px}
  .betslip-grab{height:56px;padding:0 10px;gap:6px}
  .betslip-grab strong{font-size:12px}
  .betslip-grab span{font-size:9px}
  .auth-modal{padding:24px 16px}
  .auth-modal h2{font-size:24px}
  .account-balance-banner{min-height:76px;padding:0 14px;font-size:14px}
  .account-balance-banner strong{font-size:16px}
  .account-profile{padding:15px 14px 0}
  .account-tabs{margin:14px;padding:3px}
  .account-tabs button{font-size:11px;padding:0 4px}
  .account-content{padding:0 14px 14px}
  .ticket-summary{grid-template-columns:1fr}
}

/* Teléfonos normales y grandes */
@media (min-width:360px) and (max-width:599px){
  :root{--page-gutter:10px}
  .promo-banner>div:first-child{max-width:72%}
  .event-match{gap:7px}
  .team span{font-size:clamp(13px,3.7vw,15px)}
  .casino-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bottom-nav button small{font-size:clamp(9px,2.6vw,11px)}
}

/* Tablets pequeñas / teléfonos plegables abiertos */
@media (min-width:600px) and (max-width:759px){
  :root{--page-gutter:18px}
  .app-main{max-width:720px}
  .promo-banner{margin-left:0;margin-right:0;border-radius:0 0 14px 14px}
  .casino-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .quick-actions button{min-height:96px}
  .betslip{width:min(420px,calc(100vw - 36px))}
}

/* Tablets: 760px - 1049px */
@media (min-width:760px) and (max-width:1049px){
  :root{--page-gutter:22px}
  .app-main{max-width:980px}
  .events-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .event-card:first-child:last-child{grid-column:1/-1}
  .casino-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .bottom-nav{width:min(820px,100%);max-width:none}
  .betslip{width:min(430px,calc(100vw - 44px))}
  .modal{width:min(680px,100%)}
  .account-modal{width:min(760px,100%)}
}

/* Corrige el viejo layout desktop entre 1050 y 1179px: sigue siendo modo tablet. */
@media (min-width:1050px) and (max-width:1179px){
  body{padding-bottom:calc(var(--bottom-h) + var(--safe-bottom))}
  .bottom-nav{display:grid;max-width:900px;left:50%;right:auto;transform:translateX(-50%);border-radius:13px 13px 0 0;overflow:hidden}
  .app-main{width:100%;max-width:1080px;margin:0 auto;padding-left:24px;padding-right:24px}
  .app-header{padding-left:28px;padding-right:28px}
  .betslip{position:fixed;float:none;top:auto;right:24px;bottom:calc(var(--bottom-h) + var(--safe-bottom) + 12px);margin-right:0;width:420px;transform:translateY(calc(100% - 62px))}
  .betslip.open{transform:translateY(0)}
  .betslip-grab{display:grid}
  .betslip-body{max-height:min(64dvh,620px)}
  .legal-footer{padding-bottom:calc(var(--bottom-h) + 28px)}
}

/* Escritorio y laptop. El contenido y el cupón nunca se pisan. */
@media (min-width:1180px){
  :root{--header-h:84px;--page-gutter:24px}
  body{padding-bottom:0}
  .bottom-nav{display:none}
  .app-header{
    padding-left:max(28px,calc((100vw - 1400px)/2 + 28px));
    padding-right:max(28px,calc((100vw - 1400px)/2 + 28px));
  }
  .app-main{
    width:min(980px,calc(100vw - 410px));
    max-width:980px;
    margin-left:max(24px,calc((100vw - 1400px)/2));
    margin-right:0;
    padding-left:24px;
    padding-right:24px;
  }
  .promo-banner{margin-left:0;margin-right:0;border-radius:0 0 14px 14px}
  .events-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .casino-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .betslip{
    position:fixed;
    float:none;
    top:calc(var(--header-h) + var(--safe-top) + 18px);
    right:max(24px,calc((100vw - 1400px)/2));
    bottom:auto;
    margin-right:0;
    width:350px;
    transform:none;
  }
  .betslip-grab{display:none}
  .betslip-body{max-height:calc(var(--viewport-h,100dvh) - var(--header-h) - var(--safe-top) - 42px)}
  .legal-footer{padding-bottom:30px}
}

/* Monitores amplios */
@media (min-width:1600px){
  .app-main{width:1020px;max-width:1020px}
  .betslip{width:370px}
  .game-card{flex-basis:220px;height:270px}
}

/* Móvil/tablet en horizontal con poca altura disponible */
@media (orientation:landscape) and (max-height:620px) and (max-width:1179px){
  :root{--header-h:62px;--bottom-h:58px}
  .app-header{gap:6px}
  .header-icon{height:44px;width:44px;padding:7px}
  .help-shortcut small{display:none}
  .help-headset{width:29px;height:29px;border-width:4px}
  .drovia-symbol{width:46px;height:46px}
  .balance-chip{height:44px;min-width:120px;font-size:13px;border-width:2px}
  .promo-banner{min-height:92px;margin-bottom:12px;padding-top:12px;padding-bottom:12px}
  .promo-banner strong{font-size:24px}
  .promo-art b{font-size:46px}
  .main-tab{min-height:48px;font-size:15px}
  .tool-btn{height:48px;font-size:22px}
  .quick-actions button{min-height:70px}
  .bottom-nav button span{font-size:21px}
  .bottom-nav button small{font-size:9px}
  .betslip-body{max-height:calc(var(--viewport-h,100dvh) - var(--header-h) - var(--bottom-h) - 80px)}
  .side-drawer,.help-drawer{padding-top:max(10px,var(--safe-top))}
  .drawer-links{grid-template-columns:1fr 1fr;column-gap:8px;padding-top:8px}
  .drawer-links button{min-height:52px;font-size:15px}
  .drawer-links i{width:38px;height:38px;font-size:18px}
  .drawer-footer{padding-top:10px}
  .modal{max-height:calc(var(--viewport-h,100dvh) - 12px)}
}

/* Cuando no hay hover real, no mover botones al tocarlos. */
@media (hover:none){
  .odd-btn:hover{transform:none;background:#f3f3f3}
  .odd-btn.active:hover{background:var(--yellow)}
}

/* Accesibilidad: respeta preferencia de menos animación. */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* =========================================================
   DROVIABET MOBILE COMPACT v5
   Escala visual reducida para que en celular se vea más
   natural, con más contenido visible y sin elementos gigantes.
   ========================================================= */
@media (max-width:599px){
  :root{
    --header-h:60px;
    --bottom-h:58px;
    --page-gutter:8px;
  }

  body{
    font-size:13px;
    line-height:1.3;
    padding-bottom:calc(var(--bottom-h) + var(--safe-bottom));
  }

  .app-header{
    gap:4px;
    border-top-width:2px;
    padding-left:max(8px,var(--safe-left));
    padding-right:max(8px,var(--safe-right));
  }
  .header-icon{width:38px;height:38px;padding:6px;gap:5px}
  .header-icon span{height:3px}
  .help-shortcut{min-width:36px;gap:1px}
  .help-shortcut small{font-size:8px}
  .help-headset{width:24px;height:24px;border-width:3px;font-size:11px}
  .drovia-symbol{width:40px;height:40px;padding:4px}
  .balance-chip{
    min-width:102px;
    max-width:118px;
    height:38px;
    padding:0 7px;
    border-width:2px;
    border-radius:8px;
    gap:4px;
    font-size:12px;
  }
  .balance-label{white-space:nowrap}
  .balance-caret{font-size:18px;margin-top:-4px}
  .message-badge{display:none}

  .app-main{padding-bottom:24px}
  .promo-banner{
    min-height:88px;
    margin-bottom:9px;
    padding:10px 12px;
  }
  .promo-banner>div:first-child{max-width:72%}
  .promo-banner small{font-size:7px;letter-spacing:.1em}
  .promo-banner strong{font-size:18px;margin:3px 0;line-height:.98}
  .promo-banner span{font-size:8.5px;line-height:1.25;display:block}
  .promo-art b{font-size:38px;margin-left:-8px}
  .promo-circles{gap:4px}
  .promo-circles i{width:30px;height:30px;border-width:2px}

  .main-tabs{margin-bottom:8px;border-radius:6px}
  .main-tab{min-height:42px;font-size:12.5px}
  .sport-tools{padding:4px;gap:2px;margin-bottom:8px;border-radius:6px}
  .tool-btn{height:42px;font-size:20px}
  .tool-btn.live b{font-size:8px;padding:3px 5px}

  .events-zone{margin-top:6px}
  .section-heading{gap:8px;margin:10px 1px 7px}
  .section-heading small{font-size:7.5px;letter-spacing:.08em}
  .section-heading h1,.section-heading h2{font-size:15px;margin-top:1px}
  .provider-pill{font-size:7.5px;padding:4px 6px;max-width:42%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .text-link{font-size:11px;padding:4px}

  .events-list{gap:8px}
  .events-empty{padding:22px 12px;border-radius:9px}
  .loading-events{height:180px;border-radius:9px}
  .event-card{border-radius:9px}
  .event-league{min-height:38px;padding:0 10px;font-size:11px}
  .event-league .league-ball{font-size:15px}
  .event-core{padding:9px 8px 8px}
  .event-date{font-size:9px;margin-bottom:7px}
  .event-match{gap:5px}
  .team-badge{width:36px;height:36px;margin-bottom:4px;border-width:1px;font-size:14px}
  .team span{font-size:11px;line-height:1.15}
  .versus strong{font-size:14px}
  .versus small{font-size:8px}
  .market-label{font-size:8px;margin:8px 0 4px}
  .odds-grid{gap:4px}
  .odd-btn{min-height:48px;padding:3px;border-radius:4px}
  .odd-btn strong{font-size:13px}
  .odd-btn .odd-name{font-size:8.5px;margin-top:1px}

  .quick-actions{gap:5px;padding:6px;margin:8px 0;border-radius:8px}
  .quick-actions button{min-height:58px;gap:4px;border-radius:6px}
  .quick-actions button span{font-size:19px}
  .quick-actions button:nth-child(2) span{font-size:13px}
  .quick-actions b{font-size:8.5px}

  .leagues-panel{padding:8px;margin-bottom:9px;border-radius:8px}
  .leagues-title{gap:7px;margin-bottom:7px}
  .leagues-title strong{font-size:11px}
  .leagues-title>span{font-size:9px}
  .leagues-title i{font-size:8px;padding:1px 5px}
  .leagues-title button{font-size:16px}
  .league-strip{gap:7px;padding-bottom:4px}
  .sport-btn{min-width:68px;max-width:68px;gap:4px}
  .sport-btn>span:first-child{width:38px;height:38px;font-size:18px}
  .sport-btn>span:last-child{font-size:8.5px}
  .provider-note{font-size:8.5px;margin-top:3px}
  .skeleton-list{min-height:50px}

  .casino-preview{margin:9px 0 12px}
  .game-rail{gap:8px;padding:2px 0 5px}
  .game-card{flex:0 0 126px;height:170px;border-radius:12px;padding:8px}
  .game-card>span{top:7px;left:7px;font-size:6.5px;padding:3px 5px}
  .game-card b{left:9px;bottom:30px;font-size:16px}
  .game-card small{left:9px;bottom:9px;font-size:8px}

  .casino-filters{grid-template-columns:1fr 1fr 40px;margin:12px 0;border-radius:5px}
  .casino-filters button{min-height:42px;padding:0 6px;font-size:8.5px}
  .casino-filters button:last-child{font-size:18px}
  .casino-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .casino-tile{border-radius:6px;padding:5px}
  .casino-tile em{left:5px;top:5px;font-size:6px;padding:3px 4px}
  .casino-tile strong{font-size:10px;margin-top:28%}
  .casino-tile>span{right:5px;bottom:5px;width:24px;height:24px;font-size:15px}

  .placeholder-card{padding:28px 16px;border-radius:11px}
  .placeholder-card>span{font-size:38px}
  .placeholder-card h2{font-size:22px;margin:10px 0}
  .placeholder-card p{font-size:11px;line-height:1.45}
  .btn{min-height:42px;padding:0 13px;font-size:12px}

  .betslip{
    right:max(8px,var(--safe-right));
    width:calc(100vw - max(16px,calc(var(--safe-left) + var(--safe-right) + 16px)));
    bottom:calc(var(--bottom-h) + var(--safe-bottom) + 6px);
    border-radius:10px 10px 7px 7px;
    transform:translateY(calc(100% - 48px));
  }
  .betslip-grab{height:48px;padding:0 10px;gap:5px}
  .betslip-grab strong{font-size:11px}
  .betslip-grab span{font-size:8px}
  .betslip-grab i{font-size:18px}
  .betslip-body{padding:10px;max-height:min(58dvh,calc(var(--viewport-h,100dvh) - var(--header-h) - var(--bottom-h) - 78px))}
  .betslip-head{margin-bottom:8px;font-size:11px}
  .betslip-empty{padding:18px 8px;font-size:10px}
  .betslip-empty>span{font-size:28px}
  .selection-list{gap:5px;margin-bottom:8px}
  .selection-item{padding:8px 34px 8px 9px;font-size:10px}
  .selection-item button{width:22px;height:22px;font-size:11px}
  .selection-item small{font-size:8px}
  .stake-label{font-size:9px}
  .stake-row input{padding:9px}
  .stake-row span{padding:0 9px;font-size:10px}
  .quick-stakes{gap:4px}
  .quick-stakes button{padding:5px;font-size:10px}
  .bet-summary{margin-top:8px;padding-top:8px;gap:4px;font-size:10px}
  .server-note{font-size:8px;margin-top:5px}

  .bottom-nav{height:calc(var(--bottom-h) + var(--safe-bottom))}
  .bottom-nav button{gap:1px}
  .bottom-nav button span{font-size:19px}
  .bottom-nav button small{font-size:8px;white-space:nowrap}

  .side-drawer{width:min(82vw,310px);padding-left:max(14px,var(--safe-left));padding-right:14px}
  .drawer-head{height:52px;gap:10px}
  .drawer-close,.help-close{font-size:34px}
  .drawer-brand{font-size:15px}
  .drawer-links{gap:0;padding-top:8px}
  .drawer-links button{min-height:50px;gap:11px;font-size:13px;border-radius:6px}
  .drawer-links i{width:36px;height:36px;font-size:17px}
  .drawer-footer{gap:14px;padding-top:10px;font-size:10px}
  .drawer-footer button{font-size:21px}

  .help-drawer{width:min(84vw,310px);padding-left:16px;padding-right:max(16px,var(--safe-right))}
  .help-drawer h2{font-size:18px;margin:38px 0 10px}
  .help-drawer>button:not(.help-close){min-height:50px;gap:10px;font-size:13px}
  .help-drawer i{width:34px;height:34px;font-size:14px}
  .help-drawer p{font-size:9px;padding-top:10px}

  .modal-backdrop{padding:8px}
  .modal{border-radius:10px}
  .modal-close{right:7px;top:6px;width:32px;height:32px;font-size:25px}
  .auth-modal{padding:20px 14px}
  .modal-logo{font-size:16px;margin-bottom:12px}
  .auth-modal h2{font-size:21px;margin-bottom:4px}
  .auth-modal>p{font-size:10px;margin:5px 0}
  .auth-tabs,.account-tabs{margin:12px 0;padding:3px}
  .auth-tabs button,.account-tabs button{min-height:36px;font-size:10px}
  .auth-form{gap:9px}
  .auth-form label{font-size:9px}
  .auth-form input{margin-top:4px;padding:9px;font-size:16px}
  .form-message{font-size:10px;min-height:16px;margin-top:6px}

  .account-balance-banner{min-height:58px;padding:0 14px;font-size:11px}
  .account-balance-banner strong{font-size:13px}
  .account-profile{gap:9px;padding:12px 14px 0}
  .avatar{width:38px;height:38px;font-size:16px}
  .account-profile h2{font-size:16px}
  .account-profile p{font-size:9px}
  .account-tabs{margin:10px 14px}
  .account-content{padding:0 14px 10px;min-height:120px;font-size:10px}
  .logout-row{min-height:48px;padding:0 15px;font-size:12px}
  .history-list{gap:6px}
  .history-card{padding:8px;font-size:10px}
  .history-card p{font-size:9px}
  .admin-grid{grid-template-columns:1fr 1fr;gap:5px}
  .admin-stat{padding:8px}
  .admin-stat strong{font-size:16px}
  .admin-table table{font-size:9px}
  .admin-table th,.admin-table td{padding:6px}

  .success-modal{padding:22px 14px}
  .success-check{width:50px;height:50px;font-size:26px;margin-bottom:10px}
  .ticket-summary{gap:5px;margin:12px 0}
  .ticket-summary div{padding:8px}
  .legal-footer{font-size:8px;padding:18px 10px calc(var(--bottom-h) + 16px)}

  .toast-stack{top:calc(var(--header-h) + var(--safe-top) + 7px);right:max(7px,var(--safe-right))}
  .toast{padding:8px 10px;border-radius:6px;font-size:10px;max-width:min(260px,calc(100vw - 14px - var(--safe-left) - var(--safe-right)))}
}

/* Extra compacto para equipos muy estrechos. */
@media (max-width:359px){
  :root{--header-h:56px;--bottom-h:54px;--page-gutter:6px}
  .help-shortcut{display:none}
  .drovia-symbol{width:37px;height:37px}
  .balance-chip{min-width:94px;max-width:104px;height:36px;font-size:11px}
  .promo-banner{min-height:78px;padding:8px 9px}
  .promo-banner strong{font-size:16px}
  .promo-art{display:none}
  .main-tab{min-height:38px;font-size:11px}
  .tool-btn{height:38px;font-size:18px}
  .event-league{min-height:35px;font-size:10px}
  .team-badge{width:32px;height:32px;font-size:12px}
  .team span{font-size:9.5px;min-height:0}
  .odd-btn{min-height:44px}
  .odd-btn strong{font-size:12px}
  .odd-btn .odd-name{font-size:7.5px}
  .quick-actions button{min-height:52px}
  .sport-btn{min-width:61px;max-width:61px}
  .sport-btn>span:first-child{width:34px;height:34px;font-size:16px}
  .game-card{flex-basis:112px;height:152px}
  .casino-grid{gap:5px}
  .bottom-nav button span{font-size:17px}
  .bottom-nav button small{font-size:7px}
  .betslip{right:6px;width:calc(100vw - 12px);transform:translateY(calc(100% - 44px))}
  .betslip-grab{height:44px;padding:0 8px}
}

/* =========================================================
   DROVIABET COMPACT DENSITY v6
   Mantiene el contenido movil principal como en v5, compacta
   especialmente el menu hamburguesa y reduce tablet/escritorio.
   ========================================================= */

/* Menu hamburguesa: filas reales compactas, sin estirarse para
   ocupar toda la altura disponible. */
.side-drawer{
  width:min(82vw,330px);
  padding-left:max(14px,var(--safe-left));
  padding-right:14px;
}
.drawer-head{
  height:50px;
  gap:9px;
}
.drawer-close{
  font-size:32px;
}
.drawer-brand{
  font-size:14px;
}
.drawer-links{
  flex:0 0 auto;
  align-content:start;
  grid-auto-rows:max-content;
  gap:2px;
  padding-top:6px;
}
.drawer-links button{
  min-height:42px;
  height:42px;
  gap:9px;
  padding:2px 5px;
  font-size:12.5px;
  line-height:1.15;
  border-radius:6px;
}
.drawer-links i{
  flex:0 0 30px;
  width:30px;
  height:30px;
  font-size:14px;
}
.drawer-footer{
  margin-top:auto;
  gap:10px;
  padding-top:8px;
  font-size:9.5px;
}
.drawer-footer button{
  font-size:19px;
}

/* En celular se conserva la densidad v5 del sitio y solo se hace
   el drawer aun mas compacto. */
@media (max-width:599px){
  .side-drawer{
    width:min(76vw,276px);
    padding-left:max(10px,var(--safe-left));
    padding-right:10px;
    padding-top:max(8px,var(--safe-top));
    padding-bottom:max(10px,var(--safe-bottom));
  }
  .drawer-head{height:42px;gap:7px}
  .drawer-close{font-size:27px;width:30px;padding:0}
  .drawer-brand{font-size:12px}
  .drawer-links{padding-top:3px;gap:1px;flex:0 0 auto;align-content:start;grid-auto-rows:max-content}
  .drawer-links button{
    min-height:36px;
    height:36px;
    gap:7px;
    padding:1px 4px;
    font-size:10.5px;
    font-weight:750;
  }
  .drawer-links i{
    flex-basis:27px;
    width:27px;
    height:27px;
    font-size:12px;
  }
  .drawer-footer{
    gap:8px;
    padding-top:6px;
    font-size:8.5px;
  }
  .drawer-footer button{font-size:17px}
}

/* Tablet y escritorio: escala mas contenida para mostrar mas
   informacion sin perder legibilidad. */
@media (min-width:600px){
  :root{
    --header-h:70px;
    --bottom-h:64px;
    --page-gutter:16px;
  }
  body{font-size:14px;line-height:1.35}

  .app-header{gap:8px;border-top-width:2px}
  .header-icon{width:42px;height:42px;padding:7px;gap:5px}
  .header-icon span{height:3px}
  .help-shortcut{min-width:44px;gap:2px}
  .help-shortcut small{font-size:10px}
  .help-headset{width:27px;height:27px;border-width:3px;font-size:12px}
  .drovia-symbol{width:48px;height:48px;padding:5px}
  .balance-chip{min-width:132px;height:44px;padding:0 10px;border-width:2px;border-radius:9px;gap:6px;font-size:14px}
  .balance-caret{font-size:22px;margin-top:-4px}
  .message-badge{right:-6px;top:-7px;min-width:20px;height:20px;font-size:10px}

  .app-main{max-width:900px;padding-bottom:28px}
  .promo-banner{min-height:108px;margin-bottom:12px;padding:14px 20px}
  .promo-banner strong{font-size:clamp(21px,3.6vw,34px);margin:4px 0}
  .promo-banner small{font-size:9px}
  .promo-banner span{font-size:11px}
  .promo-art b{font-size:54px}
  .promo-circles i{width:38px;height:38px;border-width:2px}

  .main-tabs{margin-bottom:10px;border-radius:7px}
  .main-tab{min-height:48px;font-size:15px}
  .sport-tools{padding:5px;margin-bottom:10px;border-radius:7px}
  .tool-btn{height:50px;font-size:23px}
  .tool-btn.live b{font-size:10px;padding:3px 6px}

  .section-heading{margin:12px 2px 8px}
  .section-heading small{font-size:9px}
  .section-heading h1,.section-heading h2{font-size:18px}
  .provider-pill{font-size:9px;padding:5px 8px}

  .events-list{gap:10px}
  .event-card{border-radius:10px}
  .event-league{min-height:43px;padding:0 12px;font-size:13px}
  .event-league .league-ball{font-size:17px}
  .event-core{padding:12px 12px 10px}
  .event-date{font-size:10px;margin-bottom:9px}
  .event-match{gap:7px}
  .team-badge{width:43px;height:43px;margin-bottom:5px;font-size:16px;border-width:1px}
  .team span{font-size:13px}
  .versus strong{font-size:16px}
  .versus small{font-size:9px}
  .market-label{font-size:9px;margin:10px 0 5px}
  .odds-grid{gap:5px}
  .odd-btn{min-height:52px;padding:4px}
  .odd-btn strong{font-size:14px}
  .odd-btn .odd-name{font-size:10px}

  .quick-actions{padding:8px;gap:6px;margin:10px 0}
  .quick-actions button{min-height:70px;gap:5px}
  .quick-actions button span{font-size:22px}
  .quick-actions button:nth-child(2) span{font-size:14px}
  .quick-actions b{font-size:10px}

  .leagues-panel{padding:10px;margin-bottom:12px}
  .leagues-title{gap:8px;margin-bottom:8px}
  .leagues-title strong{font-size:13px}
  .leagues-title>span{font-size:10px}
  .leagues-title button{font-size:17px}
  .league-strip{gap:8px;padding-bottom:5px}
  .sport-btn{min-width:76px;max-width:76px;gap:4px}
  .sport-btn>span:first-child{width:41px;height:41px;font-size:20px}
  .sport-btn>span:last-child{font-size:9px}

  .casino-preview{margin:12px 0 15px}
  .game-rail{gap:10px}
  .game-card{flex-basis:155px;height:205px;padding:9px}
  .game-card b{font-size:18px}
  .game-card small{font-size:9px}
  .casino-filters{grid-template-columns:1fr 1fr 44px;margin:16px 0}
  .casino-filters button{min-height:46px;padding:0 8px;font-size:10px}
  .casino-filters button:last-child{font-size:20px}
  .casino-grid{gap:9px}
  .casino-tile{padding:6px}
  .casino-tile em{left:6px;top:6px;font-size:7px;padding:3px 5px}
  .casino-tile>span{width:26px;height:26px;font-size:16px}

  .bottom-nav button span{font-size:22px}
  .bottom-nav button small{font-size:9px}

  .betslip{width:min(310px,calc(100vw - 32px));transform:translateY(calc(100% - 50px))}
  .betslip-grab{height:50px;padding:0 12px}
  .betslip-grab strong{font-size:12px}
  .betslip-grab span{font-size:9px}
  .betslip-body{padding:11px}

  .side-drawer{width:min(70vw,300px)}
  .help-drawer{width:min(70vw,300px);padding:18px}
  .help-drawer h2{font-size:19px;margin:42px 0 11px}
  .help-drawer>button:not(.help-close){min-height:44px;gap:9px;font-size:12px}
  .help-drawer i{width:31px;height:31px;font-size:13px}
  .help-drawer p{font-size:9px}

  .modal{width:min(500px,100%)}
  .auth-modal{padding:24px}
  .auth-modal h2{font-size:23px}
  .modal-logo{font-size:17px;margin-bottom:14px}
  .auth-tabs,.account-tabs{margin:14px 0}
  .auth-tabs button,.account-tabs button{min-height:38px;font-size:11px}
  .auth-form{gap:10px}
  .auth-form input{padding:10px}
  .account-balance-banner{min-height:68px;padding:0 18px;font-size:13px}
  .account-balance-banner strong{font-size:17px}
  .account-profile{padding:14px 18px 0}
  .avatar{width:42px;height:42px;font-size:17px}
  .account-tabs{margin:12px 18px}
  .account-content{padding:0 18px 12px;min-height:145px}
  .logout-row{min-height:52px;padding:0 18px;font-size:13px}
}

/* Tablet: dos columnas sin agrandar tarjetas. */
@media (min-width:760px) and (max-width:1049px){
  :root{--header-h:70px}
  .app-main{padding-left:18px;padding-right:18px;max-width:860px}
  .events-list{grid-template-columns:1fr 1fr}
  .bottom-nav{max-width:680px}
  .betslip{bottom:78px}
  .game-card{flex-basis:165px}
}

/* Escritorio: conservar layout lateral, pero con escala mas densa. */
@media (min-width:1050px){
  .app-main{max-width:860px;margin-left:calc((100vw - 1220px)/2);margin-right:320px}
  .app-header{padding-left:max(22px,calc((100vw - 1220px)/2));padding-right:max(22px,calc((100vw - 1220px)/2))}
  .betslip{top:82px;width:300px;margin-right:calc((100vw - 1220px)/2)}
  .betslip-body{max-height:620px}
  .casino-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* =========================================================
   DroviaBet v3 · Panel Administrador / Cajero
   ========================================================= */
.account-modal{width:min(940px,calc(100vw - 28px))}
.account-tabs{grid-template-columns:repeat(auto-fit,minmax(86px,1fr))}
.account-role{display:inline-flex;margin-top:5px;padding:3px 7px;border-radius:999px;background:#3b3b37;color:var(--yellow);font-size:9px;font-weight:900;letter-spacing:.5px}
.manager-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 12px}.manager-title small,.manager-section-head small{display:block;color:#8d8d86;font-size:9px;font-weight:900;letter-spacing:.8px}.manager-title h3{margin:2px 0 0;font-size:19px}.manager-badge{border:1px solid #5a5640;background:#312f23;color:var(--yellow);border-radius:999px;padding:5px 9px;font-size:9px;font-weight:900}.manager-stats{grid-template-columns:repeat(6,1fr);margin-bottom:12px}.manager-stats .admin-stat{min-width:0}.manager-stats .admin-stat strong{font-size:16px;overflow:hidden;text-overflow:ellipsis}.manager-section{background:#252523;border:1px solid #3c3c38;border-radius:10px;padding:11px;margin:10px 0}.manager-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.manager-section-head h4{margin:2px 0 0;font-size:14px}.manager-section-head>span{display:grid;place-items:center;min-width:24px;height:24px;border-radius:999px;background:#373733;color:#ddd;font-size:10px;font-weight:900}.manager-form-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr auto;gap:7px}.manager-form-grid.five{grid-template-columns:1fr 1.2fr 1fr 1fr auto}.manager-form-grid input,.manager-form-grid select,.assign-cashier select{width:100%;min-width:0;border:1px solid #4b4b46;border-radius:6px;background:#1c1c1a;color:#fff;padding:8px 9px;font-size:11px;outline:none}.manager-form-grid input:focus,.manager-form-grid select:focus,.assign-cashier select:focus{border-color:var(--yellow)}.manager-form-grid .btn{min-height:34px;padding:7px 12px;font-size:10px}.admin-table td>strong{display:block}.admin-table td>small{display:block;color:#90908a;font-size:9px;margin-top:3px}.admin-table code{display:inline-block;background:#171715;color:var(--yellow);border-radius:5px;padding:4px 6px;font-size:9px;white-space:nowrap}.admin-actions{flex-wrap:wrap}.mini-btn{white-space:nowrap;cursor:pointer;font-size:9px;padding:5px 7px}.mini-btn.primary{background:var(--yellow);border-color:var(--yellow);color:#242421;font-weight:900}.mini-btn:disabled{opacity:.45;cursor:not-allowed}.assign-cashier{display:flex;gap:4px;min-width:180px}.assign-cashier select{font-size:9px;padding:5px 6px}.transfer-list{display:grid;gap:5px}.transfer-row{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#1f1f1d;border-radius:7px;padding:8px 9px}.transfer-row strong,.transfer-row small{display:block}.transfer-row strong{font-size:11px}.transfer-row small{font-size:9px;color:#989891;margin-top:2px}.transfer-row>b{font-size:11px;color:var(--yellow);white-space:nowrap}.manager-rule{background:#332f1b;border:1px solid #605622;color:#e7db97;border-radius:7px;padding:8px 9px;font-size:10px;line-height:1.35;margin:8px 0}.small-code{font-size:10px!important;color:var(--yellow)}
.status.ACTIVE{background:#225e3b}.status.SUSPENDED{background:#6e581d}.status.BLOCKED{background:#713234}

@media (max-width:900px){
  .manager-stats{grid-template-columns:repeat(3,1fr)}
  .manager-form-grid,.manager-form-grid.five{grid-template-columns:1fr 1fr}
  .manager-form-grid .btn{width:100%}
}

@media (max-width:600px){
  .account-modal{width:calc(100vw - 12px);max-height:calc(var(--viewport-h,100dvh) - 12px);border-radius:10px}
  .account-content{padding:0 10px 10px}
  .account-profile{padding:11px 12px 0;gap:8px}.account-profile h2{font-size:15px}.account-profile p{font-size:9px}.avatar{width:36px;height:36px;font-size:15px}
  .account-tabs{margin:8px 10px}.account-tabs button{min-height:32px;font-size:9px}
  .account-balance-banner{min-height:50px;padding:0 12px;font-size:11px}.account-balance-banner strong{font-size:13px}
  .manager-title{margin-bottom:7px}.manager-title h3{font-size:14px}.manager-badge{padding:4px 7px;font-size:8px}
  .manager-stats{grid-template-columns:1fr 1fr;gap:5px}.manager-stats .admin-stat{padding:7px}.manager-stats .admin-stat small{font-size:7px}.manager-stats .admin-stat strong{font-size:13px;margin-top:3px}
  .manager-section{padding:8px;margin:7px 0;border-radius:7px}.manager-section-head{margin-bottom:6px}.manager-section-head h4{font-size:12px}.manager-section-head small{font-size:7px}
  .manager-form-grid,.manager-form-grid.five{grid-template-columns:1fr}.manager-form-grid{gap:5px}.manager-form-grid input,.manager-form-grid select{font-size:16px;padding:7px 8px;min-height:35px}.manager-form-grid .btn{min-height:34px}
  .admin-table table{min-width:650px;font-size:8px}.admin-table th,.admin-table td{padding:5px}.admin-table td>small{font-size:7px}.admin-table code{font-size:7px}.mini-btn{font-size:8px;padding:4px 6px}
  .transfer-row{padding:6px}.transfer-row strong{font-size:9px}.transfer-row small{font-size:7px}.transfer-row>b{font-size:9px}
  .manager-rule{font-size:8px;padding:6px 7px}
  .logout-row{min-height:45px;padding:0 14px;font-size:11px}
}

/* =========================================================
   DROVIABET PARTIDO / MERCADOS v5
   Centro de partido, mas mercados y combinadas multi-evento.
   ========================================================= */
.event-open{
  width:100%;border:0;background:transparent;color:inherit;padding:0;font:inherit;
}
.event-open:hover .team-badge{border-color:var(--yellow)}
.event-open .versus em{display:block;margin-top:4px;color:var(--yellow);font-style:normal;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.event-more{
  width:100%;min-height:34px;margin-top:9px;border:1px solid #54544f;border-radius:6px;background:#20201f;color:#ddd;
  display:flex;align-items:center;justify-content:center;gap:6px;font-size:10px;font-weight:900;
}
.event-more span{color:var(--yellow);font-size:15px;line-height:1}
.event-more:hover{border-color:var(--yellow);color:#fff}
.selection-market{display:block;color:var(--yellow);font-size:8px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;margin:2px 0}

.event-modal-backdrop{padding:10px}
.event-modal{width:min(820px,100%);max-height:calc(var(--viewport-h,100dvh) - 20px);background:#1d1e1d;overflow:auto}
.event-detail-content{min-height:360px;padding-bottom:18px}
.event-detail-loading{min-height:360px;display:grid;place-items:center;align-content:center;gap:12px;color:#bbb}
.event-detail-loading span{width:34px;height:34px;border:3px solid #555;border-top-color:var(--yellow);border-radius:50%;animation:eventspin .8s linear infinite}
@keyframes eventspin{to{transform:rotate(360deg)}}
.event-detail-hero{background:linear-gradient(145deg,#30302d,#20201f);border-bottom:1px solid #454540;padding:18px 46px 16px}
.event-detail-meta{display:flex;justify-content:space-between;gap:12px;color:#9e9e99;font-size:10px;font-weight:800;margin-bottom:16px}
.event-detail-meta span{color:var(--yellow)}
.event-detail-teams{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center;text-align:center}
.event-detail-teams>div{min-width:0;display:grid;justify-items:center;gap:7px}
.event-detail-teams i{width:50px;height:50px;border-radius:50%;background:#171716;border:2px solid #4c4c47;color:var(--yellow);display:grid;place-items:center;font-style:normal;font-size:15px;font-weight:900}
.event-detail-teams strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.event-detail-teams>span b{display:block;font-size:18px}.event-detail-teams>span small{display:block;color:#888;font-size:8px;margin-top:3px}
.event-detail-note{margin:10px 12px 0;padding:9px 10px;border-radius:6px;background:#292925;color:#bdbdb7;font-size:9px;line-height:1.45;border-left:3px solid var(--yellow)}
.market-sections{display:grid;gap:9px;padding:10px 12px}
.market-group{background:#282826;border:1px solid #3f3f3a;border-radius:8px;overflow:hidden}
.market-group-head{min-height:38px;padding:0 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #3e3e39}
.market-group-head strong{font-size:11px}.market-group-head span{font-size:8px;color:#8f8f89}
.detail-odds-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:7px}
.detail-odds-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.detail-odds-grid.many{grid-template-columns:repeat(2,minmax(0,1fr))}
.detail-odd{min-height:48px;border:1px solid transparent;border-radius:5px;background:#f1f1ef;color:#242421;padding:5px 7px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left}
.detail-odd span{font-size:9px;font-weight:800;line-height:1.2;overflow:hidden;text-overflow:ellipsis}.detail-odd strong{font-size:13px;color:#191917;white-space:nowrap}
.detail-odd.active{background:var(--yellow);border-color:#ffdf73}.detail-odd:hover{border-color:var(--yellow)}
.same-game-warning{margin:0 12px 4px;padding:10px;border-radius:7px;background:#171716;border:1px dashed #4c4c47}
.same-game-warning strong{font-size:10px;color:#ddd}.same-game-warning p{font-size:8px;line-height:1.45;color:#8e8e89;margin:4px 0 0}

@media (max-width:520px){
  .event-more{min-height:30px;font-size:9px;margin-top:7px}
  .event-open .versus em{font-size:7px}
  .event-modal-backdrop{padding:0;align-items:stretch}
  .event-modal{width:100%;height:var(--viewport-h,100dvh);max-height:var(--viewport-h,100dvh);border-radius:0;border:0;padding-top:var(--safe-top)}
  .event-modal .modal-close{position:fixed;top:calc(var(--safe-top) + 6px);right:7px;background:#0008;border-radius:50%}
  .event-detail-hero{padding:38px 12px 12px}
  .event-detail-meta{font-size:8px;margin-bottom:11px;padding-right:34px}
  .event-detail-teams i{width:42px;height:42px;font-size:12px}
  .event-detail-teams strong{font-size:11px}
  .event-detail-teams>span b{font-size:15px}
  .event-detail-note{margin:7px 8px 0;padding:7px 8px;font-size:8px}
  .market-sections{padding:8px;gap:7px}
  .market-group-head{min-height:32px;padding:0 8px}.market-group-head strong{font-size:9px}.market-group-head span{font-size:7px}
  .detail-odds-grid{gap:4px;padding:5px}.detail-odds-grid,.detail-odds-grid.many{grid-template-columns:repeat(2,minmax(0,1fr))}
  .detail-odd{min-height:40px;padding:4px 6px}.detail-odd span{font-size:8px}.detail-odd strong{font-size:11px}
  .same-game-warning{margin:0 8px 8px;padding:8px}.same-game-warning strong{font-size:9px}.same-game-warning p{font-size:7.5px}
}

@media (min-width:760px){
  .event-detail-hero{padding-left:56px;padding-right:56px}
  .event-detail-teams i{width:58px;height:58px;font-size:18px}
  .detail-odds-grid.many{grid-template-columns:repeat(3,minmax(0,1fr))}
}

/* YuyayBet: cupón de combinadas */
.combo-guide{padding:12px;background:rgba(255,207,64,.08);border:1px solid rgba(255,207,64,.22);border-radius:10px;margin:0 0 14px}
.combo-guide strong{display:block;font-size:14px}.combo-guide p,.combo-disclaimer{font-size:12px;line-height:1.5;opacity:.85;margin:8px 0}
.combo-guide button{background:transparent;color:inherit;border:1px solid #777;border-radius:7px;padding:7px 12px;cursor:pointer}
#ticketSummary strong{overflow-wrap:anywhere}#ticketSummary>div{gap:12px}
