/* Premium editorial redesign with explicit contrast-safe component colors */
:root{--color-ink:#18251f;--color-muted:#59675f;--color-teal:#176449;--color-teal-dark:#104d3a;--color-teal-deep:#102e25;--color-mint:#eff3ed;--color-mint-2:#dce7d9;--color-cream:#f4f3ee;--color-paper:#fffefa;--color-line:#dedfd6;--color-coral:#a94734;--color-orange:#8b551e;--color-peach:#f3e9dc;--color-gold:#d7bb78;--color-gold-deep:#62491b;--accent:#d6e9a4;--r-sm:12px;--r-md:18px;--r-lg:26px;--shadow-card:0 12px 34px -22px #14291f55;--font-sans:'Nunito','Trebuchet MS',system-ui,sans-serif;--font-display:'Nunito','Trebuchet MS',system-ui,sans-serif}
html{color-scheme:light}body{background:#f4f3ee!important;color:#18251f;letter-spacing:0}
.topbar{background:#102e25!important;color:#fffefa!important;box-shadow:0 8px 28px -18px #0b1e16!important}.topbar button,.topbar a{color:#fffefa}
.brand-mark{background:#d6bb78!important;color:#102e25!important;box-shadow:none!important}
.hero-card{background:#143b2d!important;color:#fffefa!important;border:1px solid #264e3d!important;border-radius:26px!important;box-shadow:0 20px 46px -28px #112a20aa!important;padding:clamp(1.35rem,3vw,2.3rem)!important;position:relative}
.hero-card:after{content:'';position:absolute;width:290px;height:290px;border-radius:50%;right:-105px;top:-150px;border:1px solid #ffffff20;box-shadow:0 0 0 32px #ffffff08,0 0 0 64px #ffffff05;pointer-events:none}
.hero-card .eyebrow{color:#e5cd8e!important;font-size:.72rem;letter-spacing:.16em;font-weight:800}.hero-card h1{font-size:clamp(2rem,5vw,3.45rem)!important;letter-spacing:-.055em;line-height:1.03;color:#fffefa!important}.hero-sub{color:#dbe7db!important;font-size:clamp(1rem,2vw,1.35rem)!important;font-weight:700}.hero-lead{color:#e1e9e1!important;max-width:44rem;line-height:1.7}
.hero-scene{background:#e7e7dc!important;border:1px solid #ffffff30!important;border-radius:20px!important;overflow:hidden}.deco.sun{color:#b28a35!important}.scene-badge{color:#17392a!important;background:#fffefa!important;border:1px solid #e8e5d8!important;box-shadow:0 12px 30px -18px #0007!important}
/* Tags are used outside the hero too: keep their default dark-on-light contrast. */
.tag{background:#eef1e9!important;color:#234634!important;border:1px solid #d9e2d6!important;border-radius:999px!important;font-weight:800!important;padding:.48rem .82rem!important}
.hero-card .tag{background:#ffffff12!important;color:#fffefa!important;border:1px solid #ffffff3d!important}.hero-card .tag:hover{background:#ffffff24!important}
.updated{color:#dce8dc!important}
.panel,.card,.fold,.tile,.rec,.game,.comment,.empty,.goals,.admin-card,.sidenote{background:#fffefa!important;color:#18251f!important;border:1px solid #e3e2d9!important;border-radius:20px!important;box-shadow:0 10px 32px -24px #203b2c55!important}
.panel{padding:clamp(1rem,2.6vw,1.55rem)!important}.panel h2{color:#18251f!important;letter-spacing:-.025em}.sub,.tiny,.muted,.hint{color:#59675f!important}
.nav-btn{border-radius:13px!important;min-height:2.8rem!important;font-weight:700!important;color:#24352c!important}.nav-btn.is-active{background:#176449!important;color:white!important;box-shadow:0 5px 12px -8px #134a37!important}.nav-label{color:#765b29!important;letter-spacing:.14em!important}
.btn{background:#176449!important;color:#fffefa!important;border:1px solid #176449!important;border-radius:12px!important;box-shadow:none!important}.btn-secondary{background:#edf0e9!important;color:#1d4735!important;border:1px solid #d5ded2!important;border-radius:12px!important}.btn-ghost,.icon-btn{color:#244b38!important;border-radius:12px!important}
button,a,.nav-item{transition:transform .18s ease,background .18s ease,box-shadow .18s ease}button:hover,.btn:hover{transform:translateY(-1px);box-shadow:0 8px 20px -14px #102e25!important}button:disabled{opacity:.55;cursor:not-allowed;transform:none!important;box-shadow:none!important}
input,textarea,select{background:#fffefa!important;color:#18251f!important;border:1px solid #cfd5cb!important;border-radius:12px!important}input::placeholder,textarea::placeholder{color:#68756c!important;opacity:1!important}
:focus-visible{outline:3px solid #9a742d!important;outline-offset:3px}.bottom-nav{background:#fffefa!important;border-top:1px solid #dedfd6!important;box-shadow:0 -8px 24px -22px #17281f!important}.bottom-nav button{color:#42554a!important}.bottom-nav button.is-active{color:#13563e!important}
/* ensure secondary surfaces never inherit pale-on-white combinations */
.badge,.pill{color:#284a36!important}.search-hit{color:#18251f!important;background:#fffefa!important}.poll-opt,.check{color:#18251f!important;background:#f7f7f1!important}
.page-in{animation:quiet-in .28s ease-out both}@keyframes quiet-in{from{opacity:.55;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media(max-width:700px){.hero-card{border-radius:22px!important}.hero-scene{min-height:11rem}}

