
      :root{
        --ink:#0a0d08;
        --panel:#12160f;
        --panel2:#181e14;
        --line:#2c3623;
        --green:#3fae4a;
        --green-deep:#1d5c26;
        --lime:#a8e063;
        --paper:#eef3e6;
        --muted:#9db08c;
        --gold:#f2b93b;
        --danger:#e0574f;
      }
      *{ box-sizing:border-box; }
      html,body{ height:100%; height:100dvh; }
      body{
        margin:0; background:#070906; color:var(--paper);
        /* in fullscreen / Home Screen launches the game extends under
           the notch and status area — keep the HUD and stage clear */
        padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        font-family:"Barlow",system-ui,sans-serif;
        display:flex; flex-direction:column; overflow:hidden;
        -webkit-user-select:none; user-select:none;
        -webkit-tap-highlight-color:transparent;
      }
      /* ---------- HUD ---------- */
      #hud{
        display:flex; align-items:center; gap:14px; flex-wrap:wrap;
        padding:8px 14px; background:linear-gradient(180deg,#141a10,#0d110a);
        border-bottom:2px solid var(--green-deep); z-index:5;
      }
      .brand{ display:flex; align-items:baseline; gap:8px; white-space:nowrap; }
      .brand .mark{
        font-family:"Oswald",sans-serif; font-weight:700; font-size:20px; letter-spacing:.5px;
        color:#fff;
      }
      .brand .mark b{ color:var(--green); font-weight:700; }
      .brand .sub{ font-size:11px; letter-spacing:2.5px; color:var(--muted); font-weight:600; }
      .hud-left{ display:flex; align-items:center; gap:16px; }
      .hud-right{ display:flex; align-items:center; gap:16px; flex:1; min-width:260px; }
      .stat{ display:flex; flex-direction:column; line-height:1.1; }
      .stat .k{ font-size:10px; letter-spacing:1.6px; color:var(--muted); font-weight:700; }
      .stat .v{ font-size:15px; font-weight:700; color:#fff; white-space:nowrap; }
      .stat .v.money{ color:var(--lime); }
      .bars{ display:flex; flex-direction:column; gap:4px; min-width:170px; flex:0 1 300px; }
      .bar-row{ display:flex; align-items:center; gap:8px; }
      .bar-row .lab{ font-size:10px; font-weight:700; letter-spacing:1px; width:66px; color:var(--muted); }
      .bar{ flex:1; height:9px; background:#232b1c; border-radius:5px; overflow:hidden; border:1px solid #303b26; }
      .bar > i{ display:block; height:100%; width:0%; background:linear-gradient(90deg,var(--green-deep),var(--green)); transition:width .25s; }
      .bar.trim > i{ background:linear-gradient(90deg,#7a5b12,var(--gold)); }
      .bar.blow > i{ background:linear-gradient(90deg,#3d6a7a,#9fd4e8); }
      .bar-row .pct{ font-size:12px; font-weight:700; width:38px; text-align:right; color:#fff; }
      .hud-btn{
        background:var(--panel2); color:var(--paper); border:1px solid var(--line);
        font-family:"Barlow",sans-serif; font-weight:700; font-size:12px; letter-spacing:1px;
        padding:7px 12px; border-radius:6px; cursor:pointer;
      }
      .hud-btn:hover{ border-color:var(--green); color:#fff; }
      /* ---------- Stage ---------- */
      #stage{ position:relative; flex:1; min-height:0; background:#050604; }
      #game{ position:absolute; display:block; background:#2c5d23; box-shadow:0 0 60px rgba(0,0,0,.6); }
      /* ---------- Overlays ---------- */
      .overlay{
        position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
        background:rgba(5,8,4,.66); backdrop-filter:blur(2px); z-index:10; padding:16px;
      }
      .overlay.hidden{ display:none; }
      .card{
        background:linear-gradient(180deg,#171d12,#10140c);
        border:1px solid var(--line); border-top:4px solid var(--green);
        border-radius:10px; padding:26px 30px; max-width:560px; width:100%;
        max-height:calc(100% - 8px); overflow-y:auto;
        box-shadow:0 24px 60px rgba(0,0,0,.55);
      }
      .card h1{
        font-family:"Oswald",sans-serif; font-size:40px; margin:0 0 2px; line-height:1.02;
        color:#fff; letter-spacing:.5px;
      }
      .card h1 .amp{ color:var(--green); }
      .card h2{ font-family:"Oswald",sans-serif; font-size:27px; margin:0 0 6px; color:#fff; letter-spacing:.4px; }
      .tagline{ color:var(--lime); font-weight:700; letter-spacing:2.6px; font-size:12px; margin:0 0 14px; }
      .card p{ color:#cfdcc2; font-size:15.5px; line-height:1.45; margin:8px 0; }
      .card p.small{ font-size:13.5px; color:var(--muted); }
      .btn{
        display:inline-block; background:var(--green); color:#06130a; border:none; cursor:pointer;
        font-family:"Oswald",sans-serif; font-weight:600; font-size:17px; letter-spacing:1.2px;
        padding:12px 26px; border-radius:7px; margin-top:16px;
      }
      .btn:hover{ background:#4cc25c; }
      .btn:active{ transform:translateY(1px); }
      .btn.ghost{ background:transparent; color:var(--paper); border:1px solid var(--line); }
      .route-list{ margin:12px 0 2px; border-top:1px solid var(--line); }
      .route-row{
        display:flex; justify-content:space-between; align-items:baseline; gap:12px;
        padding:8px 2px; border-bottom:1px solid var(--line);
      }
      .route-row .who{ font-weight:700; color:#fff; font-size:15px; }
      .route-row .addr{ color:var(--muted); font-size:13px; display:block; font-weight:500; }
      .route-row .pay{ font-weight:700; color:var(--lime); font-size:15px; white-space:nowrap; }
      /* star column sits at a fixed offset on every row: the name
         block takes all the flexible space, the stars get a fixed
         left-aligned gutter, and the pay is a fixed right-aligned
         width — so the first star of every row lines up in a
         straight vertical line down the list, no matter the row's
         rating or name length */
      .route-row > div:first-child{ flex:1 1 auto; min-width:0; }
      .route-row .stars{
        color:var(--gold); font-size:14px; letter-spacing:2px; white-space:nowrap;
        flex:0 0 66px; text-align:left;
      }
      .route-row .pay{ flex:0 0 70px; text-align:right; }
      .sum-line{ display:flex; justify-content:space-between; padding:7px 2px; font-size:16px; border-bottom:1px solid var(--line); }
      .sum-line.total{ border-bottom:none; font-size:19px; font-weight:700; color:#fff; }
      .sum-line .amt{ font-weight:700; color:var(--lime); }
      .big-stars{ font-size:34px; color:var(--gold); letter-spacing:6px; text-align:center; margin:4px 0 2px; }
      .big-stars .off{ color:#3a4430; }
      /* ---------- Toast / bubble ---------- */
      #toast{
        position:absolute; left:50%; top:14px; transform:translateX(-50%) translateY(-8px);
        background:rgba(10,14,8,.92); border:1px solid var(--green-deep); border-left:4px solid var(--green);
        color:#fff; font-weight:600; font-size:14.5px; padding:9px 16px; border-radius:7px;
        opacity:0; pointer-events:none; transition:opacity .25s, transform .25s; z-index:8;
        max-width:min(92%,560px); text-align:center;
      }
      #toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
      #toast b{ color:var(--lime); }
      /* ---------- Line direction picker ---------- */
      #dirPicker{
        position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
        display:none; align-items:center; gap:8px; z-index:7;
        background:rgba(10,14,8,.9); border:1px solid var(--line); border-radius:10px;
        padding:8px 10px; max-width:97%;
      }
      body.playing #dirPicker{ display:flex; }
      .dp-lab{ font-size:10px; letter-spacing:1.8px; color:var(--muted); font-weight:700; white-space:nowrap; }
      /* ---------- Direction dial ---------- */
      #dial{
        width:66px; height:66px; flex:0 0 auto; border-radius:50%; cursor:grab;
        touch-action:none; outline:none; -webkit-tap-highlight-color:transparent;
      }
      #dial:active{ cursor:grabbing; }
      body:not(.picking) #dial{ cursor:default; }
      #dial:focus-visible{ box-shadow:0 0 0 2px var(--lime); }
      #dialSvg{ display:block; width:100%; height:100%; pointer-events:none; }
      .dial-ring{ fill:#181e14; stroke:#2c3623; stroke-width:2; }
      #dial.active .dial-ring{ stroke:var(--green); }
      .dial-tick{ stroke:#54634a; stroke-width:2; }
      .dial-tick.major{ stroke:#9db08c; stroke-width:2.6; }
      .dial-needle{ stroke:var(--lime); stroke-width:4.5; stroke-linecap:round; }
      .dial-head{ fill:var(--lime); }
      .dial-hub{ fill:#0d110a; stroke:var(--lime); stroke-width:2; }
      .dp-read{ display:flex; flex-direction:column; line-height:1.2; min-width:78px; }
      .dp-read .nm{ font-weight:700; font-size:13.5px; color:#fff; letter-spacing:.6px; white-space:nowrap; }
      .dp-read .dg{ font-size:11.5px; color:var(--muted); font-weight:600; white-space:nowrap; }
      /* START MOWING — only while the 1st line direction is being picked */
      #btnMowStart{
        display:none; background:var(--green); color:#06130a; border:none; cursor:pointer;
        font-family:"Oswald",sans-serif; font-weight:600; font-size:14px; letter-spacing:1px;
        padding:11px 18px; border-radius:7px; white-space:nowrap;
      }
      body.picking #btnMowStart{ display:inline-block; }
      #btnMowStart:hover{ background:#4cc25c; }
      #btnMowStart:active{ transform:translateY(1px); }
      @media (max-width:640px){
        .dp-lab{ font-size:9px; letter-spacing:1.1px; }
        #dial{ width:58px; height:58px; }
        .dp-read{ min-width:70px; }
      }
      #rotateHint{
        position:absolute; right:14px; bottom:14px; z-index:6; display:none;
        background:rgba(10,14,8,.85); border:1px solid var(--line); color:var(--muted);
        font-size:12px; font-weight:600; padding:6px 10px; border-radius:6px;
      }
      /* ---------- Final-inspection confirm ---------- */
      #confirmBar{
        position:absolute; left:50%; bottom:14px; transform:translateX(-50%);
        display:none; align-items:center; gap:12px; z-index:7;
        background:rgba(10,14,8,.94); border:1px solid var(--green-deep); border-radius:10px;
        padding:10px 12px; max-width:97%;
      }
      body.confirming #confirmBar{ display:flex; }
      body.confirming #dirPicker{ display:none; }
      .cb-lab{ font-size:11px; letter-spacing:1.4px; color:var(--lime); font-weight:700; white-space:nowrap; }
      #btnConfirm{
        background:var(--green); color:#06130a; border:none; cursor:pointer;
        font-family:"Oswald",sans-serif; font-weight:600; font-size:15px; letter-spacing:1px;
        padding:11px 20px; border-radius:7px; white-space:nowrap;
      }
      #btnConfirm:hover{ background:#4cc25c; }
      #btnConfirm:active{ transform:translateY(1px); }
      /* ---------- Stick dumpster chip ---------- */
      #dumpStat .v{ display:flex; align-items:center; gap:5px; }
      #dumpStat .v svg{ flex:0 0 auto; }
      @keyframes dumpBump{ 0%{ transform:scale(1); } 40%{ transform:scale(1.3); color:var(--gold); } 100%{ transform:scale(1); } }
      #dumpStat.bump .v{ animation:dumpBump .45s ease; }
      .sum-line .amt.neg{ color:var(--danger); }
      /* ---------- Saved game / resume ---------- */
      #resumeBox{
        margin-top:18px; padding:14px 16px; border:1px solid var(--green-deep);
        background:rgba(46,125,50,.12); border-radius:9px; text-align:left;
      }
      #resumeBox .resume-txt{ margin:0; font-size:14.5px; line-height:1.55; color:var(--paper); }
      #resumeBox .resume-txt b{ color:#fff; }
      #resumeBox .btn{ margin-top:10px; }
      @media (max-width:640px){
        .cb-lab{ display:none; }
        #btnConfirm{ font-size:13.5px; padding:10px 14px; }
      }
      @media (orientation:landscape){
        #confirmBar{ bottom:8px; padding:6px 8px; }
        #btnConfirm{ padding:8px 14px; font-size:13px; }
      }
      @media (orientation:portrait){ body.touch #rotateHint{ display:block; bottom:104px; } }
      @media (max-width:640px){
        #hud{ gap:8px; padding:8px 10px; }
        .brand .sub{ display:none; }
        .brand .mark{ font-size:16px; }
        .hud-left{ flex-wrap:wrap; gap:6px 12px; min-width:0; flex:1 1 100%; order:3; }
        .hud-right{ flex-wrap:wrap; gap:6px 12px; min-width:0; flex:1 1 100%; order:4; }
        .hud-right .bars{ order:9; flex:1 1 100%; min-width:0; }
        .stat .k{ font-size:9px; }
        .card{ padding:20px; }
        .card h1{ font-size:31px; }
        .stat .v{ font-size:13px; }
      }
      /* sideways (landscape), any screen height: the HUD info docks
         as two slim panels flanking the yard — left panel holds
         day/property/client, right panel holds the bars, time,
         earned, player, stick dumpster and the buttons — so nothing
         sits on top and the mowing map gets the full height of the
         screen. (An earlier version also required a short viewport,
         max-height:540px; taller landscape screens — big phones,
         tablets, desktop windows — silently kept the top bar, which
         is why the bar "stayed on top" for the player.) */
      @media (orientation:landscape){
        body{
          display:grid; grid-template-columns:156px 1fr 162px; grid-template-rows:1fr auto auto auto;
          grid-template-areas:"left stage right" "left stage sound" "left stage full" "left stage menu";
        }
        #hud{ display:contents; }
        .brand{ display:none; }
        .hud-left{
          grid-area:left; display:flex; flex-direction:column; gap:14px; padding:14px 12px;
          background:linear-gradient(180deg,#141a10,#0d110a); border-right:2px solid var(--green-deep);
          overflow-y:auto; align-items:stretch; min-width:0;
        }
        .hud-right{
          grid-area:right; display:flex; flex-direction:column; gap:10px; padding:14px 12px;
          background:linear-gradient(180deg,#141a10,#0d110a); border-left:2px solid var(--green-deep);
          overflow-y:auto; align-items:stretch; min-width:0; /* override the base row's min-width:260px + centered items — the panel must fill exactly its grid track */
        }
        #stage{ grid-area:stage; min-width:0; min-height:0; }
        #btnSound{ grid-area:sound; margin:0 10px 8px; }
        #btnFull{ grid-area:full; margin:0 10px 8px; }
        #btnMainMenu{ grid-area:menu; margin:0 10px 10px; }
        .hud-btn{ padding:8px 6px; font-size:11px; white-space:nowrap; }
        .hud-right .bars{ min-width:0; width:100%; flex:none; order:0; }
        .bar-row .lab{ width:60px; font-size:9px; }
        .bar-row .pct{ width:32px; font-size:11px; }
        .stat .v{ font-size:13px; }
        .stat .k{ font-size:9px; }
        /* long values (the day line, estate names) wrap inside the
           slim rail instead of running off its edge */
        .hud-left .stat .v{ white-space:normal; line-height:1.18; }
        #dirPicker{ bottom:8px; padding:5px 8px; gap:6px; }
        #dial{ width:52px; height:52px; }
        .dp-read .dg{ display:none; }
        .card{ padding:18px 22px; }
        .card h1{ font-size:30px; }
      }
      /* ---------- Home page tabs ---------- */
      .card.wide{ max-width:880px; }
      .tabs{ display:flex; gap:6px; flex-wrap:wrap; margin:18px 0 6px; }
      .tab-btn{
        background:transparent; border:1px solid var(--line); color:var(--muted);
        font-family:"Oswald",sans-serif; font-weight:600; font-size:13.5px; letter-spacing:1.4px;
        padding:9px 16px; border-radius:7px; cursor:pointer;
      }
      .tab-btn:hover{ color:#fff; border-color:var(--green); }
      .tab-btn.is-active{ background:var(--green); border-color:var(--green); color:#06130a; }
      .tab-panel{ margin-top:10px; }
      /* ---------- Client list ---------- */
      .client-row{ display:flex; align-items:center; gap:10px; padding:8px 2px; border-bottom:1px solid var(--line); }
      .client-row.head{ font-size:10px; letter-spacing:1.6px; color:var(--muted); font-weight:700; }
      .client-row .c-main{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
      .client-row .who{ font-weight:700; color:#fff; font-size:14.5px; }
      .client-row .addr{ color:var(--muted); font-size:12.5px; font-weight:500; }
      .c-crew{ flex:0 0 84px; font-size:12.5px; font-weight:600; display:flex; align-items:center; gap:6px; }
      .c-rate{ flex:0 0 62px; text-align:right; font-weight:600; font-size:13.5px; }
      .c-weeks{ flex:0 0 46px; text-align:right; font-weight:600; font-size:13.5px; }
      .c-total{ flex:0 0 76px; text-align:right; font-weight:700; color:var(--lime); font-size:14.5px; }
      .crew-dot{ width:10px; height:10px; border-radius:50%; display:inline-block; flex:0 0 auto; }
      @media (max-width:640px){ .c-rate{ display:none; } .client-row.head .c-rate{ display:none; } .c-crew{ flex-basis:66px; } }
      /* ---------- Quotes ---------- */
      .quote-row{ display:flex; align-items:center; gap:10px; padding:8px 2px; border-bottom:1px solid var(--line); }
      .quote-row .q-main{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
      .quote-row .who{ font-weight:700; color:#fff; font-size:14.5px; }
      .quote-row .addr{ color:var(--muted); font-size:12.5px; font-weight:500; }
      .q-amt{ font-weight:700; color:var(--lime); font-size:15px; white-space:nowrap; }
      .q-del{
        background:none; border:1px solid var(--line); color:var(--muted); width:26px; height:26px;
        border-radius:6px; cursor:pointer; font-size:15px; line-height:1; flex:0 0 auto; padding:0;
      }
      .q-del:hover{ color:#fff; border-color:var(--danger); }
      .quote-form{ display:flex; gap:8px; flex-wrap:wrap; margin-top:14px; border-top:1px solid var(--line); padding-top:14px; }
      .quote-form select, .quote-form input{
        background:var(--panel2); border:1px solid var(--line); color:var(--paper); border-radius:6px;
        padding:10px; font:inherit; font-size:14px; -webkit-user-select:text; user-select:text;
      }
      .quote-form input::placeholder{ color:var(--muted); }
      #qService{ flex:1 1 190px; }
      #qAmt{ width:92px; }
      .quote-form .btn{ margin-top:0; padding:10px 18px; font-size:14px; }
      /* ---------- City map ---------- */
      #mapSvgWrap svg{ width:100%; height:auto; display:block; border:1px solid var(--line); border-radius:9px; }
      .pin{ cursor:pointer; outline:none; }
      .pin-dot{ stroke:#0a0d08; stroke-width:2.5; }
      .pin text{ fill:#06130a; font-family:"Barlow",sans-serif; font-weight:700; font-size:12px; text-anchor:middle; pointer-events:none; }
      .pin-ring{ fill:none; stroke:#a8e063; stroke-width:2.5; }
      .pin:focus .pin-dot, .pin:hover .pin-dot{ stroke:#a8e063; }
      #mapInfo{ margin-top:12px; border-top:1px solid var(--line); padding-top:12px; }
      .mi-main .who{ font-weight:700; color:#fff; font-size:16px; display:block; }
      .mi-main .addr{ color:var(--muted); font-size:13px; font-weight:500; }
      .mi-crews{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:10px; }
      .mi-lab{ font-size:10px; letter-spacing:1.6px; color:var(--muted); font-weight:700; }
      .crew-btn{
        display:inline-flex; align-items:center; gap:7px; background:var(--panel2); border:1px solid var(--line);
        color:var(--paper); font:inherit; font-weight:600; font-size:13px; padding:8px 12px; border-radius:7px; cursor:pointer;
      }
      .crew-btn:hover{ border-color:var(--green); }
      .crew-btn.is-active{ border-color:var(--lime); color:#fff; box-shadow:inset 0 0 0 1px var(--lime); }
      .small-btn{ margin-top:12px; padding:8px 14px; font-size:13px; }
      /* ---------- Friday wash bay ---------- */
      .wash-bay{ display:flex; flex-wrap:wrap; gap:10px; margin:14px 0 6px; }
      .wash-item{
        flex:1 1 140px; position:relative; overflow:hidden; background:var(--panel2);
        border:1px solid var(--line); border-radius:9px; padding:12px 10px 10px; cursor:pointer;
        color:var(--paper); font-family:inherit; text-align:center;
      }
      .wash-item:hover{ border-color:var(--green); }
      .wash-item.clean{ border-color:var(--green-deep); cursor:default; }
      .wash-item .grime{
        position:absolute; inset:0; pointer-events:none; opacity:.85; transition:opacity .6s;
        background-color:rgba(96,74,36,.20);
        background-image:
          radial-gradient(circle at 22% 30%, rgba(101,78,41,.9) 0 12px, transparent 13px),
          radial-gradient(circle at 72% 62%, rgba(101,78,41,.85) 0 16px, transparent 17px),
          radial-gradient(circle at 46% 84%, rgba(80,62,32,.85) 0 10px, transparent 11px),
          radial-gradient(circle at 86% 18%, rgba(101,78,41,.75) 0 8px, transparent 9px);
      }
      .wash-item.clean .grime{ opacity:0; }
      .wash-item .sprayfx{
        position:absolute; inset:0; pointer-events:none; opacity:0;
        background:repeating-linear-gradient(115deg, rgba(159,212,232,0) 0 10px, rgba(159,212,232,.35) 10px 12px, rgba(159,212,232,0) 12px 22px);
        background-size:220% 100%;
      }
      .wash-item.spraying .sprayfx{ opacity:1; animation:sprayMove .35s linear infinite; }
      @keyframes sprayMove{ from{ background-position:0 0; } to{ background-position:-44px 0; } }
      .wash-item.spraying .wicon{ animation:sprayShake .12s linear infinite alternate; }
      @keyframes sprayShake{ from{ transform:translateX(-1.5px); } to{ transform:translateX(1.5px); } }
      @media (prefers-reduced-motion: reduce){
        .wash-item.spraying .sprayfx{ animation:none; }
        .wash-item.spraying .wicon{ animation:none; }
      }
      .wash-item .wicon{ display:block; width:100%; height:60px; }
      .wash-item .wname{ display:block; font-family:"Oswald",sans-serif; font-weight:600; letter-spacing:1.2px; font-size:13.5px; margin-top:6px; color:#fff; }
      .wash-item .wstat{ display:block; font-size:10.5px; letter-spacing:1.6px; font-weight:700; color:var(--gold); margin-top:2px; }
      .wash-item.clean .wstat{ color:var(--lime); }
      .wash-prog{ display:block; height:6px; background:#232b1c; border-radius:3px; overflow:hidden; margin-top:8px; }
      .wash-prog i{ display:block; height:100%; width:0%; background:#57a7d8; }
      .wash-item.clean .wash-prog i{ background:var(--green); }
      /* ---------- Season banner / services / store / planner ---------- */
      .season-banner{ margin-top:14px; border:1px solid var(--green-deep); background:rgba(46,125,50,.10); border-radius:9px; padding:12px 14px; }
      .season-banner .sb-top{ display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; align-items:baseline; }
      .season-banner .sb-when{ font-family:"Oswald",sans-serif; font-weight:600; letter-spacing:1px; color:#fff; font-size:16px; }
      .season-banner .sb-bank{ font-weight:700; color:var(--lime); font-size:15px; white-space:nowrap; }
      .season-banner .sb-sub{ color:var(--muted); font-size:13px; margin-top:3px; line-height:1.45; }
      .svc-chips{ display:flex; flex-wrap:wrap; gap:5px; margin-top:5px; }
      .svc-chip{ font-size:10.5px; font-weight:700; letter-spacing:.6px; padding:2.5px 7px; border-radius:20px; border:1px solid var(--line); color:var(--muted); white-space:nowrap; }
      .svc-chip.due{ border-color:var(--gold); color:var(--gold); }
      .svc-chip.ok{ border-color:var(--green); color:var(--lime); }
      .svc-chip.done{ color:var(--muted); text-decoration:line-through; }
      /* store */
      .store-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:10px; margin-top:12px; }
      .store-item{ background:var(--panel2); border:1px solid var(--line); border-radius:9px; padding:14px; display:flex; flex-direction:column; gap:6px; }
      .store-item.owned{ border-color:var(--green-deep); }
      .store-item.soon{ opacity:.55; }
      .store-item .sicon{ width:100%; height:54px; }
      .store-item .sname{ font-family:"Oswald",sans-serif; font-weight:600; letter-spacing:.8px; font-size:15.5px; color:#fff; }
      .store-item .sdesc{ font-size:13px; color:var(--muted); line-height:1.4; flex:1; }
      .store-item .sfoot{ display:flex; justify-content:space-between; align-items:center; gap:8px; margin-top:4px; }
      .store-item .sprice{ font-weight:700; color:var(--lime); font-size:16px; }
      .store-item .btn{ margin-top:0; padding:8px 14px; font-size:13px; }
      .owned-tag{ font-weight:700; color:var(--lime); font-size:13px; letter-spacing:1px; }
      /* route planner */
      #planMapWrap svg{ width:100%; height:auto; display:block; border:1px solid var(--line); border-radius:9px; }
      .plan-days{ display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 4px; }
      .plan-day{ flex:1 1 120px; border:1px solid var(--line); border-radius:8px; padding:8px 10px; background:var(--panel2); cursor:pointer; font:inherit; text-align:left; color:inherit; }
      .plan-day:hover{ border-color:var(--green); }
      .plan-day .pd-name{ font-family:"Oswald",sans-serif; font-weight:600; letter-spacing:1px; font-size:13px; color:#fff; display:flex; align-items:center; gap:6px; }
      .plan-day .pd-meta{ font-size:12px; color:var(--muted); margin-top:2px; display:block; }
      .plan-day .pd-state{ font-size:11px; font-weight:700; letter-spacing:.6px; margin-top:3px; display:block; color:var(--muted); }
      .plan-day .pd-state.warn{ color:var(--gold); }
      .plan-day .pd-state.over{ color:var(--danger); }
      .plan-day .pd-state.ok{ color:var(--lime); }
      .plan-day .pd-hint{ font-size:10px; font-weight:700; letter-spacing:1.2px; margin-top:4px; display:block; color:#fff; }
      .plan-day.full{ border-color:var(--green); }
      .plan-day.low{ border-color:var(--gold); }
      .plan-day.over{ border-color:var(--danger); }
      .plan-row{ display:flex; align-items:center; gap:10px; padding:8px 2px; border-bottom:1px solid var(--line); }
      .plan-row.sel{ background:rgba(168,224,99,.07); }
      .plan-row .c-main{ flex:1 1 auto; min-width:0; display:flex; flex-direction:column; }
      .plan-row .who{ font-weight:700; color:#fff; font-size:14.5px; }
      .plan-row .addr{ color:var(--muted); font-size:12.5px; }
      .day-chips{ display:flex; gap:4px; flex:0 0 auto; }
      .day-chip{ background:transparent; border:1px solid var(--line); color:var(--muted); font:inherit; font-weight:700; font-size:11.5px; letter-spacing:.5px; padding:6px 8px; border-radius:6px; cursor:pointer; }
      .day-chip:hover{ color:#fff; border-color:var(--green); }
      .day-chip.on{ color:#06130a; }
      .plan-foot{ display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-top:14px; }
      .plan-foot .btn{ margin-top:0; }
      .plan-status{ flex:1 1 200px; font-size:13.5px; color:var(--muted); font-weight:600; }
      .plan-status.ready{ color:var(--lime); }
      @media (max-width:640px){ .day-chip{ padding:6px 6px; font-size:10.5px; } }
      .btn[disabled]{ opacity:.45; cursor:not-allowed; }
    