/* ===== Ink n Tea – publikus oldal =====
   Lágy, íves formák; Asena kékje és Kitsune vöröse. */
:root {
  --paper: #faf6ef;
  --paper-2: #f3ece1;
  --card: #fffcf7;
  --ink: #26211f;
  --ink-2: #5b524e;
  --ink-3: #8f8580;
  --line: #e8dfd2;
  --wolf: #33557a;
  --wolf-soft: #dfe7f0;
  --fox: #c4553a;
  --fox-soft: #f6e1d9;
  --serif: 'Source Serif 4', Charter, Georgia, serif;
  --display: 'Fraunces', 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --round: 28px;
  --shadow: 0 1px 2px rgba(60, 40, 30, .05), 0 12px 32px -12px rgba(60, 40, 30, .16);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #17151a; --paper-2: #201d23; --card: #1e1b21; --ink: #efe9e3; --ink-2: #c2b9b4; --ink-3: #8b8287; --line: #322d34;
    --wolf: #94b5d8; --wolf-soft: #23303e; --fox: #ec9a80; --fox-soft: #3a2621;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px -12px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  color: var(--ink); font: 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(48rem 30rem at -8% -6%, color-mix(in srgb, var(--wolf) 13%, transparent), transparent 70%),
    radial-gradient(44rem 28rem at 108% 4%, color-mix(in srgb, var(--fox) 12%, transparent), transparent 70%),
    var(--paper);
  background-repeat: no-repeat;
}
a { color: inherit; }
img { max-width: 100%; }
.muted { color: var(--ink-3); }
.ic { width: 18px; height: 18px; flex: none; }
.ic.flip { transform: scaleX(-1); }
.mark { width: 1em; height: 1em; flex: none; }
.by-wolf { --me: var(--wolf); --me-soft: var(--wolf-soft); }
.by-fox { --me: var(--fox); --me-soft: var(--fox-soft); }

/* ----- fejléc ----- */
header.site {
  width: 100%; max-width: 1120px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: italic 500 25px/1 var(--display); letter-spacing: -.01em; }
.brand-duo { width: 58px; height: 34px; color: var(--ink-3); }
.site-nav { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--card) 70%, transparent); border: 1px solid var(--line); }
.site-nav a { padding: 7px 16px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current] { background: var(--ink); color: var(--paper); }
/* ----- nyelvválasztó tabletta (földgömb, HU | EN, csúszó kiemelés) ----- */
.lang-pill { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 3px 3px 3px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink-3); font: 600 12px/1 var(--sans); letter-spacing: .06em; flex: none; }
.lang-pill .ic { width: 15px; height: 15px; flex: none; }
.lang-pill .ic-g { display: inline-flex; }
.lang-pill .opts { position: relative; display: grid; grid-template-columns: 1fr 1fr; }
.lang-pill .thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; border-radius: 999px; background: linear-gradient(135deg, var(--wolf), var(--fox)); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .28s cubic-bezier(.4, 1.35, .5, 1); }
.lang-pill[data-active="en"] .thumb { transform: translateX(100%); }
.lang-pill .opt { position: relative; z-index: 1; min-width: 38px; padding: 7px 11px; text-align: center; border: 0; background: none; color: var(--ink-2); font: inherit; letter-spacing: inherit; text-decoration: none; cursor: pointer; border-radius: 999px; transition: color .2s; }
.lang-pill .opt:hover { color: var(--ink); }
.lang-pill .opt[aria-checked="true"], .lang-pill .opt[aria-current] { color: var(--on, #fff); cursor: default; }
.lang-pill .dot { display: inline-block; width: 5px; height: 5px; margin-left: 5px; border-radius: 50%; background: currentColor; vertical-align: middle; opacity: .75; }
.lang-pill .dot[hidden] { display: none; }

/* ----- nyitó rész ----- */
.list { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px 40px; flex: 1; }
.hero { position: relative; text-align: center; padding: 56px 0 46px; }
.hero-art { display: block; width: min(560px, 94%); height: auto; margin: -14px auto -10px; overflow: visible; }
.hero h1, .hero .tagline { position: relative; }
.hero h1 { text-shadow: 0 0 22px var(--paper), 0 0 10px var(--paper); }
.hero h1 { font: italic 500 clamp(44px, 7vw, 76px)/1.02 var(--display); letter-spacing: -.025em; margin: 0 0 14px; }
.tagline { font: 400 clamp(18px, 2.4vw, 22px)/1.45 var(--serif); color: var(--ink-2); margin: 0; }

/* ----- kártyák ----- */
.kind-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--me-soft, var(--paper-2)); color: var(--me, var(--ink-2)); font: 600 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.kind-pill.small { height: 22px; padding: 0 10px; font-size: 11px; }
.post a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--card); border-radius: var(--round); overflow: hidden; box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.post a:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(60, 40, 30, .06), 0 22px 44px -16px rgba(60, 40, 30, .28); }
.post-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--me-soft); border-radius: 0 0 50% 50% / 0 0 14% 14%; }
.post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.post a:hover .post-img img { scale: 1.04; }
.post-img.placeholder {
  display: grid; place-items: center; color: var(--me);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='60' viewBox='0 0 240 60'%3E%3Cpath d='M0 30c30-22 60-22 90 0s60 22 90 0 45-22 60-11' fill='none' stroke='%238f8580' stroke-opacity='.22' stroke-width='1.4'/%3E%3C/svg%3E") 0 0 / 240px 34px repeat,
    radial-gradient(circle at 30% 30%, var(--card), var(--me-soft) 70%);
}
.post-img.placeholder .mark { width: 64px; height: 64px; opacity: .8; stroke-width: 1.1; }
.post-body { padding: 20px 24px 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-3); margin-bottom: 10px; }
.post h2 { font: 500 24px/1.22 var(--display); letter-spacing: -.012em; margin: 0 0 8px; }
.post p { margin: 0 0 16px; color: var(--ink-2); font: 17px/1.5 var(--serif); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.who { display: inline-flex; align-items: center; gap: 7px; color: var(--me); font-weight: 600; }
.who .mark { width: 22px; height: 22px; }
.read { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-3); transition: color .2s, gap .2s; }
.post a:hover .read { color: var(--me); gap: 8px; }

