/*
Theme Name: まちひらり
Description: 地域情報PWAのスタイリッシュUI。まちひらり Core と連携します。
Version: 0.5.7
Requires at least: 6.4
Requires PHP: 7.4
Author: 合同会社埼玉マガジン
Text Domain: machihirari
*/
:root{--blue:#086cc5;--ink:#203648;--muted:#526576;--line:#dce5ee;--pale:#d8eaff;--green:#155b37;--gold:#694200}*{box-sizing:border-box}body{margin:0;background:#edf5ff;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;line-height:1.65}button,input,select{font:inherit;color:inherit}button,a,select{touch-action:manipulation}button{cursor:pointer}a{color:var(--blue);text-decoration:none}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3899db;outline-offset:3px}button{background:white;border:1px solid var(--line);border-radius:12px;padding:10px 14px}button:disabled{opacity:.55;cursor:default}.mh-shell{max-width:760px;margin:auto;background:white;min-height:100dvh;padding-bottom:calc(84px + env(safe-area-inset-bottom));box-shadow:0 0 32px #18435a09}.mh-header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--line);background:white}.mh-logo{display:block;width:174px;height:auto}.mh-header button{border:none;padding:9px;background:var(--pale)}.mh-main{padding:16px 18px}.mh-location{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px;font-size:14px}.mh-location button{padding:6px 10px;border:0;color:var(--blue);background:var(--pale);font-weight:700}.mh-date,.mh-muted{font-size:12px;color:var(--muted)}.mh-weather{background:#116eb9;border:1px solid #0e65ad;color:#fff;border-radius:20px;padding:18px}.mh-weather h2{font-size:14px;margin:0;color:#fff}.mh-quick h2{font-size:14px;margin:0;color:var(--ink)}.mh-weather-main{display:flex;gap:12px;align-items:center;margin:8px 0}.mh-weather-icon{font-size:44px;line-height:1;color:#ffdf77}.mh-weather-text{font-size:23px;font-weight:750}.mh-weather a{font-size:13px;color:#fff;text-decoration:underline}.mh-weather .mh-muted{color:#fff}.mh-weather button{background:#fff;color:#095b9e;border:1px solid #fff;font-weight:700}.mh-weather :focus-visible{outline-color:#ffdf77}.mh-quick{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0 20px}.mh-quick button{display:flex;align-items:center;text-align:left;gap:10px;min-height:80px;background:#ffdf77;color:var(--gold);border:0;padding:12px}.mh-quick button+button{background:#a9e7bb;color:var(--green)}.mh-quick b{display:block;font-size:14px}.mh-quick small{display:block;font-size:11px;color:inherit}.mh-quick .mh-icon{width:28px;height:28px;color:var(--gold);flex-shrink:0}.mh-quick button+button .mh-icon{color:var(--green)}.mh-tabs{display:flex;overflow-x:auto;gap:20px;scrollbar-width:none;border-bottom:1px solid var(--line);margin:0 -18px;padding:0 18px;position:sticky;top:0;background:white;z-index:3}.mh-tabs button{border:none;background:none;white-space:nowrap;padding:12px 0 10px;border-radius:0;border-bottom:4px solid transparent;font-size:14px;color:var(--muted)}.mh-tabs button[aria-selected=true]{border-color:var(--blue);font-weight:700;color:var(--blue)}.mh-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 0 5px}.mh-heading h1,.mh-heading h2{font-size:19px;margin:0;letter-spacing:.02em}.mh-feed{list-style:none;margin:0;padding:0}.mh-article{border-bottom:1px solid var(--line);padding:15px 0}.mh-article a{display:flex;align-items:flex-start;gap:14px;color:var(--ink)}.mh-copy{flex:1;min-width:0}.mh-label{font-size:11px;color:var(--blue);font-weight:700}.mh-title{font-size:16px;font-weight:700;line-height:1.5;margin:4px 0 6px;overflow-wrap:anywhere}.mh-thumb{width:104px;height:79px;object-fit:contain;background:#f3f7fa;border-radius:8px;flex-shrink:0}.mh-placeholder{display:flex;align-items:center;justify-content:center;color:#89a6b7}.mh-empty{padding:26px 10px;text-align:center;color:var(--muted);font-size:14px}.mh-nav{position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,760px);background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);padding:7px 2px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 15px #183e5010}.mh-nav button{border:0;background:transparent;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:11px;gap:3px;padding:5px 0;color:#526576;min-height:50px}.mh-nav button[aria-current=page]{color:var(--blue);background:var(--pale);font-weight:700}.mh-icon{width:23px;height:23px;display:block;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mh-panel[hidden],[hidden]{display:none!important}.mh-settings{display:grid;gap:12px}.mh-settings label{font-weight:700;font-size:14px}.mh-settings input,.mh-settings select{display:block;width:100%;border:1px solid #c7dbe6;border-radius:10px;background:white;padding:10px;margin-top:4px}.mh-primary{background:var(--blue);color:white;border:none;font-weight:700}.mh-info{padding:14px;border-radius:12px;background:#f2f7fa;font-size:13px;color:#465d6e}.mh-footer{font-size:12px;color:var(--muted);text-align:center;padding:22px 18px}.mh-footer a{margin:0 8px}.mh-standard{max-width:760px;margin:auto;padding:24px;background:#fff;min-height:100vh}.mh-standard img{max-width:100%;height:auto}.mh-standard h1{font-size:25px}@media(min-width:600px){.mh-main{padding:22px 28px}.mh-tabs{margin:0 -28px;padding:0 28px}.mh-thumb{width:136px;height:96px}.mh-title{font-size:17px}}

/* v0.1.1: B palette, consistent active states and keyboard focus */
.mh-header button{color:var(--blue)}
.mh-tabs button[aria-selected=true]{font-weight:750}
.mh-heading h1,.mh-heading h2{color:var(--ink);font-weight:750}
.mh-nav button[aria-current=page] .mh-icon{stroke-width:2.1}
.mh-primary{background:var(--blue);color:#fff}
.mh-location button:hover,.mh-header button:hover{background:#c6e0fb}

/* v0.5.0 region selector */
.mh-region-intro{text-align:center;padding:12px 8px 22px}.mh-region-mark{display:inline-grid;place-items:center;width:58px;height:58px;border-radius:50%;background:var(--pale);color:var(--blue);font-size:36px;font-weight:700;line-height:1}.mh-region-intro h2{margin:10px 0 4px;font-size:22px}.mh-region-intro p{margin:0;color:var(--muted);font-size:14px}.mh-settings{gap:8px}.mh-settings select{min-height:50px;margin:0 0 6px;font-size:16px;border-color:#a9c9e5}.mh-settings select:disabled{background:#f1f5f9;color:#526576}.mh-region-status{font-size:13px;color:var(--muted);min-height:1.4em;margin:0}.mh-settings .mh-primary{min-height:50px;margin-top:5px}.mh-settings button:disabled{opacity:.55}.mh-location button{max-width:78%;text-align:left;overflow-wrap:anywhere}.mh-date{flex-shrink:0}
/* Weather v0.5.0 */
.mh-weather-actions,.mh-wtabs{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 0}.mh-weather-actions button{flex:1;min-width:110px;font-size:14px;padding:9px}.mh-wsummary{display:grid;gap:3px;font-size:14px;margin:12px 0}.mh-hourly{display:flex;gap:8px;overflow-x:auto;padding:9px 0;scroll-snap-type:x proximity}.mh-hour{flex:0 0 88px;text-align:center;display:grid;align-content:start;gap:4px;padding:6px 4px;border-radius:10px;background:#edf5ff;color:#203648;scroll-snap-align:start}.mh-hour small{font-size:11px;line-height:1.4}.mh-weather .mh-hour{background:#ffffff20;color:#fff}.mh-wemoji{font-size:30px;line-height:1.3}.mh-wsource{font-size:12px;color:#526576;display:block;line-height:1.6}.mh-weather .mh-wsource{color:#e2efff}.mh-wtabs{margin:10px 0 18px}.mh-wtabs button{flex:1;font-size:13px;padding:9px 4px;border-color:#c7dbe6;color:#086cc5;background:#edf5ff;font-weight:700}.mh-wtabs button[aria-selected=true]{background:#086cc5;color:#fff;border-color:#086cc5}.mh-wcard{border:1px solid #dce6ef;border-radius:14px;background:#fff;padding:14px;margin:12px 0}.mh-wcard h2,#mh-weather-weekly h2{font-size:17px;margin:0 0 8px}.mh-wday{display:grid;grid-template-columns:40px 38px 1fr;align-items:center;gap:5px 9px;padding:12px 0;border-top:1px solid #dce6ef}.mh-wday div:nth-of-type(2),.mh-wday small{grid-column:3}.mh-week{display:grid;grid-template-columns:repeat(7,minmax(48px,1fr));overflow-x:auto;gap:4px}.mh-weekday{display:grid;justify-items:center;align-content:start;gap:5px;padding:8px 1px;background:#edf5ff;border-radius:8px;font-size:12px}.mh-weekday .mh-wemoji{font-size:23px}.mh-high{color:#c84335;font-weight:700}.mh-low{color:#146db4;font-weight:700}.mh-wcard svg{width:100%;display:block}.mh-wselect{display:block;width:100%;padding:8px;border:1px solid #a9c9e5;border-radius:8px;background:white}.mh-rmap{height:320px;position:relative;overflow:hidden;border-radius:14px;background:#e5eaf0;isolation:isolate}.mh-rtilelayer{position:absolute;inset:0}.mh-rtile{position:absolute;width:256px;height:256px}.mh-rtile img{position:absolute;inset:0;width:256px;height:256px;max-width:none;display:block}.mh-rtile .mh-rain{opacity:.7}.mh-rpin{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-weight:bold;font-size:25px;color:#082e50;text-shadow:0 0 3px white;pointer-events:none}.mh-rrange{width:100%;margin:16px 0 8px;accent-color:#086cc5}.mh-rcontrols{display:flex;gap:5px;flex-wrap:wrap}.mh-rcontrols button{font-size:13px;padding:7px 10px}.mh-rtime{font-weight:700;font-size:16px}.mh-radarlink{display:inline-block;margin:8px 0}.mh-shell{padding-bottom:calc(100px + env(safe-area-inset-bottom))}@media(max-width:370px){.mh-wcard{padding:10px}.mh-week{grid-template-columns:repeat(7,45px)}.mh-weather{padding:14px}}
/* v0.5.0 weather + life */
.mh-life-home{border:1px solid var(--line);border-radius:16px;padding:12px;margin:12px 0;background:#fff}.mh-life-heading{display:flex;align-items:center;justify-content:space-between;gap:6px}.mh-life-heading h2{font-size:16px;margin:0}.mh-life-heading button{border:0;color:var(--blue);font-weight:700;font-size:12px;padding:5px;background:none}.mh-life-date{font-size:12px;color:var(--muted);margin:5px 0 8px}.mh-life-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.mh-life-compact{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.mh-life-item{display:grid;align-content:start;justify-items:center;gap:4px;text-align:center;padding:10px 4px;border-radius:10px;background:#e1f1ff;color:#095b9e;min-width:0;overflow-wrap:anywhere}.mh-life-outing,.mh-life-walk{background:#d8f1e0;color:#155b37}.mh-life-clothes,.mh-life-bedding,.mh-life-drink{background:#fff0d1;color:#694200}.mh-life-food{background:#fce8e2;color:#93422e}.mh-life-icon{font-size:23px;line-height:1.3}.mh-life-name{font-size:13px}.mh-life-value{font-size:21px;line-height:1.25}.mh-life-clothes .mh-life-value,.mh-life-umbrella .mh-life-value{font-size:16px}.mh-life-desc{font-size:11px;line-height:1.4}.mh-life-reason{font-size:11px;line-height:1.45;margin:4px 0 0;text-align:left;color:#31495a}.mh-life-home .mh-wsource{margin-top:7px}.mh-life-detail h3{font-size:16px;margin:18px 0 8px}.mh-wtomorrow{font-size:13px;background:#ffffff20;padding:8px 10px;border-radius:8px;margin:6px 0}.mh-wday{grid-template-columns:50px 38px minmax(0,1fr)}.mh-wday>b{white-space:nowrap}.mh-week{grid-auto-flow:column;grid-auto-columns:minmax(62px,1fr);grid-template-columns:none;padding-bottom:5px}.mh-weekday{min-width:62px}.mh-week-note{font-size:10px;color:var(--muted);line-height:1.25;text-align:center}.mh-wtabs button{min-width:70px}.mh-rlegend{padding:8px 0}.mh-rlegend b{font-size:12px}.mh-rbands{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:2px;margin:4px 0}.mh-rband{display:grid;gap:2px;text-align:center;font-size:10px;line-height:1.25}.mh-rband i{height:12px;border:1px solid #0002;border-radius:2px}.mh-rtile .mh-rain{opacity:1}.mh-rcontrols button{min-height:40px}.mh-shell{padding-bottom:calc(105px + env(safe-area-inset-bottom))}html{scroll-padding-bottom:calc(105px + env(safe-area-inset-bottom))}@media(max-width:430px){.mh-wtabs{display:grid;grid-template-columns:repeat(2,1fr)}.mh-life-grid:not(.mh-life-compact){grid-template-columns:repeat(2,minmax(0,1fr))}.mh-life-compact .mh-life-name{font-size:11px}.mh-life-compact .mh-life-value{font-size:16px}.mh-life-compact .mh-life-desc{font-size:10px}.mh-life-home{padding:10px 7px}}

/* v0.5.0 — Sky & town. Only local, compressed decorative assets. */
:root{--blue:#086bb7;--ink:#15354f;--muted:#526a7f;--line:#d9e7f2;--pale:#dceeff;--mh-shadow:0 7px 24px rgba(28,76,119,.09)}
body{background:#eaf2f9;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Hiragino Sans","Yu Gothic",Meiryo,sans-serif;-webkit-font-smoothing:antialiased}
.mh-shell{background:linear-gradient(155deg,#edf8ff 0,#f8fbff 370px,#fff 760px);box-shadow:0 0 40px #174d7710;overflow:clip}
.mh-header{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(112deg,#fff 15%,#e9f6ff 70%,#cde9fd);border-bottom:1px solid #d8e9f4;padding:14px 18px}
.mh-header:before,.mh-header:after{content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:50%;background:#ffffff65;width:82%;height:140px;right:-12%;top:-95px;transform:rotate(-10deg)}
.mh-header:after{right:-24%;top:-88px;background:#b8def34d;transform:rotate(-18deg)}
.mh-header button{background:#ffffffa8;border:1px solid #fff;box-shadow:0 3px 12px #1266a21b;border-radius:14px;min-height:44px;min-width:44px;display:grid;place-items:center}
.mh-location button{border-radius:999px;background:#d7ebfc;padding:8px 13px;color:#064d89;font-weight:750;min-height:40px}
.mh-weather{--scene:none;position:relative;isolation:isolate;background:#07578e;border:none;border-radius:24px;padding:20px;color:#fff;overflow:hidden;box-shadow:0 12px 26px #1c6aa72b}
.mh-weather[data-scene=sunny]{--scene:url('assets/weather-bg/sunny.webp')}.mh-weather[data-scene=cloudy]{--scene:url('assets/weather-bg/cloudy.webp')}.mh-weather[data-scene=rain]{--scene:url('assets/weather-bg/rain.webp')}.mh-weather[data-scene=snow]{--scene:url('assets/weather-bg/snow.webp')}.mh-weather[data-scene=sunset]{--scene:url('assets/weather-bg/sunset.webp')}.mh-weather[data-scene=night]{--scene:url('assets/weather-bg/night.webp')}
.mh-weather:before{content:"";position:absolute;inset:0;z-index:-1;background-image:linear-gradient(90deg,rgba(3,47,83,.91),rgba(5,66,112,.72) 42%,rgba(5,66,112,.14) 100%),linear-gradient(0deg,rgba(4,43,75,.86),transparent 75%),var(--scene);background-size:cover;background-position:center,right bottom,70% center;background-repeat:no-repeat}
.mh-weather h2{font-size:15px;letter-spacing:.04em;font-weight:750;display:inline-block;position:relative;padding-bottom:7px}.mh-weather h2:after{content:"";position:absolute;left:0;bottom:0;width:32px;height:2px;border-radius:2px;background:#9cd4ff}
.mh-weather-main{gap:13px;margin:14px 0 5px}.mh-weather-icon{font-size:50px;filter:drop-shadow(0 3px 7px #03264038)}.mh-weather-text{font-size:clamp(24px,5.5vw,36px);font-weight:750;line-height:1.25;text-shadow:0 1px 6px #00355466}.mh-weather .mh-muted{color:#fff;text-shadow:0 1px 4px #003554}
.mh-wsummary{margin:8px 0 10px;gap:5px}.mh-now{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.mh-now-reading{display:flex;align-items:baseline;gap:10px}.mh-now-label{font-size:12px;font-weight:600}.mh-now-value{font-size:clamp(42px,8vw,62px);font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:-.045em;line-height:1.1;text-shadow:0 1px 8px #03264055}.mh-now-station{font-size:11px;color:#fff}.mh-now-range{font-size:13px;color:#fff;font-weight:600}.mh-wtomorrow{background:#032d52a8;border:1px solid #d9f1ff40;border-radius:12px;padding:9px 12px;font-weight:550}
.mh-hourly{gap:7px;padding:9px 0 12px;scrollbar-width:thin;scrollbar-color:#a9cce4 transparent}.mh-weather .mh-hour{background:#073b68b8;border:1px solid #e2f2ff45;box-shadow:inset 0 1px 0 #fff2;border-radius:14px;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);padding:9px 6px;flex:0 0 94px}.mh-weather .mh-hour[data-period=night]{background:#062849cf}.mh-weather .mh-hour b{font-size:20px;line-height:1.2;font-variant-numeric:tabular-nums}.mh-weather .mh-wsource{font-size:11px;color:#fff;text-shadow:0 1px 4px #012e52}.mh-weather-actions{gap:9px;margin-top:14px}.mh-weather-actions button{min-height:44px;border-radius:999px;background:linear-gradient(180deg,#fff,#e4f3ff);color:#074f89;border:1px solid #fff;box-shadow:0 3px 10px #00233c25}.mh-weather-actions button+button{background:#073d66d9;color:#fff;border-color:#a6d7f480}
.mh-life-home{background:transparent;border:none;box-shadow:none;padding:0;margin:22px 0 14px}.mh-life-heading h2,.mh-heading h1{font-weight:750;letter-spacing:.015em}.mh-life-heading h2{font-size:18px;padding-left:10px;border-left:4px solid #1289d2;line-height:1.3}.mh-life-heading button{font-size:13px}.mh-life-grid{gap:9px}.mh-life-item{position:relative;isolation:isolate;overflow:hidden;border-radius:16px;border:1px solid #fff9;box-shadow:0 3px 12px #274f6d0b;background:linear-gradient(145deg,#f1f9ff,#cde9fb);color:#084c83;padding:14px 6px}.mh-life-item:after{content:"";position:absolute;width:130%;height:35%;border-radius:50%;background:#fff5;bottom:-18%;right:-22%;z-index:-1;transform:rotate(-13deg)}.mh-life-outing,.mh-life-walk{background:linear-gradient(145deg,#effbf4,#c8eadc);color:#126248}.mh-life-clothes,.mh-life-bedding,.mh-life-drink{background:linear-gradient(145deg,#fffaf0,#f6e5bd);color:#79501b}.mh-life-umbrella{background:linear-gradient(145deg,#f1f3ff,#dce3f8);color:#324d94}.mh-life-food{background:linear-gradient(145deg,#fff4ef,#f6dcd2);color:#93422e}.mh-life-icon{width:32px;height:32px;stroke:currentColor;fill:none;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;display:block}.mh-life-value{font-size:25px;font-variant-numeric:tabular-nums}.mh-life-clothes .mh-life-value,.mh-life-umbrella .mh-life-value{font-size:19px}.mh-life-desc{color:inherit}
.mh-quick{gap:10px;margin:16px 0 18px}.mh-quick button{border:1px solid #fff;border-radius:17px;background:linear-gradient(130deg,#fff8df,#f8e5ac);box-shadow:var(--mh-shadow);color:#674a1d;position:relative;overflow:hidden;isolation:isolate}.mh-quick button+button{background:linear-gradient(130deg,#ecfaf5,#bde5e1);color:#155d55}.mh-quick button:after{content:'›';margin-left:auto;font-size:23px;line-height:1;opacity:.7}.mh-quick button .mh-icon{width:28px;height:28px}.mh-quick b{font-size:15px}.mh-quick small{font-size:12px}
.mh-tabs{background:#f9fcffeb;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);gap:24px}.mh-tabs button{font-weight:550}.mh-tabs button[aria-selected=true]{border-color:#087ccc;color:#085d9b}.mh-heading h1,.mh-heading h2{font-size:20px}.mh-article{border-bottom:1px solid #e3edf5}.mh-thumb{border-radius:12px}.mh-nav{background:rgba(250,253,255,.96);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 -6px 24px #25577912;border-top-color:#dfebf5;border-radius:20px 20px 0 0;padding-left:7px;padding-right:7px;gap:3px}.mh-nav button{border-radius:14px;min-height:56px}.mh-nav button[aria-current=page]{background:linear-gradient(160deg,#e2f3ff,#cbe5fa);color:#075b9c}.mh-nav .mh-icon{width:24px;height:24px}
.mh-wtabs{gap:7px}.mh-wtabs button{border:1px solid #d9e9f5;background:#f3f9fe;color:#18567f;border-radius:14px;min-height:44px;box-shadow:0 2px 5px #174d7709}.mh-wtabs button[aria-selected=true]{background:linear-gradient(145deg,#0c8acc,#07599c);border-color:transparent;color:#fff;box-shadow:0 5px 12px #1674b22b}.mh-wcard{background:#fff;border:1px solid #e1ebf3;border-radius:19px;padding:16px;box-shadow:var(--mh-shadow)}.mh-wday{grid-template-columns:50px 40px minmax(0,1fr);gap:5px 10px}.mh-wday div:nth-of-type(2){font-weight:650}.mh-wcard .mh-hour,.mh-weekday{background:linear-gradient(150deg,#f6fbff,#e2effa);border-radius:12px}.mh-wcard .mh-hour[data-period=night]{background:linear-gradient(150deg,#e8effb,#dce7f6)}.mh-wcard .mh-hour b{font-size:19px}.mh-weekday{padding:12px 3px}.mh-week{gap:6px;scrollbar-width:thin}.mh-rmap{border:1px solid #d4e3ee;border-radius:18px;box-shadow:var(--mh-shadow)}.mh-rcontrols button{background:#f6fbff;border-color:#d3e3ee;color:#145b89;min-height:44px}.mh-rlegend{background:#fff;padding:12px;border-radius:12px;margin-top:8px}.mh-region-intro,.mh-settings{background:#fff;border-radius:18px;padding:16px;box-shadow:var(--mh-shadow)}.mh-primary{background:linear-gradient(135deg,#0a8ace,#065da6)}.mh-footer{padding-bottom:28px}
@media(max-width:600px){.mh-main{padding:14px 12px}.mh-header{padding:12px 14px}.mh-tabs{margin:0 -12px;padding:0 12px}.mh-weather{padding:17px 14px;border-radius:20px}.mh-weather:before{background-image:linear-gradient(90deg,rgba(3,47,83,.91),rgba(5,66,112,.65) 57%,rgba(5,66,112,.22)),linear-gradient(0deg,rgba(4,43,75,.88),transparent 80%),var(--scene);background-position:center,center,64% center}.mh-weather .mh-hour{flex-basis:76px}.mh-life-compact{gap:5px}.mh-life-compact .mh-life-item{padding:10px 3px;border-radius:12px}.mh-life-compact .mh-life-icon{width:27px;height:27px}.mh-life-compact .mh-life-value{font-size:20px}.mh-life-compact .mh-life-clothes .mh-life-value,.mh-life-compact .mh-life-umbrella .mh-life-value{font-size:15px}.mh-quick button{padding:11px 9px;gap:7px}.mh-quick b{font-size:13px}.mh-quick small{font-size:10px}.mh-quick button .mh-icon{width:23px;height:23px}.mh-quick button:after{font-size:18px}.mh-wcard{padding:13px}.mh-nav button{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Shared thumbnails: explicitly marked as illustrations. */
.mh-thumb-wrap{position:relative;display:block;flex-shrink:0;line-height:0}.mh-thumb-wrap .mh-thumb{display:block}.mh-thumb-wrap .mh-placeholder{display:flex}.mh-thumb-illustration{object-fit:cover}.mh-image-note{position:absolute;bottom:4px;right:4px;line-height:1.3;font-size:10px;color:#fff;background:rgba(15,37,57,.83);border-radius:4px;padding:2px 4px;pointer-events:none}

/* Region-separated news feed */
.mh-feed-group{margin:18px 0 0;padding:10px 12px;background:#eaf4fb;border-left:3px solid #087bc5;border-radius:7px;color:#174b6c}.mh-feed-group h2{font-size:15px;margin:0;font-weight:750}.mh-feed-group-empty{padding:14px 8px;color:var(--muted);font-size:13px}.mh-feed-more-row{padding:12px 0 4px}.mh-feed-more{width:100%;background:#f5faff;color:#0865a9;font-weight:700;font-size:13px;border-color:#d5e8f5}.mh-thumb-illustration{object-fit:cover}

.mh-event-date{font-size:.79rem;font-weight:600;color:#28776b;line-height:1.45;margin-top:4px;overflow-wrap:anywhere}
