@font-face {
  font-family: "SFFT Cinzel";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cinzel-600.ttf") format("truetype");
}
@font-face {
  font-family: "SFFT Cinzel";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cinzel-700.ttf") format("truetype");
}
@font-face {
  font-family: "SFFT Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/baskerville-400.ttf") format("truetype");
}
@font-face {
  font-family: "SFFT Baskerville";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/baskerville-700.ttf") format("truetype");
}
@font-face {
  font-family: "SFFT Baskerville";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/baskerville-400i.ttf") format("truetype");
}

.sfft-ce2,
.sfft-ce2 * {
  box-sizing: border-box;
}

.sfft-ce2 {
  --bg: #070708;
  --raise: #101012;
  --ink: #141210;
  --paper: #e7e1d4;
  --paper-dim: #cfc6b4;
  --fg: #ebe4d6;
  --muted: #9a917f;
  --blood: #8f1d22;
  --line: #2c2a28;
  --line-strong: #4a453c;
  --glow: #1a1816;
  --display: "SFFT Cinzel", "Palatino Linotype", Palatino, "Noto Serif", "Noto Naskh Arabic", "Noto Sans Arabic", "Noto Serif Devanagari", "Noto Sans Devanagari", "Noto Sans Bengali", "Noto Sans Telugu", "Noto Sans Gurmukhi", "Noto Sans Thai", "Noto Serif SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Sans JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", Georgia, serif;
  --body: "SFFT Baskerville", Georgia, "Iowan Old Style", "Noto Serif", "Noto Naskh Arabic", "Noto Sans Arabic", "Noto Serif Devanagari", "Noto Sans Devanagari", "Noto Sans Bengali", "Noto Sans Telugu", "Noto Sans Gurmukhi", "Noto Sans Thai", "Noto Serif SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif KR", "Malgun Gothic", "Apple SD Gothic Neo", serif;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  text-align: start;
}

.sfft-ce2 button,
.sfft-ce2 select {
  cursor: pointer;
}

.sfft-ce2 .shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 500px at 50% -10%, var(--glow) 0%, transparent 55%),
    var(--bg);
}

.sfft-ce2 .topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.sfft-ce2 .brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--paper);
  line-height: 1.45;
}

.sfft-ce2 .brand span {
  color: var(--blood);
}

.sfft-ce2 .bar-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  align-items: center;
}

.sfft-ce2 .icon-btn,
.sfft-ce2 .lang {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0 0.7rem;
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sfft-ce2 .lang {
  max-width: 100%;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--body);
  font-size: 0.95rem;
}

.sfft-ce2 .icon-btn:hover,
.sfft-ce2 .lang:hover,
.sfft-ce2 .lang:focus {
  border-color: var(--paper-dim);
  outline: none;
}

.sfft-ce2 .stage {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 0 2.5rem;
}

.sfft-ce2 .frame {
  position: relative;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.sfft-ce2 .frame img {
  display: block;
  width: 100%;
  height: min(52vh, 620px);
  object-fit: contain;
  object-position: center top;
  background: var(--bg);
}

.sfft-ce2 .frame::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px 16px var(--bg);
}

.sfft-ce2 .reading,
.sfft-ce2 .title-copy {
  padding: 1.25rem 1.1rem 0;
}

.sfft-ce2 .title-copy {
  padding-bottom: 2.5rem;
  max-width: 760px;
}

.sfft-ce2 .kicker {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

.sfft-ce2 .place,
.sfft-ce2 .title-copy h1 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--paper);
  overflow-wrap: break-word;
}

.sfft-ce2 .place {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  margin: 0.45rem 0 0.35rem;
}

.sfft-ce2 .title-copy h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: 0.06em;
  line-height: 1.02;
  margin: 0.2rem 0 0.6rem;
}

.sfft-ce2 .who {
  margin: 0 0 1rem;
  color: var(--muted);
  font-style: italic;
}

.sfft-ce2 .prose p,
.sfft-ce2 .lede {
  margin: 0 0 0.95rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--fg);
  max-width: 68ch;
  overflow-wrap: break-word;
}

.sfft-ce2 .actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.4rem;
  max-width: 720px;
}

.sfft-ce2 .ticket {
  text-align: start;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  border-radius: 2px;
  min-height: 48px;
  padding: 0.85rem 1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.sfft-ce2 .ticket:hover {
  background: var(--paper-dim);
}

.sfft-ce2 .ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--line-strong);
}

.sfft-ce2 .ghost:hover {
  background: var(--raise);
}

.sfft-ce2 .choice-n {
  color: var(--blood);
  font-style: normal;
}

.sfft-ce2 .meter {
  height: 2px;
  background: var(--line);
}

.sfft-ce2 .meter i {
  display: block;
  height: 100%;
  background: var(--blood);
  width: 0;
}

.sfft-ce2 .drawer-back {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 1.25rem;
}

.sfft-ce2 .drawer {
  width: min(520px, 100%);
  max-height: min(80vh, 640px);
  background: var(--raise);
  border: 1px solid var(--line-strong);
  padding: 1.1rem 1.15rem 1.4rem;
  overflow: auto;
}

.sfft-ce2 .drawer h2,
.sfft-ce2 .note h3 {
  font-family: var(--display);
  color: var(--paper);
  overflow-wrap: break-word;
}

.sfft-ce2 .drawer h2 {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin: 0;
}

.sfft-ce2 .note {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.sfft-ce2 .note h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}

.sfft-ce2 .note p {
  margin: 0;
  color: var(--fg);
  line-height: 1.55;
  font-size: 0.95rem;
}

.sfft-ce2 .epilogue {
  border-inline-start: 2px solid var(--blood);
  padding-inline-start: 0.9rem;
  color: var(--paper);
  font-style: italic;
}

.sfft-ce2 .warn {
  color: var(--paper-dim);
  font-size: 0.92rem;
}

.sfft-ce2.nolatin .brand,
.sfft-ce2.nolatin .kicker,
.sfft-ce2.nolatin .icon-btn,
.sfft-ce2.nolatin .place,
.sfft-ce2.nolatin .title-copy h1,
.sfft-ce2.nolatin .ticket,
.sfft-ce2.nolatin .drawer h2,
.sfft-ce2.nolatin .note h3 {
  font-family: var(--body);
  text-transform: none;
  letter-spacing: 0.01em;
}

@keyframes sfft-ce2-rise {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .sfft-ce2 .rise { animation: sfft-ce2-rise 420ms ease both; }
}

@media (max-width: 720px) {
  .sfft-ce2 .frame img { height: 34vh; }
  .sfft-ce2 .prose p,
  .sfft-ce2 .lede { font-size: 1rem; }
  .sfft-ce2 .ticket,
  .sfft-ce2 .icon-btn,
  .sfft-ce2 .lang { width: 100%; }
  .sfft-ce2 .bar-actions { width: 100%; }
}

.sfft-ce2 ::selection {
  background: var(--blood);
  color: var(--paper);
}
