/* Color families mark destinations; text and selected outlines remain explicit. */
#menuScr .box,#title .box,#dailyNewsScr .daily-news-box{background:#f8f5e9;color:#344f48;border:2px solid #96b4a1;box-shadow:0 12px 32px #183c4633}
#menuScr h2,#menuScr h3,#menuScr summary,#menuScr .menu-eyebrow{color:#365d50}
#menuScr .menu-section{background:#edf2e4;border-color:#bdcdb0}#menuScr .menu-section:nth-of-type(2){background:#e6eff1;border-color:#aec7ce}#menuScr details.menu-section{background:#efe9dc;border-color:#c9bca6}
#menuScr .btn{background:#fffdf5;color:#36564a;border-color:#b9cbb4;box-shadow:0 2px 0 #c7d4be;border-radius:13px}#menuScr .btn small{color:#586e63}
#menuScr .menu-card{border-left:5px solid #95b68b}#menuScr .menu-card:nth-child(3n+2){background:#e6f0f5;border-color:#9dbfcd}#menuScr .menu-card:nth-child(3n){background:#f7ead8;border-color:#d6b38b}
#menuScr #bLife,#menuScr #bStory{background:#f2e5eb;border-color:#caa3b3}#menuScr #bFriends{background:#e9e5f3;border-color:#b5a6cc}#menuScr .menu-badge{color:#4c6d60}
#title{background:linear-gradient(#4d9de4,#d4eaff)}#title .title-logo{background:#e1eeff;border-color:#9bbce1}#title .title-logo .big{color:#385d4b;text-shadow:none}#title .title-logo .sub{color:#536e5a}
#title .btn,#title .home-choice.pri{box-shadow:0 3px #bccdad;color:#355646;background:#dcebd2;border:1px solid #a0bd90}#title #bNew{background:#e0edf3;border-color:#a2bfcc;box-shadow:0 3px #b6cbd2}#title #bTutorial{background:#f6e4ca;border-color:#d6b88e;box-shadow:0 3px #ddc6a7}#title #bHelp{background:#eae4f1;border-color:#baaacc;box-shadow:0 3px #cfc2da}
#title .home-choice strong{color:#334e43}#title .home-choice small,#title .home-arrow,#title .acct,#title .muted,#title .sub{color:#53685d}#title .acct{background:#f0eee2;border-color:#b7c6ae}#title .acct button{background:#e1ebe2;color:#365d4b;border-color:#9db6a0}
#title .btn:hover{filter:brightness(.98)}#title .language-picker,#title label{color:#476555}#title select{background:#fffdf4;color:#345247;border-color:#a0b79c}
#dailyNewsScr header{background:#f8f5e9;border-bottom:1px solid #d2d8c1}#dailyNewsScr header strong,#dailyNewsScr h2{color:#456447}#dailyNewsScr .news-host{background:#e4eed9;color:#365441}
#dailyNewsScr .news-guest{background:#e5eff3;border-color:#b2cbd3;color:#354f5a}#dailyNewsScr .news-page,#dailyNewsScr .news-note{color:#5b7065}#dailyNewsScr .news-page{display:inline-block;padding:3px 12px;border-radius:20px;background:#e6ead8}
#dailyNewsScr .news-speech{background:#f8e7cc;border-color:#d4af77;color:#654e36}#dailyNewsScr .news-hint-label{background:#f0ddbb;color:#654e36;border-color:#d8bc8b}
#dailyNewsScr .btn{background:#dfebd7;color:#3c5d48;border-color:#9eb994;border-radius:13px}#dailyNewsScr .news-close{background:#e7ede3;color:#4a6658;border-color:#b4c7ac}
#menuScr .btn:focus-visible,#title .btn:focus-visible,#dailyNewsScr .btn:focus-visible{outline:3px solid #936245;outline-offset:2px}

