:root {
  color-scheme: light;
  --bg: #FCFBFD;
  --surface: #FFFFFF;
  --ink: #242729;
  --muted: #606B6C;
  --line: #E6E1EB;
  --accent: #6935BC;
  --soft: #F0EDF4;
  --score: #A22E62;
  --score-bg: #FCE6F0;
  --card-line: #E9E5EE;
  --logo: #7139C5;
  --large-score: #BF3E78;
  --rating-fill: #C85186;
  --rating-track: #F0EEF2;
  --menu-shadow: #E0E1DE;
  --profile-shadow: #DFDAE4;
  font-family: system-ui, sans-serif;
  background: var(--bg);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101112;
  --surface: #282B2E;
  --ink: #F3F4F2;
  --muted: #C4C8C8;
  --line: #53585B;
  --accent: #C9A8FF;
  --soft: #373B3E;
  --score: #F6CE5E;
  --score-bg: #423720;
  --card-line: transparent;
  --logo: #7842C9;
  --large-score: #F6CE5E;
  --rating-fill: #E8BC4D;
  --rating-track: #454A4D;
  --menu-shadow: #1A1C1D;
  --profile-shadow: #191A1C;
}

/* Capture the sticky header separately so scrolling cannot clip it out of the page snapshot. */
:root.theme-transition .site-header { view-transition-name: yamito-header; }
:root.theme-transition::view-transition-group(yamito-header) { z-index: 1; }
:root.theme-transition::view-transition-group(root),
:root.theme-transition::view-transition-group(yamito-header),
:root.theme-transition::view-transition-old(root),
:root.theme-transition::view-transition-old(yamito-header),
:root.theme-transition::view-transition-new(root),
:root.theme-transition::view-transition-new(yamito-header) {
  animation: none;
  mix-blend-mode: normal;
}
:root.theme-transition::view-transition-new(root),
:root.theme-transition::view-transition-new(yamito-header) {
  animation: theme-reveal 420ms cubic-bezier(.28, .56, .4, 1) both;
}
:root.theme-transition::view-transition-new(yamito-header) { --theme-origin: var(--theme-header-origin); }
@keyframes theme-reveal {
  from { clip-path: circle(0px at var(--theme-origin)); }
  /* Paint the full reveal before the browser removes the captured layers. */
  88%, to { clip-path: circle(var(--theme-radius) at var(--theme-origin)); }
}

