/* Compact landing page. Keep its layout independent of the game/lobby grid. */
.landing-nav{display:none}
body:not(.landing) .home-main{display:contents}
body:not(.landing) .home-weekly{display:none}
body.landing:not(.in-game){margin:0;min-height:100svh;height:auto;display:flex;flex-direction:column;background:#131d2b;color:#f7f4ec;overflow-x:clip}
body.landing:not(.in-game) .site-header{position:relative;z-index:2;width:min(1190px,calc(100% - 48px));max-width:1190px;height:auto;min-height:72px;margin:0 auto;padding:12px 0;flex:none;display:flex;align-items:center;gap:36px;background:#131d2b;border-bottom:1px solid #334050}
body.landing:not(.in-game) .site-header .logo{color:#f7f4ec;font-size:27px;letter-spacing:-.04em}
body.landing:not(.in-game) .site-header .logo-mark,body.landing:not(.in-game) .site-header .spark{color:#f3b31d}
body.landing:not(.in-game) .server-status,body.landing:not(.in-game) .sound-toggle,body.landing:not(.in-game) .wallet-chip,body.landing:not(.in-game) #adminBtn{display:none!important}
body.landing:not(.in-game) .landing-nav{display:flex;align-items:center;gap:26px;margin-right:auto}
body.landing:not(.in-game) .landing-nav a,body.landing:not(.in-game) .landing-nav button{padding:7px 0;border:0;background:none;color:#b9c2ce;font:inherit;font-size:14px;font-weight:600;text-decoration:none;cursor:pointer}
body.landing:not(.in-game) .landing-nav a:hover,body.landing:not(.in-game) .landing-nav button:hover{color:#f3b31d}
body.landing:not(.in-game) .header-actions{margin-left:auto}
body.landing:not(.in-game) .site-language-label select{width:46px;height:40px;padding:0 5px;border:1px solid #354255;border-radius:22px;background:#172333;color:#e8edf3;font-weight:700}
body.landing:not(.in-game) main{display:flex;flex-direction:column;flex:1;width:100%;max-width:none;height:auto;min-height:0;max-height:none;margin:0;padding:0;gap:0}
body.landing:not(.in-game) .home-main{width:min(1190px,calc(100% - 48px));min-height:0;flex:1;margin:0 auto;padding:clamp(18px,4vh,40px) 0 14px;display:flex;flex-direction:column;justify-content:center}
body.landing:not(.in-game) #welcome.home-shell{display:block;width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:0;grid-template-columns:none;gap:0}
body.landing:not(.in-game) .home-card{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,.97fr) minmax(420px,1.03fr);align-items:center;gap:clamp(32px,5vw,70px);padding:8px 0 22px;border:0;border-radius:0;background:none;box-shadow:none}
body.landing:not(.in-game) .home-copy{min-width:0;max-width:550px}
body.landing:not(.in-game) .home-eyebrow{margin:0 0 18px;color:#f3b31d;font-size:12px;font-weight:800;letter-spacing:.13em}
body.landing:not(.in-game) #homeTitle{margin:0;color:#fbfaf5;font-size:clamp(48px,6vw,72px);font-weight:780;line-height:.99;letter-spacing:-.055em}
body.landing:not(.in-game) #homeTitle em{color:#f3b31d;font-style:normal}
body.landing:not(.in-game) .home-intro{max-width:520px;margin:23px 0 20px;color:#c1c9d2;font-size:18px;line-height:1.65}
body.landing:not(.in-game) .home-auth-row{display:flex;align-items:center;gap:8px;margin:0 0 18px;color:#929eac;font-size:13px}
body.landing:not(.in-game) .home-auth-row button{padding:2px 0;border:0;background:none;color:#edf0f3;font-size:13px;font-weight:700;cursor:pointer}
body.landing:not(.in-game) .home-auth-row button:hover{color:#f3b31d}
body.landing:not(.in-game) .home-auth-row i{color:#667284;font-style:normal}
body.landing:not(.in-game) .home-cta-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px}
body.landing:not(.in-game) .home-cta-row button{min-height:49px;border-radius:28px;font-size:15px;font-weight:750}
body.landing:not(.in-game) .home-primary-cta{display:flex;align-items:center;justify-content:center;gap:10px;padding:0 24px;border:1px solid #f3b31d;background:#f3b31d;color:#17202c}
body.landing:not(.in-game) .home-primary-cta:hover{border-color:#ffc83f;background:#ffc83f}
body.landing:not(.in-game) .home-secondary-cta{padding:0 21px;border:1px solid #425064;background:transparent;color:#f4f5f7}
body.landing:not(.in-game) .home-secondary-cta:hover{border-color:#95a0ae;background:#1b2939}
body.landing:not(.in-game) .home-guest-note{margin:15px 0 0;color:#8490a0;font-size:12px}
body.landing:not(.in-game) .home-preview{overflow:hidden;padding:10px;border:1px solid #394658;border-radius:17px;background:#192434;box-shadow:0 22px 55px rgba(0,0,0,.24);transform:rotate(-.4deg)}
body.landing:not(.in-game) .preview-topbar{height:28px;display:flex;align-items:center;gap:6px;padding:0 8px;color:#aeb7c3;font-size:9px}
body.landing:not(.in-game) .preview-dot{width:6px;height:6px;border-radius:50%;background:#596578}
body.landing:not(.in-game) .preview-room{margin-left:8px;letter-spacing:.08em}
body.landing:not(.in-game) .preview-online{margin-left:auto;color:#b7c2ce}
body.landing:not(.in-game) .preview-content{display:grid;grid-template-columns:minmax(0,1fr) 128px;gap:8px;min-height:295px}
body.landing:not(.in-game) .preview-board{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;border:1px solid #e8e2d7;border-radius:7px 0 0 7px;background:#fffdf7}
body.landing:not(.in-game) .preview-turn{position:absolute;top:11px;left:13px;z-index:1;color:#77717b;font-size:9px;font-weight:800;letter-spacing:.1em}
body.landing:not(.in-game) .preview-board svg{width:94%;height:82%;margin-top:15px}
body.landing:not(.in-game) .preview-tools{position:absolute;bottom:0;left:0;right:0;height:28px;display:flex;align-items:center;gap:8px;padding:0 12px;border-top:1px solid #ece8df;background:#fff}
body.landing:not(.in-game) .preview-tools span{width:12px;height:12px;border-radius:50%;background:#55515d}
body.landing:not(.in-game) .preview-tools span:nth-child(2){background:#e6a725}
body.landing:not(.in-game) .preview-tools span:nth-child(3){background:#8a6ed1}
body.landing:not(.in-game) .preview-tools span:nth-child(4){background:#78a46a}
body.landing:not(.in-game) .preview-tools span:nth-child(5){background:#ec7868}
body.landing:not(.in-game) .preview-tools b{margin-left:auto;color:#6651aa;font-size:17px}
body.landing:not(.in-game) .preview-chat{display:flex;flex-direction:column;gap:11px;padding:13px 10px;border:1px solid #354255;border-radius:0 7px 7px 0;background:#202d3d;color:#dfe4e9;font-size:10px}
body.landing:not(.in-game) .preview-chat>strong{margin-bottom:3px;color:#909cac;font-size:8px;letter-spacing:.1em}
body.landing:not(.in-game) .preview-chat div{display:flex;align-items:center;gap:5px}
body.landing:not(.in-game) .preview-chat div b{color:#f3bd3e;font-size:9px}
body.landing:not(.in-game) .preview-chat div span{padding:5px 6px;border-radius:7px;background:#2d3b4b}
body.landing:not(.in-game) .preview-chat i{margin-top:auto;padding:7px 6px;border:1px solid #455266;border-radius:6px;color:#8793a1;font-style:normal;font-size:8px}
body.landing:not(.in-game) .preview-caption{display:flex;justify-content:space-between;padding:9px 5px 0;color:#9da8b5;font-size:9px;font-weight:750;letter-spacing:.08em}
body.landing:not(.in-game) .preview-caption span:first-child{color:#f3b31d}
body.landing:not(.in-game) .home-proof{display:flex;align-items:stretch;margin-top:28px;border:1px solid #3b4859;border-radius:14px;background:rgba(23,34,49,.55)}
body.landing:not(.in-game) .home-proof span{flex:1;padding:13px 22px}
body.landing:not(.in-game) .home-proof span+span{border-left:1px solid #3b4859}
body.landing:not(.in-game) .home-proof b{display:block;color:#f3f3f4;font-size:15px}
body.landing:not(.in-game) .home-proof small{display:block;margin-top:3px;color:#92a0b0;font-size:11px}
body.landing:not(.in-game) .home-weekly{width:100%;height:auto;min-height:0;margin:14px 0 0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
body.landing:not(.in-game) .weekly-card{display:flex;align-items:center;gap:20px;padding:7px 4px;border:0;background:transparent}
body.landing:not(.in-game) .weekly-card-title{display:none}
body.landing:not(.in-game) .weekly-star-compact{display:flex;align-items:center;gap:9px;margin:0;color:#f3b31d}
body.landing:not(.in-game) .weekly-star-compact>span{font-size:17px}
body.landing:not(.in-game) .weekly-star-compact strong{color:#d5dbe2;font-size:11px}
body.landing:not(.in-game) #weeklyStarList{color:#98a4b2;font-size:11px}
body.landing:not(.in-game) #weeklyStarList p{margin:2px 0 0}
body.landing:not(.in-game) .site-information{width:min(1190px,calc(100% - 48px));max-width:1190px;flex:none;flex-direction:row;justify-content:space-between;gap:8px 18px;margin:0 auto;padding:8px 0 12px;border:0;border-radius:0;background:transparent}
body.landing:not(.in-game) .information-nav{margin:0;gap:6px 16px}
body.landing:not(.in-game) .information-preference{min-height:28px;padding:4px 8px;border-color:#354255;border-radius:7px}
body.landing:not(.in-game) #notice:empty{display:none}
body.landing:not(.in-game) .site-information a,body.landing:not(.in-game) .information-preference{color:#98a4b2;font-size:10px}
body.landing:not(.in-game) footer{width:min(1190px,calc(100% - 48px));max-width:1190px;min-height:0;flex:none;margin:0 auto;padding:5px 0;color:#8b97a5;background:transparent;font-size:10px}
body.landing:not(.in-game) footer span:last-child,body.landing:not(.in-game) footer small{display:none}
@media(max-width:850px){
 body.landing:not(.in-game) .site-header{gap:20px}
 body.landing:not(.in-game) .landing-nav{gap:15px}
 body.landing:not(.in-game) .landing-nav a,body.landing:not(.in-game) .landing-nav button{font-size:12px}
 body.landing:not(.in-game) .home-main{width:calc(100% - 40px);min-height:0;padding:24px 0 14px}
 body.landing:not(.in-game) .home-card{grid-template-columns:minmax(0,.95fr) minmax(320px,1.05fr);gap:26px}
 body.landing:not(.in-game) .home-intro{font-size:16px}
 body.landing:not(.in-game) .preview-content{grid-template-columns:minmax(0,1fr) 96px;min-height:250px}
}
@media(max-width:650px){
 body.landing:not(.in-game) .site-header{width:calc(100% - 28px);min-height:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;padding:10px 0}
 body.landing:not(.in-game) .site-header .logo{grid-column:1;grid-row:1;width:max-content}
 body.landing:not(.in-game) .site-header .header-actions{grid-column:2;grid-row:1;width:auto;max-width:none;margin:0;display:flex;gap:0}
 body.landing:not(.in-game) .site-header .site-language-label{width:auto;height:auto}
 body.landing:not(.in-game) .landing-nav{grid-column:1/-1;grid-row:2;width:100%;justify-content:center;margin:0}
 body.landing:not(.in-game) .site-header .logo{font-size:23px;white-space:nowrap}
 body.landing:not(.in-game) .landing-nav{gap:11px}
 body.landing:not(.in-game) .landing-nav a,body.landing:not(.in-game) .landing-nav button{font-size:11px}
 body.landing:not(.in-game) .landing-nav a:last-child{display:none}
 body.landing:not(.in-game) .site-language-label select{width:40px;height:36px}
 body.landing:not(.in-game) .home-main{width:calc(100% - 28px);min-height:0;padding:18px 0 12px}
 body.landing:not(.in-game) .home-card{grid-template-columns:minmax(0,1fr);gap:16px;padding:0}
 body.landing:not(.in-game) .home-copy{max-width:none}
 body.landing:not(.in-game) .home-eyebrow{margin-bottom:10px;font-size:10px}
 body.landing:not(.in-game) #homeTitle{font-size:clamp(40px,11.8vw,52px)}
 body.landing:not(.in-game) .home-intro{max-width:520px;margin:12px 0 14px;font-size:14px;line-height:1.5}
 body.landing:not(.in-game) .home-auth-row{margin-bottom:12px;font-size:12px}
 body.landing:not(.in-game) .home-auth-row button{font-size:12px}
 body.landing:not(.in-game) .home-cta-row{gap:8px}
 body.landing:not(.in-game) .home-cta-row button{min-height:45px;font-size:13px}
 body.landing:not(.in-game) .home-primary-cta{padding:0 17px}
 body.landing:not(.in-game) .home-secondary-cta{padding:0 14px;font-size:12px}
 body.landing:not(.in-game) .home-guest-note{margin-top:10px;font-size:10px}
 body.landing:not(.in-game) .home-preview{padding:7px;border-radius:12px}
 body.landing:not(.in-game) .preview-content{grid-template-columns:minmax(0,1fr) 90px;height:150px;min-height:0}
 body.landing:not(.in-game) .preview-chat{gap:7px;padding:9px 6px}
 body.landing:not(.in-game) .preview-chat>strong{font-size:7px}
 body.landing:not(.in-game) .preview-board svg{width:98%;height:86%}
 body.landing:not(.in-game) .preview-tools{height:23px;gap:6px;padding:0 8px}
 body.landing:not(.in-game) .preview-tools span{width:9px;height:9px}
 body.landing:not(.in-game) .preview-turn{top:8px;left:9px;font-size:7px}
 body.landing:not(.in-game) .home-proof{margin-top:13px}
 body.landing:not(.in-game) .home-proof span{padding:10px 8px;text-align:center}
 body.landing:not(.in-game) .home-proof b{font-size:11px}
 body.landing:not(.in-game) .home-proof small{font-size:9px}
 body.landing:not(.in-game) .home-weekly{margin-top:8px}
 body.landing:not(.in-game) .weekly-card{padding:4px 2px}
 body.landing:not(.in-game) .site-information,body.landing:not(.in-game) footer{width:calc(100% - 28px)}
 body.landing:not(.in-game) .site-information{justify-content:center;gap:5px 10px;padding:5px 0 10px}
 body.landing:not(.in-game) .information-nav{gap:3px 12px;line-height:1.6}
 body.landing:not(.in-game) footer{display:none}
}
@media(max-width:390px){ body.landing:not(.in-game) .site-header{gap:7px} body.landing:not(.in-game) .site-header .logo{font-size:20px} body.landing:not(.in-game) .landing-nav{gap:8px} body.landing:not(.in-game) .landing-nav a,body.landing:not(.in-game) .landing-nav button{font-size:10px} body.landing:not(.in-game) .home-cta-row{align-items:stretch;flex-direction:row} body.landing:not(.in-game) .home-cta-row button{flex:1;padding-inline:10px;font-size:12px;white-space:nowrap} }
@media(max-width:650px) and (max-height:740px){body.landing:not(.in-game) .home-main{min-height:auto;padding-top:14px}body.landing:not(.in-game) .home-preview{display:none}body.landing:not(.in-game) .home-card{gap:12px}body.landing:not(.in-game) .home-proof{margin-top:8px}body.landing:not(.in-game) .home-weekly{margin-top:4px}
 body.landing:not(.in-game) .site-header .logo{font-size:20px}
 body.landing:not(.in-game) .landing-nav{gap:8px}
 body.landing:not(.in-game) .landing-nav a,body.landing:not(.in-game) .landing-nav button{font-size:10px}
 body.landing:not(.in-game) .home-cta-row{align-items:stretch;flex-direction:row}
}
.guide-page{width:min(900px,calc(100% - 32px));margin:42px auto 24px;color:#282530}
.guide-back{color:#6652a4;text-decoration:none;font-weight:700}
.guide-eyebrow{margin:30px 0 9px;color:#7053c5;font-size:12px;font-weight:800;letter-spacing:.12em}
.guide-page h1{margin:0;font-size:clamp(34px,6vw,52px);line-height:1.05;letter-spacing:-.04em}
.guide-intro{max-width:700px;color:#696570;font-size:17px;line-height:1.65}
.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:28px 0}
.guide-grid article,.guide-levels,.guide-note{padding:20px;border:1px solid #e8e2dc;border-radius:16px;background:white}
.guide-grid article>span{color:#7053c5;font-weight:800}
.guide-grid h2,.guide-levels h2,.guide-note h2{margin:8px 0;font-size:19px}
.guide-grid p,.guide-levels p,.guide-note p{color:#696570;line-height:1.55}
.guide-levels>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.guide-play{display:inline-block;margin:22px 0;padding:13px 18px;border-radius:10px;background:#7053c5;color:white;text-decoration:none;font-weight:700}
.guide-footer{text-align:center;padding:0 16px 24px;color:#777}
.guide-footer a{color:#625a70}
@media(max-width:680px){.guide-page{margin-top:26px}.guide-intro{font-size:15px}.guide-grid,.guide-levels>div{grid-template-columns:1fr;gap:10px}.guide-grid article,.guide-levels,.guide-note{padding:16px}.guide-grid{margin-top:20px}}

body.landing:not(.in-game) .landing-nav .nav-about{display:inline}
.guide-rules,.guide-faq{margin-top:16px;padding:20px;border:1px solid #e8e2dc;border-radius:16px;background:white}
.guide-rules h2,.guide-faq h2{margin:0 0 12px;font-size:20px}
.guide-rules ul{margin:0;padding-left:20px;color:#696570;line-height:1.7}
.guide-faq details{padding:13px 0;border-top:1px solid #eee9e4}
.guide-faq summary{font-weight:700;cursor:pointer}
.guide-faq details p{margin:9px 0 0;color:#696570;line-height:1.55}
@media(max-width:650px){body.landing:not(.in-game) .landing-nav .nav-about{display:none}.guide-rules,.guide-faq{padding:16px}}

.guide-jump-links{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 5px}
.guide-jump-links a{padding:8px 12px;border:1px solid #e8e2dc;border-radius:99px;color:#62518d;background:#fff;text-decoration:none;font-size:13px;font-weight:650}
.guide-jump-links a:hover{border-color:#c7b9e6;background:#faf8ff}
@media(max-width:680px){.guide-jump-links{gap:7px}.guide-jump-links a{padding:7px 10px;font-size:11px}}

/* Real weekly content, kept inside one stable card. */
body.landing:not(.in-game) .home-showcase{height:430px;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid #3a495c;border-radius:22px;background:linear-gradient(145deg,#202e40,#182333);box-shadow:0 22px 60px #050c1738}
.showcase-topline{display:flex;justify-content:space-between;align-items:center;gap:10px;flex:none;padding:15px 20px;border-bottom:1px solid #344457;color:#a7b4c5;font-size:10px;font-weight:800;letter-spacing:.1em}
.showcase-live{display:flex;align-items:center;gap:6px;letter-spacing:0;font-weight:500;color:#c6cfda}
.showcase-live i{width:6px;height:6px;border-radius:50%;background:#f3b31d;box-shadow:0 0 12px #f3b31d50}
.showcase-slides{min-height:0;flex:1;padding:17px 20px 8px}
#homeShowcase .showcase-slide{display:flex;flex-direction:column;gap:8px;height:100%;min-height:0;animation:showcase-in .35s ease}
#homeShowcase .showcase-slide[hidden],#homeShowcase [hidden]{display:none!important}
.showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}
.showcase-kicker{margin:0 0 5px;color:#c7a65d;font-size:9px;font-weight:800;letter-spacing:.12em}
#homeShowcase .showcase-heading h2{margin:0;color:#f8f6f0;font-size:25px;letter-spacing:-.04em;line-height:1.15}
.showcase-symbol{font-size:30px;color:#f3b31d}
#homeShowcase .showcase-week{margin:0;color:#91a1b4;font-size:10px}
#homeShowcase #galleryList{display:block;min-height:0;flex:1;margin:0;overflow:hidden}
#homeShowcase #galleryList:empty{display:none}
#homeShowcase #galleryList .featured-drawing{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr) auto;gap:8px 10px;height:100%;min-height:0;padding:0;border:0;background:none;box-shadow:none}
#homeShowcase .drawing-preview{grid-column:1/-1;grid-row:1;width:100%;height:100%;min-height:0;max-width:none;max-height:none;aspect-ratio:auto;overflow:hidden;border-radius:12px;background:#fffdf8}
#homeShowcase .drawing-preview canvas{display:block;width:100%;height:100%;object-fit:contain}
#homeShowcase .gallery-card-info{grid-column:1;grid-row:2;min-width:0;padding:0;gap:3px}
#homeShowcase .gallery-card-info h3{margin:0;color:#f5f4ef;font-size:14px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#homeShowcase .gallery-card-info p{margin:0;color:#a9b6c7;font-size:11px}
#homeShowcase .drawing-artist-avatar,#homeShowcase .drawing-caption{display:none}
#homeShowcase .featured-drawing-side{grid-column:2;grid-row:2;display:flex;align-items:center;gap:7px;min-width:0}
#homeShowcase .featured-drawing-side button{min-height:32px;padding:5px 10px;border:1px solid #48566a;border-radius:9px;background:#26364a;color:#f5f3ed;font-size:11px;box-shadow:none}
#homeShowcase .drawing-score small{display:none}
#homeShowcase .drawing-score strong{font-size:13px}
#homeShowcase .drawing-score-icon{color:#f3b31d;font-size:14px}
#homeShowcase .showcase-empty,.gallery-modal-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;flex:1;min-height:0;margin:0;text-align:center}
#homeShowcase .showcase-empty strong{color:#edf1f5;font-size:17px}
#homeShowcase .showcase-empty p{max-width:290px;margin:0;color:#a3b2c4;font-size:13px;line-height:1.55}
.empty-art{display:grid;place-items:center;width:70px;height:70px;margin-bottom:5px;border:1px solid #56604e;border-radius:22px;background:linear-gradient(135deg,#f3b31d18,#f3b31d05);color:#f3b31d;font-size:42px;transform:rotate(-7deg)}
#homeShowcase .showcase-action{flex:none;margin-top:auto}
#homeShowcase .showcase-action button{width:100%;min-height:34px;padding:7px 12px;border:1px solid #4a5667;border-radius:10px;background:#28384b;color:#f6f3eb;font-size:12px;font-weight:700;box-shadow:none}
#homeShowcase .showcase-action button:hover{border-color:#f3b31d;color:#f3b31d}
#homeShowcase .showcase-status{margin:0;color:#a7b5c6;font-size:10px}
#homeShowcase .showcase-status:empty{display:none}
.showcase-star-art{display:flex;justify-content:center;align-items:center;gap:30px;min-height:94px;color:#f3b31d}
.showcase-star-art b{display:grid;place-items:center;width:82px;height:82px;border:1px solid #f3b31d4d;border-radius:50%;background:radial-gradient(circle,#f3b31d25,#f3b31d05);font-size:46px;font-weight:400;box-shadow:0 0 60px #f3b31d12}
.showcase-star-art span{font-size:26px}
#homeShowcase #weeklyStarList{width:100%;max-width:none;text-align:center;color:#e8edf3}
#homeShowcase #weeklyStarList p{max-width:340px;margin:0 auto;color:#a8b6c8;font-size:14px;line-height:1.6}
#homeShowcase .star-player{display:grid;grid-template-columns:64px minmax(0,1fr);grid-template-rows:auto auto;align-items:center;gap:5px 13px;max-width:330px;margin:0 auto;padding:10px 16px;text-align:left}
#homeShowcase .star-avatar{grid-column:1;grid-row:1/3;width:64px;height:64px;font-size:32px}
#homeShowcase .star-player>strong{grid-column:2;grid-row:1;font-size:21px;color:#f8f6ef;overflow-wrap:anywhere}
#homeShowcase .star-week-score{grid-column:2;grid-row:2;color:#f3b31d;font-size:12px}
#homeShowcase #weeklyStarNote{margin:auto 0 0;text-align:center;color:#8fa1b7;font-size:10px;line-height:1.5}
.showcase-count{padding:5px 8px;border:1px solid #435369;border-radius:20px;color:#b7c4d3;font-size:11px;white-space:nowrap}
.showcase-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:8px;min-height:0;flex:1}
.showcase-gallery-grid:empty{display:none}
#homeShowcase .showcase-gallery-tile{min-width:0;min-height:0;display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid #435269;border-radius:10px;background:#fffdf8;box-shadow:none;text-align:left;cursor:pointer}
.showcase-gallery-tile canvas{display:block;width:100%;height:calc(100% - 31px);min-height:0;object-fit:contain}
.showcase-gallery-tile>span{display:flex;align-items:center;justify-content:space-between;gap:5px;width:100%;padding:6px 8px;background:#25354a;color:#eef1f5}
.showcase-gallery-tile strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.showcase-gallery-tile small{max-width:50%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a7b5c7;font-size:9px}
.showcase-controls{flex:none;display:flex;align-items:center;gap:7px;padding:9px 20px 13px}
#homeShowcase .showcase-controls button{display:grid;place-items:center;width:32px;height:30px;min-height:30px;padding:0;border:1px solid #425267;border-radius:9px;background:#233349;color:#dce4ed;box-shadow:none;font-size:16px}
.showcase-dots{display:flex;justify-content:center;align-items:center;gap:8px;flex:1}
#homeShowcase .showcase-dots button{width:8px;height:8px;min-height:8px;border:0;border-radius:10px;background:#66758b;transition:width .2s,background .2s}
#homeShowcase .showcase-dots button[aria-pressed="true"]{width:24px;background:#f3b31d}
#homeShowcase button:focus-visible,#homeShowcase:focus-visible{outline:2px solid #f3b31d;outline-offset:3px}
body.landing:not(.in-game) .home-cta-row #loginBtn{background:#f3b31d;color:#17202c;border-color:#f3b31d;box-shadow:none}
body.landing:not(.in-game) .home-cta-row #registerBtn{background:#1c2a3c;color:#f5f3ec;border-color:#45546a;box-shadow:none}
body.landing:not(.in-game) .home-auth-row :is(#loginBtn,#registerBtn){min-height:28px;padding:3px 0;border:0;border-radius:0;background:none;color:#edf1f5;box-shadow:none}
@keyframes showcase-in{from{opacity:.25;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:850px){body.landing:not(.in-game) .home-showcase{height:410px}.showcase-topline{padding-inline:15px}.showcase-slides{padding-inline:15px}.showcase-controls{padding-inline:15px}}
@media(max-width:650px){
 body.landing:not(.in-game) .home-showcase{height:285px;border-radius:16px}
 body.landing:not(.in-game) .home-card{gap:14px}
 body.landing:not(.in-game) .home-main{padding-block:14px 10px}
 body.landing:not(.in-game) #homeTitle{font-size:42px}
 body.landing:not(.in-game) .home-intro{font-size:13px;margin:10px 0;line-height:1.45}
 body.landing:not(.in-game) .home-eyebrow{margin-bottom:8px}
 body.landing:not(.in-game) .home-auth-row{margin-bottom:9px}
 body.landing:not(.in-game) .home-cta-row button{min-height:42px;font-size:12px}
 body.landing:not(.in-game) .home-proof{margin-top:12px}
 .showcase-topline{padding:10px 13px;font-size:8px}
 .showcase-slides{padding:12px 13px 3px}
 #homeShowcase .showcase-heading h2{font-size:20px}
 .showcase-kicker{font-size:8px;margin-bottom:3px}
 .showcase-symbol{font-size:23px}
 #homeShowcase .showcase-slide{gap:5px}
 #homeShowcase .showcase-empty{gap:5px}
 .empty-art{width:43px;height:43px;margin-bottom:2px;border-radius:14px;font-size:29px}
 #homeShowcase .showcase-empty strong{font-size:14px}
 #homeShowcase .showcase-empty p{font-size:11px}
 #homeShowcase .showcase-week{font-size:9px}
 #homeShowcase .showcase-action button{min-height:30px;padding:5px 8px;font-size:11px}
 .showcase-controls{padding:5px 13px 9px}
 #homeShowcase .showcase-controls button{height:27px;min-height:27px;width:29px;font-size:14px}
 #homeShowcase .showcase-dots button{height:7px;min-height:7px;width:7px}
 .showcase-star-art{min-height:55px;gap:25px}
 .showcase-star-art b{width:50px;height:50px;font-size:31px}
 .showcase-star-art span{font-size:19px}
 #homeShowcase #weeklyStarList p{font-size:12px;max-width:290px;line-height:1.5}
 #homeShowcase #weeklyStarNote{font-size:9px}
 #homeShowcase .star-player{grid-template-columns:45px minmax(0,1fr);padding:3px 10px}
 #homeShowcase .star-avatar{width:45px;height:45px;font-size:25px}
 #homeShowcase .star-player>strong{font-size:17px}
 #homeShowcase .star-week-score{font-size:10px}
 .showcase-gallery-grid{gap:5px}
 .showcase-gallery-tile canvas{height:calc(100% - 24px)}
 .showcase-gallery-tile>span{padding:4px 6px}
 .showcase-gallery-tile strong{font-size:9px}
 .showcase-gallery-tile small{font-size:8px}
 #homeShowcase .gallery-card-info h3{font-size:12px}
 #homeShowcase .gallery-card-info p{font-size:10px}
 #homeShowcase .featured-drawing-side button{min-height:27px;font-size:10px;padding:4px 7px}
}
@media(max-width:650px) and (max-height:740px){
 body.landing:not(.in-game) .home-showcase{height:230px}
 body.landing:not(.in-game) #homeTitle{font-size:36px}
 body.landing:not(.in-game) .home-main{padding-block:10px 8px}
 body.landing:not(.in-game) .home-card{gap:10px}
 body.landing:not(.in-game) .home-proof span{padding-block:7px}
 .showcase-star-art{display:none}
 #homeShowcase .showcase-star-list{margin:auto 0}
}
@media(prefers-reduced-motion:reduce){#homeShowcase .showcase-slide{animation:none}.showcase-dots button{transition:none}}

body.landing:not(.in-game) .home-guest-note{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:15px}
body.landing:not(.in-game) .home-cta-row>button{flex:1 0 auto;min-width:0;max-width:100%;min-height:49px;white-space:normal}
body.landing:not(.in-game) .home-cta-row #quickPlay{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:0 21px;border:1px solid #52647c;border-radius:28px;background:#243449;background-image:none;color:#f5f3ec;box-shadow:none;text-decoration:none;cursor:pointer}
body.landing:not(.in-game) .home-cta-row #quickPlay:hover{border-color:#91a9c5;background:#314760;color:#fff}
body.landing:not(.in-game) .home-cta-row #quickPlay:focus-visible{outline:3px solid #f3b31d;outline-offset:3px}
@media(max-width:650px){body.landing:not(.in-game) .home-cta-row>button{min-height:44px}body.landing:not(.in-game) .home-cta-row #quickPlay{padding-inline:16px}}
body.landing:not(.in-game) .home-guest-note>span{color:#8494a9;font-size:11px}
@media(max-width:650px){body.landing:not(.in-game) .home-guest-note{gap:5px;margin-top:8px}body.landing:not(.in-game) .home-guest-note>span{font-size:9px}}

/* Keep the single featured drawing readable on the welcome page's dark card. */
body.landing #homeShowcase .gallery-card-info h3{color:#f5f4ef!important}
body.landing #homeShowcase .gallery-card-info p,body.landing #homeShowcase .gallery-card-info p span{color:#b7c8dc!important}
body.landing #homeShowcase .drawing-caption{color:#a9bed8!important}
body.landing #homeShowcase .drawing-score{background:#3c3323!important;border:1px solid #7b6540!important;color:#ffda82!important}
body.landing #homeShowcase .drawing-score :is(strong,small,.drawing-score-icon){color:#ffda82!important}
