:root {
  --bg: #08090f;
  --panel: #11121a;
  --panel-light: #171923;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --ink: #f7f4fb;
  --muted: #9898a7;
  --pink: #ff4fa8;
  --violet: #9d70ff;
  --green: #6fffb0;
  font-family: Inter, Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--bg); }

body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--bg); }

a, button { -webkit-tap-highlight-color: transparent; }

a { color: inherit; }

button { font: inherit; }

button:focus-visible, a:focus-visible { outline: 3px solid rgba(111, 255, 176, 0.55); outline-offset: 3px; }

svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

[hidden] { display: none !important; }

.site-shell { position: relative; min-height: 100svh; overflow: hidden; background: radial-gradient(circle at 76% 11%, rgba(157, 112, 255, 0.13), transparent 26%), radial-gradient(circle at 13% 34%, rgba(255, 79, 168, 0.08), transparent 30%), var(--bg); }

.site-shell::before { position: fixed; inset: 0; z-index: 0; background-image: linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px); background-size: 72px 72px; content: ""; mask-image: linear-gradient(to bottom, rgba(0,0,0,0.75), transparent 80%); pointer-events: none; }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line-soft); background: rgba(8, 9, 15, 0.72); backdrop-filter: blur(20px); }

.header-inner { display: flex; align-items: center; justify-content: space-between; width: min(100% - 64px, 1440px); min-height: 80px; margin: 0 auto; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }

.brand-icon { display: flex; align-items: flex-end; justify-content: center; gap: 3px; width: 38px; height: 38px; padding: 8px 7px; border: 1px solid rgba(111,255,176,0.36); border-radius: 11px; background: linear-gradient(145deg, rgba(111,255,176,0.2), rgba(157,112,255,0.13)); box-shadow: 0 0 26px rgba(111,255,176,0.1); }

