@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Inter:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;700&display=swap');

:root {
  --ink: #1a3300;
  --paper: #fcfaf5;
  --white: #ffffff;
  --line: #b6b6b6;
  --muted: #69705f;
  --yellow: #ffe95c;
  --mint: #d5f5c2;
  --teal: #a8e5e5;
  --blush: #f6d0ff;
  --orange: #cb5521;
  --indigo: #56599a;
  --lavender: #d9d6f0;
  --shadow: 0 12px 28px rgba(26, 51, 0, .10);
  --display: 'Bricolage Grotesque', 'Noto Sans SC', sans-serif;
  --body: 'Inter', 'Noto Sans SC', 'PingFang SC', sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.is-wall-view { overflow: hidden; }
body {
  background:
    radial-gradient(circle at 8% 4%, rgba(255, 233, 92, .16), transparent 24rem),
    radial-gradient(circle at 94% 32%, rgba(168, 229, 229, .15), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.5;
  min-width: 320px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-detail-open { overflow: hidden; }
body.is-wall-view { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }

.site-header { position: sticky; top: 0; z-index: 20; padding: 14px 16px 0; }
.header-pill {
  align-items: center; background: rgba(252, 250, 245, .94); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 10px 34px rgba(255, 233, 92, .24), 0 2px 8px rgba(26, 51, 0, .05);
  display: flex; gap: 18px; justify-content: space-between; margin: 0 auto; max-width: 1200px;
  padding: 8px 12px; backdrop-filter: blur(14px);
}
.brand { align-items: center; display: flex; flex: 0 0 auto; font-size: 18px; font-weight: 700; gap: 10px; }
.brand-mark { background: var(--yellow); border: 1px solid var(--ink); border-radius: 10px; display: grid; height: 36px; overflow: hidden; place-items: center; width: 36px; }
.brand-mark img { height: 100%; object-fit: cover; width: 100%; }
.section-label, .featured-label, .detail-series, .site-footer, .detail-number {
  font-family: var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.back-link { align-items: center; display: flex; font-size: 14px; gap: 7px; white-space: nowrap; }
.back-link:hover { color: var(--orange); }

main { margin: 0 auto; max-width: 1200px; padding: 0 24px 70px; }
.masthead { display: block; padding: 24px 0 28px; }
.masthead-copy { margin: 0 auto; max-width: 1040px; padding: 0 0 12px; text-align: center; }
.eyebrow { align-items: center; display: inline-flex; font-size: 12px; font-weight: 600; gap: 8px; letter-spacing: .04em; }
.eyebrow-dot { background: var(--orange); border-radius: 50%; height: 8px; width: 8px; }
h1, h2, h3 { font-family: var(--display); }
.hero-title-line { display: inline; }
h1 { font-size: clamp(48px, 9vw, 102px); letter-spacing: -.045em; line-height: .98; margin: 24px 0 18px; max-width: 10em; }
.intro { color: rgba(26, 51, 0, .74); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; margin-left: auto; margin-right: auto; max-width: none; white-space: nowrap; }
.stats { display: flex; gap: 32px; margin-top: 32px; }
.stats div { align-items: baseline; display: flex; gap: 8px; }
.stats strong { font-family: var(--display); font-size: 26px; }
.stats span { color: var(--muted); font-size: 13px; }

.hero-stage { --mx: 0; --my: 0; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); margin-top: 18px; height: 560px; isolation: isolate; overflow: visible; perspective: 1200px; position: relative; width: 100vw; z-index: 1; }
.hero-stage::before, .hero-stage::after, .hero-bg-canvas { display: none; }
.hero-stage-label { color: var(--muted); display: flex; font-family: var(--mono); font-size: 10px; justify-content: space-between; left: 10%; letter-spacing: .08em; position: absolute; right: 8%; text-transform: uppercase; top: 10px; }
.hero-slider { height: 455px; left: 50%; position: absolute; top: 48px; touch-action: pan-y; transform: translateX(-50%); transform-style: preserve-3d; user-select: none; width: 238px; }
.hero-slider-card { --card-x: 0px; --card-y: 0px; --card-z: 0px; --card-rotate-y: 0deg; --card-rotate-z: 0deg; --card-scale: 1; aspect-ratio: 9 / 16; background: transparent; border: 0; border-radius: 18px; box-shadow: none; display: flex; filter: drop-shadow(0 24px 34px rgba(26, 51, 0, .11)) drop-shadow(0 6px 14px rgba(26, 51, 0, .05)); flex-direction: column; height: auto; left: 50%; overflow: hidden; padding: 0; position: absolute; top: 50%; transform: translate3d(calc(-50% + var(--card-x)), calc(-50% + var(--card-y)), var(--card-z)) rotateY(var(--card-rotate-y)) rotateZ(var(--card-rotate-z)) scale(var(--card-scale)); transform-origin: 50% 50%; transform-style: preserve-3d; transition: filter .3s ease, opacity .48s ease; width: 100%; }
.hero-slider-card:hover, .hero-slider-card.is-active { box-shadow: none; }
.hero-slider-card.is-dragging { transition: none; }
.hero-slider-kicker { color: rgba(255, 255, 255, .72); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; padding: 1px 5px 11px; }
.hero-slider-poster { aspect-ratio: 9 / 16; background: transparent; border-radius: 18px; flex: none; min-height: 0; overflow: hidden; width: 100%; }
.hero-slider-poster img { display: block; height: 100%; object-fit: cover; object-position: center top; pointer-events: none; width: 100%; }
.hero-slider-copy { align-items: center; color: var(--white); display: flex; font-size: 13px; gap: 8px; padding: 12px 4px 2px; }
.hero-slider-index { color: var(--yellow); font-family: var(--mono); font-size: 11px; }
.hero-slider-arrow { font-size: 18px; margin-left: auto; }
.hero-slider-tools { align-items: center; bottom: 5px; display: flex; justify-content: space-between; left: 8%; position: absolute; right: 4%; }
.hero-slider-hint { color: var(--muted); font-family: var(--mono); font-size: 10px; }
.hero-slider-hint span { color: var(--orange); font-size: 15px; margin-right: 5px; }
.hero-library-link { color: var(--muted); font-family: var(--mono); font-size: 10px; margin-left: auto; margin-right: 14px; }
.hero-library-link:hover { color: var(--orange); }
.hero-library-link-mobile { display: none; }
.hero-slider-nav { align-items: center; background: var(--yellow); border: 1px solid var(--ink); display: flex; gap: 8px; padding: 4px 7px; transform: rotate(-3deg); }
.hero-slider-nav button { background: transparent; border: 0; color: var(--ink); font-family: var(--mono); font-size: 17px; line-height: 1; padding: 3px; }
.hero-slider-nav button:hover { color: var(--orange); }
.hero-slider-nav span { color: var(--ink); font-family: var(--mono); font-size: 10px; min-width: 34px; text-align: center; }

.library { padding-top: 42px; }
@media (min-width: 681px) {
  .library { background: none; border-radius: 0; margin-top: 0; padding-top: 0; position: relative; z-index: 2; }
}
.library-head { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin-bottom: 26px; }
.section-label { color: var(--orange); font-size: 11px; }
.library-head h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.035em; line-height: 1; margin-top: 9px; }
.view-toggle { align-items: center; display: flex; gap: 6px; }
.view-toggle-button { background: var(--white); border: 1px solid rgba(26, 51, 0, .32); border-radius: 10px; box-shadow: 0 2px 0 rgba(26, 51, 0, .08); color: var(--muted); font-size: 12px; font-weight: 600; padding: 10px 16px; transition: background .2s, border-color .2s, box-shadow .2s, color .2s, transform .2s; }
.view-toggle-button:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.view-toggle-button.is-active { background: var(--ink); border-color: var(--ink); box-shadow: 0 4px 0 rgba(26, 51, 0, .18); color: var(--paper); font-weight: 700; transform: translateY(-1px); }
.toolbar { align-items: center; display: flex; gap: 12px; }
.search-field { align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 8px; display: flex; flex: 1; gap: 10px; min-width: 0; padding: 4px 8px 4px 14px; }
.search-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 233, 92, .38); }
.search-icon { font-size: 25px; line-height: 1; transform: rotate(-20deg); }
.search-field input { background: transparent; border: 0; color: var(--ink); font-size: 15px; min-width: 0; outline: 0; padding: 9px 0; width: 100%; }
.search-field input::placeholder { color: #8c9186; }
kbd { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-family: var(--mono); font-size: 10px; padding: 4px 7px; white-space: nowrap; }
.sort-control { align-items: center; display: flex; gap: 8px; white-space: nowrap; }
.sort-control label { color: var(--muted); font-size: 13px; }
.sort-control select { background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 13px; padding: 11px 30px 11px 11px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.filter-button { background: transparent; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; padding: 7px 13px; transition: background .2s, border-color .2s, transform .2s; }
.filter-button:hover { border-color: var(--ink); transform: translateY(-1px); }
.filter-button.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.result-bar { align-items: center; display: flex; justify-content: space-between; min-height: 42px; }
#result-count { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .04em; }
.clear-button { background: none; border: 0; color: var(--orange); font-size: 13px; }
.gallery { align-items: start; display: grid; gap: 17px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.note-card { display: block; position: relative; }
.note-card-link { background: var(--white); border: 1px solid rgba(26, 51, 0, .25); border-radius: 13px; box-shadow: 0 4px 0 rgba(26, 51, 0, .06); display: block; overflow: hidden; position: relative; transition: border-color .25s, box-shadow .25s, transform .25s; }
.note-card:nth-child(4n+1) .note-card-link { transform: rotate(-.55deg); }
.note-card:nth-child(4n+2) .note-card-link { transform: rotate(.65deg); }
.note-card:nth-child(4n+3) .note-card-link { transform: rotate(-.25deg); }
.note-card:hover .note-card-link { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-5px) rotate(0); }
.note-image { aspect-ratio: 9 / 16; background: linear-gradient(135deg, #f1f0fb, #fff); display: block; overflow: hidden; position: relative; }
.note-image img { display: block; height: 100%; object-fit: cover; object-position: center top; transition: transform .55s cubic-bezier(.2,.75,.25,1), filter .35s; width: 100%; }
.note-card:hover .note-image img { filter: saturate(1.05); transform: scale(1.035); }
.note-image img.is-hidden { display: none; }
.card-meta { align-items: center; display: flex; gap: 9px; justify-content: space-between; padding: 11px 12px 12px; }
.card-number { color: var(--orange); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.card-title { color: var(--ink); display: -webkit-box; flex: 1; font-size: 13px; line-height: 1.45; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-category { color: var(--muted); font-size: 10px; white-space: nowrap; }
.wall-view[hidden] { display: none; }
.wall-toolbar { align-items: end; display: flex; gap: 20px; justify-content: space-between; margin: 6px 0 14px; }
.wall-controls { align-items: center; display: flex; gap: 7px; white-space: nowrap; }
.wall-controls button { background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: 12px; padding: 8px 11px; }
.wall-controls button:hover { border-color: var(--ink); color: var(--orange); }
.wall-zoom { color: var(--orange); font-family: var(--mono); font-size: 11px; min-width: 38px; text-align: right; }
.wall-viewport { background: linear-gradient(135deg, rgba(217, 214, 240, .38), rgba(255, 255, 255, .72)); border: 1px solid rgba(26, 51, 0, .25); border-radius: 16px; cursor: grab; height: min(680px, 68vh); overflow: hidden; position: relative; touch-action: none; user-select: none; -webkit-user-select: none; }
.wall-viewport:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 233, 92, .38); outline: 0; }
.wall-viewport.is-dragging { cursor: grabbing; }
.wall-viewport::before { background-image: radial-gradient(rgba(26, 51, 0, .12) .8px, transparent .8px); background-size: 18px 18px; content: ''; inset: 0; opacity: .36; pointer-events: none; position: absolute; }
.wall-canvas { left: 0; perspective: 1100px; position: absolute; top: 0; transform-origin: 0 0; transform-style: preserve-3d; will-change: transform; z-index: 2; }
.wall-item { background: transparent; border: 0; cursor: pointer; display: block; left: var(--wall-x); padding: 0; position: absolute; text-align: left; top: var(--wall-y); transform: rotate(var(--wall-rotation)); transform-style: preserve-3d; transition: transform .42s cubic-bezier(.2,.75,.25,1), filter .3s; }
.wall-item:hover, .wall-item:focus-visible { filter: drop-shadow(0 14px 22px rgba(26, 51, 0, .18)); outline: 0; }
.wall-item img { border: 1px solid rgba(26, 51, 0, .28); border-radius: 10px; box-shadow: 0 12px 26px rgba(26, 51, 0, .13), 0 3px 8px rgba(26, 51, 0, .07); display: block; height: 100%; -webkit-user-drag: none; object-fit: cover; object-position: center top; pointer-events: none; user-select: none; width: 100%; }
body.is-wall-view .wall-view:not([hidden]) { background: var(--paper); display: flex; flex-direction: column; inset: 0; overflow: hidden; padding: 0; position: fixed; z-index: 15; }
body.is-wall-view .wall-toolbar { align-items: center; background: rgba(252, 250, 245, .88); border: 1px solid rgba(26, 51, 0, .22); border-radius: 999px; box-shadow: 0 10px 28px rgba(26, 51, 0, .10); display: flex; flex: 0 0 auto; gap: 12px; justify-content: flex-end; left: auto; margin: 0; max-width: calc(100vw - 64px); padding: 7px 9px; position: absolute; right: 32px; top: 84px; width: max-content; z-index: 3; backdrop-filter: blur(14px); }
body.is-wall-view .wall-viewport { border: 0; border-radius: 0; flex: 1 1 auto; height: 100%; min-height: 0; width: 100%; }
.wall-focus-layer[hidden] { display: none; }
.wall-focus-layer { align-items: center; background: rgba(26, 51, 0, .56); backdrop-filter: blur(8px); display: flex; inset: 0; justify-content: center; padding: 0; position: fixed; z-index: 90; }
.wall-focus-backdrop { background: rgba(26, 51, 0, .56); backdrop-filter: blur(8px); border: 0; inset: 0; position: absolute; width: 100%; }
.wall-focus-dialog { display: flex; flex-direction: column; height: 100%; position: relative; width: 100%; }
.wall-focus-topbar { align-items: center; display: flex; justify-content: space-between; left: 0; padding: 18px 22px 12px; position: absolute; right: 0; top: 0; z-index: 2; }
.wall-focus-number { color: var(--orange); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }
.wall-focus-stage { align-items: center; display: flex; flex: 1 1 auto; justify-content: center; min-height: 0; overflow: auto; padding: 54px 34px 34px; }
.wall-focus-card-wrap { position: relative; }
.wall-focus-image-button { cursor: pointer; display: block; line-height: 0; max-height: 100%; max-width: 100%; outline: 0; transform: rotateX(var(--focus-tilt-y, 0deg)) rotateY(var(--focus-tilt-x, 0deg)); transform-style: preserve-3d; transition: transform .22s cubic-bezier(.2,.75,.25,1); }
.wall-focus-card-inner { display: block; position: relative; transform-style: preserve-3d; transition: transform .68s cubic-bezier(.2,.75,.25,1); }
.wall-focus-image-button.is-flipped .wall-focus-card-inner { transform: rotateY(180deg); }
.wall-focus-card-face { backface-visibility: hidden; border-radius: 12px; display: block; overflow: hidden; }
.wall-focus-card-front { line-height: 0; position: relative; z-index: 1; }
.wall-focus-card-front img { border-radius: 12px; box-shadow: 0 24px 46px rgba(0, 0, 0, .3); display: block; height: auto; max-height: calc(100vh - 142px); max-width: min(68vw, 1008px); object-fit: contain; width: auto; }
.wall-focus-card-back { background: var(--paper); color: var(--ink); container-type: size; display: flex; flex-direction: column; inset: 0; justify-content: center; overflow: auto; padding: 10% 11%; position: absolute; transform: rotateY(180deg); }
.wall-focus-detail-label { color: var(--orange); font-family: var(--mono); font-size: clamp(9px, 2.1cqw, 12px); letter-spacing: .12em; line-height: 1.25; }
.wall-focus-detail h2 { color: var(--ink); font-family: var(--display); font-size: clamp(22px, 8cqw, 58px); letter-spacing: -.045em; line-height: 1.08; margin-top: 14px; }
.wall-focus-category { color: var(--muted); font-size: clamp(12px, 2.8cqw, 16px); margin-top: 16px; }
.wall-focus-description { border-left: 4px solid var(--yellow); color: rgba(26, 51, 0, .78); font-size: clamp(13px, 4cqw, 23px); line-height: 1.7; margin-top: 26px; padding-left: 18px; }
body.is-wall-focus-open { overflow: hidden; }
.empty-state { padding: 80px 20px; text-align: center; }
.empty-number { align-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); display: inline-flex; font-family: var(--display); font-size: 28px; height: 58px; justify-content: center; width: 58px; }
.empty-state h3 { font-size: 24px; margin-top: 18px; }
.empty-state p { color: var(--muted); font-size: 14px; margin-top: 6px; }

.detail-layer[hidden] { display: none; }
.detail-layer { inset: 0; position: fixed; z-index: 60; }
.detail-backdrop { background: rgba(26, 51, 0, .38); border: 0; inset: 0; position: absolute; backdrop-filter: blur(5px); width: 100%; }
.detail-panel { background: var(--paper); border-left: 1px solid var(--ink); box-shadow: -18px 0 48px rgba(26, 51, 0, .16); display: flex; flex-direction: column; height: 100%; max-width: min(530px, 100vw); position: absolute; right: 0; top: 0; width: 100%; animation: slide-in .28s cubic-bezier(.18,.8,.26,1); }
@keyframes slide-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.detail-topbar { align-items: center; display: flex; justify-content: space-between; padding: 20px 22px 10px; }
.detail-series { color: var(--muted); font-size: 10px; }
.icon-button { background: var(--yellow); border: 1px solid var(--ink); border-radius: 50%; font-size: 22px; height: 34px; line-height: 1; width: 34px; }
.detail-scroll { flex: 1; overflow: auto; padding: 12px 22px 28px; }
.detail-image-frame { background: var(--white); border: 1px solid var(--line); border-radius: 12px; max-width: 430px; overflow: hidden; position: relative; }
.detail-image-frame img { display: block; max-height: 68vh; object-fit: contain; width: 100%; }
.detail-image-frame img.is-hidden { display: none; }
.detail-copy { padding-top: 22px; }
.detail-number { color: var(--orange); font-size: 11px; }
.detail-copy h2 { font-size: clamp(27px, 5vw, 40px); letter-spacing: -.035em; line-height: 1.08; margin-top: 10px; }
.detail-meta { color: var(--muted); display: flex; flex-wrap: wrap; font-size: 13px; gap: 9px; margin-top: 15px; }
.detail-meta span + span::before { content: '·'; margin-right: 9px; }
.detail-description { border-left: 3px solid var(--yellow); color: rgba(26, 51, 0, .75); font-size: 15px; line-height: 1.75; margin-top: 26px; padding-left: 14px; }
.detail-nav { align-items: center; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 13px 22px 18px; }
.detail-nav button { align-items: center; background: transparent; border: 0; display: flex; font-size: 13px; line-height: 1.3; }
.detail-nav button:hover { color: var(--orange); }
.detail-nav .nav-arrow { font-size: 17px; line-height: 1; }
.detail-nav #prev-note .nav-arrow { margin-right: 5px; }
.detail-nav #next-note .nav-arrow { margin-left: 5px; }
#detail-position { color: var(--muted); font-family: var(--mono); font-size: 11px; }

.site-footer { align-items: flex-start; color: var(--muted); display: flex; flex-wrap: wrap; font-size: 10px; gap: 12px 24px; justify-content: space-between; letter-spacing: .08em; margin: 0 auto; max-width: 1200px; padding: 20px 24px 32px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--orange); text-decoration: underline; }
.site-footer-legal { align-items: center; display: flex; flex-wrap: wrap; gap: 8px 14px; }
.site-footer-legal a:last-child { align-items: center; display: inline-flex; gap: 4px; }
.site-footer-legal img { height: 13px; width: auto; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .masthead { grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); }
  .hero-stage { height: 530px; }
  .hero-slider { height: 420px; width: 214px; }
}
@media (max-width: 680px) {
  .site-header { padding: 8px 8px 0; }
  .header-pill { gap: 10px; padding: 7px 9px; }
  .brand { font-size: 16px; }
  .brand-mark { height: 30px; width: 30px; }
  .back-link { font-size: 13px; }
  main { padding: 0 14px 50px; }
  .masthead { display: block; padding: 45px 0 28px; }
  .masthead-copy { padding: 0; }
  h1 { font-size: clamp(52px, 17vw, 82px); margin-top: 18px; }
  .hero-title-line { display: block; }
  .intro { font-size: 16px; white-space: normal; }
  .stats { gap: 18px; margin-top: 25px; }
  .stats div { display: block; }
  .stats strong, .stats span { display: block; }
  .hero-library-link-desktop { display: none; }
  .hero-library-link-mobile { align-items: center; background: var(--yellow); border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); display: inline-flex; font-size: 11px; margin: 17px 0 0; padding: 8px 12px; }
  .hero-stage { height: 380px; margin-top: 22px; overflow: visible; }
  .hero-slider { height: 292px; top: 30px; width: 166px; }
  .library { padding-top: 0; }
  .library-head { align-items: start; display: block; }
  .view-toggle { margin-top: 0; width: max-content; }
  .toolbar { align-items: stretch; display: block; }
  .sort-control { margin-top: 9px; }
  .sort-control select { flex: 1; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .gallery { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall-toolbar { align-items: start; display: block; }
  .wall-controls { margin-top: 14px; }
  .wall-viewport { height: 68vh; min-height: 480px; }
  body.is-wall-view .wall-view:not([hidden]) { padding: 0; }
  body.is-wall-view .wall-toolbar { border-radius: 14px; gap: 8px; justify-content: center; left: 14px; max-width: none; padding: 7px 8px; right: 14px; top: 64px; width: auto; }
  body.is-wall-view .wall-controls { flex-wrap: nowrap; }
  .wall-focus-topbar { padding: 13px 14px 9px; }
  .wall-focus-stage { padding: 50px 16px 20px; }
  .wall-focus-card-front img { max-height: calc(100vh - 105px); max-width: calc(100vw - 56px); }
  .wall-focus-card-back { padding: 12% 9%; }
  .wall-focus-detail h2 { font-size: clamp(22px, 8cqw, 48px); }
  .wall-focus-description { font-size: clamp(13px, 4cqw, 18px); line-height: 1.7; margin-top: 22px; }
  .card-meta { align-items: flex-start; display: block; }
  .card-title { display: block; font-size: 12px; margin: 5px 0; }
  .card-category { display: block; }
  .site-footer { display: block; font-size: 9px; line-height: 2; padding-left: 14px; padding-right: 14px; }
  .site-footer span { display: block; }
  .site-footer-legal { display: flex; margin-top: 4px; }
  .detail-panel { max-width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
