@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Noto+Sans+TC:wght@400;500;700;900&display=swap");

:root {
  --bg: #07080b;
  --bg-2: #10131a;
  --paper: #161b24;
  --paper-2: #1c2330;
  --line: rgba(212, 175, 80, 0.32);
  --gold: #d4af50;
  --gold-2: #f0d78c;
  --ink: #f4efe4;
  --mute: #9aa3b2;
  --dpp: #1b9431;
  --kmt: #2450a8;
  --tpp: #2ab3c4;
  --npp: #d4a017;
  --danger: #c7564c;
  --ok: #7dcea0;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(36, 80, 168, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 110%, rgba(27, 148, 49, 0.12), transparent 50%),
    var(--bg);
  color: var(--ink);
  font: 16px/1.55 "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 8;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
.lyceum-kicker {
  letter-spacing: .28em;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}
.lyceum-title {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-weight: 700;
  letter-spacing: .02em;
  margin: 8px 0 10px;
}
.gold-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
  margin: 14px 0 18px;
}
.lyceum-foot {
  position: relative;
  z-index: 3;
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  color: var(--mute);
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  border-top: 1px solid var(--line);
}
.lyceum-foot a { color: var(--gold-2); text-decoration: none; }
.lyceum-foot a:hover { text-decoration: underline; }
.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #2a3140, #1a2030);
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: 15px/1.45 "Noto Sans TC", sans-serif;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover { border-color: var(--gold); }
.btn:active { transform: scale(.985); }
.btn.primary {
  background: linear-gradient(180deg, #c9a24a, #8a6a1e);
  border-color: #e6c56a;
  color: #1a1408;
  text-align: center;
  font-weight: 800;
  letter-spacing: .08em;
}
.btn.primary:active { filter: brightness(.92); }
.chip {
  display: inline-block;
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 11px;
  letter-spacing: .12em;
  padding: 4px 8px;
  border-radius: 999px;
}
.portrait {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--line);
  display: block;
  background: #0e1218;
}
