:root {
  --bg: #0c0f15;
  --surface: #131823;
  --surface2: #1a2130;
  --ink: #f2f5fb;
  --muted: #8f9bb3;
  --line: #232c3f;
  --blue: #7c9cff;
  --blue-rgb: 124, 156, 255;
  --accent: #7c9cff;
  --f-sans: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 15px; line-height: 1.74;
  word-break: keep-all; overflow-wrap: break-word;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.03em; }
p { margin: 0; }
.oh-wrap { width: min(1160px, 100% - 48px); margin: 0 auto; }

/* Nav */
.oh-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(12, 15, 21, 0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.oh-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 66px; }
.oh-brand {
  display: inline-flex; align-items: center; gap: 10px; background: none; border: none;
  color: inherit; font: inherit; cursor: pointer; text-align: left; padding: 0;
}
.oh-logo {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 8px; background: var(--surface2); border: 1px solid var(--line); color: var(--blue);
}
.oh-brand b { display: block; font-size: 14.5px; line-height: 1.2; }
.oh-brand em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); }
.oh-tabs { display: flex; gap: 6px; }
.oh-tab {
  padding: 8px 14px; background: transparent; border: none; border-bottom: 2px solid transparent;
  color: var(--muted); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: color .16s, border-color .16s;
}
.oh-tab:hover { color: var(--ink); }
.oh-tab.is-active { color: var(--ink); border-bottom-color: var(--blue); }
.oh-nav-right { display: flex; align-items: center; gap: 10px; }
.oh-status-badge {
  padding: 5px 11px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; color: var(--blue); white-space: nowrap;
}

/* Buttons */
.oh-btn-blue {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px 20px; border-radius: 10px; background: var(--blue); color: #08101f;
  text-decoration: none; border: none; font-weight: 800; font-size: 14px; cursor: pointer;
}
.oh-btn-blue:hover { filter: brightness(1.08); }
.oh-btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 8px; }
.oh-btn-ghost {
  display: inline-flex; align-items: center; padding: 11px 18px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
}
.oh-btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* Views */
.oh-view { display: none; padding: 54px 0 80px; }
.oh-view.is-active { display: block; }
.oh-view-head { display: grid; gap: 8px; margin-bottom: 34px; }
.oh-view-head h1 { font-size: clamp(30px, 3.6vw, 44px); }
.oh-view-head p { color: var(--muted); max-width: 620px; }
.oh-view-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 24px; }
.oh-view-head-row h2 { font-size: 28px; }
.oh-view-head-row p { color: var(--muted); margin-top: 4px; }

/* Hero */
.oh-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr); gap: 44px; align-items: center; }
.oh-hero-left { display: grid; gap: 18px; }
.oh-tag-line { font-size: 13px; font-weight: 600; color: var(--blue); }
.oh-title { font-size: clamp(36px, 4.4vw, 54px); line-height: 1.15; }
.oh-hero-quote { font-size: 17px; font-weight: 600; color: var(--ink); }
.oh-sub { color: var(--muted); font-size: 15px; max-width: 480px; }
.oh-cta-row { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }

/* Right Spotlight Card */
.oh-spot-card {
  position: relative; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 4 / 3.4; background: var(--surface);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}
