/* 2026-11-22: card bodies without tag chips, the home-screen button, and a shorter phone layout. Loaded last. */

/* Cards and the map dialog no longer carry tag chips; the first block of a card body starts at the top. */
.directory-card-body>.directory-feature:first-child{margin-top:4px}
.module-popup-copy>.module-visit{margin-top:18px}
.nebula-top .footer{padding-bottom:calc(44px + env(safe-area-inset-bottom))}

/* 「ホーム画面に追加」: phones and tablets only (home-screen.js removes [hidden]). */
.home-add[hidden]{display:none}
.home-add button{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:0 18px;border:1px solid #f0cfea52;border-radius:12px;background:#ffffff12;color:#fff5eb;font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;cursor:pointer}
.home-add button:hover{background:#ffffff1f}
.home-add button:focus-visible{outline:3px solid #ffe19b;outline-offset:3px}
.home-add .icon{width:20px;height:20px;flex:none}
.home-add-dialog{width:min(380px,calc(100% - 32px));padding:0;border:2px solid #1c3d45;border-radius:20px;background:#fffaf0;color:#203c45;box-shadow:0 8px 0 #163f45,0 26px 80px #031d1e55}
.home-add-dialog::backdrop{background:#0b10248c;backdrop-filter:none}
.home-add-sheet{padding:24px 24px 22px}
.home-add-sheet h2{margin:0 0 10px;font:750 22px/1.4 var(--display);letter-spacing:-.02em;color:#203d48}
.home-add-sheet p{margin:0;font-size:15px;line-height:1.8;color:#3d5a60}
.home-add-sheet ol{margin:16px 0 0;padding:0;list-style:none;counter-reset:step}
.home-add-sheet li{position:relative;counter-increment:step;padding:12px 0 12px 44px;border-top:1px solid #1c3d4524;font-size:16px;line-height:1.7;color:#203c45}
.home-add-sheet li::before{content:counter(step);position:absolute;left:0;top:11px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#23464d;color:#fffaf1;font:700 15px/1 var(--display)}
.home-add-sheet .home-add-note{margin-top:4px;padding-top:12px;border-top:1px solid #1c3d4524;font-size:14px}
.home-add-sheet .home-add-note[hidden]{display:none}
.home-add-close{display:block;width:100%;min-height:48px;margin-top:18px;border:1px solid #163b43;border-radius:10px;background:#23464d;color:#fffaf1;box-shadow:0 3px 0 #142e36;font-family:inherit;font-size:16px;font-weight:600;line-height:1;cursor:pointer}
.home-add-close:focus-visible{outline:3px solid #4175f5;outline-offset:3px}

/* Phones: the map, then one compact list of places, then the articles as rows.
   The eight-button strip under the map repeated both, so it is not shown here. */
@media(max-width:760px){
 .nebula-top .area-shortcuts{display:none}
 .nebula-top .island-directory{padding-top:30px;margin-bottom:38px}
 .nebula-top .island-directory .section-head{margin-bottom:14px}
 .nebula-top .directory-intro{display:none}
 .nebula-top .island-card-grid{gap:10px}
 .nebula-top .island-card-grid>.directory-card{display:flex;flex-direction:column;justify-content:center;gap:2px;min-height:88px;padding:13px 48px 13px 88px;border-radius:16px}
 .nebula-top .directory-card-top,.nebula-top .directory-card-main,.nebula-top .directory-card-copy{display:contents}
 .nebula-top .directory-card-copy p,.nebula-top .directory-badge:not(.is-private),.nebula-top .directory-card-body>*{display:none}
 .nebula-top .directory-card-art{position:absolute;left:14px;top:50%;width:60px;height:60px;translate:0 -50%}
 .nebula-top .directory-card h2,.nebula-top .directory-weather h2{order:1;align-self:stretch;font-size:18px;line-height:1.4;letter-spacing:-.01em;margin:0}
 .nebula-top .directory-card h2 wbr{display:none}
 .nebula-top .directory-card-copy h3{order:2;font-size:14px;line-height:1.6;color:#e2d4e4}
 /* The weather row shows the live reading in place of its tagline. */
 .nebula-top .directory-card.directory-weather .directory-card-copy h3{display:none}
 .nebula-top .directory-card-body{order:3;flex:none;min-height:0;padding:0;border:0}
 .nebula-top .directory-card-body>.directory-weather{display:block}
 .nebula-top .directory-weather .weather-scope,.nebula-top .directory-weather .directory-note{display:none}
 .nebula-top .directory-weather-reading{gap:0 10px;margin:0;align-items:baseline}
 .nebula-top .directory-weather-reading>strong{font-size:17px;line-height:1.55}
 .nebula-top .directory-weather-trend{font-size:13px;line-height:1.6}
 .nebula-top .directory-risk{width:auto;margin:0;font-size:13px}
 .nebula-top .directory-badge.is-private{order:4;align-self:flex-start;margin-top:4px;font-size:12px;padding:3px 8px}
 .nebula-top .directory-card-link{order:5;position:static;min-height:0;padding:0;border:0}
 .nebula-top .directory-card-link::after{content:'';position:absolute;inset:0;border-radius:inherit}
 .nebula-top .directory-card-link:focus-visible{outline:0}
 .nebula-top .directory-card-link:focus-visible::after{outline:3px solid var(--card-accent);outline-offset:-3px;border-radius:16px}
 .nebula-top .directory-card-link>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .nebula-top .directory-card-link .icon{position:absolute;right:16px;top:50%;width:20px;height:20px;translate:0 -50%}

 .nebula-top .journal-section{margin-bottom:28px}
 .nebula-top .journal-section .section-head{gap:2px 16px;margin-bottom:6px}
 .nebula-top .journal-section .section-head>.text-link{margin-top:2px}
 .nebula-top .journal-toolbar{margin-bottom:4px}
 .nebula-top .article-grid{gap:0}
 .nebula-top .article-card>a{display:grid;grid-template-columns:104px minmax(0,1fr);grid-template-areas:"pic meta" "pic title";grid-template-rows:auto 1fr;column-gap:14px;align-items:start;padding:14px 0;border-bottom:1px solid #f0cfea24}
 .nebula-top .article-card:last-child>a{border-bottom:0}
 .nebula-top .article-image{grid-area:pic;aspect-ratio:1.3;border-radius:10px}
 .nebula-top .article-arrow,.nebula-top .article-tag{display:none}
 .nebula-top .article-meta{grid-area:meta;margin:0 0 4px}
 .nebula-top .article-card h3{grid-area:title;font-size:15px;line-height:1.65;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}

 .nebula-top .next-stop{flex-wrap:wrap;gap:4px 16px;padding:22px 0 14px}
 .nebula-top .next-stop>span{display:none}
 .nebula-top .next-stop h2{font-size:19px;line-height:1.6}
 .nebula-top .next-stop>.text-link{margin-left:0}
 .nebula-top .footer{gap:10px 18px;padding:24px 0 calc(28px + env(safe-area-inset-bottom))}
 .nebula-top .home-add{flex:1 0 100%;order:-1;margin-bottom:8px}
 .nebula-top .home-add button{width:100%;justify-content:center;min-height:52px;font-size:16px}
}
@media(max-width:370px){
 .nebula-top .island-card-grid>.directory-card{padding:12px 42px 12px 76px}
 .nebula-top .directory-card-art{left:12px;width:52px;height:52px}
 .nebula-top .directory-card-link .icon{right:12px}
 .nebula-top .article-card>a{grid-template-columns:88px minmax(0,1fr);column-gap:12px}
}

/* 2026-11-23: the observatory's nameplate reads CRYPTO-WEATHER. It is a Latin name like the others, so it takes the
   display face; on wide screens it is set slightly smaller and tighter to stay on one line of the 154px/134px plate. */
.nebula-top .pop-world .module-weather .module-name{font-family:var(--display)}
@media(min-width:761px){.nebula-top .pop-world .module-weather .module-name{font-size:12px;letter-spacing:-.015em;white-space:nowrap}}
@media(min-width:761px) and (max-width:1100px){.nebula-top .pop-world .module-weather .module-name{font-size:10.5px;letter-spacing:-.02em}}
/* The longer name needs room in the one-row header: the map button keeps its width, and the links sit a little tighter
   until the row has space again. */
.nebula-top .site-header .header-actions{flex:none}
.nebula-top .back-to-map{white-space:nowrap}
@media(min-width:1201px) and (max-width:1330px){.nebula-top .site-header .main-nav{font-size:12.5px;gap:9px}}
/* Cards with and without a status badge start their titles on the same line. */
@media(min-width:761px){.nebula-top .directory-card-top{min-height:34px}}

/* Language switch: a globe with the current language code; the native picker sits on top of it, invisible. */
.lang-switch{position:relative;display:inline-flex;align-items:center;gap:6px;min-width:44px;height:44px;padding:0 10px;border:1px solid #f4e9ff38;border-radius:12px;color:#fff4e6;font-size:13px;font-weight:700;letter-spacing:.04em;cursor:pointer}
.lang-switch[hidden]{display:none}
.lang-switch::after{content:attr(data-cv-lang-current);text-transform:uppercase}
.lang-switch select{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;font-size:16px}
.lang-switch:focus-within{outline:3px solid #ffce67;outline-offset:3px}
@media(max-width:760px){.island-header .back-to-map{display:none}.lang-switch{padding:0 8px;gap:4px}}
/* Chinese and Korean text use the reader's own system faces; the Japanese web font has no Hangul and Japanese glyph shapes. */
:lang(zh-Hans) body,:lang(zh-Hans) :is(h1,h2,h3,h4,p,a,span,button,strong,small){font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",system-ui,sans-serif}
:lang(ko) body,:lang(ko) :is(h1,h2,h3,h4,p,a,span,button,strong,small){font-family:"Apple SD Gothic Neo","Malgun Gothic","Noto Sans KR",system-ui,sans-serif}

/* 2026-11-23: footer links to the contact form and the operator page (the closing band above the footer is gone). */
.nebula-top .footer-links{display:flex;flex-wrap:wrap;gap:4px 22px}
.nebula-top .footer-links a{display:inline-flex;align-items:center;min-height:44px;color:#f3dcea;font-size:14px;line-height:1.6;text-decoration:underline;text-decoration-color:#f0cfea66;text-underline-offset:5px}
.nebula-top .footer-links a:hover{color:#fff5eb;text-decoration-color:currentColor}
.nebula-top .footer-links a:focus-visible{outline:3px solid #ffe19b;outline-offset:3px;border-radius:4px}
@media(max-width:760px){.nebula-top .footer-links{flex:1 0 100%}.nebula-top .footer-links a{font-size:15px}}

/* 2026-11-23: the article section lists the beginner articles in reading order (filled in by basics.php when served). */
.nebula-top .basics-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}
.nebula-top .basics-grid .article-image{aspect-ratio:1200/630;border-radius:12px;background:#ffffff14}
.nebula-top .basics-grid .article-meta{margin:14px 0 6px;font-variant-numeric:tabular-nums}
.nebula-top .basics-grid .article-card a:focus-visible{outline:3px solid #ffe19b;outline-offset:4px;border-radius:12px}
@media(max-width:1000px) and (min-width:761px){.nebula-top .basics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
 .nebula-top .basics-grid{grid-template-columns:1fr;gap:0}
 .nebula-top .basics-grid .article-card>a{grid-template-columns:132px minmax(0,1fr)}
 .nebula-top .basics-grid .article-image{aspect-ratio:1200/630;border-radius:8px}
 .nebula-top .basics-grid .article-meta{margin:0 0 2px}
}

/* 2026-11-23: on phones the buildings have no z-index of their own (mobile-ui.css, so that every label stays above every
   building), which left the water canvas (z-index 1) painted over them and hid the whale on the lake. Level with the buildings,
   the canvas comes first in the markup and is painted underneath. */
@media(max-width:760px){.nebula-top .pop-world .valley-water{z-index:0}}

/* 2026-11-23: every menu entry carries a one-line description. Wide screens: shown on hover / keyboard focus. Menu panel: always shown. */
.nebula-top .main-nav .nav-desc{display:block;font-size:13px;font-weight:400;line-height:1.55;letter-spacing:0;color:#dcc6de;white-space:normal}
@media(min-width:1201px){
 .nebula-top .main-nav .nav-desc{position:absolute;top:calc(100% + 4px);left:50%;z-index:95;width:max-content;max-width:320px;padding:9px 13px;border:1px solid #d9b8e64d;border-radius:10px;background:#25203f;color:#f5e8f3;box-shadow:0 10px 24px #080d2d66;text-align:center;opacity:0;visibility:hidden;transform:translate(-50%,-4px);transition:opacity .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1),visibility .16s;pointer-events:none}
 .nebula-top .main-nav a:nth-last-child(-n+2) .nav-desc{left:auto;right:0;transform:translate(0,-4px)}
 .nebula-top .main-nav a:hover .nav-desc,.nebula-top .main-nav a:focus-visible .nav-desc{opacity:1;visibility:visible;transform:translate(-50%,0)}
 .nebula-top .main-nav a:nth-last-child(-n+2):hover .nav-desc,.nebula-top .main-nav a:nth-last-child(-n+2):focus-visible .nav-desc{transform:none}
}
@media(max-width:1200px){
 .nebula-top .site-header .main-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;max-height:calc(100dvh - 100px);overflow-y:auto;overscroll-behavior:contain}
 .nebula-top .site-header .main-nav a{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:64px;padding:10px 12px;border-radius:10px}
 .nebula-top .site-header .main-nav a::after{content:none}
 .nebula-top .site-header .main-nav a:hover,.nebula-top .site-header .main-nav a:focus-visible{background:#ffffff12}
 .nebula-top .main-nav .nav-name{font-size:16px;font-weight:600;line-height:1.4;color:#fff5eb}
}
@media(max-width:760px){
 .nebula-top .site-header .main-nav{grid-template-columns:1fr;gap:0;padding:8px}
 .nebula-top .site-header .main-nav a{min-height:60px;border-radius:8px}
 .nebula-top .site-header .main-nav a+a{box-shadow:0 -1px 0 #ffffff14}
 .nebula-top .main-nav .nav-desc{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.nebula-top .main-nav .nav-desc{transition:none}}

/* 2026-11-23: the footer repeats the header menu (eight destinations), then the contact and operator links. */
.nebula-top .footer-links{flex:1 0 100%;order:1;justify-content:space-between;gap:4px 32px;padding-top:10px;border-top:1px solid #f0cfea2e}
.nebula-top .footer-contents,.nebula-top .footer-info{display:flex;flex-wrap:wrap;gap:0 22px}
.nebula-top .footer>.home-add,.nebula-top .footer>span{order:2}
@media(max-width:760px){
 .nebula-top .footer-links{display:block;padding-top:6px}
 .nebula-top .footer-contents{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
 .nebula-top .footer-info{margin-top:6px;padding-top:6px;border-top:1px solid #f0cfea2e}
 .nebula-top .home-add{order:-1}
}

/* 2026-11-23: reading progress on the beginner articles (assets/basics.js). */
.cv-resume{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 14px;margin:0 0 22px;padding:14px 18px;border:1px solid #f0cfea52;border-radius:12px;background:#ffffff12;color:#fff5eb!important;font-size:15px;line-height:1.6;text-decoration:none!important}
a.cv-resume:hover{background:#ffffff1f}
a.cv-resume:focus-visible{outline:3px solid #ffe19b;outline-offset:3px}
.cv-resume>span{font-weight:700;color:#ffe19b}
.cv-resume>span::after{content:" →"}
.cv-resume>b{font-weight:500;min-width:0}
.cv-read{margin-left:10px;padding:1px 8px;border:1px solid #a7e6d166;border-radius:999px;color:#a7e6d1;font-size:12px;font-weight:600;white-space:nowrap}
.is-read img{opacity:.62}
.nebula-top .basics-grid .article-meta{justify-content:flex-start}

/* 2026-11-23: the header follows the page. Transparent at the very top (as designed); once the page has moved it gets a
   backing so the menu stays readable (body.is-scrolled, set in app.js). The backing is a fixed strip behind the header's
   content, as wide as the window (the header itself is capped at 1350px) and as tall as the header; it does not clip the
   menu panel or the hover notes. */
html{scroll-padding-top:96px}
.nebula-top .site-header{position:sticky;top:0;z-index:90}
.nebula-top .site-header::before{content:"";position:fixed;z-index:-1;top:0;left:0;right:0;height:84px;background:#1b1844;border-bottom:1px solid #eed3ff26;box-shadow:0 10px 24px #080d2d59;opacity:0;transition:opacity .2s;pointer-events:none}
.nebula-top.is-scrolled .site-header::before{opacity:.97}
@media(max-width:980px){.nebula-top .site-header::before{height:80px}}
@media(max-width:760px){.nebula-top .site-header::before{height:72px}}
@media(prefers-reduced-motion:reduce){.nebula-top .site-header::before{transition:none}}

/* 2026-11-24: the story between the map and its caption. Lines rise in once as the section scrolls into view
   (app.js adds .story-ready, then .is-in per line); without JS or with reduced motion everything is simply visible. */
.valley-story{margin:clamp(48px,8vw,104px) 0 clamp(40px,6vw,80px);padding:0 22px}
.story-inner{max-width:760px;margin:0 auto;text-align:center;color:#f3e3ee}
.valley-story h2{margin:0 0 28px;font:700 clamp(30px,5.4vw,52px)/1.32 var(--display);letter-spacing:-.02em;color:#fff5eb;text-wrap:balance}
.valley-story h2 span{display:inline-block}
.valley-story h2 span+span{color:#ffe19b}
.valley-story p{margin:0 auto 22px;max-width:36em;font-size:clamp(16px,1.9vw,18px);line-height:2.05;text-wrap:pretty}
.valley-story .story-lead{color:#e2cbe0}
.valley-story .story-year{margin-bottom:6px;font:700 clamp(18px,2.4vw,22px)/1.6 var(--display);color:#ffe19b;letter-spacing:.02em}
.valley-story .story-key{margin-top:30px;max-width:30em;font:700 clamp(19px,2.6vw,25px)/1.75 var(--display);color:#fff5eb}
.story-residents{display:grid;grid-template-columns:112px minmax(0,1fr) 112px;align-items:center;gap:18px;margin:44px auto 0;padding:26px 0;border-top:1px solid #f0cfea33;border-bottom:1px solid #f0cfea33;text-align:left}
.story-residents img{width:112px;height:112px;object-fit:contain}
.story-residents p{margin:0;font-size:clamp(16px,1.9vw,18px);line-height:1.95}
.story-rhythm{margin-top:48px}
.story-rhythm h3{margin:0 0 20px;font:700 clamp(21px,3vw,28px)/1.5 var(--display);color:#fff5eb}
.story-rhythm dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin:0 0 22px;text-align:left}
.story-rhythm dl>div{display:grid;grid-template-columns:6.2em minmax(0,1fr);gap:12px;align-items:baseline;padding:13px 0;border-bottom:1px solid #f0cfea26}
.story-rhythm dt{font-size:14px;font-weight:700;color:#a7e6d1;font-variant-numeric:tabular-nums}
.story-rhythm dd{margin:0;font-size:16px;line-height:1.7;color:#fff0e9}
.story-rhythm>p{color:#e2cbe0}
.story-ready .story-line{opacity:0;transform:translateY(22px);transition:opacity .9s cubic-bezier(.16,1,.3,1),transform .9s cubic-bezier(.16,1,.3,1)}
.story-ready .story-line.is-in{opacity:1;transform:none}
@media(max-width:760px){
 .valley-story{padding:0 6px}
 .valley-story p{text-align:left;text-wrap:wrap;max-width:none} /* "pretty" evens out every line in Safari and leaves a wide gap on the right */
 .valley-story h2{margin-bottom:22px}
 .valley-story .story-year,.valley-story .story-key,.story-rhythm>p{text-align:center;text-wrap:balance}
 .story-residents{grid-template-columns:1fr 1fr;gap:12px 20px;padding:22px 0}
 .story-residents img{width:92px;height:92px}
 .story-residents img:first-child{justify-self:end}
 .story-residents p{grid-column:1/-1;grid-row:2}
 .story-rhythm dl{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){.story-ready .story-line{opacity:1;transform:none;transition:none}}

/* 2026-11-25: on phones the map is a window onto a larger map: one finger moves it in any direction, two fingers zoom
   (app.js sets the transform on .map-canvas; when the map cannot move further up or down, the page scrolls instead).
   Without JavaScript the window simply scrolls sideways. */
.map-swipe-hint,.map-reset{display:none}
@media(max-width:760px){.map-reset:not([hidden]){display:block}}
@media(max-width:760px){
 .pop-hero .map-viewport{position:relative;overflow:auto hidden;height:min(68svh,620px);margin:0 -18px;padding:0;scrollbar-width:none;overscroll-behavior:contain}
 .pop-hero .map-viewport::-webkit-scrollbar{display:none}
 .pop-hero .map-viewport.is-pannable{overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none;cursor:grab}
 .pop-hero .map-canvas{width:205vw;max-width:none;margin:76px 0 44px}
 .pop-hero .map-viewport.is-pannable .map-canvas{position:absolute;left:0;top:0;margin:0;transform-origin:0 0;will-change:transform}
 .pop-world .map-module .module-label{width:96px;min-width:96px;height:32px;min-height:32px}
 .pop-world .map-module .module-name,.pop-world .module-weather .module-name{font-size:12px}
 .map-reset{position:absolute;right:12px;bottom:12px;z-index:5;min-height:40px;padding:0 14px;border:1px solid #f3d9e680;border-radius:999px;background:#1b1f45e6;color:#fff4e6;font:inherit;font-size:13px;font-weight:700}
 .map-viewport:not(.is-large) .map-swipe-hint{display:none!important}
 .map-swipe-hint{display:block;position:absolute;left:12px;top:8px;z-index:5;margin:0;padding:4px 10px;border-radius:999px;background:#1b1f45b3;font-size:12px;line-height:1.5;color:#f3d9e6;letter-spacing:.02em;pointer-events:none}
 .pop-hero .map-viewport.is-pannable .module-label{scale:var(--label-k,1)}
}
/* 2026-11-25: on wide screens the main copy sits in the free corner left of the map instead of over the buildings. */
@media(min-width:1201px){
 .nebula-top .compact-hero .island-intro{margin-top:-14px;transform:translateX(calc(-1 * max(0px,(100vw - 1350px) / 2 - 28px)))}
}
@media(min-width:1201px) and (max-width:1560px){.island.nebula-top #island-title{font-size:40px}}
@media(max-width:760px){.nebula-top .island-directory .section-head h2{text-wrap:balance}}
.directory-journal{--card-accent:#ffc48c}
/* The Journal building beside "クリプトの基礎から読む" covered the heading on phones: it is smaller there and the heading keeps clear of it. */
@media(max-width:760px){
 .card-journal{width:56px;height:56px;right:0;top:26px}
 .island .journal-section.has-module-art .section-head{padding-right:66px}
 .island .has-module-art .section-head>.text-link{margin-top:2px}
}
/* 2026-11-25: the small symbols in the cards are illustrations (assets/icons/) instead of characters in a box. */
.directory-feature-symbol.has-art{width:46px;height:46px;border:0;border-radius:0;background:none}
.directory-feature-symbol.has-art img{display:block;width:100%;height:100%;object-fit:contain}
/* 2026-11-25: second line of the story heading, and the closing line. */
.valley-story h2 .story-sub{display:block;margin-top:12px;font-size:.52em;line-height:1.6;letter-spacing:0;color:#f3e3ee}
.valley-story .story-push{margin-top:6px}
/* Footer menu: the same one-line descriptions as the header menu, on hover or keyboard focus (pointer devices only). */
.footer-contents a{position:relative}
.footer-contents .foot-desc{position:absolute;bottom:calc(100% + 6px);left:50%;z-index:20;width:max-content;max-width:300px;padding:9px 13px;border:1px solid #d9b8e64d;border-radius:10px;background:#25203f;color:#f5e8f3;box-shadow:0 10px 24px #080d2d66;font-size:13px;font-weight:400;line-height:1.55;letter-spacing:0;text-align:center;white-space:normal;opacity:0;visibility:hidden;transform:translate(-50%,4px);transition:opacity .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1),visibility .16s;pointer-events:none}
@media(hover:hover){.footer-contents a:hover .foot-desc,.footer-contents a:focus-visible .foot-desc{opacity:1;visibility:visible;transform:translate(-50%,0)}}
@media(hover:none){.footer-contents .foot-desc{display:none}}
@media(prefers-reduced-motion:reduce){.footer-contents .foot-desc{transition:none}}
@media(max-width:760px){.valley-story h2 .story-sub{font-size:clamp(13px,4.1vw,16px);white-space:nowrap}}

/* 2026-11-26: the weather card shows an illustration beside the word instead of a text symbol (live-weather.js sets data-weather-kind). */
.directory-weather-reading>strong[data-weather-kind]{display:inline-flex;align-items:center;gap:10px}
.directory-weather-reading>strong[data-weather-kind]::before{content:"";flex:none;width:1.5em;height:1.5em;background:center/contain no-repeat;filter:drop-shadow(0 4px 6px #060a2355)}
.directory-weather-reading>strong[data-weather-kind=sunny]::before{background-image:url(icons/weather-sunny.webp)}
.directory-weather-reading>strong[data-weather-kind=cloudy]::before{background-image:url(icons/weather-cloudy.webp)}
.directory-weather-reading>strong[data-weather-kind=rainy]::before{background-image:url(icons/weather-rainy.webp)}
