@font-face{font-family:Manrope;src:url('/assets/hall-of-fame-v7/Manrope-Variable.ttf')}*{box-sizing:border-box}html,body{margin:0;height:100%;overflow:hidden;background:#202b28;color:#f6ecd9;font:14px Manrope,Arial,sans-serif}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer;color:inherit;border:0}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #f0b879;outline-offset:3px}button{transition:background .15s,box-shadow .15s,transform .15s}button:hover{background:#58615c}button:active{transform:translateY(1px)}[hidden]{display:none!important}#game{display:block;width:100%;height:100%;touch-action:none;outline:0}#menu{position:absolute;inset:0;background:linear-gradient(90deg,#14231fe8 0%,#14231f77 35%,transparent 72%),linear-gradient(0deg,#14231f99,transparent 28%);display:flex;flex-direction:column;padding:30px 4vw}#menu header{display:flex;align-items:center;gap:25px;font-size:10px;letter-spacing:.15em}#menu header img{width:122px}#menu header button{margin-left:auto}.menu-copy{margin:auto 0;max-width:430px}.eyebrow{letter-spacing:.18em;font-weight:700;font-size:10px;color:#dec8a2}.title{display:block;width:min(420px,34vw);max-height:42vh;object-fit:contain;object-position:left center;margin:-6px 0 -5px -12px}.lede{font-size:23px;letter-spacing:-.035em;margin:0 0 27px}.enter{display:grid;grid-template-columns:1fr auto;gap:6px;width:330px;max-width:90vw;text-align:left;padding:22px 25px;border-radius:18px;background:#d88d59;color:#211f1a;box-shadow:0 8px 30px #0002}.enter:hover{background:#e9a76f}.enter strong{font-size:23px;font-weight:800;letter-spacing:-.045em}.enter span{font-size:11px;grid-row:2}.enter b{grid-column:2;grid-row:1/3;font-size:29px;align-self:center}.legacy{display:inline-block;color:#d4d8c9;text-decoration:none;font-size:11px;margin-top:20px;border-bottom:1px solid #c8c8b655;padding-bottom:4px}#menu footer{display:flex;justify-content:space-between;font-size:9px;letter-spacing:.14em;color:#d5d3bd}.pill{border-radius:14px;padding:11px 17px;background:#242e2de8;border:1px solid #d1dcc321}.panel{background:linear-gradient(145deg,#283230ee,#192522ed);border:1px solid #d8dfcc36;box-shadow:0 5px 25px #101d1840;backdrop-filter:blur(15px);border-radius:18px}#hud{position:absolute;inset:0;pointer-events:none}#hud button,#hud input,#chat,.panel,#move-pad{pointer-events:auto}#hud .top{position:absolute;left:24px;right:24px;top:22px;display:flex;justify-content:space-between}.place{display:flex;align-items:center;gap:11px;background:#24312ce6;padding:12px 18px;border:1px solid #d7ddc82b;border-radius:17px}.place strong{font-size:16px;display:block}.place small{font-size:10px;color:#c6cdba}.dot{width:7px;height:7px;border-radius:50%;background:#d7ac73;box-shadow:0 0 12px #d6ab7366}.top-actions{display:flex;gap:8px;align-items:start}#aim-hint{position:absolute;top:96px;left:50%;transform:translateX(-50%);padding:9px 16px;background:#1e2a26b5;border-radius:30px;font-size:11px;max-width:80vw;text-align:center;white-space:nowrap;text-shadow:0 1px 4px #000}.views{position:absolute;right:24px;top:38%;display:flex;flex-direction:column;gap:6px}.views button{background:#23312bdb;border:1px solid #cdd6bd28;border-radius:12px;font-size:10px;padding:12px}.views button.selected{color:#ffe6bc;border-color:#d5ac71}.arsenal{position:absolute;bottom:44px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:7px}#tools{display:flex;padding:7px;gap:5px}#tools button{width:76px;height:67px;position:relative;border-radius:12px;background:#ffffff06;font-size:11px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #ffffff12}#tools button b{font-size:23px;line-height:24px;font-weight:500;color:#c5c9b8}#tools button small{position:absolute;right:7px;top:3px;color:#9ba591;font-size:9px}#tools button.selected,#caps button.selected{background:#b8945838;border-color:#deb37c;color:#ffe3bb}#caps{display:flex;padding:5px;gap:3px;border-radius:14px}#caps button{background:transparent;padding:9px 10px;border-radius:9px;font-size:10px;border:1px solid transparent}.arsenal-foot{display:flex;gap:15px;align-items:center;font-size:10px}.arsenal-foot button{font-size:10px;background:#17251dc9;border-radius:8px;padding:6px 9px}#save-status{color:#fff6de;text-shadow:0 1px 5px #000}.palette{position:absolute;bottom:54px;left:24px;padding:11px;max-width:245px}#colors{display:grid;grid-template-columns:repeat(6,29px);gap:5px}#colors button{width:29px;height:29px;border-radius:10px;border:2px solid #ffffff20;box-shadow:inset 0 1px 2px #fff2}#colors button.selected{outline:2px solid #f2dfba;outline-offset:2px;transform:scale(.92)}#color-name{font-size:10px;display:block;margin:8px 2px 0;color:#d3d8c6}.settings{position:absolute;bottom:54px;right:24px;width:190px;padding:14px}.settings label{display:block;font-size:9px;letter-spacing:.1em;margin-bottom:12px}.settings output{float:right;color:#ffe7bb}.settings input{display:block;width:100%;margin:9px 0 0;height:4px;accent-color:#e6b276}.supply-row{display:flex;justify-content:space-between;font-size:10px;align-items:center}.supply-row button{background:#ffffff12;border-radius:7px;padding:4px 8px}.walk-help{position:absolute;bottom:13px;left:24px;font-size:10px;color:#e9e4cf;text-shadow:0 1px 4px #111}.walk-help span{margin:0 7px}kbd{font:inherit;font-weight:800}#reticle{position:absolute;width:16px;height:16px;border:1.5px solid #fff;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #0007;pointer-events:none}#notice{position:absolute;top:150px;left:50%;transform:translateX(-50%);background:#26372ef2;border:1px solid #bfc3a844;border-radius:14px;padding:13px 20px;max-width:80vw;font-size:12px;text-align:center}#chat{position:absolute;left:24px;top:100px;width:330px;max-width:85vw;height:310px;display:flex;flex-direction:column;background:#1e2b25ef;border:1px solid #ccd5bd38;border-radius:18px;box-shadow:0 10px 35px #0003;backdrop-filter:blur(12px);overflow:hidden}.chat-head{display:flex;padding:13px 16px;justify-content:space-between}.chat-head button{background:transparent;font-size:18px}#messages{list-style:none;padding:0 16px;margin:0;flex:1;overflow:auto;overflow-wrap:anywhere;font-size:12px}#messages li{margin:0 0 12px}#messages b{display:block;font-size:10px;color:#ddbc89;margin-bottom:3px}#chat-form{display:flex;padding:10px;gap:5px}#chat-input{min-width:0;flex:1;border:1px solid #acbaa133;background:#101e18;padding:10px;border-radius:10px;color:#fff}#chat-form button{background:#ad8152;border-radius:10px;width:37px}#chat-status{padding:0 12px 10px;color:#b5c0a6;font-size:9px}dialog{color:#eee5ce;background:#23322a;border:1px solid #a0ac914d;border-radius:24px;padding:30px;box-shadow:0 25px 100px #0006;width:520px;max-width:92vw;max-height:86vh;overflow:auto}dialog::backdrop{background:#101b17a3;backdrop-filter:blur(6px)}dialog h2{font-size:32px;letter-spacing:-.045em;margin:8px 0 20px}dialog p{font-size:13px;line-height:1.8;color:#d3dac6}dialog .close{float:right;background:transparent;font-size:25px}dialog a{color:#e9be84}dialog input{border:1px solid #cbd2bb55;background:#17241c;color:#eee;padding:10px;border-radius:8px}.name-label{display:grid;gap:8px;margin:20px 0 10px}.dialog-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:23px}.accent{background:#d49a61;color:#22271c;padding:13px 20px;border-radius:12px;font-weight:800}.muted{font-size:11px!important;color:#aebca1!important}.lesson{display:block;width:100%;text-align:left;border-radius:14px;padding:16px;background:#ffffff08;margin-bottom:9px;border:1px solid #dae2c723}.lesson strong{display:block;font-size:17px}.lesson span{display:block;font-size:11px;line-height:1.7;color:#c4d0b5;margin-top:7px}.upload{display:block;padding:15px;background:#435541;border-radius:10px;cursor:pointer}.upload input{display:none}#stickers{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}#stickers button{width:70px;height:70px;border-radius:10px;background:#c4c4b9;border:2px solid transparent}#stickers button.selected{border-color:#eab770}#stickers img{width:100%;height:100%;object-fit:contain}#sticker-dialog label{display:block;margin:12px 0}#touch-controls{display:none}
@media(max-width:1100px){.palette{max-width:180px}#colors{grid-template-columns:repeat(6,23px);gap:3px}#colors button{width:23px;height:25px;border-radius:8px}.settings{width:155px}#tools button{width:61px}#caps button{padding:8px}.walk-help{font-size:9px}}
@media(max-width:760px){#menu{padding:22px}#menu header span{display:none}.title{width:280px;max-height:37vh}.lede{font-size:19px}#menu footer{font-size:7px}#hud .top{left:10px;right:10px;top:10px}.place{padding:9px 12px}.place strong{font-size:12px}.place small{font-size:9px}.top-actions{gap:4px}.pill{padding:10px;font-size:10px}#aim-hint{top:76px;font-size:9px;max-width:90vw;white-space:normal}.views{right:10px;top:27%;gap:4px}.views button{font-size:9px;padding:9px}.arsenal{bottom:68px;width:max-content}#tools button{width:52px;height:52px;font-size:9px}#tools button b{font-size:19px}#tools{padding:5px}#caps button{padding:6px;font-size:8px}.arsenal-foot{gap:5px;font-size:8px}.arsenal-foot button{font-size:8px}.palette{bottom:12px;left:10px;padding:7px;max-width:none}#colors{grid-template-columns:repeat(6,24px)}#colors button{width:24px;height:24px}#color-name{display:none}.settings{bottom:10px;right:10px;width:125px;padding:10px}.settings label{font-size:8px;margin-bottom:7px}.settings input{margin-top:4px}.supply-row{font-size:8px}.walk-help{display:none}#chat{left:10px;top:70px;height:260px}dialog{padding:23px}dialog h2{font-size:26px}}
@media(pointer:coarse){#touch-controls{display:block}#move-pad{position:absolute;bottom:190px;left:24px;width:95px;height:95px;border-radius:50%;background:#22362c88;border:1px solid #fff4;touch-action:none}#move-pad i{position:absolute;left:32px;top:32px;width:30px;height:30px;border-radius:50%;background:#d4d2b866}#look-touch,#jump-touch{position:absolute;right:20px;bottom:200px;background:#283e2edb;border:1px solid #dadfc242;border-radius:50%;width:62px;height:62px;font-size:10px}#jump-touch{bottom:270px}}

#tools button b img{width:43px;height:38px;object-fit:contain;display:block;margin-top:-6px}#tools button b{height:27px}#save-status{border:0;background:transparent}.supply-row:has(#supply) button{min-width:27px}#notice{z-index:10}
@media(max-width:760px){#tools button b img{height:30px;width:34px;margin-top:-3px}#tools button b{height:22px}}

@media(max-width:760px){.arsenal{bottom:130px}#colors{grid-template-columns:repeat(6,30px)}#colors button{width:30px;height:30px}.settings input{height:10px}#move-pad{bottom:275px}#look-touch{bottom:280px}#jump-touch{bottom:350px}}

#menu footer a{color:inherit;text-decoration:none;border-bottom:1px solid #c8c8b655;padding-bottom:3px}
@media(max-width:760px){#menu footer{flex-wrap:wrap;gap:12px}#menu footer span:last-child{display:none}}

.control-tuning{display:grid;gap:12px;margin:18px 0;font-size:12px}.control-tuning label{display:grid;gap:8px}.control-tuning input{width:100%;accent-color:#eab770}#mode-toggle{border:1px solid #eab77080;color:#ffe0b1}
/* Reference interaction: camera scale and a clear canvas during the gesture. */
.camera-scale{display:flex;align-items:center;flex-direction:column;gap:8px;padding:12px 9px;background:#1a2723d9;border:1px solid #d8dfcc36;border-radius:18px;font-size:10px;pointer-events:auto;min-width:80px}
.camera-scale output{white-space:nowrap;color:#ffe3bb;font-size:10px}.camera-scale input{writing-mode:vertical-lr;direction:rtl;width:18px;height:136px;accent-color:#e6b276;cursor:ns-resize;margin:0}
#hud .top,#hud .arsenal,#hud .palette,#hud .settings,#hud .views,#hud .walk-help,#aim-hint{transition:opacity .12s ease}
#hud.painting .top,#hud.painting .arsenal,#hud.painting .palette,#hud.painting .settings,#hud.painting .views,#hud.painting .walk-help,#hud.painting #aim-hint{opacity:0;pointer-events:none}
#hud.painting button,#hud.painting input{pointer-events:none}
@media(max-width:760px){.camera-scale{min-width:60px;padding:8px 4px}.camera-scale input{height:90px}.camera-scale output{font-size:9px}}

/* Paint gestures keep the existing HALL OF FAME art direction. */
.paint-extras{display:flex;gap:8px;justify-content:center;margin:6px 0}.paint-extras button,.color-picker-button{background:#252824e8;color:#f7efdc;border:1px solid #fff3;border-radius:10px;padding:7px 10px;font:inherit;font-size:11px}.paint-extras [aria-pressed=true]{background:#d8f383;color:#18211a}.paint-gesture-overlay{position:fixed;inset:0;pointer-events:none;z-index:20}.paint-gesture-overlay svg{width:100%;height:100%}.paint-gesture-overlay line{display:none;stroke-width:2;stroke-dasharray:7 4}.paint-gesture-overlay rect{display:none;stroke:#fff;stroke-width:2;stroke-dasharray:7 4;fill:#0003}.paint-gesture-overlay span{position:absolute;background:#18211ae8;color:white;border-left:12px solid transparent;padding:5px;border-radius:6px;font-size:12px}.paint-gesture-overlay span:empty{display:none}#recent-colors{display:flex;gap:4px;margin-top:6px}#recent-colors button{width:18px;height:18px;border:1px solid #fff6;border-radius:50%}.custom-color-label{display:flex;align-items:center;gap:16px;margin-bottom:18px}#photo-preview{width:min(780px,90vw)}#photo-preview img{width:100%;max-height:65vh;object-fit:contain}.color-picker-button{margin-top:6px}.arsenal{max-width:calc(100vw - 500px)}@media(max-width:950px){.arsenal{max-width:100vw}.paint-extras{margin:3px 0}}

.brush-projection,.world-guides{position:fixed;inset:0;pointer-events:none;z-index:3}.brush-projection svg,.world-guides svg{width:100%;height:100%;overflow:visible}.brush-projection path,.world-guides path{fill:none;stroke-width:1.5;vector-effect:non-scaling-stroke;filter:drop-shadow(0 1px 1px #000)}.world-guides .mirror{stroke:#b8dcff;stroke-dasharray:8 4}.world-guides .flare-inner{stroke:#ffe2ad}.world-guides .flare-outer{stroke:#ffe2ad88;stroke-dasharray:4 5}#paint-guides-panel{position:fixed;left:24px;top:145px;width:275px;max-height:65vh;overflow:auto;padding:16px;z-index:21;font-size:12px}.guide-heading,.guide-buttons{display:flex;gap:8px;justify-content:space-between;align-items:center}.guide-heading{margin-bottom:15px}.guide-heading button,.guide-buttons button,#clear-guides{background:#ffffff12;border-radius:9px;padding:8px 10px}.guide-buttons [aria-pressed=true]{background:#ae89584d;color:#ffe3bb}#paint-guides-panel p{line-height:1.6;color:#d3d8c6}#flare-shapes label{display:grid;grid-template-columns:75px 1fr;align-items:center;margin:10px 0;font-size:11px}#flare-shapes select{min-width:0;background:#1b2822;color:#f6ecd9;border:1px solid #fff3;border-radius:7px;padding:6px}#flare-shapes input{width:100%;accent-color:#e6b276}#clear-guides{width:100%;margin-top:12px;font-size:11px}@media(max-width:760px){#paint-guides-panel{left:10px;top:105px;width:240px;max-height:45vh}}

#crouch-touch{position:absolute;right:94px;bottom:200px;background:#283e2edb;border:1px solid #dadfc242;border-radius:50%;width:62px;height:62px;font-size:10px;touch-action:none}@media(max-width:760px){#crouch-touch{bottom:280px}}

/* Keep the action row above colour/material panels on narrow portrait screens. */
@media(max-width:760px){
 .arsenal{bottom:calc(175px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 20px)}
 #tools{width:min(349px,calc(100vw - 20px))}
 #tools button{flex:1;min-width:0;width:auto}
 .palette{bottom:calc(12px + env(safe-area-inset-bottom,0px))}
 .settings{bottom:calc(10px + env(safe-area-inset-bottom,0px))}
}
@media(max-width:380px){
 .palette{max-width:calc(100vw - 155px)}
 #colors{grid-template-columns:repeat(6,22px);gap:3px}
 #colors button{width:22px;height:24px}
 #recent-colors{display:none}
}

/* Metallic paint is a material, visually distinct from a flat grey swatch. */
#colors button.chrome-swatch{background:linear-gradient(150deg,#f2f6fa 0%,#abb6c1 27%,#f8fbff 43%,#657480 53%,#b9c4ce 73%,#eef2f6 100%)!important}

/* Quarter review: preserve a usable view when a phone rotates to landscape. */
@media (orientation:landscape) and (max-height:540px) and (max-width:1100px){
 html.quarter-viewport #menu{padding:18px 24px}
 html.quarter-viewport .title{width:230px;max-height:35vh}
 html.quarter-viewport .lede{margin:8px 0;font-size:17px}
 html.quarter-viewport .eyebrow{margin:8px 0;font-size:9px}
 html.quarter-viewport .enter{padding:13px 20px;min-width:250px}
 html.quarter-viewport #menu footer{display:none}
 html.quarter-viewport #hud .top{top:8px;left:max(10px,env(safe-area-inset-left));right:max(10px,env(safe-area-inset-right))}
 html.quarter-viewport .place{padding:7px 10px}
 html.quarter-viewport .place strong{font-size:12px}
 html.quarter-viewport .place small{font-size:9px}
 html.quarter-viewport .pill{padding:8px 10px;font-size:10px}
 html.quarter-viewport #aim-hint{top:57px;font-size:10px;max-width:60vw}
 html.quarter-viewport .arsenal{bottom:8px;width:350px;max-width:calc(100vw - 310px)}
 html.quarter-viewport #tools{width:100%;padding:4px}
 html.quarter-viewport #tools button{width:auto;min-width:0;flex:1;height:46px;font-size:8px}
 html.quarter-viewport #tools button b{height:22px}
 html.quarter-viewport #tools button b img{height:27px;width:30px}
 html.quarter-viewport #caps button{padding:5px;font-size:8px}
 html.quarter-viewport .paint-extras{margin:4px 0;gap:4px}
 html.quarter-viewport .paint-extras button,html.quarter-viewport .arsenal-foot button{font-size:9px;padding:5px}
 html.quarter-viewport .arsenal-foot{gap:5px;font-size:8px}
 html.quarter-viewport .palette{left:10px;bottom:8px;padding:6px;max-width:150px}
 html.quarter-viewport #colors{grid-template-columns:repeat(6,20px);gap:3px}
 html.quarter-viewport #colors button{width:20px;height:23px}
 html.quarter-viewport #recent-colors,html.quarter-viewport #color-name,html.quarter-viewport .walk-help{display:none}
 html.quarter-viewport .settings{bottom:8px;right:10px;width:125px;padding:8px}
 html.quarter-viewport .settings label{font-size:8px;margin-bottom:7px}
 html.quarter-viewport .views{right:10px;top:66px;gap:3px}
 html.quarter-viewport .camera-scale{padding:5px;min-width:48px}
 html.quarter-viewport .camera-scale input{height:62px}
 html.quarter-viewport .camera-scale output{font-size:9px}
 html.quarter-viewport .views button{padding:6px;font-size:9px}
 html.quarter-viewport #move-pad{bottom:105px;left:22px;width:82px;height:82px}
 html.quarter-viewport #move-pad i{left:26px;top:26px}
 html.quarter-viewport #look-touch,html.quarter-viewport #crouch-touch,html.quarter-viewport #jump-touch{width:48px;height:48px;font-size:9px;right:18px;bottom:100px}
 html.quarter-viewport #jump-touch{bottom:158px;right:75px}
 html.quarter-viewport #crouch-touch{right:75px}
 html.quarter-viewport #chat{top:58px;bottom:12px;height:auto;max-height:75vh}
}
@media (orientation:portrait) and (max-width:760px){
 html.quarter-viewport .views{top:82px}
 html.quarter-viewport .camera-scale input{height:50px}
 html.quarter-viewport #move-pad{bottom:390px}
 html.quarter-viewport #look-touch,html.quarter-viewport #crouch-touch{bottom:390px}
 html.quarter-viewport #jump-touch{bottom:465px;right:94px}
}
