/* ElectricBrainz: play, profiles, creator tools, and moderation. */
.player-layout{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:28px;align-items:start}
.player-main,.player-info,.profile-body,.profile-games,.studio-layout>*,.admin-content{min-width:0}
.player-frame{overflow:hidden;border-radius:22px;background:#171429;border:1px solid rgba(255,255,255,.08);box-shadow:0 14px 42px rgba(43,30,85,.09)}
.player-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 18px;color:#d4cfee;background:#211d35;font-size:13px}
.player-topbar .pill{font-size:11px;color:#cff58a;background:#3d4833;border:0}
.player-topbar .icon{width:16px;height:16px}
.player-stage{position:relative;display:grid;place-items:center;aspect-ratio:16/9;min-height:280px;overflow:hidden;background:#151227}
.player-stage iframe{display:block;width:100%;height:100%;border:0;background:#151227}
.player-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.player-stage-overlay,.player-launch{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;text-align:center;padding:28px;background:linear-gradient(0deg,rgba(15,10,35,.72),rgba(22,12,48,.2));color:#fff}
.player-stage-overlay h2,.player-launch h2{margin:0;font:800 clamp(27px,4vw,44px)/1.1 BrainzDisplay,sans-serif}
.player-stage-overlay p,.player-launch p{margin:0;color:#e3def5}
.player-stage-overlay .btn,.player-launch .btn{box-shadow:0 8px 25px #0003}
.player-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:11px 16px;color:#eee9ff;background:#211d35;font-size:12px}
.player-bar button{border:0;background:transparent;color:inherit;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:8px 10px;border-radius:9px;cursor:pointer;font:inherit}
.player-bar button:hover{background:#ffffff12}
.player-bar .icon{width:17px;height:17px}
.player-info{padding-top:22px}
.player-info h1{font:800 clamp(26px,3vw,37px)/1.12 BrainzDisplay,sans-serif;letter-spacing:-1px;margin:0 0 10px}
.player-info .title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.game-stats{display:flex;align-items:center;gap:15px;flex-wrap:wrap;color:var(--muted);font-size:13px}
.game-stats>span{display:inline-flex;align-items:center;gap:5px}
.game-stats .icon{width:15px;height:15px}
.player-social{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.player-social .btn{padding:10px 13px;font-size:13px}
.player-social .is-liked,.player-social .is-saved{color:var(--purple-ink);background:var(--soft);border-color:var(--soft)}
.creator-byline{display:flex;align-items:center;gap:10px;margin:22px 0 17px}
.creator-byline .avatar{width:42px;height:42px;border-radius:14px;flex:0 0 auto}
.creator-byline a,.creator-byline button{font-size:14px;font-weight:800;color:var(--ink)}
.creator-byline small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.creator-byline>.btn:last-child{margin-left:auto}
.rating-control{display:flex;align-items:center;gap:2px;flex-wrap:wrap}
.rating-control>span{font-size:12px;color:var(--muted);margin-right:7px}
.rating-star{border:0;background:none;color:#c8c1d6;cursor:pointer;padding:3px;font-size:25px;line-height:1;transition:transform .15s,color .15s}
.rating-star svg{width:22px;height:22px;fill:currentColor;stroke:currentColor}
.rating-star.active,.rating-star.is-active,.rating-star:hover{color:#edb343}
.rating-star:hover{transform:scale(1.15)}
.description-box{border:1px solid var(--line);background:var(--surface);border-radius:17px;padding:20px;margin-top:20px}
.description-box h3{font-size:16px;margin:0 0 9px}
.description-box p{font-size:14px;line-height:1.75;color:var(--muted);margin:0 0 12px}
.description-box p:last-child{margin-bottom:0}
.controls-row{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:15px;padding-top:15px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
.controls-row kbd{border:1px solid var(--line);border-bottom-width:3px;border-radius:5px;background:var(--bg);padding:3px 7px;font-family:inherit;font-weight:700;color:var(--ink)}
.related-sidebar{padding-top:3px}
.related-sidebar h2,.related-sidebar h3{font:800 20px/1.2 BrainzDisplay,sans-serif;margin:0 0 17px}
.related-list{display:grid;gap:16px}
.related-list .game-card{border:0;background:none}
.related-list .game-card .game-cover,.related-list .game-card .card-image{aspect-ratio:16/9;border-radius:14px}
.related-list .game-card .card-body{padding:10px 1px 0}
.related-list .game-card h3{font-size:15px;margin-bottom:5px}
.related-list .game-card .card-meta{font-size:11px}
.related-item{display:grid;grid-template-columns:110px minmax(0,1fr);gap:11px;color:var(--ink);text-decoration:none;align-items:center;padding:7px;border-radius:13px}
.related-item:hover{background:var(--side)}
.related-item img{width:110px;aspect-ratio:1.5;object-fit:cover;border-radius:11px}
.related-item h4{font-size:13px;margin:0 0 5px}
.related-item p,.related-item small{font-size:11px;color:var(--muted);margin:0;line-height:1.6}
.comments-section{margin-top:30px}
.comments-section h2,.comments-section h3{font:800 21px/1.2 BrainzDisplay,sans-serif;margin:0 0 19px}
.comment-compose{display:flex;gap:11px;align-items:flex-start;margin-bottom:24px}
.comment-compose .avatar{width:37px;height:37px;border-radius:12px;flex-shrink:0}
.comment-compose form,.comment-compose .comment-input{flex:1;min-width:0}
.comment-compose textarea{width:100%;min-height:83px;resize:vertical;border:1px solid var(--line);background:var(--surface);border-radius:13px;padding:13px 14px;font:14px/1.6 BrainzBody,sans-serif;color:var(--ink)}
.comment-compose .btn{float:right;margin-top:8px}
.comment{display:flex;gap:11px;margin:19px 0;padding-bottom:18px;border-bottom:1px solid var(--line)}
.comment:last-child{border-bottom:0}
.comment>.avatar{width:36px;height:36px;border-radius:12px;flex-shrink:0}
.comment-body{flex:1;min-width:0}
.comment-body strong{font-size:13px}
.comment-body time,.comment-body small{font-size:11px;color:var(--muted);margin-left:8px}
.comment-body p{font-size:14px;line-height:1.65;margin:6px 0;color:var(--ink);overflow-wrap:anywhere}
.comment-actions{display:flex;gap:12px;margin-top:9px}
.comment-actions button{display:flex;align-items:center;gap:5px;border:0;padding:2px 0;background:none;color:var(--muted);font:11px BrainzBody,sans-serif;cursor:pointer}
.comment-actions button:hover{color:var(--purple-ink)}
.comment-actions .icon{width:13px;height:13px}
.guest-comment{background:var(--soft);border-radius:14px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
.guest-comment p{font-size:13px;line-height:1.6;margin:0;color:var(--ink)}
.guest-comment .btn{white-space:nowrap;flex-shrink:0}
.theater-view .player-layout{grid-template-columns:1fr}
.theater-view .related-sidebar{display:none}
.theater-view .player-stage{max-height:74vh;min-height:340px}
.player-frame:fullscreen{display:flex;flex-direction:column;width:100vw;height:100vh;border:0;border-radius:0}
.player-frame:fullscreen .player-stage{flex:1;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:auto}
.player-frame:fullscreen .player-topbar{display:none}

/* Profile clubhouse */
.profile-cover{position:relative;isolation:isolate;height:216px;border-radius:24px;overflow:hidden;background:#d5f798;color:#253a29}
.profile-cover::before{content:"";position:absolute;inset:-60px;background-image:radial-gradient(circle at 12% 14%,#ffffff75 0 10px,transparent 11px),radial-gradient(circle at 78% 33%,#ffffff50 0 65px,transparent 66px),radial-gradient(circle at 52% 110%,#ffffff40 0 130px,transparent 131px);transform:rotate(-7deg);z-index:-1}
.profile-cover::after{content:"✦";position:absolute;right:16%;top:12px;font-size:160px;color:#ffffff70;line-height:1;transform:rotate(18deg);z-index:-1}
.profile-cover.lime{background:linear-gradient(115deg,#b4e967,#e2ffb3);color:#2d4b30}
.profile-cover.pink{background:linear-gradient(115deg,#f7a5d1,#e5bdff);color:#67395e}
.profile-cover.midnight{background:linear-gradient(115deg,#292043,#654894);color:#f6edff}
.profile-cover.midnight::before{background-image:radial-gradient(circle at 12% 14%,#cefa6980 0 4px,transparent 5px),radial-gradient(circle at 68% 40%,#bda0ff50 0 80px,transparent 81px),radial-gradient(circle at 52% 110%,#8b65f050 0 130px,transparent 131px)}
.profile-cover .cover-title{position:absolute;left:34px;top:33px;max-width:68%;font:800 clamp(24px,4vw,46px)/1.08 BrainzDisplay,sans-serif;letter-spacing:-1.4px;transform:rotate(-3deg)}
.profile-cover .cover-sticker{position:absolute;right:25%;bottom:30px;transform:rotate(8deg);padding:8px 15px;border-radius:8px;background:#fff0cc;color:#5d3f27;font-weight:800;font-size:12px;box-shadow:3px 4px #0001}
.profile-banner-actions{position:absolute;right:20px;top:19px;display:flex;gap:8px}
.profile-banner-actions .btn{background:#ffffffe8;border-color:#ffffff80;color:#3b344c;font-size:12px;padding:9px 12px;backdrop-filter:blur(8px)}
.profile-head{position:relative;display:flex;align-items:flex-start;gap:19px;padding:0 27px 23px;margin-top:-36px}
.profile-head>.avatar{width:112px;height:112px;flex-shrink:0;border:6px solid var(--bg);border-radius:33px;box-shadow:0 6px 18px #26193c0a}
.profile-identity{padding-top:47px;min-width:0;flex:1}
.profile-identity h1{font:800 clamp(25px,3vw,34px)/1.1 BrainzDisplay,sans-serif;letter-spacing:-.9px;margin:0 0 6px;overflow-wrap:anywhere}
.profile-identity .row{gap:8px;flex-wrap:wrap}
.profile-identity p{font-size:13px;color:var(--muted);margin:0;line-height:1.6}
.profile-head>.btn,.profile-head>.row{margin-top:56px;flex-shrink:0}
.profile-body{display:grid;grid-template-columns:255px minmax(0,1fr);gap:24px;align-items:start;margin-top:3px}
.profile-sidebar{display:grid;gap:15px;min-width:0}
.profile-widget{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:20px}
.profile-widget h3{font:800 17px/1.2 BrainzDisplay,sans-serif;margin:0 0 13px}
.profile-widget p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 10px;overflow-wrap:anywhere}
.profile-widget p:last-child{margin-bottom:0}
.profile-widget .meta-label{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:var(--muted);font-weight:800}
.profile-widget .favorite-genres{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}
.profile-widget .pill{font-size:11px}
.profile-badges{display:flex;gap:8px;flex-wrap:wrap}
.profile-badges .badge,.profile-badges>span{font-size:11px;background:var(--soft);color:var(--purple-ink);padding:7px 9px;border-radius:8px;font-weight:700;display:inline-flex;align-items:center;gap:5px}
.profile-badges .icon{width:14px;height:14px}
.music-widget{position:relative;overflow:hidden;background:#29233f;color:#fff;border-color:#29233f}
.music-widget h3{color:#fff}
.music-widget p{color:#bcb4d4}
.music-widget .music-row{display:flex;align-items:center;gap:12px;margin:15px 0}
.music-widget .music-title{font-size:13px;font-weight:800;line-height:1.4}
.music-widget .music-title small{display:block;font-size:11px;font-weight:500;color:#bcb4d4;margin-top:5px}
.music-widget .btn{width:100%;justify-content:center;border-color:#5c5175;background:#453957;color:#fff;font-size:12px}
.music-widget .btn:hover{background:#584772}
.music-widget .music-wave{height:22px;display:flex;align-items:center;gap:4px;margin-left:auto}
.music-widget .music-wave i{width:3px;border-radius:2px;background:#cefa69;height:10px}
.music-widget .music-wave i:nth-child(2n){height:20px}
.music-widget .music-wave i:nth-child(3n){height:14px}
.music-widget.is-playing .music-wave i{animation:music-bars .7s ease-in-out infinite alternate}
.music-widget.is-playing .music-wave i:nth-child(2n){animation-delay:.25s}
.record{width:47px;height:47px;flex-shrink:0;border-radius:50%;border:3px solid #51446d;background:repeating-radial-gradient(circle at center,#332b45 0 3px,#4a3c62 4px 5px);position:relative}
.record::before{content:"";position:absolute;inset:15px;background:#cefa69;border-radius:50%}
.record::after{content:"";position:absolute;inset:21px;background:#332b45;border-radius:50%}
.is-playing .record{animation:record-spin 5s linear infinite}
.profile-games h2{font:800 23px/1.2 BrainzDisplay,sans-serif;margin:0}
.profile-tabs{display:flex;gap:22px;border-bottom:1px solid var(--line);margin:0 0 23px;padding:0 3px;overflow-x:auto;scrollbar-width:none}
.profile-tabs button,.profile-tabs a{border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font:700 13px BrainzBody,sans-serif;cursor:pointer;padding:14px 0;white-space:nowrap;text-decoration:none}
.profile-tabs button.active,.profile-tabs a.active{color:var(--purple-ink);border-bottom-color:var(--purple)}
.profile-games .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.profile-empty{background:var(--surface);border:1px dashed var(--line);padding:42px 24px;border-radius:18px;text-align:center;color:var(--muted)}
.profile-empty h3{color:var(--ink);font:800 21px BrainzDisplay,sans-serif}
.creator-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:24px}
.creator-card{border:1px solid var(--line);background:var(--surface);border-radius:21px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.creator-card:hover{transform:translateY(-4px);box-shadow:0 15px 30px #2b204d0b}
.creator-card-banner{height:100px;position:relative;background:var(--soft);overflow:hidden}
.creator-card-banner.lime{background:#d4f799}
.creator-card-banner.pink{background:#fac9e3}
.creator-card-banner.midnight{background:#62508b}
.creator-card-banner::after{content:"✦";position:absolute;right:22px;top:-20px;font-size:130px;color:#fff6;transform:rotate(18deg)}
.creator-card-body{position:relative;padding:0 22px 23px;margin-top:-32px}
.creator-card-body>.avatar{width:76px;height:76px;border:5px solid var(--surface);border-radius:24px;margin-bottom:9px}
.creator-card-body h3{font:800 22px BrainzDisplay,sans-serif;margin:0 0 5px;letter-spacing:-.5px}
.creator-card-body p{font-size:13px;line-height:1.6;color:var(--muted);margin:0 0 15px}
.creator-card-body .btn{width:100%;justify-content:center;font-size:13px}
.creator-card-body .creator-stats{display:flex;gap:14px;font-size:12px;color:var(--muted);margin:13px 0 19px}

/* Creator studio */
.studio-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:24px;padding:32px 37px;background:var(--soft);overflow:hidden;margin-bottom:27px}
.studio-hero h1{font:800 clamp(28px,4vw,39px)/1.06 BrainzDisplay,sans-serif;letter-spacing:-1.2px;margin:8px 0 11px}
.studio-hero p{font-size:14px;line-height:1.7;color:var(--muted);max-width:520px;margin:0}
.studio-hero .eyebrow{font-size:11px;letter-spacing:1.4px;text-transform:uppercase;color:var(--purple-ink);font-weight:800}
.studio-art{width:164px;height:130px;flex-shrink:0;display:grid;place-items:center;position:relative;transform:rotate(-7deg)}
.studio-art::before{content:"";position:absolute;inset:10px 20px;background:var(--lime);border-radius:28px;transform:rotate(17deg);box-shadow:8px 8px #7563ed20}
.studio-art>.icon{position:relative;width:65px;height:65px;stroke-width:1.5;color:#354228}
.studio-art .code-sticker{position:absolute;right:-4px;bottom:0;padding:8px 12px;background:var(--surface);border:1px solid var(--line);font-weight:800;font-size:15px;border-radius:9px;transform:rotate(14deg)}
.studio-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.studio-layout>.panel{padding:26px;border-radius:20px}
.studio-layout h2{font:800 23px/1.2 BrainzDisplay,sans-serif;margin:0 0 7px;letter-spacing:-.5px}
.studio-layout h3{font:800 17px/1.3 BrainzDisplay,sans-serif;margin:0 0 10px}
.studio-layout p{font-size:13px;line-height:1.7;color:var(--muted)}
.steps{display:flex;align-items:center;gap:0;margin:0 0 27px;padding-bottom:22px;border-bottom:1px solid var(--line)}
.step{display:flex;align-items:center;gap:8px;flex:1;font-size:12px;font-weight:700;color:var(--muted);position:relative}
.step:last-child{flex:0 1 auto}
.step:not(:last-child)::after{content:"";height:1px;background:var(--line);flex:1;margin:0 12px}
.step>span:first-child,.step-number{display:grid;place-items:center;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;background:var(--surface);font-size:11px;flex-shrink:0}
.step.active,.step.done{color:var(--purple-ink)}
.step.active>span:first-child,.step.done>span:first-child,.step.active .step-number{background:var(--purple);color:#fff;border-color:var(--purple)}
.source-tabs{display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:5px;background:var(--side);border-radius:12px;margin:20px 0}
.source-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:41px;padding:10px 12px;border:0;border-radius:9px;font:700 13px BrainzBody,sans-serif;background:transparent;color:var(--muted);cursor:pointer}
.source-tabs button.active{background:var(--surface);color:var(--purple-ink);box-shadow:0 2px 7px #241a3e0b}
.source-tabs .icon{width:17px;height:17px}
.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:166px;padding:23px;text-align:center;border:2px dashed var(--line);border-radius:16px;background:var(--bg);margin:18px 0;cursor:pointer;transition:border-color .2s,background .2s}
.drop-zone:hover,.drop-zone.is-dragover{border-color:var(--purple);background:var(--soft)}
.drop-zone>.icon{width:32px;height:32px;color:var(--purple)}
.drop-zone strong{font-size:14px}
.drop-zone span,.drop-zone small{font-size:12px;color:var(--muted);line-height:1.6}
.drop-zone input{max-width:100%;font-size:12px}
.repo-summary{border:1px solid var(--line);border-radius:13px;background:var(--bg);padding:15px;margin:17px 0;font-size:12px;line-height:1.8;overflow-wrap:anywhere}
.repo-summary strong{display:block;color:var(--ink);font-size:13px}
.repo-summary code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:var(--purple-ink);font-size:11px}
.repo-summary .repo-check{color:#538749;display:flex;align-items:center;gap:6px;margin-top:5px}
.repo-summary .icon{width:15px;height:15px}
.studio-preview{border:1px solid var(--line);border-radius:18px;padding:19px;background:var(--surface)}
.studio-preview>.eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:800;text-transform:uppercase;color:var(--muted);margin-bottom:15px}
.studio-preview .game-card{box-shadow:none;border:0}
.studio-preview .game-card .card-body{padding:12px 0 0}
.studio-preview .preview-image{aspect-ratio:16/10;border-radius:13px;overflow:hidden;background:var(--soft);display:grid;place-items:center}
.studio-preview .preview-image img{width:100%;height:100%;object-fit:cover}
.studio-preview .preview-image>.icon{width:42px;height:42px;color:var(--purple)}
.studio-preview h3{font-size:17px;margin:13px 0 5px}
.studio-preview p{font-size:12px;margin:0}
.workflow-list{display:grid;gap:18px;padding:17px 0 0}
.workflow-item{display:flex;gap:11px;align-items:flex-start;position:relative}
.workflow-item>.icon,.workflow-item>.step-dot{width:29px;height:29px;border-radius:9px;padding:6px;flex-shrink:0;background:var(--soft);color:var(--purple);display:grid;place-items:center;font-size:12px;font-weight:800}
.workflow-item strong{display:block;font-size:12px;margin:1px 0 5px}
.workflow-item p{font-size:11px;line-height:1.6;margin:0}
.studio-access{padding:19px 21px;border:1px solid var(--line);background:var(--surface);border-radius:17px;margin-top:18px}
.studio-access h3{font-size:15px;margin-bottom:9px}
.studio-access p{font-size:12px;line-height:1.7;margin:0}
.studio-access .role-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.form-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-top:21px;margin-top:24px;border-top:1px solid var(--line)}
.form-bottom p{font-size:11px;max-width:270px;margin:0;line-height:1.6}
.form-bottom .btn{white-space:nowrap;flex-shrink:0}
.mini-library{margin-top:28px}
.mini-library h2{font:800 23px BrainzDisplay,sans-serif;margin:0 0 18px}
.mini-library-row{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--line)}
.mini-library-row>img{width:74px;aspect-ratio:1.5;border-radius:9px;object-fit:cover}
.mini-library-row strong{font-size:13px;display:block}
.mini-library-row small{font-size:11px;color:var(--muted);display:block;margin-top:5px}
.mini-library-row .pill{margin-left:auto;font-size:10px}

/* Admin corner */
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:25px 0}
.stat-card{padding:22px 23px;background:var(--surface);border:1px solid var(--line);border-radius:18px;position:relative;overflow:hidden}
.stat-card>.icon{position:absolute;right:20px;top:21px;width:20px;height:20px;color:var(--purple);opacity:.7}
.stat-label{font-size:12px;font-weight:700;color:var(--muted);margin-bottom:12px}
.stat-value{font:800 34px/1 BrainzDisplay,sans-serif;letter-spacing:-1px;color:var(--ink)}
.stat-card small{display:block;font-size:11px;color:var(--muted);margin-top:10px;line-height:1.5}
.stat-card.lime{background:var(--lime);border-color:var(--lime);color:var(--lime-ink)}
.stat-card.lime .stat-label,.stat-card.lime .stat-value,.stat-card.lime small{color:var(--lime-ink)}
.admin-tabs{display:flex;align-items:center;gap:7px;padding:6px;background:var(--side);border-radius:13px;width:fit-content;max-width:100%;overflow-x:auto;margin-bottom:23px;scrollbar-width:none}
.admin-tabs button{border:0;border-radius:9px;padding:11px 17px;white-space:nowrap;font:700 13px BrainzBody,sans-serif;color:var(--muted);background:transparent;cursor:pointer;display:flex;align-items:center;gap:8px}
.admin-tabs button.active{color:var(--purple-ink);background:var(--surface);box-shadow:0 2px 7px #241a3e0b}
.admin-tabs .tab-count{padding:2px 6px;background:var(--soft);border-radius:6px;font-size:10px;color:var(--purple-ink)}
.review-card{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:22px;align-items:center;background:var(--surface);border:1px solid var(--line);padding:19px;border-radius:19px;margin-bottom:14px}
.review-card>img,.review-card>.review-cover{width:180px;aspect-ratio:1.6;object-fit:cover;border-radius:13px;overflow:hidden}
.review-cover img{width:100%;height:100%;object-fit:cover}
.review-meta h3{font:800 21px BrainzDisplay,sans-serif;margin:0 0 8px;letter-spacing:-.3px}
.review-meta p{font-size:12px;color:var(--muted);line-height:1.65;margin:0 0 8px;overflow-wrap:anywhere}
.review-meta .pill{font-size:10px;padding:5px 8px}
.review-meta .row{gap:7px;flex-wrap:wrap}
.review-actions{display:flex;flex-direction:column;gap:8px;min-width:118px}
.review-actions .btn{justify-content:center;padding:9px 13px;font-size:12px}
.review-actions .btn.reject{color:#bf5d72;background:#fff0f3;border-color:#f5d9e0}
.table-wrap{overflow-x:auto;background:var(--surface);border:1px solid var(--line);border-radius:18px;max-width:100%}
.small-table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;min-width:630px}
.small-table th{padding:16px 19px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);background:var(--bg);white-space:nowrap}
.small-table td{padding:17px 19px;border-top:1px solid var(--line);vertical-align:middle}
.small-table td p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}
.small-table td strong{font-size:13px}
.small-table .avatar{width:37px;height:37px;border-radius:12px}
.small-table .row{gap:10px;flex-wrap:nowrap}
.small-table .pill{font-size:10px;white-space:nowrap}
.small-table .game-thumb{width:61px;aspect-ratio:1.55;object-fit:cover;border-radius:8px}
.small-table select{font-size:12px;min-width:110px;padding:8px 29px 8px 10px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--ink)}
.table-actions{display:flex;align-items:center;gap:7px}
.table-actions button{border:1px solid var(--line);background:var(--surface);color:var(--muted);padding:7px 9px;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;font-size:11px}
.table-actions button:hover{color:var(--purple-ink);background:var(--soft)}
.table-actions .icon{width:14px;height:14px}
.admin-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:52px 24px;background:var(--surface);border:1px dashed var(--line);border-radius:19px}
.admin-empty>.icon{width:45px;height:45px;color:var(--purple)}
.admin-empty h3{font:800 24px BrainzDisplay,sans-serif;margin:0}
.admin-empty p{font-size:13px;line-height:1.7;color:var(--muted);max-width:420px;margin:0}
.admin-note{background:var(--soft);border-radius:12px;padding:15px 18px;font-size:12px;line-height:1.7;color:var(--muted);margin:20px 0}

/* Dialogs and forms */
dialog{width:min(540px,calc(100vw - 36px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid var(--line);border-radius:24px;padding:0;background:var(--surface);color:var(--ink);box-shadow:0 28px 100px #20133540;margin:auto}
dialog[open]{animation:modal-in .18s ease-out}
dialog::backdrop{background:#20163485;backdrop-filter:blur(6px)}
dialog.wide{width:min(740px,calc(100vw - 36px))}
.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding:25px 27px 0}
.modal-head h2{font:800 27px/1.13 BrainzDisplay,sans-serif;letter-spacing:-.7px;margin:0}
.modal-head p{font-size:13px;line-height:1.7;color:var(--muted);margin:9px 0 0}
.modal-head>.icon-btn,.modal-head>button{width:31px;height:31px;min-width:31px;display:grid;place-items:center;border:0;background:var(--side);color:var(--muted);border-radius:50%;cursor:pointer}
.modal-head>.icon-btn:hover,.modal-head>button:hover{background:var(--soft);color:var(--purple-ink)}
.modal-head>button .icon{width:17px;height:17px}
.modal-body{padding:23px 27px 27px}
.modal-body p{font-size:13px;line-height:1.7;color:var(--muted)}
.modal-body h3{font:800 17px BrainzDisplay,sans-serif;margin:19px 0 13px}
.modal-body label,.studio-layout label{display:block;font-size:12px;font-weight:800;color:var(--ink);margin-bottom:8px}
.modal-body label small,.studio-layout label small{font-weight:500;font-size:11px;color:var(--muted)}
.modal-body input:not([type=radio]):not([type=checkbox]):not([type=file]),.modal-body textarea,.modal-body select,.studio-layout input:not([type=radio]):not([type=checkbox]):not([type=file]),.studio-layout textarea,.studio-layout select{display:block;width:100%;padding:12px 13px;border:1px solid var(--line);border-radius:10px;background:var(--bg);color:var(--ink);font:13px/1.5 BrainzBody,sans-serif;outline:none;transition:border-color .15s,box-shadow .15s}
.modal-body textarea,.studio-layout textarea{resize:vertical;min-height:96px}
.modal-body input:focus,.modal-body textarea:focus,.modal-body select:focus,.studio-layout input:focus,.studio-layout textarea:focus,.studio-layout select:focus{border-color:var(--purple);box-shadow:0 0 0 3px #7563ed16}
.modal-body .field,.studio-layout .field{margin-bottom:17px}
.modal-body .field-note,.studio-layout .field-note{font-size:11px;line-height:1.6;color:var(--muted);margin:6px 0 0}
.modal-actions{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:19px 27px;border-top:1px solid var(--line);background:var(--bg);border-radius:0 0 23px 23px}
.modal-body+.modal-actions{margin-top:-5px}
.modal-actions .btn{font-size:13px}
.modal-note{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.7;padding:12px 14px;border-radius:10px;background:var(--soft);color:var(--muted);margin:17px 0 0}
.modal-note .icon{width:16px;height:16px;flex-shrink:0;margin-top:2px;color:var(--purple)}
.modal-note strong{color:var(--purple-ink)}
.demo-accounts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:20px 0}
.demo-account{display:flex;align-items:center;gap:11px;min-width:0;text-align:left;padding:14px 12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);cursor:pointer;transition:border-color .2s,background .2s}
.demo-account:hover{border-color:var(--purple);background:var(--soft)}
.demo-account .avatar{width:43px;height:43px;border-radius:14px;flex-shrink:0}
.demo-account strong{display:block;font-size:13px;line-height:1.4}
.demo-account small{font-size:10px;color:var(--muted);display:block;line-height:1.5;margin-top:3px}
.avatar-picker{display:flex;flex-wrap:wrap;gap:10px;margin:11px 0 20px}
.avatar-choice{display:block;padding:4px;border:2px solid transparent;background:transparent;border-radius:19px;cursor:pointer;transition:border-color .15s,transform .15s}
.avatar-choice img{width:59px;height:59px;border-radius:14px;display:block}
.avatar-choice:hover{transform:translateY(-2px)}
.avatar-choice.active,.avatar-choice.selected,.avatar-choice[aria-pressed=true]{border-color:var(--purple);background:var(--soft)}
.color-picker{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0 21px}
.color-choice{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:var(--surface);color:var(--ink);font:700 11px BrainzBody,sans-serif;cursor:pointer}
.color-choice::before{content:"";width:17px;height:17px;border-radius:50%;background:var(--color,var(--purple));border:1px solid #0001}
.color-choice.lime::before{background:#c8f17a}
.color-choice.pink::before{background:#f1a7d8}
.color-choice.midnight::before{background:#5d4488}
.color-choice.active,.color-choice.selected,.color-choice[aria-pressed=true]{border-color:var(--purple);box-shadow:0 0 0 2px #7563ed16}
.profile-edit-preview{display:flex;align-items:center;gap:12px;padding:18px;background:var(--soft);border-radius:15px;margin-bottom:22px;overflow:hidden}
.profile-edit-preview .avatar{width:66px;height:66px;border-radius:20px;flex-shrink:0}
.profile-edit-preview strong{display:block;font:800 21px BrainzDisplay,sans-serif;overflow-wrap:anywhere}
.profile-edit-preview small{font-size:12px;color:var(--muted);display:block;margin-top:5px}
.filter-form{display:grid;gap:19px}
.filter-form .filter-label{font-size:12px;font-weight:800;color:var(--ink);margin:0 0 10px}
.filter-form .filter-options{display:flex;flex-wrap:wrap;gap:7px}
.filter-form .filter-options button{padding:8px 11px;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--muted);font:700 12px BrainzBody,sans-serif;cursor:pointer}
.filter-form .filter-options button.active{border-color:var(--purple);background:var(--soft);color:var(--purple-ink)}
.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:17px;padding:13px 0;border-bottom:1px solid var(--line)}
.toggle-row:last-child{border:0}
.toggle-row label{margin:0!important;font-size:13px!important;font-weight:700!important}
.toggle-row small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:4px;font-weight:500}
.toggle-row input[type=checkbox]{appearance:none;width:37px;height:22px;border-radius:20px;flex-shrink:0;background:#c9c3d6;position:relative;cursor:pointer;transition:background .15s}
.toggle-row input[type=checkbox]::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0002;transition:transform .15s}
.toggle-row input[type=checkbox]:checked{background:var(--purple)}
.toggle-row input[type=checkbox]:checked::after{transform:translateX(15px)}
.inline-error{font-size:12px!important;color:#bc4960!important;line-height:1.6;margin:8px 0 0;padding:10px 12px;border-radius:9px;background:#fff0f3}
.inline-error:empty{display:none}

/* Compare visual directions in the actual application. */
.direction-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px;margin:27px 0}
.direction-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;transition:box-shadow .2s,border-color .2s}
.direction-card.active{border-color:var(--purple);box-shadow:0 0 0 2px #7563ed22}
.direction-art{height:200px;padding:25px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;isolation:isolate}
.direction-art::before{content:"✦";position:absolute;font-size:162px;right:-10px;top:3px;color:currentColor;opacity:.12;z-index:-1;transform:rotate(15deg)}
.direction-art .mini-logo{font:800 15px BrainzDisplay,sans-serif;letter-spacing:-.6px;position:absolute;top:20px;left:23px}
.direction-art .mini-title,.direction-art h3{font:800 29px/.98 BrainzDisplay,sans-serif;letter-spacing:-1px;max-width:150px;margin:10px 0 12px}
.direction-art .mini-btn{display:inline-block;padding:7px 12px;width:fit-content;border-radius:7px;font-size:10px;font-weight:800;transform:rotate(-3deg)}
.direction-art.electric{background:#ece7ff;color:#44335e}
.direction-art.electric .mini-btn{background:#cefa69;color:#263212;box-shadow:3px 3px #a1b759}
.direction-art.midnight{background:#211c32;color:#f4efff}
.direction-art.midnight .mini-btn{background:#c8fb79;color:#263212;box-shadow:3px 3px #6d7d50}
.direction-art.candy{background:#ffdbeb;color:#71345e}
.direction-art.candy .mini-btn{background:#addefb;color:#324c64;box-shadow:3px 3px #7aacc6}
.direction-detail{padding:21px}
.direction-detail h3{font:800 22px/1.15 BrainzDisplay,sans-serif;letter-spacing:-.5px;margin:0 0 10px}
.direction-detail p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 14px}
.direction-detail .btn{width:100%;justify-content:center;margin-top:16px;font-size:12px}
.swatches{display:flex;align-items:center;gap:7px}
.swatches span{width:23px;height:23px;border-radius:50%;border:1px solid #0001;display:block}
.design-specs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px}
.design-specs>.panel{padding:24px;border-radius:18px}
.design-specs h2,.design-specs h3{font:800 21px BrainzDisplay,sans-serif;margin:0 0 13px}
.design-specs p,.design-specs li{font-size:13px;line-height:1.8;color:var(--muted)}
.design-specs ul{padding-left:19px;margin:0}
.design-specs li{padding:3px 0}
.design-specs strong{color:var(--ink)}
.layout-links{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}
.layout-links .btn{font-size:12px;padding:9px 12px}

@keyframes record-spin{to{transform:rotate(360deg)}}
@keyframes music-bars{to{transform:scaleY(.4)}}
@keyframes modal-in{from{opacity:0;transform:translateY(8px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(min-width:1500px){.player-layout{grid-template-columns:minmax(0,1fr) 320px}.player-stage{min-height:390px}.profile-body{grid-template-columns:280px minmax(0,1fr)}.profile-games .game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.player-layout{grid-template-columns:minmax(0,1fr) 240px;gap:21px}.player-info .title-row{flex-wrap:wrap}.profile-body{grid-template-columns:220px minmax(0,1fr);gap:20px}.profile-head{padding-left:20px;padding-right:20px}.studio-layout{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.studio-layout>.panel{padding:22px}.review-card{grid-template-columns:145px minmax(0,1fr) auto;gap:17px}.review-card>img,.review-card>.review-cover{width:145px}.direction-art{height:182px;padding:21px}.direction-art .mini-title,.direction-art h3{font-size:27px}.direction-detail{padding:18px}.creator-grid{gap:17px}}
@media(max-width:1020px){.studio-layout{grid-template-columns:minmax(0,1fr) 245px}.stats-grid{gap:12px}.stat-card{padding:20px 17px}.stat-value{font-size:31px}.stat-card>.icon{right:15px;width:17px}.creator-card-body{padding-left:18px;padding-right:18px}.profile-head>.btn,.profile-head>.row{margin-top:51px}}
@media(max-width:900px){.player-layout{grid-template-columns:1fr}.related-sidebar{margin-top:7px}.related-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.related-item{display:block}.related-item img{width:100%;margin-bottom:9px}.related-sidebar h2,.related-sidebar h3{font-size:22px}.studio-layout{grid-template-columns:1fr}.studio-layout>aside,.studio-side{display:grid;grid-template-columns:1fr 1fr;gap:18px}.studio-preview{grid-row:span 2}.studio-access{margin-top:0}.workflow-list{padding-top:8px}.profile-body{grid-template-columns:205px minmax(0,1fr)}.profile-widget{padding:17px}.profile-head{gap:15px}.profile-head>.avatar{width:96px;height:96px;border-radius:29px}.profile-identity{padding-top:43px}.profile-head>.btn,.profile-head>.row{margin-top:49px}.profile-head>.btn{padding:9px 12px;font-size:12px}.review-card{grid-template-columns:130px minmax(0,1fr);gap:18px}.review-card>img,.review-card>.review-cover{width:130px}.review-actions{grid-column:1/-1;flex-direction:row;justify-content:flex-end;min-width:0;padding-top:12px;border-top:1px solid var(--line)}.review-actions .btn{min-width:100px}.direction-grid{gap:13px}.direction-art{height:164px}.direction-art .mini-title,.direction-art h3{font-size:23px}.direction-art .mini-logo{font-size:12px}.direction-detail h3{font-size:20px}.direction-detail p{font-size:12px}.creator-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.player-frame{border-radius:17px}.player-stage{min-height:240px}.player-topbar{padding:12px 14px;font-size:12px}.player-bar{padding:8px 10px;font-size:11px}.player-bar button{font-size:11px;padding:7px}.player-info{padding-top:19px}.player-info h1{font-size:29px}.player-social .btn{font-size:12px;padding:9px 12px}.description-box{padding:17px;margin-top:18px}.description-box p{font-size:13px}.comments-section{margin-top:25px}.related-list{grid-template-columns:repeat(2,minmax(0,1fr))}.related-list .game-card:nth-child(n+5){display:none}.profile-cover{height:180px;border-radius:19px}.profile-cover .cover-title{left:25px;top:31px;font-size:34px;max-width:65%}.profile-cover::after{font-size:135px;right:10%;top:27px}.profile-cover .cover-sticker{bottom:25px;right:15%;font-size:10px}.profile-banner-actions{right:14px;top:14px}.profile-banner-actions .btn{padding:8px 10px;font-size:11px}.profile-head{padding:0 15px 22px;margin-top:-33px;flex-wrap:wrap;column-gap:14px;row-gap:0}.profile-head>.avatar{width:95px;height:95px;border-width:5px}.profile-identity{padding-top:42px}.profile-identity h1{font-size:27px}.profile-identity p{font-size:12px}.profile-head>.btn,.profile-head>.row{margin-top:13px;margin-left:auto}.profile-body{grid-template-columns:1fr}.profile-sidebar{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;order:2}.profile-games{order:1}.profile-widget{padding:18px}.profile-widget h3{font-size:16px}.profile-tabs{gap:21px;margin-bottom:19px}.profile-tabs button,.profile-tabs a{font-size:12px}.profile-games .game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-hero{padding:27px 25px;gap:10px;border-radius:20px;margin-bottom:22px}.studio-hero h1{font-size:33px}.studio-hero p{font-size:13px}.studio-art{width:120px;height:118px}.studio-art>.icon{width:50px;height:50px}.studio-art .code-sticker{font-size:12px;right:2px;bottom:4px}.studio-layout>.panel{padding:22px;border-radius:17px}.steps{margin-bottom:23px;padding-bottom:19px}.stat-label{font-size:11px}.stat-value{font-size:29px}.stat-card{padding:18px 16px}.stat-card>.icon{display:none}.admin-tabs{width:100%;margin-bottom:19px}.admin-tabs button{padding:10px 14px;font-size:12px}.small-table th,.small-table td{padding:15px}.direction-grid{grid-template-columns:1fr;gap:18px;margin-top:22px}.direction-card{display:grid;grid-template-columns:170px minmax(0,1fr)}.direction-art{height:100%;min-height:220px;padding:20px}.direction-art .mini-logo{font-size:12px;left:18px}.direction-art .mini-title,.direction-art h3{font-size:27px}.direction-art::before{right:-30px;top:34px}.direction-detail{padding:20px}.direction-detail h3{font-size:23px}.direction-detail p{font-size:12px;margin-bottom:10px}.direction-detail .btn{margin-top:13px}.design-specs{grid-template-columns:1fr;gap:16px}.design-specs>.panel{padding:22px}.creator-card-body h3{font-size:21px}.creator-card-body p{font-size:12px}.creator-card-banner{height:85px}.theater-view .player-stage{min-height:240px}}
@media(max-width:540px){.player-stage{min-height:205px}.player-topbar{font-size:11px;padding:10px 12px}.player-topbar .pill{font-size:10px}.player-bar{gap:5px}.player-bar>.row{gap:2px}.player-bar .bar-hint{display:none}.player-info .title-row{gap:13px}.player-social{width:100%;justify-content:flex-start;gap:7px}.game-stats{gap:10px;font-size:11px}.creator-byline{margin-top:18px}.creator-byline .avatar{width:37px;height:37px;border-radius:12px}.creator-byline a,.creator-byline button{font-size:12px}.creator-byline small{font-size:10px}.creator-byline>.btn:last-child{padding:8px 10px;font-size:11px}.rating-control>span{width:100%;margin-bottom:5px}.guest-comment{padding:16px;align-items:flex-start;flex-direction:column;gap:11px}.guest-comment .btn{font-size:12px}.description-box{padding:16px;border-radius:14px}.controls-row{gap:7px;font-size:11px}.comment-body p{font-size:13px}.comment-body time,.comment-body small{font-size:10px}.comment-compose textarea{font-size:13px}.related-list{gap:14px}.related-list .game-card h3{font-size:13px}.profile-cover{height:160px}.profile-cover .cover-title{font-size:28px;top:30px;left:20px;max-width:56%}.profile-cover .cover-sticker{right:12%;font-size:9px;bottom:25px}.profile-banner-actions .btn{font-size:10px;padding:7px 9px}.profile-head{padding:0 8px 20px;gap:11px}.profile-head>.avatar{width:80px;height:80px;border-radius:25px}.profile-identity{padding-top:39px}.profile-identity h1{font-size:24px}.profile-identity p{font-size:11px}.profile-identity .pill{font-size:9px;padding:4px 6px}.profile-head>.btn,.profile-head>.row{margin-top:10px}.profile-sidebar{grid-template-columns:1fr}.profile-widget{padding:19px}.music-widget .music-row{max-width:260px}.profile-games .game-grid{gap:15px}.profile-tabs{gap:18px}.profile-tabs button,.profile-tabs a{font-size:11px}.studio-hero{padding:24px 20px}.studio-hero h1{font-size:31px;max-width:230px}.studio-hero p{max-width:280px;font-size:12px}.studio-art{display:none}.studio-layout>.panel{padding:19px}.studio-layout>aside,.studio-side{grid-template-columns:1fr}.studio-preview{grid-row:auto}.steps{gap:4px}.step{font-size:10px;gap:6px}.step:not(:last-child)::after{margin:0 7px}.step>span:first-child,.step-number{width:23px;height:23px;font-size:10px}.source-tabs button{font-size:12px;padding:10px 7px;gap:6px}.source-tabs .icon{width:15px;height:15px}.form-bottom{align-items:stretch;flex-direction:column;gap:14px}.form-bottom p{max-width:none}.form-bottom .btn{justify-content:center;width:100%}.drop-zone{padding:19px;min-height:151px}.drop-zone span,.drop-zone small{font-size:11px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:21px}.stat-card{padding:18px}.stat-card>.icon{display:block;top:17px;right:16px;width:16px}.stat-value{font-size:31px}.stat-label{max-width:90px;line-height:1.4;margin-bottom:10px}.stat-card small{font-size:10px}.admin-tabs button{padding:10px 12px;font-size:11px;gap:5px}.review-card{grid-template-columns:91px minmax(0,1fr);padding:15px;gap:13px}.review-card>img,.review-card>.review-cover{width:91px;aspect-ratio:1;border-radius:11px}.review-meta h3{font-size:18px;margin-bottom:6px}.review-meta p{font-size:11px;margin-bottom:6px}.review-meta .pill{font-size:9px}.review-actions{gap:7px;flex-wrap:wrap}.review-actions .btn{flex:1;min-width:0;font-size:11px;padding:9px}.admin-empty{padding:38px 20px}.admin-empty h3{font-size:22px}.admin-empty p{font-size:12px}.direction-card{grid-template-columns:133px minmax(0,1fr);border-radius:17px}.direction-art{min-height:219px;padding:17px}.direction-art .mini-title,.direction-art h3{font-size:24px;letter-spacing:-.8px}.direction-art .mini-logo{font-size:10px;left:14px;top:18px}.direction-art .mini-btn{font-size:9px;padding:7px 9px}.direction-detail{padding:17px 15px}.direction-detail h3{font-size:21px}.direction-detail p{font-size:11px;line-height:1.7}.swatches{gap:5px}.swatches span{width:19px;height:19px}.direction-detail .btn{font-size:11px;padding:9px 8px}.creator-grid{gap:14px}.creator-card{border-radius:17px}.creator-card-body{padding:0 14px 17px;margin-top:-28px}.creator-card-body>.avatar{width:64px;height:64px;border-width:4px;border-radius:21px}.creator-card-body h3{font-size:19px}.creator-card-body p{font-size:11px}.creator-card-body .creator-stats{gap:8px;flex-wrap:wrap;font-size:10px;margin:10px 0 14px}.creator-card-body .btn{font-size:11px;padding:9px 7px}.creator-card-banner{height:79px}.creator-card-banner::after{font-size:105px;right:6px}.modal-head{padding:23px 21px 0}.modal-head h2{font-size:25px}.modal-head p{font-size:12px}.modal-body{padding:20px 21px 23px}.modal-actions{padding:16px 21px}.modal-actions .btn{font-size:12px;padding:10px 13px}.demo-accounts{gap:9px;margin:18px 0}.demo-account{gap:9px;padding:12px 10px}.demo-account .avatar{width:37px;height:37px;border-radius:12px}.demo-account strong{font-size:12px}.demo-account small{font-size:9px}.avatar-picker{gap:7px}.avatar-choice{padding:3px;border-radius:16px}.avatar-choice img{width:49px;height:49px;border-radius:11px}.color-picker{gap:7px}.color-choice{font-size:10px;padding:8px 9px}.color-choice::before{width:14px;height:14px}.profile-edit-preview{padding:15px;gap:11px}.profile-edit-preview .avatar{width:57px;height:57px;border-radius:17px}.profile-edit-preview strong{font-size:20px}.profile-edit-preview small{font-size:11px}.filter-form{gap:17px}.modal-body input:not([type=radio]):not([type=checkbox]):not([type=file]),.modal-body textarea,.modal-body select,.studio-layout input:not([type=radio]):not([type=checkbox]):not([type=file]),.studio-layout textarea,.studio-layout select{font-size:16px;padding:10px 12px}dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 28px);border-radius:20px}dialog.wide{width:calc(100vw - 24px)}}
@media(prefers-reduced-motion:reduce){.creator-card,.rating-star,.avatar-choice{transition:none}dialog[open],.is-playing .record,.music-widget.is-playing .music-wave i{animation:none}}

/* Concrete profile/creator templates. */
.breadcrumbs{display:flex;align-items:center;gap:9px;font-size:12px;color:var(--muted);margin:0 0 20px}
.breadcrumbs a:hover{color:var(--purple-ink)}
.breadcrumbs .icon{width:13px;height:13px}
.profile-cover>h2{position:absolute;left:33px;top:34px;max-width:69%;font:850 clamp(29px,3.5vw,45px)/.98 BrainzDisplay,sans-serif;letter-spacing:-1.5px;transform:rotate(-3deg)}
.profile-cover .star-deco{position:absolute;left:54%;bottom:24px;font-size:70px;line-height:1;color:currentColor;opacity:.25;transform:rotate(18deg);z-index:-1}
.profile-cover .star-deco.second{font-size:36px;left:auto;right:7%;bottom:35px;opacity:.5;transform:rotate(-13deg)}
.profile-banner-actions>.pill{font-size:10px;background:#ffffff9c;color:#594a70;border:1px solid #ffffff50;text-transform:none;letter-spacing:0;padding:8px 11px;backdrop-filter:blur(5px)}
.profile-head{align-items:flex-start}
.profile-identity{display:flex;align-items:flex-start;gap:17px;padding-top:0;flex:1;min-width:0}
.profile-identity>.avatar{width:112px;height:112px;flex-shrink:0;border:6px solid var(--bg);border-radius:33px;box-shadow:0 6px 18px #26193c0a}
.profile-identity>div{padding-top:48px;min-width:0}
.profile-identity p{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.profile-identity p>.pill{font-size:9px;padding:4px 7px}
.profile-identity p>.pill .icon{width:12px;height:12px}
.profile-widget h3{display:flex;align-items:center;justify-content:space-between;gap:6px}
.profile-widget h3 .icon{color:var(--purple);width:16px;height:16px}
.profile-widget .mood{font-size:12px;line-height:1.65;color:var(--purple-ink);padding:10px 12px;background:var(--soft);border-radius:10px;margin:16px 0}
.profile-widget .profile-badges{gap:6px}
.profile-widget .profile-badges .pill{font-size:9px;padding:5px 7px;text-transform:none;letter-spacing:0}
.music-widget{padding:20px;border-radius:18px;border:1px solid #45385d}
.music-widget>.eyebrow{font-size:9px;letter-spacing:1.1px;color:#c1b5da;margin-bottom:15px}
.music-widget>.row{gap:10px;align-items:center;margin:0 0 13px}
.music-widget>.row>div:nth-child(2){min-width:0;flex:1}
.music-widget b{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.music-widget p{font-size:10px;margin:3px 0 0;color:#bcb4d4}
.music-widget>.row>button{display:grid;place-items:center;width:31px;height:31px;flex-shrink:0;border-radius:50%;border:0;background:#cefa69;color:#29331a;cursor:pointer}
.music-widget>.row>button:hover{background:#e1ffa6;transform:scale(1.06)}
.music-widget>small{font-size:10px;line-height:1.65;color:#bcb4d4;display:block}
.music-widget .record{width:40px;height:40px}
.music-widget .record::before{inset:12px}
.music-widget .record::after{inset:17px}
.music-widget.playing .record{animation:record-spin 5s linear infinite}
.creator-card-banner{height:104px;overflow:visible;background:#d8cff7}
.creator-card:nth-child(2) .creator-card-banner{background:#d4edaf}
.creator-card:nth-child(3) .creator-card-banner{background:#f8d5b3}
.creator-card-banner::after{font-size:110px;top:-9px;right:22px;pointer-events:none}
.creator-card-banner>.avatar{position:absolute;left:22px;bottom:-32px;width:77px;height:77px;z-index:1;border:5px solid var(--surface);border-radius:24px}
.creator-card-body{margin-top:0;padding:46px 22px 23px}
.creator-card-body>.handle{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);margin:8px 0 14px;overflow-wrap:anywhere}
.creator-card-body>.handle .icon{width:14px;height:14px;color:var(--purple)}
.creator-card-body>.pill{font-size:10px;margin:0 0 13px;padding:5px 8px}
.creator-card-body>.pill .icon{width:13px;height:13px}
.creator-card-body p{min-height:63px}
@media(max-width:1200px){.profile-identity>.avatar{width:102px;height:102px;border-radius:30px}.profile-identity{gap:15px}.profile-identity h1{font-size:30px}.profile-identity>div{padding-top:46px}.profile-head>.btn{padding:10px 13px;font-size:12px}}
@media(max-width:900px){.profile-identity>.avatar{width:96px;height:96px;border-radius:29px}.profile-identity>div{padding-top:43px}.profile-identity h1{font-size:27px}.profile-head>.btn{margin-top:49px}.profile-cover>h2{font-size:38px}}
@media(max-width:760px){.profile-cover>h2{font-size:33px;left:25px;top:31px;max-width:65%}.profile-head{gap:14px;flex-wrap:wrap}.profile-identity>.avatar{width:95px;height:95px;border-width:5px}.profile-identity>div{padding-top:42px}.profile-identity h1{font-size:27px}.profile-head>.btn{margin-top:52px}.profile-sidebar .music-widget{align-self:start}.creator-card-body{padding:44px 18px 21px}.creator-card-banner>.avatar{left:18px}.profile-banner-actions>.pill{max-width:135px;font-size:9px;line-height:1.6;padding:6px 9px;text-align:center}}
@media(max-width:540px){.breadcrumbs{font-size:11px;gap:7px;margin-bottom:17px}.profile-cover>h2{font-size:28px;left:20px;top:31px;max-width:64%;letter-spacing:-1px}.profile-cover .star-deco{font-size:54px;left:60%;bottom:20px}.profile-banner-actions>.pill{display:none}.profile-identity{gap:11px;flex:1 1 100%;padding-top:0}.profile-identity>.avatar{width:80px;height:80px;border-radius:25px}.profile-identity>div{padding-top:39px}.profile-identity h1{font-size:24px}.profile-identity p{font-size:11px;gap:6px}.profile-identity p>.pill{font-size:8px;padding:3px 5px}.profile-head>.btn{margin-top:0;margin-left:91px;min-height:36px;font-size:11px;padding:8px 11px}.profile-head{row-gap:12px;padding-bottom:18px}.music-widget{padding:20px}.creator-card-banner{height:86px}.creator-card-banner>.avatar{width:64px;height:64px;left:14px;bottom:-27px;border:4px solid var(--surface);border-radius:21px}.creator-card-body{padding:39px 14px 18px}.creator-card-body>.handle{font-size:10px;gap:3px;margin:7px 0 10px}.creator-card-body>.handle .icon{width:11px;height:11px}.creator-card-body>.pill{font-size:9px;padding:4px 6px;margin-bottom:10px}.creator-card-body p{min-height:72px}.creator-card-banner::after{font-size:93px;right:9px;top:-7px}}
@media(prefers-reduced-motion:reduce){.music-widget.playing .record{animation:none}}
.profile-cover.violet{background:linear-gradient(115deg,#c8b3f1,#e1d1fc);color:#4e3472}
.profile-cover.violet::after{color:#fff9}
.profile-widget>p{white-space:pre-line}
.color-choice.violet::before{background:#b89be9}

/* Match the functional player, studio, moderation, and dialog templates. */
.player-stage{container-type:size;height:clamp(320px,37vw,510px);min-height:0;max-height:none;aspect-ratio:auto;background:#151227}
.player-stage iframe{display:block;width:100%;height:100%;max-width:100%;max-height:100%;border:0;padding:0;border-radius:0}
.player-stage[data-ratio=wide]{--game-ratio:1.77777778}
.player-stage[data-ratio=classic]{--game-ratio:1.33333333}
.player-stage[data-ratio=square]{--game-ratio:1;height:min(68vh,580px)}
.player-stage[data-ratio=portrait]{--game-ratio:.5625;height:min(74vh,640px)}
.player-stage:not([data-ratio=fit]) iframe{width:min(100cqw,calc(100cqh * var(--game-ratio)));height:min(100cqh,calc(100cqw / var(--game-ratio)))}
.player-stage:fullscreen{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;min-height:0!important;border-radius:0;aspect-ratio:auto;background:#100e1c}
.player-stage:fullscreen iframe{max-width:100%;max-height:100%}
.theater-view .player-stage{height:min(72vh,760px);min-height:0;max-height:none}
.player-topbar .traffic{display:inline-flex;align-items:center;gap:5px}
.player-topbar .traffic i{width:7px;height:7px;border-radius:50%;background:#f28a9c}
.player-topbar .traffic i:nth-child(2){background:#edce7a}
.player-topbar .traffic i:nth-child(3){background:#9ac788}
.player-topbar b{font-size:12px;font-weight:750}
.player-topbar>.row{gap:11px}
.player-topbar>span{font-size:10px;color:#a89dbf}
.score-label{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;color:#cdc3df;font-size:11px}
.score-label>.icon{color:#d6ed9d;width:15px;height:15px}
.player-bar select{width:111px;min-height:31px;padding:6px 26px 6px 9px;border:1px solid #514462;border-radius:7px;background-color:#322a44;color:#ded6ed;font-size:10px;background-position:right 7px center}
.player-bar select option{background:#322a44;color:#f0eafa}
.player-bar .btn{min-height:31px;border:1px solid #514462;border-radius:7px;padding:6px 8px;font-size:10px;background:#322a44;color:#eee8fa}
.player-bar .btn.lime{background:#cefa69;color:#2e361f;border-color:#cefa69}
.player-bar .btn>.icon{width:15px;height:15px}
.mobile-control-note{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);margin:11px 0 0}
.mobile-control-note>.icon{width:15px;height:15px;color:var(--purple)}
.player-info>.between{align-items:flex-start;gap:13px;margin-bottom:10px}
.player-info>.between h1{margin:0}
.player-info .game-stats .star-icon{fill:#f4c550;stroke:#e0a733}
.player-info .game-stats>.pill{font-size:9px;padding:4px 6px}
.player-social{justify-content:space-between;gap:18px;margin:21px 0}
.player-social .creator-byline{margin:0;gap:10px;font-size:13px;font-weight:800;color:var(--ink)}
.creator-byline>div>.icon{width:13px;height:13px;color:var(--purple);vertical-align:-2px}
.creator-byline small{font-weight:500;font-size:11px}
.rating-control>span{font-size:11px}
.rating-star.on{color:#edb343}
.rating-star:not(.on) svg{fill:transparent;stroke:currentColor}
.rating-star:hover svg{fill:currentColor}
.related-list .cover-title{font-size:29px}
.related-list .card-title-row h3{font-size:13px}
.related-list .card-details{padding:10px 0 0}
.related-list .card-meta{font-size:10px}
.comments-section .guest-comment{display:block;font-size:13px;line-height:1.7}
.guest-comment>.text-link{display:inline;padding:0;font-size:inherit;margin-right:3px}
.comment-compose .between{gap:12px;margin-top:9px;align-items:center}
.comment-compose .between small{font-size:10px;color:var(--muted);line-height:1.6;max-width:240px}
.comment-compose .between .btn{margin:0;float:none;flex-shrink:0;font-size:11px}
.comment-body b{font-size:13px}

.studio-hero h2{font:800 clamp(27px,3.2vw,38px)/1.04 BrainzDisplay,sans-serif;letter-spacing:-1px;margin:9px 0 14px;max-width:540px}
.studio-hero h2 span{color:var(--purple-ink)}
img.studio-art{width:142px;height:142px;border-radius:36px;transform:rotate(9deg);box-shadow:8px 8px #7563ed24;object-fit:cover;border:5px solid #ffffffa0;margin:5px 10px 5px 20px}
.studio-layout>section{min-width:0}
.studio-layout>section>.panel{padding:25px;border-radius:20px}
.studio-layout .steps{margin-top:25px;gap:4px}
.step>b{display:grid;place-items:center;flex-shrink:0;width:27px;height:27px;border:1px solid var(--line);border-radius:50%;background:var(--surface);font-size:11px;color:var(--muted)}
.step.active>b,.step.done>b{background:var(--purple);color:#fff;border-color:var(--purple)}
.step>b .icon{width:14px;height:14px}
.form-heading{font:800 20px/1.2 BrainzDisplay,sans-serif;margin:0 0 9px;letter-spacing:-.4px}
.form-intro{font-size:13px!important;line-height:1.7;margin:0 0 21px}
.drop-zone h4{font:800 19px BrainzDisplay,sans-serif;margin:3px 0}
.drop-zone p{font-size:12px;line-height:1.7;margin:0}
.drop-zone input[type=file]{display:block;width:100%;max-width:310px;border:1px solid var(--line);background:var(--surface);padding:9px;border-radius:10px;min-height:0;font-size:12px;color:var(--muted);margin:6px 0}
.drop-zone input[type=file]::file-selector-button{background:var(--purple);color:#fff;border:0;border-radius:6px;padding:7px 10px;font:700 11px BrainzBody,sans-serif;margin-right:9px;cursor:pointer}
#upload-status{font-size:11px;overflow-wrap:anywhere}
iframe.studio-preview{display:block;width:100%;height:365px;min-height:260px;padding:0;border:1px solid var(--line);background:#211a35;border-radius:13px;margin:18px 0}
.repo-summary{display:flex;align-items:flex-start;gap:11px;padding:15px}
.repo-summary>.icon{width:21px;height:21px;color:var(--purple);flex-shrink:0;margin-top:3px}
.repo-summary>div{min-width:0;flex:1}
.repo-summary b{display:block;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.repo-summary p{font-size:11px;line-height:1.7;margin:4px 0 0;overflow-wrap:anywhere}
.repo-summary>.icon-btn{width:29px;height:29px}
.workflow-item b{display:block;font-size:12px;line-height:1.5;margin:2px 0 5px}
.workflow-item p{font-size:11px;line-height:1.7}
.studio-layout aside>.panel{padding:22px;border-radius:18px}
.studio-layout aside>.panel h3{font-size:21px;line-height:1.1}
.studio-layout .studio-tips{font-size:12px}
.studio-access.panel{max-width:800px;margin:35px auto 70px;padding:49px 45px;text-align:center;border-radius:25px;background:var(--surface)}
.studio-access .access-icon{display:grid;place-items:center;width:74px;height:74px;border-radius:23px;margin:0 auto 25px;background:var(--lime);color:var(--lime-ink);transform:rotate(-8deg)}
.studio-access .access-icon .icon{width:37px;height:37px;stroke-width:1.6}
.studio-access .eyebrow{font-size:10px;letter-spacing:1.2px;color:var(--purple-ink);margin-bottom:11px}
.studio-access h2{font:800 clamp(28px,4vw,41px)/1.05 BrainzDisplay,sans-serif;letter-spacing:-1.2px;margin:0 0 19px}
.studio-access h2+p{font-size:14px;line-height:1.8;max-width:590px;margin:0 auto 25px}
.studio-access .row{justify-content:center;flex-wrap:wrap;gap:10px}
.studio-access>small{display:block;max-width:500px;font-size:11px;line-height:1.7;color:var(--muted);margin:21px auto 0}
.mini-library .panel.table-wrap{padding:0}
.mini-library .admin-empty{border:0}
.mini-library .section-heading h3{font-size:22px}

.stat-label{display:flex;align-items:center;justify-content:space-between;gap:8px}
.stat-label .icon{width:18px;height:18px;color:var(--purple);flex-shrink:0}
.admin-tabs>.btn.primary{background:var(--surface);color:var(--purple-ink);box-shadow:0 2px 7px #241a3e0b}
.admin-tabs>.btn{box-shadow:none;transform:none;min-height:0}
.admin-tabs>.btn>.icon{width:16px;height:16px}
.admin-info{font-size:11px;line-height:1.7;color:var(--muted);padding:19px 2px 0;max-width:900px}
.review-card{grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start;padding:22px}
.review-card>img{width:190px;aspect-ratio:1.35;border-radius:14px;object-fit:cover}
.review-card>div{min-width:0}
.review-card>div>.between{align-items:flex-start;gap:12px;margin-bottom:10px}
.review-card h3{font:800 23px/1.15 BrainzDisplay,sans-serif;margin:0;letter-spacing:-.5px}
.review-card>div>.between .pill{font-size:9px;padding:5px 7px;white-space:nowrap}
.review-meta{display:flex;align-items:center;gap:11px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:9px 0}
.review-meta span+span::before{content:"·";margin-right:11px;color:var(--muted)}
.review-card>div>p{font-size:13px;line-height:1.7;color:var(--muted);margin:12px 0}
.review-card .review-actions{flex-direction:row;flex-wrap:wrap;gap:8px;justify-content:flex-start;margin-top:16px;padding-top:0;border-top:0}
.review-card .review-actions .btn{font-size:11px;padding:8px 11px;min-height:36px;min-width:0}
.review-actions .btn .icon{width:14px;height:14px}
.small-table .thumb{display:block;width:64px;min-width:64px;height:42px;object-fit:cover;border-radius:9px}
.small-table td>small,.small-table td>div>small,.small-table td .row>div>small{display:block;font-size:10px;color:var(--muted);margin-top:4px;line-height:1.6}
.small-table td .row>div{min-width:0}
.small-table td b{font-size:12px;font-weight:800}
.small-table .table-actions .btn{min-height:30px;white-space:nowrap}
.table-wrap.panel>h3{padding-left:19px;padding-right:19px}
.table-wrap.panel>p{padding:0 19px 17px}
.table-wrap.panel>.repo-summary{margin-left:15px;margin-right:15px}

.modal-head .eyebrow{font-size:9px;letter-spacing:1.1px;color:var(--purple-ink);margin:0 0 11px;line-height:1.5}
.modal-body>p:first-child{margin-top:0;margin-bottom:19px}
.modal-body .modal-actions{margin:24px -27px -27px;padding:18px 27px;border-radius:0 0 23px 23px}
.modal-body input[type=hidden]{display:none!important}
.demo-accounts{grid-template-columns:1fr;gap:10px;margin:18px 0}
.demo-account{gap:12px;padding:13px 14px}
.demo-account>div{min-width:0;flex:1}
.demo-account b{display:block;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.demo-account small{font-size:11px;line-height:1.6;margin-top:3px}
.demo-account>.pill{font-size:9px;padding:5px 7px;flex-shrink:0;white-space:nowrap}
.demo-account .avatar{width:43px;height:43px;border-radius:14px}
.modal-note{display:block}
.modal-body .profile-edit-preview h3{font:800 22px/1.1 BrainzDisplay,sans-serif;letter-spacing:-.5px;margin:0 0 6px;overflow-wrap:anywhere}
.modal-body .profile-edit-preview p{font-size:12px;line-height:1.5;margin:0;color:inherit;opacity:.7}
.color-choice{width:43px;height:43px;padding:0;border:3px solid var(--surface);outline:1px solid var(--line);border-radius:13px;display:grid;place-items:center;color:#4b386c;box-shadow:none}
.color-choice::before{display:none}
.color-choice.violet{background:#d9c5f5}
.color-choice.lime{background:#d6f19f}
.color-choice.pink{background:#f7b8da}
.color-choice.midnight{background:#49395f;color:#f3e8ff}
.color-choice.active,.color-choice.selected,.color-choice[aria-pressed=true]{border-color:var(--surface);outline:2px solid var(--purple);box-shadow:0 0 0 3px #7563ed15}
.color-choice .icon{width:18px;height:18px;stroke-width:2.4}
.filter-form .toggle-row{display:flex!important;justify-content:flex-start;align-items:center;gap:11px;font-size:12px;font-weight:700;margin:0}
.toggle-row input[type=checkbox]{min-height:0;margin:0;width:37px;height:22px;border:0}

.direction-card.selected{border-color:var(--purple);box-shadow:0 0 0 2px #7563ed22}
.direction-art>h3{position:relative;z-index:1;font-size:31px;max-width:200px;align-self:flex-start;margin:-26px 0 0;letter-spacing:-1.2px}
.direction-art>img{position:absolute;right:15px;bottom:-12px;width:107px;height:107px;object-fit:cover;border:4px solid #ffffff99;border-radius:30px;transform:rotate(11deg);box-shadow:6px 6px #00000014}
.direction-detail{padding-bottom:17px}
.direction-detail p{min-height:88px}
.direction-card>.btn{display:flex;width:calc(100% - 42px);margin:0 21px 21px;font-size:11px;padding:10px 9px;white-space:normal;line-height:1.5}
.design-specs p+p{margin-top:13px}

@media(max-width:1200px){.player-social{flex-wrap:wrap}.player-info>.between{flex-wrap:wrap}.studio-layout>section>.panel{padding:22px}.step{font-size:11px}.step:not(:last-child)::after{margin:0 7px}.review-card{grid-template-columns:160px minmax(0,1fr);gap:20px}.review-card>img{width:160px}.direction-art>h3{font-size:28px}.direction-art>img{width:92px;height:92px;right:12px}.direction-detail p{min-height:108px}}
@media(max-width:1020px){.player-bar{gap:9px;flex-wrap:wrap}.player-bar>.row{margin-left:auto}.studio-hero h2{font-size:34px}.steps .step{font-size:10px}.step>b{width:25px;height:25px;font-size:10px}.direction-detail p{min-height:108px}.player-social .rating-control{margin-left:auto}.stat-label .icon{width:16px;height:16px}}
@media(max-width:900px){.player-stage{height:clamp(330px,48vw,560px)}.related-list .cover-title{font-size:28px}.studio-hero h2{font-size:33px}.studio-layout>aside>.panel{margin:0!important}.studio-layout>aside>.panel:first-child{grid-row:span 2}.studio-layout>aside{align-items:start}.review-card{grid-template-columns:140px minmax(0,1fr);gap:18px}.review-card>img{width:140px;aspect-ratio:1}.review-card h3{font-size:21px}.direction-art>h3{font-size:25px}.direction-detail p{min-height:126px}}
@media(max-width:760px){.player-stage{height:clamp(280px,60vw,440px)}.player-stage[data-ratio=square]{height:min(66vh,510px)}.player-stage[data-ratio=portrait]{height:min(70vh,580px)}.player-topbar>span{font-size:9px}.player-social{gap:14px}.player-info>.between .action-row .btn{font-size:11px;min-height:35px;padding:8px 11px}.player-info>.between{align-items:center}.player-info .game-stats{font-size:11px}.related-list .cover-title{font-size:27px}.studio-hero h2{font-size:30px}.studio-hero h2+p{font-size:12px}.studio-hero>img.studio-art{width:112px;height:112px;border-radius:29px;margin:4px 7px 4px 12px}.studio-layout>section>.panel{padding:21px;border-radius:18px}.studio-layout .steps{margin-top:23px}.step{font-size:11px!important}.step>b{width:26px;height:26px}.studio-access.panel{margin:20px auto 45px;padding:35px 25px}.studio-access h2{font-size:34px}.studio-access .eyebrow{font-size:9px}.studio-access h2+p{font-size:13px}.studio-access .access-icon{width:66px;height:66px;border-radius:20px;margin-bottom:22px}.studio-access>small{font-size:10px}.review-card{grid-template-columns:125px minmax(0,1fr);padding:19px;gap:17px}.review-card>img{width:125px}.review-card .review-actions{gap:7px}.review-card .review-actions .btn{font-size:10px;padding:8px 9px}.review-card>div>.between{flex-wrap:wrap;gap:8px}.review-card h3{font-size:21px}.review-meta{font-size:10px;gap:8px}.review-meta span+span::before{margin-right:8px}.review-card>div>p{font-size:12px}.direction-art{grid-row:1/span 2;min-height:0}.direction-art>h3{font-size:27px;margin:-37px 0 0;max-width:140px}.direction-art>img{width:94px;height:94px;bottom:19px;right:17px}.direction-detail p{min-height:0}.direction-card>.btn{grid-column:2;margin:0 20px 20px;width:calc(100% - 40px)}.direction-detail{padding-bottom:16px}.stat-label{max-width:none}.theater-view .player-stage{height:70vh;min-height:0}}
@media(max-width:540px){.player-stage{height:260px}.player-stage[data-ratio=wide]{height:220px}.player-stage[data-ratio=classic]{height:280px}.player-stage[data-ratio=square]{height:min(67vh,350px)}.player-stage[data-ratio=portrait]{height:min(70vh,510px)}.player-topbar{padding:10px 12px}.player-topbar b{font-size:11px}.player-topbar .traffic{gap:4px}.player-topbar .traffic i{width:6px;height:6px}.player-topbar>.row{gap:8px}.player-bar{padding:9px 10px;gap:9px}.score-label{font-size:10px}.player-bar>.row{width:100%;justify-content:flex-end}.player-bar select{margin-right:auto;width:107px;font-size:10px}.player-bar .btn{padding:7px 9px;min-height:31px;font-size:10px}.player-bar .theater-btn{display:none}.mobile-control-note{font-size:10px;line-height:1.6;align-items:flex-start}.mobile-control-note .icon{margin-top:2px;flex-shrink:0}.player-info{padding-top:18px}.player-info h1{font-size:28px}.player-info>.between{gap:12px}.player-info>.between .action-row{gap:6px}.player-social{align-items:flex-start;flex-direction:column;gap:17px;margin:19px 0}.player-social .rating-control{margin-left:0}.player-social .rating-control>span{width:auto;margin:0 9px 0 0;font-size:11px}.player-social .creator-byline{font-size:13px}.player-social .creator-byline small{font-size:10px}.comment-compose .between{align-items:flex-end}.comment-compose .between small{font-size:9px;max-width:150px}.comment-compose .between .btn{font-size:10px;padding:8px 10px;min-height:34px}.comments-section .guest-comment{font-size:12px}.studio-hero h2{font-size:30px;max-width:275px}.studio-hero>img.studio-art{display:none}.studio-layout>section>.panel{padding:18px}.studio-layout .steps{margin:22px 0;padding-bottom:18px;gap:4px;align-items:flex-start}.step{flex-direction:column;align-items:center;justify-content:flex-start;flex:1!important;text-align:center;gap:8px;font-size:10px!important;line-height:1.5;max-width:33.33%}.step:not(:last-child)::after{display:none}.step>b{width:27px;height:27px;font-size:10px}.form-heading{font-size:20px}.form-intro{font-size:12px!important;margin-bottom:17px}.studio-layout>aside{display:block}.studio-layout>aside>.panel+ .panel{margin-top:16px!important}.studio-layout aside>.panel{padding:21px}.studio-layout aside>.panel h3{font-size:22px}.workflow-item b{font-size:13px}.workflow-item p{font-size:12px}.form-bottom>.action-row{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.form-bottom>.action-row .btn{font-size:11px;padding:9px 8px}.form-bottom .btn{font-size:12px}.studio-access.panel{padding:31px 21px;margin-top:14px}.studio-access h2{font-size:29px;letter-spacing:-.8px}.studio-access h2+p{font-size:12px}.studio-access .row{flex-direction:column;align-items:stretch}.studio-access .row .btn{font-size:12px}.studio-access .eyebrow{font-size:9px;line-height:1.7;max-width:230px;margin-left:auto;margin-right:auto}iframe.studio-preview{height:290px;min-height:220px}.repo-summary{gap:9px;padding:13px}.repo-summary b{font-size:11px}.repo-summary p{font-size:10px}.repo-summary>.icon{width:18px;height:18px}.mini-library .section-heading{align-items:flex-start;gap:13px}.mini-library .section-heading h3{font-size:20px}.mini-library .section-heading>.muted{font-size:10px!important;white-space:nowrap}.stat-label{max-width:none;align-items:flex-start;font-size:10px;gap:7px}.stat-label .icon{width:14px;height:14px}.review-card{grid-template-columns:1fr;padding:17px;gap:16px}.review-card>img{width:100%;aspect-ratio:2.1;border-radius:12px}.review-card>div>.between{flex-wrap:nowrap;gap:10px}.review-card h3{font-size:21px}.review-card>div>.between .pill{font-size:8px;padding:4px 6px}.review-card .review-actions{margin-top:16px;gap:6px}.review-card .review-actions .btn{flex:1;min-width:0;font-size:10px;padding:8px 7px}.review-card .review-actions .btn>.icon{display:none}.admin-info{font-size:10px;padding-top:16px}.admin-tabs>.btn>.icon{width:14px;height:14px}.admin-tabs>.btn{padding:10px 11px;font-size:10px;gap:6px}.modal-head .eyebrow{font-size:8px;line-height:1.6;margin-bottom:10px}.modal-body .modal-actions{margin:22px -21px -23px;padding:17px 21px;gap:8px;flex-wrap:wrap}.modal-body .modal-actions .btn{font-size:11px;padding:10px 12px;min-height:39px}.modal-body .profile-edit-preview h3{font-size:20px}.modal-body .profile-edit-preview p{font-size:11px}.demo-account{padding:12px;gap:10px}.demo-account b{font-size:12px}.demo-account small{font-size:10px}.demo-account>.pill{font-size:8px;padding:4px 6px}.demo-account .avatar{width:38px;height:38px;border-radius:12px}.color-choice{width:42px;height:42px;border-radius:12px}.color-choice .icon{width:18px;height:18px}.filter-form .toggle-row{font-size:12px}.direction-art>h3{font-size:23px;margin:-43px 0 0;max-width:110px}.direction-art>img{width:79px;height:79px;right:16px;bottom:23px;border-radius:23px}.direction-card>.btn{margin:0 15px 17px;width:calc(100% - 30px);font-size:10px;padding:9px 7px}.direction-card>.btn .icon{width:13px;height:13px}.direction-detail{padding-bottom:14px}.direction-detail h3{font-size:21px}.direction-detail p{font-size:11px}.design-specs p+p{margin-top:12px}}

/* Native fullscreen and a full-viewport fallback share the same exit affordance. */
.player-stage.fullscreen-fallback{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;min-height:0!important;border:0!important;border-radius:0!important;aspect-ratio:auto!important;z-index:1000;background:#100e1c}
.player-exit{display:none!important;position:absolute;top:12px;right:12px;z-index:5;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 13px;background:#21192eea;border:1px solid #e9dcff55;border-radius:11px;color:#fff;font:750 12px BrainzBody,sans-serif;cursor:pointer;box-shadow:0 4px 18px #0004;backdrop-filter:blur(8px)}
.player-stage:fullscreen .player-exit,.player-stage.fullscreen-fallback .player-exit{display:inline-flex!important}
.player-exit:hover{background:#39294b;color:#e5ffb8}
.player-exit .icon{width:16px;height:16px}
@media(max-width:540px){.player-exit{top:10px;right:10px;min-height:36px;padding:8px 11px;font-size:11px}}
@media(max-width:760px){.player-stage[data-ratio="fit"]{height:360px;min-height:340px;max-height:70vh}.player-stage.fullscreen-fallback[data-ratio="fit"],.player-stage:fullscreen[data-ratio="fit"]{height:100dvh;min-height:0;max-height:none}}
