/* =========================================================
   KING OF TOPPLAYER THE 2ND — Sections
   ========================================================= */
.section {
  position: relative; padding: 118px 0; overflow: clip;
  background: #070708;
}
.section--alt {
  background:
    radial-gradient(ellipse 60% 50% at 82% 12%, rgba(121, 86, 214, 0.07), transparent 62%),
    radial-gradient(ellipse 50% 40% at 10% 88%, rgba(200, 174, 106, 0.05), transparent 60%),
    #0a0a0c;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.ghost {
  position: absolute; top: 26px; right: -0.04em; z-index: 1; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(110px, 15vw, 230px);
  line-height: 1; color: transparent; letter-spacing: 0.03em;
  -webkit-text-stroke: 1px rgba(200, 174, 106, 0.11);
  user-select: none; white-space: nowrap;
}

.sec-head {
  display: flex; align-items: flex-end; gap: clamp(16px, 2.4vw, 30px);
  margin-bottom: clamp(40px, 5vw, 62px); position: relative;
}
.sec-head::after {
  content: ""; flex: 1; height: 1px; margin-bottom: 10px;
  background: linear-gradient(90deg, rgba(200, 174, 106, 0.34), transparent);
}
.sec-head__num {
  font-family: var(--font-display); font-size: clamp(58px, 7vw, 94px);
  line-height: 0.82; color: transparent;
  -webkit-text-stroke: 1px rgba(200, 174, 106, 0.48);
  flex: 0 0 auto;
}
.sec-head__title {
  font-size: clamp(30px, 4vw, 52px); font-weight: 900; line-height: 1.1;
  letter-spacing: 0.1em; margin-top: 6px;
}
.note { margin-top: 34px; font-size: 12px; color: #7c766b; letter-spacing: 0.04em; }

/* ---------- news ---------- */
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid; grid-template-columns: 128px 88px 1fr 30px;
  align-items: center; gap: 22px; padding: 22px 16px;
  border-bottom: 1px solid var(--line-soft); position: relative;
  transition: background 0.3s ease, padding 0.3s ease;
}
.news-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-2), transparent);
  transform: scaleY(0); transition: transform 0.35s ease;
}
.news-item time {
  font-family: var(--font-tech); font-size: 13px; letter-spacing: 0.1em; color: var(--gold);
}
.news-item h3 { font-size: 15px; font-weight: 500; line-height: 1.6; color: #ded8cc; transition: color 0.25s ease; }
.tag {
  display: inline-flex; align-items: center; justify-content: center;
  width: fit-content; min-width: 62px; padding: 3px 10px;
  font-family: var(--font-tech); font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; border: 1px solid currentColor; border-radius: 2px;
}
.tag--pink { color: var(--pink); }
.tag--blue { color: var(--blue); }
.tag--gold { color: var(--gold); }
.news-item__arrow svg { width: 18px; height: 18px; }
.news-item__arrow svg path { fill: none; stroke: #6f6a60; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.25s ease; }
@media (hover: hover) {
  .news-item:hover { background: linear-gradient(90deg, rgba(200, 174, 106, 0.08), transparent 72%); padding-left: 26px; }
  .news-item:hover::before { transform: scaleY(1); }
  .news-item:hover h3 { color: #fff; }
  .news-item:hover .news-item__arrow svg path { stroke: var(--gold-2); }
}

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.about__lead {
  font-size: clamp(24px, 2.9vw, 38px); font-weight: 900; line-height: 1.55;
  letter-spacing: 0.04em; margin-bottom: 26px;
}
.about__lead em {
  font-style: normal;
  background: linear-gradient(180deg, #fff1c1, #f2d279 55%, #c8ae6a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.about__text { color: var(--muted); font-size: 14.5px; line-height: 2.05; letter-spacing: 0.03em; margin-top: 16px; }

.crest {
  position: relative; padding: 38px 30px 32px; text-align: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(242, 210, 121, 0.12), transparent 62%),
    linear-gradient(165deg, rgba(24, 22, 18, 0.92), rgba(8, 8, 9, 0.96));
  overflow: hidden;
}
.crest::before, .crest::after { border-color: var(--gold-2); opacity: 0.8; }
.crest__label {
  display: inline-block; font-family: var(--font-tech); font-size: 9px;
  letter-spacing: 0.28em; color: var(--gold); margin-bottom: 10px;
}
.crest__num {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(84px, 10vw, 126px); line-height: 0.95;
  background: linear-gradient(180deg, #fff5d2 0%, #f2d279 42%, #c8ae6a 70%, #8d7440 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.5));
}
.crest__num span { font-size: 0.42em; letter-spacing: 0.06em; vertical-align: 0.28em; margin-left: 4px; }
.crest__quote { font-size: 16px; font-weight: 700; letter-spacing: 0.1em; margin-top: 18px; }
.crest__en { font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.24em; color: #7c766b; margin-top: 8px; }
.crest__colors { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.crest__colors i { width: 8px; height: 8px; transform: rotate(45deg); }
.c-pink { background: var(--pink); }
.c-yellow { background: var(--yellow); }
.c-blue { background: var(--blue); }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: clamp(40px, 5vw, 64px); border: 1px solid var(--line);
  background: rgba(200, 174, 106, 0.16);
}
.stat { background: #0a0a0c; padding: 28px 24px; position: relative; overflow: hidden; }
.stat::after {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--gold-2), transparent);
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.stat:hover::after { transform: scaleX(1); }
.stat b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: 0.02em; color: var(--gold-2);
}
.stat span {
  display: flex; flex-direction: column; gap: 4px; margin-top: 10px;
  font-size: 11px; letter-spacing: 0.16em; color: #ded8cc;
}
.stat em { font-style: normal; font-family: var(--font-tech); font-size: 8.5px; letter-spacing: 0.22em; color: #6f6a60; }

/* ---------- schedule ---------- */
.timeline { position: relative; }
.tl-item { display: grid; grid-template-columns: 132px 30px 1fr; gap: 20px; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-date { padding-top: 8px; text-align: right; }
.tl-date b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 32px; line-height: 1; letter-spacing: 0.02em; color: #fff; }
.tl-date em { display: block; font-style: normal; font-family: var(--font-tech); font-size: 10px; letter-spacing: 0.24em; color: var(--gold); margin-top: 6px; }
.tl-rail { position: relative; display: flex; justify-content: center; padding-top: 12px; }
.tl-rail::before {
  content: ""; position: absolute; top: 24px; bottom: -30px; left: 50%; width: 1px;
  background: linear-gradient(180deg, var(--gold), rgba(200, 174, 106, 0.08));
}
.tl-item--last .tl-rail::before { display: none; }
.tl-dot {
  width: 12px; height: 12px; transform: rotate(45deg); background: var(--gold-2);
  box-shadow: 0 0 16px rgba(242, 210, 121, 0.8); flex: 0 0 12px; position: relative; z-index: 2;
}
.tl-dot--final { background: var(--pink); box-shadow: 0 0 18px rgba(255, 75, 141, 0.8); }
.tl-card {
  position: relative; padding: 24px 30px 20px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(18, 17, 15, 0.94), rgba(8, 8, 9, 0.96));
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.tl-card--final {
  border-color: rgba(242, 210, 121, 0.45);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(242, 210, 121, 0.1), transparent 60%),
    linear-gradient(150deg, rgba(24, 22, 17, 0.96), rgba(8, 8, 9, 0.98));
}
@media (hover: hover) {
  .tl-card:hover { border-color: rgba(242, 210, 121, 0.5); transform: translateX(4px); }
}
.tl-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.phase { font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.22em; color: var(--gold); }
.badge {
  display: inline-flex; align-items: center; padding: 2px 10px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  border: 1px solid currentColor; border-radius: 999px;
}
.badge--gold { color: var(--gold-2); }
.badge--blue { color: var(--blue); }
.badge--pink { color: var(--pink); }
.tl-card h3 { font-size: 21px; font-weight: 900; letter-spacing: 0.08em; }
.tl-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.9; color: var(--muted); }
.tl-meta {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px;
  border-top: 1px dashed rgba(200, 174, 106, 0.2);
  font-family: var(--font-tech); font-size: 10px; letter-spacing: 0.12em; color: var(--gold);
}
.tl-meta span + span { color: #9a9388; }

/* ---------- rules ---------- */
.tabs { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; }
.tab {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px;
  padding: 11px 26px; border: 1px solid rgba(200, 174, 106, 0.4); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #ded8cc;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.tab em { font-style: normal; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.18em; color: #6f6a60; }
.tab:hover { border-color: var(--gold-2); color: var(--gold-2); }
.tab.is-active {
  background: linear-gradient(105deg, #f7df9a, #c8ae6a); color: #0b0a06; border-color: #fff;
}
.tab.is-active em { color: rgba(11, 10, 6, 0.55); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: panelIn 0.45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.flow {
  display: flex; align-items: stretch; gap: 10px; margin-bottom: 26px;
  padding: 20px; border: 1px solid var(--line); background: rgba(8, 8, 10, 0.6);
  flex-wrap: wrap;
}
.flow__step { flex: 1 1 0; min-width: 104px; text-align: center; padding: 12px 8px; position: relative; }
.flow__step b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3vw, 38px); line-height: 1; color: var(--gold-2); letter-spacing: 0.02em;
}
.flow__step span { display: block; margin-top: 6px; font-size: 10px; letter-spacing: 0.14em; color: #9a9388; }
.flow__step--final b { color: var(--pink); text-shadow: 0 0 18px rgba(255, 75, 141, 0.5); }
.flow__arrow {
  align-self: center; width: 16px; height: 16px; flex: 0 0 16px;
  border-top: 2px solid rgba(200, 174, 106, 0.6); border-right: 2px solid rgba(200, 174, 106, 0.6);
  transform: rotate(45deg);
}

.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rule-card {
  padding: 28px 24px 24px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 17, 15, 0.9), rgba(8, 8, 9, 0.96));
  transition: border-color 0.3s ease, transform 0.3s ease;
}
@media (hover: hover) { .rule-card:hover { border-color: rgba(242, 210, 121, 0.5); transform: translateY(-3px); } }
.rule-card__no {
  font-family: var(--font-display); font-size: 34px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 210, 121, 0.5); display: block; margin-bottom: 12px;
}
.rule-card h3 { font-size: 17px; font-weight: 900; letter-spacing: 0.08em; }
.rule-card p { margin-top: 8px; font-size: 13px; line-height: 1.9; color: var(--muted); }
.rule-card__tag {
  display: inline-block; margin-top: 16px; font-family: var(--font-tech);
  font-size: 8.5px; letter-spacing: 0.24em; color: var(--gold);
}

.song-pool { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.song-pool__item {
  padding: 22px 24px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(18, 17, 15, 0.9), rgba(8, 8, 9, 0.96));
}
.song-pool__item b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--gold-2); }
.song-pool__item span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; }
.song-pool__item em { display: block; font-style: normal; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.16em; color: #6f6a60; margin-top: 6px; }
.song-pool__item--accent { border-color: rgba(255, 75, 141, 0.4); }
.song-pool__item--accent b { color: var(--pink); }

.rule-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rule-list li {
  position: relative; padding: 16px 8px 16px 26px; border-bottom: 1px solid var(--line-soft);
  font-size: 13.5px; line-height: 1.9; color: var(--muted);
}
.rule-list li::before {
  content: ""; position: absolute; left: 4px; top: 24px; width: 7px; height: 7px;
  transform: rotate(45deg); background: var(--gold);
}
.rule-list li b { color: var(--white); font-weight: 700; margin-right: 12px; }
.rule-list--wide li { padding-top: 20px; padding-bottom: 20px; }

.rules-foot { display: flex; justify-content: flex-end; margin-top: 30px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px;
  font-weight: 700; letter-spacing: 0.06em; color: var(--gold-2);
  border-bottom: 1px solid rgba(242, 210, 121, 0.4); padding-bottom: 4px;
}
.link-arrow em { font-style: normal; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.2em; color: #6f6a60; }
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow svg path { fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- prize ---------- */
.prize-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  padding-bottom: 26px; margin-bottom: 34px; border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.pool__label { display: block; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.28em; color: var(--gold); }
.pool__num {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(50px, 8vw, 98px); line-height: 1.05; letter-spacing: 0.01em;
  background: linear-gradient(180deg, #fff6d8 0%, #f2d279 45%, #c8ae6a 72%, #8d7440 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pool__note { display: block; font-size: 10.5px; color: #7c766b; letter-spacing: 0.04em; }
.prize-head__side { text-align: right; padding-bottom: 6px; }
.prize-head__side span { display: block; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.24em; color: var(--gold); }
.prize-head__side b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; color: var(--white); }
.prize-head__side em { display: block; font-style: normal; font-size: 10px; color: #9a9388; letter-spacing: 0.06em; }

.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.prize-card {
  position: relative; padding: 34px 26px 26px; text-align: center;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(18, 17, 15, 0.94), rgba(8, 8, 9, 0.98));
}
.prize-card--first {
  border-color: rgba(242, 210, 121, 0.55);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(242, 210, 121, 0.18), transparent 64%),
    linear-gradient(165deg, rgba(28, 25, 18, 0.98), rgba(8, 8, 9, 0.98));
  box-shadow: 0 0 46px rgba(242, 210, 121, 0.09);
}
.prize-card__ribbon {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  padding: 4px 14px; background: linear-gradient(90deg, #f2d279, #fff1c1, #f2d279);
  color: #0b0a06; font-family: var(--font-tech); font-size: 9px; font-weight: 700; letter-spacing: 0.24em;
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 50%, calc(100% - 6px) 100%, 6px 100%, 0 50%);
}
.prize-card__rank {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(34px, 4vw, 46px); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(200, 174, 106, 0.7);
}
.prize-card--first .prize-card__rank { color: var(--gold-2); -webkit-text-stroke: 0; }
.prize-card__amount {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; color: var(--white); margin-top: 10px;
}
.prize-card--first .prize-card__amount {
  background: linear-gradient(180deg, #fff6d8, #f2d279 60%, #c8ae6a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.prize-card p { margin-top: 14px; font-size: 11.5px; line-height: 1.9; color: var(--muted); }

.prize-rest {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 16px; padding: 22px 30px; border: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(200, 174, 106, 0.07), rgba(8, 8, 9, 0.9));
  flex-wrap: wrap;
}
.prize-rest__left { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.prize-rest__rank { font-family: var(--font-tech); font-size: 10px; letter-spacing: 0.2em; color: var(--gold); }
.prize-rest__left b { font-family: var(--font-display); font-weight: 400; font-size: 26px; color: var(--white); }
.prize-rest__left em { font-style: normal; font-family: var(--font-body); font-size: 11px; color: #7c766b; }
.prize-rest > p { font-size: 11.5px; color: var(--muted); }

.prize-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.prize-extra__item { padding: 18px 22px; border-left: 2px solid rgba(200, 174, 106, 0.4); background: rgba(255, 255, 255, 0.015); }
.prize-extra__item span { display: block; font-family: var(--font-tech); font-size: 8.5px; letter-spacing: 0.24em; color: #6f6a60; }
.prize-extra__item b { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: #ded8cc; }

/* ---------- entry ---------- */
.entry__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 4vw, 54px); align-items: start; }
.entry__lead { font-size: clamp(20px, 2.3vw, 27px); font-weight: 900; line-height: 1.6; letter-spacing: 0.04em; }
.entry__lead em { font-style: normal; color: var(--gold-2); }

.entry__deadline {
  margin: 26px 0 30px; padding: 16px 20px; border: 1px solid var(--line);
  background: rgba(8, 8, 10, 0.6);
}
.entry__deadline-label { display: block; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.24em; color: var(--gold); margin-bottom: 10px; }
.entry__deadline .countdown { justify-content: flex-start; }
.entry__deadline .countdown__label { display: none; }

.entry-steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.entry-steps li { display: flex; gap: 18px; padding: 16px 4px; border-bottom: 1px solid var(--line-soft); }
.entry-steps li > b { font-family: var(--font-tech); font-size: 11px; color: var(--gold); letter-spacing: 0.1em; padding-top: 3px; }
.entry-steps li span { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; }
.entry-steps li p { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 2px; }

.entry-notes { margin-top: 24px; display: grid; gap: 8px; }
.entry-notes li {
  position: relative; padding-left: 18px; font-size: 11.5px; color: #8d877c; line-height: 1.8;
}
.entry-notes li::before { content: "·"; position: absolute; left: 4px; color: var(--gold); }

.entry__join {
  display: flex; align-items: center; gap: 20px;
  margin-top: 26px; padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.entry__join-text { flex: 1 1 auto; min-width: 0; }
.entry__join-kicker {
  display: block; margin-bottom: 8px;
  font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.22em; color: var(--gold);
}
.entry__join-text b { display: block; font-size: 17px; line-height: 1.3; letter-spacing: 0.04em; }
.entry__join-text p { margin-top: 8px; font-size: 11px; line-height: 1.9; color: var(--muted); }
.entry__join-qr {
  flex: 0 0 auto; display: block; width: 132px; padding: 6px;
  border: 1px solid var(--line); background: #0c0c0e;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.entry__join-qr:hover { border-color: var(--gold-2); transform: translateY(-2px); }
.entry__join-qr img { display: block; width: 100%; height: auto; }

.form-wrap {
  padding: 30px; border: 1px solid rgba(200, 174, 106, 0.4);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(242, 210, 121, 0.09), transparent 58%),
    linear-gradient(165deg, rgba(20, 19, 16, 0.96), rgba(8, 8, 9, 0.98));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.form-embed__frame {
  display: block; width: 100%; height: 960px;
  border: 1px solid rgba(200, 174, 106, 0.18); background: #fff; color-scheme: light;
}
.form-head { position: relative; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-head__kicker { font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.26em; color: var(--gold); }
.form-head h3 { font-size: 22px; font-weight: 900; letter-spacing: 0.1em; margin-top: 2px; }
.form-head__status {
  position: absolute; right: 0; top: 4px; display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.2em; color: var(--pink);
}
.form-head__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--pink); } 50% { opacity: 0.25; box-shadow: none; } }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 11px; letter-spacing: 0.08em; color: #ded8cc; margin-bottom: 7px; font-weight: 500; }
.field label em { font-style: normal; font-family: var(--font-tech); font-size: 8.5px; letter-spacing: 0.2em; color: #6f6a60; margin-left: 6px; }
.input {
  width: 100%; height: 46px; padding: 0 14px; color: var(--white);
  background: #060607; border: 1px solid rgba(200, 174, 106, 0.26); border-radius: 3px;
  font-family: var(--font-body); font-size: 13px; letter-spacing: 0.04em;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.input::placeholder { color: #5c5750; }
.input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(242, 210, 121, 0.12); }
.select-wrap { position: relative; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23c8ae6a' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.select option { background: #0a0a0c; color: var(--white); }
.field__error { display: none; margin-top: 6px; font-size: 10.5px; color: var(--pink); letter-spacing: 0.04em; }
.field__hint { margin-top: 6px; font-size: 10.5px; color: #9a9388; letter-spacing: 0.04em; transition: color 0.2s ease; }
.field__hint.is-competitive { color: var(--gold-2); }
.field__hint.is-challenge { color: var(--pink); }
.form__fallback {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 12px; font-size: 11px; color: var(--muted); letter-spacing: 0.04em;
}
.form__fallback a { color: var(--gold-2); border-bottom: 1px solid rgba(242, 210, 121, 0.4); }
.form__help {
  margin-top: 18px; padding: 14px 16px; border-left: 2px solid rgba(200, 174, 106, 0.4);
  background: rgba(255, 255, 255, 0.015); font-size: 11px; line-height: 1.9; color: var(--muted);
}
.form__help b { color: var(--gold-2); font-weight: 700; }
.field.has-error .input { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255, 75, 141, 0.1); }
.field.has-error .field__error { display: block; }
.field.has-error .check span { color: var(--pink); }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 11.5px; line-height: 1.8; color: #9a9388; cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; flex: 0 0 17px; width: 17px; height: 17px;
  margin-top: 3px; background: #060607; border: 1px solid var(--gold); position: relative; cursor: pointer;
}
.check input:checked { background: var(--gold-2); border-color: var(--gold-2); }
.check input:checked::after {
  content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 9px;
  border: 2px solid #0a0a0b; border-top: 0; border-left: 0; transform: rotate(42deg);
}
.form .btn { margin-top: 22px; }
.form__note { margin-top: 12px; font-size: 10px; color: #6f6a60; text-align: center; letter-spacing: 0.04em; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 18px; padding: 22px 8px;
  text-align: left; font-size: 15px; font-weight: 700; letter-spacing: 0.04em; color: #ded8cc;
  transition: color 0.25s ease;
}
.faq-q:hover { color: var(--gold-2); }
.faq-q__idx { font-family: var(--font-tech); font-size: 10px; letter-spacing: 0.14em; color: var(--gold); flex: 0 0 auto; }
.faq-q__icon { margin-left: auto; position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.faq-q__icon::before, .faq-q__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--gold);
  transform: translate(-50%, -50%); transition: transform 0.3s ease, opacity 0.3s ease;
}
.faq-q__icon::before { width: 16px; height: 1.5px; }
.faq-q__icon::after { width: 1.5px; height: 16px; }
.faq-item.is-open .faq-q { color: var(--gold-2); }
.faq-item.is-open .faq-q__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.3, 0.7, 0.3, 1); }
.faq-a p { padding: 0 30px 22px 48px; font-size: 13px; line-height: 1.95; color: var(--muted); }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 3; padding: 66px 0 28px; background: #030304; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1.1fr; gap: 40px; align-items: start; }
.footer__brand img { width: 104px; filter: drop-shadow(0 0 16px rgba(242, 210, 121, 0.18)); }
.footer__lockup { display: flex; align-items: center; gap: 12px; }
.footer__crown { width: 42px; height: auto; filter: drop-shadow(0 0 12px rgba(242, 210, 121, 0.22)); }
.footer__lockup b {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: 18px; line-height: 1; letter-spacing: 0.1em; color: var(--white);
}
.footer__lockup em {
  display: block; font-style: normal; font-family: var(--font-tech);
  font-size: 9px; letter-spacing: 0.32em; color: var(--gold); margin-top: 5px;
}
.footer__brand p { margin-top: 14px; font-size: 11px; line-height: 1.8; color: #7c766b; letter-spacing: 0.08em; }
.footer__stamp { display: inline-block; margin-top: 14px; font-size: 12px; letter-spacing: 0.14em; color: var(--gold); }
.footer__head { display: block; font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.26em; color: var(--gold); margin-bottom: 14px; }
.footer__nav a { display: block; padding: 5px 0; font-size: 12px; color: #9a9388; letter-spacing: 0.06em; transition: color 0.25s ease, padding-left 0.25s ease; }
.footer__nav a:hover { color: var(--gold-2); padding-left: 6px; }
.footer__contact p { font-size: 11.5px; line-height: 1.9; color: #9a9388; }
.footer__social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.footer__social a {
  padding: 4px 10px; border: 1px solid rgba(200, 174, 106, 0.3);
  font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.12em; color: #9a9388;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer__social a:hover { color: var(--gold-2); border-color: var(--gold-2); }
.footer__bottom {
  margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer__disclaimer { max-width: 760px; font-size: 10px; line-height: 1.9; color: #5c5750; }
.footer__copy { font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.14em; color: #5c5750; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 80; width: 46px; height: 46px;
  display: grid; place-items: center; border: 1px solid rgba(200, 174, 106, 0.5); border-radius: 50%;
  background: rgba(6, 6, 7, 0.85); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold-2); }
.to-top svg { width: 18px; height: 18px; }
.to-top svg path { fill: none; stroke: var(--gold-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover svg path { stroke: #0a0a0b; }

/* ---------- modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(2, 2, 3, 0.82); backdrop-filter: blur(8px); }
.modal__card {
  position: relative; z-index: 2; width: min(440px, calc(100% - 40px)); padding: 38px 32px 30px;
  text-align: center; border: 1px solid rgba(242, 210, 121, 0.5);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(242, 210, 121, 0.16), transparent 62%),
    linear-gradient(165deg, #16140f, #08080a);
  transform: translateY(14px) scale(0.98); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}
.modal.is-open .modal__card { transform: none; }
.modal__badge { font-family: var(--font-tech); font-size: 9px; letter-spacing: 0.3em; color: var(--gold); }
.modal__card h3 { font-size: 22px; font-weight: 900; letter-spacing: 0.08em; margin-top: 6px; }
.modal__card > p { margin-top: 12px; font-size: 12.5px; line-height: 1.9; color: var(--muted); }
.modal__code { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 14px; padding: 12px 16px; border: 1px dashed rgba(200, 174, 106, 0.4); background: rgba(0, 0, 0, 0.3); }
.modal__code span { font-size: 10px; letter-spacing: 0.14em; color: #9a9388; }
.modal__code b { font-family: var(--font-tech); font-size: 15px; letter-spacing: 0.12em; color: var(--gold-2); }
.modal__note { font-size: 9.5px !important; color: #6f6a60 !important; }
.modal__card .btn { margin-top: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 18px; }
  .hero__side { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .crest { max-width: 420px; margin: 0 auto; }
  .rule-grid, .song-pool, .prize-extra { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__inner { width: calc(100% - 32px); }
  .header__actions .btn--sm { display: none; }
  .section { padding: 90px 0; }
  .ghost { font-size: 96px; top: 30px; opacity: 0.7; }
  .entry__grid { grid-template-columns: 1fr; }
  .form-wrap { max-width: 640px; }
  .prize-head { align-items: flex-start; }
  .prize-head__side { text-align: left; }
  .news-item { grid-template-columns: 104px 84px 1fr 24px; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__contact { grid-column: auto; }
}

@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .hero { padding: calc(var(--header-h) + 30px) 18px 84px; min-height: 100svh; }
  .brand__crown { width: 28px; }
  .brand__text b { font-size: 11px; }
  .brand__text em { font-size: 8px; letter-spacing: 0.24em; }
  .eyebrow { font-size: 8.5px; letter-spacing: 0.18em; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .eyebrow__dot { display: none; }
  .emblem { width: min(70vw, 330px); }
  .tagline { font-size: clamp(19px, 5.4vw, 26px); letter-spacing: 0.08em; }
  .tagline-en { font-size: 9px; letter-spacing: 0.28em; }
  .hero__meta { gap: 12px; padding: 12px 14px; width: 100%; }
  .hero__meta-cell { min-width: 88px; }
  .hero__meta-cell b { font-size: 13px; }
  .dia--lg { display: none; }
  .hero__actions { gap: 10px; width: 100%; }
  .hero__actions .btn { width: 100%; }
  .countdown--hero { margin-top: 18px; width: 100%; }
  .hero__scroll { display: none; }
  .hero__watermark { top: 20%; font-size: 150px; opacity: 0.8; }
  .header__inner { width: calc(100% - 28px); }
  .mobile-nav { justify-content: flex-start; padding-top: calc(var(--header-h) + 26px); overflow-y: auto; }
  .mobile-nav nav a { font-size: 15px; padding: 13px 4px; }

  .container, .container--narrow { width: calc(100% - 32px); }
  .section { padding: 72px 0; }
  .sec-head { gap: 14px; margin-bottom: 34px; }
  .sec-head__num { font-size: 46px; }
  .sec-head__title { font-size: 26px; letter-spacing: 0.06em; }
  .sec-head::after { display: none; }
  .kicker { font-size: 9px; letter-spacing: 0.2em; }
  .ghost { font-size: 64px; top: 26px; opacity: 0.55; }

  .news-item { grid-template-columns: 1fr 24px; grid-template-areas: "date arrow" "tag arrow" "title arrow"; row-gap: 6px; padding: 16px 10px; }
  .news-item time { grid-area: date; }
  .news-item .tag { grid-area: tag; }
  .news-item h3 { grid-area: title; font-size: 13.5px; line-height: 1.7; }
  .news-item__arrow { grid-area: arrow; align-self: center; }

  .about__lead { font-size: 21px; }
  .about__text { font-size: 13.5px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .stat b { font-size: 30px; }
  .crest { max-width: 100%; padding: 30px 22px; }
  .crest__num { font-size: 86px; }

  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-bottom: 24px; }
  .tl-date { display: flex; align-items: baseline; gap: 10px; text-align: left; padding-top: 0; }
  .tl-date b { font-size: 24px; }
  .tl-date em { margin-top: 0; }
  .tl-rail { display: none; }
  .tl-card { padding: 20px 20px 18px; }
  .tl-card h3 { font-size: 18px; }
  .tl-card p { font-size: 12.5px; }
  .tl-card__top { flex-wrap: wrap; gap: 8px; }
  .tl-meta { gap: 10px; font-size: 9px; }

  .tabs { gap: 8px; }
  .tab { padding: 9px 18px; font-size: 12px; }
  .flow { padding: 14px 10px; gap: 4px; }
  .flow__step { min-width: 0; flex-basis: calc(50% - 20px); }
  .flow__step b { font-size: 26px; }
  .flow__arrow { display: none; }
  .rule-grid, .song-pool, .prize-extra, .podium { grid-template-columns: 1fr; }
  .rule-card { padding: 22px 20px; }
  .song-pool__item { padding: 18px 20px; }
  .song-pool__item b { font-size: 30px; }
  .rule-list li { font-size: 12.5px; }
  .rules-foot { justify-content: flex-start; margin-top: 24px; }

  .prize-head { gap: 16px; margin-bottom: 26px; }
  .pool__num { font-size: 54px; }
  .prize-card { padding: 30px 20px 22px; }
  .prize-rest { padding: 18px 20px; gap: 10px; }
  .prize-extra__item { padding: 14px 18px; }

  .entry__deadline { margin: 22px 0; padding: 14px 14px; }
  .cd-unit { min-width: 42px; }
  .cd-unit b { font-size: 17px; }
  .form-wrap { padding: 24px 18px; }
  .form-wrap.form-embed {
    padding: 24px 0 18px;
    width: calc(100% + 32px); margin-left: -16px; margin-right: -16px;
  }
  .form-embed .form-head, .form-embed .form__fallback, .form-embed .form__help { margin-left: 18px; margin-right: 18px; }
  .form-embed__frame { height: 1500px; }
  .form__grid { grid-template-columns: 1fr; }
  .form-head h3 { font-size: 19px; }
  .faq-q { gap: 12px; padding: 18px 4px; font-size: 13.5px; }
  .faq-a p { padding: 0 10px 18px 34px; font-size: 12.5px; }

  .footer { padding: 50px 0 24px; }
  .footer__brand img { width: 88px; }
  .footer__bottom { margin-top: 34px; }
  .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
}

@media (max-width: 420px) {
  .hero__meta { gap: 8px; }
  .hero__meta-cell { min-width: 0; flex: 1 1 0; }
  .hero__meta-cell b { font-size: 12px; letter-spacing: 0.04em; }
  .countdown { gap: 6px; }
  .countdown__label { padding-right: 8px; }
  .cd-unit { min-width: 38px; padding: 4px; }
  .cd-unit b { font-size: 15px; }
  .cd-unit span { font-size: 6.5px; }
  .prize-head__side b { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
