/* MIIYA LAB frame; game worlds and their original typography stay intact. */
:root{--orange:#ff805c;--amber:#ff805c}
.header .lab-brand{display:block;flex:0 0 auto;line-height:0}
.lab-brand .brand-art{position:relative;display:block;width:152px;aspect-ratio:3}
.lab-brand img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.lab-brand .brand-contrast{clip-path:inset(0 0 0 39%);filter:brightness(0) invert(1);opacity:.94}
.lab-brand .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#menu .hero h1>span{color:#ff936e}
#menu .button.primary,.progress-dialog .button.primary{background:#ff805c;border-color:#ff805c;color:#24140f}
#menu .button.primary:hover,.progress-dialog .button.primary:hover{background:#ff987b;border-color:#ff987b}
.header .site-return{font-size:12px;color:var(--paper);display:inline-flex;gap:16px;white-space:nowrap}
.site-return span{color:var(--orange)}
.header nav{gap:23px}.header nav button{white-space:nowrap}
.arcade-skip{position:fixed;top:10px;left:16px;padding:12px 18px;background:#ff8055;color:#101114;z-index:100;transform:translateY(-150%)}.arcade-skip:focus{transform:none}
.arcade-business{display:grid;grid-template-columns:1fr 1fr;gap:60px;margin:90px 0 70px;border-top:1px solid var(--line);padding-top:58px}
.arcade-business h2{font-size:clamp(32px,4vw,52px);line-height:1.13;letter-spacing:-.045em;margin:20px 0 0}
.arcade-business p{font-size:15px;line-height:1.9;color:var(--muted);margin:0 0 27px}
footer [data-privacy-open]{border:0;background:none;color:var(--muted);font:inherit;cursor:pointer;font-size:11px}
.privacy-panel,.privacy-toast{--paper:#171a1d;--ink:#f2efe8;--panel:#24272b;--muted:#aaaeb4;--line:#383c42;--orange:#ff835f;font-size:14px;line-height:1.5;letter-spacing:0}
.privacy-panel .privacy-details{font-size:12px}.privacy-panel .privacy-actions button{letter-spacing:0}
.progress-dialog{width:min(590px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #414247;border-radius:18px;background:#17191e;color:#f2efe8;padding:32px;box-shadow:0 24px 90px #0008}
.progress-dialog::backdrop{background:#080a10b8;backdrop-filter:blur(8px)}
.progress-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.progress-heading .icon-button{font-size:25px;flex:none}
.progress-dialog h2{font-size:clamp(27px,5vw,38px);letter-spacing:-.04em;margin:22px 0 16px;line-height:1.2}
.progress-dialog p{font-size:14px;line-height:1.8;color:#c5c6cc}.progress-dialog small{display:block;font-size:11px;line-height:1.8;color:#9499a3}
.progress-actions{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0}
.progress-actions .button,#progress-apply{font-size:12px;padding:15px 19px;min-height:48px;white-space:normal}
.progress-file{position:relative;cursor:pointer;overflow:hidden}.progress-file input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.progress-file:focus-within{outline:2px solid #ff835f;outline-offset:3px}
.progress-feedback{min-height:24px}.progress-feedback[data-error="true"]{color:#ffa893}
#progress-review{padding:0 0 20px;border-bottom:1px solid #414247}
.arcade-noscript{padding:30px;text-align:center}.arcade-noscript a{color:var(--orange)}
@media(max-width:900px){.header nav{gap:15px}.lab-brand .brand-art{width:127px}.arcade-business{gap:30px}.header .site-return{gap:8px}}
@media(max-width:600px){.header{height:auto;min-height:116px;flex-wrap:wrap;gap:14px;padding-top:16px;padding-bottom:17px}.header .lab-brand{order:0}.header .site-return{order:1;margin-left:auto;font-size:11px}.header nav{order:2;flex:1 0 100%;justify-content:space-between;gap:8px;padding-top:5px}.header nav a,.header nav button{font-size:12px}.header nav span{margin-left:4px}.arcade-business{grid-template-columns:1fr;gap:25px;margin:60px 0 45px;padding-top:35px}.arcade-business h2{font-size:36px}.arcade-business p{font-size:13px}.progress-dialog{padding:23px}.progress-actions{flex-direction:column}.progress-actions .button{justify-content:center}}