.featured-wrap { margin-bottom: 36px; }
.post.featured a { display: grid; grid-template-columns: 1.25fr 1fr; align-items: stretch; }
.post.featured .post-img { aspect-ratio: auto; min-height: 380px; border-radius: 0 46% 46% 0 / 0 50% 50% 0; }
.post.featured .post-body { padding: 40px 44px; justify-content: center; }
.post.featured h2 { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; margin-bottom: 14px; }
.post.featured p { font-size: 19px; -webkit-line-clamp: 4; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.pager { display: flex; justify-content: space-between; margin-top: 42px; }
.pill { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 500; }
.pill:hover { border-color: var(--ink-3); }
.empty { text-align: center; color: var(--ink-3); font: 19px var(--serif); padding: 40px 0; }

/* ----- egy írás ----- */
.article { width: 100%; max-width: 760px; margin: 0 auto; padding: 30px 24px 30px; flex: 1; }
.art-head { text-align: center; margin: 20px 0 36px; }
.art-head h1 { font: 500 clamp(36px, 5.6vw, 56px)/1.08 var(--display); letter-spacing: -.022em; margin: 18px 0 14px; }
.subtitle { font: italic 400 clamp(19px, 2.4vw, 23px)/1.45 var(--serif); color: var(--ink-2); margin: 0 auto 26px; max-width: 34em; }
.byline { display: inline-flex; align-items: center; gap: 12px; text-align: left; padding: 6px 18px 6px 6px; border-radius: 999px; background: color-mix(in srgb, var(--card) 80%, transparent); border: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--me-soft); color: var(--me); }
.avatar .mark { width: 28px; height: 28px; }
.by-text { display: flex; flex-direction: column; line-height: 1.25; font-size: 14px; }
.by-text strong { color: var(--me); }
.by-text span { color: var(--ink-3); font-size: 13px; }
.cover { margin: 0 -40px 44px; }
.cover-frame { display: block; position: relative; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 40px; box-shadow: var(--shadow); cursor: zoom-in; }
.cover-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; padding: 20px; background: rgba(10, 8, 12, .92); }
.lightbox:target { display: grid; }
.lightbox img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; pointer-events: none; }
.lb-close { position: absolute; inset: 0; cursor: zoom-out; }
.cover figcaption, .body figcaption { text-align: center; font-size: 14px; color: var(--ink-3); margin-top: 12px; }
.cover figcaption a, .body figcaption a { color: inherit; }

