.overlay-body.race-world{display:block;overflow:hidden;background:transparent!important}.race-world .overlay-stage{width:100vw!important;height:100vh!important;max-width:none!important;max-height:none!important;margin:0;padding:0!important}.race-world .scene-personalRace{width:100%;height:100%;border:0!important;border-radius:0!important;background:#102b2d!important;box-shadow:none!important;padding:0!important;position:relative}.race-world .scene-personalRace>.arena-heading,.race-world .scene-personalRace>.preview-footer,.race-world .mode-tag{display:none!important}.race-world-wrap{position:absolute;inset:0;background:#162a29}.race-world-wrap canvas{display:block;width:100%;height:100%;object-fit:contain}.race-world-wrap #world-sound{position:absolute;right:1.3%;top:17%;z-index:10;border:1px solid #8cacc088;background:#08192de8;color:#e4f5ff;border-radius:7px;padding:6px 11px;font:600 clamp(8px,1vw,15px) Arial;cursor:pointer}.full-race-preview{aspect-ratio:16/9;min-height:0!important;position:relative}.full-race-preview iframe{position:absolute;inset:0;width:100%!important;height:100%!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.lobby-banner{border:1px solid #7f9d57;border-radius:8px;background:#d5ff7009;color:#d4efa1;padding:12px 15px;font-size:12px;line-height:1.7;margin:15px 0}.race-lobby-actions{display:flex;gap:8px;flex-wrap:wrap}.race-lobby-actions button{font-size:11px;padding:9px 12px}.race-lobby-actions .primary{background:var(--green);color:#132108}.gift-editor-panel h2{display:flex;align-items:center;gap:8px}.gift-panel-settings{display:grid;grid-template-columns:1fr 1fr;gap:12px}.gift-entry-editor{border:1px solid #35465b;background:#0c1725;border-radius:8px;padding:13px;margin:12px 0}.gift-entry-editor .gift-editor-top{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:11px}.gift-editor-thumb{width:52px;height:52px;border-radius:8px;object-fit:contain;background:#1b2d42}.gift-upload-label{display:flex!important;align-items:center;gap:9px;color:#bbd4ef!important;cursor:pointer;font-size:10px!important}.gift-upload-label input{display:none}.gift-entry-editor input,.gift-entry-editor select{margin-bottom:9px!important;font-size:11px!important;padding:8px!important}.gift-entry-editor .remove-gift-entry{padding:5px 9px!important;font-size:10px!important;background:#3a1f2c!important;border-color:#704451!important}.gift-editor-actions{display:flex;gap:8px;flex-wrap:wrap}.gift-editor-actions button{font-size:11px!important}.gift-editor-row{display:grid;grid-template-columns:1fr 1fr;gap:8px}.gift-demo-note{font-size:10px;color:#a8b9cc;line-height:1.6}.gift-legend{position:fixed;z-index:50;width:min(var(--gift-size,100px),15vw);display:flex;flex-direction:column;gap:7px;pointer-events:none;filter:drop-shadow(0 3px 2px #0009)}.gift-legend.right-top{right:1%;top:20%}.gift-legend.right-bottom{right:1%;bottom:8%}.gift-legend.left-top{left:1%;top:20%}.gift-legend.left-bottom{left:1%;bottom:8%}.gift-legend.right-middle{right:1%;top:50%;transform:translateY(-50%)}.gift-legend.left-middle{left:1%;top:50%;transform:translateY(-50%)}.gift-legend-row{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--gift-bg,#0c1736bb);border:1px solid #ffffff22;border-radius:8px;padding:6px 3px}.gift-legend-row img{width:85%;aspect-ratio:1;object-fit:contain;display:block}.gift-legend-row .gift-emoji{font-size:clamp(20px,3.5vw,55px)}.gift-legend-row b{color:#fff275;font:900 clamp(8px,1.15vw,22px)/1.05 Arial,sans-serif;overflow-wrap:anywhere;display:block;margin-top:3px;-webkit-text-stroke:.45px #15140a;text-shadow:1px 2px #000,-1px -1px #000}.gift-panel-error{color:#ffb0c3;font-size:11px;line-height:1.6;min-height:16px}@media(max-width:720px){.gift-legend{width:min(var(--gift-size,100px),18vw)}.gift-panel-settings{grid-template-columns:1fr}.gift-legend-row{padding:4px 2px}.race-world-wrap #world-sound{padding:4px 6px;top:17%;font-size:8px}.full-race-preview{aspect-ratio:16/9}}

.gift-legend{max-height:84vh}.gift-legend-row{min-height:0}.gift-legend-row img{max-height:9vh}.gift-legend-row .gift-emoji{line-height:1.1;font-size:clamp(18px,5vh,55px)}