* { box-sizing: border-box; }
body { isolation: isolate; margin: 0; background: var(--bg); color: var(--ink); }
.sakura { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sakura-petal {
  position: absolute;
  top: -24px;
  left: var(--x);
  width: var(--size);
  aspect-ratio: 1;
  background: #E486B0;
  border-radius: 70% 55% 65% 25% / 65% 55% 75% 40%;
  opacity: var(--opacity);
  animation: sakura-fall var(--duration) var(--delay) linear infinite;
}
@keyframes sakura-fall {
  0% { transform: translate3d(0, 0, 0) rotate(20deg); }
  33% { transform: translate3d(var(--drift), 35vh, 0) rotate(100deg); }
  66% { transform: translate3d(calc(var(--drift) * -.25), 70vh, 0) rotate(215deg); }
  100% { transform: translate3d(var(--drift), calc(100vh + 48px), 0) rotate(335deg); }
}
[data-theme="dark"] .sakura { display: none; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
:where(a[href], button, input, label) {
  -webkit-tap-highlight-color: rgb(105 53 188 / 12%);
  -webkit-tap-highlight-color: color-mix(in srgb, var(--tap-color, currentColor) 14%, transparent);
}
.primary { --tap-color: color-mix(in srgb, var(--logo) 60%, #fff); }
.review-tools button[aria-pressed="true"] { --tap-color: color-mix(in srgb, var(--accent) 60%, var(--ink)); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h2, h3, p { margin: 0; }
.sr-only, .sprite { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wrap { width: min(1060px, 100% - 44px); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 2; background: var(--bg); }
.header-inner { border-bottom: 1px solid var(--line); }
.header-inner, .header-actions, .panel-heading, .review-meta, .site-footer { display: flex; align-items: center; }
.header-inner, .panel-heading, .review-meta, .site-footer { justify-content: space-between; gap: 12px; }
.header-inner { min-height: 68px; }
.header-actions { gap: 6px; }
.logo { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: 17px; font-weight: 700; letter-spacing: .015em; text-decoration: none; white-space: nowrap; }
.logo-mark { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 8px; background: var(--logo); color: #FFFFFF; font-size: 18px; font-weight: 700; }
#header-theme .sun, [data-theme="dark"] #header-theme .moon { display: none; }
[data-theme="dark"] #header-theme .sun { display: block; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--ink); }
#header-theme { -webkit-tap-highlight-color: transparent; }
.icon-button:where(:not(#header-theme)):hover { color: var(--accent); background: var(--soft); }
.icon-button:disabled { opacity: .35; }
.account-avatar { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.header-avatar { display: none; width: 28px; height: 28px; }
.header-avatar:has(img) { display: block; }
#open-profile:has(.header-avatar img) > svg { display: none; }
.icon-button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
main { padding-block: 30px 44px; }
.shelf { margin-bottom: 31px; scroll-margin-top: 86px; }
.shelf:last-child { margin-bottom: 0; }
.shelf h2 { margin-bottom: 13px; font-size: 17px; font-weight: 700; letter-spacing: -.03em; }
.shelf-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 9px; }
.shelf-heading h2 { margin: 0; }
.carousel-controls { display: flex; gap: 4px; }
.carousel-controls .icon-button { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 8px; color: var(--accent); }
.carousel-controls .icon-button svg { width: 15px; height: 15px; }
.previous svg { transform: rotate(180deg); }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding: 2px 0 5px; scroll-snap-type: x mandatory; }
.anime-card { display: block; text-decoration: none; position: relative; width: 100%; padding: 0; overflow: hidden; scroll-snap-align: start; text-align: start; color: var(--ink); background: transparent; border: 0; border-radius: 2px; align-self: start; }
.anime-card .art { aspect-ratio: 4 / 3; }
.anime-card:hover .card-title { color: var(--accent); }
.anime-card:focus-visible { outline-offset: -2px; }
.art { --sky: #8298ba; --base: #283d61; --moon: #dce7f4; --ridge: #263654; display: block; position: relative; isolation: isolate; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px; background: linear-gradient(155deg, var(--sky), var(--base)); }
.art::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 66% 32%, var(--moon) 0 11%, transparent 11.5%), repeating-linear-gradient(110deg, transparent 0 36px, #fff2 38px 39px, transparent 40px 78px); }
.art::after { content: ""; position: absolute; inset: 0; background: var(--ridge); clip-path: polygon(0 65%, 12% 56%, 26% 68%, 44% 44%, 62% 69%, 76% 54%, 100% 70%, 100% 100%, 0 100%); }
.erased { --sky: #8298ba; --base: #283d61; --moon: #dce7f4; --ridge: #263654; }
.frieren { --sky: #b0c3ad; --base: #4f6a67; --moon: #f3e2aa; --ridge: #385950; }
.violet { --sky: #c4a2ce; --base: #67527e; --moon: #f8d6db; --ridge: #514060; }
.apothecary { --sky: #d5af79; --base: #a04f48; --moon: #ffdfb4; --ridge: #743a42; }
.dungeon { --sky: #a4bd77; --base: #526547; --moon: #ebdfab; --ridge: #414d3e; }
.mob { --sky: #db8e9e; --base: #714d8e; --moon: #ffdbb8; --ridge: #56396e; }
.card-body { display: grid; justify-items: start; gap: 2px; padding: 5px 0 0; }
.card-body .score { background: transparent; padding: 0; font-size: 10px; font-weight: 700; }
.card-title { font-size: 15px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.score { display: inline-flex; align-items: center; gap: 4px; width: max-content; flex-shrink: 0; color: var(--score); background: var(--score-bg); border-radius: 6px; padding: 3px 6px; font-size: .78rem; font-weight: 800; }
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.review { min-width: 0; background: var(--surface); border: 1px solid var(--card-line); border-radius: 17px; padding: clamp(16px, 3vw, 24px); }
.eyebrow { color: var(--muted); font-size: .73rem; font-weight: 650; }
.review p, .panel-note, .site-footer { color: var(--muted); font-size: .875rem; line-height: 1.55; }
.genre-list { display: flex; gap: 8px; flex-wrap: wrap; }
.genre-list button { border-radius: 30px; border: 0; padding: 8px 13px; background: var(--soft); color: var(--ink); font-size: .8rem; }
.genre-list button:hover { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); padding-block: 18px; flex-wrap: wrap; }
.site-footer .logo { font-size: 1rem; }
.panel { --panel-entry-transform: translateY(-8px) scale(.985); width: min(400px, 100% - 32px); max-height: calc(100% - 98px); margin: 76px max(16px, calc((100% - 1060px) / 2)) auto auto; padding: 18px; color: var(--ink); background: var(--surface); border: 1px solid var(--card-line); border-radius: 15px; box-shadow: 4px 6px 0 var(--menu-shadow); transform-origin: top right; }
.panel::backdrop { background: transparent; }
.panel[open] { animation: panel-in 220ms cubic-bezier(.2, .75, .25, 1) both; }
@keyframes panel-in {
  from { opacity: 0; transform: var(--panel-entry-transform); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@supports (transition-behavior: allow-discrete) {
  .panel {
    opacity: 0;
    transform: var(--panel-entry-transform);
    transition: opacity 180ms ease, transform 220ms cubic-bezier(.2, .75, .25, 1),
      display 220ms allow-discrete, overlay 220ms allow-discrete;
  }
  .panel[open] { animation: none; opacity: 1; transform: translateY(0) scale(1); }
  @starting-style {
    .panel[open] { opacity: 0; transform: var(--panel-entry-transform); }
  }
}
.panel-heading { margin-bottom: 10px; }
.panel-heading h2 { font-size: 1.3rem; letter-spacing: -.025em; }
.close { font-size: 1.5rem; }
.panel input { display: block; width: 100%; padding: 11px; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.panel form { display: grid; gap: 12px; margin-top: 14px; }
.panel form label { display: grid; gap: 5px; font-size: .85rem; }
.primary { border: 0; border-radius: 9px; background: var(--logo); color: #FFFFFF; padding: 11px; font-weight: 700; }
#search-dialog {
  --panel-entry-transform: none;
  --search-inset: max(14px, env(safe-area-inset-top));
  --search-height: calc(var(--search-viewport-height, 100dvh) - var(--search-inset) - 14px);
  position: fixed;
  top: var(--search-viewport-top, 0px);
  bottom: auto;
  width: min(460px, 100% - 28px);
  max-width: none;
  max-height: min(640px, var(--search-height));
  margin: var(--search-inset) auto 0;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  /* Keep the layout intact while display and overlay finish transitioning out. */
  flex-direction: column;
  gap: 9px;
}
#search-dialog[open] { display: flex; }
#search-dialog::backdrop {
  background: color-mix(in srgb, var(--bg) 32%, transparent);
  backdrop-filter: blur(5px);
}
@supports (transition-behavior: allow-discrete) {
  #search-dialog::backdrop {
    opacity: 0;
    transition: opacity 180ms ease, display 220ms allow-discrete, overlay 220ms allow-discrete;
  }
  #search-dialog[open]::backdrop { opacity: 1; }
  @starting-style {
    #search-dialog[open]::backdrop { opacity: 0; }
  }
}
.search-bar, .search-results { background: var(--surface); border-radius: 15px; }
.search-bar { display: flex; align-items: center; gap: 10px; min-height: 55px; padding: 5px 10px 5px 14px; border: 1.5px solid var(--accent); }
.search-bar svg, .search-chevron { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.search-icon { flex: 0 0 22px; width: 22px; height: 22px; color: var(--accent); }
.search-bar #query { min-width: 0; padding: 8px 0; border: 0; background: transparent; font-size: 16px; }
.search-bar #query:focus { outline: none; }
.search-bar:focus-within { box-shadow: inset 0 0 0 1px var(--accent); }
#query::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-bar .search-close { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--muted); font-size: 22px; }
.search-results { display: flex; flex: 1; flex-direction: column; min-height: 0; padding: 12px 12px 4px; border: 1px solid var(--line); }
.search-results-heading { display: flex; justify-content: space-between; gap: 8px; padding: 0 3px 7px; color: var(--muted); font-size: 12px; }
.search-results-heading h3 { margin: 0; font-size: inherit; }
.results { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; list-style: none; margin: 0; padding: 0; }
.results a { display: grid; grid-template-columns: 35px minmax(0, 1fr) 16px; align-items: center; gap: 11px; min-height: 60px; padding: 6px 3px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 700; line-height: 1.3; }
.results a:hover { background: var(--soft); }
.results a:focus-visible { outline-offset: -2px; }
.results li + li { border-top: 1px solid var(--line); }
.results .search-cover { aspect-ratio: 35 / 46; }
.results .search-name { overflow-wrap: anywhere; }
.results .search-chevron { width: 16px; height: 16px; color: var(--muted); }
.results .panel-note { padding: 8px 3px; }
.review-author { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15px; font-weight: 700; }
.review-author .avatar { flex: 0 0 42px; width: 42px; height: 42px; color: var(--accent); font-size: 18px; }
.review-byline { display: grid; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.author-profile-link { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.author-profile-link:hover { color: var(--accent); text-decoration-color: currentColor; }
.review-byline time { color: var(--muted); font-size: 12px; font-weight: 400; }
.avatar { display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: var(--soft); }
.review-anime-link { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 19px; color: var(--accent); font-size: 14px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.review-anime-link::after { content: ""; flex: none; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(-45deg); }
.review-anime-link:hover { text-decoration: underline; }

.back-link { display: inline-block; margin-bottom: 13px; color: var(--accent); font-size: .85rem; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.anime-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 55%, var(--line));
  border-radius: 13px;
  background: color-mix(in srgb, var(--accent) 6%, var(--bg));
  font-weight: 700;
}
.anime-back:hover { background: var(--soft); text-decoration: none; }
.anime-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.category-scores {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr 1fr 1.35fr;
  gap: 4px;
  margin: 0;
  padding: 8px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--surface) 58%, var(--bg));
  font-size: 11px;
  text-align: center;
}
.category-scores[hidden] { display: none; }
.category-scores dt { color: var(--muted); }
.category-scores dd { margin: 3px 0 0; font-size: 12px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }

.review-button { justify-self: end; border: 1px solid var(--accent); border-radius: 8px; padding: 8px 13px; color: var(--accent); background: transparent; font-weight: 700; font-size: 10px; text-decoration: none; }
.review-button:hover { background: var(--soft); text-decoration: none; }
.review-button:is(:focus-visible, :active) { text-decoration: none; }
a.review-button { display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 760px) {
  .track { grid-auto-columns: calc((100% - 24px) / 3); gap: 12px; }
}
@media (max-width: 520px) {
  .wrap { width: calc(100% - 30px); }
  .header-inner { min-height: 60px; }
  .header-actions { gap: 0; }
  main { padding-top: 14px; }
  .shelf { margin-bottom: 20px; }
  .track { grid-auto-columns: 38%; gap: 8px; scrollbar-width: none; }
  .reviews { grid-template-columns: 1fr; gap: 9px; }
  .art, .anime-card .art { aspect-ratio: 5 / 6; }
  .panel { width: min(360px, 100% - 30px); margin: 68px 15px auto auto; padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .sakura { display: none; }
  .panel, .panel[open], #search-dialog::backdrop { animation: none; transition: none; }
}

.review p { overflow-wrap: anywhere; white-space: pre-wrap; }
#menu-title { font-size: 20px; }

.text-button { padding: 0; border: 0; color: var(--accent); background: transparent; font: inherit; cursor: pointer; }
.text-button:hover { text-decoration: underline; }

.stars { display: none; position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
[data-theme="dark"] .stars { display: block; }
.sky-star, .sky-dot { position: absolute; left: var(--x); top: var(--y); width: var(--size); height: var(--size); translate: -50% -50%; opacity: var(--opacity); }
.sky-dot { border-radius: 50%; background: #BF9CFA; }
.sky-star { animation: star-twinkle var(--cycle) ease-in-out var(--phase) infinite; }
.sky-star::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: radial-gradient(circle, rgb(191 156 250 / 15%), transparent 70%); }
.sky-star::after { content: ""; position: absolute; inset: 0; background: #BF9CFA; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
/* The streak extends back from the meteor's leading point. */
.sky-meteor { position: absolute; width: 0; height: 0; opacity: 0; }
.sky-streak {
  position: absolute;
  width: clamp(40px, 10vw, 78px);
  height: 2px;
  background: linear-gradient(90deg, #E8D8FF, #BF9CFA 18%, transparent);
  border-radius: 50%;
  transform-origin: 0 50%;
  transform: translateY(-50%) rotate(var(--angle, 0deg));
}
.sky-streak::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #EFE3FF;
  box-shadow: 0 0 8px 2px #BF9CFA80;
}
@keyframes star-twinkle {
  0%, 100% { opacity: calc(var(--opacity) * .44); transform: scale(.8); }
  50% { opacity: var(--opacity); transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .sky-star { animation: none; }
  .sky-meteor { display: none; }
}

.api-status { margin-block: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); font-size: 12px; }
.api-status[hidden] { display: none; }
.api-status button { border: 0; padding: 5px; border-radius: 5px; background: var(--soft); color: var(--accent); cursor: pointer; }

body:has(#menu-dialog[open]) #open-menu { background: var(--soft); color: var(--accent); }
#menu-dialog {
  width: min(327px, 100% - 30px);
  max-height: calc(100vh - 84px);
  max-height: calc(100dvh - 84px);
  margin-top: 70px;
  padding: 18px;
  border-radius: 18px;
  border-color: var(--line);
  scrollbar-width: thin;
}
#menu-dialog .panel-heading { margin-bottom: 11px; }
#menu-title { font-size: 20px; line-height: 1.2; }
#menu-dialog .close { width: 28px; height: 28px; font-size: 24px; color: var(--muted); }
.menu-icon, .menu-chevron, .social-icon {
  display: block;
  flex-shrink: 0;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.menu-chevron { margin-left: auto; width: 12px; height: 12px; color: var(--muted); }
.menu-profile { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px; border: 0; border-radius: 12px; background: var(--soft); color: var(--ink); text-align: left; }
.menu-avatar { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); font-size: 15px; font-weight: 700; }
.menu-profile-copy { display: grid; gap: 3px; }
.menu-profile-copy strong { font-size: 14px; }
.menu-profile-copy > span { color: var(--accent); font-size: 11px; }
.menu-navigation { padding-top: 12px; }
.menu-row { display: flex; align-items: center; gap: 13px; min-height: 40px; width: 100%; padding: 8px 5px; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 13px; text-align: left; text-decoration: none; }
.menu-row > .menu-icon { color: var(--muted); }
.menu-section { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.menu-section h3 { margin: 0 0 9px; color: var(--muted); font-size: 11px; font-weight: 700; }
.menu-information { margin-top: 8px; padding-top: 7px; }
.menu-information .menu-row:last-child { min-height: 41px; margin-top: 10px; padding-inline: 12px; border: 1.3px solid var(--accent); border-radius: 10px; color: var(--accent); font-weight: 700; }
.menu-information .menu-row:last-child .menu-icon, .menu-information .menu-row:last-child .menu-chevron { color: inherit; }
.menu-appearance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu-appearance button { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 40px; padding: 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 700; }
.menu-appearance button[aria-pressed="true"] { border: 1.3px solid var(--accent); color: var(--accent); }
.menu-appearance .menu-icon { width: 18px; height: 18px; }
.menu-socials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.menu-socials button { display: grid; justify-items: center; gap: 5px; width: 100%; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 9px; }
.social-circle { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--soft); color: var(--ink); }
.social-icon { width: 22px; height: 22px; }
.menu-account { padding-top: 8px; }
.menu-account .menu-row { color: var(--muted); font-size: 12px; }
.menu-notice { margin-top: 8px; color: var(--accent); font-size: 11px; line-height: 1.45; }
.about-more { margin-top: 10px; }
@media (hover: hover) and (pointer: fine) {
  .menu-row:hover { background: var(--soft); }
  .menu-profile:hover, .menu-socials button:hover .social-circle { outline: 1px solid var(--accent); }
}

.has-cover { padding: 0; }
.has-cover::before, .has-cover::after { display: none; }
.art img { display: block; width: 100%; height: 100%; aspect-ratio: inherit; object-fit: cover; }
.horimiya { --sky: #dab7c7; --base: #866579; --moon: #f4d2b0; --ridge: #604f63; }

.about-page { max-width: 630px; padding-bottom: 40px; }
.about-intro { margin-top: 8px; }
.about-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .09em; color: var(--accent); }
.about-intro h1 { margin: 9px 0 12px; max-width: 420px; font-size: clamp(29px, 7vw, 40px); line-height: 1.12; letter-spacing: -.035em; }
.about-page p:not(.about-eyebrow) { color: var(--muted); font-size: 13px; line-height: 1.75; }
.about-section { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.about-section h2 { margin: 0 0 7px; font-size: 17px; }
.about-section p + p { margin-top: 8px; }
.about-categories { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.about-categories span { padding: 6px 10px; border-radius: 30px; background: var(--soft); color: var(--ink); font-size: 11px; }
.about-explore { display: inline-block; margin-top: 23px; padding: 10px 18px; text-decoration: none; font-size: 12px; }

.menu-profile { text-decoration: none; }
.menu-profile-copy { min-width: 0; overflow-wrap: anywhere; }

.menu-account [hidden] { display: none; }
