/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · Poeun festival stations */
/* Poeun Culture Festival: Dansimi's cream, ink, and red palette. */
.poeun-picker,
.poeun-path-list,
.poeun-chapter {
  --poeun-ink: #27202a;
  --poeun-red: #b72030;
  --poeun-red-dark: #881622;
  --poeun-cream: #fff4d9;
  --poeun-paper: #fffaf0;
  --poeun-line: #decdb6;
  --poeun-muted: #655c60;
  color: var(--poeun-ink);
}

.poeun-path-list[hidden],
.poeun-chapter[hidden] { display: none !important; }
.poeun-path-list,
.poeun-chapter { scroll-margin-top: 120px; }

.poeun-story-chapter { display: grid; gap: 18px; }
.poeun-chapter-film { max-width: 960px; overflow: hidden; border: 1px solid #d4b39b; border-radius: 16px; background: #271c2c; box-shadow: 0 12px 30px #40221820; }
.poeun-chapter-film-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; padding: 11px 16px; color: #fff8e8; font-size: .9rem; }
.poeun-chapter-film-head span { color: #e4d4c4; font-size: .78rem; }
.poeun-chapter-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #271c2c; object-fit: contain; }
.poeun-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--poeun-line);
  border-radius: 999px;
  background: #fffdf7;
  color: var(--poeun-red-dark);
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.poeun-back:hover { background: #fff1e8; border-color: var(--poeun-red); transform: translateX(-2px); }
.poeun-back:focus-visible { outline: 3px solid #2d8cff; outline-offset: 3px; }
.poeun-after-story[hidden], .poeun-skip[hidden] { display: none; }
.poeun-after-story { display: grid; gap: 18px; animation: poeun-reveal .35s ease-out both; }
.poeun-narration { display: grid; grid-template-columns: clamp(78px, 12vw, 112px) minmax(0, 1fr); align-items: center; gap: clamp(12px, 2vw, 20px); }
.poeun-narrator { display: block; width: 100%; height: auto; transform-origin: 48% 96%; animation: poeun-grounded-gesture 4s ease-in-out infinite; filter: drop-shadow(0 8px 6px #40221830); }
.poeun-bubble { position: relative; min-height: 0; padding: clamp(14px, 2vw, 20px) clamp(16px, 2.3vw, 24px); border: 2px solid #a64c4a; border-radius: 20px 20px 20px 4px; background: #fffdf7; box-shadow: 0 6px 16px #40221818; }
.poeun-bubble::before { content: ""; position: absolute; left: -12px; bottom: 13px; width: 20px; height: 20px; transform: rotate(45deg); border-bottom: 2px solid #a64c4a; border-left: 2px solid #a64c4a; background: #fff; }
.poeun-bubble-text { position: relative; display: block; min-height: 2.5em; font-size: clamp(.88rem, 1.6vw, 1.06rem); line-height: 1.5; word-break: keep-all; }
.poeun-skip { justify-self: end; padding: 7px 10px; border: 0; background: transparent; color: var(--poeun-red-dark); font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.poeun-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@keyframes poeun-grounded-gesture { 0%, 100% { transform: rotate(-1deg) scaleX(1); } 25% { transform: rotate(2deg) scaleX(.995); } 60% { transform: rotate(-2deg) scaleX(1.005); } }
@keyframes poeun-reveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .poeun-narration { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; }
  .poeun-bubble { padding: 12px 14px; border-radius: 14px 14px 14px 4px; }
  .poeun-bubble-text { font-size: .86rem; line-height: 1.5; }
  .poeun-bubble::before { left: -9px; bottom: 11px; width: 15px; height: 15px; }
}
@media (prefers-reduced-motion: reduce) { .poeun-narrator, .poeun-after-story { animation: none; } }
.poeun-story-card { display: grid; gap: 4px; width: min(100%, 960px); padding: clamp(14px, 2vw, 22px); border: 1px solid var(--poeun-line); border-radius: 16px; background: #fff8eb; }
.poeun-story-card p { max-width: 65ch; margin-bottom: 0; line-height: 1.8; word-break: keep-all; }
.poeun-virtues { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.poeun-virtue { display: grid; grid-template-columns: auto 1fr; gap: 0 9px; align-items: center; padding: 12px; border: 1px solid var(--poeun-line); border-radius: 12px; background: #fffdf8; color: var(--poeun-ink); font: inherit; text-align: left; cursor: pointer; }
.poeun-virtue:hover, .poeun-virtue[aria-expanded="true"] { border-color: var(--poeun-red-dark); background: #fff2ec; }
.poeun-virtue:focus-visible { outline: 3px solid #2d8cff; outline-offset: 2px; }
.poeun-virtue span { grid-row: span 2; color: var(--poeun-red-dark); font-family: "Segoe UI Symbol", serif; font-size: 2rem; }
.poeun-virtue small { color: var(--poeun-muted); }
.poeun-virtue-reason { margin-top: -8px; padding: 16px 18px; border-left: 3px solid var(--poeun-red-dark); background: #fff3e9; line-height: 1.6; }
.poeun-virtue-reason[hidden] { display: none; }
.poeun-virtue-reason p { margin: 6px 0; }
.poeun-virtue-reason small { color: var(--poeun-muted); }
.poeun-opera { display: grid; gap: 12px; }
.poeun-opera-heading-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 10px; }
.poeun-opera-heading-row h3 { margin: 4px 0 0; }
.poeun-opera-eyebrow, .poeun-opera-before { color: var(--poeun-red-dark); font-weight: 800; }
.poeun-opera-connection, .poeun-opera-message { margin: 0; line-height: 1.6; }
.poeun-opera-board { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); grid-template-rows: repeat(8, minmax(0, 1fr)); width: min(100%, 460px); aspect-ratio: 1; border: 2px solid #603d36; }
.poeun-opera-square { position: relative; display: grid; place-items: center; min-width: 0; min-height: 0; padding: 0; border: 0; border-radius: 0; color: #29202a; font: 2rem/1 "Segoe UI Symbol", serif; cursor: pointer; }
.poeun-opera-square.light { background: #f8e7c9; }
.poeun-opera-square.dark { background: #b9907c; }
.poeun-opera-square.selected { outline: 3px solid #146ea1; outline-offset: -3px; }
.poeun-opera-square.destination::after { content: ""; position: absolute; width: 27%; aspect-ratio: 1; border-radius: 50%; background: #147ab899; }
.poeun-opera-square:focus-visible { z-index: 1; outline: 3px solid #087bc2; outline-offset: -3px; }
.poeun-opera-square:disabled { cursor: default; }
.poeun-opera-source { width: fit-content; color: var(--poeun-red-dark); font-weight: 700; }
.poeun-transition { min-height: 360px; align-content: center; justify-items: start; }
.poeun-transition h2 { max-width: 17ch; margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.poeun-transition p { max-width: 58ch; margin: 0; line-height: 1.7; }
.poeun-transition-step { color: var(--poeun-red-dark); font-weight: 800; }
@media (max-width: 600px) { .poeun-opera-square { font-size: clamp(1.2rem, 6vw, 2rem); } }
.poeun-chapter-caption { margin: -8px 0 0; color: var(--poeun-muted); font-size: .85rem; }
.poeun-choice h3 { margin: 0 0 12px; }
.poeun-choice-options { display: grid; gap: 10px; }
.poeun-choice-options button { padding: 16px; border: 1px solid var(--poeun-line); border-radius: 10px; background: #fff; color: var(--poeun-ink); font: inherit; text-align: left; cursor: pointer; }
.poeun-choice-options button:hover, .poeun-choice-options button.is-chosen { border-color: var(--poeun-red-dark); background: #fff2ec; }
.poeun-choice-result { display: grid; justify-items: start; gap: 12px; padding: 20px; border: 1px solid #d4aa9a; border-radius: 14px; background: #fff3e9; line-height: 1.7; }
.poeun-choice-result p { margin: 0; }
.poeun-choice-result .poeun-actions { width: 100%; margin-top: 4px; }
.poeun-choice-result[hidden] { display: none; }
.poeun-virtue-tag { display: inline-block; padding: 5px 11px; border-radius: 999px; background: var(--poeun-red-dark); color: white; font-weight: 700; }
.poeun-chapter-note { font-weight: 700; }
.poeun-ending { display: grid; justify-items: start; gap: 12px; padding: clamp(20px, 5vw, 48px); }
.poeun-ending p { margin: 0; line-height: 1.7; }
.poeun-ending-check { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 50%; background: #287449; color: #fff; font-size: 1.5rem; animation: poeun-check .35s ease-out both; }
@keyframes poeun-check { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .poeun-ending-check { animation: none; } }
@media (max-width: 600px) { .poeun-virtues { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.poeun-theme-glyph { display: grid; width: 100%; height: 100%; place-items: center; font-family: "Segoe UI Symbol", serif; font-size: min(5vw, 52px); line-height: 1; }
.white-piece .poeun-theme-glyph { color: #fff7df; text-shadow: 0 1px 2px #251518, 1px 0 2px #251518, -1px 0 2px #251518; }
.black-piece .poeun-theme-glyph { color: #52202b; }
.poeun-theme { background: #f6e4d7; color: #742733; }
.poeun-board { grid-template-rows: repeat(8, minmax(0, 1fr)); }

.poeun-path-list {
  padding: clamp(18px, 3.5vw, 38px);
  border: 1px solid var(--poeun-line);
  border-radius: 24px;
  background: radial-gradient(circle at 92% 4%, #ffe4d0 0, transparent 31%),
    linear-gradient(150deg, #fffaf0, #fff6e8 58%, #f9ecdf);
}

.poeun-picker,
.poeun-path-heading { position: relative; }
.poeun-picker h2,
.poeun-path-heading h2 { color: var(--poeun-ink); letter-spacing: -.04em; }
.poeun-picker { gap: 18px; }
.poeun-picker-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.poeun-picker-head img { width: 70px; height: 70px; object-fit: contain; }
.poeun-campaign-cards { gap: 16px; }
.poeun-campaign-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #dfdcd4;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px #38241a14;
}
.poeun-campaign-media { position: relative; display: grid; place-items: center; height: clamp(150px, 20vw, 210px); overflow: hidden; isolation: isolate; background: #455546; }
.poeun-campaign-media::before { content: ""; position: absolute; inset: -12px; z-index: -1; background: var(--campaign-photo) center / cover no-repeat; filter: blur(12px) brightness(.52); transform: scale(1.05); }
.poeun-campaign-card.poeun .poeun-campaign-media { background: #746a46; }
.poeun-campaign-badge { position: absolute; top: 12px; left: 12px; padding: 6px 10px; border-radius: 999px; background: #fff6e3; color: #88540f; font-size: .76rem; font-weight: 800; }
.poeun-campaign-card.poeun .poeun-campaign-badge { background: #ebf5eb; color: #2e654c; }
.poeun-campaign-photo {
  width: clamp(118px, 15vw, 170px);
  height: clamp(100px, 13vw, 150px);
  border: 2px solid #fff;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 4px 16px #161b17a8;
}
.poeun-campaign-portrait { object-position: center 22%; }
.poeun-campaign-photo-credit { position: absolute; right: 10px; bottom: 8px; left: 10px; color: #fff; font-size: .66rem; text-shadow: 0 1px 3px #000; }
.poeun-campaign-body { display: grid; gap: 10px; flex: 1; padding: 18px 20px 20px; }
.poeun-campaign-body h3 { margin: 0; color: #172725; font-size: 1.25rem; }
.poeun-campaign-body p { margin: 0; color: #554b48; font-size: .86rem; line-height: 1.45; }
.poeun-campaign-progress { display: flex; justify-content: space-between; gap: 12px; color: #635c56; font-size: .78rem; }
.poeun-campaign-meter { height: 6px; overflow: hidden; border-radius: 999px; background: #e9e6e1; }
.poeun-campaign-meter span { display: block; height: 100%; border-radius: inherit; background: #d58b19; }
.poeun-campaign-card.poeun .poeun-campaign-meter span { background: #2e5b49; }
.poeun-campaign-cta { width: 100%; min-height: 42px; margin-top: 2px; border: 1px solid #2e5b49; border-radius: 8px; background: #2e5b49; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.poeun-campaign-card.cheoinseong .poeun-campaign-cta { border-color: var(--home-accent-dark); border-radius: 12px; background: #fff; color: var(--home-accent-dark); }
.poeun-campaign-cta:hover:not(:disabled) { filter: brightness(.92); }
.poeun-campaign-cta:focus-visible { outline: 3px solid #1688c1; outline-offset: 3px; }
.poeun-campaign-cta:disabled { opacity: .55; cursor: not-allowed; }
.poeun-campaign-card.cheoinseong .poeun-campaign-media { background: var(--home-accent-dark); }
.poeun-campaign-card.cheoinseong .poeun-campaign-badge { background: var(--home-accent-soft); color: var(--home-accent-dark); }
.poeun-campaign-card.cheoinseong .poeun-campaign-meter span { background: var(--home-accent-dark); }
.poeun-campaign-card.cheoinseong .poeun-campaign-cta:focus-visible { outline-color: var(--home-accent-dark); }
.poeun-picker > .poeun-campaign-credits {
  margin: 0;
  color: var(--poeun-muted);
  font-size: .73rem;
}
.poeun-campaign-credits a { color: inherit; text-underline-offset: 2px; }
.poeun-path-node {
  border-color: var(--poeun-line);
  background: #fffdf7;
  color: var(--poeun-ink);
  box-shadow: 0 4px 16px #38241a0b;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.poeun-path-node:hover {
  transform: translateY(-2px);
  border-color: var(--poeun-red);
  background: #fffdf7;
  box-shadow: 0 10px 24px #38241a1a;
}
.poeun-path-node .number { color: var(--poeun-red-dark); border-color: var(--poeun-red); }
.poeun-path-art { width: 94px; height: 58px; flex: 0 0 94px; border-radius: 8px; object-fit: cover; }
@media (max-width: 520px) { .poeun-path-art { width: 64px; height: 52px; flex-basis: 64px; } }
.poeun-path-nodes li:not(:last-child)::before { background: #d8ad9d; }
.poeun-path-node small,
.poeun-picker > p,
.poeun-path-heading p { color: var(--poeun-muted); }

.poeun-chapter {
  overflow: hidden;
  border-color: var(--poeun-line);
  border-radius: 24px;
  background: linear-gradient(165deg, #fffaf0 0, #fffdf8 45%, #fff8ef 100%);
  box-shadow: 0 16px 48px #402c2219;
}
.poeun-chapter h2 { color: var(--poeun-ink); letter-spacing: -.05em; }
.poeun-chapter-head span { color: var(--poeun-red-dark); }
.poeun-chapter-back,
.poeun-path-heading button { color: var(--poeun-red-dark); }

.poeun-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(220px, 1fr);
  align-items: start;
  gap: 12px clamp(14px, 3vw, 32px);
  margin: 0 0 22px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid #dfc9aa;
  border-radius: 20px;
  background: radial-gradient(circle at 88% 20%, #f7c6aa 0, transparent 27%),
    linear-gradient(110deg, #fff6dc, #fff9eb 67%, #fbe4d3);
}
.poeun-hero-title { grid-column: 1; grid-row: 1; margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.8rem); }
.poeun-intro-film { grid-column: 1; grid-row: 2; min-width: 0; overflow: hidden; border: 1px solid #d4b39b; border-radius: 15px; background: #271c2c; box-shadow: 0 12px 30px #40221820; }
.poeun-hero-copy { grid-column: 2; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; align-self: stretch; gap: 18px; }
.poeun-hero-copy .poeun-hero-meta { margin: 0; }
.poeun-intro-video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #271c2c; object-fit: cover; }
@media (max-width: 760px) { .poeun-hero { grid-template-columns: 1fr; } .poeun-hero-title { grid-column: 1; grid-row: 1; } .poeun-intro-film { grid-column: 1; grid-row: 2; } .poeun-hero-copy { grid-column: 1; grid-row: 3; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; } }
@media (prefers-reduced-motion: reduce) { .poeun-intro-film * { animation: none !important; } }
.poeun-hero-copy,
.poeun-station-header > :first-child { min-width: 0; }
.poeun-hero-art img { display: block; width: 100%; height: auto; filter: drop-shadow(0 12px 12px #40221824); }
.poeun-hero-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 14px 0; font-weight: 700; }
.poeun-path-tail { margin-left: auto; color: var(--poeun-red-dark); font-size: .88rem; font-weight: 800; }
.poeun-station-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-bottom: 4px; }
.poeun-station-header > span:nth-child(2) { font-weight: 800; }
.poeun-time { margin-left: auto; color: var(--poeun-muted); font-size: .82rem; }
.poeun-station-layout { display: grid; grid-template-columns: minmax(120px, 180px) minmax(0, 1fr); gap: 22px; align-items: start; }
.poeun-eyebrow,
.poeun-kicker {
  display: inline-block;
  margin: 0 0 8px;
  color: var(--poeun-red-dark);
  font-size: .77rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.poeun-mascot {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 180px;
  align-self: start;
}
.poeun-mascot img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 12px #40221824);
}
.poeun-mascot p {
  margin: 0;
  padding: 10px;
  border: 1px solid var(--poeun-line);
  border-radius: 12px;
  background: var(--poeun-cream);
  font-size: .83rem;
  font-weight: 700;
  line-height: 1.5;
}
.poeun-station-header h2,
.poeun-hero h2 { margin: 0 0 8px; }
.poeun-verse,
.poeun-poem {
  margin: 0;
  color: #5e2730;
  font-size: clamp(1.15rem, 2.7vw, 1.65rem);
  font-weight: 700;
  line-height: 1.55;
  word-break: keep-all;
}
.poeun-station-header p { line-height: 1.6; }

.poeun-station { display: grid; gap: 20px; }
.poeun-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.poeun-steps > * {
  flex: 1 1 auto;
  min-width: max-content;
  padding: 8px 11px;
  border: 1px solid #e0d3c3;
  border-radius: 999px;
  background: #fffdf8;
  color: #645657;
  font-size: .81rem;
  font-weight: 700;
  text-align: center;
}
.poeun-steps > .is-active,
.poeun-steps > [aria-current="step"] {
  border-color: var(--poeun-red-dark);
  background: var(--poeun-red-dark);
  color: #fff;
}
.poeun-steps > .is-done { border-color: #7c9b65; background: #edf6e7; color: #2b6539; }

.poeun-panel {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--poeun-line);
  border-radius: 18px;
  background: #fffdf8;
  box-shadow: 0 5px 18px #402c220c;
}
.poeun-panel h3 { margin: 0 0 10px; color: var(--poeun-ink); font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
.poeun-panel h2 { margin: 0 0 8px; }
.poeun-typewriter { min-height: 2.3em; margin-bottom: 0; color: var(--poeun-red-dark); font-size: clamp(1.3rem, 2.6vw, 1.8rem); font-weight: 800; word-break: keep-all; }
.poeun-source { color: var(--poeun-muted); }
.poeun-panel p { line-height: 1.65; }
.poeun-panel p:last-child { margin-bottom: 0; }
.poeun-board {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 14px auto;
  overflow: hidden;
  border: 3px solid #342327;
  border-radius: 8px;
  box-shadow: 0 10px 22px #2b171d2e;
  touch-action: manipulation;
}
.poeun-square {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 0;
  font-family: "Segoe UI Symbol", "Noto Sans Symbols 2", serif;
  font-size: clamp(1.2rem, 5.8vw, 2.6rem);
  line-height: 1;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
.poeun-board.is-interactive .poeun-square { cursor: pointer; }
.poeun-square::before,
.poeun-square::after { position: absolute; z-index: 1; color: #4b2930; font-family: var(--font-home-body); font-size: .64rem; font-weight: 800; line-height: 1; }
.poeun-square::before { content: attr(data-rank-label); top: 3px; left: 3px; }
.poeun-square::after { content: attr(data-file-label); right: 3px; bottom: 2px; }
.poeun-square.light,
.poeun-square.is-light { background: #f9e8c8; }
.poeun-square.dark,
.poeun-square.is-dark { background: #b99782; }
.poeun-square.is-selected { background: #f5cc68; box-shadow: inset 0 0 0 3px #723622; }
.poeun-square.is-target::after,
.poeun-square.is-legal::after {
  content: "";
  position: absolute;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #287f55a8;
  pointer-events: none;
}
.poeun-square:focus-visible,
.poeun-station button:focus-visible,
.poeun-path-node:focus-visible,
.poeun-campaign-card:focus-visible {
  outline: 3px solid #7f2c35;
  outline-offset: 2px;
  z-index: 2;
}
.poeun-feedback {
  min-height: 2.5em;
  padding: 11px 14px;
  border-left: 4px solid #dcb451;
  border-radius: 0 8px 8px 0;
  background: #fff4d6;
  line-height: 1.55;
}
.poeun-feedback.is-correct,
.poeun-feedback[data-state="correct"] { border-color: #3e965b; background: #eff8ec; }
.poeun-feedback.is-incorrect,
.poeun-feedback[data-state="incorrect"] { border-color: #bd4b48; background: #fff0eb; }
.poeun-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.poeun-actions button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--poeun-red-dark);
  border-radius: 10px;
  background: #fffdf8;
  color: var(--poeun-red-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.poeun-actions button:hover { background: #ffe9dc; }
.poeun-actions .primary,
.poeun-actions .primary { background: var(--poeun-red-dark); color: #fff; }
.poeun-actions .primary:hover { background: #aa1d2d; color: #fff; }
.poeun-cta { margin-top: 20px; padding: 18px; border: 1px solid var(--poeun-line); border-radius: 14px; background: var(--poeun-cream); }
.poeun-actions button:disabled { opacity: .55; cursor: default; }
.poeun-chapter-story { border-color: var(--poeun-line); background: #fffaf0; }
.poeun-mini-board { border-color: #342327; }
.poeun-mini-board .light { background: #f9e8c8; }
.poeun-mini-board .dark { background: #b99782; }
.poeun-chapter-options button { border-color: var(--poeun-line); }
.poeun-chapter-options button:hover { border-color: var(--poeun-red); }

@media (max-width: 680px) {
  .poeun-path-list,
  .poeun-chapter { border-radius: 16px; }
  .poeun-hero { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .poeun-station-layout { grid-template-columns: 1fr; }
  .poeun-mascot { grid-template-columns: 80px 1fr; max-width: none; align-items: center; }
  .poeun-mascot img { max-width: 80px; }
  .poeun-steps > * { min-width: 0; padding: 7px 9px; font-size: .72rem; }
  .poeun-board { width: min(100%, 360px); }
  .poeun-square { font-size: clamp(1.25rem, 7vw, 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  .poeun-campaign-card,
  .poeun-path-node { transition: none; }
}

/* Poeun route overview */
.poeun-path-list { display: grid; gap: 20px; max-width: 960px; padding: 0 0 48px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.poeun-path-list .poeun-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr); align-items: center; gap: clamp(24px, 4vw, 48px); margin: 0 0 8px; padding: clamp(20px, 3vw, 30px); border: 1px solid #e5e1da; border-radius: 18px; background: #fff; box-shadow: 0 10px 28px #2a272016; }
.poeun-path-list .poeun-intro-film { position: relative; grid-column: 1; grid-row: 1; border: 0; border-radius: 12px; box-shadow: none; }
.poeun-path-list .poeun-intro-video { aspect-ratio: 16 / 9; }
.poeun-path-list .poeun-video-play { position: absolute; inset: 0; display: grid; width: 56px; height: 56px; margin: auto; padding: 0 0 0 3px; place-items: center; transform: none; transition: none; border: 0; border-radius: 50%; background: #fff; color: #8a2034; font-size: 1.3rem; cursor: pointer; box-shadow: 0 4px 14px #0005; }
.poeun-path-list .poeun-video-play:active { box-shadow: 0 4px 14px #0005 !important; }
.poeun-video-play[hidden] { display: none; }
.poeun-video-play:focus-visible { outline: 3px solid #248dca; outline-offset: 3px; }
.poeun-path-list .poeun-hero-copy { grid-column: 2; grid-row: 1; display: grid; align-content: center; justify-items: stretch; gap: 15px; min-width: 0; }
.poeun-hero-eyebrow { color: #9f2937; font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.poeun-path-list .poeun-hero .poeun-hero-title { grid-column: auto; grid-row: auto; margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.12; }
.poeun-hero-progress { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .86rem; }
.poeun-hero-progress span { padding: 5px 9px; border-radius: 999px; background: #e8f3eb; color: #2e654c; font-size: .72rem; font-weight: 700; }
.poeun-progress-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.poeun-progress-steps i { height: 6px; border-radius: 99px; background: #d7e0d9; }
.poeun-progress-steps i.is-done { background: #2e5b49; }
.poeun-path-list .poeun-restart { min-height: 46px; border: 0; border-radius: 8px; background: #2e5b49; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.poeun-path-list .poeun-restart:hover { background: #224a3b; }
.poeun-chapters-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.poeun-chapters-heading h3 { margin: 0; font-size: 1.25rem; }
.poeun-chapters-heading span { color: #767d78; font-size: .8rem; }
.poeun-path-list .poeun-path-nodes { display: grid; gap: 10px; }
.poeun-path-list .poeun-path-nodes li { position: relative; min-height: 0; padding-left: 54px; }
.poeun-path-list .poeun-path-nodes li:not(:last-child)::before { top: 42px; bottom: -15px; left: 20px; background: #cbd4cc; }
.poeun-path-number { position: absolute; top: 50%; left: 0; z-index: 1; display: grid; width: 42px; height: 42px; place-items: center; transform: translateY(-50%); border-radius: 50%; background: #2e5b49; color: #fff; font-size: .8rem; font-weight: 800; }
.poeun-path-list .poeun-path-node { display: flex; align-items: center; gap: 12px; min-height: 84px; padding: 10px 14px; border: 1px solid #e3e2dd; border-radius: 12px; background: #fff; box-shadow: 0 5px 12px #2a272010; transform: none; }
.poeun-path-list .poeun-path-node:hover { background: #fff; border-color: #bed0c2; transform: none; }
.poeun-path-main { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: #172725; font: inherit; text-align: left; cursor: pointer; }
.poeun-path-main strong { display: block; font-size: .98rem; }
.poeun-path-main small { display: block; margin-top: 4px; color: #6f746f; font-size: .78rem; }
.poeun-path-list .poeun-path-art { width: 96px; height: 62px; flex: 0 0 96px; border-radius: 7px; object-fit: cover; }
.poeun-path-status { white-space: nowrap; padding: 5px 9px; border-radius: 999px; background: #f0f1ed; color: #6c746c; font-size: .72rem; font-weight: 700; }
.poeun-path-status.is-done { background: #e5f2e9; color: #2e654c; }
.poeun-path-open { min-height: 36px; padding: 6px 12px; border: 1px solid #8c9790; border-radius: 7px; background: #fff; color: #263d31; font: inherit; font-size: .82rem; font-weight: 700; white-space: nowrap; cursor: pointer; }
.poeun-path-open:hover { border-color: #2e5b49; background: #f1f7f3; }
.poeun-path-main:focus-visible, .poeun-path-open:focus-visible, .poeun-restart:focus-visible, .poeun-other-campaigns:focus-visible { outline: 3px solid #248dca; outline-offset: 3px; }
.poeun-other-campaigns { justify-self: center; margin-top: 12px; min-height: 42px; padding: 8px 16px; border: 1px solid #8c9790; border-radius: 8px; background: transparent; color: #263d31; font: inherit; font-weight: 700; cursor: pointer; }
.poeun-other-campaigns:hover { background: #fff; }
@media (max-width: 700px) {
  .poeun-path-list .poeun-hero { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .poeun-path-list .poeun-intro-film { grid-column: 1; grid-row: 1; }
  .poeun-path-list .poeun-hero-copy { grid-column: 1; grid-row: 2; }
  .poeun-path-list .poeun-path-nodes li { padding-left: 42px; }
  .poeun-path-number { width: 34px; height: 34px; }
  .poeun-path-list .poeun-path-nodes li:not(:last-child)::before { left: 16px; }
  .poeun-path-list .poeun-path-art { width: 64px; height: 52px; flex-basis: 64px; }
  .poeun-path-main { gap: 10px; }
}
@media (max-width: 460px) {
  .poeun-path-list .poeun-path-node { flex-wrap: wrap; }
  .poeun-path-main { flex-basis: 100%; }
  .poeun-path-status { margin-left: 74px; }
  .poeun-path-open { margin-left: auto; }
}
