/* Tour screens keep the same ink, paper and blue game identity. */
.home-view{background:linear-gradient(105deg,#8c4caa,#ff92a9)}
.home-copy{position:relative;width:55%;max-width:780px;padding:150px 0 50px 8%;z-index:2}
.home-copy>.eyebrow{color:var(--yellow);font-size:15px;letter-spacing:.13em}
.home-copy h1{font-size:clamp(38px,4.8vw,76px);letter-spacing:-.05em;line-height:1.15;margin:16px 0 18px;transform:rotate(-3deg);text-shadow:5px 6px 0 var(--blue-dark)}
.home-copy>p{color:#cbd6ff;font-size:13px;line-height:1.9}
.home-orbit{position:absolute;right:-2%;top:16%;font:700 clamp(150px,23vw,360px)/1 var(--display);color:#ffffff0c;transform:rotate(-16deg);pointer-events:none}
#home-mascot{position:absolute;right:-3%;bottom:3%;width:54%;height:81%;object-fit:contain}
.home-ticket{position:absolute;right:13%;bottom:10%;padding:15px 30px;border:3px solid var(--ink);box-shadow:6px 6px 0 var(--ink);color:var(--ink);background:var(--paper);transform:rotate(8deg);font:700 13px var(--display);letter-spacing:.1em}
.home-ticket b{font-size:30px;line-height:1.2}
.mode-choices{display:grid;gap:16px;margin-top:28px;max-width:480px}
.mode-card{display:flex;align-items:center;gap:20px;padding:18px 23px;text-align:left;background:#1935a9;border:3px solid #8b9fed;box-shadow:6px 6px 0 var(--ink);transform:skew(-4deg);transition:translate .15s}
.mode-card:hover{translate:5px -3px;border-color:var(--white)}
.mode-card>*{transform:skew(4deg)}.mode-card>span:nth-child(2){flex:1}.mode-number{font:700 45px/1 var(--display);opacity:.4}
.mode-card small{display:block;font:700 11px var(--display);letter-spacing:.16em}
.mode-card strong{display:block;font-size:26px;margin:2px 0 5px}
.mode-card em{display:block;font-size:10px;font-style:normal;opacity:.75}
.tour-mode{background:var(--yellow);color:var(--ink);border-color:var(--ink)}
.home-foot{display:flex;align-items:center;gap:20px;font-size:10px;color:#b9c7ff;margin-top:22px}.home-foot .text-button{font-size:10px}
.home-view,.campaign-view{overflow-y:auto;scrollbar-width:thin}
.campaign-view{padding:118px 7% 35px;background:linear-gradient(155deg,#142da5,#244bdd 65%,#2e55e7)}
.tour-top{display:flex;justify-content:space-between;max-width:1200px;margin:0 auto 19px;border-bottom:1px solid #ffffff33;padding-bottom:9px}
.tour-heading{display:flex;justify-content:space-between;align-items:end;max-width:1200px;margin:auto}
.tour-heading .eyebrow{color:var(--yellow);font-size:13px;letter-spacing:.16em}
.tour-heading h1{font-size:clamp(34px,4vw,60px);margin-top:9px;transform:rotate(-2deg);text-shadow:4px 5px 0 var(--ink)}
.tour-heading h1 span{display:block;font:700 11px var(--display);letter-spacing:.18em;margin-top:10px;text-shadow:none}
.tour-progress{text-align:right;display:grid}.tour-progress strong{font:700 46px var(--display)}.tour-progress span{color:var(--yellow);font:700 18px var(--display)}
.tour-intro{max-width:1200px;margin:20px auto 25px;color:#cad6ff;font-size:12px}
.tour-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;max-width:1200px;margin:auto}
.tour-card{position:relative;text-align:left;background:#142d92;border:2px solid #8d9ed9;box-shadow:5px 6px 0 #0f1e5f;padding:20px;min-height:207px;transition:translate .15s}
.tour-card:not(:disabled):hover{translate:0 -4px;border-color:var(--yellow)}
.tour-card:disabled{opacity:.53;cursor:not-allowed}.tour-card[data-current="true"]{background:var(--paper);color:var(--ink);border-color:var(--ink);box-shadow:5px 6px 0 var(--ink),8px 9px 0 var(--yellow)}
.tour-card[data-clear="true"]{border-color:var(--yellow)}
.tour-card-top{display:flex;justify-content:space-between;align-items:start}.tour-card-top b{font:700 33px/1 var(--display);color:#8fa4f5}
.tour-card-top span{font-size:10px;border:1px solid currentColor;padding:3px 7px}
.tour-card[data-current="true"] .tour-card-top b{color:var(--orange)}
.tour-card h2{font-size:22px;margin:13px 0 8px;line-height:1.3}.tour-card p{font-size:10px;opacity:.75;margin-top:5px}
.tour-loadout{display:flex;align-items:center;gap:8px;margin-top:15px;font-size:11px}.tour-loadout i{font-style:normal;font-size:26px;line-height:1;width:34px}
.tour-card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #8c9dd866;padding-top:10px;margin-top:12px;font-size:10px}
.tour-card-foot strong{font-size:16px;letter-spacing:2px;color:var(--yellow)}.tour-card[data-current="true"] .tour-card-foot strong{color:#94610c}
.tour-footer{max-width:1200px;margin:24px auto 0;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#b9c9ff;line-height:1.8}
.loadout-picker{position:relative;z-index:5;background:#142a90ed;border:1px solid #91a4ef;padding:12px 15px;margin-bottom:15px}
.loadout-picker label{display:flex;justify-content:space-between;font-size:11px;font-weight:800;margin-bottom:6px}
.loadout-picker label span{color:#acbff5;font-size:9px;font-weight:400}
.loadout-picker select{width:100%;background:#fff4d4;color:#17203a;border:2px solid #17203a;border-radius:0;font:800 15px "PingFang SC",sans-serif;padding:7px 9px}
.loadout-picker select:disabled{opacity:1;color:#17203a}
.loadout-picker p{font-size:10px;color:#ced9ff;margin-top:6px;min-height:16px}
.loadout-picker details{font-size:9px;color:#c1cffe;margin-top:5px}
.loadout-picker summary{cursor:pointer}
.loadout-picker ol{position:absolute;bottom:100%;left:0;right:0;padding:18px 20px 18px 36px;margin:0;background:#112779;border:2px solid #819aff;font-size:11px;line-height:1.9;box-shadow:4px 4px 0 var(--ink)}
.report-aside canvas{height:52%;top:-9%}.ready-shout{top:-7%}
#next-stage-button{grid-column:1/-1}
.result-actions:has(#next-stage-button:not([hidden])){gap:11px}
#recording-credits article{padding:16px 0;border-top:1px solid #ffffff44;font-size:11px;line-height:1.9}
#recording-credits{margin-top:20px}
#recording-credits h3{font-size:16px;margin-bottom:7px}
#credits-dialog a{color:var(--yellow);text-underline-offset:3px}
.credits-manifest{display:block;margin-top:15px;font-size:11px}
.result-view.tour-result{overflow-y:auto}
.tour-result .result-poster{position:relative;top:auto;bottom:auto;margin:0 6%;left:auto;right:auto;width:88%;padding-top:25vh;min-height:95vh;padding-bottom:30px}
.tour-result .poster-left{min-height:420px}.tour-result .poster-right{transform:none}
@media(max-height:800px) and (min-width:801px){
  .home-copy{padding-top:115px}.home-copy h1{font-size:45px;margin:12px 0}.home-copy>p{font-size:11px}.mode-choices{margin-top:18px;gap:13px}.mode-card{padding:12px 20px}.mode-card strong{font-size:22px}.home-foot{margin-top:15px}
  .campaign-view{padding-top:95px}.tour-card{padding:16px;min-height:190px}.tour-heading h1{font-size:42px}.tour-card h2{font-size:20px}.tour-grid{gap:18px}
  .report-view{overflow-y:auto}.report-grid{position:relative;top:0;left:0;right:0;bottom:0;margin:0 7%;width:86%;padding:27vh 0 35px;min-height:100vh}.report-aside{min-height:410px}
}
@media(max-width:800px){
  .home-copy{width:63%;padding:120px 0 35px 7%}.home-copy h1{font-size:43px}.home-copy>p{font-size:11px}
  .home-copy>.eyebrow{font-size:11px}.mode-card{padding:15px;gap:12px}.mode-card strong{font-size:23px}.mode-number{font-size:34px}
  #home-mascot{right:-15%;width:63%;bottom:9%;height:69%}.home-ticket{right:7%;bottom:7%;padding:10px 15px}.home-foot{flex-wrap:wrap;gap:4px}
  .campaign-view{padding:95px 6% 28px}.tour-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.tour-card{padding:16px}.tour-card h2{font-size:19px}.tour-footer{flex-direction:column;gap:7px}
  .report-view{overflow-y:auto}.report-grid{position:relative;top:0;left:0;right:0;bottom:0;margin:0 7%;width:86%;padding:24vh 0 30px;min-height:100vh}.report-aside{min-height:430px}
  .loadout-picker{padding:10px}.loadout-picker select{font-size:13px}.loadout-picker label span{font-size:8px}
}
@media(max-width:550px){
  .home-copy{width:100%;padding:125px 8% 32px}.home-copy h1{font-size:42px;max-width:72%}.home-copy>.eyebrow{font-size:10px}.home-copy>p{font-size:10px}
  #home-mascot{right:-17%;width:62%;height:37%;top:97px;bottom:auto;z-index:1;pointer-events:none}.home-ticket{display:none}.home-orbit{top:17%;font-size:140px}
  .mode-choices{margin-top:30px;gap:17px}.mode-card{padding:17px 19px}.mode-card strong{font-size:26px}.mode-card em{font-size:9px}.home-foot{margin-top:23px;justify-content:space-between}
  .tour-top{margin-bottom:17px}.tour-heading h1{font-size:33px}.tour-heading .eyebrow{font-size:10px}.tour-heading h1 span{font-size:9px}.tour-progress strong{font-size:32px}.tour-progress span{font-size:13px}
  .tour-intro{font-size:10px;margin:18px 0}.tour-grid{grid-template-columns:1fr;gap:19px}.tour-card{padding:17px 21px;min-height:0}
  .tour-card h2{font-size:23px}.tour-card-top b{font-size:29px}.tour-loadout{margin-top:12px}.tour-card-foot{margin-top:9px}.tour-card p{font-size:10px}
  .tour-footer{font-size:9px}
  .report-grid{display:flex;flex-direction:column;gap:25px;padding-top:23vh}.report-main{height:auto;flex-shrink:0}
  .report-main h1{font-size:34px}.report-numbers{position:static;margin:20px 0 0;gap:30px}.report-numbers strong{font-size:38px}.report-main #waveform{margin-top:15px}
  .report-aside{position:relative;inset:auto;width:100%;height:auto;min-height:0;padding-top:100px}.report-aside canvas{top:-36px;left:0;width:40%;height:145px}.ready-shout{top:0;left:41%;font-size:33px}.control-cheatsheet{position:absolute;top:48px;right:8%;margin:0}
  .loadout-picker{padding:12px 15px;margin-bottom:15px}.loadout-picker select{font-size:15px}.loadout-picker p{font-size:10px}.loadout-picker label span{font-size:9px}
  .tour-result .result-poster{display:flex;flex-direction:column;gap:35px;align-items:stretch;padding-top:25vh;margin:0 7%;width:86%}
  .tour-result .poster-left{height:auto;min-height:145px}.tour-result .poster-left canvas{height:210px;bottom:-15px;right:-7%}
  .tour-result .poster-right{position:relative;top:auto;bottom:auto}.tour-result .grade-row{position:static;margin-bottom:18px}.tour-result .result-stats{margin-top:0}
  .tour-result .result-quote{margin:16px 0}.control-dock{gap:9px}.control-dock .text-button{font-size:9px;padding:4px}
}