.oh-spot-card img { width: 100%; height: 100%; object-fit: cover; }
.oh-spot-pill {
  position: absolute; top: 18px; left: 18px; padding: 6px 13px; border-radius: 999px;
  background: rgba(12, 15, 21, 0.72); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16); font-size: 12.5px; font-weight: 700;
}
.oh-spot-foot {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 22px;
  background: linear-gradient(180deg, transparent, rgba(10, 13, 19, 0.94));
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.oh-spot-foot b { display: block; font-size: 20px; line-height: 1.3; }
.oh-spot-link {
  margin-top: 4px; padding: 0; background: none; border: none; color: var(--muted);
  font: inherit; font-size: 13px; cursor: pointer;
}
.oh-spot-link:hover { color: var(--blue); }
.oh-spot-big { font-size: 24px; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; flex-shrink: 0; }

/* 4-Stat Big Number Bar */
.oh-stat-bar {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 40px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
}
.oh-stat { padding: 24px 26px; border-right: 1px solid var(--line); }
.oh-stat:last-child { border-right: none; }
.oh-stat dt { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.oh-stat dd { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }

/* World sec */
.oh-world-sec { margin-top: 64px; display: grid; gap: 28px; }
.oh-world-head h2 { font-size: 30px; }
.oh-world-head p { color: var(--muted); font-size: 15.5px; margin-top: 6px; max-width: 660px; }
.oh-world-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.oh-prose { display: grid; gap: 14px; color: var(--muted); }
.oh-doc-card { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; display: grid; gap: 12px; }
.oh-doc-top { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--blue); font-weight: 700; }
.oh-doc-top em { font-style: normal; padding: 2px 9px; border-radius: 999px; background: rgba(var(--blue-rgb), 0.14); }
.oh-doc-card h3 { font-size: 20px; }
.oh-doc-card p { color: var(--muted); font-size: 14px; }
.oh-dlist { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.oh-drow { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 13.8px; }
.oh-drow dt { color: var(--blue); font-weight: 700; }
.oh-drow dd { margin: 0; color: var(--ink); }

/* Next Strip */
.oh-next-strip { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.oh-next-card {
  text-align: left; padding: 22px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; color: inherit; font: inherit; cursor: pointer; display: grid; gap: 6px;
  transition: border-color .16s, transform .16s;
}
.oh-next-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.oh-next-card span { font-size: 12px; font-weight: 800; color: var(--blue); }
.oh-next-card b { font-size: 18px; }
.oh-next-card em { font-style: normal; font-size: 13px; color: var(--muted); }

/* Rules View */
.oh-rule-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.oh-rule-card {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px;
  padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
}
.oh-rule-num { font-size: 20px; font-weight: 800; color: var(--blue); line-height: 1.2; }
.oh-rule-card h3 { font-size: 18px; margin-bottom: 4px; }
.oh-rule-tag { font-size: 12px; font-weight: 700; color: var(--blue); display: inline-block; margin-bottom: 6px; }
.oh-rule-card p { color: var(--muted); font-size: 14px; }
.oh-sub-sec { margin-top: 52px; }
.oh-start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.oh-start-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.oh-start-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.oh-start-body { padding: 18px; display: grid; gap: 6px; }
.oh-start-body h4 { font-size: 17px; }
.oh-start-body p { color: var(--muted); font-size: 13.8px; }
.oh-cmd-list { display: grid; gap: 10px; }
.oh-cmd-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 15px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.oh-cmd-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.oh-cmd-top code { padding: 2px 9px; border-radius: 6px; background: rgba(var(--blue-rgb), 0.14); color: var(--blue); font-family: monospace; font-size: 13px; }
.oh-cmd-row p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.oh-copy {
  padding: 6px 12px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; flex-shrink: 0;
}
.oh-copy:hover { border-color: var(--blue); color: var(--blue); }

/* Places View */
.oh-place-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 22px; }
.oh-place-main { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.oh-place-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.oh-place-body { padding: 26px; display: grid; gap: 8px; }
.oh-place-body h2 { font-size: 24px; }
.oh-place-body p { color: var(--muted); }
.oh-p-rel { margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.oh-p-rel > span { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.oh-rel-row { display: flex; flex-wrap: wrap; gap: 8px; }
.oh-rel-chip {
  padding: 6px 12px; border-radius: 999px; background: var(--surface2); border: 1px solid var(--line);
  color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
}
.oh-rel-chip:hover { border-color: var(--blue); color: var(--blue); }
.oh-place-list { display: grid; gap: 10px; align-content: start; }
.oh-p-btn {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 12px; text-align: left;
  padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  color: inherit; font: inherit; cursor: pointer;
}
.oh-p-btn span { grid-row: span 2; font-size: 13px; font-weight: 800; color: var(--blue); }
.oh-p-btn b { font-size: 15px; }
.oh-p-btn em { font-style: normal; font-size: 12.5px; color: var(--muted); }
.oh-p-btn.is-active, .oh-p-btn:hover { border-color: var(--blue); background: rgba(var(--blue-rgb), 0.1); }

/* Cast View */
.oh-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.oh-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.oh-pill {
  padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.oh-pill.is-active, .oh-pill:hover { background: rgba(var(--blue-rgb), 0.16); border-color: var(--blue); color: var(--ink); }
#oh-search {
  width: min(260px, 100%); padding: 9px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 13.5px;
}
.oh-char-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 16px; }
.oh-char-card {
  text-align: left; padding: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; color: inherit; font: inherit; cursor: pointer; overflow: hidden;
  transition: border-color .16s, transform .16s;
}
.oh-char-card:hover { border-color: var(--blue); transform: translateY(-3px); }
.oh-char-card[hidden] { display: none; }
.oh-char-img { position: relative; }
.oh-char-img img { width: 100%; aspect-ratio: 3 / 3.8; object-fit: cover; object-position: top center; }
.oh-char-badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px;
  background: rgba(12, 15, 21, 0.82); border: 1px solid var(--line); font-size: 11.5px; font-weight: 700; color: var(--blue);
}
.oh-char-info { padding: 14px 16px 18px; display: grid; gap: 4px; }
.oh-char-info h3 { font-size: 18px; }
.oh-char-role { font-size: 12.5px; color: var(--muted); }
.oh-char-line { font-size: 13.5px; color: var(--ink); margin-top: 4px; }

/* Footer */
.oh-footer { padding: 40px 0 54px; border-top: 1px solid var(--line); }
.oh-footer-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.oh-pen { display: block; font-size: 18px; margin-top: 4px; }
.oh-bio { color: var(--muted); font-size: 13.8px; margin-top: 4px; max-width: 440px; }
.oh-legal { color: var(--muted); font-size: 12.5px; }

/* Modal */
.oh-modal[hidden] { display: none !important; }
.oh-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.oh-modal-bg { position: fixed; inset: 0; background: rgba(6, 8, 13, 0.84); backdrop-filter: blur(6px); }
.oh-modal-box {
  position: relative; z-index: 1; width: min(920px, 100%); max-height: 90vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
  display: grid; grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 26px;
}
.oh-modal-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; border-radius: 10px; }
.oh-expr-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.oh-expr-btn { padding: 6px 11px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--line); color: var(--muted); font: inherit; font-size: 12.5px; cursor: pointer; }
.oh-expr-btn.is-active, .oh-expr-btn:hover { border-color: var(--blue); color: var(--blue); }
.oh-modal-right { display: grid; gap: 12px; align-content: start; }
.oh-modal-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.oh-modal-nav { display: flex; gap: 6px; }
.oh-modal-right h3 { font-size: 28px; }
.oh-quote { margin: 0; padding: 12px 16px; border-radius: 10px; background: var(--surface2); color: var(--ink); font-size: 14.5px; }
.oh-modal-bio { color: var(--muted); font-size: 14.5px; }
.oh-modal-traits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.oh-modal-traits div { padding: 10px 12px; border-radius: 10px; background: var(--surface2); border: 1px solid var(--line); }
.oh-modal-traits dt { font-size: 11.5px; color: var(--blue); font-weight: 700; }
.oh-modal-traits dd { margin: 2px 0 0; font-size: 13.5px; }
.oh-secret { padding: 12px 16px; border-radius: 10px; background: rgba(var(--blue-rgb), 0.08); border: 1px dashed rgba(var(--blue-rgb), 0.45); }
.oh-secret summary { cursor: pointer; color: var(--blue); font-weight: 700; font-size: 13.5px; }
.oh-secret p { margin-top: 8px; font-size: 14px; color: var(--ink); }

@media (max-width: 900px) {
  .oh-hero, .oh-world-cols, .oh-next-strip, .oh-rule-grid, .oh-start-grid, .oh-place-layout, .oh-modal-box { grid-template-columns: 1fr; }
  .oh-stat-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-stat:nth-child(2) { border-right: none; }
  .oh-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .oh-status-badge { display: none; }
  .oh-nav-inner { flex-wrap: wrap; padding: 10px 0; }
}

.wt-modal[hidden] { display: none !important; }
.wt-modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center; padding: 20px;
}
.wt-backdrop {
  position: fixed; inset: 0; background: rgba(8, 8, 10, 0.84);
  backdrop-filter: blur(4px);
}
.wt-shell {
  position: relative; z-index: 1; width: min(740px, 100%); max-height: 92vh;
  background: #101114; color: #f4f2ec; display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.14); box-shadow: 0 28px 80px rgba(0,0,0,0.65);
}
.wt-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.wt-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.wt-head p { margin: 3px 0 0; font-size: 12.5px; color: rgba(244,242,236,0.66); }
.wt-close {
  background: transparent; color: #f4f2ec; border: 1px solid rgba(255,255,255,0.28);
  padding: 6px 12px; font: inherit; font-size: 12.5px; cursor: pointer;
}
.wt-close:hover { background: rgba(255,255,255,0.12); }
.wt-strip {
  overflow-y: auto; padding: 18px 20px 28px; display: flex; flex-direction: column; gap: 10px;
}
.wt-cut { margin: 0; }
.wt-cut img { width: 100%; display: block; }
.wt-cut figcaption {
  padding: 8px 4px 0; font-size: 12.5px; color: rgba(244,242,236,0.72); text-align: center;
}
.wt-foot {
  padding: 14px 22px; border-top: 1px solid rgba(255,255,255,0.12); text-align: right;
}
.wt-play-cta {
  display: inline-block; padding: 10px 18px; background: var(--accent, #c83228); color: #fff;
  text-decoration: none; font-size: 13.5px; font-weight: 700;
}

