/* A single browser viewport is the trainer's canvas. */
html.preflop-page,body.preflop-page{height:100%;margin:0;overflow:hidden;background:#050d20;color:#eaf2ff;color-scheme:dark}
.preflop-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden;display:grid;grid-template-rows:68px minmax(0,1fr) 26px;background:radial-gradient(ellipse at 12% 20%,#153b6338,transparent 55%),radial-gradient(ellipse at 90% 80%,#0a4d5c28,transparent 45%),#050d20}
.preflop-header{display:flex;align-items:center;gap:14px;padding:7px 22px;border-bottom:1px solid #29405980;background:#071327b3;min-width:0}
.company-home{display:flex;align-items:center;justify-content:center;flex:none;width:54px;height:54px;border:1px solid #34516a;border-radius:12px;overflow:hidden;transition:background .15s}
.company-home:hover{background:#193551}.company-home img{display:block;width:52px;height:52px;border-radius:10px}.company-home:focus-visible{outline:3px solid #b5dbff;outline-offset:2px}
.preflop-heading{min-width:0}.preflop-heading>span{display:block;color:#a9c3db;font-size:8px;font-weight:600;letter-spacing:2px;margin-bottom:5px}.preflop-heading h1{font-size:25px;line-height:1.1;letter-spacing:-.8px;margin:0;color:#f4f7ff}.preflop-heading em{font-style:normal;font-weight:400;color:#a7ceff}
.preflop-header-actions{display:flex;flex:none;align-items:center;gap:8px;margin-left:auto}
.preflop-info{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border:1px solid #4b6681;border-radius:10px;background:#0e2137;color:#eaf2ff}
.preflop-info span{display:grid;place-items:center;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-size:13px;font-weight:700;line-height:1}
.preflop-info:hover{background:#1a3452}
.preflop-info:focus-visible{outline:3px solid #b5dbff;outline-offset:2px}
.android-download{flex:none;display:flex;gap:18px;align-items:center;padding:10px 14px;border:1px solid #4b6681;border-radius:10px;font-size:11px;color:#d3e4f7;background:#0e2137}.android-download:hover{background:#1a3452}
.preflop-workspace{width:100%;min-height:0;padding:6px 0;display:grid;grid-template-rows:minmax(0,1fr) auto;background:transparent;overflow:hidden}
.preflop-shell .trainer-layout{max-width:none;width:100%;height:100%;min-height:0;margin:0;padding:0 clamp(5px,1.1vw,18px);display:block}
.preflop-shell .trainer-container{position:relative;max-width:none;width:100%;height:100%;min-height:0;border:0;border-radius:0;background:transparent;overflow:hidden;margin:0}
.preflop-shell #trainer{display:block;width:100%;height:100%;min-height:0;border:0;background:transparent;transition:none}
.trainer-status{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;background:#071327;text-align:center;font-size:14px;z-index:2}.trainer-status[hidden]{display:none}.trainer-status>div{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.trainer-status button,.trainer-status a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid #52789b;border-radius:10px;background:#14304c;color:#eaf2ff;font:inherit;font-size:12px}.trainer-status button[hidden]{display:none}
.preflop-shell .ad-rail{display:none;position:static;padding:0;align-self:center;text-align:center}
.preflop-shell .ad-label{display:block;font-size:9px;color:#adc0d1;letter-spacing:.5px;margin:0 0 8px;line-height:1.3;text-align:center}
.preflop-shell .ad-position{--ad-height:600px;width:120px;height:var(--ad-height);min-height:0;margin:0 auto}
.preflop-shell .ad-placeholder{width:100%;height:100%;padding:12px 8px;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px dashed #526a81;border-radius:10px;background:repeating-linear-gradient(135deg,#12253c80,#12253c80 10px,#0b1b2e80 10px,#0b1b2e80 20px);color:#c0cfdd}
.preflop-shell .ad-placeholder>span{font-size:25px;color:#92abc3;margin-bottom:12px}.preflop-shell .ad-placeholder p{font-size:11px;line-height:1.5;margin:0;text-align:center;max-width:130px}
.preflop-shell .ms-ad-unit{display:block;width:100%;height:var(--ad-height,600px)}
.preflop-shell .ad-bottom{display:none;margin:12px auto 0;text-align:center;padding:0 12px}.preflop-shell .ad-bottom .ad-position{--ad-height:90px;width:728px}.preflop-shell .ad-bottom .ad-placeholder{flex-direction:row;gap:12px}.preflop-shell .ad-bottom .ad-placeholder>span{margin:0}.preflop-shell .ad-bottom .ad-placeholder p{max-width:none}
.preflop-footer{min-height:0;border-top:1px solid #263e5680;color:#8ea8bf;padding:0 22px;font-size:9px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#050d2066}.preflop-footer>div{display:flex;gap:20px}.preflop-footer a{padding:5px 0;color:#bad0e4}
@media(min-width:1200px) and (min-height:740px){.preflop-shell .trainer-layout{display:grid;grid-template-columns:120px minmax(0,1fr) 120px;column-gap:clamp(12px,1.6vw,28px)}.preflop-shell .ad-rail{display:block}}
@media(min-width:1500px) and (min-height:740px){.preflop-shell .trainer-layout{grid-template-columns:160px minmax(0,1fr) 160px}.preflop-shell .ad-rail .ad-position{width:160px}}
@media(min-width:1200px) and (min-height:1100px){.preflop-shell .ad-bottom:not([hidden]){display:block}}
@media(max-width:1199px) and (min-height:950px){.preflop-shell .ad-bottom:not([hidden]){display:block}.preflop-shell .ad-bottom .ad-position{--ad-height:50px;width:min(320px,calc(100vw - 32px))}}
@media(max-width:600px){.preflop-shell{grid-template-rows:54px minmax(0,1fr) 22px}.preflop-header{padding:5px 10px;gap:9px}.company-home{width:48px;height:48px}.company-home img{width:46px;height:46px}.preflop-heading>span{font-size:6px;letter-spacing:1.4px}.preflop-heading h1{font-size:20px;letter-spacing:-.5px}.android-download{font-size:9px;padding:8px;gap:6px;min-height:36px}.preflop-shell .trainer-layout{padding:0 7px}.preflop-workspace{padding:3px 0}.preflop-footer{padding-inline:12px;font-size:8px}.preflop-footer>div{gap:13px}}
@media(max-width:375px){.preflop-heading h1{font-size:18px}.preflop-heading>span{font-size:5px}.android-download{font-size:8px;padding:7px;gap:3px}}
@media(max-height:480px) and (min-width:480px){.preflop-shell{grid-template-rows:46px minmax(0,1fr) 20px}.preflop-header{padding:2px 10px;gap:9px}.company-home{width:40px;height:40px}.company-home img{width:38px;height:38px}.preflop-heading h1{font-size:20px}.preflop-heading>span{font-size:6px;margin-bottom:3px}.preflop-workspace{padding:4px 0}}
