/* Build contest section (Halloween 2026). Theme lives in the first block: a Christmas copy swaps these variables and the art. */
.hw-page {
  --ev-bg: #0c0614; --ev-bg2: #170b24; --ev-ink: #f6eeff; --ev-mute: #bba9d2; --ev-dim: #8a78a3;
  --ev-accent: #ff7a1a; --ev-accent2: #ffb067; --ev-glow: #a463ff; --ev-glow2: #6c2bd9; --ev-moon: #ffe7a8;
  --ev-card: rgba(28, 14, 44, 0.78); --ev-card2: rgba(40, 20, 62, 0.82); --ev-line: rgba(255, 176, 103, 0.16); --ev-line2: rgba(164, 99, 255, 0.28);
  --ev-ok: #7dffb0; --ev-bad: #ff6b81; --ev-wait: #ffd36b; --ev-display: "Creepster", "Cinzel", serif; --ev-head: "Cinzel", serif;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(108, 43, 217, 0.35), transparent 60%), linear-gradient(180deg, var(--ev-bg2), var(--ev-bg) 40%, #08040e);
  background-color: var(--ev-bg); color: var(--ev-ink);
}
.hw { position: relative; z-index: 1; padding-bottom: 3rem; overflow-x: clip; }
.hw-wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.hw-ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.hw-art-i { display: inline-block; object-fit: contain; }
.hw [hidden] { display: none !important; }

