/* Theme page chrome and controls only; retain game artwork, canvases and status colours. */
body[data-sleep-theme]{--head:Manrope,sans-serif;--body:Manrope,sans-serif;--bg:#080a0c;--panel:#111518;--panel-2:#171c21;--line:#252a2e;--cyan:#00a8ff;--muted:#a0aaaf;background:var(--bg);color:#f4f7f8}
body[data-sleep-theme] main{scroll-margin-top:100px}
body[data-sleep-theme] main h1{font-family:Manrope,sans-serif!important;font-style:normal!important;font-weight:800!important;text-transform:none!important;letter-spacing:-.045em!important;line-height:1.16!important}
body[data-sleep-theme] main :is(h2,h3){font-family:Manrope,sans-serif;font-style:normal;text-transform:none;letter-spacing:-.025em}
body[data-sleep-theme] :is(.sleep-card,.game-card,.law-feature-grid>*,.law-tonight,.maze-card,.maze-feature,.maze-info){background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:none}
body[data-sleep-theme] .sleep-card::before{display:none}
body[data-sleep-theme] .sleep-card:hover,body[data-sleep-theme] .sleep-card:focus-within{border-color:var(--cyan);box-shadow:none}
body[data-sleep-theme] .sleep-card__media{border-color:var(--line);background:var(--bg)}
body[data-sleep-theme] .sleep-card__tags li{color:#65caff;border-color:#00a8ff30;background:#00a8ff10}
body[data-sleep-theme] .game-head{background:var(--panel);border-color:var(--line)}
body[data-sleep-theme] :is(.g-btn,.maze-controls button){font-family:Manrope,sans-serif;border-radius:8px;border-color:#343b3e;box-shadow:none}
body[data-sleep-theme] .doc .sleep-card h2 .sleep-card__link{color:#f4f7f8}
body[data-sleep-theme] .sleep-strip{background:var(--panel);border-color:var(--line);border-radius:13px;box-shadow:none}
body[data-sleep-theme] .maze-wrap{padding-top:48px}
body[data-sleep-theme] .sleep-card p{overflow-wrap:anywhere}
@media(max-width:600px){body[data-sleep-theme] .maze-wrap{padding-top:32px}body[data-sleep-theme] .sleep-card__body{padding:24px 20px}}
@media(prefers-reduced-motion:reduce){body[data-sleep-theme] .sleep-card{transition:none}body[data-sleep-theme] .sleep-card:hover{transform:none}}