/* A dedicated learning screen, shared by every complete film and step guide. */
body.dealer-theatre{height:100dvh;overflow:hidden}
body.dealer-theatre>.site-header,body.dealer-theatre>footer{display:none!important}
body.dealer-theatre #main{height:100dvh;min-height:0;overflow:hidden}
body.dealer-theatre #main>.page{display:block;width:100%;max-width:none;height:100%;padding:0!important;margin:0;overflow:hidden}
body.dealer-theatre #main>.page>*:not(.dealer-viewer){display:none!important}
.dealer-viewer{height:100%;min-height:0;display:flex;flex-direction:column;padding:0 18px 12px;gap:8px;box-sizing:border-box;background:var(--bg)}
.dealer-viewer-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr) 42px;align-items:center;gap:18px;flex:0 0 auto;min-height:66px;padding:10px 0;border-bottom:1px solid var(--line)}
.viewer-back{display:flex;align-items:center;min-height:44px;padding:0 12px 0 0;color:var(--gold);font-size:15px;white-space:nowrap}
.viewer-info{display:grid;place-items:center;width:42px;height:42px;border:1px solid var(--line)!important;border-radius:50%;font:italic 22px/1 Georgia,serif;color:var(--gold)}
body.dealer-theatre .dealer-viewer .holdem-tools{display:grid;grid-template-columns:minmax(0,1fr) 260px;align-items:center;gap:16px;margin:0!important;min-width:0}
body.dealer-theatre .dealer-viewer .holdem-tools .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body.dealer-theatre .dealer-viewer .holdem-tools .dealer-toolbar{display:block;min-width:0;margin:0}
body.dealer-theatre .dealer-viewer .holdem-tools .guide-select{max-width:none;width:100%;min-width:0}
body.dealer-theatre .dealer-viewer .holdem-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;max-width:none}
body.dealer-theatre .dealer-viewer .holdem-mode button{min-height:44px;padding:9px 14px;font-size:15px;line-height:1.4;text-align:center}
body.dealer-theatre .dealer-viewer .holdem-mode small,body.dealer-theatre .dealer-viewer .holdem-mode button>span{display:none}
body.dealer-theatre .dealer-viewer .royal-select-button{min-height:44px;padding:9px 14px;font-size:15px;line-height:1.4}
body.dealer-theatre .dealer-viewer .holdem-cinema{display:grid;grid-template-rows:minmax(0,1fr) auto;flex:1 1 0;min-height:0;margin:0;width:100%;border:1px solid var(--line);box-shadow:none;background:#06140d;overflow:hidden}
body.dealer-theatre .dealer-viewer .holdem-cinema video{display:block;width:100%!important;height:100%!important;max-height:none!important;min-height:0;aspect-ratio:auto!important;object-fit:contain;background:#06140d}
body.dealer-theatre .dealer-viewer .holdem-film-bar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 12px;min-height:38px;font-size:13px;line-height:1.4;border-top:1px solid var(--line)}
body.dealer-theatre .dealer-viewer .holdem-film-bar>span{display:block}
.viewer-chapters-button{color:var(--gold);font-size:14px;padding:5px 12px;min-height:30px;border:1px solid var(--line)!important;border-radius:4px}
body.dealer-theatre .dealer-viewer .holdem-step-nav{display:flex;flex-direction:row;align-items:center;justify-content:space-between;flex:0 0 auto;gap:12px;margin:0!important;min-height:38px;font-size:12px}
body.dealer-theatre .dealer-viewer .holdem-step-nav label{width:min(60%,510px);min-width:0;font-size:0;gap:0}
body.dealer-theatre .dealer-viewer .holdem-step-nav label .royal-select{width:100%;min-width:0;font-size:14px}
body.dealer-theatre .dealer-viewer .holdem-step-nav .royal-select-button{min-height:36px;font-size:13px;padding:6px 11px}
body.dealer-theatre .dealer-viewer .holdem-illustrated{display:grid;grid-template-columns:minmax(290px,.56fr) minmax(0,1.44fr);flex:1 1 0;height:auto!important;min-height:0;width:100%;margin:0}
body.dealer-theatre .dealer-viewer .holdem-step-copy{min-height:0;max-height:none;overflow:auto;padding:24px!important}
body.dealer-theatre .dealer-viewer .holdem-step-copy h2{font-size:34px!important;line-height:1.12;margin:0 0 18px}
body.dealer-theatre .dealer-viewer .holdem-step-copy>p:not(.eyebrow),body.dealer-theatre .dealer-viewer .holdem-step-copy .action-lines li{font-size:18px!important;line-height:1.65}
body.dealer-theatre .dealer-viewer .holdem-step-copy .action-lines li{padding-bottom:14px}
body.dealer-theatre .dealer-viewer .holdem-illustrated figure{height:100%;min-height:0}
body.dealer-theatre .dealer-viewer .illustration-frame{grid-template-rows:minmax(0,1fr) auto;height:100%;min-height:0;padding:8px}
body.dealer-theatre .dealer-viewer .illustration-frame img{height:100%;width:100%;min-height:0;object-fit:contain;cursor:default}
body.dealer-theatre .dealer-viewer .dealer-controls{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;flex:0 0 auto;gap:12px;margin:0!important;min-height:46px}
body.dealer-theatre .dealer-viewer .dealer-controls>button{min-height:44px;justify-content:center;font-size:15px!important}
body.dealer-theatre .dealer-viewer .dealer-controls .primary{grid-column:auto;width:auto;margin:0;padding:10px 16px}
.viewer-info-dialog,.viewer-chapter-dialog{width:min(900px,calc(100% - 28px));max-height:90dvh;overflow:auto;padding:36px;background:var(--panel-deep);color:var(--text);border:1px solid var(--gold);border-radius:8px}
.viewer-info-dialog::backdrop,.viewer-chapter-dialog::backdrop{background:#000c;backdrop-filter:blur(7px)}
.viewer-info-dialog h2,.viewer-chapter-dialog h2{font-size:36px;margin:8px 0 20px}.viewer-info-dialog .holdem-quick-rule{margin:20px 0}.viewer-info-dialog .actions{margin:20px 0}.viewer-info-dialog p{font-size:16px;line-height:1.7}
.viewer-chapter-dialog .film-chapters{margin:0;border:0;padding:0}.viewer-chapter-dialog .film-chapters>div{margin:0}
@media(max-width:899px){
 .dealer-viewer{padding:0 10px 9px;gap:7px}
 .dealer-viewer-toolbar{gap:10px;min-height:62px;padding:8px 0}
 body.dealer-theatre .dealer-viewer .holdem-tools{grid-template-columns:minmax(0,1fr) 190px;gap:9px}
 body.dealer-theatre .dealer-viewer .holdem-mode button{font-size:14px;padding:8px}
 body.dealer-theatre .dealer-viewer .holdem-illustrated{grid-template-columns:minmax(230px,.65fr) minmax(0,1.35fr)}
 body.dealer-theatre .dealer-viewer .holdem-step-copy{padding:18px!important}
 body.dealer-theatre .dealer-viewer .holdem-step-copy h2{font-size:29px!important}
 body.dealer-theatre .dealer-viewer .holdem-step-copy>p:not(.eyebrow),body.dealer-theatre .dealer-viewer .holdem-step-copy .action-lines li{font-size:17px!important}
}
@media(max-width:600px){
 .dealer-viewer-toolbar{grid-template-columns:64px minmax(0,1fr) 38px;grid-template-rows:44px 36px;row-gap:7px;min-height:0;padding:8px 0}
 .viewer-back{grid-column:1;grid-row:1;font-size:13px;padding:0;min-height:44px}
 .viewer-info{grid-column:3;grid-row:1;width:36px;height:36px;font-size:20px}
 body.dealer-theatre .dealer-viewer .holdem-tools{display:contents}
 body.dealer-theatre .dealer-viewer .dealer-toolbar{grid-column:2;grid-row:1}
 body.dealer-theatre .dealer-viewer .holdem-mode{grid-column:1/-1;grid-row:2;gap:7px}
 body.dealer-theatre .dealer-viewer .holdem-mode button{height:36px;min-height:36px;font-size:13px;padding:6px 10px}
 body.dealer-theatre .dealer-viewer .royal-select-button{font-size:13px;padding:8px 10px;min-height:40px}
 body.dealer-theatre .dealer-viewer .holdem-step-nav{min-height:30px;font-size:11px}
 body.dealer-theatre .dealer-viewer .holdem-step-nav label{width:70%}
 body.dealer-theatre .dealer-viewer .holdem-step-nav .royal-select-button{min-height:30px;font-size:12px;padding:5px 8px}
 body.dealer-theatre .dealer-viewer .holdem-illustrated{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr)}
 body.dealer-theatre .dealer-viewer .holdem-step-copy{padding:13px 15px!important;overflow:visible}
 body.dealer-theatre .dealer-viewer .holdem-step-copy h2{font-size:27px!important;line-height:1.1;margin-bottom:10px}
 body.dealer-theatre .dealer-viewer .holdem-step-copy>p:not(.eyebrow),body.dealer-theatre .dealer-viewer .holdem-step-copy .action-lines li{font-size:16px!important;line-height:1.5}
 body.dealer-theatre .dealer-viewer .holdem-step-copy .action-lines li{padding:0!important}
 body.dealer-theatre .dealer-viewer .dealer-controls{gap:7px;min-height:44px}
 body.dealer-theatre .dealer-viewer .dealer-controls>button{min-height:42px;font-size:12px!important;gap:4px}
 body.dealer-theatre .dealer-viewer .dealer-controls .primary{padding:9px}
 body.dealer-theatre .dealer-viewer .holdem-film-bar{font-size:11px;min-height:38px;padding:5px 8px}
 .viewer-chapters-button{font-size:12px;min-height:28px;padding:4px 8px}
 .viewer-info-dialog,.viewer-chapter-dialog{padding:30px 20px}
}
