/* THE FA WORLD responsive R4 — preserve original simulation, prevent overlapping layouts. */
@font-face{font-family:TFAPretendard;src:url('/assets/PretendardVariable-subset.woff2?v=0dbfc0ec6d57') format('woff2');font-weight:100 900;font-display:swap}
body.world-r4{font-family:TFAPretendard,Inter,"Malgun Gothic",system-ui,sans-serif;--cream:#f6f2e9;--gold:#dec29b;--bg:#0b0f12}
body.world-r4 .app{background:#0b1116}
body.world-r4 .topbar{border-bottom-color:#383530;background:linear-gradient(180deg,#0d1318f2,#11171cba)}
body.world-r4 .brand{display:flex;align-items:center;gap:11px;min-width:0;flex:0 0 auto}
body.world-r4 .brand img{display:block;width:142px;height:39px;object-fit:contain;max-width:100%}
body.world-r4 .brand .world-brand-label{font:800 11px/1.4 TFAPretendard,system-ui,sans-serif;letter-spacing:.13em;color:#d9b98b;border-left:1px solid #5c4f3b;padding-left:11px;white-space:nowrap}
body.world-r4 .topbar .status{white-space:nowrap}
body.world-r4 .intro h1{word-break:keep-all;overflow-wrap:normal;text-wrap:balance;letter-spacing:-.065em}
body.world-r4 .intro .world-title-primary,body.world-r4 .intro .world-title-accent{display:block;max-width:100%;text-wrap:balance}
body.world-r4 .intro .world-title-primary{color:#f9f5ed}
body.world-r4 .intro .world-title-accent{color:#e4c39d}
body.world-r4 .intro p{word-break:keep-all;overflow-wrap:break-word}
body.world-r4 .intro .cta{max-width:100%;min-height:47px;white-space:normal;line-height:1.35}
body.world-r4 .intro .intro-meta{display:block;word-break:keep-all;line-height:1.6}
body.world-r4 .side-panel{box-sizing:border-box}
body.world-r4 .dock-btn{word-break:keep-all;overflow-wrap:break-word}
body.world-r4 .world-hud{scrollbar-width:thin;scrollbar-color:#8b7451 #0d1419}
@media(min-width:1001px){
 body.world-r4 .intro{width:min(365px,31vw);left:clamp(24px,3.3vw,60px)}
 body.world-r4 .intro h1{font-size:clamp(38px,3.4vw,53px);line-height:1.2}
 body.world-r4 .intro p{font-size:13px;line-height:1.72;max-width:340px}
 body.world-r4 .side-panel{max-height:min(69vh,600px)}
}
@media(max-width:1250px) and (min-width:1001px){
 body.world-r4 .intro{width:310px}
 body.world-r4 .intro h1{font-size:39px}
 body.world-r4 .intro p{font-size:12px}
 body.world-r4 .side-panel{width:295px;right:14px}
}
@media(max-width:1000px){
 html:has(body.world-r4),body.world-r4{height:auto;min-width:320px;overflow-x:hidden;overflow-y:auto}
 body.world-r4 .app{min-height:100dvh;overflow:visible}
 body.world-r4 .topbar{position:relative;min-height:68px;height:auto;padding:8px 18px;z-index:80}
 body.world-r4 .brand img{width:130px;height:35px}
 body.world-r4 .topbar>.status{display:none}
 body.world-r4 .stage{position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;display:flex!important;flex-direction:column;overflow:visible!important;cursor:default;touch-action:pan-y}
 body.world-r4 .stage .shade-left,body.world-r4 .stage .shade-right,body.world-r4 .stage .shade-bottom{display:none!important}
 body.world-r4 .intro{order:1;position:relative!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;z-index:20;box-sizing:border-box;width:100%!important;max-width:none!important;min-width:0!important;padding:34px 26px 30px!important;background:linear-gradient(170deg,#0b1218 0%,#111a20 100%);pointer-events:auto}
 body.world-r4 .intro .eyebrow{margin-bottom:13px;letter-spacing:.13em}
 body.world-r4 .intro h1{font-size:clamp(37px,5.9vw,52px)!important;line-height:1.18!important;max-width:100%}
 body.world-r4 .intro p{font-size:14px!important;line-height:1.75!important;max-width:48ch;margin:20px 0 21px}
 body.world-r4 .intro .cta{font-size:13px!important;padding:12px 16px!important;min-height:47px;margin:0!important}
 body.world-r4 .intro-meta{max-width:100%;margin-top:15px!important;font-size:11px!important;color:#b9b6ab}
 body.world-r4 .scene{order:2;position:relative!important;inset:auto!important;flex:0 0 auto;height:clamp(280px,42vw,420px)!important;min-height:280px;max-height:420px;overflow:hidden}
 body.world-r4 .camera-tools{order:3;position:relative!important;inset:auto!important;right:auto!important;bottom:auto!important;left:auto!important;top:auto!important;display:flex;flex-direction:row;justify-content:flex-end;align-self:stretch;gap:8px;margin:10px 16px 0;height:auto;z-index:11}
 body.world-r4 .camera-tools button{width:38px;height:38px;border:1px solid #695c47;border-radius:9px;background:#171d20;color:#e5d1aa}
 body.world-r4 .world-counter{order:4;position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;top:auto!important;display:flex;flex-direction:column;align-items:flex-start;gap:5px;width:auto!important;max-width:100%;height:auto!important;margin:13px 18px 18px;padding:13px 15px;background:#151c20eb;border:1px solid #4b493f;border-radius:12px}
 body.world-r4 .world-counter strong{white-space:normal;line-height:1.45}
 body.world-r4 .world-counter small{white-space:normal;line-height:1.5}
 body.world-r4 .feed{display:none}
 body.world-r4 .side-panel{position:relative;top:auto;right:auto;left:auto;bottom:auto;width:auto;max-height:none;overflow:visible;margin:12px 18px 20px;padding:23px;border:1px solid #615843;border-radius:14px;background:#11191d}
 body.world-r4 .world-hud{box-sizing:border-box;position:relative;inset:auto;left:auto;right:auto;top:auto;bottom:auto;transform:none;z-index:20;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));justify-content:stretch;gap:9px;overflow:visible;width:calc(100% - 36px);max-height:none;height:auto;margin:13px 18px;padding:0;background:none;border:0}
 body.world-r4 .dock-btn{box-sizing:border-box;width:100%;min-width:0;min-height:72px;padding:13px 10px;border:1px solid #5a5445;border-radius:12px;background:#121b20}
 body.world-r4 .dock-btn b{white-space:normal;line-height:1.3;font-size:13px}
 body.world-r4 .dock-btn small{white-space:normal;line-height:1.2;font-size:10px}
 body.world-r4 .world-footer{position:relative;display:block;border-top:1px solid #39372e;color:#b4b1a9;padding:17px 18px 24px}
 body.world-r4 .scenario:not([hidden]){position:relative;inset:auto;margin:12px 18px;box-sizing:border-box;width:calc(100% - 36px);z-index:21;flex-wrap:wrap;background:#171e20;border:1px solid #786440;border-radius:12px}
 body.world-r4 .scenario .step-controls{flex-wrap:wrap}
 body.world-r4 #ux3-preview-ribbon{position:relative!important;inset:auto!important;max-width:calc(100% - 24px)!important;margin:8px auto 13px!important}
}
@media(max-width:600px){
 body.world-r4 .topbar{min-height:61px;padding:8px 13px}
 body.world-r4 .brand{gap:7px}
 body.world-r4 .brand img{width:118px;height:31px}
 body.world-r4 .brand .world-brand-label{font-size:9px;letter-spacing:.06em;padding-left:7px}
 body.world-r4 .intro{padding:29px 18px 24px!important}
 body.world-r4 .intro .eyebrow{font-size:10px;letter-spacing:.10em;margin-bottom:15px}
 body.world-r4 .intro h1{font-size:clamp(30px,7.7vw,38px)!important;line-height:1.21!important;letter-spacing:-.065em!important}
 body.world-r4 .intro p{font-size:13px!important;line-height:1.72!important;margin:19px 0 19px}
 body.world-r4 .intro .cta{font-size:13px!important;min-height:48px;padding:12px 14px!important;max-width:100%}
 body.world-r4 .intro-meta{font-size:10.5px!important;margin-top:15px!important}
 body.world-r4 .scene{height:290px!important;min-height:290px}
 body.world-r4 .camera-tools{margin:9px 14px 0}
 body.world-r4 .world-counter{margin:12px 14px 16px;padding:13px}
 body.world-r4 .world-hud{grid-template-columns:repeat(2,minmax(0,1fr));width:calc(100% - 28px);margin:10px 14px 12px;gap:8px}
 body.world-r4 .dock-btn{min-height:69px;padding:10px 7px}
 body.world-r4 .dock-btn small{font-size:9px;letter-spacing:0}
 body.world-r4 .dock-btn b{font-size:12px}
 body.world-r4 .side-panel{margin:8px 14px 18px;padding:19px 16px}
 body.world-r4 .panel-title{font-size:25px}
 body.world-r4 .side-panel .panel-desc{font-size:13px;line-height:1.65}
 body.world-r4 .scenario:not([hidden]){margin:10px 14px;width:calc(100% - 28px)}
 body.world-r4 .world-footer{padding:16px 14px 24px}
}
@media(max-width:350px){
 body.world-r4 .intro{padding:25px 16px 22px!important}
 body.world-r4 .intro h1{font-size:30px!important}
 body.world-r4 .intro p{font-size:12.5px!important}
 body.world-r4 .dock-btn b{font-size:11.5px}
}
