/* Coastal palette shared by every existing Little Wonder experience. Layout and logic stay in their original styles/scripts. */
:root,body,body.explorer-theme,body.birthday-expedition{--ink:#102445;--muted:#526372;--paper:#faf7f0;--coral:#006878;--line:#d6d9d3;--brass:#97703b;--forest:#005e6d}
body:not(.island-home){background:#faf7f0!important;background-image:radial-gradient(ellipse at 95% 0%,#dbeaf13d,transparent 40%)!important;color:#102445!important}
body .world-header,body header:not(.map-header){border-color:#d8d7cc!important;background:#faf7f0!important}
body .brand,body.explorer-theme .brand,body.birthday-expedition .brand{display:inline-flex;align-items:center;gap:10px;font:bold clamp(21px,2.4vw,28px) Georgia,serif!important;color:#081a45!important;letter-spacing:-1px!important;white-space:nowrap}
body .brand span{display:inline!important;font:inherit!important;letter-spacing:inherit!important;margin:0!important}.coastal-compass{width:36px;height:36px;flex:none}.brand em{color:inherit!important}
body .world-nav a{color:#102445!important;border-radius:5px!important}.world-nav a:hover{background:#e7eeed!important}.world-nav a[aria-current=page],body.explorer-theme .world-nav a[aria-current=page],body.birthday-expedition .world-nav a[aria-current=page]{background:#075f7c!important;box-shadow:none!important;color:#fff!important}
body h1,body h2,body h3,body h4{color:#081a45!important;font-family:Georgia,'Times New Roman',serif}body h1 em,body h2 em{color:#006878!important}
body .lead,body .world-help,body .hint,body .sectionnote,body .numbers-intro,body .trust,body .note{color:#526372!important}
body .eyebrow,body .world-kicker,body .kicker{color:#8b622c!important}
body .world-hero,body .games-hero,body .editorial-title,body.birthday-expedition .intro{background:linear-gradient(110deg,#fffdf7,#eaf3f4)!important;border-color:#d4d9d5!important;box-shadow:0 12px 35px #10244506!important}
body .intro:before,body .intro:after,body .world-hero:before,body .world-hero:after,body .games-hero:before{display:none!important}.exp-route{opacity:.12!important}
body .entry,body .world-form,body .world-panel,body .world-intro-card,body .world-empty,body .world-stat,body .name-record-card,body .place-choice,body .factcard,body .numbercard,body .teasergrid article,body .birthday-detail,body .world-choices button,body .calc-panel,body .calculator,body .area-panel{background:#fffdf8!important;border-color:#d8d8cb!important;color:#102445!important;box-shadow:0 6px 20px #10244505!important}
body .world-next,body .daily-promo,body .context-links,body .story-continues,body .building-comparison{background:#eaf2f1!important;color:#102445!important;border-color:#c8d9d8!important}
body .world-next-grid a,body .journal-widget,body .search-explainer{background:#fffdf8!important;border-color:#d6d9d3!important}
body button:not(.map-stage button):not(.home-legal button):not(.lw-report-trigger):not(.lw-report-close):not(.lw-cookie-close):not(.sudoku-cell):not(.memory-card):not(.spot-cell):not(.sol-card),body #birthform button,body .world-form button[type=submit]{background-color:#006878;color:#fff;border-color:#006878}
body button.secondary,body button.demo,body button.textbutton,body .filters button,body .world-examples button,body .numbers-tabs button,body .calc-tabs button{background:#fffdf8!important;color:#005e6d!important;border-color:#a8bcc0!important}
body .filters button[aria-pressed=true],body button[role=tab][aria-selected=true]{background:#006878!important;color:#fff!important;border-color:#006878!important}
body input:not([type=checkbox]):not([type=range]),body select,body textarea{background:#fffefa!important;color:#102445!important;border-color:#9cabb0!important}
body .adspace{background:#f0efeb!important;border-color:#baa98d!important;border-radius:3px!important;color:#59616b!important}
body a:focus-visible,body button:focus-visible,body input:focus-visible,body select:focus-visible{outline:3px solid #00788a;outline-offset:3px}
body.birthday-expedition .exp-card-art{background-image:linear-gradient(90deg,#002f3b22,#002f3b11),url('/images/coastal-birthday.webp')!important;background-size:cover!important;background-position:center!important}.exp-card-art span{color:#fff!important;text-shadow:0 1px 3px #102445}.exp-seal{background:#fff5df!important;color:#916630!important}
body .birthday-detail summary{color:#102445!important}body footer{border-color:#d6d9d3!important;color:#102445!important}
@media(max-width:750px){body .world-header{padding:16px 20px!important;gap:14px!important}.world-nav{gap:3px!important}.world-nav a{min-height:40px;display:inline-flex;align-items:center}.coastal-compass{width:30px;height:30px}body.birthday-expedition .intro{margin:0!important;padding:25px 20px!important;gap:24px!important}body .entry,body .world-form{padding:22px!important}.world-header .brand{white-space:normal}body h1{overflow-wrap:break-word}}
body.birthday-expedition #birthform button[type=submit],body.explorer-theme .world-form button[type=submit],body.explorer-theme .calc-actions button,body.birthday-expedition .shareactions button:not(.secondary):not(.textbutton){background:#006878!important;background-image:none!important;border-color:#005965!important;color:white!important;box-shadow:0 2px 0 #004451!important}
body.explorer-theme .journal-widget,body.explorer-theme .lw-data-notice,body.birthday-expedition .journal-card,body.birthday-expedition .lw-data-notice{background:#fffdf8!important;border-color:#d6d9d3!important}
body.explorer-theme :focus-visible,body.birthday-expedition :focus-visible{outline:3px solid #00788a!important}
.island-home .home-legal .lw-report-trigger{display:none}
body.explorer-theme .number-panel,body.explorer-theme .wonder-panel,body.explorer-theme .number-discoveries,body.explorer-theme .time-section,body.explorer-theme .numbers-crosslink,body.explorer-theme .game-panel,body.explorer-theme .game-shell,body.explorer-theme .game-card,body.explorer-theme .sky-panel{background:#fffdf8!important;background-image:none!important;border-color:#cbd6d6!important;color:#102445!important}
body.explorer-theme .numbers-nav a,body.explorer-theme .other-games a,body.explorer-theme .calculator-keys button,body.explorer-theme .world-examples button{background:#e8f1f1!important;color:#064e5d!important;border-color:#b4c8ca!important}
body.explorer-theme .calculator-keys .calc-operator,body.explorer-theme .equals-key{background:#006878!important;color:white!important}
body #area .area-sheet{background:#eef5f3!important;border-color:#aac4c7!important}body #area .area-result output,body .number-result,body .name-record-card strong,body .comparisonline{color:#006878!important}
body.explorer-theme .playing-card.card-back{background:repeating-linear-gradient(45deg,#075368 0px,#075368 5px,#248496 5px,#248496 7px)!important;border-color:#c3a875!important}
body.explorer-theme .memory-card:not(.face-up):not(.matched){background:#006878!important;border-color:#c2a270!important}
body.explorer-theme .cell:not(.found):not(.reveal):not(.miss),body.explorer-theme .sudoku-art{background:#fffdf8!important;color:#102445!important}
body.explorer-theme .cards>.card,body.explorer-theme .editorial-intro,body .sky-controls,body .sky-panel,body .moon-panel,body .sky-planet,body .sky-stats article,body.birthday-expedition .milestones,body.birthday-expedition .signssection{background:#fffdf8!important;background-image:none!important;border-color:#b9cecf!important;color:#102445!important}
body.explorer-theme .cards>.card:nth-child(even){background:#edf4f3!important}
body.explorer-theme .letterart b,body.explorer-theme .tiles b,body .sky-page thead,body .sky-selected-date,body .sky-jumps a,body.explorer-theme .then-now-jumps a,body .birthday-expedition .jump{background:#e8f1f1!important;color:#102445!important;border-color:#b6cccc!important}
body .sky-stats article{border-top-color:#006878!important}body .sky-note,body .sky-controls label{color:#526372!important}
body .celestial-art{background:#edf4f3!important;border-color:#b3c8c9!important;box-shadow:7px 9px 0 #c8d7d770!important}
body.explorer-theme .sudoku-cell:not(.selected):not(.related):not(.error){background:#fffdf8!important;color:#102445!important}body.explorer-theme .sudoku-cell.given:not(.selected):not(.related):not(.error){background:#e8f1f1!important}
body.explorer-theme .memory-card.face-up{background:#fffdf8!important;color:#102445!important}
body.explorer-theme .button,body.explorer-theme .editorial-cta{background:#006878!important;color:#fff!important;border-color:#006878!important}
