/* Home is a game room, without the website header or stacked profile cards. */
body.showroom-active{background:#132737}
.showroom-active .town-app main,.showroom-active.premium-shell .town-app main{max-width:none;width:100%;margin:0;padding:0}
.showroom-active .town-header,.showroom-active .town-app footer{display:none}
.showroom-active #content{margin:0;padding:0}
.showroom-active .profile-status:not([hidden]){position:fixed;left:50%;top:max(8px,env(safe-area-inset-top,0px));transform:translateX(-50%);width:min(92vw,780px);z-index:40;box-shadow:0 6px 24px #06121b70}
.room-home-world.player-page{--home-dock-space:96px;display:flex;align-items:flex-start;justify-content:center;position:relative;min-height:100svh;width:100%;padding:0 0 var(--home-dock-space);box-sizing:border-box;border:0;border-radius:0;box-shadow:none;background:radial-gradient(ellipse at 50% 70%,#35556a,#0c1b29 80%);overflow:hidden;isolation:isolate}
.room-home-world.player-theme-aurora{background:radial-gradient(ellipse at 50% 70%,#40335c,#131928 80%)}
.room-home-world.player-theme-sunrise{background:radial-gradient(ellipse at 50% 70%,#6c5440,#142b31 80%)}
.room-home-stage{width:min(100%,calc(max(510px,100svh - var(--home-dock-space))*1.5));flex-shrink:0;position:relative}
.room-home-stage .player-showroom{aspect-ratio:3/2;border:0;border-radius:0}
.room-home-stage .player-room-background{object-fit:fill}
.room-home-stage .player-room-shade{inset:89% 0 0;background:linear-gradient(transparent,#081d2b55)}
.room-home-stage .player-room-caption{display:none}
.room-home-stage .room-avatar-name{font-size:14px;bottom:1%;padding:4px 12px;background:#102635b8;backdrop-filter:blur(8px);border:1px solid #b3cfd030}
.room-home-hud{position:absolute;top:max(16px,env(safe-area-inset-top,0px));left:max(22px,env(safe-area-inset-left,0px));right:max(22px,env(safe-area-inset-right,0px));display:flex;align-items:flex-start;justify-content:space-between;gap:14px;z-index:12;pointer-events:none}
.room-home-identity,.room-home-control{background:#102635d9;border:1px solid #b5dae03b;backdrop-filter:blur(16px);box-shadow:0 4px 12px #05101b35;color:#eff7f5;border-radius:14px}
.room-home-identity{display:flex;align-items:center;gap:12px;padding:10px 15px;max-width:min(55vw,390px);pointer-events:auto}
.room-home-identity .player-avatar.profile-token{height:48px;width:48px;flex-shrink:0;box-shadow:none}
.room-home-identity>div{min-width:0}.room-home-label{font-size:12px;line-height:1.3;color:#c3d8db;letter-spacing:.08em;font-weight:650}
.room-home-identity h2{font-size:20px;line-height:1.3;letter-spacing:-.02em;margin:2px 0;overflow-wrap:anywhere}
.room-home-motto{display:block;font-size:13px;line-height:1.35;color:#bcd0d4}
.room-home-career{display:flex;align-items:center;gap:7px;padding:0;min-height:30px;border:0;background:transparent;color:#a6e0d4;font:inherit;font-size:14px}
.room-home-tools{display:flex;gap:8px;pointer-events:auto}.room-home-control{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:10px 14px;font:inherit;font-size:14px;font-weight:650}.room-home-more{width:48px;padding:10px}.room-home-control:hover{background:#1c4151}.room-home-control:focus-visible,.room-home-dock button:focus-visible,.room-home-collection-link:focus-visible,.room-home-career:focus-visible{outline:3px solid #baf3dc;outline-offset:3px}
.room-home-collection-link{position:absolute;left:75%;right:auto;transform:translateX(-50%);top:61%;z-index:8;display:flex;gap:10px;align-items:center;border:1px solid #eac7955c;border-radius:10px;background:#1a2d34e6;backdrop-filter:blur(8px);color:#f3d9b8;padding:8px 13px;min-height:44px;font:inherit;font-size:14px;box-shadow:0 3px 9px #07152140}.room-home-collection-link strong{font-size:16px;font-variant-numeric:tabular-nums}
.room-home-dock{position:absolute;bottom:max(14px,env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);width:min(620px,calc(100% - 32px));z-index:12;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;padding:8px;background:#0c2231e8;backdrop-filter:blur(20px);border:1px solid #b8dbdd40;border-radius:20px;box-shadow:0 6px 20px #0006}
.room-home-dock button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px;min-height:56px;min-width:0;border:0;border-radius:12px;background:transparent;color:#dbe9ed;font:inherit;font-size:14px;line-height:1.4;padding:7px 4px}.room-home-dock button svg{width:25px;height:25px;color:#a6e0d4}.room-home-dock button:hover{background:#ffffff10;color:#fff}.room-home-dock button:nth-child(2){background:#b9f0d9;color:#183e41}.room-home-dock button:nth-child(2) svg{color:inherit}
.room-home-save{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.room-home-menu-actions{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.room-home-menu .player-featured-trophy{background:#e9f0f0;border:1px solid #c4d9db;color:#173f4d;border-radius:16px;margin:20px 0;padding:18px}.room-home-menu .player-featured-trophy .player-kicker{color:#28756b}.room-home-menu .player-featured-trophy .player-quiet-button{color:#234d5a;border-color:#89b0ad}.room-home-next{padding:16px 0;border-block:1px solid #c2d5d8}.room-home-next h3{font-size:19px}.room-home-next p{line-height:1.6}
/* A shallow wall mounting keeps the board behind the person and above the floor. */
.player-showroom .player-whiteboard{left:var(--wall-board-x);top:var(--wall-board-y);width:var(--wall-board-width);height:var(--wall-board-height);display:grid;grid-template-columns:minmax(0,.44fr) minmax(0,.56fr);grid-template-rows:auto minmax(0,1fr) auto;column-gap:10px;row-gap:7px;padding:12px;z-index:1;transform:none;border:5px solid #768b8d;border-radius:5px;background:#f4f5ed;box-shadow:0 0 0 1px #243d43,2px 3px 3px #051c254d;text-align:left}
.player-whiteboard .room-board-heading{grid-column:1/-1;padding-bottom:6px;gap:5px}.player-whiteboard .room-board-heading h3{font-size:clamp(14px,1.5cqw,20px)}.player-whiteboard .room-board-heading>span:last-child{font-size:12px;max-width:none;line-height:1.3}
.player-whiteboard .room-board-stats{grid-column:1;grid-row:2;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:0;border:0;min-height:0}
.player-whiteboard .room-board-money,.player-whiteboard .room-board-level{min-height:44px;width:100%}.player-whiteboard .room-board-money>strong{font-size:clamp(18px,2.1cqw,30px)}.player-whiteboard .room-board-money>span,.player-whiteboard .room-board-level>span>small{font-size:13px}.player-whiteboard .room-board-money>small{font-size:12px}.player-whiteboard .room-board-level>span>strong{font-size:clamp(18px,2cqw,28px)}.player-whiteboard .room-board-level>span>strong>span{font-size:12px;display:inline}.player-whiteboard .room-board-level em{font-size:12px}.player-whiteboard .room-board-level{gap:7px}
.player-page .player-whiteboard .level-ring-ui.player-total-ring{--ring-size:38px}.player-whiteboard .level-orbit-face>strong{font-size:18px}
.player-whiteboard .room-board-radar{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:stretch;margin:0;min-height:0}.player-whiteboard .room-board-radar-heading{flex-wrap:wrap;gap:0;font-size:12px;line-height:1.4}.player-whiteboard .room-board-radar-heading>strong{font-size:14px}.player-whiteboard .room-board-radar .home-radar{flex:1;display:block;width:100%;height:0;min-height:0;max-height:none;margin:0}.player-whiteboard .room-board-radar-note{margin:0;font-size:12px;line-height:1.4}
.player-whiteboard .room-board-result,.player-whiteboard .room-board-career{display:none!important}
.player-whiteboard .room-board-mission{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #39565e33;padding-top:6px;margin:0;font-size:14px;min-height:44px;color:#285f56;font-weight:700}.room-board-mission>span:last-child{font-size:12px;color:#4f706f;font-weight:500}
.player-whiteboard .room-board-pin{display:none}.player-whiteboard .room-board-tray{bottom:-9px;left:-5px;right:-5px;height:6px;padding-right:8px;box-shadow:0 2px 2px #03162033}
@media(max-width:900px){
 .room-home-world.player-page{--home-dock-space:94px}
 .room-home-stage{width:min(100%,calc(max(560px,100svh - var(--home-dock-space))*.5))}
 .room-home-stage .player-showroom{aspect-ratio:1/2}
 .room-home-hud{top:max(9px,env(safe-area-inset-top,0px));left:max(9px,env(safe-area-inset-left,0px));right:max(9px,env(safe-area-inset-right,0px));gap:7px}
 .room-home-identity{padding:7px 9px;gap:9px;max-width:65%}.room-home-identity .player-avatar.profile-token{width:36px;height:36px}.room-home-label{font-size:11px}.room-home-identity h2{font-size:16px;margin:0}.room-home-motto{display:none}.room-home-career{min-height:25px;font-size:13px}.room-home-tools{gap:5px}.room-home-control{padding:9px;min-height:44px;width:44px}.room-home-control>span{display:none}.room-home-more{width:44px}
 .room-home-dock{width:calc(100% - 18px);padding:7px;gap:3px;bottom:max(10px,env(safe-area-inset-bottom,0px));border-radius:16px}.room-home-dock button{font-size:12px;min-height:56px}.room-home-dock button svg{width:23px;height:23px}
 .room-home-collection-link{top:68%;left:83%;right:auto;flex-direction:column;gap:0;font-size:12px;padding:5px 9px;min-height:44px;background:#17343fcc}
 .player-showroom .player-whiteboard{left:var(--phone-wall-board-x);top:var(--phone-wall-board-y);width:var(--phone-wall-board-width);height:var(--phone-wall-board-height);padding:10px;column-gap:8px;row-gap:4px;border-width:4px}
 .player-whiteboard .room-board-heading{padding-bottom:4px}.player-whiteboard .room-board-heading h3{font-size:16px}.player-whiteboard .room-board-heading>span:last-child{font-size:11px}
 .player-whiteboard .room-board-stats{gap:8px}.player-whiteboard .room-board-money>strong{font-size:clamp(21px,6cqw,28px)}.player-whiteboard .room-board-level>span>strong{font-size:22px}.player-whiteboard .room-board-level{gap:5px}.player-page .player-whiteboard .level-ring-ui.player-total-ring{--ring-size:34px}.player-whiteboard .room-board-money>span,.player-whiteboard .room-board-level>span>small{font-size:12px}.player-whiteboard .room-board-level em{font-size:11px}.player-whiteboard .room-board-money>small{display:none}
 .player-whiteboard .room-board-radar-heading>strong{font-size:13px}.player-whiteboard .room-board-radar-heading>span{display:none}.player-whiteboard .room-board-radar-note{font-size:11px}.player-whiteboard .room-board-mission{font-size:13px;min-height:36px;padding-top:4px}.room-board-mission>span:last-child{font-size:11px}
 .player-whiteboard .radar-axis-name,.player-whiteboard .radar-axis-value{font-size:31px}
}
/* Shop, pet and editor previews use the same wall anchors and fixed board proportions as Home.
   Scale only the inert board's contents to the room, including when a desktop preview is narrow. */
.player-room-preview .player-showroom .player-whiteboard{grid-template-rows:auto minmax(0,1fr);padding:1.2cqw;column-gap:1cqw;row-gap:.7cqw;border-width:.5cqw;border-radius:.7cqw;box-shadow:0 0 0 .1cqw #826b54,.2cqw .3cqw .4cqw #32405a33}
.player-room-preview .player-whiteboard .room-board-heading{padding-bottom:.6cqw;gap:.5cqw}
.player-room-preview .player-whiteboard .room-board-heading h3{font-size:1.8cqw}
.player-room-preview .player-whiteboard .room-board-heading>span:last-child{font-size:1.2cqw;max-width:none}
.player-room-preview .player-whiteboard button{min-height:0}
.player-room-preview .player-whiteboard .room-board-stats{gap:1.2cqw;padding:0;border:0}
.player-room-preview .player-whiteboard .room-board-money>span,.player-room-preview .player-whiteboard .room-board-level>span>small{font-size:1.3cqw}
.player-room-preview .player-whiteboard .room-board-money>small,.player-room-preview .player-whiteboard .room-board-level em,.player-room-preview .player-whiteboard .room-board-level>span>strong>span{font-size:1.2cqw}
.player-room-preview .player-whiteboard .room-board-money>small{margin-top:.3cqw}
.player-room-preview .player-whiteboard .room-board-money>strong{font-size:2.1cqw}
.player-room-preview .player-whiteboard .room-board-level>span>strong{font-size:2cqw}
.player-room-preview .player-whiteboard .room-board-level{gap:.7cqw}
.player-room-preview .player-whiteboard .level-ring-ui.player-total-ring{--ring-size:3.8cqw;flex-shrink:0;background:#e2e8df;box-shadow:none;color:#31515b}
.player-room-preview .player-whiteboard .level-orbit-face>strong{font-size:1.8cqw}
.player-room-preview .player-whiteboard .level-orbit-face>span{font-size:1.2cqw}
.player-room-preview .player-whiteboard .room-board-radar-heading{font-size:1.2cqw}
.player-room-preview .player-whiteboard .room-board-radar-heading>strong{font-size:1.4cqw}
.player-room-preview .player-whiteboard .room-board-radar-note{font-size:1.2cqw}
.player-room-preview .player-whiteboard .room-board-mission,.player-room-preview .player-whiteboard .room-board-tray{display:none}
@media(max-width:900px){
 .player-room-preview .player-showroom .player-whiteboard{padding:2.5cqw;column-gap:2cqw;row-gap:1cqw;border-width:1cqw;border-radius:1.75cqw}
 .player-room-preview .player-whiteboard .room-board-heading{padding-bottom:1cqw}
 .player-room-preview .player-whiteboard .room-board-heading h3{font-size:4cqw}
 .player-room-preview .player-whiteboard .room-board-heading>span:last-child{font-size:2.75cqw}
 .player-room-preview .player-whiteboard .room-board-stats{gap:2cqw}
 .player-room-preview .player-whiteboard .room-board-money>span,.player-room-preview .player-whiteboard .room-board-level>span>small{font-size:3cqw}
 .player-room-preview .player-whiteboard .room-board-level em,.player-room-preview .player-whiteboard .room-board-level>span>strong>span{font-size:2.75cqw}
 .player-room-preview .player-whiteboard .room-board-money>strong{font-size:6cqw}
 .player-room-preview .player-whiteboard .room-board-level>span>strong{font-size:5.5cqw}
 .player-room-preview .player-whiteboard .room-board-level{gap:1.25cqw}
 .player-room-preview .player-whiteboard .level-ring-ui.player-total-ring{--ring-size:8.5cqw}
 .player-room-preview .player-whiteboard .level-orbit-face>strong{font-size:4.5cqw}
 .player-room-preview .player-whiteboard .level-orbit-face>span{font-size:3cqw}
 .player-room-preview .player-whiteboard .room-board-radar-heading>strong{font-size:3.25cqw}
 .player-room-preview .player-whiteboard .room-board-radar-note{font-size:2.75cqw}
}
@media(max-width:360px){.room-home-identity{max-width:60%;gap:6px}.room-home-identity .player-avatar.profile-token{width:30px;height:30px}.room-home-identity h2{font-size:14px}.room-home-dock button{font-size:11px}.player-whiteboard .room-board-level .player-total-ring{display:none}.player-whiteboard .room-board-money>strong{font-size:21px}.player-whiteboard .room-board-heading>span:last-child{font-size:10px}}
@media(prefers-reduced-motion:reduce){.room-home-world *{animation:none!important;transition:none!important}}

.room-home-world.player-showcase{--home-dock-space:0px}
.room-home-identity>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:10px;align-items:center}
.room-home-identity h2{grid-column:1;grid-row:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.room-home-identity .room-home-career{grid-column:2;grid-row:1}
.room-home-identity .room-home-motto{grid-column:1/-1;grid-row:2}
.room-home-identity .room-home-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}

/* Daylight studio framing shares the town's blue/periwinkle and warm-oak palette. */
body.showroom-active{background:#c5d5eb}
.room-home-world.player-page{background:radial-gradient(ellipse at 50% 70%,#e2eaf5,#a8bfdc 85%)}
.room-home-world.player-theme-aurora{background:radial-gradient(ellipse at 50% 70%,#ebe4f5,#bbafd8 85%)}
.room-home-world.player-theme-sunrise{background:radial-gradient(ellipse at 50% 70%,#f5ecdb,#d9c39c 85%)}
.room-home-identity,.room-home-control{background:#29365be6;border-color:#c7c9e480;box-shadow:0 4px 12px #27355326;border-radius:16px}
.room-home-control:hover{background:#46517e}
.room-home-career,.room-home-dock button svg{color:#ded5f7}
.room-home-dock{background:#29365bf0;border-color:#c7c9e480;box-shadow:0 6px 20px #26335040}
.room-home-dock button:nth-child(2){background:#ddd4f2;color:#302d61}
.room-home-dock button:nth-child(2) svg{color:inherit}
.room-home-collection-link{background:#324568e8;border-color:#edd6a580;box-shadow:0 3px 9px #27355333}
.player-showroom .player-whiteboard{border-color:#c4a078;border-radius:7px;background:#fffdf5;box-shadow:0 0 0 1px #826b54,2px 3px 4px #32405a33}

/* A small enamel-and-oak medallion, using the studio room's daylight palette. */
.room-profile-badge{display:grid;place-items:center;flex:0 0 auto;position:relative;width:60px;height:60px;min-width:44px;min-height:44px;padding:5px;border:1px solid #f5ddb4;border-radius:50%;background:linear-gradient(145deg,#fff4d8,#c69a63 65%,#f1d5a4);box-shadow:0 3px 7px #15244750,inset 0 1px 1px #fff9e9;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}
.room-profile-badge .player-avatar.profile-token{width:48px;height:48px;background:radial-gradient(circle at 30% 20%,#a8b9ed,#6076ba 65%,#3a4b83);box-shadow:inset 0 0 0 1px #f9e3b055}
.room-profile-badge .profile-token>.room-profile-default{width:100%;height:100%;border-radius:50%;object-fit:contain}
.room-profile-badge:has(.room-profile-default){padding:0;background:transparent;border-color:transparent;box-shadow:0 3px 7px #15244745}
.room-profile-badge:has(.room-profile-default) .player-avatar.profile-token{width:100%;height:100%;background:transparent;box-shadow:none}
.room-profile-badge:hover{transform:translateY(-1px);box-shadow:0 5px 10px #15244765}
.room-profile-badge:focus-visible{outline:3px solid #fff6d6;outline-offset:4px}
@media(max-width:750px){
 .room-profile-badge{width:48px;height:48px;padding:5px}
 .room-profile-badge .player-avatar.profile-token{width:36px;height:36px}
}
@media(max-width:360px){
 .room-profile-badge{width:44px;height:44px;padding:4px}
 .room-profile-badge .player-avatar.profile-token{width:34px;height:34px}
}
@media(prefers-reduced-motion:reduce){.room-profile-badge{transition:none}}
@media(max-width:750px){
 .room-home-identity>div{grid-template-columns:minmax(0,1fr);column-gap:0}
 .room-home-identity .room-home-career{grid-column:1;grid-row:2;min-height:25px;font-size:12px}
 .room-home-hud .room-home-identity .room-home-motto{display:none}
}

/* Sample sheet columns have different optical face centres. Keep custom portraits unchanged. */
.room-profile-badge[style] .avatar-portrait .avatar-cell{left:var(--room-portrait-x)}

/* Home mirrors the Museum's first twelve slots; arrangement stays in the Museum. */
.home-trophy-display{position:absolute;left:56%;top:20%;width:41%;height:43%;z-index:4;display:flex;flex-direction:column;padding:1.1cqw;border:.6cqw solid #c39b70;border-radius:1cqw;background:linear-gradient(135deg,#384a70,#22304c);box-shadow:inset 0 0 1cqw #08132580,0 .5cqw 1cqw #25334b40;color:#fff5dd;text-align:left;cursor:pointer;font:inherit}
.home-trophy-heading{display:flex;justify-content:space-between;align-items:center;gap:.5cqw;padding-bottom:.7cqw;line-height:1.3}.home-trophy-heading strong{font-size:1.8cqw}.home-trophy-heading>span{font-size:1.1cqw;color:#e0caa8}
.home-trophy-shelves{flex:1;min-height:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:.8cqw .5cqw}
.home-trophy-spot{position:relative;display:flex;align-items:flex-end;justify-content:center;min-width:0;min-height:0;border-bottom:.45cqw solid #c09a6e;background:linear-gradient(transparent,#f8d99b12);box-shadow:0 .3cqw .3cqw #0004}
.home-trophy-spot .trophy-art{position:static;width:100%;height:var(--home-trophy-scale,70%);max-width:100%;object-fit:contain;filter:drop-shadow(0 .25cqw .25cqw #0006);margin:0;transform:none}
.home-trophy-empty>span{align-self:center;font-size:2.5cqw;color:#aeb8d066}.home-trophy-footer{padding-top:.8cqw;font-size:1.1cqw;color:#f0dcb8;text-align:center;line-height:1.3}
.home-trophy-display:hover{border-color:#f0c78e}.home-trophy-display:focus-visible{outline:3px solid #c3f3e3;outline-offset:4px}
.room-home-stage .player-room-avatar,.room-home-stage .player-room-example{left:50%}
.player-room-preview .home-trophy-display{pointer-events:none}
@media(max-width:900px){
 .home-trophy-display{left:9%;top:40%;width:82%;height:15%;padding:1.4cqw;border-width:1cqw;border-radius:2cqw}
 .home-trophy-heading{padding-bottom:.5cqw}.home-trophy-heading strong{font-size:3cqw}.home-trophy-heading>span,.home-trophy-footer{font-size:2cqw}.home-trophy-footer{padding-top:.5cqw}
 .home-trophy-shelves{gap:1cqw}.home-trophy-spot{border-bottom-width:.7cqw}.home-trophy-empty>span{font-size:4cqw}
 .player-showroom:not(.room-editing) .player-room-avatar,.player-showroom:not(.room-editing) .player-room-example{left:50%;width:85%;bottom:2%}
}

/* A physical navy-and-brass cabinet, using the same shelf artwork as the Museum. */
.home-trophy-display{left:53%;top:11%;width:45%;height:56%;aspect-ratio:auto;display:block;padding:0;border:0;border-radius:.3cqw;background:#152032;box-shadow:.5cqw .8cqw 1cqw #15223765;isolation:isolate;overflow:hidden}
.home-trophy-cabinet-art{position:absolute;left:-2%;top:-1%;display:block;width:104%;height:106%;object-fit:fill;pointer-events:none}
.home-trophy-shelves{position:absolute;inset:0;display:block}
.home-trophy-spot{position:absolute;left:var(--home-slot-x);bottom:var(--home-slot-bottom);width:19%;height:25%;display:flex;align-items:flex-end;justify-content:center;border:0;background:none;box-shadow:none}
.home-trophy-spot .trophy-art{width:var(--home-trophy-scale,70%);height:auto;max-height:100%;object-fit:contain;filter:drop-shadow(0 .3cqw .2cqw #0009)}
.home-trophy-empty{display:none}
.home-trophy-heading{position:absolute;z-index:2;left:12%;right:12%;bottom:7.1%;height:7%;padding:0;justify-content:center;gap:1cqw;text-align:center;color:#efd49b;text-shadow:0 1px 2px #000}
.home-trophy-heading strong{font-size:1.25cqw;letter-spacing:.08em;text-transform:uppercase}.home-trophy-heading>span{font-size:.85cqw;color:#d5be8c}
.home-trophy-footer{display:none}
.home-trophy-shelves:after{content:"";position:absolute;inset:6.8% 6.6% 17%;pointer-events:none;background:linear-gradient(115deg,transparent 8%,#e6f4ff0d 9%,#e6f4ff03 27%,transparent 28%,transparent 62%,#e6f4ff0b 63%,transparent 82%),linear-gradient(90deg,transparent 49.7%,#d9b66b55 49.8%,#f7dca055 50.1%,transparent 50.3%);border:1px solid #d8eaff12;box-shadow:inset 0 0 .8cqw #dbefff08}
.home-trophy-display:hover{filter:brightness(1.07)}
@media(max-width:900px){.home-trophy-display{top:40%;left:9%;width:82%;height:15%;aspect-ratio:auto}.home-trophy-heading strong{font-size:2.4cqw}.home-trophy-heading>span{font-size:1.7cqw}}
@media(max-width:900px){
 .home-trophy-display{left:44%;top:43%;width:53%;height:auto;aspect-ratio:3/2}
 .home-trophy-heading strong{font-size:1.65cqw}.home-trophy-heading>span{font-size:1.1cqw}
 .player-showroom:not(.room-editing) .player-room-avatar,.player-showroom:not(.room-editing) .player-room-example{left:50%}
}
#town-name-help{font-size:15px;line-height:1.6;color:#526778}
#town-name-error{color:#a02e36;font-size:14px;line-height:1.5}

/* Each home surface uses the artwork's measured coordinate space. */
.home-room-modern .home-room-art{position:absolute;inset:0;z-index:-2}
.home-room-modern .player-room-background{object-fit:fill;filter:none}
.home-room-modern .home-wall-projection{display:block;position:absolute;inset:0;width:100%;height:100%;z-index:1;overflow:visible;pointer-events:none}
.home-room-modern .home-mounted-object{transform:var(--mount);transform-origin:0 0}
.home-room-modern .home-board-surface{position:absolute;left:0;top:0;width:920px;height:600px;transform-origin:0 0;pointer-events:auto;overflow:visible;visibility:hidden}
.home-room-modern .home-wall-projection[data-mounted="true"] .home-board-surface{visibility:visible}
.home-mounted-board{position:relative;width:460px;height:300px;zoom:2}
.home-room-modern .home-mounted-board .player-whiteboard{position:relative;inset:auto;width:460px;height:300px;transform:none;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,.36fr) minmax(0,.64fr);grid-template-rows:40px minmax(0,1fr) 32px;padding:12px;gap:10px;border:4px solid #b5b6aa;border-radius:2px;background:linear-gradient(110deg,#f9f8ee,#e9e8dc);color:#294656;box-shadow:0 0 0 1px #3e484533,1px 2px 2px #15263866,inset 0 1px 2px #ffffffa6}
.board-wall-fixings{position:absolute;inset:0;pointer-events:none}
.board-wall-fixings i{position:absolute;left:0;top:0;width:10px;height:10px;border-radius:2px;background:radial-gradient(circle,#737b75 0 1px,#d6d8cd 1.4px 3px,#b4b9af 3.5px);box-shadow:inset 0 0 0 1px #92998c}
.board-wall-fixings i:nth-child(2){left:auto;right:0}.board-wall-fixings i:nth-child(3){top:auto;bottom:0}.board-wall-fixings i:nth-child(4){left:auto;right:0;top:auto;bottom:0}
.home-mounted-board .room-board-heading{padding:0 0 8px;gap:5px}
.home-room-modern .home-mounted-board .room-board-heading h3{font-size:24px;white-space:nowrap}
.home-room-modern .home-mounted-board .room-board-heading>span:last-child{font-size:14px}
.home-room-modern .home-mounted-board .room-board-stats{gap:10px;justify-content:flex-start}
.home-room-modern .home-mounted-board .room-board-money,.home-room-modern .home-mounted-board .room-board-level{min-height:0}
.home-room-modern .home-mounted-board .room-board-money>span,.home-room-modern .home-mounted-board .room-board-level>span>small{font-size:19px}
.home-room-modern .home-mounted-board .room-board-money>strong{font-size:var(--home-money-size,34px);white-space:nowrap;letter-spacing:-.04em}
.home-room-modern .home-mounted-board .room-board-money>small{display:none}
.home-room-modern .home-mounted-board .room-board-level>span>strong{font-size:28px}
.home-room-modern .home-mounted-board .room-board-level>span>strong>span,.home-room-modern .home-mounted-board .room-board-level em{font-size:16px}
.home-room-modern .home-mounted-board .room-board-level{gap:8px}
.home-room-modern .home-mounted-board .level-ring-ui.player-total-ring{--ring-size:46px}
.home-room-modern .home-mounted-board .level-orbit-face>strong{font-size:22px}
.home-room-modern .home-mounted-board .room-board-radar-heading>strong{font-size:18px}
.home-room-modern .home-mounted-board .room-board-radar-heading>span,.home-room-modern .home-mounted-board .room-board-radar-note{display:none}
.home-room-modern .home-mounted-board .room-board-radar .home-radar{flex:1;height:0;max-height:none}
.home-room-modern .home-mounted-board .room-board-mission{display:flex;min-height:0;padding-top:7px;font-size:18px}
.home-room-modern .home-mounted-board .room-board-mission>span:last-child{font-size:16px}
.home-room-modern .home-mounted-board .room-board-tray{bottom:-7px;left:-6px;right:-6px;height:5px}
.player-theme-clubhouse.home-room-modern .home-mounted-board .player-whiteboard{border-color:#b3aa92;background:linear-gradient(110deg,#f3ead5,#ded4bb)}
.player-theme-penthouse.home-room-modern .home-mounted-board .player-whiteboard{border-color:#afa796;background:linear-gradient(105deg,#ece8dc,#d5d4c8)}
.player-theme-treehouse.home-room-modern .home-mounted-board .player-whiteboard{border-color:#b4b5a4;background:linear-gradient(110deg,#f4f4e5,#e1e5d5)}
.player-theme-futuristic.home-room-modern .home-mounted-board .player-whiteboard{border-color:#b3bad1;background:linear-gradient(110deg,#f1f2fc,#dce1f1)}
.home-room-modern .home-trophy-integrated{left:var(--home-cab-x);top:var(--home-cab-y);width:var(--home-cab-w);height:var(--home-cab-h);aspect-ratio:auto;background:none;box-shadow:none;border:0;padding:0;overflow:hidden}
.home-trophy-projection{position:absolute;left:var(--home-cab-svg-x);top:var(--home-cab-svg-y);width:var(--home-cab-svg-w);height:var(--home-cab-svg-h);max-width:none;overflow:visible;pointer-events:none}
.home-trophy-contact{fill:#1a100b;opacity:.38;filter:blur(3px)}
.home-room-modern .home-trophy-display:hover{background:none;filter:brightness(1.06)}
.home-room-modern .home-trophy-display:focus-visible{outline:3px solid #c3f3e3;outline-offset:-4px}
/* A square sprite follows room HEIGHT, with its painted feet kept on the rug. */
.home-room-modern .player-room-avatar,.home-room-modern .player-room-example,.home-room-modern.room-editing .player-room-avatar{left:50%;bottom:9%;height:58%;width:auto;max-width:none;aspect-ratio:1;transform:translateX(-50%);filter:drop-shadow(0 3px 3px #15242e33)}
.home-room-modern .player-room-avatar:before,.home-room-modern .player-room-example:before{content:"";position:absolute;left:38%;right:38%;bottom:2.6%;height:1.5%;border-radius:50%;background:#1c20204d;filter:blur(3px)}
.home-room-modern .player-room-avatar>.avatar-figure,.home-room-modern .player-room-example>.avatar-figure{width:100%;height:100%}
.home-room-modern .room-avatar-name{background:#1d394abd;font-size:13px}
.home-room-shop-preview{width:100%;margin:16px 0;border-radius:16px;overflow:hidden;border:1px solid #b1c2c8}
.shop-home-guide{padding:15px;border:1px solid #cbdcde44;border-radius:14px;margin:10px 0;color:#e0e7dd}.shop-home-guide h3{color:#f0dcc1}.shop-home-guide p{font-size:12px;line-height:1.7}
.emporium-item.home-item .emporium-item-stage{padding:0;position:relative;aspect-ratio:3/2;height:auto;min-height:0}
.emporium-item.home-item .emporium-item-stage>img{width:100%;height:100%;max-height:none;max-width:none;object-fit:cover;border-radius:0}
.emporium-item.home-item .shop-item-status{z-index:2;position:absolute;top:8px;left:8px;background:#163748df;border-radius:9px;padding:5px 8px}
.player-room-preview .home-room-modern{aspect-ratio:3/2}
.player-room-preview .home-room-modern .room-avatar-name{font-size:1.7cqw}
.room-home-modern-world.player-page{height:100svh;height:100dvh;min-height:0;padding:0}
.room-home-modern-world .room-home-stage{width:100%;height:100%;flex-shrink:0}
.room-home-modern-world .room-home-stage .home-room-modern{height:100%;aspect-ratio:auto}
.room-home-modern-world .room-home-stage .home-room-modern .player-room-avatar,.room-home-modern-world .room-home-stage .home-room-modern .player-room-example{bottom:max(9%,108px)}
@media(min-width:901px) and (max-height:650px){
 .room-home-modern-world .room-home-identity{padding:6px 10px}
 .room-home-modern-world .room-home-identity .profile-token{width:32px;height:32px}
 .room-home-modern-world .room-home-identity h2{font-size:16px}
 .room-home-modern-world .room-home-identity .room-home-motto{display:none}
}
@media(max-width:900px){
 .room-home-stage .home-room-modern .home-mounted-object{transform:var(--phone-mount)}
 .room-home-stage .home-room-modern .home-trophy-integrated{left:var(--phone-home-cab-x);top:var(--phone-home-cab-y);width:var(--phone-home-cab-w);height:var(--phone-home-cab-h)}
 .room-home-stage .home-trophy-projection{left:var(--phone-home-cab-svg-x);top:var(--phone-home-cab-svg-y);width:var(--phone-home-cab-svg-w);height:var(--phone-home-cab-svg-h)}
 .room-home-modern-world .room-home-stage .home-room-modern .player-room-avatar,.room-home-modern-world .room-home-stage .home-room-modern .player-room-example{left:46%;height:43%;bottom:max(10.5%,88px);width:auto}
 .shop-world-stations,.shop-world-room .shop-world-stations{grid-template-columns:repeat(6,minmax(0,1fr))}
}

/* Reuse registered scene pixels above the board, preserving leaves at the wall edge. */
.home-room-foliage{position:absolute;inset:0;width:100%;height:100%;z-index:2;pointer-events:none}
.home-foliage-portrait{display:none}
.home-room-modern .home-mounted-board .radar-axis-name,.home-room-modern .home-mounted-board .radar-axis-value{font-size:31px}
.home-room-modern .home-mounted-board .room-board-mission{grid-column:2;justify-content:flex-start;gap:10px}
.home-room-modern .home-mounted-board .room-board-mission:after{content:'→'}
.home-room-modern .home-mounted-board .room-board-mission>span:last-child{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:900px){.room-home-stage .home-foliage-landscape{display:none}.room-home-stage .home-foliage-portrait{display:block}}

/* Keep the raised room boards clear of the profile badge on short screens. */
@media(min-width:901px) and (max-height:650px){
 .room-home-modern-world .room-home-hud{top:max(9px,env(safe-area-inset-top,0px))}
 .room-home-modern-world .room-profile-badge{width:44px;height:44px;padding:4px}
 .room-home-modern-world .room-profile-badge .player-avatar.profile-token{width:34px;height:34px}
}

/* Stronger, higher contrast type remains legible after wall projection. */
.home-room-modern .home-mounted-board .player-whiteboard{color:#17313e;text-shadow:none}
.home-room-modern .home-mounted-board .room-board-heading>span:last-child{font-size:16px;font-weight:650;color:#334a52}
.home-room-modern .home-mounted-board .room-board-money>span,.home-room-modern .home-mounted-board .room-board-level>span>small{font-weight:650;color:#243e48}
.home-room-modern .home-mounted-board .room-board-level em,.home-room-modern .home-mounted-board .room-board-level>span>strong>span{font-size:18px;font-weight:650;color:#243e48}
.home-room-modern .home-mounted-board .room-board-money>strong{font-weight:800;letter-spacing:0;font-variant-numeric:tabular-nums}
.home-room-modern .home-mounted-board .radar-axis-name,.home-room-modern .home-mounted-board .radar-axis-value{font-size:35px;font-weight:750;fill:#17313e;paint-order:normal}

/* Give the radar the full board height below its title, with distinct scores. */
.home-room-modern .home-mounted-board .player-whiteboard{grid-template-rows:30px minmax(0,1fr) 28px}
.home-room-modern .home-mounted-board .room-board-heading{padding-bottom:3px}
.home-room-modern .home-mounted-board .room-board-radar{grid-row:2/4}
.home-room-modern .home-mounted-board .room-board-radar-heading{display:none}
.home-room-modern .home-mounted-board .room-board-mission{grid-column:1;grid-row:3;font-size:16px;gap:5px}
.home-room-modern .home-mounted-board .radar-axis-name{font-size:25px;font-weight:700}
.home-room-modern .home-mounted-board .radar-axis-value{font-size:42px;font-weight:800;fill:#102b39;stroke:#f0f0e5;stroke-width:2px;paint-order:stroke fill}
.home-room-modern .home-mounted-board .radar-scale{font-size:22px;font-weight:700;fill:#28434d;stroke:#f0f0e5;stroke-width:2px;paint-order:stroke fill}
.home-room-modern .home-mounted-board .room-board-mission{grid-column:2;grid-row:1;justify-content:flex-end;border-top:0;padding-top:0}
.home-room-modern .home-mounted-board .room-board-heading{grid-column:1;grid-row:1;min-width:0}
.home-room-modern .home-mounted-board .room-board-radar{grid-column:2}

/* Tall wall boards need a clear left wall; keep the profile above the central window. */
@media(min-width:901px){
 .room-home-modern-world .room-home-identity{position:absolute;left:44%;max-width:min(29vw,360px);padding:7px 10px;gap:8px}
 .room-home-modern-world .room-home-identity>div{grid-template-columns:minmax(0,1fr);column-gap:0}
 .room-home-modern-world .room-home-identity h2{font-size:16px;grid-column:1;grid-row:1}
 .room-home-modern-world .room-home-identity .room-home-career{grid-column:1;grid-row:2;font-size:12px;min-height:25px}
 .room-home-modern-world .room-home-identity .room-home-motto{grid-column:1;grid-row:3;font-size:11px}
 .room-home-modern-world .room-profile-badge{width:48px;height:48px;padding:4px}
 .room-home-modern-world .room-profile-badge .player-avatar.profile-token{width:36px;height:36px}
 .room-home-modern-world .room-home-tools{margin-left:auto}
}
@media(min-width:901px) and (max-width:1200px){
 .room-home-modern-world .room-home-control,.room-home-modern-world .sound-control{width:44px;min-height:44px;padding:9px}
 .room-home-modern-world .room-home-control>span,.room-home-modern-world .sound-control>span{display:none}
}

/* Approved bedroom concept: pale oak frame, radar and a readable score key. */
.home-room-modern .home-mounted-board .bedroom-oak-board{
 display:grid;grid-template-columns:128px minmax(0,1fr) 112px;grid-template-rows:38px minmax(0,1fr) 27px;gap:5px 7px;
 padding:13px 8px 14px;border:6px solid transparent;border-radius:9px;
 background:linear-gradient(115deg,#fffefa,#f7f8f5) padding-box,repeating-linear-gradient(7deg,#cb9258 0,#e9b77c 2px,#e1aa6f 4px,#d89f64 6px) border-box;
 box-shadow:0 0 0 1px #936638,2px 3px 4px #15263866,inset 0 0 0 1px #b3834e55;color:#173746;
}
.player-theme-midnight .board-wall-fixings{display:none}
.bedroom-oak-board button{font:inherit;color:inherit;min-width:0;min-height:0;border:0;background:none;padding:0;text-align:left;border-radius:5px}
.bedroom-oak-board button:hover{background-color:#16888a0b}
.bedroom-oak-board button:focus-visible{outline:2px solid #087f88;outline-offset:2px}
.oak-board-title{grid-column:1/4;grid-row:1;align-self:start}
.oak-board-title h3{font-size:25px;line-height:1.15;letter-spacing:.01em;font-weight:800;text-transform:uppercase;margin:0;color:#12344c}
.oak-board-title:after{content:'';display:block;width:40px;height:2px;background:#148b90;margin-top:8px;border-radius:2px}
.oak-board-stats{grid-column:1;grid-row:2/4;display:flex;flex-direction:column;justify-content:center;gap:14px;padding-bottom:10px}
.bedroom-oak-board .oak-board-money,.bedroom-oak-board .oak-board-level{display:flex;align-items:center;gap:7px;min-height:76px;border:1px solid #d6dfdd;background:#f2f5f2;padding:9px 6px;box-shadow:inset 0 1px 1px #fff}
.oak-board-money>span,.oak-board-level>span{min-width:0;display:flex;flex-direction:column;gap:5px}
.oak-board-money small,.oak-board-level>span>small{font-size:12px;font-weight:650;white-space:nowrap;color:#36515d}
.oak-board-money strong{display:block;white-space:nowrap;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums;color:#12344c;letter-spacing:-.025em}
.oak-board-coins{width:24px;height:32px;flex-shrink:0;fill:#9addd8;stroke:#128d95;stroke-width:2}
.bedroom-oak-board .level-ring-ui.player-total-ring{--ring-size:39px}
.bedroom-oak-board .level-orbit-face>strong{font-size:19px}
.oak-board-level>span>strong{font-size:26px;font-weight:800;line-height:1.2;color:#12344c;font-variant-numeric:tabular-nums;white-space:nowrap}
.oak-board-level>span>strong>small{font-size:11px;font-weight:650}
.bedroom-oak-board .oak-board-radar{grid-column:2;grid-row:2/4;display:flex;align-items:center;justify-content:center}
.bedroom-oak-board .oak-board-radar .home-radar{display:block;width:100%;height:100%;max-height:none;margin:0;overflow:visible}
.home-room-modern .home-mounted-board .bedroom-oak-board .radar-axis-value{display:none}
.home-room-modern .home-mounted-board .bedroom-oak-board .radar-axis-name{font-size:30px;font-weight:700;fill:#173746}
.home-room-modern .home-mounted-board .bedroom-oak-board .radar-scale{font-size:21px;stroke:#fcfcf8;fill:#48656c;stroke-width:3px}
.bedroom-oak-board .radar-data-area{fill:#159b9e33;stroke:#128d95;stroke-width:4px}
.bedroom-oak-board .radar-point{fill:#128d95;stroke:#fff;stroke-width:2px}
.bedroom-oak-board .radar-measured-spoke{stroke:#148b904d}
.bedroom-oak-board .oak-board-skills{grid-column:3;grid-row:1/3;display:flex;flex-direction:column;gap:10px;border-left:1px solid #cbd6d3;border-radius:0;padding:0 0 0 9px}
.oak-board-skills>strong{font-size:18px;line-height:1.2;color:#12344c}
.oak-board-skills>strong:after{content:'';display:block;width:24px;height:2px;background:#148b90;margin-top:5px}
.oak-skill-list{display:flex;flex:1;flex-direction:column;justify-content:space-evenly;gap:5px;width:100%}
.oak-skill-row{display:grid;grid-template-columns:5px minmax(0,1fr) auto;align-items:center;column-gap:4px;line-height:1.15}
.oak-skill-row>i{width:5px;height:8px;background:var(--skill-colour);border:1px solid #148b9055;border-radius:50%}
.oak-skill-row>span{font-size:11px;font-weight:650;overflow-wrap:normal}
.oak-skill-row>strong{font-size:17px;font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums;color:#12344c}
.oak-board-skills>small{font-size:9px;color:#46606a;white-space:nowrap}
.bedroom-oak-board .oak-board-mission{grid-column:3;grid-row:3;display:flex;align-items:center;justify-content:center;gap:4px;background:#14878c;color:white;font-size:12px;font-weight:750;padding:4px 3px;white-space:nowrap}
.bedroom-oak-board .oak-board-mission:hover{background:#096f77}
.oak-board-tray{position:absolute;left:39%;bottom:-8px;width:90px;height:5px;background:linear-gradient(#dfb27e,#ac7b48);border-radius:3px;box-shadow:1px 2px 2px #1b293233;display:flex;justify-content:center;gap:10px}
.oak-board-tray i{width:25px;height:4px;background:#12344c;border-radius:2px;position:relative;top:-3px}
.oak-board-tray i:last-child{background:#128d95}
.home-room-modern .home-mounted-board .bedroom-oak-board{grid-template-columns:100px minmax(0,1fr) 124px;column-gap:3px}
.bedroom-oak-board .oak-board-money{display:grid;grid-template-columns:24px minmax(0,1fr);gap:4px 6px}
.oak-board-money>span{display:contents}
.oak-board-money small{grid-column:2;grid-row:1}
.oak-board-money .oak-board-coins{grid-column:1;grid-row:1;width:22px;height:26px}
.oak-board-money strong{grid-column:1/3;grid-row:2;text-align:center}
.oak-skill-row>span{min-width:0}
.bedroom-oak-board .oak-board-radar{overflow:hidden}
/* On the narrow portrait wall, move the two stats above the radar and key. */
@media(max-width:900px){
 .room-home-stage .home-room-modern .home-mounted-board .bedroom-oak-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:30px 54px minmax(0,1fr) 24px;gap:8px;padding:10px}
 .room-home-stage .oak-board-title{grid-column:1/3;grid-row:1}
 .room-home-stage .oak-board-title h3{font-size:25px}
 .room-home-stage .oak-board-title:after{margin-top:4px}
 .room-home-stage .oak-board-stats{display:contents}
 .room-home-stage .bedroom-oak-board .oak-board-money{grid-column:1;grid-row:2;min-height:0;display:flex;padding:5px 8px}
 .room-home-stage .oak-board-money>span{display:flex;gap:2px}
 .room-home-stage .oak-board-money small{font-size:13px}
 .room-home-stage .oak-board-money strong{text-align:left}
 .room-home-stage .oak-board-money .oak-board-coins{width:23px;height:30px}
 .room-home-stage .bedroom-oak-board .oak-board-level{grid-column:2;grid-row:2;min-height:0;padding:5px 8px}
 .room-home-stage .oak-board-level>span{gap:2px}
 .room-home-stage .oak-board-level>span>small{font-size:13px}
 .room-home-stage .bedroom-oak-board .oak-board-radar{grid-column:1;grid-row:3/5}
 .room-home-stage .bedroom-oak-board .oak-board-skills{grid-column:2;grid-row:3;gap:4px;padding-left:8px}
 .room-home-stage .oak-board-skills>strong{font-size:18px}
 .room-home-stage .oak-board-skills>strong:after{display:none}
 .room-home-stage .oak-board-skills>small{display:none}
 .room-home-stage .oak-skill-list{gap:3px}
 .room-home-stage .oak-skill-row{grid-template-columns:5px minmax(0,1fr) auto;gap:4px}
 .room-home-stage .oak-skill-row>span{font-size:14px;line-height:1.05}
 .room-home-stage .oak-skill-row>strong{font-size:20px;line-height:1.05}
 .room-home-stage .bedroom-oak-board .oak-board-mission{grid-column:2;grid-row:4;font-size:15px}
}
@media(max-width:900px){
 .room-home-stage .home-room-modern .home-mounted-board .bedroom-oak-board{grid-template-rows:26px 54px minmax(0,1fr) 24px;gap:6px}
 .room-home-stage .bedroom-oak-board .oak-board-skills{min-height:0}
 .room-home-stage .oak-skill-list{min-height:0;display:grid;grid-template-rows:repeat(7,minmax(0,1fr));gap:1px}
 .room-home-stage .oak-skill-row>span{font-size:13px;line-height:1}
 .room-home-stage .oak-skill-row>strong{font-size:16px;line-height:1}
}

/* Rebalance the desktop board around a radar about a quarter larger. */
@media(min-width:901px){
 .bedroom-oak-board .oak-board-money,.bedroom-oak-board .oak-board-level{padding-inline:4px}
 .bedroom-oak-board .oak-board-level{gap:4px}
 .bedroom-oak-board .level-ring-ui.player-total-ring{--ring-size:30px}
 .bedroom-oak-board .level-orbit-face>strong{font-size:16px}
 .oak-board-level>span>small{font-size:10.5px}
 .oak-board-level>span>strong{font-size:25px}
 .oak-board-level>span>strong>small{display:none}
}
@media(min-width:901px){
 .oak-board-money small{font-size:10.5px}
 .home-room-modern .home-mounted-board .bedroom-oak-board .level-ring-ui.player-total-ring{--ring-size:30px}
 .home-room-modern .home-mounted-board .bedroom-oak-board .level-orbit-face>strong{font-size:16px}
}

/* One type hierarchy, painted at the wall face's actual aspect ratio. */
.home-room-modern .home-board-surface{height:calc(var(--home-board-content-height,300px)*2)}
.home-mounted-board{height:var(--home-board-content-height,300px)}
.home-room-modern .home-mounted-board .player-whiteboard{
 height:var(--home-board-content-height,300px);line-height:1.25;
 --board-title:calc(24px*var(--home-board-density,1));
 --board-label:calc(14px*var(--home-board-density,1));
 --board-number:calc(30px*var(--home-board-density,1));
 --board-small:calc(12px*var(--home-board-density,1));
}
.home-room-modern .home-mounted-board .room-board-heading h3{font-size:var(--board-title);line-height:1.15;letter-spacing:0}
.home-room-modern .home-mounted-board .room-board-money>span,.home-room-modern .home-mounted-board .room-board-level>span>small{font-size:var(--board-label);line-height:1.25;font-weight:650}
.home-room-modern .home-mounted-board .room-board-money>strong{font-size:calc(var(--home-money-size,30px)*var(--home-board-density,1));line-height:1.2;letter-spacing:0}
.home-room-modern .home-mounted-board .room-board-level>span>strong{font-size:var(--board-number);line-height:1.2;font-weight:800}
.home-room-modern .home-mounted-board .room-board-level>span>strong>span,.home-room-modern .home-mounted-board .room-board-level em{font-size:var(--board-small);line-height:1.25;font-weight:600}
.home-room-modern .home-mounted-board .room-board-level{gap:6px}
.home-room-modern .home-mounted-board .room-board-stats{justify-content:center;gap:calc(18px*var(--home-board-density,1))}
.home-room-modern .home-mounted-board .room-board-mission{font-size:var(--board-label);line-height:1.2}
.home-room-modern .home-mounted-board .radar-axis-name{font-size:27px;letter-spacing:0}
.home-room-modern .home-mounted-board .radar-axis-value{font-size:40px;font-variant-numeric:tabular-nums}
.home-room-modern .home-mounted-board .radar-scale{font-size:21px}

.home-room-modern .home-mounted-board .bedroom-oak-board{grid-template-columns:116px minmax(0,1fr) 130px}
.bedroom-oak-board .oak-board-title h3{font-size:var(--board-title);letter-spacing:0;line-height:1.15}
.bedroom-oak-board .oak-board-money small,.bedroom-oak-board .oak-board-level>span>small{font-size:var(--board-small);line-height:1.25;font-weight:650}
.bedroom-oak-board .oak-board-money strong{font-size:calc(var(--oak-money-size,28px)*var(--home-board-density,1));letter-spacing:0;line-height:1.2}
.bedroom-oak-board .oak-board-level>span>strong{font-size:var(--board-number);line-height:1.2}
.bedroom-oak-board .oak-board-money,.bedroom-oak-board .oak-board-level{min-height:calc(76px*var(--home-board-density,1));padding-block:calc(8px*var(--home-board-density,1))}
.home-room-modern .home-mounted-board .bedroom-oak-board .level-ring-ui.player-total-ring{--ring-size:34px}
.home-room-modern .home-mounted-board .bedroom-oak-board .level-orbit-face>strong{font-size:18px}
.bedroom-oak-board .oak-board-skills>strong{font-size:calc(19px*var(--home-board-density,1));line-height:1.2}
.bedroom-oak-board .oak-skill-row>span{font-size:calc(13px*var(--home-board-density,1));line-height:1.2;font-weight:600}
.bedroom-oak-board .oak-skill-row>strong{font-size:calc(20px*var(--home-board-density,1));line-height:1.2;font-weight:800}
.bedroom-oak-board .oak-board-skills>small{font-size:calc(11px*var(--home-board-density,1))}
.bedroom-oak-board .oak-board-mission{font-size:calc(14px*var(--home-board-density,1));line-height:1.2}
.home-room-modern .home-mounted-board .bedroom-oak-board .radar-axis-name{font-size:32px}
.home-room-modern .home-mounted-board .bedroom-oak-board .radar-scale{font-size:23px}
@media(max-width:900px){
 .room-home-stage .home-room-modern .home-mounted-board .bedroom-oak-board{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:32px 70px minmax(0,1fr) 30px;gap:8px}
 .room-home-stage .bedroom-oak-board .oak-board-money,.room-home-stage .bedroom-oak-board .oak-board-level{min-height:0;padding:6px}
 .room-home-stage .bedroom-oak-board .oak-board-title h3{font-size:26px}
 .room-home-stage .bedroom-oak-board .oak-board-skills>strong{font-size:20px}
 .room-home-stage .bedroom-oak-board .oak-skill-row>span{font-size:17px;line-height:1.1}
 .room-home-stage .bedroom-oak-board .oak-skill-row>strong{font-size:23px;line-height:1.1}
 .room-home-stage .bedroom-oak-board .oak-board-mission{font-size:17px}
}
/* Keep all seven topic rows above the action, including short desktop windows. */
.bedroom-oak-board .oak-board-skills{gap:calc(7px*var(--home-board-density,1));min-height:0}
.bedroom-oak-board .oak-skill-list{gap:calc(2px*var(--home-board-density,1));min-height:0}
.bedroom-oak-board .oak-skill-row>span{font-size:calc(12.5px*var(--home-board-density,1));line-height:1.1}
.bedroom-oak-board .oak-skill-row>strong{font-size:calc(18px*var(--home-board-density,1));line-height:1.1}
.home-wall-projection[data-compact="true"] .oak-board-skills>small{display:none}
.home-wall-projection[data-compact="true"] .oak-skill-row>span{font-size:calc(11px*var(--home-board-density,1))}
@media(max-width:900px){
 .room-home-stage .home-room-modern .home-mounted-board .room-board-money>span,.room-home-stage .home-room-modern .home-mounted-board .room-board-level>span>small{font-size:18px}
 .room-home-stage .home-room-modern .home-mounted-board .room-board-level em,.room-home-stage .home-room-modern .home-mounted-board .room-board-level>span>strong>span{font-size:14px}
 .room-home-stage .home-room-modern .home-mounted-board .room-board-mission{font-size:18px}
 .room-home-stage .bedroom-oak-board .oak-board-money small,.room-home-stage .bedroom-oak-board .oak-board-level>span>small{font-size:16px}
 .room-home-stage .bedroom-oak-board .oak-board-money strong{font-size:calc(var(--oak-money-size,28px)*1.22)}
 .room-home-stage .bedroom-oak-board .oak-board-level>span>strong{font-size:32px}
}
