/* PW's digital garden. System fonts and locally drawn SVG keep the page light. */
:root {
  color-scheme: light;
  --bg: #f7f7f2;
  --surface: #fffefa;
  --surface-hover: #ffffff;
  --ink: #2d3e34;
  --body: #5c665c;
  --muted: #626d5d;
  --line: #e0e3d8;
  --accent: #a4543a;
  --green: #355643;
  --soft: #eeefe6;
  --selected: #e4eadd;
  --selected-ink: #34533d;
  --clock: #eef0e5;
  --focus: #b36d45;
  --shadow: 0 10px 30px #344e3b08;
  --art-halo: #edf0e3;
  --art-inside: #d7decb;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171e1a;
  --surface: #202923;
  --surface-hover: #27332b;
  --ink: #e6eade;
  --body: #bbc3b4;
  --muted: #a1ac9b;
  --line: #354237;
  --accent: #dda68a;
  --green: #b9caaa;
  --soft: #28332a;
  --selected: #3b4c39;
  --selected-ink: #e1ead7;
  --clock: #253226;
  --focus: #e4b28b;
  --shadow: 0 10px 30px #00000013;
  --art-halo: #28362b;
  --art-inside: #3f5644;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, input, a { touch-action: manipulation; }
::selection { color: var(--ink); background: var(--selected); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 20; left: 20px; top: 12px; padding: 12px 18px; border-radius: 8px; background: var(--ink); color: var(--bg); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.icon.small { width: 15px; height: 15px; }
.site-shell { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; gap: 40px; min-height: 91px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-block; font-family: Georgia, "Times New Roman", serif; font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -3px; padding-bottom: 5px; }
.wordmark span { color: var(--accent); }
.header-nav { display: flex; align-items: stretch; gap: 30px; margin-left: 55px; align-self: stretch; }
.header-nav a { display: flex; align-items: center; position: relative; color: var(--muted); font-size: 13px; letter-spacing: .6px; }
.header-nav a:hover, .header-nav a:focus-visible { color: var(--ink); }
.header-nav a[aria-current] { color: var(--ink); font-weight: 600; }
.header-nav a[aria-current]::after { content: ""; position: absolute; bottom: -1px; left: 35%; right: 35%; height: 2px; background: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 19px; margin-left: auto; }
.github-link { display: flex; align-items: center; gap: 9px; min-height: 40px; font-size: 12px; }
.github-link:hover { color: var(--accent); }
.github-link .small { color: var(--muted); }
.header-separator { width: 1px; height: 18px; background: var(--line); }
.icon-button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 10px; border: 0; border-radius: 50%; background: transparent; color: var(--body); }
.icon-button:hover { background: var(--soft); color: var(--ink); }
.theme-sun, [data-theme="dark"] .theme-moon { display: none; }
[data-theme="dark"] .theme-sun { display: block; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; padding: 57px 0 51px; }
.hero-copy { position: relative; padding-bottom: 6px; }
.eyebrow { margin: 0; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 2px; line-height: 1.7; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 9px; letter-spacing: 1.9px; }
.little-star { font-size: 19px; line-height: 1; }
h1 { margin: 21px 0 7px; font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: clamp(40px, 4.7vw, 62px); font-weight: 500; line-height: 1.17; letter-spacing: -1px; }
.name { font-family: Georgia, "Times New Roman", serif; font-size: 1.22em; font-weight: 400; letter-spacing: -3px; }
.name-dot { color: var(--accent); }
.hero-tagline { margin: 15px 0 18px; color: var(--ink); font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 27px; letter-spacing: 1px; line-height: 1.4; }
.hero-description { margin: 0; font-size: 13px; line-height: 2.05; letter-spacing: .35px; color: var(--body); }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 19px; min-height: 44px; padding: 12px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .4px; transition: transform .2s, background .2s; }
.button-primary { background: #355643; color: #fbfcf4; box-shadow: 0 4px 10px #344e3910; }
.button-primary:hover { background: #476d51; transform: translateY(-2px); }
[data-theme="dark"] .button-primary { background: #bbcdae; color: #1e3123; }
.button .icon { width: 17px; height: 17px; }
.button-secondary { background: var(--selected); color: var(--selected-ink); }
.text-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: var(--body); font-size: 11px; }
.text-link .icon { width: 16px; height: 16px; transition: transform .2s; }
.text-link:hover { color: var(--ink); }
.text-link:hover .icon { transform: translateX(3px); }
.hero-footnote { display: flex; align-items: center; gap: 11px; margin-top: 29px; color: var(--muted); font-size: 8px; letter-spacing: 1.5px; }
.short-line { width: 24px; height: 1px; background: var(--line); }
.hero-art { padding: 0; min-width: 0; }
.garden-art { display: block; width: 100%; max-width: 500px; height: auto; margin-left: auto; }
.art-halo { fill: var(--art-halo); }
.art-orbit { stroke: var(--line); }
.art-line { stroke: var(--muted); opacity: .5; }
.art-ground { fill: #5e7258; opacity: .09; }
.arch-inside { fill: var(--art-inside); }
.art-label { fill: #f9f6e7; }
.art-caption { fill: var(--muted); }
/* One gentle arrival, then stillness. No background animation loop. */
.art-float-one { animation: settle-one 1.1s ease-out both; }
.art-float-two { animation: settle-two 1.2s ease-out both; }
@keyframes settle-one { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes settle-two { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.services-section { padding-top: 26px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 25px; }
.section-heading .eyebrow { color: var(--accent); font-size: 8px; letter-spacing: 1.9px; }
h2 { margin: 7px 0 0; font-size: 22px; font-weight: 600; letter-spacing: 1px; line-height: 1.5; }
.heading-dot { color: var(--accent); font-family: Georgia, serif; padding-left: 2px; }
.section-note { display: flex; align-items: center; gap: 20px; margin: 0 0 4px; color: var(--body); font-size: 11px; letter-spacing: .4px; }
.section-note span { padding-left: 20px; border-left: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.workspace { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 30px; align-items: start; }
.library { min-width: 0; }
.search-field { display: flex; align-items: center; gap: 12px; height: 51px; padding: 0 15px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.search-field:focus-within { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 12%, transparent); }
.search-field > .icon { width: 18px; height: 18px; }
.search-field input { min-width: 0; flex: 1; height: 100%; padding: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: var(--muted); opacity: 1; }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field kbd { display: flex; align-items: center; justify-content: center; width: 22px; height: 24px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg); font-size: 12px; color: var(--muted); }
.clear-search { width: 30px; height: 30px; padding: 7px; }
.filter-row { display: flex; align-items: center; margin: 16px 0 18px; }
.filters { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 36px; padding: 7px 11px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--body); font-size: 11px; line-height: 1.5; white-space: nowrap; transition: background .2s; }
.filter > span { color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.filter:hover { background: var(--soft); }
.filter[aria-pressed="true"] { background: var(--selected); color: var(--selected-ink); font-weight: 600; }
.filter[aria-pressed="true"] > span { color: var(--selected-ink); }
.filter .icon { width: 13px; height: 13px; }
.favorites-filter { margin-left: 7px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.service-card { position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.service-card:hover { transform: translateY(-3px); border-color: #b7c4ac; background: var(--surface-hover); box-shadow: var(--shadow); }
.service-card:focus-within { border-color: var(--focus); }
.service-link { display: flex; flex-direction: column; padding: 20px 19px 15px; height: 100%; border-radius: inherit; }
.service-link:focus-visible { outline-offset: -2px; }
.service-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; margin-bottom: 15px; border: 1px solid #00000003; border-radius: 10px; }
.service-icon .icon { width: 20px; height: 20px; stroke-width: 1.5; }
.terracotta { background: #f4e8df; color: #a75f44; }
.ochre { background: #f0ecd9; color: #927b36; }
.sage { background: #eaf0e3; color: #59774e; }
.slate { background: #e7ecee; color: #577380; }
.charcoal { background: #ecece5; color: #596356; }
.lavender { background: #ece8f1; color: #887395; }
[data-theme="dark"] .terracotta { background: #46372d; color: #e9b090; }
[data-theme="dark"] .ochre { background: #3c3e28; color: #d9ca88; }
[data-theme="dark"] .sage { background: #31412e; color: #b3caa4; }
[data-theme="dark"] .slate { background: #2b3b3d; color: #a4c5cc; }
[data-theme="dark"] .charcoal { background: #363e32; color: #c5ceb9; }
[data-theme="dark"] .lavender { background: #3a3243; color: #cebbdf; }
.service-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 17px; font-weight: 650; line-height: 1.5; letter-spacing: -.2px; }
.service-alias { font-size: 11px; font-weight: 400; color: var(--muted); letter-spacing: .2px; }
.service-description { margin: 7px 0 19px; flex: 1; font-size: 12px; color: var(--body); line-height: 1.7; }
.service-domain { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding-top: 11px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; font-family: "SFMono-Regular", Consolas, monospace; line-height: 1.5; }
.service-domain .icon { width: 15px; height: 15px; transition: transform .2s, color .2s; }
.service-card:hover .service-domain .icon { transform: translate(2px,-2px); color: var(--accent); }
.favorite-button { position: absolute; right: 10px; top: 10px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; padding: 9px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); opacity: .85; }
.favorite-button .icon { width: 15px; height: 15px; }
.favorite-button:hover, .favorite-button:focus-visible { opacity: 1; background: var(--soft); color: var(--accent); }
.favorite-button[aria-pressed="true"] { opacity: 1; color: var(--accent); }
.favorite-button[aria-pressed="true"] .icon { fill: currentColor; }
.library-note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px; margin: 21px 0 0; color: var(--muted); font-size: 9px; letter-spacing: .3px; }
.library-note > .icon { width: 12px; height: 12px; margin-right: 2px; }
.empty-results { padding: 62px 20px; border: 1px dashed var(--line); border-radius: 11px; text-align: center; color: var(--body); }
.empty-results > .icon { width: 28px; height: 28px; color: var(--muted); }
.empty-results h3 { margin: 17px 0 8px; font-size: 16px; font-weight: 500; color: var(--ink); }
.empty-results p { font-size: 12px; line-height: 1.8; }
.empty-results .button { margin-top: 14px; font-size: 11px; }
.sidebar { display: flex; flex-direction: column; gap: 23px; min-width: 0; }
.moment-card { background: var(--clock); border: 1px solid var(--line); border-radius: 11px; padding: 20px; }
.sidebar-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 22px; }
.sidebar-title h3 { display: flex; align-items: center; gap: 7px; margin: 0; font-size: 11px; font-weight: 500; letter-spacing: .7px; }
.sidebar-title h3 .icon { width: 14px; height: 14px; color: var(--body); }
.moment-sun { width: 18px; height: 18px; color: var(--accent); }
.local-time { display: flex; align-items: baseline; gap: 8px; margin: 15px 0 3px; font-family: Georgia, "Times New Roman", serif; font-size: 48px; font-weight: 400; letter-spacing: -2px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.time-period { color: var(--body); font-family: inherit; font-size: 10px; letter-spacing: .7px; }
.local-date { margin: 8px 0 16px; font-size: 10px; color: var(--body); letter-spacing: .45px; }
.moment-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-top: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); padding-top: 12px; color: var(--body); font-size: 9px; line-height: 1.6; }
.status-dot { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: #8a9a6b; }
.timezone-label { width: 100%; margin-left: 11px; margin-top: 2px; font-size: 8px; color: var(--muted); }
.recent-section { padding: 0 4px; }
.quiet-button { background: transparent; border: 0; min-height: 30px; padding: 4px 5px; font-size: 10px; color: var(--muted); }
.quiet-button:hover { color: var(--accent); }
.recent-list { display: flex; flex-direction: column; gap: 9px; margin-top: 14px; }
.recent-link { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; background: var(--surface); }
.recent-link:hover { border-color: var(--focus); background: var(--surface-hover); }
.recent-link .service-icon { width: 31px; height: 31px; border-radius: 8px; margin: 0; }
.recent-link .service-icon .icon { width: 16px; height: 16px; }
.recent-copy { min-width: 0; flex: 1; }
.recent-name { display: block; font-size: 11px; font-weight: 600; line-height: 1.6; }
.recent-domain { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 9px; color: var(--muted); line-height: 1.6; }
.recent-link > .icon { width: 13px; height: 13px; color: var(--muted); }
.recent-empty { margin-top: 15px; padding: 15px 8px 18px; border: 1px dashed var(--line); border-radius: 9px; text-align: center; }
.empty-orbits { position: relative; display: flex; align-items: center; justify-content: center; width: 78px; height: 58px; margin: 0 auto 9px; }
.empty-orbits > .icon { width: 23px; height: 23px; padding: 2px; color: #8c9b7f; }
.empty-orbits > span { position: absolute; width: 65px; height: 35px; border: 1px solid var(--line); border-radius: 50%; transform: rotate(-28deg); }
.empty-orbits::after { content: ""; position: absolute; left: 12px; top: 39px; width: 4px; height: 4px; background: #b59470; border-radius: 50%; }
.recent-empty p { margin: 0 0 8px; font-size: 11px; color: var(--body); }
.recent-empty > span { font-size: 9px; color: var(--muted); line-height: 1.7; }
.storage-note { color: var(--muted); text-align: center; font-size: 8px; margin: 10px 0 0; line-height: 1.6; }
.about-card { position: relative; overflow: hidden; background: #355441; color: #f6f6e9; border-radius: 11px; padding: 23px; }
.about-icon .icon { width: 22px; height: 22px; color: #c7d2b1; }
.about-card .eyebrow { margin-top: 18px; color: #d1d8c0; font-size: 7px; letter-spacing: 1.4px; }
.about-card h3 { margin: 9px 0 13px; font-family: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; font-size: 23px; font-weight: 500; letter-spacing: 1px; line-height: 1.6; }
.about-card > p:not(.eyebrow) { position: relative; z-index: 1; color: #e0e5d4; font-size: 11px; line-height: 1.95; letter-spacing: .2px; }
.about-card > a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 13px; min-height: 40px; margin-top: 12px; font-size: 10px; color: #eff2e4; }
.about-card > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.about-card > a .icon { width: 15px; height: 15px; }
.about-flower { position: absolute; right: -23px; bottom: -25px; color: #78966c; opacity: .14; font-size: 150px; line-height: 1; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 48px; padding: 26px 0 31px; border-top: 1px solid var(--line); font-size: 9px; color: var(--muted); letter-spacing: .3px; }
.site-footer > div { display: flex; align-items: center; gap: 18px; }
.footer-mark { font-family: Georgia, serif; color: var(--ink); font-size: 24px; font-weight: 700; letter-spacing: -1.6px; }
.site-footer > a { display: flex; align-items: center; gap: 9px; min-height: 36px; }
.site-footer > a:hover { color: var(--ink); }
.site-footer > a .icon { width: 14px; height: 14px; transform: rotate(-90deg); }
.toast { position: fixed; bottom: 26px; left: 50%; z-index: 10; max-width: calc(100% - 36px); transform: translateX(-50%); padding: 12px 19px; border: 1px solid var(--line); border-radius: 9px; color: var(--bg); background: var(--ink); box-shadow: 0 5px 25px #00000018; font-size: 12px; text-align: center; line-height: 1.6; }
@media (min-width: 1600px) { .hero { padding: 68px 0 62px; } }
@media (max-width: 1150px) {
  .site-shell { width: calc(100% - 64px); }
  .site-header { gap: 28px; }
  .header-nav { margin-left: 25px; gap: 25px; }
  .hero { gap: 0; padding: 45px 0; }
  .hero-tagline { font-size: 24px; }
  .hero-description { font-size: 11px; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .hero-actions { gap: 20px; }
  .workspace { grid-template-columns: minmax(0, 1fr) 238px; gap: 22px; }
  .service-grid { gap: 12px; }
  .service-link { padding: 18px 14px 14px; }
  .service-name { gap: 5px; font-size: 16px; }
  .service-alias { font-size: 10px; }
  .service-description { font-size: 11px; }
  .filter { padding: 7px 9px; }
  .filters { gap: 3px; }
}
@media (max-width: 980px) {
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 20px; margin-top: 13px; }
  .about-card { grid-column: 1 / -1; padding: 25px 28px; }
  .about-card .about-icon { float: right; }
  .about-card .eyebrow { margin-top: 0; }
  .about-card h3 { font-size: 25px; }
  .about-card h3 br { display: none; }
  .about-card > p:not(.eyebrow) { max-width: 520px; }
  .about-card > a { margin-top: 1px; }
  .recent-section { padding: 2px 2px 0; }
  .hero-tagline { font-size: 22px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { padding: 11px 17px; font-size: 11px; }
  .text-link { font-size: 10px; }
  .header-nav { gap: 23px; margin-left: 10px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 18px; }
  .site-shell { width: calc(100% - 40px); }
  .site-header { min-height: 75px; gap: 20px; }
  .wordmark { font-size: 36px; }
  .header-nav { gap: 21px; margin-left: 4px; }
  .header-nav a { font-size: 11px; }
  .header-nav .nav-home { display: none; }
  .header-actions { gap: 7px; }
  .header-separator, .github-link > span, .github-link > .small { display: none; }
  .github-link { justify-content: center; min-width: 36px; }
  .github-link > .icon { width: 18px; height: 18px; }
  .theme-toggle { width: 36px; height: 36px; padding: 9px; }
  .hero { grid-template-columns: minmax(0,1fr); padding: 35px 0 26px; gap: 9px; }
  .hero-copy { padding: 0; }
  .hero-copy > .eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  h1 { margin-top: 21px; font-size: 43px; }
  .hero-tagline { font-size: 24px; margin-top: 13px; }
  .hero-description { font-size: 11px; line-height: 2; letter-spacing: .15px; }
  .hero-actions { margin-top: 22px; gap: 25px; }
  .hero-actions .button { font-size: 11px; }
  .text-link { font-size: 11px; }
  .hero-footnote { display: none; }
  .hero-art { width: min(100%, 400px); margin: 0 auto; }
  .garden-art { width: 100%; max-height: 266px; }
  .services-section { padding-top: 22px; }
  .section-heading { align-items: end; margin-bottom: 21px; }
  h2 { font-size: 21px; }
  .section-note { flex-direction: column; align-items: flex-end; gap: 6px; font-size: 10px; margin-bottom: 3px; }
  .section-note span { font-size: 8px; padding-left: 0; border: 0; }
  .search-field { height: 49px; padding-inline: 13px; }
  .search-field input { font-size: 16px; }
  .search-field input::placeholder { font-size: 11px; }
  .filter-row { margin: 13px 0 16px; }
  .filters { gap: 4px; }
  .filter { min-height: 39px; padding: 8px 9px; font-size: 10px; gap: 5px; }
  .filter > span { font-size: 8px; }
  .favorites-filter { margin-left: 0; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .service-link { padding: 18px 14px 14px; }
  .service-icon { width: 35px; height: 35px; margin-bottom: 13px; }
  .service-name { font-size: 15px; gap: 6px; }
  .service-alias { font-size: 10px; }
  .service-description { font-size: 11px; margin-top: 7px; margin-bottom: 16px; }
  .service-domain { font-size: 9px; }
  .favorite-button { top: 9px; right: 7px; width: 34px; height: 34px; }
  .sidebar { grid-template-columns: minmax(0,1fr); margin-top: 11px; gap: 25px; }
  .moment-card { padding: 20px 23px; }
  .local-time { margin-top: 12px; }
  .moment-bottom { flex-wrap: nowrap; }
  .timezone-label { width: auto; margin: 0 0 0 auto; }
  .recent-section { padding: 0 3px; }
  .recent-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .recent-link { padding: 10px; gap: 8px; }
  .recent-link > .icon { display: none; }
  .recent-empty { padding-top: 17px; padding-bottom: 22px; }
  .about-card { padding: 25px; }
  .about-card h3 { font-size: 25px; }
  .about-card h3 br { display: block; }
  .about-card > p:not(.eyebrow) { font-size: 11px; max-width: 310px; }
  .about-card > a { margin-top: 8px; font-size: 11px; }
  .site-footer { margin-top: 31px; padding-top: 21px; font-size: 8px; }
  .site-footer > div { gap: 12px; }
  .footer-mark { font-size: 22px; }
  .site-footer > a { gap: 4px; }
}
@media (max-width: 370px) {
  .site-shell { width: calc(100% - 28px); }
  .site-header { gap: 11px; }
  .header-nav { gap: 14px; margin-left: 0; }
  .header-actions { gap: 0; }
  h1 { font-size: 38px; }
  .hero-copy > .eyebrow { letter-spacing: 1px; font-size: 7px; }
  .hero-tagline { font-size: 21px; }
  .hero-description { font-size: 10px; }
  .hero-actions { gap: 17px; }
  .filter { padding: 7px; }
  .filter > span { display: none; }
  .service-link { padding: 16px 12px 13px; }
  .service-grid { gap: 10px; }
  .service-alias { flex-basis: 100%; }
  .service-name { gap: 2px; }
  .service-description { min-height: 34px; }
  .site-footer > div { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  :root { color-scheme: light; --bg: #fff; --ink: #222; --body: #444; --surface: #fff; --line: #ddd; --muted: #555; }
  .hero-art, .header-actions, .sidebar, .filter-row, .search-field, .favorite-button, .toast { display: none !important; }
  .site-shell { width: 100%; }
  .hero, .workspace { display: block; }
  .hero { padding: 25px 0; }
  .service-card { break-inside: avoid; }
}