.brand-icon i { display: block; width: 4px; border-radius: 99px; background: linear-gradient(180deg, var(--green), #36b5ff); }
.brand-icon i:nth-child(1) { height: 10px; }
.brand-icon i:nth-child(2) { height: 22px; }
.brand-icon i:nth-child(3) { height: 15px; }
.brand-icon i:nth-child(4) { height: 20px; }
.brand-logo { display: block; width: 42px; height: 42px; object-fit: cover; border: 1px solid rgba(255,255,255,0.2); border-radius: 13px; background: #0b0812; box-shadow: 0 0 28px rgba(255,79,168,0.24), 0 8px 20px rgba(0,0,0,0.25); }

.brand-copy { display: grid; gap: 3px; line-height: 1; }
.brand-copy strong { font-size: 17px; font-weight: 950; letter-spacing: -0.06em; }
.brand-copy small { color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: 0.18em; }

.top-nav { display: flex; align-items: center; gap: 5px; }
.top-nav a { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid transparent; border-radius: 999px; color: var(--muted); font-size: 12px; font-weight: 850; text-decoration: none; transition: 0.2s ease; }
.top-nav a:hover, .top-nav a.active { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.08); }
.top-nav a.active { color: var(--green); }
.top-nav b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #0b1110; background: var(--green); font-size: 9px; }
.top-nav .download-link { color: #111217; background: linear-gradient(110deg, var(--green), #93f5e4); box-shadow: 0 6px 20px rgba(111,255,176,0.13); }
.top-nav .download-link:hover { border-color: transparent; color: #111217; background: #fff; }
.top-nav .download-link svg { width: 15px; height: 15px; }
.download-copy { display: grid; gap: 2px; line-height: 1; text-align: left; }
.download-copy strong { font-size: 12px; font-weight: 950; }
.download-copy small { color: rgba(17,18,23,0.62); font-size: 8px; font-weight: 900; letter-spacing: 0.05em; }

.site-main { position: relative; z-index: 1; width: min(100% - 64px, 1440px); margin: 0 auto; padding: 30px 0 80px; }

.home-view { display: grid; align-content: center; min-height: calc(100svh - 160px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr); align-items: center; gap: clamp(44px, 8vw, 120px); }
.hero-copy { padding: 34px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 10px; font-weight: 950; letter-spacing: 0.17em; }
.pulse-dot, .status-light { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(111,255,176,0.11), 0 0 18px rgba(111,255,176,0.7); }
.hero-copy h1 { max-width: 660px; margin: 22px 0 20px; color: var(--ink); font-size: clamp(48px, 6.7vw, 91px); font-weight: 950; letter-spacing: -0.095em; line-height: 0.98; }
.hero-copy h1 em, .section-heading h2 em { color: var(--pink); font-style: normal; background: linear-gradient(110deg, #ff67b5 10%, #b88dff 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-description { margin: 0; color: var(--muted); font-size: 14px; font-weight: 650; line-height: 1.8; }
.hero-description span { display: block; }
.hero-description span + span { margin-top: 7px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 12px; font-size: 12px; font-weight: 900; text-decoration: none; transition: 0.2s ease; }
.button svg { width: 17px; height: 17px; }
.button-primary { color: #101115; background: linear-gradient(110deg, var(--green), #a0e9ff); box-shadow: 0 12px 30px rgba(111,255,176,0.13); }
.button-primary:hover { color: #101115; transform: translateY(-2px); background: #fff; }
.button-ghost { color: var(--ink); border-color: var(--line); background: rgba(255,255,255,0.045); }
.button-ghost span { color: var(--muted); font-size: 10px; }
.button-ghost:hover { border-color: rgba(111,255,176,0.45); background: rgba(111,255,176,0.08); }
.hero-stats { display: flex; align-items: center; gap: 24px; width: fit-content; margin-top: 56px; padding-top: 19px; border-top: 1px solid var(--line); }
.hero-stats div { display: grid; gap: 4px; }
.hero-stats strong { font-size: 18px; font-weight: 950; letter-spacing: -0.05em; }
.hero-stats span { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: 0.12em; }
.hero-stats i { width: 1px; height: 27px; background: var(--line); }

.hero-preview { position: relative; min-width: 0; padding: 32px 24px 22px 42px; }
.preview-card { position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(255,255,255,0.14); border-radius: 22px; background: rgba(17,18,26,0.92); box-shadow: 0 28px 80px rgba(0,0,0,0.36), 0 0 0 1px rgba(255,79,168,0.05); transform: rotate(1.2deg); transition: transform 0.35s ease; }
.preview-card:hover { transform: rotate(0deg) translateY(-5px); }
.preview-card::before { position: absolute; z-index: 3; top: 0; right: 16%; left: 16%; height: 1px; background: linear-gradient(90deg, transparent, var(--pink), transparent); content: ""; }
.preview-topline { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; color: #92919f; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; }
.preview-topline span:first-child { display: flex; align-items: center; gap: 8px; }
.preview-topline b { color: var(--ink); }
.preview-image-wrap { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #07080d; }
.preview-image-wrap img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 0.6s ease; }
.preview-card:hover .preview-image-wrap img { transform: scale(1.025); }
.preview-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 56%, rgba(7,8,13,0.84)); pointer-events: none; }
.preview-expand { position: absolute; right: 17px; bottom: 17px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.25); border-radius: 11px; color: #fff; background: rgba(8,9,15,0.65); backdrop-filter: blur(10px); }
.preview-expand:hover { color: #111; background: var(--green); }
.preview-expand svg { width: 18px; height: 18px; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 18px 19px; }
.preview-caption div { display: grid; gap: 6px; min-width: 0; }
.preview-caption div > span { color: var(--pink); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; }
.preview-caption strong { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.archive-badge { flex: none; padding: 6px 8px; border: 1px solid rgba(111,255,176,0.25); border-radius: 999px; color: var(--green); font-size: 8px; font-weight: 900; letter-spacing: 0.09em; }
.preview-orbit { position: absolute; border: 1px solid rgba(157,112,255,0.24); border-radius: 50%; pointer-events: none; }
.preview-orbit-one { top: 0; right: -7%; width: 280px; height: 280px; }
.preview-orbit-two { right: 5%; bottom: -3%; width: 170px; height: 170px; border-color: rgba(255,79,168,0.25); }
.scroll-cue { display: flex; align-items: center; gap: 11px; margin-top: 42px; color: #777784; font-size: 8px; font-weight: 900; letter-spacing: 0.18em; }
.scroll-cue span { display: block; width: 28px; height: 1px; background: var(--pink); }

.screenshot-view, .video-view { padding-top: 28px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-heading h2 { margin: 14px 0 0; font-size: clamp(34px, 4.8vw, 66px); font-weight: 950; letter-spacing: -0.085em; line-height: 0.98; }
.heading-counter { display: flex; align-items: baseline; gap: 6px; padding-bottom: 8px; color: #777784; font-size: 12px; font-weight: 850; }
.heading-counter strong { color: var(--green); font-size: 47px; font-weight: 950; letter-spacing: -0.08em; }
.viewer { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: 0 28px 70px rgba(0,0,0,0.25); }
.image-stage { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; min-height: 360px; overflow: hidden; background: #07080d; touch-action: pan-y; }
.image-stage::after { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0,0,0,0.24)), linear-gradient(180deg, rgba(255,255,255,0.03), transparent 25%); content: ""; pointer-events: none; }
.stage-label { position: absolute; z-index: 4; top: 18px; left: 20px; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,0.58); font-size: 9px; font-weight: 900; letter-spacing: 0.12em; }
.stage-label i { width: 3px; height: 3px; border-radius: 50%; background: var(--pink); }
.image-stage img { position: absolute; z-index: 1; inset: 0; display: block; width: 100%; height: 100%; padding: 40px 48px 32px; object-fit: contain; user-select: none; transition: opacity 0.18s ease, transform 0.22s ease; }
.image-stage img.changing { opacity: 0; transform: scale(0.992); }
.image-loader { position: absolute; z-index: 0; width: 30px; height: 30px; border: 2px solid rgba(255,255,255,0.12); border-top-color: var(--green); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.arrow { position: absolute; z-index: 5; top: 50%; display: grid; place-items: center; width: 52px; height: 86px; padding: 0; border: 1px solid rgba(255,255,255,0.18); color: #fff; background: rgba(8,9,15,0.6); cursor: pointer; transform: translateY(-50%); backdrop-filter: blur(12px); transition: 0.2s ease; }
.arrow:hover { color: #111; background: var(--green); }
.arrow:disabled { opacity: 0.2; cursor: not-allowed; }
.arrow svg { width: 26px; height: 26px; }
.arrow-prev { left: 0; border-left: 0; border-radius: 0 14px 14px 0; }
.arrow-next { right: 0; border-right: 0; border-radius: 14px 0 0 14px; }
.fullscreen-button { position: absolute; z-index: 5; right: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,0.18); border-radius: 9px; color: #fff; background: rgba(8,9,15,0.68); cursor: pointer; font-size: 10px; font-weight: 850; backdrop-filter: blur(12px); }
.fullscreen-button:hover { color: #111; background: var(--green); }
.fullscreen-button svg { width: 15px; height: 15px; }
.image-stage:fullscreen { width: 100vw; height: 100vh; aspect-ratio: auto; background: #05060a; }
.image-stage:fullscreen img { padding: 40px; }
.viewer-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 26px; min-height: 98px; padding: 17px 22px; border-top: 1px solid var(--line); background: #11121a; }
.caption-block { min-width: 0; }
.caption-block > span { color: var(--green); font-size: 8px; font-weight: 950; letter-spacing: 0.15em; }
.caption-block p { overflow: hidden; margin: 7px 0 0; color: var(--ink); font-size: 14px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.viewer-controls { display: flex; align-items: center; gap: 24px; }
.dot-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; }
.dot-pagination button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #4d4e5a; cursor: pointer; transition: 0.2s ease; }
.dot-pagination button.active { width: 22px; border-radius: 99px; background: var(--pink); }
.key-hint { color: #777784; font-size: 9px; font-weight: 750; }
.slide-list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(135px, 1fr); gap: 8px; overflow-x: auto; margin: 18px 0 0; padding: 0 0 5px; list-style: none; scrollbar-width: thin; scrollbar-color: #444550 transparent; }
.slide-list button { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid var(--line-soft); border-radius: 11px; color: #8d8d9b; background: rgba(255,255,255,0.025); cursor: pointer; text-align: left; }
.slide-list button:hover, .slide-list button.active { color: var(--ink); border-color: rgba(111,255,176,0.35); background: rgba(111,255,176,0.08); }
.slide-list .list-number { color: var(--green); font-size: 9px; font-weight: 950; }
.slide-list .list-file { overflow: hidden; font-size: 10px; font-weight: 850; text-overflow: ellipsis; white-space: nowrap; }
.mobile-hint { display: none; color: #7d7d8a; font-size: 10px; text-align: center; }

.video-heading { margin-bottom: 28px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; font-weight: 850; text-decoration: none; }
.back-link:hover { color: var(--green); }
.back-link span { color: var(--green); font-size: 17px; }
.video-playlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.video-playlist-button { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 60px; padding: 0 15px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: rgba(17,18,26,0.72); cursor: pointer; text-align: left; transition: 0.2s ease; }
.video-playlist-button:hover, .video-playlist-button.active { color: var(--ink); border-color: rgba(111,255,176,0.42); background: rgba(111,255,176,0.08); }
.video-playlist-button.active { box-shadow: inset 3px 0 0 var(--pink); }
.playlist-number { color: var(--green); font-size: 10px; font-weight: 950; letter-spacing: 0.08em; }
.playlist-copy { display: grid; gap: 5px; min-width: 0; }
.playlist-copy strong { overflow: hidden; color: inherit; font-size: 12px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.playlist-copy small { overflow: hidden; color: #777784; font-size: 9px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.video-playlist-button > time { color: #777784; font-size: 10px; font-weight: 850; }
.video-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
.video-card { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: 0 28px 70px rgba(0,0,0,0.25); }
.video-stage { display: grid; place-items: center; min-width: 0; min-height: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #05060a; }
.video-stage video { display: block; width: 100%; height: 100%; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; background: #05060a; object-fit: contain; }
.video-stage video:fullscreen, .video-stage video:-webkit-full-screen { width: 100vw; height: 100vh; max-width: none; max-height: none; object-fit: contain; background: #05060a; }
.video-meta { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 76px; padding: 15px 20px; border-top: 1px solid var(--line); }
.video-meta span { color: var(--pink); font-size: 8px; font-weight: 950; letter-spacing: 0.15em; }
.video-meta h3 { margin: 5px 0 0; font-size: 17px; font-weight: 900; letter-spacing: -0.04em; }
.video-meta > strong { color: var(--muted); font-size: 11px; }
.video-info { padding: 21px 20px; border: 1px solid var(--line); border-radius: 20px; background: rgba(17,18,26,0.86); }
.video-info h3 { margin: 13px 0 9px; font-size: 28px; font-weight: 950; letter-spacing: -0.07em; }
.video-info > p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.7; }
.video-info dl { display: grid; gap: 11px; margin: 24px 0; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.video-info dl div { display: flex; align-items: center; justify-content: space-between; }
.video-info dt { color: #777784; font-size: 8px; font-weight: 900; letter-spacing: 0.12em; }
.video-info dd { margin: 0; color: var(--ink); font-size: 10px; font-weight: 900; }
.video-info .button { width: 100%; min-height: 43px; font-size: 10px; }

.ranking-view { padding-top: 28px; }
.ranking-heading { margin-bottom: 22px; }
.ranking-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; margin-bottom: 14px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(17,18,26,0.78); }
.ranking-toolbar-title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ranking-toolbar-title > div { display: grid; gap: 5px; }
.ranking-toolbar-title strong { color: var(--ink); font-size: 13px; font-weight: 900; }
.ranking-toolbar-title small { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.ranking-live-dot { display: block; width: 9px; height: 9px; flex: none; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(111,255,176,0.09), 0 0 16px rgba(111,255,176,0.6); }
.ranking-refresh { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; border: 1px solid var(--line); border-radius: 9px; color: var(--muted); background: rgba(255,255,255,0.04); cursor: pointer; font-size: 10px; font-weight: 850; transition: 0.2s ease; }
.ranking-refresh:hover { color: #111; border-color: transparent; background: var(--green); }
.ranking-refresh:disabled { opacity: 0.55; cursor: wait; }
.ranking-refresh svg { width: 14px; height: 14px; }
.ranking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; align-items: start; }
.ranking-board { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 20px; background: rgba(17,18,26,0.84); box-shadow: 0 28px 70px rgba(0,0,0,0.2); }
.ranking-board-header, .ranking-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) 145px 105px; align-items: center; gap: 14px; }
.ranking-board-header { min-height: 42px; padding: 0 22px; border-bottom: 1px solid var(--line); color: #6f707c; font-size: 8px; font-weight: 950; letter-spacing: 0.15em; }
.ranking-board-header span:nth-child(n+3) { text-align: right; }
.ranking-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.ranking-row { min-height: 76px; padding: 10px 22px; border-bottom: 1px solid var(--line-soft); transition: background 0.2s ease; }
.ranking-row:last-child { border-bottom: 0; }
.ranking-row:hover { background: rgba(255,255,255,0.035); }
.ranking-row.is-top { background: linear-gradient(90deg, rgba(255,79,168,0.08), transparent 70%); }
.rank-position { color: #787985; font-size: 17px; font-weight: 950; letter-spacing: -0.06em; }
.ranking-row:nth-child(1) .rank-position { color: #ffd36f; }
.ranking-row:nth-child(2) .rank-position { color: #d9e0ec; }
.ranking-row:nth-child(3) .rank-position { color: #d79772; }
.rank-player { display: flex; align-items: center; gap: 11px; min-width: 0; }
.rank-avatar, .rank-avatar-fallback { display: grid; place-items: center; width: 38px; height: 38px; flex: none; overflow: hidden; border: 1px solid rgba(255,255,255,0.13); border-radius: 12px; color: var(--pink); background: linear-gradient(145deg, rgba(255,79,168,0.2), rgba(157,112,255,0.2)); font-size: 13px; font-weight: 950; }
.rank-avatar { object-fit: cover; }
.rank-player-copy { display: grid; gap: 5px; min-width: 0; }
.rank-name { overflow: hidden; color: var(--ink); font-size: 13px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.rank-clears { color: var(--muted); font-size: 9px; font-weight: 750; }
.rank-score { color: var(--ink); font-size: 14px; font-weight: 950; text-align: right; }
.rank-accuracy { color: var(--green); font-size: 11px; font-weight: 900; text-align: right; }
.ranking-state { padding: 44px 20px; color: var(--muted); font-size: 12px; font-weight: 750; text-align: center; }
.ranking-state.is-error { color: #ff91c6; }
.ranking-aside { display: grid; gap: 12px; }
.ranking-aside-card { padding: 22px 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(255,79,168,0.12), rgba(17,18,26,0.9) 58%); }
.ranking-aside-card h3 { margin: 14px 0 11px; color: var(--ink); font-size: 25px; font-weight: 950; letter-spacing: -0.07em; line-height: 1.08; }
.ranking-aside-card h3 em { color: var(--pink); font-style: normal; background: linear-gradient(110deg, #ff67b5 10%, #b88dff 90%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ranking-aside-card p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.75; }
.ranking-aside-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--line); }
.ranking-aside-stats div { display: grid; gap: 7px; padding: 15px 13px; background: rgba(17,18,26,0.9); }
.ranking-aside-stats span { color: #777784; font-size: 8px; font-weight: 900; letter-spacing: 0.12em; }
.ranking-aside-stats strong { color: var(--green); font-size: 12px; font-weight: 950; }

.security-view { padding-top: 28px; }
.security-heading { align-items: center; }
.security-version { display: grid; gap: 7px; min-width: 190px; padding: 17px 20px; border: 1px solid rgba(111,255,176,0.25); border-radius: 16px; background: rgba(111,255,176,0.07); }
.security-version span { color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: 0.14em; }
.security-version strong { color: var(--green); font-size: 24px; font-weight: 950; letter-spacing: -0.04em; }
.security-lead { max-width: 860px; margin: -4px 0 27px; color: #b8b8c3; font-size: 14px; font-weight: 650; line-height: 1.8; }
.security-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.security-card { min-height: 236px; padding: 24px 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(255,79,168,0.095), rgba(17,18,26,0.94) 56%); }
.security-card:nth-child(even) { background: linear-gradient(145deg, rgba(111,255,176,0.075), rgba(17,18,26,0.94) 56%); }
.security-card > span { color: var(--pink); font-size: 9px; font-weight: 950; letter-spacing: 0.13em; }
.security-card:nth-child(even) > span { color: var(--green); }
.security-card h3 { margin: 17px 0 14px; color: var(--ink); font-size: 23px; font-weight: 950; letter-spacing: -0.055em; line-height: 1.15; }
.security-card p { margin: 0; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.75; }
.security-notice { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 14px; padding: 19px 22px; border: 1px solid rgba(255,188,92,0.26); border-radius: 16px; background: rgba(255,188,92,0.065); }
.security-notice strong { color: #ffc876; font-size: 13px; font-weight: 950; }
.security-notice p { margin: 0; color: #aaa5af; font-size: 11px; font-weight: 650; line-height: 1.7; }
.security-notice a { color: var(--green); font-weight: 850; }

.site-footer { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; border-top: 1px solid var(--line-soft); color: #696975; font-size: 9px; font-weight: 800; letter-spacing: 0.05em; }
.site-footer i { width: 3px; height: 3px; border-radius: 50%; background: #4d4e58; }
.site-footer a { color: #878793; text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: var(--green); }

@media (max-width: 1040px) {
  .security-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: minmax(0, 0.85fr) minmax(370px, 1.15fr); gap: 38px; }
  .hero-copy h1 { font-size: clamp(45px, 6.5vw, 72px); }
  .hero-preview { padding-left: 10px; }
  .video-layout { grid-template-columns: minmax(0, 1fr) 245px; }
}

@media (max-width: 760px) {
  .header-inner, .site-main { width: min(100% - 32px, 620px); }
  .site-header { position: relative; }
  .header-inner { min-height: 68px; }
  .top-nav { gap: 2px; }
  .top-nav a { min-height: 34px; padding: 0 9px; font-size: 10px; }
  #screenshotMenuLink span { display: none; }
  .top-nav b { width: 18px; height: 18px; }
  .top-nav .download-link svg { width: 14px; height: 14px; }
  .top-nav .download-link { font-size: 0; padding: 0 10px; }
  .top-nav .download-link svg { margin: 0; }
  .download-copy strong { font-size: 10px; }
  .download-copy small { font-size: 7px; }
  .site-main { padding-top: 15px; padding-bottom: 52px; }
  .home-view { min-height: auto; padding: 38px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { padding: 0; }
  .hero-copy h1 { margin-top: 18px; font-size: clamp(46px, 14vw, 76px); }
  .hero-description { font-size: 12px; }
  .hero-description br { display: none; }
  .hero-actions { margin-top: 24px; }
  .button { min-height: 44px; padding: 0 14px; font-size: 11px; }
  .hero-stats { gap: 16px; margin-top: 34px; }
  .hero-stats strong { font-size: 16px; }
  .hero-preview { padding: 0 5px; }
  .preview-card { transform: none; border-radius: 17px; }
  .preview-card:hover { transform: none; }
  .preview-orbit { display: none; }
  .scroll-cue { margin-top: 22px; }
  .section-heading { align-items: start; margin-bottom: 20px; }
  .section-heading h2 { margin-top: 10px; font-size: clamp(36px, 11vw, 56px); }
  .heading-counter { padding-top: 7px; }
  .heading-counter strong { font-size: 36px; }
  .image-stage { aspect-ratio: 4 / 3; min-height: 0; }
  .image-stage img { padding: 37px 28px 25px; }
  .stage-label { top: 13px; left: 14px; font-size: 8px; }
  .arrow { width: 40px; height: 66px; }
  .arrow svg { width: 22px; height: 22px; }
  .fullscreen-button { right: 12px; bottom: 12px; }
  .fullscreen-button span { display: none; }
  .fullscreen-button { width: 34px; padding: 0; justify-content: center; }
  .viewer-footer { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
  .viewer-controls { justify-content: space-between; }
  .key-hint { display: none; }
  .slide-list { grid-auto-columns: 138px; margin-top: 12px; }
  .mobile-hint { display: block; margin: 14px 0 0; }
  .video-heading .back-link { padding-top: 8px; }
  .video-playlist { grid-template-columns: 1fr; }
  .video-layout { grid-template-columns: 1fr; }
  .video-card { border-radius: 17px; }
  .video-info { padding: 18px; }
  .ranking-layout { grid-template-columns: 1fr; }
  .ranking-aside { grid-row: 1; }
  .security-heading { align-items: start; }
  .security-version { min-width: 150px; }
  .security-grid { grid-template-columns: 1fr; }
  .security-card { min-height: 0; }
  .security-notice { grid-template-columns: 1fr; gap: 8px; }
  .ranking-board-header, .ranking-row { grid-template-columns: 44px minmax(0, 1fr) 96px; gap: 9px; padding-inline: 14px; }
  .ranking-board-header span:last-child, .rank-accuracy { display: none; }
  .ranking-row { min-height: 68px; }
  .rank-score { font-size: 12px; }
  .ranking-toolbar { align-items: flex-start; flex-direction: column; gap: 11px; }
  .ranking-refresh { align-self: flex-end; }
  .site-footer { gap: 8px; font-size: 8px; }
}

@media (max-width: 420px) {
  .header-inner { width: calc(100% - 24px); }
  .site-main { width: calc(100% - 24px); }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { font-size: 7px; }
  .brand-logo { width: 36px; height: 36px; border-radius: 11px; }
  .top-nav a { padding-inline: 7px; }
  .hero-copy h1 { font-size: 47px; }
  .hero-stats { gap: 10px; }
  .hero-stats span { font-size: 7px; }
  .preview-caption { align-items: start; flex-direction: column; gap: 10px; }
  .archive-badge { align-self: flex-start; }
}
