:root {
  --bg: #0f0e0c;
  --bg2: #161412;
  --ink: #e8e2d6;
  --muted: #9a917f;
  --gold: #c9a96a;
  --gold-dim: #8a7347;
  --hairline: rgba(201, 169, 106, 0.25);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Shippori Mincho B1", "Hiragino Mincho ProN", serif;
  line-height: 1.9;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-decoration: none; }
a:hover { opacity: 0.8; }

header {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 5vw;
  background: rgba(15, 14, 12, 0.88); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.brand { font-size: 18px; letter-spacing: 0.35em; color: var(--gold); }
nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.2em; }
nav a { color: var(--ink); }
nav a.active { color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

.hero { text-align: center; padding: 110px 5vw 90px; }
.hero .crest { margin-bottom: 36px; }
h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 500; letter-spacing: 0.25em; line-height: 1.7;
}
.lede { color: var(--muted); margin-top: 26px; font-size: 15px; }
.gold-rule {
  width: 64px; height: 1px; background: var(--gold);
  margin: 44px auto; border: none;
}

section { max-width: 980px; margin: 0 auto; padding: 70px 5vw; }
h2 {
  font-size: 22px; font-weight: 500; letter-spacing: 0.3em;
  color: var(--gold); text-align: center; margin-bottom: 14px;
}
.sub { text-align: center; color: var(--muted); font-size: 13px; letter-spacing: 0.25em; margin-bottom: 48px; }

.btn {
  display: inline-block; padding: 14px 44px;
  border: 1px solid var(--gold); color: var(--gold);
  font-size: 14px; letter-spacing: 0.3em;
  transition: background 0.3s, color 0.3s;
}
.btn:hover { background: var(--gold); color: var(--bg); opacity: 1; }
.btn.solid { background: var(--gold); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--gold); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.card {
  background: var(--bg2); border: 1px solid var(--hairline);
  padding: 36px 30px; text-align: center;
}
.card h3 { font-size: 17px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 14px; font-weight: 500; }
.card p { font-size: 13.5px; color: var(--muted); }

.portrait {
  width: 180px; height: 180px; border-radius: 50%;
  border: 1px solid var(--gold-dim);
  margin: 0 auto 26px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #2a2620, #14120f 70%);
}
.profile dl { text-align: left; font-size: 13.5px; margin-top: 20px; }
.profile dt { color: var(--gold-dim); float: left; width: 7em; letter-spacing: 0.15em; }
.profile dd { color: var(--ink); margin-left: 7.5em; margin-bottom: 8px; }

table.menu { width: 100%; border-collapse: collapse; font-size: 14px; }
table.menu th, table.menu td { padding: 16px 12px; border-bottom: 1px solid var(--hairline); text-align: left; }
table.menu th { color: var(--gold-dim); font-weight: 500; letter-spacing: 0.2em; white-space: nowrap; }
.note {
  margin-top: 34px; padding: 22px 26px;
  border: 1px solid var(--hairline); background: var(--bg2);
  font-size: 12.5px; color: var(--muted); line-height: 2;
}

.player {
  position: relative; width: 100%; aspect-ratio: 16/9;
  background: var(--bg2); border: 1px solid var(--hairline);
}
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player .placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 13px;
}

.cheer-box {
  max-width: 560px; margin: 0 auto;
  background: var(--bg2); border: 1px solid var(--hairline);
  padding: 36px 32px;
}
.cheer-input {
  width: 100%; margin: 10px 0 24px;
  background: var(--bg); border: 1px solid var(--hairline);
  color: var(--ink); font-family: inherit; font-size: 15px;
  padding: 12px 14px; letter-spacing: 0.08em;
}
.cheer-input:focus { outline: none; border-color: var(--gold); }
.cheer-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.cheer-btn {
  background: transparent; border: 1px solid var(--gold);
  color: var(--gold); font-family: inherit; font-size: 16px;
  letter-spacing: 0.1em; padding: 14px 8px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: background 0.3s, color 0.3s;
}
.cheer-btn small { font-size: 11px; color: var(--muted); letter-spacing: 0.12em; }
.cheer-btn:hover:not(:disabled) { background: var(--gold); color: var(--bg); }
.cheer-btn:hover:not(:disabled) small { color: var(--bg); }
.cheer-btn:disabled, .cheer-input:disabled { opacity: 0.35; cursor: not-allowed; }
.cheer-custom { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; }

.cheer-btn.reco {
  position: relative; background: rgba(201, 169, 106, 0.14);
  border-width: 2px; transform: scale(1.04);
}
.reco-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--bg);
  font-size: 10px; letter-spacing: 0.2em; padding: 2px 10px; border-radius: 2px;
  white-space: nowrap;
}
.avail { font-size: 12.5px; margin-top: 14px; text-align: center; line-height: 2; }
.avail .ok { color: #8fbf9a; }
.avail .ng { color: var(--muted); }
.avail .cd { color: var(--gold); font-variant-numeric: tabular-nums; }

.quickbar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  max-width: 560px; margin: 18px auto 0;
}
.quickbar .cheer-btn { padding: 12px 6px; font-size: 15px; }

table.legal { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.legal th, table.legal td { padding: 14px 12px; border-bottom: 1px solid var(--hairline); text-align: left; vertical-align: top; }
table.legal th { color: var(--gold-dim); font-weight: 500; letter-spacing: 0.15em; white-space: nowrap; width: 11em; }

footer {
  border-top: 1px solid var(--hairline);
  padding: 50px 5vw; text-align: center;
  color: var(--muted); font-size: 12px; letter-spacing: 0.2em;
}
footer .brand { display: block; margin-bottom: 18px; font-size: 14px; }

@media (max-width: 640px) {
  nav { gap: 16px; font-size: 11px; }
  .hero { padding: 70px 6vw 60px; }
}
