/* Mobile Complete / layout and interaction refinements. Original screen composition is preserved. */
:root{--touch:44px}
[hidden]{display:none!important}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#chapters:focus{outline:none}
.screen{scroll-snap-stop:normal}
.screen :is(button,a){touch-action:manipulation}
.more{font-size:13px;min-height:44px}
.topbar .brand-logo{width:206px;max-width:65vw}
.menu-trigger{min-width:44px;min-height:44px}
.chapter-nav>div>button{width:44px}
.chapter-location{flex:1}
.chapter-location strong{max-width:180px}
.screen .switch-tabs>button{font-size:14px;min-height:48px}
.screen .format-tabs>button{font-size:12px}
.screen .action{min-height:52px}
.screen-actions{padding-bottom:0}
.contact-symbol img{filter:drop-shadow(0 0 1px #eff6ff) drop-shadow(0 0 13px #cdc6ff55) drop-shadow(0 14px 20px #30206b55)}
.sheet-head{gap:10px}
.sheet-head>span{flex:1;min-width:0}
.sheet-head .sheet-back{font-size:24px;width:32px;flex-shrink:0;margin-left:-5px}
.sheet-scroll:focus{outline:none}
.sheet-scroll .detail-list li{display:flex;align-items:flex-start;gap:12px}
.sheet-scroll .detail-list .icon{width:19px;height:19px;color:var(--violet);margin-top:3px}
.sheet-scroll :is(h2,h3,p,strong,span){overflow-wrap:break-word}
.detail-list .icon{flex-shrink:0}
.menu-tools{padding:10px 24px 20px;border-top:1px solid var(--line)}
.menu-tools button{font-size:13px;min-height:44px;color:var(--violet)}
.menu-links{flex:1;min-height:0}
.menu-links>button{min-height:55px}
.image-pan{overflow:auto;flex:1;display:flex;align-items:center;min-height:0;overscroll-behavior:contain}
.image-pan>img{width:100%;max-width:none;display:block;object-fit:contain;flex-shrink:0}
.media-content.zoom{display:flex}
.media-content.zoom .image-pan{display:block}
.media-content.zoom .image-pan>img{width:auto;min-width:100%;max-width:none}
.media-toolbar{margin-top:0;align-items:center;padding-bottom:calc(12px + env(safe-area-inset-bottom));min-height:66px}
.media-toolbar>span{font-size:12px;color:var(--muted)}
.media-content video{flex:1;min-height:0;object-fit:contain}
.comparison section{padding:3px 0 24px;border-bottom:1px solid var(--line)}
.comparison h3{color:var(--violet);margin:24px 0 10px}
.comparison section>div{display:grid;grid-template-columns:112px 1fr;gap:20px;padding:11px 0;font-size:14px;line-height:1.45}
.comparison section>div>span{color:#7b738d}
.comparison strong{font-weight:550}
.timeline-detail article{display:grid;grid-template-columns:38px 1fr;gap:14px;border-top:1px solid var(--line);padding:20px 0 4px}
.timeline-detail article>span{color:var(--violet);font-size:14px;padding-top:4px}
.timeline-detail h3{margin:0}
.timeline-detail p{margin-top:10px}
.operator-tabs{gap:8px;margin-bottom:24px}
.operator-tabs button{font-size:14px;min-height:48px}
.operator-sub{align-items:flex-start}
.operator-sub>span{flex:0 0 40%}
.operator-sub>strong{text-align:right;flex:1;min-width:0;font-weight:600}
.operator-kpi{font-variant-numeric:tabular-nums;line-height:1.15;font-size:48px;overflow-wrap:anywhere}
.user-row{min-height:70px;text-align:left}
.user-row>div{min-width:0;max-width:60%}
.user-row>div:last-child{max-width:42%}
.user-row strong{font-variant-numeric:tabular-nums;font-size:14px}
.user-row small{font-size:12px;line-height:1.45}
.team-note{background:#f0eaff;border-left:2px solid var(--violet);padding:14px;margin-bottom:12px!important;color:var(--ink)!important}
.empty-result{padding:24px 0}
.empty-result button{color:var(--violet);min-height:44px;font-size:14px}
.amount-presets{display:flex;gap:10px;margin-top:12px}
.amount-presets button{min-height:44px;flex:1;border:1px solid var(--line);text-align:center;color:var(--violet);font-size:15px}
.field[aria-invalid=true]{border-color:#bc3d65;background:#fff9fc}
.form-error:empty{display:none}
.form-back{min-height:48px}
.notice:empty{min-height:0;margin:0}
.form-row textarea{min-height:126px;resize:vertical}
.sport-mode{display:flex;gap:10px;margin:0 0 12px}
.sport-mode button{min-height:44px;padding:10px 24px;border:1px solid var(--line);font-size:14px}
.sport-mode button[aria-pressed=true]{background:#ede8ff;border-color:#9b81fb;color:var(--violet)}
.event-list article{padding:22px 0;border-bottom:1px solid var(--line)}
.event-list small{color:var(--muted);font-size:12px}
.event-list h3{margin:8px 0 16px}
.odds{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.odds button{border:1px solid #ddd5f0;min-height:55px;display:flex;align-items:center;justify-content:space-between;padding:10px;gap:7px;background:white}
.odds button>span{color:var(--muted);font-size:12px}
.odds button>strong{font-size:15px;font-variant-numeric:tabular-nums}
.odds button.selected{background:#6647f4;color:white;border-color:#6647f4}
.odds button.selected>span{color:white}
.selection-note{background:#eee9ff;padding:17px;margin-top:20px;font-size:14px;line-height:1.5;color:#5b497a}
.selection-note>span{display:block;margin-top:7px}
.live-device-tabs{display:flex;flex-shrink:0;background:var(--paper);padding:0 20px;border-bottom:1px solid var(--line);height:46px;gap:22px}
.live-device-tabs button{font-size:13px;min-height:44px;flex:1;text-align:center;color:var(--muted);border-bottom:2px solid transparent}
.live-device-tabs button[aria-pressed=true]{border-color:var(--violet);color:var(--violet)}
#live-screen-dialog .live-dialog-bar{padding-top:env(safe-area-inset-top);min-height:calc(58px + env(safe-area-inset-top))}
#live-screen-dialog .live-dialog-stage{padding-bottom:env(safe-area-inset-bottom)}
#live-screen-dialog[data-device=phone] .live-dialog-stage{align-items:flex-start;background:#f4f5fc;overflow:hidden}
#live-screen-dialog[data-device=phone] .live-dialog-viewport{max-width:none}
#live-screen-dialog[data-device=phone] .vx-phone-status{display:none}
#live-screen-dialog[data-device=phone] .vx-topbar{top:0;height:56px}
#live-screen-dialog[data-device=phone] .vx-body{top:56px}
#live-screen-dialog .vx-catalog-empty{grid-column:1/-1;padding:24px 12px;color:var(--vx-muted)}
#live-screen-dialog .vx-mobile-search{display:block;margin:0 0 15px}
#live-screen-dialog .vx-mobile-search input{width:100%;height:44px;border:1px solid var(--vx-line);border-radius:7px;background:var(--vx-field);color:var(--vx-fg);padding:11px 12px;font-size:15px}
#live-screen-dialog .vx-bottom button{min-height:54px}
#live-screen-dialog .vx-methods button{min-height:52px}
@media(max-width:359px){
 .topbar .brand-logo{width:182px}.chapter-location strong{max-width:142px}.chapter-nav{padding-inline:14px}.chapter-nav>div>button{width:36px}.chapter-location{gap:8px}
 .more{font-size:12px}.screen .switch-tabs>button{font-size:13px}.screen .format-tabs>button{font-size:11px}
 .operator-kpi{font-size:41px}.operator-tabs button{font-size:13px}.comparison section>div{grid-template-columns:100px 1fr;gap:12px}
}
@media(max-height:740px){.screen .action{min-height:48px}.more{min-height:40px}.home-screen .vh-visual{min-height:195px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;transition-duration:0ms!important}}
/* Additional full-screen workflows. */
.campaign-list{margin:8px 0 24px}
.campaign-row{display:grid;grid-template-columns:1fr 24px;gap:9px;border-bottom:1px solid var(--line);padding:23px 0;width:100%}
.campaign-row .detail-kicker{grid-column:1/-1;margin:0;font-size:10px}
.campaign-row>strong{font-size:21px;font-weight:650;letter-spacing:-.6px;line-height:1.2}
.campaign-row>span:not(.detail-kicker){font-size:14px;color:var(--muted);grid-column:1}
.campaign-row>.icon{grid-column:2;grid-row:2/4;align-self:center;color:var(--violet)}
#message-status:empty{display:none}
.vx-live-preview{position:relative;overflow:hidden;border-radius:10px;margin-bottom:20px;aspect-ratio:4/3;background:#151329}
.vx-live-preview>img{width:100%;height:100%;object-fit:cover}
.vx-live-preview>div{position:absolute;inset:0;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(transparent 30%,#16112bea);color:white}
.vx-live-preview small{font-size:11px;letter-spacing:2px}
.vx-live-preview h2{font-size:36px;margin:8px 0}
.vx-wallet-error{font-size:13px;color:#cf7294;margin:12px 0;line-height:1.5}
.vx-wallet-error:empty{display:none}
.vx-review-total{font-size:46px;font-weight:650;color:var(--vx-fg);margin:22px 0}
.vx-review-total+.vx-winner,.vx-review-total~.vx-winner{justify-content:space-between}
.vx-root .vx-panel>.vx-btn{margin-top:16px;margin-right:9px}
.vx-root .vx-save-game{margin-top:16px}
#live-screen-dialog .vx-filterbar button{min-height:44px}
#live-screen-dialog .vx-presets button{min-height:44px}
#live-screen-dialog .vx-amount input{font-size:16px}
#live-screen-dialog .vx-game-top{flex-wrap:wrap;gap:14px;min-height:44px}
#live-screen-dialog .vx-root[data-device=phone] .vx-game-grid{gap:10px}
#live-screen-dialog .vx-root[data-device=phone] .vx-filterbar{gap:8px;flex-wrap:wrap}
/* Native fullscreen player UI: do not shrink a 390px canvas on smaller phones. */
#live-screen-dialog[data-device=phone] .vx-root{font-size:15px}
#live-screen-dialog[data-device=phone] .vx-topbar{height:66px;padding:0 12px}
#live-screen-dialog[data-device=phone] .vx-body{top:66px;bottom:66px}
#live-screen-dialog[data-device=phone] .vx-topbar .vx-btn{min-height:44px;font-size:12px;padding:8px 12px}
#live-screen-dialog[data-device=phone] .vx-toolbar-btn{width:44px;min-height:44px}
#live-screen-dialog[data-device=phone] .vx-balance{font-size:12px;min-height:44px;padding:5px}
#live-screen-dialog[data-device=phone] .vx-brand{width:111px}
#live-screen-dialog[data-device=phone] .vx-top-right{gap:4px}
#live-screen-dialog[data-device=phone] .vx-banner{height:210px}
#live-screen-dialog[data-device=phone] .vx-m-banner-copy h2{font-size:30px;line-height:1.06}
#live-screen-dialog[data-device=phone] .vx-m-banner-copy .vx-btn{font-size:13px;min-height:44px;padding:10px 14px}
#live-screen-dialog[data-device=phone] .vx-categories{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding-bottom:4px;margin-top:13px;scroll-snap-type:x proximity}
#live-screen-dialog[data-device=phone] .vx-categories button{display:flex;flex:0 0 75px;min-height:66px;height:66px;font-size:10px;scroll-snap-align:start}
#live-screen-dialog[data-device=phone] .vx-categories .vxi{width:22px;height:22px}
#live-screen-dialog[data-device=phone] .vx-game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#live-screen-dialog[data-device=phone] .vx-game>img{height:132px}
#live-screen-dialog[data-device=phone] .vx-game-meta{padding:9px 8px 11px}
#live-screen-dialog[data-device=phone] .vx-game-meta strong{font-size:13px;line-height:1.25}
#live-screen-dialog[data-device=phone] .vx-game-meta small{font-size:11px;line-height:1.3;margin-top:5px}
#live-screen-dialog[data-device=phone] .vx-row-head h3{font-size:19px}
#live-screen-dialog[data-device=phone] .vx-row-head button{font-size:12px;min-height:44px}
#live-screen-dialog[data-device=phone] .vx-bottom{height:66px;padding:5px 8px 7px}
#live-screen-dialog[data-device=phone] .vx-bottom button{font-size:12px;min-height:54px}
#live-screen-dialog[data-device=phone] .vx-page-title{gap:14px;flex-wrap:wrap}
#live-screen-dialog[data-device=phone] .vx-page-title h2{font-size:28px}
#live-screen-dialog[data-device=phone] .vx-page-title p{font-size:14px;line-height:1.5}
#live-screen-dialog[data-device=phone] .vx-page-title .vx-btn{min-height:44px;font-size:12px;padding:9px 12px}
#live-screen-dialog[data-device=phone] .vx-filterbar button{font-size:13px;padding:9px 12px}
#live-screen-dialog[data-device=phone] .vx-feature-banner p{font-size:12px}
#live-screen-dialog[data-device=phone] .vx-panel h3{font-size:18px}
#live-screen-dialog[data-device=phone] .vx-panel p{font-size:14px;line-height:1.55}
#live-screen-dialog[data-device=phone] .vx-panel>.vx-btn{min-height:44px;font-size:13px;padding:10px 13px}
#live-screen-dialog[data-device=phone] .vx-wallet-card strong{font-size:40px}
#live-screen-dialog[data-device=phone] .vx-wallet-card small{font-size:12px}
#live-screen-dialog[data-device=phone] .vx-wallet-buttons .vx-btn{min-height:46px;font-size:14px}
#live-screen-dialog[data-device=phone] .vx-methods button{min-height:60px;font-size:12px}
#live-screen-dialog[data-device=phone] .vx-input-label{font-size:13px}
#live-screen-dialog[data-device=phone] .vx-amount input{font-size:20px;min-width:0}
#live-screen-dialog[data-device=phone] .vx-ledger{font-size:12px;width:100%}
#live-screen-dialog[data-device=phone] .vx-ledger th{font-size:10px}
#live-screen-dialog[data-device=phone] .vx-ledger td small{font-size:10px}
#live-screen-dialog[data-device=phone] .vx-reward-copy p{font-size:14px}
#live-screen-dialog[data-device=phone] .vx-reward-copy .vx-btn{font-size:14px;min-height:44px}
#live-screen-dialog[data-device=phone] .vx-game-top{height:auto;min-height:56px;padding:12px 0;flex-wrap:wrap;font-size:12px}
#live-screen-dialog[data-device=phone] .vx-game-top>button{min-height:44px;font-size:12px}
#live-screen-dialog[data-device=phone] .vx-spin{min-height:48px}
#live-screen-dialog[data-device=phone] .vx-slot-bottom small{font-size:10px}
#live-screen-dialog[data-device=phone] .vx-result{font-size:13px}
#live-screen-dialog[data-device=phone] .vx-save-game{font-size:13px;min-height:44px}
#live-screen-dialog[data-device=phone] .vx-live-grid .vx-game:nth-child(n+3){display:block}
#live-screen-dialog[data-device=phone] .vx-live-grid .vx-game>img{height:126px}
#live-screen-dialog[data-device=phone] .vx-live-preview .vx-btn{min-height:44px}
@media(max-width:359px){
 #live-screen-dialog[data-device=phone] .vx-topbar .vx-balance{display:none}
 #live-screen-dialog[data-device=phone] .vx-game>img{height:110px}
 #live-screen-dialog[data-device=phone] .vx-methods{gap:6px}
 #live-screen-dialog[data-device=phone] .vx-panel{padding:14px}
}
/* Final tap targets. */
.chapter-nav>div>button{width:44px;min-height:44px}
.sheet-head .sheet-back{width:44px;min-height:44px}
#live-modal-close{min-width:44px!important;min-height:44px}
.screen .more{min-height:44px}
@media(max-width:359px){.screen .format-tabs>button{font-size:12px}.chapter-location strong{max-width:131px}}

/* FAQ: ответ раскрывается под вопросом, а не в отдельной панели */
.faq-items b{transition:transform .2s ease}
.faq-items button[aria-expanded=true]{color:var(--violet)}
.faq-items button[aria-expanded=true] b{transform:rotate(45deg)}
.faq-answer{padding:2px 0 16px}
.faq-answer p{margin:0;font-size:13px;line-height:1.55;color:var(--muted)}