.body { font: 400 21px/1.68 var(--serif); letter-spacing: -.003em; word-wrap: break-word; }
.body > p:first-child::first-letter { float: left; font: 500 4.1em/.82 var(--display); padding: .06em .1em 0 0; color: var(--me); }
.body p { margin: 0 0 1.15em; }
.body h2 { font: 500 32px/1.2 var(--display); margin: 1.6em 0 .5em; letter-spacing: -.015em; }
.body h3 { font: 600 24px/1.3 var(--display); margin: 1.4em 0 .4em; }
.body blockquote { margin: 1.6em 0; padding: 20px 28px; border-radius: 6px 26px 26px 6px; border-left: 4px solid var(--me); background: var(--me-soft); font-style: italic; }
.body pre { font: 15px/1.55 ui-monospace, Menlo, Consolas, monospace; background: var(--paper-2); padding: 18px 20px; border-radius: 18px; overflow-x: auto; white-space: pre-wrap; }
.body code { font: .85em ui-monospace, Menlo, Consolas, monospace; background: var(--paper-2); padding: 2px 6px; border-radius: 6px; }
.body pre code { background: none; padding: 0; }
.body figure { margin: 2.2em 0; }
.body figure img { display: block; margin: 0 auto; border-radius: 22px; }
.body ul, .body ol { padding-left: 1.3em; }
.body li { margin: .3em 0; }
.body li::marker { color: var(--me); }
.body a { text-decoration-color: color-mix(in srgb, var(--me) 55%, transparent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.body a:hover { color: var(--me); }
.body hr {
  border: 0; height: 22px; margin: 2.4em auto; width: 180px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 22'%3E%3Cpath d='M2 11c18-12 36-12 54 0s36 12 54 0 36-12 54 0' fill='none' stroke='%238f8580' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 48px 0 0; }
.extra { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px 20px; box-shadow: var(--shadow); min-width: 0; }
.extra.wide { grid-column: 1 / -1; }
.extra-label { display: flex; align-items: center; gap: 7px; font: 600 12px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--me); }
.extra-title { font: 600 18px/1.35 var(--serif); margin: 9px 0 2px; }
.extra-title a { text-underline-offset: 3px; }
.extra-meta { font-size: 14px; color: var(--ink-2); }
.stars { color: #d39434; letter-spacing: 2px; font-size: 15px; }
.stars .off { opacity: .25; }
.book-row { display: flex; gap: 16px; align-items: flex-start; }
.book-cover { width: 70px; border-radius: 6px 10px 10px 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, .15); margin-top: 8px; }
.embed { width: 100%; border: 0; border-radius: 18px; margin-top: 14px; display: block; background: var(--paper-2); }
.embed.youtube { aspect-ratio: 16 / 9; }
.embed.spotify { height: 152px; }
.embed.spotify.tall { height: 352px; }
.embed.map { height: 240px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.tags span { padding: 5px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); font-size: 14px; }
.fin { display: flex; justify-content: center; margin: 54px 0 10px; color: var(--me); }
.fin .mark { width: 36px; height: 36px; opacity: .8; }
.back { text-align: center; margin: 18px 0 0; }
.back a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink-2); padding: 10px 18px; border-radius: 999px; }
.back a:hover { background: var(--paper-2); color: var(--ink); }