#title .btn:hover,#title .home-choice.pri:hover{background:#dcebd2;color:#355646}
#menuScr .menu-card strong,#menuScr .menu-card span,#menuScr .btn strong,#menuScr .btn .menu-icon{color:#35594c}#menuScr #bPondBoard{background:#dfead7;color:#35594c;border-color:#a8bd9a}#menuScr #bPondBoard small{color:#536b5b}
#title #cloudNote,#title #acctHint{color:#58705f}#title #cloudNote{font-size:12px}
/* Illustrated menus: pond greens, paper cream, and readable item cards. */
:is(#mapScr,#pickScr,#homeWarpScr) .box{--ink:#345448;--muted:#526d60;--acc:#855e28;--ok:#3b704b;--panel2:#fffdf4;--line:#b5c8af;background:#f8f5e9;color:#345448;border:2px solid #96b4a1;border-radius:22px;box-shadow:0 12px 32px #183c4633}
:is(#menuScr,#mapScr,#pickScr,#homeWarpScr,#storyScr) .box{width:min(600px,100%);padding:18px;scrollbar-color:#93b3a0 #eef0df}
:is(#mapScr,#pickScr,#homeWarpScr) h2{color:#365d50;font-size:22px;line-height:1.5;padding-right:45px}
:is(#mapScr,#pickScr,#homeWarpScr) h3{color:#456948;font-size:17px}
:is(#mapScr,#pickScr,#homeWarpScr) .box p{font-size:15px;line-height:1.75}
:is(#mapScr,#pickScr,#homeWarpScr) .btn{background:#e5eedb;color:#345448;border:1px solid #a1b994;border-radius:12px;font-size:16px;min-height:46px;line-height:1.6}
:is(#mapScr,#pickScr,#homeWarpScr) .btn small{color:#526d60;font-size:13px}
:is(#mapScr,#pickScr) .list{gap:10px}
:is(#mapScr,#pickScr) .item{background:#fffdf4;border:1px solid #bdcdb4;border-radius:15px;padding:12px;gap:12px;font-size:16px;line-height:1.55}
:is(#mapScr,#pickScr) .item small{font-size:13px;line-height:1.65;color:#526d60;margin-top:5px}
#mapScr .item[data-open=false]{background:#eeeade;border-color:#c7bca4}
#mapScr .item .btn{margin:0;background:transparent;border:0;padding:0;min-height:36px;font-weight:700;font-size:17px;white-space:normal}
#mapScr details{padding:12px;border:1px solid #b6c8b0;border-radius:13px;background:#e7efdf}#mapScr summary{font-size:15px;line-height:1.7;cursor:pointer}
#mapScr .muted.small{padding:12px;background:#e5eef0;border-radius:13px;color:#405f62;font-size:14px}
#pickScr .item:has(.ic){display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:6px 12px;align-items:start}
#pickScr .item .ic{width:40px;height:40px;padding:5px;background:#e8eedb;border-radius:10px;grid-column:1;grid-row:1 / 3;box-sizing:border-box}
#pickScr .item .nm{grid-column:2 / 4;grid-row:1;font-size:17px;font-weight:700}
#pickScr .item .nm small{font-weight:400}
#pickScr .item .q{grid-column:2;grid-row:2;align-self:center;font-size:15px;color:#785726}
#pickScr .item>button.pri{grid-column:3;grid-row:2;min-height:42px;font-size:15px;background:#dceccf;color:#345a3d;border:1px solid #85aa78;border-radius:10px;padding:6px 16px}
#pickScr #stockQuantity{background:#fffdf4!important;color:#345448!important;border-color:#a1b994!important}
#pickScr .item button{background:#e5eedb;color:#345448;border-color:#a1b994;font-size:17px}
.menu-picture{display:block;width:56px;height:48px;object-fit:contain;image-rendering:pixelated;flex:none;background:#e5ecd6;border-radius:11px;padding:3px;box-sizing:border-box}
#menuScr .menu-card{flex-direction:row;align-items:center;gap:12px;padding:13px;min-height:94px}
#menuScr .menu-card>span:last-child,#menuScr .menu-copy{min-width:0;flex:1}
#menuScr .menu-card strong{font-size:17px;line-height:1.6;word-break:normal;overflow-wrap:break-word}
#menuScr .menu-card small{font-size:13px;line-height:1.65;margin-top:4px}
#menuScr .warp-word{display:inline-block;white-space:nowrap}
#menuScr .pictured-action:not(.menu-card),#homeWarpScr .pictured-action{display:flex;align-items:center;gap:12px;font-size:16px;line-height:1.6}
#menuScr .pictured-action:not(.menu-card) small{font-size:13px}
.scr .illustrated-close{position:sticky;top:0;float:right;z-index:2;display:grid;place-items:center;width:40px;min-height:40px;height:40px;margin:0 0 6px 8px;padding:0;border-radius:12px;font-size:28px;line-height:1;background:#e5eedb;color:#345448;border:1px solid #9ab293;box-shadow:none}
:is(#mapScr,#pickScr,#homeWarpScr) button:focus-visible{outline:3px solid #a16f39;outline-offset:2px}
#areaMapDialog .btn{background:#e5eedb;color:#345448;border-color:#a1b994}#areaMapDialog .muted{color:#526d60}
@media(max-width:520px){#menuScr .card-grid{grid-template-columns:1fr}#menuScr .menu-section{padding:10px}#menuScr .menu-card{min-height:82px}#menuScr .menu-picture{width:52px;height:46px}:is(#menuScr,#mapScr,#pickScr,#homeWarpScr,#storyScr) .box{padding:14px}}
.illustrated-close-bar{position:sticky;top:-14px;z-index:4;display:flex;justify-content:flex-end;min-height:44px;background:inherit;padding:4px 0;clear:both}
.scr .illustrated-close-bar .illustrated-close{position:static;float:none;margin:0}
#pWater{touch-action:none}
#abductionScr .abduction-box{position:relative;max-width:560px;background:#f8f5e9;color:#35564a;border:3px solid #96b4a1;border-radius:22px;padding:18px}
#abductionScr h2{color:#385f4e;font-size:20px;padding-right:46px;line-height:1.6}
#abductionScr canvas{display:block;width:100%;height:auto;image-rendering:pixelated;border:3px solid #557b6c;border-radius:12px;box-sizing:border-box}
#abductionScr p{font-size:17px;line-height:1.6;min-height:3.2em;margin:12px 0}
#abductionScr .abduction-close{position:absolute;right:14px;top:12px;width:40px;height:40px;display:grid;place-items:center;background:#e5eedb;color:#345448;border:1px solid #9ab293;border-radius:12px;font-size:28px;padding:0}
#abductionScr .abduction-skip{background:#e5eedb;border-color:#9ab293;color:#345448;font-size:16px;text-align:center}

.scr .box[data-close-pair] [data-close][hidden]{display:none!important}

.scr.is-behind .illustrated-close-bar{visibility:hidden}

/* Item quantities remain readable beside long names and action buttons. */
.item .q,#pickScr .item .q{font-size:20px;font-weight:700;line-height:1.4;flex-shrink:0;font-variant-numeric:tabular-nums}
#visitedWarpScr .box{background:#faf7ea;color:#345448;border-color:#9ab293}#visitedWarpList{display:grid;gap:10px}#visitedWarpList .pictured-action{background:#e5eedb;color:#345448;border-color:#9ab293;text-align:left}
