:root {
  color-scheme: dark;
  --bg: #100b11;
  --panel: #19111a;
  --panel-2: #211720;
  --ink: #fff8fb;
  --muted: #c5b3c0;
  --soft: #9f8b98;
  --accent: #f43e74;
  --accent-2: #ff739f;
  --line: rgba(255, 255, 255, .11);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: var(--bg); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 82% -4%, #4b1731 0, transparent 42%),
    radial-gradient(ellipse at 0 100%, #2a1225 0, transparent 48%),
    var(--bg);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

a { color: inherit; }
.shell { width: min(100% - 32px, 820px); margin: 0 auto; padding: 24px 0 36px; }
.shell-gate { width: min(100% - 28px, 520px); min-height: 100vh; display: grid; align-content: center; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #f4d9e5; font-size: 14px; font-weight: 750; letter-spacing: .04em; text-decoration: none; }
.brand-mark { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid #ff739f88; border-radius: 13px; color: #fff; background: linear-gradient(145deg, #fa477e, #9d2458); font-size: 12px; font-weight: 900; box-shadow: 0 8px 24px #e81c6740; }
.step { color: #bca9b5; font-size: 12px; }

.panel { overflow: hidden; border: 1px solid #62334a; border-radius: 24px; background: rgba(25, 17, 26, .94); box-shadow: 0 28px 80px #0009, 0 0 50px #9a24531d; }
.panel-content { padding: clamp(22px, 5.5vw, 38px); }
.visual { height: 245px; position: relative; overflow: hidden; background: linear-gradient(135deg, #401829, #19111a 70%); }
.visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, #19111a 100%); }
.visual.hero-photo { height: 300px; background: #28131f; }
.visual.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.visual-glow { position: absolute; width: 260px; height: 260px; top: -80px; left: calc(50% - 130px); border-radius: 50%; background: radial-gradient(circle, #ff739f50, #9a245300 68%); filter: blur(4px); }
.visual-orbit { position: absolute; left: 50%; top: 44%; border: 1px solid #ff94b34a; border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.orbit-one { width: 270px; height: 150px; }
.orbit-two { width: 190px; height: 270px; transform: translate(-50%, -50%) rotate(35deg); }
.age-badge { position: absolute; z-index: 1; top: 20px; right: 20px; display: grid; width: 58px; height: 58px; place-items: center; border: 1px solid #ffffff8c; border-radius: 50%; background: #210d1cbf; color: white; font-size: 19px; font-weight: 900; backdrop-filter: blur(8px); }
.visual-label { position: absolute; z-index: 1; left: 24px; bottom: 23px; color: #ffdce9; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.panel-content h1, .panel h1 { margin: 0; color: var(--ink); font-size: clamp(27px, 6vw, 36px); font-weight: 900; line-height: 1.2; letter-spacing: -.02em; }
.panel-content { text-align: center; }
.eyebrow { margin: 0 0 9px; color: var(--accent-2); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.lead { max-width: 560px; margin: 14px auto 0; color: #e7cfd9; font-size: 15px; line-height: 1.75; }
.panel-content .lead { max-width: 570px; }
.gate .panel-content { padding: 0 26px 26px; text-align: center; }
.gate .panel-content h1 { font-size: clamp(29px, 7vw, 36px); }
.gate .panel-content h1 em { color: #ff6f9f; font-style: normal; }
.gate .lead { max-width: 340px; }
.gate .fine { margin: 14px auto 0; max-width: 380px; color: var(--soft); font-size: 11px; line-height: 1.6; }
.notice { margin: 22px 0; padding: 15px 17px; border: 1px solid #62334a; border-radius: 15px; color: #d8c4d0; background: #100b1199; font-size: 13px; line-height: 1.7; text-align: left; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 11px; margin-top: 24px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 12px 18px; border: 0; border-radius: 13px; color: white; background: linear-gradient(115deg, #fa477e, #ed225a); box-shadow: 0 9px 25px #e81c6750; font: inherit; font-size: 14px; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.button:hover { transform: translateY(-1px); filter: brightness(1.07); }
.button:focus-visible, a:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.button.secondary { color: #eadde4; background: #ffffff12; border: 1px solid #ffffff18; box-shadow: none; }
.message { min-height: 22px; margin: 13px 0 0; color: #ff9aa5; font-size: 13px; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 27px; text-align: left; }
.category-card { min-height: 230px; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 17px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, #251925, #171119); text-decoration: none; isolation: isolate; transition: transform .16s ease, border-color .16s ease; }
.category-card::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .65; background: radial-gradient(ellipse at 90% 0%, #e84a8144, transparent 48%), linear-gradient(180deg, transparent, #100b11 88%); }
.category-card:hover { transform: translateY(-3px); border-color: #f4779c80; }
.category-player::before { background: radial-gradient(ellipse at 90% 0%, #ffb84a38, transparent 48%), linear-gradient(180deg, transparent, #100b11 88%); }
.category-drama::before { background: radial-gradient(ellipse at 90% 0%, #9b7cff44, transparent 48%), linear-gradient(180deg, transparent, #100b11 88%); }
.card-top, .card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tag { padding: 5px 9px; border: 1px solid #ffffff20; border-radius: 999px; color: #f4d9e5; background: #100b1177; font-size: 10px; }
.symbol { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #ffffff22; border-radius: 13px; color: #ffdce9; background: #100b1177; font-size: 20px; }
.card-copy { display: block; margin-top: auto; padding-top: 34px; }
.card-copy strong { display: block; color: white; font-size: 20px; font-weight: 850; }
.card-copy small { display: block; margin-top: 6px; color: #c5b3c0; font-size: 11px; line-height: 1.55; }
.card-bottom { justify-content: flex-end; margin-top: 18px; }
.enter { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: 11px; font-weight: 800; }
.enter b { font-size: 17px; line-height: 1; }
.detail-mark { display: grid; width: 62px; height: 62px; place-items: center; margin: 22px auto 16px; border: 1px solid #ff739f55; border-radius: 19px; color: #ffdce9; background: linear-gradient(145deg, #fa477e35, #9d245822); font-size: 22px; font-weight: 900; }
.footer { padding: 17px 8px 0; color: var(--soft); font-size: 11px; line-height: 1.6; text-align: center; }

@media (max-width: 700px) {
  .shell { width: min(100% - 24px, 560px); padding: 16px 0 24px; }
  .shell-gate { min-height: 100vh; align-content: center; }
  .visual { height: 220px; }
  .visual.hero-photo { height: 270px; }
  .category-grid { grid-template-columns: 1fr; gap: 10px; }
  .category-card { min-height: 122px; flex-direction: row; align-items: center; gap: 14px; }
  .card-copy { flex: 1; margin-top: 0; padding-top: 0; }
  .card-bottom { margin: 0; }
  .symbol { flex: 0 0 auto; }
  .gate .panel-content { padding: 0 20px 22px; }
}

@media (max-height: 690px) {
  .shell-gate { align-content: start; }
  .visual { height: 185px; }
  .visual.hero-photo { height: 230px; }
  .gate .panel-content { padding-bottom: 18px; }
  .notice { margin: 16px 0; }
  .actions { margin-top: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
}
