.site-footer{max-width:1280px;margin:28px auto 100px;padding:22px;color:#a9bec2;border-top:1px solid #54727755;text-align:center;font-size:12px}.site-footer nav{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 20px;margin-bottom:14px}.site-footer a,.consent-panel a{color:#abe9dc}.consent-panel{max-width:720px;margin:35px auto;padding:clamp(24px,5vw,50px);background:linear-gradient(125deg,#172e35,#15202a);border:1px solid #66858a;border-radius:14px;line-height:1.9}.consent-panel h1{font-size:clamp(30px,6vw,50px)}.consent-check{display:flex;align-items:center;gap:12px;margin:26px 0}.consent-check input{width:22px;height:22px;flex:none;accent-color:#ffc376}.resources .has-reply{background:#d16a31;color:#fff;border-color:#ffcb8a;box-shadow:0 0 0 2px #ffce8c44}.new-inquiry{margin:20px 0}.checkout-conditions{font-size:13px;line-height:1.6;border:1px solid #58777e;padding:10px 16px;margin:14px 0}.legal-page{max-width:900px;margin:20px auto;padding:24px;line-height:1.9}.legal-page a{color:#9ee9dd}.legal-page section{padding:20px 0;border-top:1px solid #65808955;scroll-margin-top:20px}.legal-page dt{font-weight:bold;color:#e8bd83;margin-top:16px}.legal-page dd{margin-left:0}.legal-page table{border-collapse:collapse;width:100%}.legal-page td,.legal-page th{border-bottom:1px solid #50676b;padding:10px;text-align:left}
#modal-body.rpg-interaction .dungeon-head{height:auto;min-height:0;padding:12px 52px 12px 16px;align-items:center;background-position:center 50%}#modal-body.rpg-interaction .dungeon-head h2{font:700 17px/1.4 sans-serif;margin:0}#modal-body.rpg-interaction .dungeon-wrap{padding:10px;gap:10px;align-items:start}#modal-body.rpg-interaction .dungeon-wrap canvas{max-height:calc(92dvh - 100px);object-fit:contain}#modal-body.rpg-interaction .dungeon-side .dpad{margin:10px 0;grid-auto-rows:42px;align-self:start}#modal-body.rpg-interaction .dungeon-side .dpad .btn{padding:8px;min-height:40px}#modal-body.rpg-interaction .dungeon-side p{margin:7px 0;font-size:12px}#modal-body.rpg-interaction .dungeon-stats{font-size:11px}#modal-body.rpg-interaction .dungeon-notice{min-height:0;line-height:1.4;font-size:11px;margin-top:7px}#modal-body.rpg-interaction .dungeon-side h3{font-size:16px}#modal-body.rpg-interaction .battle-scene{min-height:0;display:grid;grid-template-rows:auto minmax(130px,1fr) auto auto;height:min(830px,91dvh)}#modal-body.rpg-interaction .battle-scene>header{padding:12px 48px 8px}#modal-body.rpg-interaction .battle-scene header h2{font-size:23px;margin:5px 0}#modal-body.rpg-interaction .battle-scene header p{margin:4px;font-size:12px}#modal-body.rpg-interaction .battle-enemy{height:100%;min-height:0}#modal-body.rpg-interaction .battle-dialogue{margin:0 12px;padding:8px;min-height:35px}#modal-body.rpg-interaction .battle-command{padding:12px;gap:15px}#modal-body.rpg-interaction .battle-command .battle-actions{grid-template-columns:repeat(3,1fr)}
@media(max-width:620px){.resources{gap:5px}.resources .btn{padding:7px;font-size:11px}#modal-body.rpg-interaction .dungeon-head h2{font-size:15px}#modal-body.rpg-interaction .dungeon-wrap{display:flex;flex-direction:column}#modal-body.rpg-interaction .dungeon-wrap canvas{width:100%;max-height:42dvh;aspect-ratio:15/11}#modal-body.rpg-interaction .dungeon-side{display:grid;width:100%;grid-template-columns:minmax(0,1fr) 145px;gap:7px;margin-top:0;align-items:start}#modal-body.rpg-interaction .dungeon-side .dpad{grid-template-columns:repeat(3,44px);margin:0;gap:4px;grid-auto-rows:42px}#modal-body.rpg-interaction .dungeon-side #battle:empty{display:none}#modal-body.rpg-interaction .dungeon-side>#dungeon-exit{grid-column:2;grid-row:2}#modal-body.rpg-interaction .dungeon-side>[data-move="wait"]{grid-column:1;grid-row:2;padding:8px;min-height:38px}#modal-body.rpg-interaction .dungeon-side .hp{margin:4px 0;height:9px}#modal-body.rpg-interaction .battle-scene{height:92dvh;grid-template-rows:auto minmax(90px,1fr) auto auto}#modal-body.rpg-interaction .battle-scene header h2{font-size:20px}#modal-body.rpg-interaction .battle-command{padding:9px}#modal-body.rpg-interaction .combat-driver{margin-bottom:8px}#modal-body.rpg-interaction .battle-command .btn{padding:8px 4px}#modal-body.rpg-interaction .battle-command .btn small{margin-top:3px}.site-footer{margin-bottom:105px}}

.start-page{margin:24px 0;padding:0 4px;line-height:1.8}.start-page h1{font-size:clamp(34px,7vw,72px);margin:20px 0}.start-page>p{line-height:1.9}.start-notice{font-size:12px;color:#bacbd0;line-height:1.8}.start-notice a{color:#abe9dc}.start-page .btn.primary{font-size:20px;padding:16px 36px}



.premium-badge{display:inline-block;color:#ffe5a0!important;background:linear-gradient(110deg,#493219,#826129,#493219);border:1px solid #e9be64;border-radius:4px;padding:4px 8px;font:700 10px/1.4 sans-serif;letter-spacing:.1em;font-style:normal}.premium-profile{border-color:#d6af61!important;box-shadow:0 0 25px #c6983728!important;background:linear-gradient(150deg,#3b3020,#0d171f 70%)!important}.premium-profile>.premium-badge{margin-bottom:16px}.premium-status>article{border:1px solid #d6af61!important;background:linear-gradient(130deg,#42341e,#111d28 75%)!important;box-shadow:inset 0 0 30px #d6af6114}.premium-banner{background:linear-gradient(110deg,#674821,#1c232c 70%);border:1px solid #d6af61;padding:22px;margin:16px 0;color:#ffdfa0}.premium-banner span{font-weight:bold;letter-spacing:.15em}.premium-banner small{float:right}.premium-banner p{margin-bottom:0}.shop-corners{position:sticky;top:76px;z-index:3;padding:12px;background:#101c27}.trail-emerald img{filter:hue-rotate(315deg)}.trail-emerald{box-shadow:inset 0 -30px 45px #41f4a077}.club-pass[hidden]{display:none}

#support-function.has-reply{background:#d16a31;color:#fff;border-color:#ffcb8a}

.in-game .site-footer,.in-game #game-admin-link,.in-game .topbar .brand{display:none!important}.in-game .topbar{height:auto;min-height:54px;padding:8px 12px;justify-content:flex-end}.in-game .resources{width:100%;align-items:center;justify-content:flex-end;flex-wrap:wrap}.in-game .resources .btn{white-space:nowrap;padding:7px 10px}.in-game main{margin-top:12px}.game-help details{border:1px solid #3c596b;border-radius:8px;margin:12px 0;padding:16px}.game-help summary{font-size:17px;font-weight:700;color:#ffd199;cursor:pointer}.game-help p{line-height:1.9;color:#b9cdd3}.game-help h3{color:#ffe4b4}.premium-benefits{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.premium-benefits article{padding:18px;border:1px solid #957746;background:#111d28}.pass-track{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.reward-emblem{display:grid;place-content:center;text-align:center;width:80%;height:150px;border:3px double #adc9de;background:linear-gradient(130deg,#101c2e,#34556a);color:#c6e9fa;box-shadow:0 0 24px #48abc833}.reward-emblem span{font-size:24px;letter-spacing:.18em}.reward-emblem b{font-size:14px;margin:14px 5px 0}.reward-emblem[class*=trophy]{border-radius:50%;width:145px;background:radial-gradient(circle,#97692f,#211c15);border:4px double #e0bd78;color:#ffdf9a}.reward-emblem.trophy-crown{background:radial-gradient(circle,#be9554,#3d1b5a);color:#fff2ab}.reward-emblem.frame-neon{border-color:#57ffe0;box-shadow:0 0 20px #57ffe055}.reward-emblem.frame-obsidian{background:linear-gradient(130deg,#100d19,#4d376b);border-color:#d4b8ff}.racer-title{color:#86e5db;font-weight:700;font-size:12px;display:block;letter-spacing:.07em;margin:7px 0}.profile-trophy{color:#ecc889;font-size:12px;margin:7px 0}[data-reward-frame="frame-steel"],[data-reward-frame="frame-steel"]>article{border:2px solid #b4cbd7!important}[data-reward-frame="frame-neon"],[data-reward-frame="frame-neon"]>article{border:2px solid #63efd2!important;box-shadow:0 0 16px #41d6bf33!important}[data-reward-frame="frame-obsidian"],[data-reward-frame="frame-obsidian"]>article{border:3px double #d4b8ff!important;box-shadow:0 0 22px #9572cb44!important}.growth-duo[data-reward-frame]{border:0!important}@media(max-width:600px){.in-game .resources{gap:4px;justify-content:center}.in-game .resource{font-size:10px;padding:5px 7px}.in-game .resources .btn{font-size:11px}.premium-banner small{display:block;float:none;margin-top:8px}}

/* Performance lab: reuses the game's rendered car and part art. */
.workshop-entry{margin:20px 0;padding:24px;border:1px solid #29d8cc66;border-radius:16px;background:linear-gradient(120deg,#112b35,#171d2e)}
.garage-showroom{padding:24px;background:radial-gradient(ellipse at 50% 70%,#27586a 0%,#0d1928 65%);border-radius:16px;overflow:hidden}.garage-showroom h2{overflow-wrap:anywhere}.showroom-car{display:block;width:100%;max-height:280px;object-fit:contain;filter:drop-shadow(0 18px 18px #0009)}.showroom-spec{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.showroom-spec span{background:#071320b8;padding:12px;border-radius:10px;font-size:12px}.showroom-spec b{display:block;font-size:24px;color:#58e9d8}.workshop-plan{padding:20px 0}.loadout-grid,.precision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.loadout-grid article,.precision-grid article{border:1px solid #46546c;border-radius:12px;padding:14px;background:#152033}.loadout-grid .btn{margin:4px 0}.precision-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.precision-grid img{width:100%;height:130px;object-fit:cover;border-radius:8px}.precision-axis{border-top:1px solid #ffffff20;padding:12px 0}.precision-axis p{font-size:12px;margin:6px 0}.racer-garage-link{color:#71e6e0;background:none;border:0;border-bottom:1px dotted #71e6e0;padding:0;cursor:pointer;font:inherit;text-align:left}.precision-grid h3{overflow-wrap:anywhere}@media(max-width:600px){.loadout-grid,.precision-grid{grid-template-columns:1fr}.garage-showroom{padding:14px}.showroom-spec b{font-size:19px}.workshop-entry{padding:16px}}

#resources .header-tools{display:inline-flex;flex:none;gap:6px;align-items:center;white-space:nowrap}#resources .header-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;min-width:36px;height:36px;padding:0;font-size:20px;line-height:1;white-space:nowrap}
