:root {
  --paper: #faf8f4;
  --paper-2: #f1ede5;
  --ink: #1a1816;
  --ink-2: #37322c;
  --muted: #5c554b;
  --line: #e2dbcf;
  --seal: #1f7a74;
  --night: #121314;
  --serif: "Noto Serif KR", "Nanum Myeongjo", serif;
  --sans: "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  --wrap: 1040px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper);
  color: var(--ink); font: 400 17px/1.8 var(--sans); word-break: keep-all; overflow-wrap: anywhere;
}
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--seal); text-decoration-color: currentColor; }
img { max-width: 100%; height: auto; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--ink); color: var(--paper); padding: 6px 12px; z-index: 9; }

.top { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: block; line-height: 0; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--seal); }
.menu-btn { display: none; font: 500 14px var(--sans); background: none; border: 1px solid var(--ink-2); color: var(--ink); padding: 6px 14px; border-radius: 2px; }

.hero { padding: 96px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(rgba(250, 248, 244, .72), rgba(250, 248, 244, .72)), url("paper_hero.jpg") 30% 40% / cover no-repeat; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
.hero-logo { width: min(460px, 100%); display: block; }
.brand-wrap { display: flex; align-items: center; gap: 16px; min-width: 0; }
.top-tag { font: 500 13.5px/1.4 var(--sans); letter-spacing: .02em; color: var(--ink-2); white-space: nowrap; }
.hero h1 { font: 700 clamp(24px, 3vw, 32px)/1.5 var(--serif); margin: 0 0 18px; letter-spacing: -.01em; text-wrap: balance; }
.hero p { color: var(--ink-2); margin: 0 0 28px; max-width: 30em; }

.section { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section:last-child { border-bottom: 0; }
.eyebrow { font: 500 13px/1 var(--sans); letter-spacing: .14em; color: var(--seal); margin: 0 0 14px; }
.section h2, .page-head h1 { font: 700 clamp(24px, 3vw, 30px)/1.4 var(--serif); margin: 0 0 16px; }
.section h3 { font: 700 19px/1.5 var(--serif); margin: 0 0 8px; }
.lead { color: var(--ink-2); max-width: 36em; }
.page-head { padding: 72px 0 40px; border-bottom: 1px solid var(--line); }
.page-head p { color: var(--ink-2); margin: 0; max-width: 36em; }
.prose { max-width: 40em; }
.prose h2 { font: 700 22px/1.5 var(--serif); margin: 48px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 4px 0; }
.prose h3 { font: 700 18px/1.5 var(--serif); margin: 32px 0 8px; }
.prose p { margin: 0 0 1em; }
.prose figure { margin: 28px 0; text-align: center; }
.prose figure img { max-width: 100%; width: auto; height: auto; border: 1px solid var(--line); }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.byline { margin-top: 14px !important; font-size: 14px; color: var(--muted) !important; letter-spacing: .04em; }
.refs { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.refs h2 { font-size: 17px !important; margin: 0 0 10px !important; color: var(--ink-2); }
.refs ul { margin: 10px 0 20px; }

.btn { display: inline-block; text-decoration: none; font: 500 15px/1 var(--sans); padding: 14px 22px; border: 1px solid var(--ink); color: var(--paper); background: var(--ink); border-radius: 2px; }
.btn:hover { background: var(--seal); border-color: var(--seal); color: var(--paper); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { color: var(--paper); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.card { background: #fff; border: 1px solid var(--line); padding: 28px 26px 26px; display: flex; flex-direction: column; }
.card p { color: var(--ink-2); margin: 0 0 20px; flex: 1; font-size: 16px; line-height: 1.75; }
.card .more { font-size: 14px; font-weight: 500; }
.tag { display: inline-block; font: 500 12px/1 var(--sans); letter-spacing: .06em; color: var(--muted); border: 1px solid var(--line); padding: 5px 8px; margin-bottom: 14px; align-self: flex-start; }
.tag.on { color: var(--seal); border-color: var(--seal); }

.empty { border: 1px dashed var(--line); padding: 48px 28px; text-align: center; color: var(--muted); margin-top: 32px; background: rgba(255, 253, 248, .4); }
.empty strong { display: block; font: 700 19px/1.5 var(--serif); color: var(--ink); margin-bottom: 6px; }

.list { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.list li { display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.list time { color: var(--muted); font-size: 14px; flex: 0 0 auto; font-variant-numeric: tabular-nums; padding-top: 2px; }

.qa dt { font: 700 17px/1.6 var(--serif); margin-top: 28px; }
.qa dd { margin: 6px 0 0; color: var(--ink-2); }
.note { border-left: 3px solid var(--seal); padding: 4px 0 4px 18px; color: var(--ink-2); margin: 24px 0; }
table.rules { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
table.rules th, table.rules td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.rules th { font-weight: 500; white-space: nowrap; color: var(--ink); }
table.rules td { color: var(--ink-2); }

.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-2); font-size: 15px; background: var(--paper-2); }
.foot p { margin: 4px 0; }
.foot-name { font: 700 16px var(--serif); color: var(--ink); }
.foot-name span { font: 400 14px var(--sans); color: var(--muted); }
.foot-small { font-size: 13px; }

.notfound { padding: 120px 0; text-align: center; }
.notfound .code { font: 900 72px/1 var(--serif); color: var(--line); margin: 0 0 12px; }

@media (max-width: 860px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .hero-in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero { padding: 56px 0 48px; }
  .hero-logo { width: min(300px, 80%); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .menu-btn { display: block; flex: none; }
  .brand-wrap { gap: 10px; }
  .brand img { height: 28px; }
  .top-tag { font-size: 11.5px; letter-spacing: .02em; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--seal); }
  .top-in { position: relative; }
  .section { padding: 48px 0; }
  .page-head { padding: 48px 0 32px; }
  .list li { flex-direction: column; gap: 2px; }
}

.veil { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; overflow: hidden;
  background: var(--night) url("bg-dark.jpg") center / 1800px auto;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility 0s linear .2s; pointer-events: none; }
.veil.on, html.veil-in .veil { opacity: 1; visibility: visible; transition: opacity .14s ease; }
html.veil-in .veil { transition: none; }
.veil::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); }
.veil::before { content: ""; position: absolute; left: -40px; right: -40px; height: 3px; top: -10%; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(52,176,168,.65) 0 120px, transparent 120px 134px, rgba(232,234,231,.55) 134px 200px, transparent 200px 210px, rgba(52,176,168,.4) 210px 262px, transparent 262px 290px);
  box-shadow: 9px 3px 0 -1px rgba(52,176,168,.3), -12px -2px 0 -1px rgba(232,234,231,.15); }
.veil-g { position: relative; width: min(460px, 72vw); aspect-ratio: 1040 / 394; }
.veil-g img { display: block; width: 100%; height: auto; }
.veil-g::before, .veil-g::after { content: ""; position: absolute; inset: 0; background: var(--vimg) center / 100% 100% no-repeat; pointer-events: none; }
.veil-g::after { filter: sepia(1) saturate(4) hue-rotate(125deg) brightness(.9); mix-blend-mode: screen; opacity: .55; }
.veil.on .veil-g img, html.veil-in .veil-g img { animation: vg-base .9s steps(1) infinite; }
.veil.on .veil-g::before, html.veil-in .veil-g::before { animation: vg-tear .7s steps(1) infinite; }
.veil.on .veil-g::after, html.veil-in .veil-g::after { animation: vg-ghost .45s steps(1) infinite; }
.veil.on::before, html.veil-in .veil::before { animation: tear-scan .9s steps(1) infinite; }
.veil.on::after, html.veil-in .veil::after { animation: vg-flicker .3s steps(2) infinite; }
@keyframes vg-base {
  0%   { transform: none; clip-path: inset(0 0 0 0); opacity: 1; }
  8%   { transform: translateX(-5px); clip-path: inset(0 0 46% 0); }
  14%  { transform: none; clip-path: inset(0 0 0 0); }
  33%  { transform: translateX(4px) skewX(-6deg); clip-path: inset(22% 0 30% 0); }
  38%  { transform: none; clip-path: inset(0 0 0 0); opacity: .85; }
  41%  { opacity: 1; }
  62%  { transform: translateX(-3px); clip-path: inset(55% 0 0 0); }
  68%  { transform: none; clip-path: inset(0 0 0 0); }
  86%  { transform: translateX(7px); clip-path: inset(8% 0 70% 0); }
  90%  { transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes vg-tear {
  0%   { transform: translateX(14px); clip-path: inset(18% 0 74% 0); }
  12%  { transform: translateX(-22px); clip-path: inset(48% 0 44% 0); }
  24%  { transform: translateX(9px); clip-path: inset(70% 0 18% 0); }
  36%  { transform: none; clip-path: inset(100% 0 0 0); }
  52%  { transform: translateX(-16px); clip-path: inset(32% 0 60% 0); }
  64%  { transform: translateX(26px); clip-path: inset(80% 0 12% 0); }
  76%  { transform: translateX(-8px); clip-path: inset(6% 0 88% 0); }
  88%  { transform: none; clip-path: inset(100% 0 0 0); }
}
@keyframes vg-ghost {
  0%   { transform: translate(-7px, 1px); clip-path: inset(0 0 55% 0); }
  25%  { transform: translate(6px, -1px); clip-path: inset(40% 0 20% 0); }
  50%  { transform: translate(-3px, 0); clip-path: inset(65% 0 0 0); }
  75%  { transform: translate(9px, 1px); clip-path: inset(10% 0 70% 0); }
}
@keyframes vg-scan { from { top: -10%; } to { top: 110%; } }
@keyframes vg-flicker { 0% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) {
  .veil.on .veil-g img, html.veil-in .veil-g img, .veil.on .veil-g::before, html.veil-in .veil-g::before,
  .veil.on .veil-g::after, html.veil-in .veil-g::after, .veil.on::before, html.veil-in .veil::before,
  .veil.on::after, html.veil-in .veil::after { animation: none; }
  .veil-g::before { display: none; }
}

.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.game-card { display: flex; flex-direction: column; text-decoration: none; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.game-card:hover { border-color: var(--seal); color: inherit; }
.game-art { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; padding: 18px; border-bottom: 1px solid var(--line); background: #f4f1eb; }
.game-art img { max-height: 100%; width: auto; }
.game-body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.game-body strong { font: 700 19px/1.4 var(--serif); }
.pg { font: 500 12px/1 var(--sans); letter-spacing: .14em; color: var(--seal); margin-bottom: 4px; }
.game-line { color: var(--ink-2); font-size: 16px; }
.game-by { color: var(--ink-2); font-size: 14.5px; margin-top: 8px; }
.game-meta { color: var(--muted); font-size: 14px; margin-top: 2px; }
.game-head .eyebrow a { text-decoration: none; }
.game-logo { max-width: 560px; margin: 8px 0 6px; }
.game-sub { font: 500 18px/1.5 var(--serif); color: var(--ink-2) !important; margin: 0 0 24px !important; }
.warn { margin-top: 18px !important; font-size: 14px; color: var(--muted) !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dark-fig { background: var(--night); padding: 24px; }
.dark-fig img { border: 0 !important; max-width: min(420px, 100%) !important; }
.dark-fig figcaption { color: #8d969a !important; }
@media (max-width: 860px) { .game-grid { grid-template-columns: minmax(0, 1fr); } }
.game-art.full { padding: 0; overflow: hidden; }
.game-art.full img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.game-key { max-width: 760px; margin: 10px 0 18px; border: 1px solid var(--line); line-height: 0; }
.game-key img { width: 100%; }
.game-title { font: 700 clamp(24px, 3.2vw, 32px)/1.4 var(--serif) !important; margin: 0 0 6px !important; }

.te { cursor: text; padding: 6px 4px; margin: -6px -4px; -webkit-tap-highlight-color: transparent; }

html.dark-side { --paper: #121314; --paper-2: #1a1c1e; --ink: #e8eae7; --ink-2: #b9c0c2; --muted: #8d969a; --line: #2a2e31; --seal: #34b0a8; color-scheme: dark; }
html.dark-side body { background: var(--night) url("bg-dark.jpg") center top / 1800px auto repeat; }
html.dark-side .top { background: rgba(18, 19, 20, .86); }
html.dark-side .foot { background: #0e0f10; }
html.dark-side .nav { background: var(--paper); }
.gate { min-height: 62vh; display: grid; align-items: center; padding: 72px 0; }
.gate-box { max-width: 420px; margin: 0 auto; text-align: center; }
.gate-title { font: 500 18px/1.6 var(--serif); letter-spacing: .06em; color: var(--ink-2); margin: 0 0 24px; }
#gate-form { display: flex; gap: 8px; }
#gate-pw { flex: 1; min-width: 0; font: 400 16px var(--sans); color: var(--ink); background: var(--paper-2); border: 1px solid var(--line); padding: 12px 14px; border-radius: 2px; }
#gate-pw:focus { outline: none; border-color: var(--seal); }
#gate-form button { font: 500 15px var(--sans); color: var(--night); background: var(--ink); border: 0; padding: 0 20px; border-radius: 2px; cursor: pointer; }
#gate-form button:hover { background: var(--seal); }
.gate-msg { min-height: 1.6em; margin: 14px 0 0; color: var(--seal); font-size: 14px; letter-spacing: .08em; }
.gate-open { max-width: 40em; margin: 0 auto; }
.shake { animation: gate-shake .32s steps(2) 1; }
@keyframes gate-shake { 0% { transform: translateX(-5px); } 25% { transform: translateX(4px); } 50% { transform: translateX(-3px); } 75% { transform: translateX(2px); } 100% { transform: none; } }

html.dark-side .brand { position: relative; }
html.dark-side .brand::before, html.dark-side .brand::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: var(--bimg) center / 100% 100% no-repeat; }
html.dark-side .brand::after { filter: sepia(1) saturate(4) hue-rotate(125deg) brightness(.9); mix-blend-mode: screen; opacity: .6; }
html.dark-side .brand img { animation: vg-base 1.3s steps(1) infinite; }
html.dark-side .brand::before { animation: vg-tear 1.1s steps(1) infinite; }
html.dark-side .brand::after { animation: vg-ghost .6s steps(1) infinite; }
html.dark-side body::after { content: ""; position: fixed; inset: 0; z-index: 40; pointer-events: none;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,.03) 0 1px, transparent 1px 3px);
  animation: vg-flicker .24s steps(2) infinite; }
html.dark-side body::before { content: ""; position: fixed; left: -40px; right: -40px; height: 3px; top: -5%; z-index: 41; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(52,176,168,.55) 0 140px, transparent 140px 158px, rgba(232,234,231,.42) 158px 236px, transparent 236px 247px, rgba(52,176,168,.35) 247px 300px, transparent 300px 330px);
  box-shadow: 9px 3px 0 -1px rgba(52,176,168,.28), -14px -2px 0 -1px rgba(232,234,231,.12);
  animation: tear-scan 3.4s steps(1) infinite; }
html.dark-side main { animation: page-jolt 4.6s steps(1) infinite; }
.gate-title { position: relative; animation: title-glitch 2.8s steps(1) infinite; }
@keyframes page-jolt {
  0%, 100% { transform: none; filter: none; }
  92%  { transform: translateX(5px); filter: contrast(1.3); }
  93%  { transform: translate(-4px, 1px) skewX(2deg); }
  94%  { transform: none; filter: none; }
  97%  { transform: translateX(2px); clip-path: inset(30% 0 40% 0); }
  98%  { transform: none; clip-path: none; }
}
@keyframes title-glitch {
  0%   { transform: none; text-shadow: none; clip-path: none; }
  70%  { transform: translateX(-3px); text-shadow: 3px 0 rgba(52,176,168,.8), -2px 0 rgba(232,234,231,.35); }
  72%  { transform: translateX(4px); clip-path: inset(0 0 50% 0); }
  74%  { transform: none; text-shadow: none; clip-path: none; }
  86%  { transform: translateX(2px); text-shadow: -3px 0 rgba(52,176,168,.7); clip-path: inset(45% 0 0 0); }
  88%  { transform: none; text-shadow: none; clip-path: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.dark-side .brand img, html.dark-side .brand::before, html.dark-side .brand::after,
  html.dark-side body::after, html.dark-side body::before, html.dark-side main, .gate-title { animation: none; }
  html.dark-side .brand::before { display: none; }
}

.board-sec { padding-top: 40px; }
.board-loading, .b-empty { color: var(--muted); padding: 32px 0; text-align: center; }
.b-err { color: var(--seal); }
.b-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.b-tabs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.b-tabs a { text-decoration: none; color: var(--muted); padding: 4px 0; border-bottom: 2px solid transparent; }
.b-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--seal); }
.b-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.b-row a { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.b-row a:hover { background: rgba(255, 253, 248, .6); color: inherit; }
.b-row.notice a { background: rgba(31, 122, 116, .06); }
.b-cat { font-size: 12.5px; color: var(--muted); }
.b-row.notice .b-cat { color: var(--seal); font-weight: 700; }
.b-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15.5px; }
.b-cnt { color: var(--seal); font-size: 13px; }
.b-spo { display: inline-block; font-size: 11px; color: var(--paper); background: var(--ink-2); padding: 1px 5px; margin-right: 6px; border-radius: 2px; vertical-align: 1px; }
.b-meta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); white-space: nowrap; }
.b-nick { color: var(--ink-2); }
.b-tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); padding: 0 4px; margin-left: 4px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.b-tag.op { color: var(--seal); border-color: var(--seal); }
.b-pager { display: flex; justify-content: center; gap: 6px; margin-top: 24px; flex-wrap: wrap; }
.b-pager a { min-width: 34px; text-align: center; padding: 6px 8px; text-decoration: none; border: 1px solid var(--line); font-size: 14px; }
.b-pager a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.b-post { border-top: 2px solid var(--ink); padding-top: 20px; }
.b-pcat { font-size: 13px; color: var(--seal); margin: 0 0 6px; }
.b-post h2 { font: 700 clamp(21px, 2.6vw, 26px)/1.45 var(--serif); margin: 0 0 10px; }
.b-pmeta { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13.5px; color: var(--muted); padding-bottom: 16px; border-bottom: 1px solid var(--line); margin: 0; }
.b-body { padding: 26px 0 30px; line-height: 1.9; overflow-wrap: anywhere; }
.b-spoiler { padding: 24px 0; }
.b-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.b-actions .btn { padding: 10px 16px; font-size: 14px; }
.b-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; padding: 4px; }
.b-link:hover { color: var(--seal); }
.b-actions .b-link { margin-left: auto; }
.b-comments { margin-top: 18px; }
.b-comments h3 { font: 700 16px var(--serif); margin: 0 0 10px; }
.b-comments ul { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.b-c { padding: 12px 2px; border-bottom: 1px solid var(--line); }
.b-c.del { color: var(--muted); font-size: 14px; }
.b-cmeta { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.b-cmeta .b-link { margin-left: auto; }
.b-ctext { margin-top: 4px; font-size: 15px; overflow-wrap: anywhere; }
.b-form { display: grid; gap: 10px; }
.b-form h2 { font: 700 22px var(--serif); margin: 0 0 6px; }
.b-form input, .b-form select, .b-form textarea { font: 400 15px/1.6 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; width: 100%; }
.b-form input:focus, .b-form select:focus, .b-form textarea:focus { outline: none; border-color: var(--seal); }
.b-form textarea { resize: vertical; }
.b-who { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.b-check { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.b-check input { width: auto; }
.b-msg { color: var(--seal); font-size: 14px; min-height: 1.4em; margin: 0; }
.b-form .b-actions { border-top: 0; padding: 0; justify-content: flex-end; }
.b-form.small button { justify-self: end; }
.b-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }
@media (max-width: 720px) {
  .b-row a { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .b-cat { font-size: 12px; }
  .b-title { white-space: normal; }
}
.b-inline { border: 1px solid var(--line); background: rgba(255, 253, 248, .7); padding: 14px 16px; margin-bottom: 12px; }
.b-ask { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-2); }
.b-askrow { display: flex; gap: 8px; flex-wrap: wrap; }
.b-askrow input { flex: 1 1 160px; min-width: 0; font: 400 15px var(--sans); color: var(--ink); background: #fffdf8; border: 1px solid var(--line); border-radius: 2px; padding: 9px 12px; }
.b-askrow input:focus, .b-cask input:focus { outline: none; border-color: var(--seal); }
.b-askrow .btn, .b-cask .btn { padding: 10px 16px; font-size: 14px; }
.b-inline .b-msg { margin-top: 8px; }
.b-cask { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.b-cask input { flex: 0 1 180px; min-width: 0; font: 400 14px var(--sans); background: #fffdf8; border: 1px solid var(--line); border-radius: 2px; padding: 8px 10px; }

@keyframes tear-scan {
  0%   { top: -4%;  height: 3px; transform: translateX(0);      opacity: .9; }
  4%   { top: 3%;   height: 2px; transform: translateX(-18px); }
  8%   { top: 9%;   height: 5px; transform: translateX(22px) skewX(-12deg); opacity: 1; }
  11%  { top: 12%;  height: 2px; transform: translateX(-6px); }
  15%  { top: 19%;  height: 3px; transform: translateX(0);      opacity: .5; }
  18%  { top: 21%;  height: 9px; transform: translateX(34px);  opacity: .85; }
  20%  { top: 15%;  height: 2px; transform: translateX(-26px); opacity: .9; }
  24%  { top: 27%;  height: 3px; transform: translateX(4px); }
  29%  { top: 33%;  height: 2px; transform: translateX(-12px) skewX(10deg); }
  33%  { top: 38%;  height: 6px; transform: translateX(16px); opacity: .6; }
  36%  { top: 41%;  height: 2px; transform: translateX(0);      opacity: 1; }
  41%  { top: 48%;  height: 3px; transform: translateX(-30px); }
  44%  { top: 52%;  height: 12px; transform: translateX(10px); opacity: .45; }
  46%  { top: 46%;  height: 2px; transform: translateX(-4px);  opacity: .95; }
  51%  { top: 58%;  height: 4px; transform: translateX(24px) skewX(-8deg); }
  56%  { top: 64%;  height: 2px; transform: translateX(-10px); }
  60%  { top: 69%;  height: 3px; transform: translateX(6px);   opacity: .5; }
  63%  { top: 72%;  height: 7px; transform: translateX(-22px); opacity: .9; }
  67%  { top: 78%;  height: 2px; transform: translateX(14px); }
  71%  { top: 83%;  height: 3px; transform: translateX(0) skewX(12deg); }
  74%  { top: 79%;  height: 10px; transform: translateX(-36px); opacity: .55; }
  77%  { top: 88%;  height: 2px; transform: translateX(8px);   opacity: 1; }
  82%  { top: 94%;  height: 4px; transform: translateX(-14px); }
  86%  { top: 99%;  height: 2px; transform: translateX(20px);  opacity: .6; }
  90%  { top: 106%; height: 2px; transform: none;             opacity: 0; }
  100% { top: 106%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { html.dark-side body::before, .veil::before { animation: none; display: none; } }

.gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gl-page { position: fixed; z-index: 41; }
html.dark-side body::before, .veil::before { display: none; }

.foot-sns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.sns { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 2px; text-decoration: none; color: var(--ink-2); font-size: 14px; background: rgba(255, 253, 248, .5); }
.sns:hover { color: var(--paper); border-color: var(--ink); background: var(--ink); }
.sns-discord svg { color: #5865f2; }
.sns-kakao svg { color: #3c1e1e; }
.sns-kakao:hover svg { color: #fee500; }
.sns:hover svg { color: inherit; }
html.dark-side .sns { background: transparent; }

.gs { position: fixed; inset: 0; z-index: 60; display: none; background: var(--night) url("bg-dark.jpg") center / 1800px auto repeat; overflow: hidden; }
html.entering .gs { display: block; }
.gs::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 58%, rgba(52,176,168,.10), transparent 70%); pointer-events: none; }
.gs-room { position: absolute; inset: 0; display: grid; place-items: center; transform-origin: 50% 50%; perspective: 900px; transition: transform 1.6s cubic-bezier(.55, 0, .9, .45); }
.gs-door { position: relative; width: min(44vw, 230px); aspect-ratio: 4 / 7; cursor: pointer; outline: none; transform-style: preserve-3d; perspective: 900px; }
.gs-frame { position: absolute; inset: -12px -12px 0; border: 3px solid #25282b; border-bottom: 0; border-radius: 2px 2px 0 0; box-shadow: 0 0 0 1px #0b0c0d, inset 0 0 0 1px #0b0c0d; }
.gs-inside { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 55% 60%, rgba(52,176,168,.45), #06080a 75%); }
.gs-leaf { position: absolute; inset: 0; transform-origin: left center; background: linear-gradient(180deg, #1c1f22, #101214 70%, #0b0c0e); border: 1px solid rgba(232,234,231,.08);
  box-shadow: inset 0 0 36px rgba(0,0,0,.65), 6px 0 22px rgba(0,0,0,.6); transition: transform 1.15s cubic-bezier(.6, 0, .3, 1); backface-visibility: hidden; }
.gs-leaf::before { content: ""; position: absolute; inset: 14% 16% 10%; border: 1px solid rgba(232,234,231,.07); border-radius: 1px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.5); }
.gs-leaf::after { content: ""; position: absolute; right: 11%; top: 52%; width: 7px; height: 7px; border-radius: 50%; background: #8d969a; box-shadow: 0 0 6px rgba(52,176,168,.6); }
.gs-gap { position: absolute; top: 0; bottom: 0; right: -2px; width: 4px; border-radius: 2px;
  background: linear-gradient(to bottom, rgba(52,176,168,.6), rgba(232,234,231,.95) 45%, rgba(52,176,168,.9) 80%, rgba(52,176,168,.3));
  box-shadow: 0 0 18px 5px rgba(52,176,168,.55), 0 0 60px 14px rgba(52,176,168,.22); animation: gap-breathe 2.8s ease-in-out infinite; }
.gs-beam { position: absolute; left: 100%; top: 6%; width: 70vw; height: 130%; transform-origin: 0 0; transform: skewY(26deg); pointer-events: none; mix-blend-mode: screen; filter: blur(9px); opacity: .85;
  background: linear-gradient(90deg, rgba(52,176,168,.55), rgba(232,234,231,.16) 30%, rgba(52,176,168,.06) 60%, transparent 85%); animation: beam-breathe 2.8s ease-in-out infinite; }
.gs-beam2 { top: 30%; height: 60%; transform: skewY(38deg); opacity: .45; filter: blur(16px); animation-delay: -1.1s; }
@keyframes gap-breathe { 0%, 100% { opacity: .8; } 50% { opacity: 1; } }
@keyframes beam-breathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.gs-hint { position: absolute; left: 0; right: 0; top: calc(50% + min(44vw, 230px) * .95); text-align: center; margin: 0; font: 500 13px/1 var(--serif); letter-spacing: .14em; color: rgba(141,150,154,.0); transition: color 1.6s ease; pointer-events: none; }
.gs.hint .gs-hint { color: rgba(141,150,154,.7); }
.gs.open .gs-hint { color: transparent; }
.gs.open .gs-leaf { transform: rotateY(104deg); }
.gs.open .gs-gap { opacity: 0; transition: opacity .5s; animation: none; }
.gs.open .gs-beam { opacity: 1; width: 120vw; filter: blur(14px); transition: width .9s ease, opacity .5s; animation: none; }
.gs.open .gs-inside { background: radial-gradient(ellipse 90% 70% at 55% 60%, rgba(52,176,168,.6), #06080a 80%); transition: background .8s; }
.gs.walk .gs-room { transform: scale(12); }
.gs.fade { opacity: 0; transition: opacity .9s ease; pointer-events: none; }
.gs-in { position: absolute; inset: 0; display: grid; place-items: center; background: var(--night) url("bg-dark.jpg") center / 1800px auto repeat; opacity: 0; transition: opacity 1s ease; pointer-events: none; }
.gs-in img { width: min(520px, 72vw); height: auto; transform: scale(.94); transition: transform 3.2s cubic-bezier(.2, .6, .2, 1); }
.gs.in .gs-in { opacity: 1; }
.gs.in .gs-in img { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .gs-gap, .gs-beam { animation: none; } }

.c-form { max-width: 760px; }
.c-lab { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.c-opt { color: var(--muted); font-weight: 400; }
.c-agree { border: 1px solid var(--line); background: rgba(255, 253, 248, .7); padding: 12px 14px; font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }
.c-agree p { margin: 0 0 8px; }
.page-head .c-ja { font-size: 14px; color: var(--muted); margin-top: 6px; }
.c-adh { font: 700 22px var(--serif); margin: 0 0 12px; }
.c-adh span { font: 400 14px var(--sans); color: var(--muted); margin-left: 8px; }
.c-item { border: 1px solid var(--line); background: rgba(255, 253, 248, .75); padding: 14px 16px; margin-bottom: 12px; }
.c-item.done { opacity: .55; }
.c-item h3 { font: 700 17px var(--sans); margin: 6px 0; overflow-wrap: anywhere; }
.c-meta { font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
.c-meta b { color: var(--seal); }
.c-body { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0 0 10px; font-size: 15px; }
.c-act { display: flex; gap: 8px; flex-wrap: wrap; }
.c-act .btn { padding: 8px 14px; font-size: 13.5px; }
@media (max-width: 560px) { .c-form .b-who { grid-template-columns: 1fr; } }

.home-board li { align-items: baseline; }
.home-board time { color: var(--muted); font-size: 15px; flex: none; }
.home-board .home-cat { color: var(--seal); font-size: 14px; flex: none; }
.home-board a { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-dim { color: var(--muted); font-size: 15px; }
@media (max-width: 720px) { .home-board li { gap: 12px; flex-wrap: wrap; } .home-board a { flex-basis: 100%; white-space: normal; } }

.c-mail { font: 500 clamp(20px, 3.2vw, 28px)/1.4 var(--sans); letter-spacing: .02em; margin: 0 0 18px; }
.c-mail a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--seal); }
.c-note { color: var(--muted); font-size: 14px; margin: -6px 0 28px; }
.c-embed { background: transparent; border: 0; padding: 0; }
.c-embed iframe { display: block; width: 100%; height: 1180px; border: 0; }
@media (max-width: 640px) { .c-embed iframe { height: 1320px; } }
.b-img { display: block; max-width: 100%; height: auto; margin: 10px 0; border-radius: 2px; }
.b-attach { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 6px 0 10px; }
.b-attach .btn { padding: 7px 14px; font-size: 13px; cursor: pointer; }
.b-hint { color: var(--muted); font-size: 13px; }
.rec-head { font: 700 22px/1.4 var(--serif); margin: 0 0 20px; }
