@font-face {
  font-family: Fredoka;
  src: url(media/Fredoka.woff2) format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Nunito;
  src: url(media/Nunito.woff2) format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}
:root {
  /* Day and night hues sampled from the Sky widgets. */
  --sky: #acdbf4;
  --night: #3b426f;
  --night-hover: #2e345c;
  --ink: #30344c;
  --quiet: #515e72;
  --paper: #f4f9fc;
  --sky-wash: #deedf5;
  --line: #c9d9e4;
  --display: Fredoka, ui-rounded, "PingFang TC", sans-serif;
  --body: Nunito, "PingFang TC", sans-serif;
  font: 600 16px/1.52 var(--body);
  color: var(--ink);
  background: var(--paper);
}
* {box-sizing: border-box}
body, h1, h2, h3, p {margin: 0}
body {-webkit-text-size-adjust: 100%}
h1, h2, h3 {font-family: var(--display); font-weight: 540; line-height: 1.1}
button, a, input {font: inherit; color: inherit}
button {cursor: pointer; padding: 0; border: 0; background: transparent}
button, a {touch-action: manipulation; text-underline-offset: 4px}
a:focus-visible, button:focus-visible, input:focus-visible {outline: 3px solid #3f7590; outline-offset: 3px}
[hidden] {display: none!important}
.home {--scene-top: #a9d9f1; --scene-bottom: #e8f3f9; --screen: #b9e2f4; --phone-ink: #403442; --screen-art: url(media/sun-sky.webp)}
.home[data-weather=rain] {--scene-top: #aabacb; --scene-bottom: #e0e7ed; --screen: #b6c7d6; --screen-art: url(media/rain-sky.webp)}
.home[data-weather=night] {--scene-top: #323a58; --scene-bottom: #616b8d; --screen: #535d82; --phone-ink: #fff7e9; --screen-art: url(media/night-sky.webp)}
.iphone {--rim: #4c4449; position: relative; width: clamp(250px,30.5svh,306px); aspect-ratio: 0.486; border: 3px solid var(--rim); border-radius: 16% / 7.8%; background: #f1eee6; padding: 3px; box-shadow: inset 0 0 0 1px #a9a199, 1px 2px 0 #5e544c2b; color: var(--phone-ink); scroll-margin: 16px}
.hardware, .hardware::before, .hardware::after {position: absolute; display: block; background: var(--rim); border-radius: 4px}
.hardware {top: 25%; left: -5px; width: 3px; height: 7%}
.hardware::before {content: ""; top: 125%; width: 3px; height: 100%}
.hardware::after {content: ""; top: 65%; left: calc(clamp(250px,30.5svh,306px) - 2px); width: 3px; height: 140%}
.glass {position: relative; display: flex; flex-direction: column; height: 100%; border-radius: inherit; isolation: isolate; overflow: hidden; background: var(--screen) var(--screen-art) center / cover no-repeat}
.phone-status {position: relative; display:flex; align-items:center; justify-content:space-between; padding: 0 9.5%; height: 8.5%; min-height: 32px; font-size: 12px; font-weight: 900; font-variant-numeric: tabular-nums}
.island {width: 25%; height: 40%; max-height: 20px; background: #332e36; border-radius: 99px; position: absolute; left: 37.5%; top: 30%}
.indicators {display:flex; align-items: center; gap: 4px}
.bars {width: 13px; height: 9px; background: currentColor; clip-path: polygon(0 100%,0 76%,16% 76%,16% 100%,28% 100%,28% 50%,45% 50%,45% 100%,56% 100%,56% 25%,73% 25%,73% 100%,84% 100%,84% 0,100% 0,100% 100%)}
.battery {position:relative; width: 13px; height: 7px; border-radius: 2px; background: currentColor}
.battery::after {content: ""; position:absolute; top: 2px; right: -2px; width: 1px; height: 3px; background:currentColor}
.phone-main, .phone-widget {flex: 1; min-height: 0; margin: 0 9%; display: flex; flex-direction: column; align-items: center; text-align: center}
.reading {display:grid; justify-items:center; padding-top:clamp(12px,2.4svh,26px)}
#condition {font-weight: 800; font-size: 17px}
#degrees {font: 530 clamp(52px,6.6svh,68px)/1 var(--display); letter-spacing: -.045em; padding-left:.06em}
.sample, .phone-widget>span {font-size: 11px; font-weight: 700; margin-top: 4px}
.pet-area {position: relative; flex: 1; min-height: 0; width: 100%; display: grid; align-content: center; justify-items: center}
#cat {width: auto; height: auto; max-width: min(82%,160px); max-height: clamp(131px,21svh,214px); object-fit: contain; display:block}
.home[data-weather=sun] #cat {cursor: pointer}
#pet {min-height: 30px; padding-inline:9px; font-size: 12px; text-decoration: underline; text-decoration-color: #64596580}
.cat-choice {display:grid; justify-items:center; width: 100%; min-height: 48px; align-content:center; margin-bottom: 4px; line-height:1.2}
.cat-choice strong {font: 520 22px/1.15 var(--display); max-width: 100%; white-space: nowrap; overflow:hidden; text-overflow:ellipsis}
.cat-choice span {font-size:12px; text-decoration:underline; text-decoration-color: #64596580; margin-top: 2px}
.weather-picker {display:flex; align-items:center; justify-content:center; gap:3px; width:fit-content; max-width:96%; align-self:center; margin: 8px 0 13px; padding: 2px 5px; background: #fffaf0bd; border-radius: 20px; color:#493f49}
.stamp-choice {min-width: 47px; min-height: 35px; padding-inline: 6px; border-radius:18px; font-size: 13px; font-weight: 750}
.stamp-choice[aria-pressed=true] {background: #48404a; color: #fffaf2}
.home-line {width: 31%; height:4px; border-radius:6px; background: currentColor; align-self:center; margin: 0 0 8px; opacity:.8}
.phone-widget {justify-content:center; gap:8px}
.phone-widget:focus {outline:none}
.phone-widget h2 {font-size: clamp(22px,2.7svh,28px); text-wrap:balance; margin:0 0 9px}
.widget-shot {margin-inline: -5%; width:110%}
.widget-shot img {width:100%; height:auto; display:block}
.phone-widget strong {font-size: 15px; margin-top: 4px}
.phone-widget>span {margin: -6px 0 6px}
#pair {text-decoration: underline; font-size: 13px; min-height:40px}
.store {display:inline-flex; gap: 16px; align-items: center; justify-content: center; text-decoration: none; background:var(--night); color:white; border-radius: 10px; padding:10px 17px; min-height: 46px; font-weight: 800}
.home-foot, .editor-foot {display:flex; gap:10px; justify-content:space-between; align-items:center; color: var(--quiet); font-size: 12px}
.home-foot {background: var(--paper); padding: 4px clamp(20px,4vw,70px); min-height: 44px}
.langs {display:flex; gap:14px; align-items:center}
.langs a {display:inline-flex; align-items:center; min-height:36px}
.langs [aria-current] {text-decoration:none; font-weight:900}
.editor {background: var(--paper)}
.art {position:relative; isolation:isolate; overflow:hidden; border-radius:10px}
.art img {display:block; object-fit:contain}
.rain-story {background:#cad9e2 url(media/rain-sky.webp) center / cover; min-height:230px; aspect-ratio:1.65; width:100%}
.story-rim {position:absolute; inset:60% -15% -1px; background:url(media/cloud-bank.webp) center top / 100% 100% no-repeat}
.story-pepper {position:absolute; width:46%; height:80%; right:13%; bottom:6%}
.story-jar {position:absolute; width:12%; height:25%; left:19%; bottom:10%; transform:rotate(-8deg)}
.widget-story {display:grid; place-items:center; background:#6e779c}
.widget-story img {width:82%; height:77%}
.compare-story {display:flex; align-items:center; justify-content:center; gap:5%; background:#e1ebd9}
.compare-story img {width:18%; height:61%; transform:rotate(-5deg)}
.compare-story img:nth-child(2) {transform:translateY(5%)}
.compare-story img:last-child {transform:rotate(7deg)}
.editor-foot {border-top:1px solid var(--line); padding:14px 0 24px}
.editor-foot>a {font-size:16px}
.reader {width:min(650px,calc(100% - 48px)); margin:38px auto 64px}
.reader article {margin-top:25px}
.reader h1 {font-size:clamp(38px,5vw,61px); letter-spacing:-.035em; text-wrap:balance}
.reader .art {aspect-ratio:2.33; margin:28px 0}
.reader h2 {font-size:clamp(25px,2.5vw,32px); margin:32px 0 10px; letter-spacing:-.02em}
.reader p {font-size:18px; line-height:1.65; margin:10px 0; font-weight:600}
.reader p a {font-weight:800}
.reader .footnote {color:var(--quiet); font-size:14px}
.return {display:inline-block; margin-top:35px}
dialog{width:min(420px,calc(100% - 30px));border:1px solid #aea59d;border-radius:13px;color:var(--ink);background:var(--paper);padding:0;max-height:92dvh}
dialog::backdrop{background:#273849a8}
dialog header{padding:0 13px;display:flex;align-items:center;justify-content:space-between;font-weight:820}dialog header button{min-height:44px;text-decoration:underline}
dialog video{display:block;width:100%;height:min(72dvh,660px);background:#302c32;object-fit:contain}
#cat-form{padding:24px}#cat-form h2{font-size:30px}#cat-form p{font-size:15px;margin:10px 0 18px}.choices{display:flex;justify-content:space-between;gap:10px}
.choice{flex:1;position:relative;cursor:pointer}.choice input{position:absolute;opacity:0}
.choice span{display:grid;justify-items:center;padding:8px;border:2px solid transparent;border-radius:10px;font-weight:800;font-size:14px}
.choice input:checked+span{border-color:var(--ink);background:#eff6fb}.choice input:focus-visible+span{outline:3px solid #29668b;outline-offset:2px}
.choice img{width:54px;max-width:100%;height:auto;border-radius:12px;margin-bottom:5px}
.name-label{display:block;font-weight:800;margin:15px 0 5px}#nickname{width:100%;font-size:17px;padding:8px 12px;border:1px solid #a89a93;border-radius:6px;background:white}#cat-form .actions{margin-top:20px}
#cat-form .actions {display:flex; gap:12px}
.primary, .secondary {min-height:44px; border:1px solid #bcaeaa; padding:8px 16px; border-radius:10px; font-size:15px; font-weight:800}
.primary {background:var(--ink); color:var(--paper); border-color:var(--ink)}
@media (prefers-reduced-motion:reduce) {
  #pet {visibility:hidden}
  .home[data-weather=sun] #cat {cursor:default}
}
@font-face {
  font-family: Gaegu;
  src: url(media/Gaegu-Bold.woff2) format("woff2");
  font-weight: 700;
  font-display: swap;
}
.mast {background:var(--sky); color:var(--night); border-bottom:1px solid #91bed8}
.mast>div {width:min(1220px,calc(100% - 64px)); margin:auto; display:flex; align-items:center; justify-content:space-between; gap:18px; min-height:64px}
.wordmark {display:inline-flex; align-items:center; gap:9px; font:565 24px/1 var(--display); letter-spacing:-.035em; text-decoration:none; white-space:nowrap}
.wordmark img {border-radius:9px; width:32px; height:32px}
.mast nav {display:flex; align-items:center; gap:clamp(14px,2.8vw,38px); font-size:15px; font-weight:800}
.mast nav a {display:inline-flex; align-items:center; min-height:42px; text-decoration:none}
.mast nav [aria-current] {text-decoration:underline}
.mast .nav-store {min-height:38px; border-radius:9px; padding:6px 14px}
.weather-world {position:relative; isolation:isolate; overflow:hidden; padding:clamp(26px,4vh,50px) 20px 22px; background:linear-gradient(180deg,var(--scene-top),var(--scene-bottom) 85%); text-align:center}
.clouds {position:absolute; z-index:-1; inset:0; pointer-events:none}
.clouds::after {content:""; position:absolute; inset:65% -5% -1px; background:url(media/cloud-bank.webp) center / 100% 100% no-repeat}
.home:not([data-weather=night]) .clouds::after {
  filter:grayscale(1) sepia(.14) hue-rotate(158deg);
}
.home[data-weather=night] .clouds::after {filter:brightness(.38) sepia(.44) hue-rotate(185deg)}
.home[data-weather=night] .weather-world {color:#fff9ec}
.sky-intro {max-width:950px; margin:0 auto clamp(22px,3.6vh,42px)}
.sky-intro h1 {font-size:clamp(42px,5.5vw,79px); font-weight:575; letter-spacing:-.043em; line-height:1.02; text-wrap:balance}
.sky-intro p {font-size:clamp(16px,1.55vw,21px); line-height:1.4; margin:12px auto 0; text-wrap:balance}
.sky-stage {width:min(960px,96%); margin:auto; display:grid; grid-template-columns:1fr auto 1fr; justify-items:center; align-items:center; gap:clamp(20px,4vw,75px)}
.iphone {--device-width:clamp(237px,29svh,280px); width:var(--device-width)}
.hardware::after {left:calc(var(--device-width) - 2px)}
.sky-stop {display:flex; flex-direction:column; align-items:center; gap:3px; max-width:100%; width:190px; font-weight:750; padding:6px 3px}
.sky-stop img {object-fit:contain; display:block; width:clamp(103px,12vw,158px); height:auto; aspect-ratio:402/522}
.forecast-caption {font:700 clamp(24px,2.65vw,38px)/1.1 Gaegu,var(--display); margin-top:7px; text-wrap:balance}
.forecast-action, .sky-tools button, .club-link {text-underline-offset:4px; text-decoration:underline; font-weight:800; font-size:14px}
.forecast-action {min-height:30px; padding:4px 0}
.port {align-self:center; transform:translateY(12%)}
.starboard {align-self:center; transform:translateY(-7%)}
.sky-tools {display:flex; justify-content:center; gap:22px; margin:11px auto 0}
.sky-tools button {min-height:42px}
.wardrobe {background:var(--paper); color:var(--ink); scroll-margin-top:16px}
.wardrobe-inner {width:min(1030px,calc(100% - 64px)); margin:0 auto; padding:clamp(42px,6.5vw,92px) 0 clamp(45px,6vw,80px)}
.wardrobe-intro {display:flex; align-items:end; justify-content:space-between; gap:30px; padding-bottom:24px}
.collection-name {font:700 25px/1.2 Gaegu,var(--display); color:var(--night); margin-bottom:7px}
.wardrobe h2 {font-size:clamp(36px,4.6vw,62px); letter-spacing:-.044em; text-wrap:balance}
.wardrobe-intro>p {max-width:33ch; font-size:clamp(16px,1.4vw,19px); line-height:1.44; margin:0 0 3px}
.rail {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border-block:1px solid var(--line)}
.rail figure {margin:0; min-width:0; padding:22px 6px 17px; text-align:center; background:#f7e9bf}
.rail figure:nth-child(2) {background:#dbebee}
.rail figure:nth-child(3) {background:#e2ebd4}
.rail figure+figure {border-left:1px solid #ffffffa1}
.costume-portrait {height:clamp(150px,18vw,208px); display:flex; justify-content:center; align-items:end}
.costume-portrait img {width:90%; height:100%; object-fit:contain; object-position:bottom}
.rail figcaption {margin:13px 0 1px; display:grid; justify-items:center; gap:3px}
.rail figcaption strong {font:540 clamp(23px,2.4vw,33px)/1.12 var(--display); letter-spacing:-.02em}
.rail figcaption span {font-size:14px; color:#554d47; font-weight:730}
.wardrobe-controls {display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:14px}
.light-control {display:flex; align-items:center; gap:13px; flex-wrap:wrap}
.light-control>span {font-size:14px; font-weight:740}
.light-control [role=group] {display:flex; gap:3px}
.light-control button {min-height:40px; padding:4px 11px; border-radius:5px; font-size:14px}
.light-control button[aria-pressed=true] {color:white; background:var(--night)}
.club-link {display:inline-flex; align-items:center; min-height:44px}
.home-foot,.editor-foot {width:min(1220px,calc(100% - 64px)); margin:auto; border-top:1px solid var(--line); padding:10px 0 18px}
.editor-foot>a {text-decoration:none; font-family:var(--display)}
.field-guide {width:min(1150px,calc(100% - 72px)); margin:clamp(45px,6.5vw,100px) auto; display:grid; grid-template-columns:minmax(225px,.70fr) minmax(0,1.3fr); gap:clamp(38px,7.5vw,125px); align-items:start}
.field-heading h1 {font-size:clamp(45px,5.2vw,75px); line-height:1; letter-spacing:-.045em; text-wrap:balance}
.field-heading p {max-width:29ch; font-size:clamp(17px,1.5vw,21px); line-height:1.45; margin:20px 0}
.guide-keeper {width:116px; height:auto; margin:15px 0 0 8%; transform:rotate(-3deg)}
.contents {list-style:none; margin:3px 0 0; padding:0; border-top:2px solid var(--ink)}
.entry {display:grid; grid-template-columns:clamp(105px,12vw,155px) 1fr; align-items:center; gap:clamp(17px,2.4vw,34px); text-decoration:none; padding:20px 0; border-bottom:1px solid var(--line)}
.entry h2 {font-size:clamp(22px,2.25vw,31px); letter-spacing:-.025em; text-wrap:pretty}
.entry p {font-size:16px; line-height:1.4; color:var(--quiet); margin-top:5px}
.entry-art {display:flex; align-items:center; justify-content:center; aspect-ratio:1.6; overflow:hidden; border-radius:32% 35% 32% 30% / 49% 43% 47% 45%; background:#d7e5ec}
.entry-art img {height:91%; max-width:86%; object-fit:contain}
.entry-art.art-1 {border-radius:9px; background:#687192}
.entry-art.art-1 img {width:89%; height:auto}
.entry-art.art-2 {background:#e3ecd5}
.entry-art.art-3 {background:#f7e8cb}
.entry-art.art-3 img {width:30%; height:73%}
.crumb,.return {font-size:14px; font-weight:800}
.reader .wardrobe-inner {width:100%; padding:0; margin:32px 0}
.reader .wardrobe-intro,.reader .wardrobe-controls {display:block}
.reader .wardrobe-intro {padding-bottom:10px}
.reader .wardrobe h2 {font-size:30px; margin:0}
.reader .wardrobe-intro>p {max-width:none}
.reader .costume-portrait {height:clamp(103px,16vw,167px)}
.reader .rail figcaption strong {font-size:clamp(19px,2vw,25px)}
.reader .drop-note {font-size:15px; color:var(--quiet); margin-top:17px}
@media(hover:hover) and (pointer:fine) {
  .mast a:not(.store):hover, .entry:hover h2 {text-decoration:underline}
  .store:hover,.primary:hover {background:var(--night-hover)}
  .sky-stop:hover .forecast-action,.cat-choice:hover span,.sky-tools button:hover,.club-link:hover {text-decoration-thickness:2px}
  .light-control button[aria-pressed=false]:hover {background:var(--sky-wash)}
}
@media(max-width:790px) {
  .wardrobe-intro {display:block}
  .wardrobe-intro>p {max-width:55ch; margin:10px 0 0}
  .field-guide {grid-template-columns:1fr; gap:26px; margin-block:34px}
  .field-heading {position:relative; padding-right:105px}
  .field-heading h1 {font-size:clamp(39px,6.6vw,55px)}
  .field-heading p {margin:11px 0 0; max-width:44ch}
  .guide-keeper {position:absolute; width:70px; margin:0; right:5px; top:50%; transform:translateY(-50%)}
}
@media(max-width:610px) {
  .mast>div,.home-foot,.editor-foot {width:calc(100% - 28px)}
  .mast>div {min-height:56px; gap:8px}
  .wordmark {font-size:19px; gap:5px}
  .wordmark img {width:25px;height:25px;border-radius:6px}
  .mast nav {font-size:13px; gap:10px}
  .mast .nav-store {font-size:12px; padding:4px 8px; min-height:34px}
  .weather-world {padding:25px 13px 15px}
  .sky-intro {margin-bottom:20px}
  .sky-intro h1 {font-size:clamp(37px,8.7vw,50px); max-width:16ch; margin:auto}
  .sky-intro p {max-width:35ch; font-size:16px}
  .sky-stage {display:flex; justify-content:center; width:100%}
  .sky-stop {display:none}
  .iphone {--device-width:222px}
  .reading {padding-top:9px}
  #degrees {font-size:49px}
  #cat {max-height:139px}
  .clouds::after {inset:65% -45% -1px}
  .sky-tools {margin-top:7px}
  .wardrobe-inner {width:calc(100% - 32px); padding:40px 0}
  .wardrobe-intro {padding-bottom:18px}
  .wardrobe h2 {font-size:36px}
  .wardrobe-intro>p {font-size:16px}
  .rail figure {padding:14px 2px 12px}
  .costume-portrait {height:clamp(95px,25vw,148px)}
  .rail figcaption {margin-top:8px}
  .rail figcaption strong {font-size:clamp(17px,4.5vw,24px)}
  .rail figcaption span {font-size:12px}
  .wardrobe-controls {flex-wrap:wrap; gap:2px}
  .light-control {gap:7px}
  .light-control button {padding-inline:8px}
  .field-guide {width:calc(100% - 36px)}
  .field-heading {padding-right:68px}
  .field-heading h1 {text-wrap:pretty}
  .field-heading p {font-size:16px}
  .guide-keeper {width:55px}
  .entry {grid-template-columns:clamp(64px,21vw,110px) 1fr; gap:13px; padding:15px 0}
  .entry h2 {font-size:21px}
  .entry p,.reader .drop-note {font-size:14px}
  .entry-art {aspect-ratio:1.22}
  .reader {width:calc(100% - 32px); margin-top:22px}
  .reader .art {margin:18px 0; min-height:0}
  .reader p {font-size:17px}
  .reader .rail figcaption strong {font-size:clamp(17px,4.5vw,23px)}
}
.short-nav {display:none}
.mast nav a {white-space:nowrap}
.sky-stop {width:235px}
.forecast-caption {font-size:clamp(24px,2.35vw,34px)}
.rail figure {position:relative}
.inspect {position:absolute; inset:0; width:100%; height:100%; cursor:zoom-in}
.inspect:focus-visible {outline-offset:-4px}
.rail figcaption strong {text-decoration:underline; text-decoration-color:#51463f66; text-decoration-thickness:1px; text-underline-offset:4px}
.costume-preview {padding:18px 20px 21px; width:min(370px,calc(100% - 32px)); color:var(--ink); border-color:#c4b6a1}
.portrait-head {display:flex; align-items:center; justify-content:space-between; gap:16px; text-align:left}
.portrait-head h3 {font-size:28px; letter-spacing:-.025em}
.dismiss {min-height:42px; font-size:14px; font-weight:800; text-decoration:underline}
.large-portrait {display:block; width:100%; height:min(38svh,310px); object-fit:contain; margin:8px auto 12px}
.wardrobe .portrait-status {text-align:center; margin:0; font-size:14px; font-weight:750}
.costume-preview[data-suit=bumblebee] {background:#f7e9bf}
.costume-preview[data-suit=shark] {background:#dbebee}
.costume-preview[data-suit=frog] {background:#e2ebd4}
@media(max-width:610px) {
  .short-nav {display:inline}
  .long-nav {display:none}
  .mast nav {gap:13px}
  .mast .nav-store {padding-inline:12px}
}
.language-menu {position:relative; margin:0; z-index:5}
.language-menu summary {display:grid; width:38px; height:40px; place-items:center; list-style:none; cursor:pointer; border-radius:8px; touch-action:manipulation}
.language-menu summary::-webkit-details-marker {display:none}
.language-menu summary:focus-visible {outline:3px solid #40748b; outline-offset:2px}
.globe {position:relative; display:block; box-sizing:border-box; width:19px; height:19px; border:1.6px solid currentColor; border-radius:50%}
.globe::before {content:""; position:absolute; inset:-1px 3.5px; border:1.3px solid currentColor; border-radius:50%}
.globe::after {content:""; position:absolute; left:0; right:0; top:50%; border-top:1.3px solid currentColor}
.language-list {position:absolute; top:100%; right:0; min-width:200px; padding:6px; background:var(--paper); border:1px solid var(--line); border-radius:8px; box-shadow:0 6px 18px #4d3b4518}
.mast .language-list a {display:flex; padding:3px 12px; min-height:37px; font-size:15px; text-decoration:none}
.language-list a:hover,.language-list [aria-current] {background:var(--sky-wash); border-radius:4px}
.language-list .lang-auto {margin-top:4px; border-top:1px solid var(--line); white-space:normal}
.langs {flex-wrap:wrap; justify-content:flex-end; gap:0 13px}
html:lang(ja) {line-break:strict}
.keep-word {white-space:nowrap}
html:lang(ja) h1,html:lang(ja) h2,html:lang(ja) h3 {line-height:1.22; letter-spacing:-.025em}
@media(max-width:610px) {
 .mast nav {gap:8px}
 .language-menu summary {width:30px}
 .home-foot,.editor-foot {flex-wrap:wrap}
 .langs {justify-content:flex-start}
}
@media(max-width:375px) {
 .mast>div {width:calc(100% - 18px); gap:5px}
 .mast nav {gap:6px}
 .mast .nav-store {padding-inline:7px}
 .wordmark {font-size:17px}
 .wordmark img {width:23px;height:23px}
}

.phone-widget .pair-note {font-size:12px; font-weight:700; line-height:1.35; max-width:25ch; text-wrap:balance}
/* The note is three lines in every language. Under the Spanish title, which is three lines too, that left 4px above the weather buttons. */
.phone-widget {gap:6px}

html:lang(ja) {--display: Fredoka, ui-rounded, "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif; --body: Nunito, "Hiragino Sans", sans-serif}
html:lang(zh-Hans) {--display: Fredoka, ui-rounded, "PingFang SC", sans-serif; --body: Nunito, "PingFang SC", sans-serif}

.costume-move, .more-to-come img {display:block; height:100%; width:auto; aspect-ratio:400/426; object-fit:cover; border-radius:16px; background:#cfe5f2}
.wardrobe:not([data-light=move]) .costume-move, .wardrobe[data-light=move] .has-move .costume-portrait img {display:none}

.costume-portrait img[data-suit] {width:auto; max-width:none; transform-origin:0 0}
.costume-portrait img[src$="club-bumblebee-sun.webp"] {transform:translate(4.41%,1.21%) scale(0.9781)}
.costume-portrait img[src$="club-bumblebee-rain.webp"] {transform:translate(8.59%,10.25%) scale(0.8838)}
.costume-portrait img[src$="club-bumblebee-night.webp"] {transform:translate(6.03%,2.91%) scale(0.9600)}
.costume-portrait img[src$="club-shark-sun.webp"] {transform:translate(6.96%,6.42%) scale(0.9176)}
.costume-portrait img[src$="club-shark-rain.webp"] {transform:translate(10.90%,15.07%) scale(0.8274)}
.costume-portrait img[src$="club-shark-night.webp"] {transform:translate(8.58%,8.89%) scale(0.8900)}
.costume-portrait img[src$="club-frog-sun.webp"] {transform:translate(5.77%,5.26%) scale(0.9341)}
.costume-portrait img[src$="club-frog-rain.webp"] {transform:translate(10.89%,14.60%) scale(0.8396)}
.costume-portrait img[src$="club-frog-night.webp"] {transform:translate(8.52%,7.81%) scale(0.9055)}

.rail {grid-template-columns:repeat(4,minmax(0,1fr))}
.rail .more-to-come {background:#e9e6f3}
.rail .more-to-come figcaption strong {text-decoration:none; font-size:clamp(17px,1.55vw,22px); line-height:1.25; text-wrap:balance; padding-inline:8px}
@media(max-width:790px) {
 .rail {grid-template-columns:repeat(2,minmax(0,1fr))}
 .rail figure:nth-child(3) {border-left:0}
 .rail figure:nth-child(n+3) {border-top:1px solid #ffffffa1}
 .wardrobe .rail .costume-portrait {height:clamp(120px,36vw,200px)}
 .rail .more-to-come figcaption strong {font-size:clamp(15px,4vw,20px)}
}

@media (prefers-reduced-motion:reduce) {
  #pet {visibility:visible}
  .home[data-weather=sun] #cat {cursor:pointer}
}

@media(min-width:611px) {
 .keep-clause {white-space:nowrap}
}