/* ----- lábléc ----- */
footer.site { margin-top: 70px; position: relative; color: var(--ink-2); }
.wave { display: block; width: 100%; height: 70px; fill: var(--paper-2); }
.foot { background: var(--paper-2); text-align: center; padding: 10px 24px 46px; }
.foot-duo { width: 84px; height: 48px; color: var(--ink-3); }
.foot-name { font: italic 500 24px/1.2 var(--display); color: var(--ink); margin: 6px 0 4px; }
.foot-tag { font: 17px var(--serif); margin: 0 0 14px; }
.foot-links { display: flex; justify-content: center; gap: 10px; font-size: 14px; margin: 0; color: var(--ink-3); }
.foot-links a { text-decoration: none; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 860px) {
  .post.featured a { grid-template-columns: 1fr; }
  .post.featured .post-img { min-height: 0; aspect-ratio: 16 / 10; border-radius: 0 0 50% 50% / 0 0 14% 14%; }
  .post.featured .post-body { padding: 24px 26px 26px; }
  .cover { margin: 0 0 36px; }
  .cover-frame { border-radius: 26px; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  header.site { padding: 16px; justify-content: center; }
  .brand { font-size: 22px; }
  .list, .article { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 34px 0 30px; }
  .posts { gap: 20px; }
  .body { font-size: 18.5px; }
  .extras { grid-template-columns: 1fr; }
  .site-nav a { padding: 6px 12px; }
}

@media (prefers-color-scheme: dark) { .lang-pill { --on: #1a1618; } }

.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 0; color: var(--ink-3); font: 500 14px/1.3 var(--sans); }
.facts .fact { display: inline-flex; align-items: center; gap: 6px; }
.facts .ic { width: 16px; height: 16px; }
.also-pub { margin: 26px 0 0; padding: 12px 18px; border-radius: 18px; background: var(--paper-2); color: var(--ink-2); font: 500 14px var(--sans); }

/* ----- polc, zene, pillanatok ----- */
.hero.small { padding: 34px 0 26px; }
.hero.small h1 { font-size: clamp(36px, 5vw, 56px); }
.shelf { margin: 0 0 40px; }
.shelf h2 { font: italic 500 28px var(--display); margin: 0 0 18px; }
.shelf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.shelf-item { display: grid; gap: 8px; align-content: start; }
.shelf-cover { aspect-ratio: 2 / 3; border-radius: 6px 16px 16px 6px; overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow); }
.shelf-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover-ph { display: grid; place-content: center; justify-items: center; gap: 10px; width: 100%; height: 100%; padding: 14px; text-align: center; color: var(--me); background: var(--me-soft); font: 600 15px/1.2 var(--display); }
.cover-ph .ic { width: 30px; height: 30px; }
.shelf-info { display: grid; gap: 3px; }
.shelf-info strong { font: 600 16px/1.25 var(--display); }
.shelf-info a { text-decoration: none; }
.shelf-info a:hover { text-decoration: underline; }
.shelf-sub { color: var(--ink-3); font: 400 14px var(--sans); }
.shelf-who { display: flex; gap: 5px; }
.shelf-who .mark { width: 16px; height: 16px; color: var(--me); }
.year-nav { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 24px; }
.year-nav a { padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font: 600 14px var(--sans); color: var(--ink-2); }
.year-nav a:hover { background: var(--card); }
.music-year { max-width: 760px; margin: 0 auto 36px; }
.music-year h2 { font: italic 500 40px var(--display); margin: 0 0 6px; }
.music-year h3 { margin: 22px 0 8px; font: 600 13px var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.track-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.track-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 9px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.track-mark { color: var(--me); display: inline-flex; }
.track-mark .mark { width: 18px; height: 18px; }
.track-text { display: flex; align-items: center; gap: 8px; min-width: 0; }
.track-text .ic { width: 16px; height: 16px; flex: none; color: var(--ink-3); }
.track-text a { text-decoration: none; }
.track-text a:hover { text-decoration: underline; }
.track-date { color: var(--ink-3); font: 500 13px var(--sans); }
.track-post { display: inline-flex; color: var(--ink-3); }
.track-post .ic { width: 16px; height: 16px; }
.list.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 270px; column-gap: 34px; align-items: start; }
.list.with-aside > * { grid-column: 1; }
.list.with-aside > .hero { grid-column: 1 / -1; }
.list.with-aside > .moments { grid-column: 2; grid-row: 2 / span 5; }
.moments { position: sticky; top: 20px; display: grid; gap: 12px; }
.moments h2 { margin: 0 0 2px 4px; font: italic 500 24px var(--display); }
.moment { position: relative; display: grid; align-content: end; min-height: 170px; overflow: hidden; border-radius: 24px; background: var(--me-soft); text-decoration: none; color: inherit; isolation: isolate; box-shadow: var(--shadow); }
.moment img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.moment:has(img) { color: #fff; }
.moment:has(img)::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10, 8, 12, .72), rgba(10, 8, 12, 0) 62%); }
.moment-text { padding: 14px 18px 4px; font: 400 16px/1.35 var(--serif); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.moment-meta { display: flex; align-items: center; gap: 6px; padding: 4px 18px 14px; font: 600 12px var(--sans); opacity: .92; }
.moment-meta .mark { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .list.with-aside { display: block; }
  .moments { position: static; display: flex; overflow-x: auto; margin-top: 28px; padding-bottom: 8px; }
  .moments h2 { display: none; }
  .moment { flex: 0 0 200px; }
}
@media (max-width: 680px) { .site-nav { flex-wrap: wrap; justify-content: center; border-radius: 26px; } }

/* ----- nyilvános széljegyzetek (JS nélkül: a tű egy #pn-… hivatkozás, a cetli :target állapotban nyílik ki) ----- */
.pnote { display: inline; position: relative; margin-left: 3px; scroll-margin: 35vh 0; white-space: nowrap; }
.pnote-pin { display: inline-grid; place-items: center; position: relative; width: 20px; height: 20px; vertical-align: -3px; color: #fff; background: var(--me, var(--ink-2)); border-radius: 50% 50% 50% 3px; rotate: -45deg; box-shadow: 0 1px 4px rgba(0, 0, 0, .28); text-decoration: none; transition: scale .15s; }
.pnote-pin:hover, .pnote-pin:focus-visible { scale: 1.18; }
.pnote-pin > * { rotate: 45deg; }
.pnote-pin .ic { width: 12px; height: 12px; }
.pnote-pin b { position: absolute; font: 700 9px var(--sans); }
.pnote.both .pnote-pin { background: linear-gradient(135deg, var(--wolf) 50%, var(--fox) 50%); }
.pnote:target .pnote-pin { animation: pnote-pulse 1.4s ease-out 2; }
@keyframes pnote-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--me, var(--ink)) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.pnote-pop { display: none; position: fixed; z-index: 50; right: max(16px, calc(50% - 300px)); bottom: 18px; width: min(340px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; white-space: normal; gap: 8px; }
.pnote:target .pnote-pop { display: grid; }
.pnote-card { display: block; padding: 12px 36px 10px 14px; rotate: -.8deg; border-radius: 4px 4px 22px 4px; background: color-mix(in srgb, var(--me, var(--ink-3)) 12%, #fff5c4); color: #2a2323; box-shadow: 0 10px 28px rgba(40, 20, 30, .28); font: 400 15px/1.45 var(--sans); text-align: left; letter-spacing: 0; }
.pnote-text { display: block; margin: 4px 0 6px; }
.pnote-quote { display: block; padding-left: 8px; border-left: 3px solid var(--me, var(--ink-3)); font: italic 14px/1.35 var(--serif); opacity: .85; quotes: none; }
.pnote-by { display: inline-flex; align-items: center; gap: 6px; font: 600 12px var(--sans); color: var(--me); }
.pnote-by .mark { width: 15px; height: 15px; }
.pnote-x { position: absolute; top: 8px; right: 8px; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; color: #2a2323; opacity: .6; text-decoration: none; }
.pnote-x .ic { width: 16px; height: 16px; }
.pnote-row { margin: -12px 0 18px; text-align: right; }
.pnotes { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.pnotes h2 { font: italic 500 24px var(--display); margin: 0 0 14px; }
.pnotes ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pnote-item { max-width: 560px; padding: 2px 0 2px 16px; border-left: 3px solid var(--me, var(--ink-3)); }
.pnote-item p { margin: 4px 0 6px; font: 400 16px/1.5 var(--sans); }
.pnote-ref { display: block; color: var(--ink-3); font: italic 15px/1.4 var(--serif); text-decoration: none; opacity: .9; }
a.pnote-ref:hover { color: var(--ink); }
.pnote-ref q { quotes: none; }
.pnote-jump { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; color: var(--me); font: 600 12px var(--sans); font-style: normal; vertical-align: -2px; }
.pnote-jump .ic { width: 15px; height: 15px; }
@media (prefers-color-scheme: dark) { .pnote-card { background: color-mix(in srgb, var(--me, var(--ink-3)) 20%, #3b3420); color: #f3ead3; } .pnote-x { color: #f3ead3; } }

/* ----- fejléckép (a nyitóoldalon az illusztráció helyett): doboz vagy teljes szélesség; szöveg nélkül, a cím csak olvasóprogramnak ----- */
body { overflow-x: clip; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero-image { padding: 10px 0 8px; }
.hero-pic { position: relative; overflow: hidden; border-radius: 40px; aspect-ratio: 21 / 8; min-height: 240px; box-shadow: var(--shadow); background: var(--paper-2); }
.hero-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-image.full { margin-inline: calc(50% - 50vw); padding: 0 0 8px; }
.hero-image.full .hero-pic { border-radius: 0 0 50% 50% / 0 0 36px 36px; aspect-ratio: auto; height: clamp(260px, 36vw, 460px); box-shadow: none; }
@media (max-width: 680px) { .hero-pic { aspect-ratio: 4 / 3; border-radius: 28px; } .hero-image.full .hero-pic { aspect-ratio: auto; height: 300px; border-radius: 0 0 50% 50% / 0 0 26px 26px; } }

/* ===== Versek és Történetek ===== */
.site-nav { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { white-space: nowrap; flex: none; }

/* szűrők: lágy tabletták soronként */
.filters { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: -10px auto 34px; max-width: 900px; }
.frow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.flabel { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.fpill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: color-mix(in srgb, var(--card) 80%, transparent); text-decoration: none; color: var(--ink-2); font: 500 14px var(--sans); transition: border-color .2s, background .2s, color .2s; }
.fpill:hover { border-color: var(--ink-3); color: var(--ink); }
.fpill.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fpill small { font-size: 11px; opacity: .55; }
.fmark { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: -6px; }
.fmark .mark { width: 22px; height: 22px; }
.fseg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.fseg .fpill { border: 0; background: transparent; height: 30px; }
.fseg .fpill.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.frow.years .fpill { height: 30px; padding: 0 12px; font-size: 13px; }

/* évek / univerzumok: fejléc egy lágy hullámvonallal */
.cgroup { margin: 0 0 48px; }
.cgroup-head { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font: italic 500 32px/1 var(--display); color: var(--ink); }
.cgroup-head::after {
  content: ''; flex: 1; height: 16px; opacity: .55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 16'%3E%3Cpath d='M0 8c15-8 30-8 45 0s30 8 45 0 22-6 30-4' fill='none' stroke='%238f8580' stroke-width='1.4'/%3E%3C/svg%3E") 0 50% / 120px 16px repeat-x;
}
.cgroup-head.uni span { color: var(--fox); }
.coll-story .cgroup-head.uni span { background: linear-gradient(90deg, var(--wolf), var(--fox)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* verskártya: nincs kép, papírlap lágy ívvel, a sorok a lényeg */
.poems { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; align-items: start; }
.pcard a {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 30px 30px 22px; text-decoration: none; color: var(--ink);
  background: var(--card); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  border-radius: 34px 34px 34px 10px; box-shadow: var(--shadow); overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s;
}
.pcard a::before {
  content: ''; position: absolute; inset: auto -30% -60px auto; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, var(--me-soft) 0%, transparent 70%); opacity: .9; pointer-events: none;
}
.pcard a:hover { transform: translateY(-4px) rotate(-.3deg); box-shadow: 0 2px 4px rgba(60, 40, 30, .06), 0 22px 44px -16px rgba(60, 40, 30, .28); }
.pcard h3 { margin: 0; font: italic 500 23px/1.25 var(--display); letter-spacing: -.01em; position: relative; }
.pcard.align-center h3 { text-align: center; }
.poem-lines { position: relative; display: flex; flex-direction: column; font: 400 18px/1.6 var(--serif); color: var(--ink-2); }
.poem-lines.align-center { align-items: center; text-align: center; }
.poem-lines .pl.gap { height: .8em; }
.poem-lines .pl.more { color: var(--ink-3); }
.pcard-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 8px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13px; color: var(--ink-3); }
.pcard-foot .who .mark { width: 20px; height: 20px; }
.pcard-muse { display: inline-flex; align-items: center; gap: 5px; font-style: italic; color: var(--me); }
.pcard-muse .ic { width: 14px; height: 14px; }
.pcard-date { margin-left: auto; }
.post .poem-lines { margin: 0 0 16px; font-size: 16px; }

.universe-pill { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font: 500 12px/1 var(--sans); text-decoration: none; vertical-align: middle; }
a.universe-pill:hover { border-color: var(--ink-3); color: var(--ink); }
.universe-pill.small { height: 22px; padding: 0 9px; font-size: 11px; }

/* egy vers oldala */
.article.poem .body { font-size: 22px; line-height: 1.8; }
.article.poem .body > p:first-child::first-letter { float: none; font: inherit; padding: 0; color: inherit; }
.article.poem .body p { margin: 0 0 1.6em; }
.article.poem.align-center .body { text-align: center; }
.article.poem.align-center .body figure { text-align: left; }
.article.poem .art-head h1 { font-style: italic; }
.muse-line { display: flex; align-items: center; justify-content: center; gap: 7px; margin: -6px 0 22px; font: italic 400 18px var(--serif); color: var(--me); }
.muse-line .ic { width: 16px; height: 16px; }
.muse-line a { color: inherit; text-decoration-color: color-mix(in srgb, var(--me) 40%, transparent); text-underline-offset: 3px; }
.article.poem .body::before {
  content: ''; display: block; width: 90px; height: 18px; margin: 0 0 30px; opacity: .6;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 90 18'%3E%3Cpath d='M2 9c10-9 20-9 30 0s20 9 28 0 18-8 28-2' fill='none' stroke='%238f8580' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.article.poem.align-center .body::before { margin-left: auto; margin-right: auto; }

@media (max-width: 600px) {
  .cgroup-head { font-size: 26px; }
  .pcard a { padding: 24px 22px 18px; }
  .article.poem .body { font-size: 19px; }
  .filters { margin-top: -4px; }
}
.post-meta { flex-wrap: wrap; row-gap: 6px; }
.post-meta > span:last-child { white-space: nowrap; }

/* a hero apró mozgása: a toll vége tintát húz, a bögréből gőz száll */
.hero-art .hero-ink { stroke: var(--wolf, #33557a); stroke-width: 3; stroke-linecap: round; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; animation: hero-ink 9s ease-in-out infinite; }
.hero-art .hero-steam { stroke: var(--fox, #c4553a); stroke-width: 2.2; stroke-linecap: round; fill: none; opacity: 0; animation: hero-steam 5.5s ease-in-out infinite; }
.hero-art .hero-steam.s2 { animation-delay: 2.4s; }
@keyframes hero-ink { 0% { stroke-dashoffset: 1; opacity: .9; } 35% { stroke-dashoffset: 0; opacity: .9; } 80% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes hero-steam { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .55; } 100% { opacity: 0; transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .hero-art .hero-ink, .hero-art .hero-steam { animation: none; opacity: 0; } }

/* ===== Kinézet választó: Lágy (Asena, a farkas) | Játékos (Kitsune, a róka) ===== */
.site-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.style-pill { position: relative; display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); flex: none; }
.style-pill .thumb { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: var(--card); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); transition: transform .28s cubic-bezier(.4, 1.35, .5, 1); }
.style-pill[data-active="jatekos"] .thumb { transform: translateX(100%); }
.style-pill .opt { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 30px; border-radius: 999px; color: var(--me); opacity: .5; text-decoration: none; transition: opacity .2s; }
.style-pill .opt:hover, .style-pill .opt[aria-current] { opacity: 1; }
.style-pill .mark { width: 22px; height: 22px; }

/* --- Játékos: melegebb papír, ferde „kitűzött” kártyák, gőzfodros díszek --- */
html[data-stilus="jatekos"] {
  --paper: #fff6e8; --paper-2: #fbe9d0; --card: #fffaf2; --ink: #2c1c14; --ink-2: #6a4c3d; --ink-3: #98796a; --line: #f0d9bb;
  --round: 22px; --shadow: 0 2px 0 rgba(196, 85, 58, .12), 0 16px 28px -16px rgba(120, 60, 30, .32);
}
@media (prefers-color-scheme: dark) {
  html[data-stilus="jatekos"] { --paper: #1d1511; --paper-2: #2a1e18; --card: #261a15; --ink: #f6e8dc; --ink-2: #d2bba9; --ink-3: #a68f80; --line: #3f2e25; --shadow: 0 2px 0 rgba(0, 0, 0, .25), 0 16px 28px -16px rgba(0, 0, 0, .6); }
}
html[data-stilus="jatekos"] body {
  background:
    radial-gradient(circle, color-mix(in srgb, var(--fox) 9%, transparent) 1.3px, transparent 1.6px) 0 0 / 22px 22px,
    radial-gradient(40rem 26rem at 106% -4%, color-mix(in srgb, var(--fox) 20%, transparent), transparent 70%),
    radial-gradient(34rem 22rem at -6% 8%, color-mix(in srgb, #f2b24a 24%, transparent), transparent 70%),
    var(--paper);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
}
html[data-stilus="jatekos"] .site-nav a[aria-current] { background: var(--fox); color: #fff; }
html[data-stilus="jatekos"] .site-nav a { transition: transform .2s, background .2s, color .2s; }
html[data-stilus="jatekos"] .site-nav a:hover { transform: translateY(-1px) rotate(-1.5deg); }
html[data-stilus="jatekos"] .brand:hover .brand-duo { animation: jt-wiggle .6s ease; }
html[data-stilus="jatekos"] .hero h1 { transform: rotate(-1.2deg); color: color-mix(in srgb, var(--fox) 28%, var(--ink)); }
html[data-stilus="jatekos"] .tagline::after {
  content: ''; display: block; width: 130px; height: 12px; margin: 12px auto 0; background: var(--fox); opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12' viewBox='0 0 44 12'%3E%3Cpath d='M0 6Q11 0 22 6T44 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 44px 12px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='12' viewBox='0 0 44 12'%3E%3Cpath d='M0 6Q11 0 22 6T44 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 44px 12px;
}
html[data-stilus="jatekos"] .post a { position: relative; border: 2px solid color-mix(in srgb, var(--me, var(--fox)) 30%, var(--line)); }
html[data-stilus="jatekos"] .post:nth-child(3n+1) a { transform: rotate(-.7deg); }
html[data-stilus="jatekos"] .post:nth-child(3n+2) a { transform: rotate(.6deg); }
html[data-stilus="jatekos"] .post:nth-child(3n) a { transform: rotate(-.2deg); }
html[data-stilus="jatekos"] .post a:hover { transform: translateY(-6px) rotate(0) scale(1.01); }
html[data-stilus="jatekos"] .post.featured a { transform: none; }
html[data-stilus="jatekos"] .post.featured a:hover { transform: translateY(-4px); }
/* ragasztószalag a kártya tetején */
html[data-stilus="jatekos"] .post:not(.featured) a::before {
  content: ''; position: absolute; z-index: 3; top: 8px; left: 50%; width: 82px; height: 22px; margin-left: -41px; transform: rotate(-3deg);
  background: color-mix(in srgb, var(--me, var(--fox)) 40%, rgba(255, 255, 255, .55)); opacity: .85;
  clip-path: polygon(0 0, 100% 0, 97% 25%, 100% 50%, 97% 75%, 100% 100%, 0 100%, 3% 75%, 0 50%, 3% 25%);
}
html[data-stilus="jatekos"] .post-img { border-radius: 0 0 42% 42% / 0 0 18% 18%; }
html[data-stilus="jatekos"] .kind-pill { background: transparent; border: 1.5px dashed currentColor; }
html[data-stilus="jatekos"] .post a:hover .read { animation: jt-nudge .7s ease infinite; }
html[data-stilus="jatekos"] .pill:hover { transform: rotate(-1deg); border-color: var(--fox); }
/* egy írás: kerek iniciálé, szaggatott idézet teakarikával, gőzfodros címsor-vonal */
html[data-stilus="jatekos"] .body > p:first-child::first-letter { color: #fff; background: var(--me); border-radius: 55% 45% 50% 40%; padding: .1em .17em .02em; margin: .1em .14em 0 0; font-size: 2.5em; line-height: 1; }
html[data-stilus="jatekos"] .body blockquote {
  position: relative; border: 2px dashed var(--me); border-radius: 26px; font-style: italic;
  background: radial-gradient(circle at 93% 22%, transparent 26px, color-mix(in srgb, var(--me) 20%, transparent) 27px, transparent 31px), var(--me-soft);
}
html[data-stilus="jatekos"] .body h2::after {
  content: ''; display: block; width: 72px; height: 10px; margin-top: 6px; background: var(--me); opacity: .75;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'%3E%3Cpath d='M0 5Q9 0 18 5T36 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 36px 10px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='10' viewBox='0 0 36 10'%3E%3Cpath d='M0 5Q9 0 18 5T36 5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 36px 10px;
}
html[data-stilus="jatekos"] .body figure img { border-radius: 26px; transform: rotate(-.6deg); box-shadow: var(--shadow); }
html[data-stilus="jatekos"] .cover-frame { border-radius: 34px 12px 34px 12px; }
html[data-stilus="jatekos"] .byline { border-style: dashed; }
html[data-stilus="jatekos"] .tags span { border: 1.5px dashed var(--line); background: transparent; }
@keyframes jt-wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -5deg; } 75% { rotate: 5deg; } }
@keyframes jt-nudge { 0%, 100% { translate: 0; } 50% { translate: 4px; } }
@media (prefers-reduced-motion: reduce) { html[data-stilus="jatekos"] * { animation: none !important; transition: none !important; } html[data-stilus="jatekos"] .post a, html[data-stilus="jatekos"] .post a:hover { transform: none; } }

/* ===== A bejegyzéshez tartozó dolgok egy dobozban ===== */
.extras.one { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 6px 22px; box-shadow: var(--shadow); margin-top: 48px; }
.x-rows { display: grid; }
.xrow { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); min-width: 0; }
.xrow:last-child, .extras.one > .xrow:last-of-type { border-bottom: 0; }
.x-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--me-soft, var(--paper-2)); color: var(--me, var(--ink-2)); }
.x-ic .ic { width: 18px; height: 18px; }
.x-body { min-width: 0; flex: 1; }
.x-label { font: 600 12px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--me, var(--ink-3)); margin-bottom: 6px; }
.x-title { font: 600 18px/1.35 var(--serif); }
.x-title a { text-underline-offset: 3px; }
.x-meta { font-size: 14px; color: var(--ink-2); }
.x-data { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.x-datum { display: inline-flex; align-items: baseline; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); font-size: 15px; }
.x-datum .k { color: var(--ink-3); font-size: 13px; }
.x-datum .v { font-weight: 600; font-variant-numeric: tabular-nums; }
.x-datum small { font-weight: 400; color: var(--ink-3); }
.x-people { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0 12px; }
.x-people-label { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.x-people-label .ic { width: 16px; height: 16px; }
.person-chip { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.person-chip:hover { border-color: var(--ink-3); }
.person-chip img, .pc-ini { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.pc-ini { display: grid; place-items: center; background: var(--me-soft, var(--paper)); color: var(--me, var(--ink-2)); font: 600 14px var(--display); }
.person-pop { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 20px; background: rgba(10, 8, 12, .55); }
.person-pop:target { display: grid; }
.pp-close { position: absolute; inset: 0; cursor: default; }
.pp-card { position: relative; z-index: 1; width: min(420px, 100%); max-height: 86vh; overflow: auto; background: var(--card); border-radius: 26px; padding: 26px 26px 20px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5); text-align: center; }
.pp-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: block; }
.pp-card h3 { font: 500 26px/1.2 var(--display); margin: 0 0 4px; }
.pp-short { color: var(--ink-2); margin: 0 0 12px; font-style: italic; }
.pp-bio { text-align: left; font: 17px/1.55 var(--serif); margin: 0 0 12px; }
.pp-link { margin: 0 0 8px; }
.pp-x { display: inline-block; margin-top: 8px; padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; }
html[data-stilus="jatekos"] .extras.one { border: 2px dashed color-mix(in srgb, var(--me, var(--fox)) 40%, var(--line)); border-radius: 26px; }
html[data-stilus="jatekos"] .person-chip { border-style: dashed; }

/* értékelések: mindenki jele és csillagai */
.rates { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.rate { display: inline-flex; align-items: center; gap: 5px; }
.rate .mark { width: 16px; height: 16px; color: var(--me); }
.rate .stars { font-size: 13px; letter-spacing: 1px; }

/* Olvasási statisztika és állapotjelzők a polcon */
.shelf-status { display: inline-block; font: 600 11px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.reading-stats { margin-top: 56px; }
.rs-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin-bottom: 20px; }
.rs-tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 2px; }
.rs-tile strong { font: 500 28px var(--display); }
.rs-tile span { font: 12px var(--sans); color: var(--ink-3); }
.rs-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 14px; }
.rs-box h3 { font: 600 13px var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 8px; }
.rs-chart { width: 100%; height: auto; display: block; }
.rs-grid { stroke: var(--line); stroke-width: 1; }
.rs-axis { fill: var(--ink-3); font: 11px var(--sans); }
.rs-bar { fill: var(--wolf); opacity: .85; }
.rs-bar:hover { opacity: 1; }
.rs-note { margin: 6px 0 0; font: 13px var(--sans); color: var(--ink-2); }
.rs-years { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font: 14px var(--sans); }
.rs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.rs-chip { background: var(--paper-2); border-radius: 999px; padding: 3px 11px; font: 13px var(--sans); }
.rs-chip b { color: var(--ink-3); font-weight: 600; }

.rs-year { font: 600 14px var(--sans); margin: 12px 0 2px; color: var(--ink-2); }
