@import url('/pug-assets/shared-fonts.css');
/* Shared shell geometry from MobsikPlayNext public-next style/showcase, 23Oct2026.
   Only #pug-shell is themed here; the actual game and other site pages are untouched. */
html:has(>.pug-site-body),html:has(>body.pug-site-body){scrollbar-gutter:stable}
body.pug-site-body{margin:0;min-height:100dvh;height:auto;overflow:visible;background:#101516}
#pug-shell{--accent:#c6ee67;--text:#f2f4f5;--muted:#a9b3b8;--line:#354144;display:flex;flex-direction:column;height:auto;min-height:100dvh;width:100%;padding:0;overflow:clip;background:#101516;color:#f2f4f5;isolation:isolate;font:400 16px/normal Inter,Arial,sans-serif;font-synthesis:none;color-scheme:dark}
#pug-shell .header{flex:0 0 88px;height:88px;min-height:88px;gap:42px;padding:0 max(28px,calc((100vw - 1200px)/2));margin:0;background:#101516;border-bottom:1px solid #263034;z-index:5}
#pug-shell .brand{font:900 26px/normal Inter,Arial,sans-serif;letter-spacing:-.8px;white-space:nowrap;color:var(--text)}
#pug-shell .brand strong{color:var(--accent)}
#pug-shell #header-nav{display:flex;align-items:stretch;height:100%;gap:32px;margin:0;flex-shrink:0;font:400 16px/normal Inter,Arial,sans-serif}
#pug-shell #header-nav a{display:flex;align-items:center;padding:0;border-bottom:3px solid transparent;color:var(--muted);white-space:nowrap}
#pug-shell #header-nav a:hover{color:var(--text)}
#pug-shell .languages{margin-left:auto;display:flex;gap:2px;font:700 13px/normal Inter,Arial,sans-serif}
#pug-shell .languages a{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:44px;line-height:normal;border:0;border-radius:6px;background:transparent;color:var(--muted)}
#pug-shell .languages a[aria-current=true]{color:var(--accent);background:#202a20}
#pug-shell .header-menu-button{display:none}
#pug-shell .header-menu-button img{filter:brightness(0) invert(1)}
#pug-shell #pug-page{position:relative;flex:1;width:100%;max-width:1256px;height:auto;min-height:0;padding:24px 28px 60px;margin:0 auto;overflow:visible}
#pug-stage{position:relative;isolation:isolate;width:100%;height:640px;overflow:clip;border-radius:24px;background:#0789ad;color:#fff9eb;font:500 17px/1.4 PugRubik,system-ui,sans-serif;color-scheme:light;container-type:inline-size}
#pug-stage .pug-backdrop{inset:0;z-index:-2}
#pug-stage:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#004c69df 0%,#005a77ba 38%,#00618044 70%,#00618011)}
#pug-stage>.pug-view{inset:28px 32px 44px;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin}
#pug-stage .home-copy{width:58%;padding-top:12px}
#pug-stage .home-copy h1{font-size:66px;letter-spacing:-2px}
#pug-stage .home-copy h2{font-size:29px;max-width:510px}
#pug-stage .home-copy h2 br{display:block}
#pug-stage .home-copy .pug-subtitle{font-size:21px;margin:14px 0 24px}
#pug-stage .home-actions{gap:12px;max-width:570px}
#pug-stage .home-actions .pug-button{font-size:18px;min-height:62px;padding:12px 16px}
#pug-stage .home-actions .platform-action{min-height:56px;width:100%;min-width:0}
#pug-stage .home-copy>.queue-discovery{max-width:570px;background:#004b65e6;color:#fff9eb;min-height:58px}
#pug-stage .pug-raft,#pug-stage .home-copy~.pug-raft{display:block;right:0;bottom:0;width:43%;height:100%;max-height:100%;object-fit:contain;object-position:center;pointer-events:none}
#pug-stage .pug-copy{width:57%}
#pug-stage .pug-copy~.pug-raft{width:40%}
#pug-stage .pug-view h1{font-size:44px}
#pug-stage .pug-view .home-copy h1{font-size:66px}
#pug-stage .pug-subtitle{color:#f2fbff}
#pug-stage .pug-back,#pug-stage .pug-text-link{color:#fff9eb;min-height:44px}
#pug-stage .pug-button.primary{color:#12384e}
#pug-stage .pug-button.primary .pug-icon{filter:none}
#pug-stage .pug-button:focus-visible,#pug-stage .pug-back:focus-visible,#pug-stage .pug-text-link:focus-visible{outline-color:#12384e;background-color:#fff9eb;color:#12384e}
#pug-stage .pug-form input,#pug-stage .pug-form select{color:#12384e;background:#efeede;color-scheme:light}
#pug-stage .room-copy{display:grid;width:100%;max-width:none;grid-template-columns:1.1fr 1fr;grid-template-rows:44px auto 1fr;gap:14px 24px}
#pug-stage .room-copy>.pug-back{grid-column:1;grid-row:1}
#pug-stage .room-copy>h1{grid-column:1;grid-row:2;font-size:36px;margin:0}
#pug-stage #room-title{grid-column:2;grid-row:1/3;align-self:center;padding:12px 18px;border-radius:16px;background:#fff9eb;color:#12384e;white-space:normal;overflow-wrap:anywhere;font-size:22px;line-height:1.25;margin:0}
#pug-stage #room-members{grid-column:1;grid-row:3;grid-template-rows:repeat(4,66px);min-height:272px;align-self:start}
#pug-stage #room-controls{grid-column:2;grid-row:3;padding:20px;border-radius:20px;background:#fff9eb;color:#12384e;align-self:start}
#pug-stage .room-primary{margin:0;flex-wrap:wrap;gap:10px}
#pug-stage .room-primary #copy-invite,#pug-stage .room-primary .ready-label{flex:1 1 40%}
#pug-stage .room-primary #pug-start{flex:1 1 100%;min-height:58px}
#pug-stage .room-primary .soft{background:#e9eddc}
#pug-stage #room-note{height:auto;min-height:44px;margin:14px 0;color:#365b6c;font-size:15px;white-space:normal;overflow:visible}
#pug-stage .room-secondary{flex-wrap:wrap;gap:6px}
#pug-stage .room-secondary .pug-back,#pug-stage .room-secondary .pug-text-link{color:#12384e;font-size:14px;min-height:44px}
#pug-stage .room-secondary .pug-back{font-weight:650}
#pug-stage .room-copy~.pug-raft{display:none}
#pug-stage #pug-join{grid-column:1/-1;grid-row:3;width:min(620px,100%);margin:0}
#pug-stage .queue-heading h1{font-size:44px}
#pug-stage .queue-heading .pug-subtitle{font-size:22px}
#pug-stage .queue-active{width:100%;grid-template-columns:minmax(0,1fr) 250px;gap:26px;margin-top:28px}
#pug-stage .queue-roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:22px 16px;background:#fff9eb;border-radius:20px}
#pug-stage .queue-pug{gap:10px}
#pug-stage .queue-pug .avatar{max-width:122px}
#pug-stage .queue-pug strong{font-size:15px;max-width:100%;height:32px;line-height:32px}
#pug-stage .queue-pug .pug-ready-state{color:#365b6c;font-size:12px;height:24px;white-space:normal}
#pug-stage .queue-start{display:grid;grid-template-columns:1fr;grid-template-rows:auto;gap:10px;padding:16px;border-radius:20px;background:#fff9eb;color:#12384e}
#pug-stage .countdown-card{grid-column:auto;grid-row:auto;width:126px;height:126px;align-self:auto;margin:0;background:#eaf3d4;box-shadow:none}
#pug-stage .countdown-card strong{font-size:54px}
#pug-stage .countdown-card span{font-size:13px;max-width:105px}
#pug-stage .queue-start>p{grid-column:auto;min-height:24px;height:auto;color:#365b6c;font-size:14px}
#pug-stage .queue-start .pug-button{grid-column:auto;min-height:48px;font-size:18px}
#pug-stage .queue-start .soft{background:#e9eddc}
#pug-stage .queue-exit{position:static;grid-column:1/-1;justify-self:start;min-height:44px;margin-top:0;bottom:auto}
#pug-stage .queue-art{right:0;bottom:0;width:42%;height:100%;max-height:100%;object-fit:contain;object-position:center}
#pug-stage .directory-empty{background:#004b65ec;color:#fff9eb}
#pug-stage .launch-copy{width:58%;padding-top:18px}
#pug-stage .launch-copy h1{font-size:52px}
#pug-stage .launch-steps,#pug-stage #launch-detail{color:#fff9eb}
#pug-stage .launch-steps li.done{color:#e3ffa7}
#pug-stage .pug-eyebrow{color:#e3ffa7}
#pug-stage #pug-error{bottom:4px;left:24px;right:24px;height:32px;padding:6px 12px;border-radius:10px;background:#fff9eb;color:#943a25;font-size:14px}
#pug-shell .site-footer{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:nowrap;flex-shrink:0;max-width:1256px;width:100%;height:auto;min-height:84px;padding:12px 28px 26px;margin:24px auto 0;gap:24px;border:0;border-top:1px solid #293132;background:transparent;color:#aeb7bb;font:400 14px/normal Inter,Arial,sans-serif}
#pug-shell .site-footer .showcase-footer-links{display:flex;align-items:center;gap:22px;flex-wrap:wrap}
#pug-shell .site-footer .showcase-footer-links a{display:flex;align-items:center;min-height:36px;font-size:14px;color:#aeb7bb;margin:0;max-width:none}
#pug-shell .site-footer a:hover{color:var(--accent)}
#pug-shell .site-footer .showcase-help{margin:0;border:0;padding:0;max-width:50%;font-size:14px;color:#aeb7bb}
#pug-shell .showcase-help summary{display:flex;align-items:center;justify-content:flex-end;min-height:36px;padding:12px 0;white-space:nowrap;color:var(--accent);cursor:pointer;font-weight:650}
#pug-shell .showcase-help ol{list-style:decimal;max-width:640px;margin:12px 0 18px 24px;padding:0}
#pug-shell .showcase-help li{display:list-item;font-size:15px;line-height:1.6;margin:8px 0;padding:0}
#pug-shell .showcase-help li:before{content:none}
#pug-shell .showcase-help>a{color:var(--accent);min-height:44px;display:inline-flex;align-items:center}
#pug-shell .mobile-nav{display:none}
#pug-shell #pug-ad-slot{display:none}
#pug-shell #pug-ad-slot:has([data-mobsik-ad]){display:block;min-height:114px;margin-bottom:24px;overflow:clip}
#pug-shell #pug-ad-slot .mobsik-game-ad{max-width:728px;min-height:114px;margin:0 auto;padding:0}
#pug-shell #pug-ad-slot .mobsik-game-ad-label{height:14px;margin:0 0 6px;line-height:14px;color:#a9b3b8}
#pug-shell[data-online-cover]{position:fixed;inset:0;z-index:10000;height:100dvh;overflow:auto}
@media(max-width:1100px){
 #pug-stage .home-copy{width:58%}#pug-stage .home-copy h1,#pug-stage .pug-view .home-copy h1{font-size:54px}#pug-stage .home-copy h2{font-size:26px}#pug-stage .home-actions{grid-template-columns:1fr}#pug-stage .home-actions .pug-button{min-height:54px}
 #pug-stage .pug-view h1,#pug-stage .queue-heading h1{font-size:36px}#pug-stage .queue-active{grid-template-columns:minmax(0,1fr) 220px;gap:20px}#pug-stage .queue-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#pug-stage .queue-pug .avatar{max-width:90px}
 #pug-shell #pug-ad-slot:has([data-mobsik-ad]){min-height:84px}#pug-shell #pug-ad-slot .mobsik-game-ad{max-width:468px;min-height:84px}
}
@media(max-width:760px){
 #pug-shell .header{height:72px;min-height:72px;flex-basis:72px;padding:0 20px;gap:14px;flex-wrap:wrap}
 #pug-shell .brand{font-size:23px}#pug-shell #header-nav{display:none}#pug-shell .languages a{min-width:34px}
 #pug-shell .header-menu-button{display:grid;place-items:center;min-width:44px;width:44px;height:44px;border:0;border-radius:6px;background:transparent}
 #pug-shell .header.menu-open #header-nav{display:flex;position:absolute;left:12px;right:12px;top:64px;min-width:0;height:auto;flex-direction:column;align-items:stretch;gap:0;padding:12px;border:1px solid #354144;border-radius:12px;background:#171d1f;box-shadow:0 12px 40px #0005}
 #pug-shell .header.menu-open #header-nav a{padding:10px 12px;min-height:44px}
 #pug-shell #pug-page{padding:16px 20px 32px}#pug-stage{height:820px;border-radius:20px}
 #pug-stage>.pug-view{inset:22px 20px 44px}#pug-stage:before{background:linear-gradient(#004c69dd,#005a7799 65%,#00618022)}
 #pug-stage .home-copy{width:100%;padding-top:0}#pug-stage .home-copy h1,#pug-stage .pug-view .home-copy h1{font-size:46px}#pug-stage .home-copy h2{font-size:25px;margin:10px 0}#pug-stage .home-copy .pug-subtitle{font-size:18px;margin:12px 0 20px}
 #pug-stage .home-actions{grid-template-columns:1fr;max-width:none}#pug-stage .home-actions .pug-button{min-height:54px;font-size:18px}#pug-stage .home-copy>.queue-discovery{max-width:none;margin-top:18px;font-size:14px}
 #pug-stage .pug-raft,#pug-stage .home-copy~.pug-raft{display:block;right:0;bottom:0;width:100%;height:250px;max-height:none;object-fit:contain;object-position:center bottom}
 #pug-stage .pug-copy{width:100%}#pug-stage .pug-copy~.pug-raft{display:block;width:100%;height:230px}
 #pug-stage .pug-view h1,#pug-stage .queue-heading h1{font-size:33px}#pug-stage .pug-subtitle,#pug-stage .queue-heading .pug-subtitle{font-size:19px}
 #pug-stage .pug-form{max-width:none;grid-template-columns:1fr;padding:18px}#pug-stage .pug-form input,#pug-stage .pug-form select{height:46px}#pug-stage .pug-form .pug-button{min-height:52px}
 #pug-stage #create-view .pug-copy{display:block}#pug-stage #create-view .pug-raft{height:170px}
 #pug-stage .room-copy{display:flex;flex-direction:column;gap:12px}#pug-stage .room-copy>h1{font-size:30px}#pug-stage #room-title{align-self:stretch;font-size:19px;padding:10px 14px}
 #pug-stage #room-members{grid-template-rows:repeat(4,60px);min-height:248px;width:100%;padding:4px 14px}#pug-stage #room-controls{width:100%;padding:16px}
 #pug-stage .pug-member strong{font-size:15px}#pug-stage .pug-member .member-label{font-size:11px}#pug-stage .pug-member .avatar{width:38px;height:38px}
 #pug-stage #room-note{font-size:14px;min-height:40px;margin:12px 0}#pug-stage .room-primary .pug-button{min-height:48px;font-size:15px}#pug-stage .room-copy~.pug-raft{display:none}
 #pug-stage .queue-entry{margin-top:20px;width:100%}#pug-stage .queue-art{right:0;bottom:0;width:100%;height:280px;max-height:none;object-position:center bottom}
 #pug-stage .queue-active{grid-template-columns:1fr;gap:18px;margin-top:22px}#pug-stage .queue-roster{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;padding:20px}#pug-stage .queue-pug .avatar{max-width:86px}#pug-stage .queue-pug strong{font-size:13px}#pug-stage .queue-pug .pug-ready-state{font-size:11px}
 #pug-stage .queue-start{grid-template-columns:86px 1fr;grid-template-rows:auto 48px 48px;gap:8px 12px;padding:16px}#pug-stage .countdown-card{grid-column:1;grid-row:1/4;width:82px;height:82px;align-self:center}#pug-stage .countdown-card strong{font-size:36px}#pug-stage .countdown-card span{font-size:10px;max-width:70px}#pug-stage .queue-start>p,#pug-stage .queue-start .pug-button{grid-column:2}#pug-stage .queue-start .pug-button{font-size:17px}
 #pug-stage .launch-copy{width:100%;padding:0}#pug-stage .launch-copy h1{font-size:42px}#pug-stage .launch-copy+.pug-raft{display:block;width:100%;height:230px}
 #pug-shell .site-footer{padding:10px 20px 22px;margin-top:20px;flex-wrap:wrap;gap:8px 20px;min-height:0}#pug-shell .site-footer .showcase-footer-links{gap:4px 16px}#pug-shell .site-footer .showcase-footer-links a{font-size:12px;min-height:36px}#pug-shell .site-footer .showcase-help{max-width:100%;flex-basis:100%}#pug-shell .showcase-help summary{justify-content:flex-start}
 #pug-shell #pug-ad-slot:has([data-mobsik-ad]){min-height:74px;margin-bottom:16px}#pug-shell #pug-ad-slot .mobsik-game-ad{min-height:74px;max-width:320px}
}
@media(max-width:360px){#pug-shell #pug-page{padding-inline:16px}#pug-shell .site-footer{padding-inline:16px}#pug-stage>.pug-view{inset-inline:16px}#pug-stage .pug-member{gap:8px}#pug-stage .pug-member .member-label{font-size:10px}}
@media(max-height:600px) and (orientation:landscape){
 #pug-stage{height:500px}#pug-stage>.pug-view{inset:20px 24px 40px}
 #pug-stage .home-copy{width:60%;padding:0}#pug-stage .home-copy h1,#pug-stage .pug-view .home-copy h1{font-size:46px}#pug-stage .home-copy h2{font-size:24px;display:block}#pug-stage .home-copy .pug-subtitle{display:block;font-size:17px;margin:10px 0 16px}#pug-stage .home-actions{grid-template-columns:1fr 1fr}#pug-stage .home-actions .pug-button{font-size:15px;min-height:48px}#pug-stage .home-actions .platform-action{grid-column:1/-1}
 #pug-stage .pug-raft,#pug-stage .home-copy~.pug-raft,#pug-stage .pug-copy~.pug-raft{width:38%;height:100%;right:0;bottom:0;max-height:100%;object-position:center}
 #pug-stage .pug-copy{width:60%}#pug-stage #create-view .pug-copy{width:65%;display:block}#pug-stage #create-view .pug-subtitle{font-size:18px}#pug-stage #create-view .pug-form{grid-template-columns:1fr 1fr}#pug-stage #create-view .pug-raft{height:100%;width:32%}
 #pug-stage .room-copy{display:grid;width:100%;gap:12px 18px}#pug-stage .room-copy>h1{display:none}#pug-stage #room-title{grid-row:1;font-size:18px}#pug-stage #room-members{grid-row:2;grid-template-rows:repeat(4,54px);min-height:224px}#pug-stage #room-controls{grid-row:2;padding:16px}#pug-stage .room-primary .pug-button{font-size:14px;min-height:44px}#pug-stage .room-copy~.pug-raft{display:none}#pug-stage #pug-join{grid-row:2}
 #pug-stage .queue-active{grid-template-columns:minmax(0,1fr) 210px;gap:18px;margin-top:20px}#pug-stage .queue-roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:18px 12px}#pug-stage .queue-pug .avatar{max-width:86px}#pug-stage .queue-pug strong{font-size:12px}#pug-stage .queue-pug .pug-ready-state{height:30px;font-size:11px}
 #pug-stage .queue-start{grid-template-columns:1fr;grid-template-rows:auto;gap:8px}#pug-stage .countdown-card{grid-column:auto;grid-row:auto;width:84px;height:84px;align-self:auto}#pug-stage .queue-start>p,#pug-stage .queue-start .pug-button{grid-column:auto}#pug-stage .queue-start .pug-button{min-height:44px;font-size:16px}#pug-stage .queue-art{width:40%;height:100%;right:0;bottom:0}
 #pug-stage .launch-copy{width:60%}#pug-stage .launch-copy h1{font-size:38px}#pug-stage .launch-copy+.pug-raft{width:38%;height:100%}
}
/* Stable outer document when forms and room states replace one another. */
body.pug-site-body{overflow-anchor:none}
#pug-stage #room-title{height:auto;min-height:52px;overflow:visible}
#pug-stage #room-view .room-copy>.pug-back{display:inline-flex}
#pug-shell .showcase-help summary{padding:14px 0}
#pug-stage .pug-member.empty{color:#5c727d}
#pug-stage .pug-member .member-label{color:#526b76}
#pug-stage .pug-form input::placeholder{color:#526b76}
/* EU decorator inserts its unit immediately inside main. RU has no unit. */
#pug-shell #pug-page>.mobsik-game-ad{width:100%;max-width:728px;min-height:114px;margin:0 auto 24px;padding:0;overflow:visible}
#pug-shell #pug-page>.mobsik-game-ad .mobsik-game-ad-label{height:14px;margin:0 0 6px;line-height:14px;color:#a9b3b8}
@media(max-width:1099px){#pug-shell #pug-page>.mobsik-game-ad{max-width:468px;min-height:84px}}
@media(max-width:760px){#pug-shell #pug-page>.mobsik-game-ad{max-width:320px;min-height:74px;margin-bottom:16px}}
/* Match the live catalog shell, including its compact mobile header. */
#pug-shell .header-menu-button{display:none}
#pug-shell .site-footer{font:400 16px/normal Inter,Arial,sans-serif}
@media(max-width:760px){#pug-shell #pug-page{padding-bottom:24px}}
/* Phone landscape: one stable viewport for entry, waiting and launch. */
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape),(pointer:coarse) and (orientation:landscape){
 html:has(>body.pug-site-body){scrollbar-gutter:auto}
 body.pug-site-body{height:100dvh;min-height:0;overflow:clip}
 #pug-shell,#pug-shell[data-online-cover]{height:100dvh;min-height:0;overflow:clip;padding-left:env(safe-area-inset-left);padding-right:env(safe-area-inset-right)}
 #pug-shell .header{height:74px;min-height:74px;flex-basis:74px;padding:0 12px;gap:10px;position:relative;background:#101516}
 #pug-shell .brand{font-size:18px;letter-spacing:-.6px;max-width:calc((100% - 344px)/2);white-space:normal;line-height:1.05}
 #pug-shell #header-nav{display:none}
 #pug-shell .languages{margin-left:auto;gap:0}
 #pug-shell .languages a{min-height:40px;min-width:32px;font-size:11px}
 #pug-shell #pug-page{height:0;min-height:0;flex:1;padding:4px 12px;margin:0 auto;overflow:visible}
 #pug-stage{height:100%;min-height:0;border-radius:16px;container-type:size}
 #pug-stage>.pug-view{inset:8px 12px;overflow:clip;scrollbar-gutter:auto}
 #pug-stage .pug-view h1,#pug-stage .queue-heading h1{font-size:26px;line-height:1.05;margin:0 0 6px;letter-spacing:-.6px}
 #pug-stage .pug-subtitle{font-size:14px;line-height:1.25;margin:6px 0}
 #pug-stage .pug-back,#pug-stage .pug-text-link{min-height:30px;font-size:12px;gap:6px}
 #pug-stage .pug-back .pug-icon,#pug-stage .pug-text-link .pug-icon{height:18px;width:18px}
 #pug-stage .pug-button{min-height:44px;padding:8px 10px;border-radius:12px;gap:6px;font-size:14px;line-height:1.1}
 #pug-stage .pug-button .pug-icon{width:18px;height:18px}
 #pug-stage .pug-raft,#pug-stage .home-copy~.pug-raft,#pug-stage .pug-copy~.pug-raft{display:block;right:0;bottom:0;width:29%;height:100%;max-height:100%;object-fit:contain;object-position:center}
 #pug-stage .home-copy{width:68%;height:auto;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:6px 8px;align-content:start}
 #pug-stage .home-copy h1,#pug-stage .pug-view .home-copy h1{grid-column:1/-1;font-size:32px;letter-spacing:-1px;margin:0;line-height:1.05}
 #pug-stage .home-copy h2{grid-column:1/-1;font-size:17px;line-height:1.15;margin:0 0 2px;max-width:none}
 #pug-stage .home-copy h2 br{display:none}
 #pug-stage .home-copy .pug-subtitle{display:none}
 #pug-stage .home-actions{display:contents}
 #pug-stage .home-actions .pug-button,#pug-stage .home-actions .platform-action{grid-column:auto;min-height:44px;min-width:0;width:100%;padding:8px 10px;font-size:14px}
 #pug-stage .home-copy>.queue-discovery{grid-column:2;grid-row:auto;width:100%;max-width:none;min-height:44px;margin:0;padding:5px 8px;gap:6px;font-size:12px;line-height:1.15;border-radius:12px}
 #pug-stage .home-copy>.queue-discovery>img:not(.pug-icon){width:28px;height:28px}
 #pug-stage .home-copy>.queue-discovery>.pug-icon{width:16px;height:16px}
 #pug-stage .home-copy>.pug-text-link{grid-column:1/-1;margin:0;min-height:28px;font-size:12px}
 #pug-stage .pug-copy{width:68%;max-width:none}
 #pug-stage .stack-actions{margin:6px 0 0;gap:6px;grid-template-columns:1fr 1fr;max-width:none}
 #pug-stage .stack-actions>.pug-text-link{grid-column:1/-1}
 #pug-stage .pug-form{padding:6px;gap:6px 10px;border-radius:14px}
 #pug-stage .pug-form label{font-size:12px;line-height:14px;gap:2px}
 #pug-stage .pug-form input,#pug-stage .pug-form select{height:42px;min-height:42px;padding:7px 9px;font-size:14px;line-height:1.15;border-radius:8px}
 #pug-stage .pug-form .pug-button{min-height:44px;font-size:14px}
 #pug-stage .pug-form p{font-size:12px;line-height:1.2}
 #pug-stage #create-view .pug-copy{width:100%;height:100%;display:grid;grid-template-columns:120px minmax(0,1fr);grid-template-rows:26px minmax(0,1fr);gap:4px 12px}
 #pug-stage #create-view .pug-back{grid-column:1;grid-row:1}
 #pug-stage #create-view h1{grid-column:2;grid-row:1;align-self:center;font-size:22px;margin:0}
 #pug-stage #create-view .pug-subtitle{display:none}
 #pug-stage #create-view .pug-form{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));align-self:start;width:100%;margin:0}
 #pug-stage #create-view .pug-form .wide{grid-column:auto;align-self:end}
 #pug-stage #create-view .pug-raft{display:none}
 #pug-stage .room-copy{width:100%;height:100%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:32px minmax(0,1fr);gap:6px 14px}
 #pug-stage .room-copy>h1{display:none}
 #pug-stage #room-view .room-copy>.pug-back{grid-column:1;grid-row:1;display:inline-flex}
 #pug-stage #room-view:has(#room-controls:not([hidden])) .room-copy>.pug-back{display:none}
 #pug-stage #room-title{grid-column:1;grid-row:1;align-self:stretch;min-height:32px;height:auto;margin:0;font-size:16px;line-height:1.15;padding:6px 10px;border-radius:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 #pug-stage #room-view:has(#pug-join:not([hidden])) #room-title{grid-row:2;align-self:start;white-space:normal;overflow-wrap:anywhere}
 #pug-stage #room-members{grid-column:1;grid-row:2;grid-template-columns:1fr 1fr;grid-template-rows:repeat(2,54px);gap:4px 12px;padding:6px 10px;min-height:0;align-self:start;width:100%;border-radius:14px}
 #pug-stage .pug-member{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:22px 20px;gap:0 7px;border:0;padding:6px 0}
 #pug-stage .pug-member .avatar{grid-column:1;grid-row:1/3;width:30px;height:30px;align-self:center;padding:2px;box-shadow:0 0 0 2px var(--seat)}
 #pug-stage .pug-member strong{grid-column:2;grid-row:1;font-size:12px;align-self:center}
 #pug-stage .pug-member .member-label{grid-column:2;grid-row:2;margin:0;font-size:10px;line-height:1.1;align-self:center;justify-self:start;min-width:0;max-width:100%}
 #pug-stage .pug-member .member-label.is-ready{padding:2px 6px}
 #pug-stage .pug-member .member-label .pug-icon{width:12px;height:12px}
 #pug-stage .pug-member.empty{display:flex;align-items:center;font-size:12px;gap:8px}
 #pug-stage .pug-member.empty .pug-icon{width:26px;height:26px;margin:0}
 #pug-stage #room-controls{grid-column:2;grid-row:1/3;align-self:start;padding:8px;border-radius:14px;width:100%;height:auto}
 #pug-stage .room-primary{gap:6px;margin:0}
 #pug-stage .room-primary .pug-button{min-height:44px;padding:7px 9px;font-size:13px}
 #pug-stage .room-primary #pug-start{min-height:44px}
 #pug-stage .ready-label input{width:18px;height:18px;margin:0}
 #pug-stage #room-note{height:auto;min-height:28px;line-height:14px;font-size:12px;margin:4px 0;white-space:normal}
 #pug-stage .room-secondary{flex-wrap:nowrap;gap:6px}
 #pug-stage .room-secondary .pug-back,#pug-stage .room-secondary .pug-text-link{flex:1;min-height:32px;font-size:11px;line-height:1.15;padding:0}
 #pug-stage .room-copy~.pug-raft{display:none}
 #pug-stage #pug-join{grid-column:2;grid-row:1/3;grid-template-columns:1fr;align-self:start;width:100%;margin:0}
 #pug-stage .queue-heading h1{font-size:26px;margin:0}
 #pug-stage .queue-heading .pug-subtitle{font-size:14px;line-height:18px;height:18px;margin:4px 0;white-space:nowrap}
 #pug-stage #queue-view:has(#pug-queue:not([hidden])){display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:1fr;gap:18px}
 #pug-stage #queue-view:has(#pug-queue:not([hidden])) .queue-heading{grid-column:1;grid-row:1;align-self:start}
 #pug-stage #queue-view:has(#pug-queue:not([hidden])) .queue-heading .pug-subtitle{height:auto;white-space:normal;font-size:15px;margin:8px 0}
 #pug-stage .queue-entry{grid-column:2;grid-row:1;grid-template-columns:1fr;margin:0;width:100%;max-width:none;align-self:start;padding:10px}
 #pug-stage .queue-entry p{grid-column:1/-1}
 #pug-stage .queue-art{display:none}
 #pug-stage #queue-view:has(#queue-active:not([hidden])) .queue-heading{display:flex;align-items:center;gap:14px;padding-right:130px;height:30px}
 #pug-stage #queue-view:has(#queue-active:not([hidden])) .queue-heading .pug-back{display:none}
 #pug-stage #queue-view:has(#queue-active:not([hidden])) .queue-heading .pug-subtitle{margin:0;font-size:13px}
 #pug-stage .queue-active{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:12px;position:relative;margin-top:6px}
 #pug-stage .queue-roster{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:12px;background:#fff9eb;border-radius:14px;align-self:start;margin:0;max-width:none}
 #pug-stage .queue-pug{gap:5px}
 #pug-stage .queue-pug .avatar{max-width:66px;width:100%;height:auto;aspect-ratio:1;padding:4px;box-shadow:0 0 0 3px var(--seat)}
 #pug-stage .queue-pug.empty .avatar{padding:14px;box-shadow:0 0 0 2px #b8ecf299}
 #pug-stage .queue-pug strong{height:24px;line-height:24px;font-size:11px;padding:0 5px;max-width:100%}
 #pug-stage .queue-pug .pug-ready-state{height:24px;font-size:10px;line-height:1.1;white-space:normal}
 #pug-stage .queue-start{grid-template-columns:60px minmax(0,1fr);grid-template-rows:22px 44px 44px;gap:4px 8px;padding:8px;border-radius:14px}
 #pug-stage .countdown-card{grid-column:1;grid-row:1/4;width:60px;height:60px;align-self:center;margin:0}
 #pug-stage .countdown-card strong{font-size:28px}
 #pug-stage .countdown-card span{font-size:9px;max-width:52px;margin-top:3px}
 #pug-stage .queue-start>p{grid-column:2;grid-row:1;font-size:11px;line-height:1.1;min-height:0;height:auto;align-self:center}
 #pug-stage .queue-start .pug-button{grid-column:2;min-height:44px;font-size:14px;padding:7px 8px}
 #pug-stage .queue-exit{position:absolute;top:-36px;bottom:auto;left:auto;right:0;grid-column:auto;margin:0;min-height:30px;font-size:12px}
 #pug-stage .launch-copy{width:65%;padding:0}
 #pug-stage .pug-eyebrow{font-size:10px;margin:0 0 4px;letter-spacing:1px}
 #pug-stage .launch-copy h1{font-size:28px;line-height:1.05;margin:0 0 6px}
 #pug-stage .launch-copy h1 br{display:none}
 #pug-stage .launch-copy .pug-subtitle{font-size:15px;margin:4px 0}
 #pug-stage .launch-roster{min-height:26px;gap:6px}
 #pug-stage .launch-roster img{width:24px;height:24px}
 #pug-stage .launch-steps{display:flex;gap:10px;justify-content:space-between;font-size:11px;line-height:1.15;margin:4px 0;padding:0}
 #pug-stage .launch-steps li{display:flex;gap:4px;flex:1;min-width:0}
 #pug-stage .launch-steps .pug-icon{width:16px;height:16px}
 #pug-stage .launch-meter{margin:4px 0;max-width:none;height:8px}
 #pug-stage .launch-meter progress{height:8px;display:block}
 #pug-stage #launch-detail{height:auto;min-height:16px;font-size:11px;line-height:1.2;margin:4px 0}
 #pug-stage #launch-back{min-height:44px;font-size:13px;padding:7px 10px}
 #pug-stage .launch-copy+.pug-raft{width:32%;height:100%}
 #pug-stage .directory-copy{height:100%;display:flex;flex-direction:column;min-height:0}
 #pug-stage .directory-copy h1{font-size:24px;margin:0 0 6px}
 #pug-stage .directory-copy .queue-discovery{min-height:44px;padding:5px 10px;font-size:13px;margin:0 0 6px}
 #pug-stage .room-directory{flex:1;min-height:0;overflow:auto;gap:6px;overscroll-behavior:contain}
 #pug-stage .pug-room{min-height:52px;padding:6px 10px;gap:10px;border-radius:12px;flex-wrap:nowrap}
 #pug-stage .pug-room strong{font-size:13px;max-width:50%;flex-basis:auto}
 #pug-stage .pug-room>span{font-size:12px}
 #pug-stage .pug-room .pug-button{min-height:40px;font-size:13px;padding:6px 10px}
 #pug-stage .directory-empty{font-size:14px;padding:12px}
 #pug-stage #recovery-view .pug-copy{width:100%;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:30px auto 1fr 40px;gap:4px 18px}
 #pug-stage #recovery-view .pug-back{grid-column:1;grid-row:1}
 #pug-stage #recovery-view h1{grid-column:1;grid-row:2;font-size:24px}
 #pug-stage #recovery-note{grid-column:1;grid-row:3;font-size:12px}
 #pug-stage #recovery-rooms{grid-column:2;grid-row:1/5;align-self:start;margin:0;gap:8px}
 #pug-stage #recovery-view .pug-copy>.pug-button{grid-column:1;grid-row:4;min-height:40px;font-size:13px}
 #pug-stage #pug-error{left:12px;right:12px;bottom:2px;height:auto;max-height:40px;font-size:12px;padding:5px 8px}
 #pug-shell .site-footer{height:36px;min-height:36px;flex-basis:36px;max-width:1256px;margin:0 auto;padding:0 12px;display:flex;flex-wrap:nowrap;align-items:center;gap:12px;position:relative;z-index:5}
 #pug-shell .site-footer .showcase-footer-links{flex-wrap:nowrap;gap:12px}
 #pug-shell .site-footer .showcase-footer-links a{font-size:11px;min-height:32px}
 #pug-shell .site-footer .showcase-help{flex-basis:auto;max-width:none;margin-left:auto;font-size:11px}
 #pug-shell .showcase-help summary{min-height:32px;padding:4px 0;font-size:11px;justify-content:flex-end}
 #pug-shell .showcase-help[open]{position:absolute;bottom:0;right:0;width:min(540px,100%);max-height:calc(100dvh - 80px);overflow:auto;border:1px solid #354144;border-radius:14px 14px 0 0;background:#171d1f;padding:12px 18px;box-shadow:0 -10px 40px #0005}
 #pug-shell .showcase-help li{font-size:13px;margin:5px 0}
 #pug-shell #pug-page>.mobsik-game-ad{position:fixed;top:2px;left:50%;transform:translateX(-50%);z-index:6;width:320px;max-width:320px;height:70px;min-height:70px;margin:0;padding:0;overflow:visible}
 #pug-shell #pug-page>.mobsik-game-ad .mobsik-game-ad-label{height:14px;font-size:10px;line-height:14px;margin:0 0 6px}
 #pug-shell #pug-page>.mobsik-game-ad .adsbygoogle{width:320px;max-width:320px;height:50px;margin:0}
}
@media(max-width:1100px) and (max-height:360px) and (orientation:landscape){
 #pug-stage .home-copy h2{display:none}
 #pug-stage .home-copy h1,#pug-stage .pug-view .home-copy h1{font-size:29px}
 #pug-stage .queue-pug .avatar{max-width:44px}
 #pug-stage .queue-roster{padding:10px;gap:10px}
 #pug-stage .queue-heading h1{font-size:22px}
 #pug-stage .launch-copy h1{display:none}
 #pug-stage .launch-copy .pug-eyebrow{margin:0 0 6px}
}
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape),(pointer:coarse) and (orientation:landscape){
 #pug-shell .brand{max-width:calc((100% - 368px)/2)}
 body.pug-site-body.pug-keyboard{height:auto;overflow-y:auto;padding-bottom:70dvh}
 body.pug-keyboard #pug-shell{overflow:visible}
 body.pug-keyboard #pug-shell #pug-page>.mobsik-game-ad{position:absolute}
}

/* The selected course is visible to everyone before entering the water. */
#pug-stage .room-map{color:#163b50;background:#fff9eb;border-radius:10px;padding:6px 10px;font-size:13px;margin:0 0 10px;width:max-content;max-width:100%}
@media(max-width:1100px) and (max-height:600px) and (orientation:landscape),(pointer:coarse) and (orientation:landscape){#pug-stage #room-map{grid-column:1;grid-row:2;align-self:start;margin:0;font-size:11px;padding:3px 8px;min-height:20px}#pug-stage #room-members{margin-top:24px}#pug-stage #room-view:has(#pug-join:not([hidden])) #room-map{align-self:end}#pug-stage #create-view .pug-form .wide{grid-column:auto}}

@media(max-width:1100px) and (max-height:600px) and (orientation:landscape),(pointer:coarse) and (orientation:landscape){#pug-stage #room-members{grid-template-rows:repeat(2,44px)}#pug-stage .pug-member{grid-template-rows:18px 18px;padding:4px 0}}

@media(max-width:1100px) and (max-height:600px) and (orientation:landscape),(pointer:coarse) and (orientation:landscape){#pug-stage #room-controls{padding:4px}#pug-stage #room-note{min-height:24px;line-height:12px;margin:2px 0}#pug-stage .room-secondary .pug-back,#pug-stage .room-secondary .pug-text-link{min-height:30px}}

/* Admission metadata only; no extra polling or gameplay HUD. */
#pug-stage .pug-platform{display:inline-flex;vertical-align:middle;margin-inline-start:7px;color:#396471;width:18px;height:18px;flex:none}#pug-stage .pug-platform svg{width:100%;height:100%}#pug-stage .queue-pug .pug-platform{width:15px;height:15px;margin-inline-start:5px}

#pug-stage .pug-member strong,#pug-stage .queue-pug strong{display:flex;align-items:center;min-width:0;gap:0}#pug-stage .pug-player-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}#pug-stage .queue-pug strong{justify-content:center;max-width:100%}#pug-stage .pug-lobby-ping{font:600 11px/1.2 Inter,Arial,sans-serif;white-space:nowrap;flex:none;margin-inline-start:7px;color:#386432}#pug-stage .pug-lobby-ping.fair{color:#805000}#pug-stage .pug-lobby-ping.slow{color:#a63f30}

@media(pointer:coarse) and (orientation:landscape) and (min-width:1101px){#pug-shell .brand{font-size:24px}#pug-stage>.pug-view{inset:20px 24px}#pug-stage .pug-form input,#pug-stage .pug-form select{height:48px;font-size:16px}#pug-stage .pug-button{min-height:48px;font-size:16px}#pug-stage #room-members{grid-template-rows:repeat(2,64px)}#pug-stage .pug-member{grid-template-rows:24px 24px}#pug-stage .pug-member strong{font-size:15px}#pug-stage .pug-member .member-label{font-size:12px}#pug-stage .queue-pug .avatar{max-width:100px}#pug-stage .pug-lobby-ping{font-size:11px}}
