/* City Lights v2: polish layered over the original accessible game UI. */
:root {
  --bg:#07101c;
  --frame:#13273a;
  --line:#416477;
  --gold:#f6d388;
  --cream:#f8f0dd;
  --muted:#a9bfca;
}
html,body{background:#070e19}
body{
  background-image:
    radial-gradient(ellipse at 52% -15%,#1f4660 0,transparent 54%),
    radial-gradient(ellipse at 95% 75%,#182c42 0,transparent 41%);
}
.arcade{
  width:min(100%,1130px);
  padding:19px 21px 17px;
  border:1px solid #426174;
  border-radius:14px;
  background:linear-gradient(165deg,#172c3c 0%,#0b1b2c 65%,#091525 100%);
  box-shadow:0 35px 110px #03080db8,0 0 0 1px #91a8b611 inset;
}
.arcade-upper{border-color:#436176;padding-bottom:16px}
.arcade-beacon{color:#f6d388;text-shadow:0 0 21px #f6d38877}
.arcade-brand{letter-spacing:.22em}
.arcade-hud{padding:15px 4px 17px;align-items:flex-end}
.hud-label{color:#93b1bf;letter-spacing:.18em}
.arcade-hud>div:first-child strong{font-size:13px;color:#fbf3df;letter-spacing:.035em}
.hud-stats{gap:17px;color:#bdd0d7;letter-spacing:.075em}
.hud-stats span{padding-left:12px;border-left:1px solid #436176}
.hud-stats b{color:#f3d18c}
.hud-stats strong{color:#fef7e7}
.game-stage{
  border:5px solid #54768b;
  border-radius:6px;
  box-shadow:inset 0 0 0 2px #d4e6e43b,0 0 0 1px #0c2032,0 24px 45px #020b1680;
}
.game-stage:after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:2;
  box-shadow:inset 0 0 40px #00132130;
}
.game-stage canvas{image-rendering:pixelated}
.world-label{
  background:#0a1726de;
  backdrop-filter:blur(7px);
  border-color:#6d929a;
  box-shadow:0 6px 24px #06111c99;
  letter-spacing:.045em;
}
.world-signal{background:#b2e1a7;box-shadow:0 0 0 3px #b2e1a735,0 0 12px #b2e1a7a0}
.game-intro{
  background:
    radial-gradient(ellipse at 52% 62%,#102b48cf 0%,#091728f5 66%),
    linear-gradient(125deg,#312c48 0%,#081420 75%);
}
.intro-title strong{
  color:#ffdc83;
  text-shadow:3px 3px #172135,0 0 25px #e3ae6670;
}
.intro-title em{color:#fff6e6}
.intro-sparkle{color:#ffde96}
.game-intro p{color:#cfdee0;max-width:490px;font-size:13px}
.pixel-primary{background:#f2d58c;border-color:#fff2cc;box-shadow:4px 4px #343343}
.pixel-primary:hover{background:#ffecb7}
.game-dialogue{background:#101c2ff5;border-color:#f3d28a;border-radius:4px}
.dialogue-portrait{background:linear-gradient(135deg,#b383c8,#375875)}
.game-panel,.game-modal{background:linear-gradient(150deg,#172d41,#091522)}
.panel-places button,.panel-action{transition:background .15s,border-color .15s,transform .15s}
.panel-places button:hover,.panel-action:hover{transform:translateY(-1px)}
.game-buttons button{
  background:linear-gradient(180deg,#254254,#142d43);
  border-color:#6a8a9e;
  color:#f5e6ba;
  border-radius:5px;
  transition:background .18s,transform .18s;
}
.game-buttons button:hover{background:#365366;transform:translateY(-1px)}
.game-buttons button[aria-pressed="true"]{border-color:#9ed1b5;color:#c8efc9}
.arcade-bottom{color:#8faab9}
.arcade-bottom i{font-style:normal;color:#ddc27c;margin:0 9px}
.touch-controls button{border-radius:5px}
.touch-action{border-radius:50%!important}
@media(max-width:800px){
  .arcade{padding:12px}
  .arcade-hud{gap:8px;flex-wrap:wrap}
  .hud-stats{gap:9px}
  .hud-stats span{padding-left:6px}
  .game-intro p{font-size:11px}
}
@media(max-width:520px){
  .arcade{padding:8px;border-radius:8px}
  .arcade-hud{padding:10px 3px}
  .hud-stats .hud-record:last-child{display:inline}
  .hud-stats .hud-record:nth-child(3){display:none}
  .hud-stats{gap:6px}
  .hud-stats span{font-size:6px}
  .hud-stats strong{font-size:9px}
  .game-stage{border-width:3px}
  .game-intro p{font-size:8px}
  .game-buttons button{padding:6px 7px;font-size:8px}
}


/* Native mobile game controls: no text selection, callout, or image dragging.
   Scope to the D-pad and action button so text/email selection still works. */
.touch-controls, .touch-controls * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}
.touch-controls button {
  touch-action: none;
}
.touch-controls button svg {
  pointer-events: none;
}


/* CITY LIGHTS 2 / original handheld RPG interface. */
.v2-preview{background:radial-gradient(ellipse at 50% 0,#244558,#0c1c2b 42%,#070f1b 90%);padding:18px 10px 30px}
.v2-preview .arcade{max-width:1130px;background:linear-gradient(150deg,#233d4d,#14293b 60%,#0b1927);border:1px solid #6d8790;box-shadow:0 25px 90px #0007}
.v2-preview .arcade-upper{gap:12px}
.v2-version-links{display:flex;align-items:center;gap:14px;flex:none;font-size:9px;font-weight:800;letter-spacing:.08em;color:#f4dba0}
.v2-version-links a{padding:8px 4px}
.v2-preview .game-stage{border:5px solid #819c9d;border-radius:9px;box-shadow:0 0 0 2px #142837,0 10px 28px #0006}
.v2-preview .game-stage canvas{image-rendering:pixelated}
.v2-preview .world-label{backdrop-filter:none;background:#183347ed;border:2px solid #a6c1bf;color:#f2e6be}
.v2-preview .intro-title strong{font-size:clamp(25px,6vw,62px)}
.v2-preview .game-dialogue{left:3%;right:3%;bottom:3%;min-height:33%;display:flex;align-items:stretch;gap:16px;padding:12px;background:linear-gradient(145deg,#e5e7cc,#c4d5bf);border:3px solid #365a69;box-shadow:0 0 0 2px #e9e2b6,0 10px #0b2036bb;color:#213346;z-index:8}
.v2-preview .game-dialogue[hidden]{display:none!important}
.v2-portrait-wrap{width:clamp(70px,15%,124px);flex:none;background:linear-gradient(145deg,#547d85,#9bb7ac);border:2px solid #486775;border-radius:5px;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden}
.v2-portrait-wrap canvas{width:100%!important;height:auto!important;max-height:105px;object-fit:contain;image-rendering:pixelated}
.v2-portrait-wrap small{font:800 8px Manrope,sans-serif;letter-spacing:.1em;color:#eae6c4;margin:4px}
.v2-preview .dialogue-content{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}
.v2-preview .dialogue-content>span{font:900 clamp(10px,1.7vw,15px) Manrope,sans-serif;color:#34576c;letter-spacing:.11em;margin-bottom:5px}
.v2-preview .dialogue-content p{font:800 clamp(11px,1.7vw,16px)/1.55 Manrope,sans-serif;color:#213346;margin:2px 0 7px}
.v2-preview .dialogue-content button{align-self:flex-end;background:#294c60;color:#f6ebc9;border:1px solid #557886;padding:6px 12px;font:800 10px Manrope,sans-serif;border-radius:4px}
.v2-preview .interact-prompt{background:#183246f2;border-color:#e3d5a3}
.v2-preview .touch-pad button,.v2-preview .touch-action{min-height:44px}
.v2-preview .touch-pad{width:144px}.v2-preview .touch-pad button{width:45px}
.v2-preview .touch-pad button svg{display:block;margin:auto}
.v2-preview .game-bottom,.v2-preview .arcade-bottom{border-color:#6d8b95}
.v2-modal{position:fixed;inset:0;z-index:40;display:flex;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));background:#071521e8;overflow-y:auto}
.v2-modal[hidden],.v2-modal [hidden]{display:none!important}
.v2-modal-card{position:relative;width:min(530px,100%);max-height:100%;overflow-y:auto;padding:23px;border:2px solid #99b5b3;border-radius:11px;background:linear-gradient(145deg,#244457,#10283c);box-shadow:0 12px 0 #091826,0 0 0 3px #34586b;color:#f5efd6;text-align:left}
.v2-close{position:absolute;top:10px;right:10px;border:1px solid #7698a1;border-radius:5px;width:33px;height:33px;background:#1b3548;color:#f7e9bc;font-size:22px;font-weight:800}
.v2-kicker{font:800 10px Manrope,sans-serif;letter-spacing:.14em;color:#e9cf93;display:block;padding-right:28px}
.v2-modal-card h2{font-size:clamp(23px,5.3vw,35px);line-height:1.05;margin:9px 0;letter-spacing:-.04em;color:#f9efd6}
.v2-modal-card>p{font-size:12px;line-height:1.5;color:#c6dbdf;margin:0 0 12px}
.v2-scoreboard{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#10293e;border:1px solid #55758a;padding:9px;margin:9px 0;color:#c6d9de;font-size:9px;font-weight:800}
.v2-scoreboard b{font-size:13px;color:#f4d79b}
#v2-feedback{color:#f4d79b;font-size:10px}
.v2-rhythm-labels{display:grid;grid-template-columns:repeat(4,1fr);text-align:center;color:#dce9d9;font-size:14px;font-weight:900;padding:3px;background:#28485d;border:1px solid #7597a1}
#v2-rhythm-track{height:clamp(130px,30vh,260px);position:relative;overflow:hidden;background:#142a40;border:1px solid #7597a1}
.v2-lane-grid{position:absolute;inset:0;display:grid;grid-template-columns:repeat(4,1fr)}
.v2-lane-grid i{border-right:1px solid #5c7d8e;background:linear-gradient(180deg,#1f3e55,#102b40)}
.v2-lane-grid i:nth-child(even){background:linear-gradient(180deg,#30435e,#152b45)}
.v2-hit-line{position:absolute;height:26px;bottom:10px;left:0;right:0;background:#d9bf7528;border-top:2px solid #f4d89b;border-bottom:2px solid #e2c688;z-index:1}
#v2-note-layer{position:absolute;inset:0;overflow:hidden}
.v2-note{position:absolute;top:0;left:calc(var(--lane,0)*25% + 4%);width:17%;height:28px;display:grid;place-items:center;color:#172b3d;background:#efcc8d;border:2px solid #fff1b9;border-radius:5px;font-size:19px;font-weight:900;box-shadow:0 3px #9a8059;will-change:transform}
.v2-note[data-lane="1"]{--lane:1;background:#aad5d0;border-color:#cce9da}
.v2-note[data-lane="2"]{--lane:2;background:#c5b6e7;border-color:#e7d9fd}
.v2-note[data-lane="3"]{--lane:3;background:#ebaeb5;border-color:#fce0d9}
.v2-challenge-pads{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:11px 0;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.v2-challenge-pads button{min-height:45px;border:2px solid #779ba7;border-radius:7px;background:#284b62;color:#f6e2ad;font-size:20px;font-weight:900;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.v2-challenge-pads button.hit,.v2-challenge-pads button:active{background:#f2d697;color:#24394b;border-color:#ffedbe;box-shadow:0 0 12px #e5c88166}
.v2-primary,.v2-secondary{display:block;width:100%;font:900 12px Manrope,sans-serif;letter-spacing:.08em;border-radius:6px;padding:12px;border:2px solid #f7e5b8;background:#e6c98c;color:#172d3e;min-height:44px}
.v2-secondary{margin-top:8px;background:#1c3a4e;color:#c7dce0;border:1px solid #6c91a0;font-size:9px;padding:8px;min-height:32px}
#v2-memory{min-height:118px;display:grid;align-items:center;justify-items:center;gap:12px;padding:15px;background:#122e44;border:2px solid #577f93;color:#e6d6a8;text-align:center}
.v2-memory-art{display:flex;align-items:center;gap:20px;font-size:29px;color:#b3d5cf}
.v2-eq{display:flex;align-items:center;gap:5px;height:52px}
.v2-eq i{width:7px;height:42%;background:#b9a3dd}.v2-eq i:nth-child(2n){height:85%;background:#e4be89}.v2-eq i:nth-child(3n){height:100%;background:#a0d0c5}
#v2-memory-sequence{font-size:12px;letter-spacing:.09em}
#v2-camera{border:1px solid #789ba6;padding:6px;background:#162c40}
#v2-camera-label{padding:4px;font-size:10px;color:#e7d3a1;font-weight:800;letter-spacing:.09em}
.v2-camera-view{position:relative;height:clamp(120px,25vh,205px);overflow:hidden;background:#455e73}
.v2-camera-art{width:100%;height:100%;object-fit:contain;display:block}
#v2-camera-target{position:absolute;width:24px;height:24px;border:2px dashed #f6d68c;border-radius:50%;transform:translate(-50%,-50%);background:#e8ce8a42}
#v2-reticle{position:absolute;width:30px;height:30px;border:2px solid #dbece6;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #23374e}
#v2-reticle::before,#v2-reticle::after{content:'';position:absolute;background:currentColor;color:#f8ebd0;left:50%;top:50%;transform:translate(-50%,-50%)}
#v2-reticle::before{width:42px;height:1px}#v2-reticle::after{width:1px;height:42px}
#v2-reticle.aligned{border-color:#eacb7b;background:#c9df9980;box-shadow:0 0 14px #dceea6}
.v2-frame-corners{position:absolute;inset:8px;border:1px solid #f4ebc877;pointer-events:none}
.v2-flight-card{max-width:520px}
.v2-cabin{height:clamp(115px,28vh,190px);position:relative;display:flex;justify-content:space-evenly;align-items:flex-start;padding:17px 15px 0;overflow:hidden;background:linear-gradient(#718ca0 0 65%,#465d71 65%);border:2px solid #c2cecb;border-radius:40px 40px 10px 10px}
.v2-cabin-window{position:relative;overflow:hidden;width:23%;height:58%;background:linear-gradient(#344e77,#b88f9e);border:6px solid #e1d5be;border-radius:45%;box-shadow:0 3px #31475a}
.v2-cabin-window i{position:absolute;left:0;top:45%;height:9px;width:32px;background:#e5d7d4;border-radius:50%;animation:v2cloud 4s linear infinite}
.v2-cabin-window i:nth-child(2){top:70%;animation-delay:-1.3s}.v2-cabin-window i:nth-child(3){top:27%;animation-delay:-2.7s}
@keyframes v2cloud{from{transform:translateX(-40px)}to{transform:translateX(125px)}}
.v2-cabin-seat{position:absolute;bottom:8%;width:27%;height:34%;background:linear-gradient(#e3d0af 0 45%,#ad9276 45%);border:3px solid #5f5b5b;border-radius:14px 14px 7px 7px;box-shadow:0 6px #25384b}
.seat-left{left:12%}.seat-right{right:12%}
.v2-cabin-table{position:absolute;bottom:15%;left:43%;width:14%;height:24%;background:#9e765f;border:3px solid #c9a98a;border-radius:7px;box-shadow:0 5px #364758}
.v2-cabin-light{position:absolute;left:0;right:0;bottom:0;height:4px;background:#e7c88f}
.v2-flight-status{display:flex;justify-content:space-between;color:#e5d1a1;font-size:10px;font-weight:800;letter-spacing:.1em;margin:13px 0 5px}
.v2-flight-track{height:7px;background:#102438;border:1px solid #7899a6;overflow:hidden;border-radius:4px;margin-bottom:13px}.v2-flight-track i{display:block;height:100%;background:#e4c88e;width:0}
#v2-flight-log{min-height:38px;padding:10px;border:1px solid #648b9b;background:#152f45;color:#e7e4ce;margin-bottom:12px}
#v2-flight-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
#v2-flight-actions button{min-height:44px;border:1px solid #a2bec3;background:#294b60;color:#f5dfac;font:900 11px Manrope,sans-serif;letter-spacing:.05em;border-radius:6px}
#v2-flight-actions button:active{background:#e3ca92;color:#24394b}
@media(max-width:600px){
 .v2-preview{padding:5px 0 15px}
 .v2-preview .arcade{padding:8px;border-radius:8px}
 .v2-version-links{gap:6px;font-size:7px}
 .v2-preview .arcade-brand{font-size:9px;letter-spacing:.08em}
 .v2-preview .game-dialogue{padding:7px;gap:8px;min-height:37%;bottom:4%}
 .v2-portrait-wrap{width:60px}.v2-portrait-wrap small{font-size:6px}
 .v2-preview .dialogue-content p{font-size:10px;line-height:1.4}
 .v2-preview .dialogue-content>span{font-size:10px}
 .v2-preview .dialogue-content button{font-size:8px;padding:5px 8px}
 .v2-modal-card{padding:16px}.v2-modal-card>p{font-size:11px}
 .v2-modal-card h2{font-size:24px}
}
@media(max-height:570px){.v2-modal-card{padding:12px}.v2-modal-card>p{font-size:10px;margin-bottom:6px}#v2-rhythm-track{height:120px}.v2-cabin{height:105px}.v2-challenge-pads{margin:6px 0}}
@media(prefers-reduced-motion:reduce){.v2-cabin-window i{animation:none}}

/* Touch challenge controls must never open a browser text-selection callout. */
.v2-challenge-pads,.v2-challenge-pads *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-user-drag:none;-webkit-tap-highlight-color:transparent}
.v2-challenge-pads button{display:grid;place-items:center}
.v2-challenge-pads button svg{pointer-events:none;display:block}
.v2-cabin-activity{position:absolute;bottom:30%;left:50%;z-index:5;transform:translateX(-50%);font-size:25px;line-height:1;color:#f6e7bb;text-shadow:0 2px #253c4d;pointer-events:none}
.v2-cabin[data-activity="eat"] .v2-cabin-activity::after{content:"🍽️"}
.v2-cabin[data-activity="lounge"] .v2-cabin-activity::after{content:"♪"}
.v2-cabin[data-activity="snooze"] .v2-cabin-activity::after{content:"Z z z";font:bold 19px monospace}
.v2-cabin[data-activity="pilot"] .v2-cabin-activity::after{content:"✈"}
.v2-cabin[data-activity="lounge"] .seat-right,.v2-cabin[data-activity="snooze"] .seat-right{transform:skewX(-6deg) translateY(3px)}

/* GALLERY / PHONE SYSTEM - responsive, accessible and integrated with arcade panel. */
.v2-gallery-header{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:7px 0 14px;color:#e7d29b;font:800 10px Manrope,Arial,sans-serif;letter-spacing:.08em}
.v2-trophy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.v2-trophy{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:125px;background:linear-gradient(145deg,#28495b,#183344);border:1px solid #8cabb0;border-radius:6px;padding:10px 6px;color:#f2eddd}
.v2-trophy.locked{filter:saturate(.45);border-color:#496573;background:#172c39;color:#9caeb3}
.v2-trophy-icon{display:grid;place-items:center;font-size:34px;color:#ead299;height:52px}
.v2-trophy.locked .v2-trophy-icon{color:#728c99}
.v2-trophy strong{font:900 11px/1.3 Manrope,Arial,sans-serif;letter-spacing:.015em}
.v2-trophy small{font:600 9px/1.4 Manrope,Arial,sans-serif;color:#b0c4c7;margin-top:5px}
.v2-gallery-cta{margin-top:14px;border-top:1px solid #4e7280;padding-top:12px}
.v2-gallery-cta p{font-size:11px;color:#aebfc5;line-height:1.55}
.v2-share{display:block;width:100%;min-height:43px;padding:10px;border:1px solid #f3dbab;border-radius:6px;background:#ead5a4;color:#213746;font:900 12px Manrope,Arial,sans-serif;cursor:pointer}
.v2-phone-head{display:flex;align-items:center;justify-content:space-between;padding:13px;background:#1e3b51;border:1px solid #638897;color:#e7d6a8;font:800 11px Manrope,Arial,sans-serif;letter-spacing:.09em}
.v2-phone-head b{font-size:22px}
.v2-phone-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0}
.v2-phone-stats>div{background:#183449;border:1px solid #628293;border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:5px;padding:12px 5px}
.v2-phone-stats b{color:#f2dfaa;font-size:18px}
.v2-phone-stats small{font-size:9px;color:#b8d2d8}
.v2-phone-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.v2-phone-actions button{background:#224456;color:#eddeb1;border:1px solid #7396a2;border-radius:5px;padding:12px 6px;font:800 11px Manrope,Arial,sans-serif;min-height:45px;cursor:pointer}
.v2-phone-actions button:hover{background:#345b6d}
.v2-real-links{margin-top:19px;padding-top:11px;border-top:1px solid #62808c}
.v2-real-links h3{font:900 11px Manrope,Arial,sans-serif;color:#ead69f;letter-spacing:.1em}
.v2-real-links a{display:block;color:#e4ecdf;font-size:12px;font-weight:800;padding:9px 5px;border-bottom:1px solid #526e7a}
.v2-real-links a:hover{color:#f0d18e}
@media(max-width:530px){.v2-trophy-grid{gap:6px}.v2-trophy{padding:7px 3px;min-height:110px}.v2-trophy-icon{font-size:26px;height:40px}.v2-trophy strong{font-size:9px}.v2-trophy small{font-size:8px}.v2-phone-stats b{font-size:15px}}

.v2-track-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.v2-track-list article{display:flex;gap:8px;background:#244156;border:1px solid #577b89;padding:7px;min-width:0}.v2-track-list img{width:46px;height:46px;object-fit:cover;border-radius:3px}.v2-track-list article div{display:grid;gap:3px;font-size:10px;min-width:0}.v2-track-list a{color:#f0d59b;text-decoration:underline;font-size:10px}.v2-save-import{display:block;margin-top:14px;color:#ead29a;font-size:11px}.v2-save-import input{display:block;max-width:100%;font-size:10px;margin-top:6px}.v2-preview .game-panel{overflow-y:auto}.v2-preview .game-panel .panel-title{position:sticky;top:0;background:#19374b;z-index:3}@media(max-width:600px){.v2-track-list{grid-template-columns:1fr}.v2-preview .game-panel{inset:1% 2%;padding:8px}}

#v2-pilot-canvas{width:100%;height:auto;max-height:230px;object-fit:contain;image-rendering:pixelated;background:#142d48;border:1px solid #8da5af}#v2-pilot-controls{display:flex;gap:8px;margin-top:8px}#v2-pilot-controls button{flex:1;background:#28475b;color:#f0d59b;border:1px solid #7897a4;padding:12px;font-weight:800;touch-action:manipulation}#v2-pilot-controls[hidden],#v2-pilot-canvas[hidden],#v2-cabin[hidden],#v2-flight-actions[hidden]{display:none!important}

.v2-art-choice{display:flex;align-items:center;gap:8px;background:#223e54;border:1px solid #668493;color:#f0d59b;padding:8px;text-align:left;font-size:11px;font-weight:800;cursor:pointer}.v2-art-choice img{width:48px;height:48px;object-fit:cover;flex:none}.v2-mix-label{display:grid;grid-template-columns:1fr auto;gap:6px;margin:12px 0;font-size:12px;font-weight:800;color:#f0d59b}.v2-mix-label input{grid-column:1/-1;width:100%;accent-color:#e7c98f;min-height:26px}.v2-phone-actions .panel-action{margin:0}.v2-preview .game-panel h3{font-size:11px;color:#f0d59b;letter-spacing:.05em;margin:12px 0 6px}.v2-preview .game-panel progress{accent-color:#e3c58a}.v2-preview .game-panel button:disabled{opacity:.45;cursor:not-allowed}

.v2-preview .game-panel .v2-trophy strong{overflow-wrap:anywhere}.v2-preview .game-panel .v2-trophy small{line-height:1.35}.v2-preview .game-panel .panel-action:focus-visible,.v2-preview .game-panel button:focus-visible,#v2-pilot-controls button:focus-visible{outline:2px solid #f2d59b;outline-offset:2px}

/* Good Life collection gallery */
.rae-item-art{width:52px;height:52px;image-rendering:pixelated;display:block;flex:none}.rae-item-tile{gap:6px;justify-content:flex-start}.rae-item-tile .panel-action{font-size:10px;min-height:30px;padding:5px 9px;margin:4px 0 0}.rae-item-rarity{color:#e3c68e!important;letter-spacing:.08em;font-weight:800}.rae-item-inspect{display:flex;flex-direction:column;align-items:center;text-align:center;background:#213b50;padding:18px;border:1px solid #718b9b;gap:10px}.rae-item-inspect .rae-item-art{width:126px;height:126px}.rae-item-inspect h3{font-size:16px!important}.rae-item-inspect p{font-size:13px;line-height:1.5;margin:0;color:#e8decb}.v2-trophy.rae-item-tile small{line-height:1.4}.v2-trophy.rae-item-tile strong{font-size:10px}.v2-trophy.rae-item-tile.locked .rae-item-rarity{color:#879da9!important}

.rae-gallery-section{border:1px solid #526a7b;margin:9px 0;padding:7px;background:#172d40}.rae-gallery-section summary{cursor:pointer;font-size:12px;color:#e4c78b;font-weight:800;padding:7px 3px;letter-spacing:.04em}.rae-gallery-section[open] summary{margin-bottom:8px}.rae-vinyl-cover{width:64px;height:64px;object-fit:cover;border:1px solid #d6b67e;box-shadow:4px 4px 0 #142337}.rae-chapter-list{display:grid;gap:6px}.rae-chapter-list div{display:grid;gap:3px;padding:8px;background:#263d51;border-left:2px solid #d8be87}.rae-chapter-list strong{font-size:11px;color:#f1d7a4}.rae-chapter-list small{font-size:10px;color:#c3d0d5}

/* Homepage: one edge-to-edge arcade, no nested window or scrollbars. */
html:has(body.embed){background:transparent;min-height:0}body.v2-preview.embed{padding:0;margin:0;min-height:0;background:transparent;overflow-x:hidden}body.embed .arcade{width:100%;max-width:none;margin:0;padding:8px 10px 10px;border:0;border-radius:0;box-shadow:none;background:linear-gradient(150deg,#233d4d,#14293b 65%,#0b1927)}body.embed .arcade-upper{padding-top:4px}body.embed .game-stage{width:100%;height:auto;aspect-ratio:640/416}body.embed .v2-version-links:empty{display:none}body.embed .game-intro{overflow:hidden}body.embed .intro-title strong{font-size:clamp(22px,5.2vw,62px)}@media(max-width:600px){body.embed .arcade{padding:5px 5px 8px}body.embed .arcade-hud{padding:7px 1px;gap:5px}body.embed .hud-stats{max-width:100%;flex-wrap:wrap;gap:5px}body.embed .game-buttons{flex-wrap:wrap;justify-content:center}body.embed .game-intro{padding:5px}body.embed .intro-title strong{font-size:clamp(17px,5.4vw,30px)}body.embed .game-intro p{font-size:9px;max-width:95%;margin:3px 0 7px}body.embed .game-intro .pixel-primary{padding:8px 12px}body.embed .arcade-bottom{padding-top:6px}body.embed .v2-modal{padding:6px}body.embed .v2-modal-card{padding:12px}}

/* Mission-specific camera art; overlays share the exact same coordinate space. */
.v2-camera-view{height:auto;aspect-ratio:360/170;max-height:205px;isolation:isolate}.v2-camera-art{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;opacity:1}.v2-camera-art>g[data-camera-scene]{display:none}#v2-camera[data-location='jet'] [data-camera-scene='jet'],#v2-camera[data-location='photo'] [data-camera-scene='photo'],#v2-camera[data-location='rooftop'] [data-camera-scene='rooftop'],#v2-camera[data-location='la-beach'] [data-camera-scene='la-beach']{display:inline}#v2-camera-target{z-index:2;box-shadow:0 0 0 1px #15283a,0 0 12px #f6d68c88}#v2-reticle{z-index:3;pointer-events:none}.v2-frame-corners{z-index:4}.v2-camera-view:after{content:'';position:absolute;inset:0;pointer-events:none;background:#fff5d8;opacity:0;z-index:5}#v2-camera.rae-shutter .v2-camera-view:after{animation:rae-shutter .22s ease-out}@keyframes rae-shutter{0%{opacity:.75}100%{opacity:0}}#v2-memory[data-theme='gym'] .v2-memory-art{color:#e4d2a0}#v2-memory[data-theme='gym'] .v2-eq{transform:rotate(90deg)}#v2-memory[data-theme='gym']{background:linear-gradient(135deg,#2d4552,#1a303e)}

.rae-gym-art{display:none}#v2-memory[data-theme='gym'] .rae-gym-art{display:block}#v2-memory[data-theme='gym'] .rae-music-symbol,#v2-memory[data-theme='gym'] .v2-eq{display:none}
