@font-face {
  font-family: QylSans;
  src: url('/assets/qingyulan/qingyulan-sans.woff2?v=20261119-2') format('woff2');
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: QylDisplay;
  src: url('/assets/qingyulan/qingyulan-serif.woff2?v=20261119-2') format('woff2');
  font-display: swap;
  font-weight: 200 900;
}
@font-face {
  font-family: QylBrand;
  src: url('/assets/qingyulan/qingyulan-brand.woff2?v=20261119-2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: QylInscription;
  src: url('/assets/qingyulan/qingyulan-inscription.woff2?v=20261119-2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
:root {
  --paper: #f7f6f2;
  --surface: #fdfdfb;
  --ink: #292d32;
  --muted: #66686b;
  --accent: #2f6676;
  --line: #d9d9d3;
  --content: 1180px;
  --gutter: 40px;
  --sans: QylSans, 'Microsoft YaHei', system-ui, sans-serif;
  --display: QylDisplay, 'Songti SC', 'SimSun', serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-height: 80px;
  --hero-copy-top: 152px;
  --hero-type-size: clamp(40px, 3.2vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; scrollbar-gutter: stable; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.is-opening { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; touch-action: manipulation; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button:active, .button:active { transform: scale(.97); transition-duration: 0ms; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--paper); background: var(--accent); }
.wrap { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 200; top: 12px; left: 20px; padding: 10px 16px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.progress-line { position: fixed; z-index: 40; inset: 0 0 auto; height: 2px; pointer-events: none; }
.progress-line span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

/* One shared alignment line for navigation, copy, section headings and content. */
.qyl-header { position: absolute; z-index: 30; top: 0; inset-inline: 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; height: var(--nav-height); padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2)); border-bottom: 1px solid transparent; transition: background-color .2s ease, border-color .2s ease; }
.qyl-header.is-scrolled { position: fixed; background: rgb(247 246 242 / .97); border-color: var(--line); }
body.is-opening .qyl-header { z-index: 130; pointer-events: none; }
body.is-opening .qyl-nav, body.is-opening .menu-toggle { opacity: 0; }
.qyl-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand-inline { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; line-height: 1.5; }
.brand-inline strong { font-family: QylBrand, 'STKaiti', 'KaiTi', serif; font-size: 32px; font-weight: 400; font-synthesis: none; line-height: 1.25; letter-spacing: .025em; color: var(--accent); }
.brand-inline i { font-family: var(--sans); font-size: 17px; font-style: normal; font-weight: 400; color: #aaaead; }
.brand-inline small { font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: .04em; }
.qyl-nav { display: flex; align-items: center; gap: 26px; }
.qyl-nav a, .replay-opening { font-size: 13px; white-space: nowrap; }
.replay-opening { border: 0; padding: 9px 0; background: none; color: var(--muted); }
.qyl-nav .nav-submit { padding: 9px 17px; background: var(--ink); border: 1px solid var(--ink); color: var(--paper); border-radius: 3px; }
.menu-toggle { display: none; border: 0; background: none; min-height: 44px; padding: 8px 0 8px 12px; font-size: 13px; }

/* The painting is cut into transparent reliefs; no full-scroll image is displayed. */
.qyl-hero { position: relative; min-height: clamp(700px, 49.5vw, 920px); isolation: isolate; overflow: clip; background: var(--paper); }
.hero-content { position: relative; z-index: 3; width: 100%; padding-top: 132px; padding-left: 15%; }
.hero-copy { --inscription-size: clamp(34px, 2.55vw, 40px); position: relative; display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 17px; width: max-content; max-width: 100%; }
.eyebrow, .section-label { margin: 0 0 20px; font-size: 12px; font-weight: 500; letter-spacing: .12em; color: var(--accent); }
/* Read down each column, from right to left; the second verse starts one character lower. */
.hero-copy h1 { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 16px; margin: 0; font-family: QylInscription, 'STKaiti', 'KaiTi', serif; font-size: var(--inscription-size); font-weight: 400; line-height: 1.3; letter-spacing: .13em; color: var(--ink); font-synthesis: none; }
.hero-copy .hero-verse { display: block; writing-mode: vertical-rl; text-orientation: upright; white-space: nowrap; }
.hero-copy .hero-verse + .hero-verse { padding-top: 1.13em; }
.hero-copy .eyebrow { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 5px 0 0; font-family: var(--display); font-size: 12px; font-weight: 400; line-height: 1.5; letter-spacing: .17em; color: #686d6c; }
.hero-copy .eyebrow > span:last-child { writing-mode: vertical-rl; text-orientation: upright; }
.hero-copy .inscription-seal { display: block; flex: none; width: 28px; height: 42px; }
.hero-copy h1:focus { outline: none; }
.hero-description { margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 27px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 45px; padding: 10px 19px; border: 1px solid transparent; border-radius: 3px; font-size: 13px; font-weight: 500; white-space: nowrap; transition: background-color .18s ease, transform .18s var(--ease); }
.button-dark { color: var(--paper); background: var(--ink); }
.quiet-link { color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: #aeb6b8; }
.hero-bottom { position: absolute; z-index: 4; bottom: 23px; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding-top: 17px; font-size: 12px; line-height: 20px; color: var(--muted); }
.hero-bottom button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; }
.hero-bottom .playback-label { display: block; line-height: inherit; }
.hero-bottom .replay-icon { display: block; flex: none; width: 16px; height: 16px; }
.landscape-scene { position: absolute; pointer-events: none; isolation: isolate; overflow: hidden; }
.hero-scene { position: absolute; z-index: 1; inset: 98px 0 54px; max-width: 1800px; margin-inline: auto; pointer-events: none; }
.landscape-content { inset: 0; overflow: visible; transform-origin: 0 0; }
body.is-opening .qyl-hero { overflow: clip visible; }
.landscape-layer { position: absolute; height: auto; max-width: none; }
.landscape-pavilion { width: 122%; left: -10.5%; bottom: -14px; }
.river-wash { position: absolute; left: -10%; bottom: 30px; width: 125%; height: 190px; opacity: .75; background: linear-gradient(175deg, transparent 8%, #e9edeb 48%, #f0f1ed 63%, transparent 87%); border-radius: 50%; }
.hero-scene .river-wash { bottom: 9px; height: 150px; opacity: .48; }

.qyl-discover, .qyl-columns, .qyl-ranking, .qyl-submit { padding: 82px var(--gutter); }
.section-heading, .ranking-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: var(--content); margin: 0 auto; }
.section-heading h2, .ranking-head h2 { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 500; line-height: 1.5; letter-spacing: .035em; }
.section-heading p, .ranking-head p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.sample-label { flex-shrink: 0; padding-bottom: 3px; color: var(--muted); font-size: 11px; }
.filter-row { display: flex; align-items: center; gap: 24px; max-width: var(--content); margin: 32px auto 30px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-chip { position: relative; min-height: 35px; padding: 3px 0; border: 0; background: none; color: var(--muted); font-size: 14px; white-space: nowrap; }
.filter-chip.is-active { color: var(--accent); font-weight: 600; }
.filter-chip.is-active::after { position: absolute; bottom: -13px; inset-inline: 0; height: 2px; background: var(--accent); content: ''; }
.filter-count { margin-left: auto; color: var(--muted); font-size: 12px; }
.work-editorial-grid { display: grid; max-width: var(--content); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 38px 28px; margin-inline: auto; }
.work-tile { min-width: 0; }
.work-media { position: relative; display: block; width: 100%; aspect-ratio: 1.36; overflow: hidden; background: #e3e7e8; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.media-number { display: none; }
.browser-art { position: absolute; inset: 13% 9%; padding: 16px 15px; background: #f5f6f6; border: 1px solid #b5c1c7; border-radius: 5px; }
.browser-art i { display: inline-block; width: 4px; height: 4px; margin: 0 3px 15px 0; border-radius: 50%; background: #bcc7cb; }
.browser-art b { display: block; margin: 8px 0 10px; font-family: var(--display); font-size: clamp(20px, 2vw, 28px); font-weight: 400; line-height: 1.5; }
.browser-art span { font-size: 10px; color: var(--muted); }
.media-blue { background: #bcced9; }
.media-film { background: #243943; }
.media-film img { opacity: .8; }
.play-mark { position: absolute; right: 14px; bottom: 14px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgb(255 255 255 / .65); border-radius: 50%; font-size: 11px; color: #fff; background: rgb(35 44 55 / .5); }
.media-poster { display: grid; place-items: center; background: #45687c; color: #f4f1e8; }
.poster-type { padding: 20px; text-align: center; }
.poster-type span { font-size: 11px; letter-spacing: .15em; }
.poster-type strong { display: block; margin: 15px 0 12px; font-family: var(--display); font-size: clamp(23px, 2.4vw, 33px); font-weight: 400; line-height: 1.45; }
.poster-type small { font-size: 11px; }
.media-paper { display: grid; place-items: center; background: #e8dfce; }
.paper-lines { width: 76%; padding-block: 23px; border-block: 1px solid #aaa18e; }
.paper-lines span { display: block; font-family: var(--display); font-size: clamp(21px, 2vw, 28px); line-height: 1.5; }
.paper-lines small { display: block; margin-top: 14px; color: #716b61; font-size: 11px; line-height: 1.8; }
.media-green { display: grid; place-items: center; background: #d9c7ad; }
.shop-art { width: 73%; }
.shop-art span, .shop-art small { font-size: 11px; }
.shop-art strong { display: block; margin: 12px 0; font-family: var(--display); font-size: clamp(23px, 2.5vw, 34px); font-weight: 400; line-height: 1.5; }
.media-orchid { display: grid; place-items: center; background: #cdd0d9; }
.city-art { position: relative; display: flex; width: 76%; height: 77%; flex-direction: column; justify-content: space-between; padding: 20px; background: #eeede9; }
.city-art span { position: relative; z-index: 1; max-width: 6em; font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.4; }
.city-art i { position: absolute; width: 100px; height: 100px; right: 8%; bottom: 12%; border-radius: 50%; background: #9ba8ba; }
.city-art b { font-size: 11px; font-weight: 400; z-index: 1; }
.work-info { display: flex; justify-content: space-between; align-items: start; gap: 15px; padding-top: 15px; }
.work-type { color: var(--muted); font-size: 11px; }
.work-info h3 { margin: 4px 0 7px; font-size: 17px; font-weight: 500; line-height: 1.6; }
.work-info p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.like-button { display: inline-flex; align-items: center; flex-shrink: 0; gap: 5px; min-height: 44px; padding: 0 2px; border: 0; background: none; color: var(--muted); }
.like-button span { font-family: system-ui, sans-serif; font-size: 22px; line-height: 1; }
.like-button b { font-size: 12px; font-weight: 400; font-variant-numeric: tabular-nums; }
.like-button.is-liked { color: var(--accent); }
.like-button.is-liked span { font-size: 0; }
.like-button.is-liked span::after { content: '♥'; font-size: 19px; }
.section-more { max-width: var(--content); margin: 35px auto 0; text-align: right; }
.text-link { display: inline-block; min-height: 40px; padding-block: 8px; color: var(--accent); font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }

.qyl-columns { position: relative; overflow: hidden; background: #f6f4ef; }
.column-stage { position: relative; display: grid; max-width: var(--content); grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; margin: 32px auto 0; }
.student-column { min-width: 0; }
.column-art { position: relative; display: grid; aspect-ratio: 1.15; align-content: space-between; padding: 28px; overflow: hidden; }
.column-art span { position: relative; z-index: 1; font-family: var(--display); font-size: 29px; font-weight: 400; line-height: 1.5; }
.column-art small { position: relative; z-index: 1; font-size: 12px; }
.art-paper { color: var(--ink); background: #ede8dc; }
.art-paper::after { position: absolute; right: -20%; bottom: 11%; width: 105%; height: 37%; border-block: 1px solid #b6b4a8; border-radius: 50%; content: ''; transform: rotate(-13deg); }
.art-cobalt { background: #435d77; color: #f6f3ed; }
.art-cobalt::after { position: absolute; right: -4%; bottom: 23%; width: 170px; height: 170px; border-radius: 50%; border: 1px solid #8ca0b3; box-shadow: -25px 10px 0 -1px #435d77, -26px 10px 0 0 #8ca0b3; content: ''; }
.art-sage { color: var(--ink); background: #d9c7ad; }
.art-sage::after { position: absolute; right: 9%; bottom: 20%; width: 76px; height: 90px; border: 1px solid #aa9478; border-radius: 42% 42% 3px 3px; content: ''; }
.column-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 18px; }
.column-meta > div { display: flex; align-items: center; gap: 11px; min-width: 0; }
.column-meta strong { font-size: 14px; font-weight: 500; }
.column-meta small { display: block; max-width: 165px; color: var(--muted); font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font-family: var(--display); font-size: 17px; flex-shrink: 0; }
.avatar-blue { background: #d5e0e7; }
.avatar-red { background: #e9d9cc; }
.avatar-green { background: #e3dbce; }
.column-meta a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; color: var(--accent); white-space: nowrap; }
.column-invite { position: relative; display: flex; justify-content: center; gap: 10px; margin: 42px auto 0; font-size: 13px; color: var(--muted); }
.column-invite a { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
.qyl-ranking { display: grid; grid-template-columns: 1fr 2fr; gap: 70px; padding-inline: max(var(--gutter),calc((100% - var(--content)) / 2)); }
.ranking-head { display: block; margin: 0; padding-top: 8px; }
.creation-stats { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--line); }
.stats-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.stats-heading h3 { margin: 0; font-size: 13px; font-weight: 500; }
.stats-switch { display: inline-flex; padding: 3px; gap: 2px; background: #e9e9e5; border-radius: 4px; }
.stats-switch button { padding: 4px 11px; min-height: 30px; border: 0; border-radius: 2px; background: transparent; color: var(--muted); font-size: 11px; }
.stats-switch button[aria-pressed="true"] { color: var(--ink); background: var(--surface); }
.stats-body { display: grid; grid-template-columns: minmax(128px,164px) minmax(0,1fr); gap: 20px; align-items: center; padding-block: 16px 14px; }
.stats-visual { position: relative; width: 100%; aspect-ratio: 1; }
.stats-ring { display: block; width: 100%; height: auto; overflow: visible; }
.stats-track, .stats-arc { fill: none; stroke-width: 10; }
.stats-track { stroke: #e6e7e5; }
.stats-arc { transition: opacity .15s ease; }
.stats-arc.is-muted { opacity: .22; }
.stats-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.stats-center strong { font-size: 30px; font-weight: 500; line-height: 1.25; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats-center span { margin-top: 3px; font-size: 11px; color: var(--muted); }
.stats-legend { display: grid; gap: 2px; }
.stats-legend button { display: grid; grid-template-columns: 7px 1fr auto; gap: 8px; align-items: center; min-height: 34px; padding: 5px 7px; border: 0; border-radius: 3px; background: transparent; text-align: left; font-size: 12px; }
.stats-legend button[aria-pressed="true"] { background: #e9e9e5; }
.stats-legend b { padding-left: 8px; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; }
.stats-dot { width: 6px; height: 6px; background: var(--dot); border-radius: 50%; }
.stats-foot { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.stats-foot span:last-child { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) {
  .stats-legend button:hover { background: #e9e9e5; }
  .stats-switch button:hover { color: var(--ink); }
}
.ranking-list { display: grid; grid-auto-rows: 1fr; border-top: 1px solid #b8bec1; }
.rank-row { display: grid; grid-template-columns: 32px 68px minmax(0,1fr) 56px; gap: 18px; align-items: center; min-height: 92px; padding-block: 16px; border-bottom: 1px solid var(--line); transition: background-color .18s ease; }
.rank-no { color: var(--muted); font-size: 16px; font-variant-numeric: tabular-nums; }
.rank-cover { width: 68px; height: 50px; }
.cover-blue { background: #bcced9; }
.cover-red { background: #45687c; }
.cover-green { background: #d9c7ad; }
.cover-purple { background: #cdd0d9; }
.rank-title strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.6; }
.rank-title small { color: var(--muted); font-size: 12px; }
.rank-score { color: var(--accent); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.qyl-submit { padding-top: 0; }
.submit-card { display: grid; max-width: var(--content); grid-template-columns: 1fr 1fr; gap: 90px; margin: 0 auto; padding: 44px 48px; background: #f6f4ef; border-top: 1px solid var(--line); }
.submit-copy .section-label { margin-bottom: 10px; }
.submit-copy h2 { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 500; line-height: 1.5; }
.submit-copy p { max-width: 360px; margin: 15px 0 24px; font-size: 14px; color: var(--muted); line-height: 1.9; }
.submit-note { display: grid; grid-template-columns: 28px 1fr; gap: 2px 12px; padding-block: 14px; border-bottom: 1px solid #d4d0c7; }
.submit-note span { grid-row: span 2; color: var(--accent); font-size: 11px; padding-top: 3px; }
.submit-note strong { font-size: 14px; font-weight: 500; }
.submit-note small { color: var(--muted); font-size: 12px; }
.qyl-footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 30px max(var(--gutter),calc((100% - var(--content)) / 2)); border-top: 1px solid var(--line); }
.qyl-footer > div { display: flex; gap: 24px; font-size: 12px; color: var(--muted); }
.toast { position: fixed; z-index: 100; right: 20px; bottom: 20px; padding: 11px 16px; max-width: 300px; background: var(--ink); color: #fff; font-size: 13px; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .18s ease, transform .18s var(--ease); }
.toast.is-visible { opacity: 1; transform: none; }
.reveal { opacity: 1; }
.has-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
.has-reveal body.is-motion-paused .reveal { opacity: 1; transform: none; transition: none; }

/* One landscape continues from the introduction into its final home position. */
.qyl-opening { position: fixed; z-index: 120; inset: 0; overflow: hidden; isolation: isolate; }
.qyl-opening:focus { outline: none; }
.opening-paper { position: absolute; z-index: -1; inset: 0; background: var(--paper); }
.opening-top { position: absolute; z-index: 4; top: 0; inset-inline: max(var(--gutter),calc((100% - var(--content)) / 2)); display: flex; align-items: center; justify-content: flex-end; gap: 14px; height: var(--nav-height); }
.opening-skip { padding: 10px 0 10px 16px; min-height: 44px; border: 0; background: none; color: var(--muted); font-size: 12px; white-space: nowrap; }
.opening-scene { position: absolute; inset: 18% 0 9%; pointer-events: none; }
.qyl-opening:not(.is-running):not(.is-closing) .opening-scene,
.qyl-opening:not(.is-running):not(.is-closing) .opening-copy { visibility: hidden; }
.opening-scene .landscape-pavilion { width: 100%; left: 0; bottom: 0; opacity: 0; }
.opening-scene .river-wash { opacity: 0; }
.opening-copy { position: absolute; z-index: 5; top: 0; inset-inline: 0; pointer-events: none; }
.qyl-opening.is-running .hero-copy .eyebrow { animation: opening-copy-in .45s var(--ease) .22s both; }
.qyl-opening.is-running .hero-verse:first-child { animation: opening-copy-in .68s var(--ease) .45s both; }
.qyl-opening.is-running .hero-verse:last-child { animation: opening-copy-in .68s var(--ease) .6s both; }
.landscape-content.is-revealing .landscape-pavilion { animation: opening-unroll 2.05s cubic-bezier(.22,1,.36,1) both; }
.landscape-content.is-revealing .river-wash { animation: reveal-river 1.6s ease .7s both; }
.qyl-opening.is-closing .opening-paper { visibility: hidden; }
.qyl-opening.is-closing .opening-top { opacity: 0; pointer-events: none; }
body.is-opening .hero-bottom { opacity: 0; }
body.is-entering .hero-bottom,
body.is-entering .qyl-nav,
body.is-entering .menu-toggle { animation: enter-chrome .25s ease .28s both; }
@keyframes opening-unroll { from { opacity: 0; transform: translate3d(-2.5%, 0, 0) scale(1.045); clip-path: inset(0 100% 0 0); } 18% { opacity: .9; } to { opacity: 1; transform: none; clip-path: inset(0); } }
@keyframes reveal-river { from { opacity: 0; transform: translateY(15px); } to { opacity: .75; transform: none; } }
@keyframes opening-copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes enter-content { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes enter-chrome { from { opacity: 0; } to { opacity: 1; } }

@media (hover: hover) and (pointer: fine) {
  .qyl-nav a:hover, .replay-opening:hover, .hero-bottom button:hover { color: var(--accent); }
  .qyl-nav .nav-submit:hover, .button-dark:hover { background: #415361; color: #fff; }
  .opening-enter:hover { background: #354c5c; }
  .work-media:hover img { transform: scale(1.035); }
  .like-button:hover { color: var(--accent); }
  .rank-row:hover { background: #efefec; }
}
@media (max-width: 1000px) {
  :root { --gutter: 28px; }
  .qyl-nav { gap: 18px; }
  .qyl-nav .replay-opening { display: none; }
  .hero-scene .landscape-pavilion { width: 132%; left: -16%; }
  .work-editorial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .column-stage { gap: 20px; }
  .column-art { padding: 20px; }
  .column-art span { font-size: 25px; }
  .column-meta small { max-width: 100px; }
  .column-meta > div { gap: 7px; }
  .qyl-ranking { grid-template-columns: minmax(280px,1fr) minmax(0,2fr); gap: 32px; }
  .stats-body { gap: 10px; }
  .submit-card { gap: 40px; padding: 36px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .qyl-ranking { grid-template-columns: minmax(0,1fr); }
  .ranking-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,1fr); gap: 32px; align-items: start; }
  .creation-stats { margin-top: 0; }
}
@media (max-width: 700px) {
  :root { --gutter: 22px; --nav-height: 70px; --hero-copy-top: 125px; --hero-type-size: clamp(32px, 9.2vw, 43px); }
  .qyl-header { gap: 12px; }
  .brand-inline { gap: 10px; }
  .brand-inline strong { font-size: 29px; }
  .brand-inline small { font-size: 12px; letter-spacing: 0; }
  .brand-inline i { font-size: 15px; }
  .menu-toggle { display: block; }
  .qyl-nav { position: absolute; top: 69px; inset-inline: var(--gutter); display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 8px 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 3px; }
  .qyl-nav.is-open { display: flex; }
  .qyl-nav a, .qyl-nav .replay-opening { display: block; padding: 13px 0; min-height: 44px; text-align: left; }
  .qyl-nav .nav-submit { padding: 13px 0; border: 0; background: none; color: var(--accent); }
  .qyl-hero { min-height: 710px; }
  .eyebrow { margin-bottom: 15px; font-size: 11px; }
  .hero-content { padding-top: 112px; padding-left: 14%; }
  .hero-copy { --inscription-size: clamp(32px, 8.8vw, 36px); gap: 15px; }
  .hero-copy h1 { gap: 14px; }
  .hero-copy .eyebrow { font-size: 11px; }
  .hero-copy .inscription-seal { width: 25px; height: 37.5px; }
  .hero-description { font-size: 14px; line-height: 1.9; margin-top: 13px; }
  .hero-actions { margin-top: 22px; gap: 22px; }
  .hero-scene { inset: 300px 0 52px; }
  .hero-scene .landscape-pavilion { width: 190%; left: -39%; bottom: -2px; }
  .hero-scene .river-wash { height: 95px; bottom: 0; }
  .hero-bottom { bottom: 16px; font-size: 10px; padding-top: 13px; }
  .hero-bottom button { gap: 5px; }
  .hero-bottom .replay-icon { width: 14px; height: 14px; }
  .qyl-discover, .qyl-columns, .qyl-ranking, .qyl-submit { padding-block: 52px; }
  .section-heading h2, .ranking-head h2, .submit-copy h2 { font-size: 26px; }
  .section-heading p, .ranking-head p { margin-top: 5px; font-size: 13px; }
  .section-heading { gap: 10px; }
  .sample-label { font-size: 10px; }
  .filter-row { gap: 23px; margin-top: 24px; }
  .filter-chip { font-size: 13px; }
  .filter-count { display: none; }
  .work-editorial-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .work-media { aspect-ratio: 1.42; }
  .work-info h3 { font-size: 17px; }
  .work-info p { font-size: 13px; }
  .browser-art b { font-size: 27px; }
  .poster-type strong, .shop-art strong { font-size: 31px; }
  .paper-lines span, .city-art span { font-size: 28px; }
  .column-stage { grid-template-columns: minmax(0,1fr); gap: 30px; margin-top: 24px; }
  .column-art { aspect-ratio: 1.4; padding: 25px; }
  .column-art span { font-size: 29px; }
  .column-meta small { max-width: 190px; }
  .column-invite { display: block; margin-top: 30px; text-align: center; font-size: 12px; }
  .column-invite a { display: inline-block; min-height: 34px; padding-top: 7px; }
  .qyl-ranking { grid-template-columns: 1fr; gap: 26px; }
  .creation-stats { margin-top: 24px; }
  .stats-body { grid-template-columns: minmax(128px,164px) minmax(0,1fr); gap: 24px; padding-block: 17px; }
  .stats-switch button { min-height: 36px; padding-inline: 14px; }
  .stats-legend { gap: 0; }
  .stats-legend button { min-height: 40px; }
  .stats-foot { font-size: 11px; }
  .rank-row { grid-template-columns: 24px 50px minmax(0,1fr) 46px; gap: 10px; min-height: 82px; }
  .rank-cover { width: 50px; height: 43px; }
  .rank-title strong { font-size: 13px; }
  .rank-title small { font-size: 11px; }
  .rank-score { font-size: 11px; }
  .qyl-submit { padding-top: 0; }
  .submit-card { grid-template-columns: minmax(0,1fr); padding: 27px 23px; gap: 25px; }
  .qyl-footer { flex-wrap: wrap; gap: 20px; padding-block: 25px; }
  .qyl-footer > div { gap: 20px; }
  .opening-top { gap: 6px; }
  .opening-skip { font-size: 10px; padding-left: 6px; }
  .opening-scene { inset: 31% 0 10%; }
  .opening-scene .landscape-pavilion { width: 190%; left: -39%; bottom: 0; }
}
@media (max-width: 360px) {
  :root { --gutter: 17px; --hero-type-size: 31px; }
  .brand-inline { gap: 8px; }
  .brand-inline strong { font-size: 27px; }
  .stats-body { grid-template-columns: 138px minmax(0,1fr); gap: 14px; }
  .brand-inline small { font-size: 11px; }
  .hero-actions { gap: 17px; }
  .column-meta small { max-width: 150px; }
  .rank-row { grid-template-columns: 22px 40px minmax(0,1fr) 42px; gap: 8px; }
  .rank-cover { width: 40px; height: 40px; }
}
@media (max-height: 560px) and (min-width: 701px) {
  .opening-scene { top: 15%; bottom: 5%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not(.motion-opt-in) *, body:not(.motion-opt-in) *::before, body:not(.motion-opt-in) *::after { animation: none !important; transition-duration: .01ms !important; }
  .has-reveal body:not(.motion-opt-in) .reveal { opacity: 1; transform: none; }
}
