:root { --bg:#f7f1e8; --card:#fffaf2; --ink:#2b2118; --sub:#6b5b4b; --pri:#c2562f; --pri2:#a44523; --acc:#e0a03a; --line:#e6dccb; --r:12px; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 Inter, system-ui, sans-serif; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 700; line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 18px; }
p { margin: 0 0 16px; max-width: 70ch; }
a { color: var(--pri2); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 9; }

.top { background: var(--card); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; font: 700 18px Fraunces, Georgia, serif; color: var(--ink); text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.nav { display: flex; gap: 16px; }
.nav a { color: var(--sub); text-decoration: none; font-weight: 600; font-size: 14px; padding: 12px 0; }
.nav a:hover { color: var(--pri2); }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.lede { font-size: 18px; color: var(--sub); }
.play { min-width: 0; }
.stage { position: relative; width: 100%; height: min(720px, calc(100vh - 120px)); min-height: 520px; border-radius: var(--r); overflow: hidden; background: #ecdfc8; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.cover { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 24px; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: var(--r); background: var(--pri); color: #fff; font: 600 17px Inter, sans-serif; cursor: pointer; }
.btn:hover { background: var(--pri2); }
.btn-play { position: relative; min-height: 56px; font-size: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.loader { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: var(--bg); color: var(--sub); font-weight: 600; }
.loader[hidden] { display: none; }
.loader p { margin: 0; }
.loader-grid { display: grid; grid-template-columns: repeat(3, 20px); gap: 8px; }
.loader-grid i { width: 20px; height: 24px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--acc); animation: warm 1.2s ease-in-out infinite; }
.loader-grid i:nth-child(3n+2) { animation-delay: .15s; }
.loader-grid i:nth-child(3n) { animation-delay: .3s; }
.loader-grid i:nth-child(n+4) { animation-delay: .45s; }
.loader-grid i:nth-child(n+7) { animation-delay: .6s; }
@keyframes warm { 0%, 100% { background: var(--line); transform: none; } 50% { background: var(--pri); transform: translateY(-3px); } }
.acts { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.act { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r); border: 2px solid var(--line); background: var(--card); color: var(--ink); font: 600 14px Inter, sans-serif; cursor: pointer; }
.act:hover { border-color: var(--pri); }
.act svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.act[aria-pressed="true"] { border-color: var(--pri); color: var(--pri2); }
.act[aria-pressed="true"] svg { fill: var(--pri); stroke: var(--pri); }
.act-msg { font-size: 14px; color: var(--sub); }
.act[data-gf-fullscreen] { margin-left: auto; }

.sec { padding-top: 48px; padding-bottom: 16px; }
.two { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 48px; align-items: start; }
.two.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.note { background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--acc); border-radius: var(--r); padding: 24px; }
.note p { margin: 0; font-size: 16px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 48px; }
.steps li { counter-increment: s; position: relative; padding-left: 64px; min-height: 48px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 48px; height: 48px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--acc); display: grid; place-items: center; font: 700 22px Fraunces, Georgia, serif; }
.steps b { display: block; }
.steps span { color: var(--sub); font-size: 16px; }
.tablewrap { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-size: 14px; color: var(--sub); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.tips { margin: 0; padding-left: 20px; }
.tips li { margin-bottom: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; min-height: 44px; }
.faq p { color: var(--sub); }

.cform { display: grid; gap: 12px; max-width: 640px; margin-bottom: 24px; }
.cform label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.cform input, .cform textarea { font: 400 16px/1.4 Inter, sans-serif; padding: 12px; border: 2px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); }
.cform .btn { justify-self: start; }
.clist { max-width: 640px; }
.c { border-top: 1px solid var(--line); padding: 12px 0; }
.c p { margin: 0 0 4px; }
.c-head { font-size: 14px; color: var(--sub); }
.c-head b { color: var(--ink); }
.c-owner { display: none; background: var(--acc); color: var(--ink); border-radius: 8px; padding: 0 8px; font-size: 12px; font-weight: 600; }
[data-gf-owner] .c-owner { display: inline-block; }
.c-reply, .reply-to button { background: none; border: 0; color: var(--pri2); font: 600 14px Inter, sans-serif; cursor: pointer; padding: 8px 0; }
.c-replies { margin-left: 24px; }
.c-empty, .c-off { display: none; color: var(--sub); }
[data-gf-empty] .c-empty { display: block; }
[data-gf-off] .c-off { display: block; }
[data-gf-off] .c-empty { display: none; }

.sec:has([data-gf-off]) { display: none; }

.doc { padding-top: 32px; padding-bottom: 48px; }
.crumb { font-size: 14px; color: var(--sub); margin-bottom: 16px; }
.updated { font-size: 14px; color: var(--sub); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 22px; margin-top: 32px; }
.prose ul { padding-left: 20px; }

.foot { margin-top: 64px; background: var(--card); border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--sub); }
.foot-in { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink); padding: 8px 0; }
.foot p { margin: 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 12px; padding-top: 16px; }
  .hero-text .lede { display: none; }
  h1 { font-size: 28px; margin-bottom: 4px; }
  .two, .two.rev { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding-left: 16px; padding-right: 16px; }
  h2 { font-size: 22px; }
  .hero.wrap { padding-left: 0; padding-right: 0; }
  .hero-text, .acts { padding: 0 16px; }
  .stage { border-radius: 0; height: calc(100svh - 190px); min-height: 480px; }
  .steps { grid-template-columns: 1fr; }
  .nav a:not(:first-child) { display: none; }
  .btn-play { width: 100%; }
  .cform .btn { justify-self: stretch; }
}