/* ---- night sky (fixed, behind content) ---- */
.hw-sky { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hw-moon { position: absolute; top: 9vh; right: 7vw; width: 110px; height: 110px; border-radius: 50%; background: radial-gradient(circle at 38% 36%, #fff8dc, var(--ev-moon) 45%, #e6b35c 100%); box-shadow: 0 0 60px 18px rgba(255, 220, 140, 0.18), 0 0 160px 60px rgba(164, 99, 255, 0.12); opacity: 0.55; }
.hw-stars-bg i { position: absolute; width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: 0.5; animation: hw-twinkle 4s ease-in-out infinite; }
.hw-fog { position: absolute; left: -50%; width: 200%; height: 38vh; bottom: -6vh; background: radial-gradient(closest-side, rgba(190, 160, 255, 0.10), transparent 70%) 0 0 / 50% 100% repeat-x; filter: blur(8px); animation: hw-fog 60s linear infinite; }
.hw-fog-b { bottom: 18vh; height: 24vh; opacity: 0.6; animation-duration: 90s; animation-direction: reverse; }
.hw-bat { position: absolute; top: var(--y); left: -60px; width: 34px; color: #1a0d22; filter: drop-shadow(0 0 6px rgba(164, 99, 255, 0.35)); animation: hw-bat var(--d) linear var(--w) infinite; }
.hw-bat .hw-ic { width: 34px; height: 34px; animation: hw-flap 0.32s ease-in-out infinite alternate; }
@keyframes hw-twinkle { 50% { opacity: 0.12; } }
@keyframes hw-fog { to { transform: translateX(25%); } }
@keyframes hw-bat { 0% { transform: translate(0, 0); } 25% { transform: translate(28vw, -4vh); } 50% { transform: translate(55vw, 3vh); } 75% { transform: translate(82vw, -3vh); } 100% { transform: translate(115vw, 0); } }
@keyframes hw-flap { to { transform: scaleY(0.55); } }

/* ---- buttons, chips, kicker ---- */
.hw-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 44px; padding: 0.6rem 1.2rem; border-radius: 999px; border: 1px solid var(--ev-line2); background: rgba(40, 20, 62, 0.7); color: var(--ev-ink); font: 700 0.95rem/1.1 Inter, sans-serif; text-decoration: none; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease; }
.hw-btn:hover { transform: translateY(-2px); border-color: var(--ev-accent2); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.hw-btn:focus-visible { outline: 3px solid var(--ev-accent2); outline-offset: 3px; }
.hw-btn.is-primary { border: 0; color: #1d0a00; background: linear-gradient(180deg, #ffb067, var(--ev-accent) 55%, #e2560a); box-shadow: 0 6px 26px rgba(255, 122, 26, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.hw-btn.is-primary:hover { box-shadow: 0 10px 34px rgba(255, 122, 26, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.hw-btn.is-ghost { background: rgba(12, 6, 20, 0.55); backdrop-filter: blur(6px); }
.hw-btn.is-big { min-height: 52px; padding: 0.8rem 1.6rem; font-size: 1.05rem; }
.hw-btn.is-small { min-height: 36px; padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.hw-btn.is-danger { border-color: rgba(255, 107, 129, 0.5); color: #ffc2cc; }
.hw-btn[disabled], .hw-btn.is-busy { opacity: 0.55; pointer-events: none; }
.hw-link { border: 0; background: none; padding: 0; color: var(--ev-accent2); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hw-kicker { display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 0.4rem; color: var(--ev-accent2); font: 800 0.78rem/1 Inter, sans-serif; letter-spacing: 0.22em; text-transform: uppercase; }
.hw-pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ev-accent); box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.7); animation: hw-pulse 1.8s ease-out infinite; }
@keyframes hw-pulse { to { box-shadow: 0 0 0 12px rgba(255, 122, 26, 0); } }
.hw-chip { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.3rem 0.75rem; border-radius: 999px; font: 700 0.8rem/1.2 Inter, sans-serif; background: rgba(255, 255, 255, 0.08); color: var(--ev-ink); white-space: nowrap; }
.hw-chip i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hw-chip.is-draft { color: #d9cdea; } .hw-chip.is-wait { color: var(--ev-wait); background: rgba(255, 211, 107, 0.12); } .hw-chip.is-ok { color: var(--ev-ok); background: rgba(125, 255, 176, 0.12); }
.hw-chip.is-bad { color: var(--ev-bad); background: rgba(255, 107, 129, 0.13); } .hw-chip.is-lock { color: var(--ev-accent2); background: rgba(255, 122, 26, 0.14); }
.hw-tag { display: inline-block; margin-top: 0.45rem; padding: 0.2rem 0.6rem; border-radius: 6px; background: var(--ev-accent); color: #1d0a00; font: 800 0.7rem/1.2 Inter, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.hw-tag.is-next { background: rgba(164, 99, 255, 0.25); color: #e4d2ff; }

/* ---- hero ---- */
.hw-hero { position: relative; min-height: clamp(520px, 72vh, 760px); display: flex; align-items: center; padding: 3rem 0 4.5rem; isolation: isolate; }
.hw-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hw-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 40%; animation: hw-zoom 26s ease-in-out infinite alternate; }
.hw-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 6, 20, 0.96) 0%, rgba(12, 6, 20, 0.82) 30%, rgba(12, 6, 20, 0.2) 58%, transparent 75%), linear-gradient(180deg, rgba(12, 6, 20, 0.4), transparent 22%, transparent 70%, var(--ev-bg) 100%); }
@keyframes hw-zoom { to { transform: scale(1.06); } }
.hw-hero-in { display: flex; }
.hw-hero-text { max-width: 560px; animation: hw-rise 0.8s ease both; }
@keyframes hw-rise { from { opacity: 0; transform: translateY(18px); } }
.hw-title { margin: 0 0 0.8rem; line-height: 0.9; }
.hw-title-word { display: block; font: 400 clamp(3.4rem, 9vw, 6.6rem)/0.9 var(--ev-display); letter-spacing: 0.03em; color: var(--ev-accent); background: linear-gradient(180deg, #ffe0a6 0%, #ffb067 30%, #ff7a1a 62%, #b53a00 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 0 #2a0f00) drop-shadow(0 0 26px rgba(255, 122, 26, 0.45)); animation: hw-flicker 6s linear infinite; }
.hw-title-sub { display: block; margin-top: 0.35rem; font: 800 clamp(1.4rem, 3.2vw, 2.2rem)/1.1 var(--ev-head); letter-spacing: 0.06em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6); }
.hw-title-sub b { color: var(--ev-glow); text-shadow: 0 0 18px rgba(164, 99, 255, 0.7); }
@keyframes hw-flicker { 0%, 46%, 50%, 54%, 100% { opacity: 1; } 48% { opacity: 0.72; } 52% { opacity: 0.85; } }
.hw-tagline { margin: 0 0 1.4rem; max-width: 46ch; font-size: 1.12rem; color: #e7dcf5; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
.hw-ms { margin: 0 0 1.4rem; }
.hw-ms-label { margin: 0 0 0.55rem; font: 800 0.85rem/1.3 Inter, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ev-accent2); }
.hw-ms-label small { margin-left: 0.4rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ev-mute); font-size: 0.85rem; }
.hw-ms-sub { margin: 0.55rem 0 0; color: var(--ev-mute); font-size: 0.9rem; }
.hw-ms-big { display: inline-flex; align-items: center; gap: 0.7rem; padding: 0.8rem 1.2rem; border-radius: 16px; background: rgba(12, 6, 20, 0.6); border: 1px solid var(--ev-line2); font: 800 1.4rem/1 var(--ev-head); color: #fff; }
.hw-ms-big .hw-ic { color: var(--ev-accent); width: 1.6rem; height: 1.6rem; }
.hw-cd { display: inline-flex; align-items: center; gap: 0.45rem; }
.hw-cd-u { display: grid; justify-items: center; gap: 0.3rem; min-width: 76px; padding: 0.7rem 0.5rem 0.55rem; border-radius: 14px; background: linear-gradient(180deg, rgba(60, 28, 92, 0.85), rgba(22, 10, 36, 0.92)); border: 1px solid var(--ev-line2); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 24px rgba(164, 99, 255, 0.18); }
.hw-cd-u b { font: 700 clamp(1.8rem, 4vw, 2.6rem)/1 "JetBrains Mono", monospace; color: #fff; text-shadow: 0 0 18px rgba(255, 122, 26, 0.55); }
.hw-cd-u b.is-tick { animation: hw-tick 0.35s ease; }
.hw-cd-u span { font: 700 0.68rem/1 Inter, sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ev-mute); }
.hw-cd-sep { font: 700 1.6rem/1 "JetBrains Mono", monospace; font-style: normal; color: var(--ev-accent); opacity: 0.7; animation: hw-blink 1s steps(2) infinite; }
.hw-cd.is-skel b { opacity: 0.4; }
@keyframes hw-tick { from { transform: translateY(-6px); opacity: 0.4; } }
@keyframes hw-blink { 50% { opacity: 0.15; } }
.hw-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.hw-cta-note { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ev-mute); font-size: 0.9rem; }
.hw-stats { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.hw-stats li { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 0.55rem; align-items: center; padding: 0.55rem 0.9rem; border-radius: 14px; background: rgba(12, 6, 20, 0.62); border: 1px solid var(--ev-line); backdrop-filter: blur(6px); animation: hw-rise 0.6s ease both; animation-delay: calc(0.3s + var(--i) * 0.08s); }
.hw-stats .hw-ic { grid-row: span 2; width: 1.4rem; height: 1.4rem; color: var(--ev-accent2); }
.hw-stats b { font: 800 1.15rem/1.1 var(--ev-head); color: #fff; }
.hw-stats span { font-size: 0.75rem; color: var(--ev-mute); }

/* ---- section bar ---- */
.hw-bar { position: sticky; top: var(--hw-bar-top, 64px); z-index: 30; display: flex; justify-content: center; margin: -1.6rem 0 0; padding: 0 16px; pointer-events: none; }
.hw-bar-in { display: flex; gap: 0.3rem; padding: 0.35rem; border-radius: 999px; background: rgba(20, 9, 32, 0.88); border: 1px solid var(--ev-line2); backdrop-filter: blur(10px); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5); pointer-events: auto; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.hw-bar-in a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 40px; padding: 0.45rem 1rem; border-radius: 999px; color: var(--ev-mute); font: 700 0.9rem/1 Inter, sans-serif; text-decoration: none; white-space: nowrap; transition: color 0.15s ease, background 0.15s ease; }
.hw-bar-in a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.hw-bar-in a.is-on { color: #1d0a00; background: linear-gradient(180deg, #ffb067, var(--ev-accent)); }
.hw-bar-in a em { font-style: normal; padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(164, 99, 255, 0.3); color: #fff; font-size: 0.75rem; }
.hw-bar-in a.is-on em { background: rgba(0, 0, 0, 0.2); color: #1d0a00; }
.hw-bar-art { width: 22px; height: 22px; }

/* ---- sections ---- */
.hw-sec { padding: clamp(2.6rem, 6vw, 4.6rem) 0 0; }
.hw-sec-h { margin: 0 0 1.6rem; text-align: center; }
.hw-sec-h h2 { margin: 0; font: 800 clamp(1.7rem, 4vw, 2.6rem)/1.1 var(--ev-head); color: #fff; text-shadow: 0 0 30px rgba(164, 99, 255, 0.35); }
.hw-sec-sub { margin: 0.6rem auto 0; max-width: 58ch; color: var(--ev-mute); }
.hw-in { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.hw-in.is-in { opacity: 1; transform: none; }

/* timeline */
.hw-time { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.hw-time li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; padding: 1.1rem; border-radius: 18px; background: var(--ev-card); border: 1px solid var(--ev-line); animation: hw-rise 0.6s ease both; animation-delay: calc(var(--i) * 0.08s); }
.hw-time li.is-done { opacity: 0.6; }
.hw-time li.is-now { border-color: var(--ev-accent); box-shadow: 0 0 0 1px var(--ev-accent), 0 0 34px rgba(255, 122, 26, 0.3); }
.hw-time-dot { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(164, 99, 255, 0.18); color: #e4d2ff; }
.hw-time li.is-now .hw-time-dot { background: var(--ev-accent); color: #1d0a00; }
.hw-time li.is-done .hw-time-dot { background: rgba(125, 255, 176, 0.15); color: var(--ev-ok); }
.hw-time-dot .hw-ic { width: 22px; height: 22px; }
.hw-time-when { margin: 0; font: 800 0.95rem/1.2 Inter, sans-serif; color: var(--ev-accent2); }
.hw-time-when small { color: var(--ev-mute); font-weight: 600; }
.hw-time h3 { margin: 0.25rem 0 0.2rem; font: 800 1.05rem/1.25 var(--ev-head); color: #fff; }
.hw-time p { margin: 0; color: var(--ev-mute); font-size: 0.9rem; }

/* steps */
.hw-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.hw-steps li { position: relative; padding: 1.4rem 1.2rem 1.3rem; border-radius: 20px; text-align: center; background: linear-gradient(180deg, var(--ev-card2), var(--ev-card)); border: 1px solid var(--ev-line); transition: transform 0.2s ease, border-color 0.2s ease; animation: hw-rise 0.6s ease both; animation-delay: calc(var(--i) * 0.1s); }
.hw-steps li:hover { transform: translateY(-4px); border-color: var(--ev-accent2); }
.hw-steps li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -0.85rem; width: 0.7rem; height: 2px; background: linear-gradient(90deg, var(--ev-accent), transparent); }
.hw-step-n { position: absolute; top: 0.8rem; left: 0.9rem; font: 400 1.6rem/1 var(--ev-display); color: var(--ev-glow); opacity: 0.85; }
.hw-step-ic { display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 0.7rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 26, 0.24), transparent 70%); }
.hw-step-ic img { width: 64px; height: 64px; animation: hw-bob 3.6s ease-in-out infinite; animation-delay: calc(var(--i) * 0.4s); }
.hw-step-ic .hw-ic { width: 44px; height: 44px; color: var(--ev-accent2); }
@keyframes hw-bob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.hw-steps h3 { margin: 0 0 0.3rem; font: 800 1.2rem/1.2 var(--ev-head); color: #fff; }
.hw-steps p { margin: 0; color: var(--ev-mute); font-size: 0.92rem; }

/* prizes */
.hw-sec-prizes { position: relative; margin-top: clamp(2.6rem, 6vw, 4.6rem); padding-bottom: clamp(2.6rem, 6vw, 4rem); background: radial-gradient(800px 300px at 50% 0, rgba(255, 122, 26, 0.16), transparent 70%), linear-gradient(180deg, rgba(108, 43, 217, 0.12), rgba(108, 43, 217, 0.04)); border-block: 1px solid var(--ev-line); }
.hw-prize-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.4rem; }
.hw-prize-col { padding: 1.2rem; border-radius: 22px; background: var(--ev-card); border: 1px solid var(--ev-line2); }
.hw-prize-col h3 { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 0 0 1rem; font: 800 1.25rem/1.2 var(--ev-head); color: #fff; }
.hw-prize-col h3 .hw-ic { color: var(--ev-glow); }
.hw-podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.hw-place { position: relative; display: grid; justify-items: center; gap: 0.35rem; padding: 0.9rem 0.5rem 1rem; border-radius: 16px 16px 10px 10px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); border: 1px solid rgba(255, 255, 255, 0.1); }
.hw-place.is-p1 { order: 2; padding-top: 1.4rem; border-color: rgba(255, 210, 90, 0.55); background: linear-gradient(180deg, rgba(255, 210, 90, 0.2), rgba(255, 122, 26, 0.05)); box-shadow: 0 0 40px rgba(255, 190, 60, 0.18); }
.hw-place.is-p2 { order: 1; } .hw-place.is-p3 { order: 3; }
.hw-trophy img { width: 92px; height: 92px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.5)); transition: transform 0.25s ease; }
.hw-place.is-p1 .hw-trophy img { width: 120px; height: 120px; animation: hw-bob 3.2s ease-in-out infinite; }
.hw-place:hover .hw-trophy img { transform: scale(1.08) rotate(-4deg); }
.hw-medal { display: inline-flex; align-items: baseline; font: 400 1.9rem/1 var(--ev-display); color: #fff; }
.hw-medal small { font: 800 0.8rem/1 Inter, sans-serif; color: var(--ev-mute); margin-left: 1px; }
.hw-place.is-p1 .hw-medal { color: #ffd76b; } .hw-place.is-p2 .hw-medal { color: #dfe6f0; } .hw-place.is-p3 .hw-medal { color: #e39a5a; }
.hw-place strong { display: inline-flex; align-items: center; gap: 0.35rem; font: 800 0.92rem/1.25 Inter, sans-serif; color: #fff; }
.hw-place strong .hw-ic { color: var(--ev-accent2); }

/* scoring */
.hw-split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin: 0 auto 1.6rem; max-width: 760px; }
.hw-half { display: grid; justify-items: center; gap: 0.2rem; padding: 1.3rem; border-radius: 22px; text-align: center; border: 1px solid var(--ev-line2); }
.hw-half.is-judge { background: linear-gradient(160deg, rgba(164, 99, 255, 0.28), rgba(40, 20, 62, 0.6)); }
.hw-half.is-players { background: linear-gradient(200deg, rgba(255, 122, 26, 0.28), rgba(40, 20, 62, 0.6)); }
.hw-half .hw-ic { width: 34px; height: 34px; color: #fff; }
.hw-half b { font: 400 3rem/1 var(--ev-display); color: #fff; }
.hw-half span { font: 800 1rem/1.2 var(--ev-head); color: #fff; }
.hw-half small { color: var(--ev-mute); }
.hw-vs { font: 400 2.4rem/1 var(--ev-display); color: var(--ev-accent); }
.hw-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.hw-crit { padding: 1.1rem 1.1rem 1rem; border-radius: 18px; background: var(--ev-card); border: 1px solid var(--ev-line); animation: hw-rise 0.6s ease both; animation-delay: calc(var(--i) * 0.07s); }
.hw-crit.is-bonus { border-style: dashed; border-color: rgba(255, 176, 103, 0.45); background: linear-gradient(180deg, rgba(255, 122, 26, 0.12), var(--ev-card)); }
.hw-crit header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.5rem; }
.hw-crit-pts { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(180deg, rgba(164, 99, 255, 0.4), rgba(108, 43, 217, 0.3)); }
.hw-crit.is-bonus .hw-crit-pts { background: linear-gradient(180deg, rgba(255, 176, 103, 0.5), rgba(255, 122, 26, 0.3)); }
.hw-crit-pts b { font: 800 1.4rem/1 var(--ev-head); color: #fff; } .hw-crit-pts small { font: 700 0.62rem/1 Inter, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: #e4d2ff; }
.hw-crit h3 { margin: 0; font: 800 1.02rem/1.25 var(--ev-head); color: #fff; }
.hw-crit > p { margin: 0 0 0.7rem; color: var(--ev-mute); font-size: 0.88rem; }
.hw-crit ul { display: grid; gap: 0.45rem; margin: 0; padding: 0; list-style: none; }
.hw-crit li { display: grid; grid-template-columns: minmax(0, 1fr) 70px auto; align-items: center; gap: 0.6rem; font-size: 0.87rem; color: #e7dcf5; cursor: help; }
.hw-crit li i { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ev-accent), var(--ev-accent2)) 0 0 / var(--w) 100% no-repeat, rgba(255, 255, 255, 0.08); }
.hw-crit li b { min-width: 1.6em; text-align: right; color: var(--ev-accent2); }

/* questions */
.hw-qs { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; max-width: 860px; margin-inline: auto; }
.hw-qs li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; padding: 0.9rem 1.1rem; border-radius: 16px; background: var(--ev-card); border: 1px solid var(--ev-line); transition: border-color 0.2s ease, transform 0.2s ease; animation: hw-rise 0.6s ease both; animation-delay: calc(var(--i) * 0.07s); }
.hw-qs li:hover { border-color: var(--ev-accent2); transform: translateX(4px); }
.hw-q-ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 122, 26, 0.16); color: var(--ev-accent2); }
.hw-q-ic .hw-ic { width: 24px; height: 24px; }
.hw-qs h3 { margin: 0; font: 800 1rem/1.2 var(--ev-head); color: #fff; }
.hw-qs p { margin: 0.15rem 0 0; color: var(--ev-mute); font-size: 0.88rem; }

/* stars (read-only, partial fill) */
.hw-stars { display: inline-flex; gap: 2px; }
.hw-st { position: relative; display: inline-block; width: 20px; height: 20px; }
.hw-st svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: rgba(255, 255, 255, 0.12); }
.hw-st svg.hw-st-on { fill: #ffa53a; clip-path: inset(0 calc(100% - var(--f)) 0 0); filter: drop-shadow(0 0 4px rgba(255, 140, 40, 0.6)); }
/* stars (input) */
.hw-rate { display: inline-flex; gap: 4px; }
.hw-rate-b { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; cursor: pointer; transition: transform 0.12s ease; }
.hw-rate-b svg { width: 34px; height: 34px; fill: rgba(255, 255, 255, 0.12); stroke: rgba(255, 255, 255, 0.25); stroke-width: 1; transition: fill 0.12s ease, filter 0.12s ease, transform 0.15s ease; }
.hw-rate-b.is-on svg, .hw-rate-b.is-hover svg { fill: #ffa53a; stroke: #ffd29a; filter: drop-shadow(0 0 6px rgba(255, 140, 40, 0.7)); }
.hw-rate:hover .hw-rate-b.is-on:not(.is-hover) svg { fill: rgba(255, 165, 58, 0.35); filter: none; }
.hw-rate-b:hover svg { transform: scale(1.15); }
.hw-rate-b:focus-visible { outline: 2px solid var(--ev-accent2); }
.hw-rate-b[disabled] { cursor: not-allowed; opacity: 0.45; }
.hw-rate.is-pop .hw-rate-b.is-on svg { animation: hw-pop 0.35s ease; }
@keyframes hw-pop { 40% { transform: scale(1.35) rotate(-8deg); } }

/* rules */
.hw-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.hw-rules li { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 1rem; border-radius: 14px; background: var(--ev-card); border: 1px solid var(--ev-line); font-weight: 600; color: #efe6fb; animation: hw-rise 0.6s ease both; animation-delay: calc(var(--i) * 0.06s); }
.hw-rules .hw-ic { width: 26px; height: 26px; padding: 6px; box-sizing: content-box; border-radius: 10px; background: rgba(164, 99, 255, 0.18); color: #e4d2ff; }

/* final band */
.hw-final { margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(2.4rem, 6vw, 3.6rem) 0; text-align: center; background: radial-gradient(600px 220px at 50% 100%, rgba(255, 122, 26, 0.3), transparent 70%), linear-gradient(180deg, transparent, rgba(108, 43, 217, 0.2)); border-top: 1px solid var(--ev-line); }
.hw-final-in { display: grid; justify-items: center; gap: 1rem; }
.hw-final-h { margin: 0; font: 800 clamp(1.4rem, 3.4vw, 2.1rem)/1.2 var(--ev-head); color: #fff; }
.hw-final .hw-ctas { justify-content: center; }

/* ---- shared states ---- */
.hw-err { display: grid; justify-items: center; gap: 0.5rem; padding: 2rem 1rem; border-radius: 18px; text-align: center; background: rgba(255, 107, 129, 0.08); border: 1px solid rgba(255, 107, 129, 0.35); color: var(--ev-mute); }
.hw-err .hw-ic { width: 40px; height: 40px; color: var(--ev-bad); }
.hw-err b { color: #fff; font: 800 1.15rem/1.2 var(--ev-head); }
.hw-empty { display: grid; justify-items: center; gap: 0.6rem; padding: 2rem 1rem 2.4rem; text-align: center; color: var(--ev-mute); }
.hw-empty img { width: min(300px, 70%); height: auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.55)); animation: hw-bob 4s ease-in-out infinite; }
.hw-empty b { color: #fff; font: 800 1.3rem/1.2 var(--ev-head); }
.hw-skel { background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)) 0 0 / 200% 100%; animation: hw-shim 1.3s linear infinite; }
@keyframes hw-shim { to { background-position: -200% 0; } }
.hw-toast { position: fixed; left: 50%; bottom: 24px; z-index: 3000; max-width: min(520px, calc(100% - 32px)); padding: 0.8rem 1.2rem; border-radius: 14px; background: #24123a; border: 1px solid var(--ev-line2); color: #fff; font-weight: 600; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6); transform: translate(-50%, 140%); transition: transform 0.3s ease; }
.hw-toast.is-on { transform: translate(-50%, 0); }
.hw-toast.is-bad { border-color: rgba(255, 107, 129, 0.6); background: #3a1222; }

/* ---- page head (inner pages) ---- */
.hw-head { position: relative; padding: 2.6rem 0 3.4rem; overflow: hidden; isolation: isolate; }
.hw-head .hw-hero-bg img { object-position: 70% 35%; opacity: 0.55; animation: none; }
.hw-head .hw-hero-bg::after { background: linear-gradient(90deg, rgba(12, 6, 20, 0.97) 0%, rgba(12, 6, 20, 0.85) 45%, rgba(12, 6, 20, 0.5)), linear-gradient(180deg, transparent 60%, var(--ev-bg)); }
.hw-head h1 { margin: 0; font: 800 clamp(2rem, 5vw, 3.1rem)/1.05 var(--ev-head); color: #fff; }
.hw-head h1 em { font: 400 1.15em/1 var(--ev-display); font-style: normal; color: var(--ev-accent); text-shadow: 0 0 22px rgba(255, 122, 26, 0.5); }
.hw-head p { margin: 0.6rem 0 0; color: var(--ev-mute); max-width: 60ch; }
.hw-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.hw-mini-cd { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.9rem; border-radius: 14px; background: rgba(12, 6, 20, 0.7); border: 1px solid var(--ev-line2); }
.hw-mini-cd > span { font: 800 0.72rem/1.2 Inter, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ev-accent2); }
.hw-mini-cd .hw-cd-u { min-width: 50px; padding: 0.4rem 0.3rem; border-radius: 10px; box-shadow: none; }
.hw-mini-cd .hw-cd-u b { font-size: 1.25rem; } .hw-mini-cd .hw-cd-u span { font-size: 0.55rem; } .hw-mini-cd .hw-cd-sep { font-size: 1rem; }
.hw-body { padding-top: 2.2rem; }

/* ---- my entry ---- */
.hw-panel { position: relative; padding: clamp(1.1rem, 3vw, 1.8rem); border-radius: 22px; background: linear-gradient(180deg, var(--ev-card2), var(--ev-card)); border: 1px solid var(--ev-line2); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); }
.hw-panel + .hw-panel { margin-top: 1.2rem; }
.hw-panel-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.6rem 1rem; margin: 0 0 1.1rem; }
.hw-panel-h h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0; font: 800 1.4rem/1.2 var(--ev-head); color: #fff; }
.hw-panel-h h2 img { width: 40px; height: 40px; }
.hw-gate { display: grid; justify-items: center; gap: 0.8rem; padding: 2.6rem 1rem; text-align: center; }
.hw-gate img { width: 120px; height: 120px; animation: hw-bob 3.4s ease-in-out infinite; }
.hw-gate h2 { margin: 0; font: 800 1.7rem/1.2 var(--ev-head); color: #fff; }
.hw-gate p { margin: 0; max-width: 48ch; color: var(--ev-mute); }
.hw-servers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.8rem; margin: 0 0 1.1rem; border: 0; padding: 0; }
.hw-servers legend { margin: 0 0 0.6rem; padding: 0; font: 800 0.8rem/1 Inter, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ev-accent2); }
.hw-srv { position: relative; display: grid; gap: 0.2rem; padding: 1.1rem 1.1rem 1rem 3.4rem; border-radius: 16px; border: 2px solid var(--ev-line2); background: rgba(12, 6, 20, 0.5); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.hw-srv:hover { transform: translateY(-2px); border-color: var(--ev-accent2); }
.hw-srv input { position: absolute; opacity: 0; }
.hw-srv::before { content: ""; position: absolute; left: 1.1rem; top: 1.2rem; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--ev-mute); }
.hw-srv:has(input:checked) { border-color: var(--ev-accent); background: rgba(255, 122, 26, 0.12); box-shadow: 0 0 28px rgba(255, 122, 26, 0.22); }
.hw-srv:has(input:checked)::before { border-color: var(--ev-accent); background: radial-gradient(circle, var(--ev-accent) 45%, transparent 50%); }
.hw-srv:has(input:focus-visible) { outline: 3px solid var(--ev-accent2); outline-offset: 2px; }
.hw-srv b { font: 800 1.15rem/1.2 var(--ev-head); color: #fff; }
.hw-srv span { color: var(--ev-mute); font-size: 0.85rem; }
.hw-field { display: grid; gap: 0.35rem; margin: 0 0 1rem; }
.hw-field > span { font: 700 0.85rem/1.2 Inter, sans-serif; color: #efe6fb; }
.hw-field > span small { margin-left: 0.4rem; font-weight: 500; color: var(--ev-dim); }
.hw-field small.hw-hint { color: var(--ev-dim); font-size: 0.8rem; }
.hw-input { width: 100%; box-sizing: border-box; min-height: 46px; padding: 0.65rem 0.85rem; border-radius: 12px; border: 1px solid var(--ev-line2); background: rgba(8, 4, 14, 0.7); color: #fff; font: 500 1rem/1.4 Inter, sans-serif; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.hw-input:focus { outline: none; border-color: var(--ev-accent2); box-shadow: 0 0 0 3px rgba(255, 176, 103, 0.2); }
.hw-input.is-bad { border-color: var(--ev-bad); }
textarea.hw-input { min-height: 120px; resize: vertical; }
.hw-row2 { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 0.9rem; }
.hw-toggle { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1.1rem; padding: 0.8rem 1rem; border-radius: 14px; border: 1px solid var(--ev-line2); background: rgba(12, 6, 20, 0.45); cursor: pointer; }
.hw-toggle img { width: 44px; height: 44px; }
.hw-toggle div { flex: 1; } .hw-toggle b { display: block; color: #fff; } .hw-toggle small { color: var(--ev-mute); }
.hw-switch { position: relative; flex: none; width: 50px; height: 28px; }
.hw-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.hw-switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.15); transition: background 0.2s ease; pointer-events: none; }
.hw-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform 0.2s ease; }
.hw-switch input:checked + i { background: var(--ev-accent); } .hw-switch input:checked + i::after { transform: translateX(22px); }
.hw-switch input:focus-visible + i { outline: 3px solid var(--ev-accent2); outline-offset: 2px; }
.hw-regline { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.hw-regline li { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.85rem; border-radius: 12px; background: rgba(12, 6, 20, 0.55); border: 1px solid var(--ev-line); color: #efe6fb; font-weight: 600; }
.hw-regline .hw-ic { color: var(--ev-accent2); }
.hw-regline li.is-ok { border-color: rgba(125, 255, 176, 0.4); } .hw-regline li.is-ok .hw-ic { color: var(--ev-ok); }
.hw-regline li.is-wait { border-color: rgba(255, 211, 107, 0.4); } .hw-regline li.is-wait .hw-ic { color: var(--ev-wait); }
.hw-banner { display: flex; align-items: flex-start; gap: 0.9rem; margin: 0 0 1.2rem; padding: 1rem 1.1rem; border-radius: 16px; border: 1px solid var(--ev-line2); background: rgba(12, 6, 20, 0.55); }
.hw-banner img { width: 56px; height: 56px; flex: none; }
.hw-banner b { display: block; margin-bottom: 0.15rem; color: #fff; font: 800 1.05rem/1.25 var(--ev-head); }
.hw-banner p { margin: 0; color: var(--ev-mute); }
.hw-banner.is-bad { border-color: rgba(255, 107, 129, 0.5); background: rgba(255, 107, 129, 0.08); }
.hw-banner.is-ok { border-color: rgba(125, 255, 176, 0.4); background: rgba(125, 255, 176, 0.06); }
.hw-banner.is-wait { border-color: rgba(255, 211, 107, 0.45); background: rgba(255, 211, 107, 0.06); }
.hw-banner.is-lock { border-color: rgba(255, 122, 26, 0.5); background: rgba(255, 122, 26, 0.08); }
.hw-banner blockquote { margin: 0.5rem 0 0; padding: 0.6rem 0.8rem; border-left: 3px solid var(--ev-bad); border-radius: 6px; background: rgba(0, 0, 0, 0.25); color: #ffdbe1; }
/* pictures */
.hw-drop { position: relative; display: grid; justify-items: center; gap: 0.4rem; padding: 1.6rem 1rem; border-radius: 18px; border: 2px dashed rgba(255, 176, 103, 0.4); background: radial-gradient(circle at 50% 0, rgba(255, 122, 26, 0.12), transparent 70%), rgba(12, 6, 20, 0.45); text-align: center; cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.hw-drop:hover, .hw-drop:focus-visible { border-color: var(--ev-accent); outline: none; }
.hw-drop.is-over { border-color: var(--ev-ok); background: rgba(125, 255, 176, 0.08); transform: scale(1.01); }
.hw-drop img { width: 64px; height: 64px; animation: hw-bob 3.4s ease-in-out infinite; }
.hw-drop b { color: #fff; font: 800 1.1rem/1.2 var(--ev-head); }
.hw-drop span { color: var(--ev-mute); font-size: 0.9rem; }
.hw-drop.is-full { cursor: default; opacity: 0.6; }
.hw-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.7rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.hw-pic { position: relative; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #140a20; border: 2px solid transparent; animation: hw-rise 0.35s ease both; }
.hw-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-pic.is-main { grid-column: span 2; grid-row: span 2; border-color: var(--ev-accent); box-shadow: 0 0 30px rgba(255, 122, 26, 0.3); }
.hw-pic-main { position: absolute; top: 0.5rem; left: 0.5rem; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: var(--ev-accent); color: #1d0a00; font: 800 0.72rem/1.2 Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.hw-pic-acts { position: absolute; right: 0.4rem; bottom: 0.4rem; display: flex; gap: 0.3rem; }
.hw-pic-acts button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 10px; background: rgba(8, 4, 14, 0.8); color: #fff; cursor: pointer; }
.hw-pic-acts button:hover { background: var(--ev-accent); color: #1d0a00; }
.hw-pic-acts button.is-x:hover { background: var(--ev-bad); color: #fff; }
.hw-pic-held { position: absolute; inset: auto 0 0 0; padding: 0.35rem 0.5rem; background: rgba(58, 18, 34, 0.9); color: #ffd36b; font-size: 0.75rem; font-weight: 700; }
.hw-pic.is-up img { filter: brightness(0.45) blur(1px); }
.hw-pic-prog { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 0.4rem; color: #fff; font: 800 1rem/1 "JetBrains Mono", monospace; }
.hw-pic-prog i { display: block; width: 70%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ev-accent), var(--ev-accent2)) 0 0 / var(--p, 0%) 100% no-repeat, rgba(255, 255, 255, 0.2); }
.hw-pic.is-err { border-color: var(--ev-bad); }
.hw-pic-err { position: absolute; inset: 0; display: grid; place-items: center; padding: 0.6rem; text-align: center; background: rgba(58, 18, 34, 0.85); color: #ffdbe1; font-size: 0.8rem; font-weight: 600; }
.hw-count { color: var(--ev-mute); font-size: 0.85rem; }
.hw-pic-note { margin: 0.7rem 0 0; padding: 0.55rem 0.8rem; border-radius: 10px; background: rgba(255, 211, 107, 0.1); border: 1px solid rgba(255, 211, 107, 0.4); color: var(--ev-wait); font-weight: 600; font-size: 0.9rem; }
.hw-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--ev-line); }
.hw-acts .hw-spacer { flex: 1; }
.hw-saved { color: var(--ev-mute); font-size: 0.85rem; }
.hw-celebrate { position: fixed; inset: 0; z-index: 2500; pointer-events: none; overflow: hidden; }
.hw-celebrate i { position: absolute; top: -40px; width: 30px; height: 30px; background: center / contain no-repeat; animation: hw-fall var(--t) linear forwards; }
@keyframes hw-fall { to { transform: translate(var(--x), 110vh) rotate(var(--r)); } }

/* ---- entries directory ---- */
.hw-dim { color: var(--ev-dim); font-weight: 500; }
.hw-bar.is-top { margin: 1rem 0 0; }
.hw-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 0 0 0.9rem; }
.hw-seg { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.3rem; border-radius: 999px; background: rgba(20, 9, 32, 0.8); border: 1px solid var(--ev-line2); }
.hw-seg button { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0.4rem 0.95rem; border: 0; border-radius: 999px; background: transparent; color: var(--ev-mute); font: 700 0.9rem/1 Inter, sans-serif; cursor: pointer; }
.hw-seg button:hover { color: #fff; }
.hw-seg button.is-on { background: linear-gradient(180deg, #ffb067, var(--ev-accent)); color: #1d0a00; }
.hw-seg em { font-style: normal; padding: 0.1rem 0.45rem; border-radius: 999px; background: rgba(164, 99, 255, 0.3); color: #fff; font-size: 0.75rem; }
.hw-seg button.is-on em { background: rgba(0, 0, 0, 0.2); color: #1d0a00; }
.hw-search { position: relative; flex: 1 1 260px; }
.hw-search .hw-ic { position: absolute; left: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--ev-dim); }
.hw-search .hw-input { padding-left: 2.6rem; border-radius: 999px; }
.hw-egrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.hw-ecard { display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: var(--ev-card); border: 1px solid var(--ev-line); color: inherit; text-decoration: none; transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; animation: hw-rise 0.5s ease both; animation-delay: calc(var(--i, 0) * 0.04s); }
.hw-ecard:hover, .hw-ecard:focus-visible { transform: translateY(-5px) rotate(-0.4deg); border-color: var(--ev-accent2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 122, 26, 0.18); outline: none; }
.hw-ecard-img { position: relative; display: block; aspect-ratio: 16 / 10; background: #140a20; overflow: hidden; }
.hw-ecard-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, filter 0.3s ease; filter: saturate(0.92); }
.hw-ecard:hover .hw-ecard-img img { transform: scale(1.06); filter: saturate(1.1); }
.hw-ecard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 6, 20, 0.7)); }
.hw-ecard-spot { position: absolute; top: 0.5rem; right: 0.5rem; z-index: 1; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6)); }
.hw-ecard-spot img { width: 40px; height: 40px; }
.hw-ecard-n { position: absolute; left: 0.6rem; bottom: 0.55rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.55rem; border-radius: 999px; background: rgba(8, 4, 14, 0.75); color: #fff; font: 700 0.75rem/1.2 Inter, sans-serif; }
.hw-ecard-rated { position: absolute; top: 0.55rem; left: 0.55rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.6rem; border-radius: 999px; background: rgba(125, 255, 176, 0.9); color: #062712; font: 800 0.72rem/1.2 Inter, sans-serif; }
.hw-ecard-body { display: grid; gap: 0.25rem; padding: 0.85rem 1rem 1rem; }
.hw-ecard-body > b { font: 800 1.1rem/1.2 var(--ev-head); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-ecard-body > span { color: #e7dcf5; font-size: 0.88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-ecard-meta { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.3rem; }
.hw-ecard-meta em { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.2rem 0.55rem; border-radius: 8px; background: rgba(164, 99, 255, 0.16); color: #e4d2ff; font: 700 0.74rem/1.2 Inter, sans-serif; font-style: normal; }
.hw-ecard-meta em.is-stars { background: rgba(255, 165, 58, 0.12); color: #ffd29a; }
.hw-ecard-meta .hw-st { width: 14px; height: 14px; }
.hw-ecard.is-skel { pointer-events: none; }
.hw-ecard.is-skel .hw-ecard-body > * { display: block; }
.hw-more { display: flex; justify-content: center; margin-top: 1.4rem; }

/* ---- entry showcase ---- */
.hw-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 1rem; color: var(--ev-dim); font-size: 0.88rem; }
.hw-crumbs a { color: var(--ev-mute); text-decoration: none; }
.hw-crumbs a:hover { color: var(--ev-accent2); }
.hw-show-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 1.6rem; align-items: start; }
.hw-gal-main { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--ev-line2); border-radius: 22px; overflow: hidden; background: #140a20; cursor: zoom-in; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 50px rgba(108, 43, 217, 0.2); }
.hw-gal-main img { display: block; width: 100%; height: auto; max-height: 72vh; object-fit: cover; aspect-ratio: 16 / 9; transition: transform 0.6s ease; }
.hw-gal-main:hover img { transform: scale(1.025); }
.hw-gal-main.is-empty { display: grid; place-items: center; aspect-ratio: 16 / 9; cursor: default; }
.hw-gal-zoom { position: absolute; right: 0.8rem; bottom: 0.8rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px; background: rgba(8, 4, 14, 0.78); color: #fff; font: 700 0.82rem/1.2 Inter, sans-serif; backdrop-filter: blur(4px); }
.hw-gal-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 0.55rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.hw-gal-strip button { display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #140a20; cursor: pointer; opacity: 0.75; transition: opacity 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.hw-gal-strip button:hover { opacity: 1; transform: translateY(-2px); }
.hw-gal-strip button.is-on { border-color: var(--ev-accent); opacity: 1; }
.hw-gal-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-info { position: sticky; top: calc(var(--hw-bar-top, 64px) + 70px); padding: 1.3rem; border-radius: 22px; background: linear-gradient(180deg, var(--ev-card2), var(--ev-card)); border: 1px solid var(--ev-line2); }
.hw-show-title { margin: 0 0 0.5rem; font: 800 clamp(1.7rem, 3.6vw, 2.4rem)/1.1 var(--ev-head); color: #fff; text-shadow: 0 0 26px rgba(255, 122, 26, 0.3); }
.hw-by { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin: 0 0 1rem; color: var(--ev-mute); }
.hw-by .hw-ic { color: var(--ev-accent2); }
.hw-by b { color: #fff; }
.hw-by a { color: var(--ev-accent2); }
.hw-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.hw-facts li { display: grid; justify-items: center; gap: 0.15rem; padding: 0.7rem 0.4rem; border-radius: 14px; background: rgba(12, 6, 20, 0.55); border: 1px solid var(--ev-line); text-align: center; }
.hw-facts .hw-ic { color: var(--ev-accent2); }
.hw-facts span { font: 700 0.66rem/1 Inter, sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ev-dim); }
.hw-facts b { font: 800 1rem/1.2 var(--ev-head); color: #fff; }
.hw-facts li.is-grid b { font: 700 1.3rem/1.1 "JetBrains Mono", monospace; color: var(--ev-accent2); }
.hw-spot { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1rem; padding: 0.7rem 0.9rem; border-radius: 14px; background: linear-gradient(120deg, rgba(164, 99, 255, 0.25), rgba(255, 122, 26, 0.12)); border: 1px solid var(--ev-line2); }
.hw-spot b { display: block; color: #fff; }
.hw-spot span { color: var(--ev-mute); font-size: 0.85rem; }
.hw-desc { margin: 0 0 1rem; padding: 0.9rem 1rem; border-radius: 14px; background: rgba(12, 6, 20, 0.45); color: #ece2f8; line-height: 1.6; }
.hw-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; }
.hw-share > span { width: 100%; font: 800 0.72rem/1 Inter, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ev-dim); }
.hw-vote { margin-top: 2rem; padding: clamp(1.1rem, 3vw, 1.8rem); border-radius: 24px; background: radial-gradient(600px 200px at 100% 0, rgba(255, 122, 26, 0.16), transparent 70%), linear-gradient(180deg, var(--ev-card2), var(--ev-card)); border: 1px solid var(--ev-line2); }
.hw-vote-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; margin-bottom: 1rem; }
.hw-vote-h h2 { margin: 0; font: 800 clamp(1.4rem, 3vw, 1.9rem)/1.15 var(--ev-head); color: #fff; }
.hw-vq { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.hw-vq li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; padding: 0.75rem 0.9rem; border-radius: 16px; background: rgba(12, 6, 20, 0.5); border: 1px solid var(--ev-line); animation: hw-rise 0.5s ease both; animation-delay: calc(var(--i) * 0.06s); }
.hw-vq h3 { margin: 0; font: 800 1rem/1.2 var(--ev-head); color: #fff; }
.hw-vq p { margin: 0.15rem 0 0; color: var(--ev-mute); font-size: 0.86rem; }
.hw-vq-bar { display: flex; align-items: center; gap: 0.6rem; min-width: 190px; }
.hw-vq-bar i { flex: 1; height: 10px; border-radius: 5px; background: linear-gradient(90deg, #ff7a1a, #ffb067) 0 0 / var(--w) 100% no-repeat, rgba(255, 255, 255, 0.08); }
.hw-vq-bar b { font: 800 1.05rem/1 var(--ev-head); color: #ffd29a; }
.hw-avg { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 1rem; border-radius: 16px; background: rgba(255, 165, 58, 0.1); border: 1px solid rgba(255, 165, 58, 0.35); }
.hw-avg > b { font: 400 2.4rem/1 var(--ev-display); color: #ffd29a; }
.hw-avg > span { color: var(--ev-mute); font-size: 0.85rem; }
.hw-vote-gate { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin: 0 0 1rem; padding: 0.8rem 1rem; border-radius: 14px; background: rgba(164, 99, 255, 0.12); border: 1px solid var(--ev-line2); color: #ece2f8; font-weight: 600; }
.hw-vote-gate span { flex: 1 1 220px; }
.hw-vote-gate img { width: 40px; height: 40px; }
.hw-vote-gate .hw-ic { width: 26px; height: 26px; color: var(--ev-accent2); }
.hw-vote-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: 1.1rem; }
.hw-vote-note { display: flex; align-items: center; gap: 0.5rem; margin: 1rem 0 0; color: var(--ev-ok); font-weight: 600; }
.hw-burst { position: fixed; z-index: 2600; width: 0; height: 0; pointer-events: none; }
.hw-burst i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle, #ffe0a6, #ff7a1a); animation: hw-burst 0.8s ease-out forwards; transform: rotate(var(--a)) translateY(0); }
@keyframes hw-burst { to { transform: rotate(var(--a)) translateY(-90px) scale(0.2); opacity: 0; } }
.hw-more-builds { margin-top: 2.6rem; }

/* lightbox */
.hw-lb { position: fixed; inset: 0; z-index: 2200; display: grid; grid-template-columns: auto 1fr auto; align-items: center; background: rgba(6, 3, 10, 0.94); backdrop-filter: blur(6px); }
.hw-lb-fig { display: grid; justify-items: center; gap: 0.6rem; margin: 0; padding: 3.4rem 0.5rem 1rem; height: 100%; box-sizing: border-box; align-content: center; }
.hw-lb-fig img { max-width: 100%; max-height: calc(100vh - 7rem); border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7); opacity: 0; transform: scale(0.98); transition: opacity 0.25s ease, transform 0.25s ease; }
.hw-lb-fig img.is-in { opacity: 1; transform: none; }
.hw-lb-fig figcaption { color: var(--ev-mute); font: 700 0.9rem/1 "JetBrains Mono", monospace; }
.hw-lb-x { position: absolute; top: 0.8rem; right: 0.8rem; z-index: 1; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.hw-lb-nav { position: relative; width: 56px; height: 56px; margin: 0 0.6rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.1); cursor: pointer; }
.hw-lb-nav::before { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 14px; border: solid #fff; border-width: 0 3px 3px 0; transform: translateX(-3px) rotate(-45deg); }
.hw-lb-nav.is-prev::before { transform: translateX(3px) rotate(135deg); }
.hw-lb-x:hover, .hw-lb-nav:hover { background: var(--ev-accent); }
.hw-lb.is-one .hw-lb-nav { visibility: hidden; }

/* ---- results ---- */
.hw-res-head { text-align: center; padding-bottom: 4rem; }
.hw-res-in { display: grid; justify-items: center; }
.hw-res-head h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
.hw-res-cd { margin-top: 1.2rem; }
.hw-res-cd .hw-ms-label { text-align: center; }
.hw-res-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 1.4rem; }
.hw-res-col { padding: 1.2rem; border-radius: 24px; background: radial-gradient(500px 200px at 50% 0, rgba(255, 190, 60, 0.14), transparent 70%), var(--ev-card); border: 1px solid var(--ev-line2); }
.hw-res-col h2 { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin: 0 0 1.1rem; font: 800 1.4rem/1.2 var(--ev-head); color: #fff; }
.hw-res-col h2 .hw-ic { color: var(--ev-glow); }
.hw-res-col.is-mystery .hw-trophy img { filter: brightness(0.25) drop-shadow(0 0 16px rgba(164, 99, 255, 0.6)); }
.hw-mystery { position: absolute; top: 30%; left: 50%; transform: translate(-50%, -50%); font: 400 3.4rem/1 var(--ev-display); color: var(--ev-accent); text-shadow: 0 0 20px rgba(255, 122, 26, 0.7); animation: hw-flicker 3s linear infinite; }
.hw-podium.is-live .hw-place { padding: 0; }
.hw-podium.is-live .hw-place a { display: grid; justify-items: center; gap: 0.3rem; width: 100%; padding: 0.8rem 0.5rem 1rem; color: inherit; text-decoration: none; border-radius: inherit; transition: background 0.2s ease; }
.hw-podium.is-live .hw-place a:hover { background: rgba(255, 255, 255, 0.05); }
.hw-win-img { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; margin-top: -0.6rem; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); }
.hw-win-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hw-place.is-p1 .hw-win-img { outline: 2px solid rgba(255, 210, 90, 0.8); }
.hw-win-t { font: 800 0.98rem/1.2 var(--ev-head); color: #fff; }
.hw-win-by { color: var(--ev-mute); font-size: 0.8rem; }
.hw-win-st { display: inline-flex; align-items: center; gap: 0.3rem; }
.hw-win-st .hw-st { width: 13px; height: 13px; }
.hw-win-st em { font-style: normal; font-weight: 800; color: #ffd29a; font-size: 0.85rem; }
.hw-win-prize { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.25rem 0.55rem; border-radius: 8px; background: rgba(255, 122, 26, 0.15); color: #ffd29a; font: 800 0.78rem/1.2 Inter, sans-serif; }
.hw-res-cta { margin-top: 2.4rem; text-align: center; }
@media (max-width: 960px) { .hw-show-grid { grid-template-columns: 1fr; } .hw-info { position: static; } }
@media (max-width: 720px) {
  .hw-filters { flex-direction: column; align-items: stretch; }
  .hw-seg { justify-content: center; }
  .hw-search { flex: 1 1 auto; }
  .hw-egrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .hw-ecard-body { padding: 0.6rem 0.7rem 0.75rem; }
  .hw-ecard-body > b { font-size: 0.95rem; }
  .hw-ecard-body > span { font-size: 0.78rem; }
  .hw-ecard-spot img { width: 30px; height: 30px; }
  .hw-vq li { grid-template-columns: auto minmax(0, 1fr); }
  .hw-vq li .hw-rate, .hw-vq li .hw-vq-bar { grid-column: 1 / -1; justify-content: center; }
  .hw-rate-b { width: 52px; height: 52px; }
  .hw-rate-b svg { width: 38px; height: 38px; }
  .hw-vote-foot .hw-btn { flex: 1 1 100%; }
  .hw-lb { grid-template-columns: 1fr; }
  .hw-lb-nav { position: absolute; bottom: 1rem; }
  .hw-lb-nav.is-prev { left: 1rem; }
  .hw-lb-nav.is-next { right: 1rem; }
  .hw-lb-fig { padding-bottom: 5rem; }
  .hw-lb-fig img { max-height: calc(100vh - 10rem); }
  .hw-res-grid { grid-template-columns: 1fr; }
  .hw-podium.is-live { grid-template-columns: 1fr; gap: 0.7rem; }
  .hw-podium.is-live .hw-place.is-p1 { order: 1; } .hw-podium.is-live .hw-place.is-p2 { order: 2; } .hw-podium.is-live .hw-place.is-p3 { order: 3; }
  .hw-podium.is-live .hw-place a { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "tro img" "tro t" "tro by" "tro st" "tro pr"; justify-items: start; column-gap: 0.8rem; text-align: left; padding: 0.8rem; }
  .hw-podium.is-live .hw-trophy { grid-area: tro; align-self: center; } .hw-podium.is-live .hw-trophy img, .hw-podium.is-live .hw-place.is-p1 .hw-trophy img { width: 72px; height: 72px; }
  .hw-podium.is-live .hw-medal { display: none; } .hw-podium.is-live .hw-win-img { grid-area: img; margin: 0 0 0.3rem; }
  .hw-podium.is-live .hw-win-t { grid-area: t; font-size: 1.05rem; } .hw-podium.is-live .hw-win-by { grid-area: by; } .hw-podium.is-live .hw-win-st { grid-area: st; } .hw-podium.is-live .hw-win-prize { grid-area: pr; }
}
@media (max-width: 380px) { .hw-egrid { grid-template-columns: 1fr; } }

/* ---- responsive ---- */
@media (max-width: 1180px) and (min-width: 721px) {
  .hw-hero-bg img { object-position: 92% 40%; }
  .hw-hero-bg::after { background: linear-gradient(90deg, rgba(12, 6, 20, 0.97) 0%, rgba(12, 6, 20, 0.9) 42%, rgba(12, 6, 20, 0.35) 70%, transparent 88%), linear-gradient(180deg, rgba(12, 6, 20, 0.4), transparent 22%, transparent 70%, var(--ev-bg) 100%); }
}
@media (max-width: 960px) {
  .hw-steps { grid-template-columns: repeat(2, 1fr); }
  .hw-steps li:not(:last-child)::after { display: none; }
}
@media (max-width: 720px) {
  .hw-hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 0 0 3.6rem; }
  .hw-hero-bg { position: relative; inset: auto; z-index: 0; height: 52vw; min-height: 200px; }
  .hw-hero-bg img { object-position: 62% 30%; }
  .hw-hero-bg::after { background: linear-gradient(180deg, transparent 50%, var(--ev-bg2) 100%); }
  .hw-hero-in { margin-top: -2.4rem; position: relative; z-index: 1; }
  .hw-hero-text { max-width: none; text-align: center; }
  .hw-title-word { font-size: clamp(3rem, 15vw, 4.4rem); }
  .hw-ctas, .hw-stats { justify-content: center; }
  .hw-ctas .hw-btn.is-big { flex: 1 1 100%; }
  .hw-cd-u { min-width: 0; flex: 1; padding: 0.6rem 0.2rem 0.5rem; }
  .hw-cd { display: flex; width: 100%; gap: 0.3rem; }
  .hw-cd-sep { display: none; }
  .hw-stats li { flex: 1 1 calc(50% - 0.6rem); }
  .hw-bar { margin-top: -1.4rem; }
  .hw-bar-in a { padding: 0.45rem 0.75rem; font-size: 0.85rem; }
  .hw-bar-in a .hw-ic, .hw-bar-art { display: none; }
  .hw-podium { gap: 0.4rem; }
  .hw-trophy img { width: 64px; height: 64px; } .hw-place.is-p1 .hw-trophy img { width: 84px; height: 84px; }
  .hw-place strong { font-size: 0.78rem; flex-direction: column; }
  .hw-split { grid-template-columns: 1fr; } .hw-vs { text-align: center; }
  .hw-qs li { grid-template-columns: auto 1fr; } .hw-qs li .hw-stars { grid-column: 2; }
  .hw-row2 { grid-template-columns: 1fr; }
  .hw-pic.is-main { grid-column: 1 / -1; grid-row: auto; }
  .hw-pics { grid-template-columns: repeat(2, 1fr); }
  .hw-head-row { flex-direction: column; align-items: flex-start; }
  .hw-acts .hw-btn { flex: 1 1 100%; } .hw-acts .hw-spacer { display: none; }
}
@media (max-width: 480px) { .hw-steps { gap: 0.6rem; } .hw-steps li { padding: 1rem 0.7rem; } .hw-step-ic { width: 64px; height: 64px; } .hw-step-ic img { width: 52px; height: 52px; } .hw-steps h3 { font-size: 1rem; } .hw-steps p { font-size: 0.82rem; } .hw-prize-grid { grid-template-columns: 1fr; } .hw-bar-in a { padding: 0.45rem 0.6rem; } }
@media (prefers-reduced-motion: reduce) {
  .hw-page *, .hw-sky * { animation: none !important; transition: none !important; }
  .hw-bat { display: none; }
}

/* ---- teammates token input ---- */
.hw-tok { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; min-height: 50px; padding: 0.4rem 0.5rem; border-radius: 12px; border: 1px solid var(--ev-line2); background: rgba(8, 4, 14, 0.7); cursor: text; }
.hw-tok:focus-within { border-color: var(--ev-accent2); box-shadow: 0 0 0 3px rgba(255, 176, 103, 0.2); }
.hw-tok-chips { display: contents; list-style: none; }
.hw-chip-t { display: inline-flex; align-items: center; gap: 0.3rem; max-width: 100%; padding: 0.25rem 0.3rem 0.25rem 0.65rem; border-radius: 999px; background: rgba(164, 99, 255, 0.22); border: 1px solid rgba(164, 99, 255, 0.45); color: #fff; font: 600 0.88rem/1.2 Inter, sans-serif; animation: hw-rise 0.2s ease both; }
.hw-chip-t.is-linked { background: rgba(255, 122, 26, 0.18); border-color: rgba(255, 176, 103, 0.55); }
.hw-chip-t .hw-ic { width: 14px; height: 14px; color: var(--ev-accent2); }
.hw-chip-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hw-chip-t button { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, 0.3); color: #fff; font-size: 1.05rem; line-height: 1; cursor: pointer; }
.hw-chip-t button:hover { background: var(--ev-bad); }
.hw-tok-in { flex: 1 1 140px; min-width: 120px; min-height: 36px; padding: 0.3rem 0.4rem; border: 0; background: transparent; color: #fff; font: 500 1rem/1.4 Inter, sans-serif; outline: none; }
.hw-tok-in:disabled { cursor: not-allowed; }
.hw-tok-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 40; margin: 0; padding: 0.35rem; list-style: none; border-radius: 12px; background: #1d0f2e; border: 1px solid var(--ev-line2); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6); max-height: 280px; overflow: auto; }
.hw-tok-list li[role=option] { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.6rem; border-radius: 9px; color: #efe6fb; cursor: pointer; }
.hw-tok-list li.is-hi, .hw-tok-list li[role=option]:hover { background: rgba(255, 122, 26, 0.18); color: #fff; }
.hw-tok-list img, .hw-tok-av { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.hw-tok-av { display: grid; place-items: center; background: rgba(164, 99, 255, 0.25); }
.hw-tok-av .hw-ic { width: 14px; height: 14px; }
.hw-tok-none { padding: 0.55rem 0.6rem; color: var(--ev-mute); font-size: 0.88rem; }
.hw-tok-note { flex-basis: 100%; margin: 0; padding: 0 0.2rem; color: var(--ev-dim); font-size: 0.78rem; }
.hw-tok-note:empty { display: none; }
.hw-reg-acts { display: inline-flex; gap: 1rem; }
.hw-tm-edit { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--ev-line); }
