@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

:root {
  --bg: #0b0d0a;
  --panel: #141712;
  --panel-2: #1a1e17;
  --line: rgba(255,255,255,.09);
  --text: #f1f4eb;
  --muted: #92998b;
  --accent: #d7f23b;
  --brand-lime-text: #10140e;
  --accent-dim: rgba(215,242,59,.13);
  --header-h: 72px;
  --sidebar-w: 332px;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; background: var(--bg); color: var(--text); }
body { font-family: "Noto Sans KR", system-ui, sans-serif; overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

.app-shell { height: 100%; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: var(--header-h) minmax(0, 1fr); }
.topbar {
  position: relative; z-index: 1000; display: grid; grid-template-columns: var(--sidebar-w) 1fr auto;
  align-items: center; height: var(--header-h); border-bottom: 1px solid var(--line);
  background: rgba(12,14,11,.97); box-shadow: 0 8px 30px rgba(0,0,0,.28);
}
.brand { height: 100%; display: flex; align-items: center; gap: 13px; padding: 0 22px; color: inherit; text-decoration: none; border-right: 1px solid var(--line); }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; color: var(--brand-lime-text); background: var(--accent); font: 800 16px/1 "Barlow Condensed"; transform: skew(-7deg); }
.brand-title, .brand small { display: block; font-family: "Barlow Condensed", sans-serif; letter-spacing: .08em; }
.brand-title { margin: 0; font-size: 21px; line-height: 1; }
.brand small { margin-top: 4px; color: var(--muted); font-size: 9px; letter-spacing: .18em; }
.map-selector { padding: 0 16px 15px; border-bottom: 1px solid var(--line); }
.map-selector .section-title { margin-bottom: 8px; }
.map-selector .section-title small { color: #697064; font: 700 8px "Barlow Condensed"; letter-spacing: .15em; }
.map-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.map-tab { position: relative; display: grid; min-width: 0; min-height: 43px; padding: 8px 10px; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 5px; background: #10130e; color: #81877b; cursor: pointer; text-align: left; font: 700 14px "Barlow Condensed", "Noto Sans KR"; letter-spacing: .04em; transition: .18s; }
.map-tab>span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-tab::before { content: ""; position: absolute; inset: 7px auto 7px 0; width: 3px; border-radius: 0 2px 2px 0; background: var(--accent); transform: scaleY(0); transition: .18s; }
.map-tab:hover { border-color: rgba(215,242,59,.25); color: #daddd4; background: #181c15; }
.map-tab.active { border-color: rgba(215,242,59,.42); color: var(--text); background: linear-gradient(90deg, rgba(215,242,59,.11), rgba(215,242,59,.02)); }
.map-tab.active::before { transform: scaleY(1); }
.map-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
.terrain-contributor-banner { position: relative; display: grid; min-height: 92px; margin: 0 16px 15px; padding: 11px; overflow: hidden; grid-template-columns: 58px minmax(0, 1fr) auto; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; background: radial-gradient(circle at 10% 15%, rgba(255,220,26,.11), transparent 33%), linear-gradient(115deg, #181b15, #10130e); box-shadow: inset 3px 0 0 #ffdc1a, 0 8px 22px rgba(0,0,0,.18); color: inherit; text-decoration: none; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.terrain-contributor-banner::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .42; background: repeating-radial-gradient(ellipse at 96% 110%, transparent 0 14px, rgba(255,255,255,.045) 15px 16px); }
.terrain-contributor-banner:hover { border-color: rgba(255,220,26,.42); background-color: #1b2017; transform: translateY(-1px); }
.terrain-contributor-banner:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.terrain-contributor-banner>img { position: relative; z-index: 1; display: block; width: 58px; height: 58px; border: 1px solid rgba(255,220,26,.4); border-radius: 10px; object-fit: cover; box-shadow: 0 5px 14px rgba(0,0,0,.32); }
.terrain-contributor-copy { position: relative; z-index: 1; display: grid; min-width: 0; gap: 4px; }
.terrain-contributor-copy>small { color: #ffdc1a; font: 700 9px "Barlow Condensed", sans-serif; letter-spacing: .15em; }
.terrain-contributor-copy>strong { overflow: hidden; color: #ecf0e7; font-size: 12px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.terrain-contributor-copy>strong b { color: #fff5a9; font-size: 14px; }
.terrain-contributor-copy>span { display: flex; min-width: 0; align-items: center; gap: 6px; }
.terrain-contributor-copy em { overflow: hidden; color: #8f988a; font-size: 10px; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.terrain-contributor-copy i { display: flex; flex: 0 0 auto; align-items: center; gap: 3px; color: #ef8d89; font-size: 9px; font-style: normal; font-weight: 700; white-space: nowrap; }
.terrain-contributor-copy svg { width: 13px; height: 13px; fill: #ff453a; }
.terrain-contributor-copy svg .play { fill: #fff; }
.terrain-contributor-arrow { position: relative; z-index: 1; align-self: start; color: #70786c; font: 700 12px "Barlow Condensed", sans-serif; transition: color .18s ease, transform .18s ease; }
.terrain-contributor-banner:hover .terrain-contributor-arrow { color: #ffdc1a; transform: translate(1px,-1px); }
.top-actions { display: flex; align-items: center; gap: 12px; padding: 0 22px; }
.icon-button { border: 1px solid var(--line); border-radius: 5px; padding: 9px 12px; background: #181b16; font-size: 12px; cursor: pointer; }
.icon-button:hover { border-color: rgba(215,242,59,.45); }
.beta-badge { padding: 5px 8px; border-radius: 3px; color: var(--brand-lime-text); background: var(--accent); font: 800 10px "Barlow Condensed"; letter-spacing: .12em; }

.workspace { min-height: 0; min-width: 0; display: grid; grid-template-columns: 1fr; }
.sidebar { display: none; z-index: 900; min-height: 0; flex-direction: column; overflow-y: auto; background: var(--panel); border-right: 1px solid var(--line); box-shadow: 15px 0 35px rgba(0,0,0,.18); scrollbar-color: #343a30 transparent; scrollbar-width: thin; }
body.sidebar-context-active .workspace { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
body.sidebar-context-active .sidebar { display: flex; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 20px 14px; }
.sidebar-collapse, .sidebar-expand { position: absolute; z-index: 910; top: 50%; left: 0; display: none; width: 30px; height: 64px; transform: translateY(-50%); border: 1px solid rgba(215,242,59,.35); border-left: 0; border-radius: 0 7px 7px 0; background: rgba(15,18,13,.96); box-shadow: 5px 8px 20px rgba(0,0,0,.35); color: var(--theme-accent-foreground); cursor: pointer; font-size: 28px; line-height: 1; }
.sidebar-collapse:hover, .sidebar-expand:hover { background: #1d2418; }
.sidebar-collapse:focus-visible, .sidebar-expand:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
body.sidebar-collapsed.sidebar-context-active .workspace { grid-template-columns: 0 minmax(0,1fr); }
body.sidebar-collapsed.sidebar-context-active .sidebar { display: flex; width: 0; min-width: 0; visibility: hidden; overflow: hidden; pointer-events: none; border-right: 0; box-shadow: none; }
body.sidebar-collapsed.sidebar-context-active .sidebar-expand { display: grid; place-items: center; }
.panel-drag-grip { display: grid; place-items: center; color: #9ba694; cursor: grab; user-select: none; touch-action: none; }
.panel-drag-grip:hover { color: var(--theme-accent-foreground); }
.panel-drag-grip:active { cursor: grabbing; }
.eyebrow { color: var(--theme-accent-foreground); font: 700 9px "Barlow Condensed"; letter-spacing: .2em; }
.sidebar h2 { margin: 3px 0 0; font: 800 30px "Barlow Condensed", "Noto Sans KR"; letter-spacing: -.02em; }
.mobile-close { display: none; border: 0; background: transparent; font-size: 30px; }
.search-box { margin: 0 16px 15px; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: #0f110e; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); }
.search-box:focus-within { border-color: rgba(215,242,59,.45); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 13px; }
.search-box input::placeholder { color: #666d61; }
.panel-section { border-top: 1px solid var(--line); padding: 15px 16px; }
.section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; color: #aeb4a8; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.section-title button { border: 0; background: transparent; color: var(--theme-accent-foreground); padding: 0; font-size: 10px; cursor: pointer; }
.section-title b { min-width: 22px; text-align: center; padding: 2px 7px; color: var(--theme-accent-foreground); background: var(--accent-dim); border-radius: 10px; font: 700 11px "Barlow Condensed"; }
.layer-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.layer-toggle { position: relative; display: grid; min-width: 0; grid-template-columns: 23px minmax(0,1fr) auto; grid-template-rows: auto auto; align-items: center; column-gap: 7px; row-gap: 4px; padding: 7px; border: 1px solid var(--line); border-radius: 5px; background: #181b16; color: #aab0a4; cursor: pointer; font-size: 11px; text-align: left; transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease, opacity .15s ease, transform .15s ease; }
.layer-toggle[aria-pressed="false"] { opacity: .72; border-color: rgba(255,255,255,.08); background: #141712; color: #7f877b; box-shadow: inset 0 0 0 1px transparent; }
.layer-toggle[aria-pressed="true"] { opacity: 1; color: var(--text); border-color: color-mix(in srgb, var(--category) 78%, #dfffa8); background: color-mix(in srgb, var(--category) 18%, #181b16); box-shadow: inset 3px 0 0 var(--category), 0 0 0 1px color-mix(in srgb, var(--category) 28%, transparent), 0 5px 13px rgba(0,0,0,.24); transform: translateY(-1px); }
.layer-toggle:hover { opacity: 1; border-color: color-mix(in srgb, var(--category) 48%, rgba(255,255,255,.2)); }
.layer-toggle[aria-pressed="true"]:hover { background: color-mix(in srgb, var(--category) 24%, #181b16); }
.layer-toggle:focus-visible { z-index: 1; outline: 2px solid var(--accent); outline-offset: 2px; }
.layer-symbol { display: grid; grid-row: 1 / 3; place-items: center; flex: 0 0 23px; height: 23px; border-radius: 50%; color: #111; background: var(--category); font: 800 11px "Barlow Condensed"; transition: filter .15s ease, opacity .15s ease, box-shadow .15s ease; }
.layer-toggle[aria-pressed="false"] .layer-symbol { opacity: .58; filter: saturate(.25) brightness(.72); }
.layer-toggle[aria-pressed="true"] .layer-symbol { opacity: 1; filter: none; box-shadow: 0 0 0 2px color-mix(in srgb, var(--category) 30%, #fff), 0 0 9px color-mix(in srgb, var(--category) 48%, transparent); }
.layer-name { grid-column: 2 / 4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.layer-state { grid-column: 3; grid-row: 2; display: inline-flex; align-items: center; justify-self: end; gap: 4px; color: #727a6e; font-size: 9px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.layer-state::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #596056; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.layer-toggle[aria-pressed="true"] .layer-state { color: color-mix(in srgb, var(--category) 72%, #fff); }
.layer-toggle[aria-pressed="true"] .layer-state::before { background: var(--category); box-shadow: 0 0 0 2px color-mix(in srgb, var(--category) 22%, transparent), 0 0 7px var(--category); }
.control-shortcut { min-width: 20px; padding: 2px 4px; border: 1px solid rgba(255,255,255,.14); border-bottom-color: rgba(255,255,255,.28); border-radius: 3px; background: #0c0f0a; color: #747c70; box-shadow: inset 0 -1px 0 rgba(0,0,0,.55); font: 700 9px/1.2 "Barlow Condensed", sans-serif; letter-spacing: 0; text-align: center; white-space: nowrap; }
.layer-toggle .control-shortcut { grid-column: 2; grid-row: 2; justify-self: start; }
.map-tab.active .control-shortcut, .layer-toggle.active .control-shortcut { border-color: rgba(215,242,59,.28); color: var(--theme-accent-foreground); }
.feature-section { min-height: 0; flex: 1; display: flex; flex-direction: column; }
.feature-list { min-height: 0; overflow-y: auto; scrollbar-color: #343a30 transparent; scrollbar-width: thin; }
.feature-card { width: 100%; display: grid; grid-template-columns: 31px 1fr; gap: 10px; padding: 11px 7px; border: 0; border-bottom: 1px solid rgba(255,255,255,.055); background: transparent; text-align: left; cursor: pointer; }
.feature-card:hover { background: rgba(255,255,255,.035); }
.feature-card .layer-symbol { margin-top: 2px; width: 25px; height: 25px; }
.feature-card strong { display: block; margin-bottom: 4px; font-size: 12px; }
.feature-card small { display: -webkit-box; overflow: hidden; color: #777e72; font-size: 10px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.empty-state { padding: 28px 10px; color: var(--muted); text-align: center; font-size: 11px; }
.service-menu { display: flex; flex-direction: row; align-items: center; gap: 6px; min-width: 0; height: 100%; padding: 8px 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: #3b4235 transparent; }
.service-menu-item { position: relative; display: grid; flex: 0 0 auto; grid-template-columns: 28px minmax(0, auto) auto; align-items: center; gap: 8px; min-width: 106px; height: 48px; padding: 6px 9px; border: 1px solid transparent; border-radius: 5px; background: transparent; color: #aeb4a8; text-align: left; text-decoration:none; cursor: pointer; transition: .18s ease; }
.service-menu-item::after { content: ""; position: absolute; right: 10px; bottom: -9px; left: 10px; height: 3px; background: var(--accent); transform: scaleX(0); transition: .18s ease; }
.service-menu-item:hover:not(:disabled) { border-color: rgba(215,242,59,.2); background: #181c15; color: #e4e8df; }
.service-menu-item.active { border-color: rgba(215,242,59,.35); background: rgba(215,242,59,.07); color: var(--text); }
.service-menu-item.active::after { transform: scaleX(1); }
.service-menu-item>span:nth-child(2) { min-width: 0; }
.service-menu-item strong, .service-menu-item small { display: block; }
.service-menu-item strong { white-space: nowrap; font-size: 11px; }
.service-menu-item small { display: none; }
.service-menu-item i { color: #747b70; white-space: nowrap; font: 700 7px "Noto Sans KR"; font-style: normal; }
.service-menu-item .new-badge { padding: 2px 4px; border-radius: 3px; background: var(--accent); color: var(--brand-lime-text); font: 800 7px "Barlow Condensed"; letter-spacing: .06em; }
.service-menu-item.disabled { opacity: .42; cursor: not-allowed; }
.service-icon { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255,255,255,.18); border-bottom-color: rgba(255,255,255,.32); border-radius: 4px; background: linear-gradient(#151912, #0c0f0a); box-shadow: inset 0 -2px 0 rgba(0,0,0,.42), 0 1px 2px rgba(0,0,0,.28); color: var(--theme-accent-foreground); font: 800 12px "Barlow Condensed"; }
.service-menu-item:focus-visible .service-icon, .service-menu-item:hover:not(:disabled) .service-icon { border-color: rgba(215,242,59,.52); }
.service-menu-item.active .service-icon { border-color: rgba(215,242,59,.4); background: var(--accent); color: var(--brand-lime-text); }
.pc-optimized-notice { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 9px; margin: 5px 16px 14px; padding: 9px 10px; border: 1px solid rgba(116,183,255,.16); border-radius: 5px; background: rgba(55,104,152,.08); color: #87938b; font-size: 10px; line-height: 1.45; }
.pc-optimized-notice b { color: #8fc3ef; font: 700 10px "Barlow Condensed"; letter-spacing: .1em; white-space: nowrap; }
.pc-optimized-notice span { min-width: 0; }
.site-disclaimer { margin: 4px 16px 18px; padding-top: 12px; border-top: 1px solid var(--line); color: #687066; font-size: 10px; line-height: 1.55; }
.operator-contact { display: grid; grid-template-columns: 36px minmax(0,1fr) 28px; align-items: center; gap: 10px; min-height: 62px; margin: 0 16px 18px; padding: 11px; border: 1px solid rgba(88,101,242,.34); border-radius: 7px; background: linear-gradient(120deg, rgba(88,101,242,.16), rgba(22,25,35,.5)); box-shadow: inset 3px 0 0 rgba(88,101,242,.9); color: inherit; text-decoration: none; cursor: pointer; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.operator-contact:hover { transform: translateY(-1px); border-color: rgba(157,166,255,.7); background: linear-gradient(120deg, rgba(88,101,242,.24), rgba(22,25,35,.58)); box-shadow: inset 3px 0 0 #5865f2, 0 6px 16px rgba(0,0,0,.18); }
.operator-contact:focus-visible { outline: 3px solid rgba(215,242,59,.72); outline-offset: 2px; }
.operator-contact-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(88,101,242,.34); border-radius: 9px; background: rgba(8,10,16,.5); }
.operator-contact-icon img { display: block; width: 21px; height: 21px; }
.operator-contact-copy { display: grid; min-width: 0; gap: 2px; }
.operator-contact-copy small { color: #9da6ff; font: 700 9px "Barlow Condensed", "Noto Sans KR"; letter-spacing: .1em; }
.operator-contact-copy strong { color: #f2f3ff; font: 800 14px "Barlow Condensed", "Noto Sans KR"; letter-spacing: .02em; }
.operator-contact-copy span { color: #858b92; font-size: 10px; line-height: 1.45; word-break: keep-all; }
.operator-contact-copy span b { color: #c8ceff; font-weight: 800; }
.operator-contact-arrow { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(157,166,255,.28); border-radius: 50%; background: rgba(88,101,242,.14); color: #c8ceff; font: 800 15px "Barlow Condensed", sans-serif; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.operator-contact:hover .operator-contact-arrow { transform: translate(1px,-1px); border-color: rgba(157,166,255,.72); background: rgba(88,101,242,.3); }
.feedback-panel { padding-top: 13px; }
.feedback-mode-toggle { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 5px; background: linear-gradient(110deg, #11150e, #181c14); color: inherit; cursor: pointer; text-align: left; transition: .18s ease; }
.feedback-mode-toggle:hover { border-color: rgba(215,242,59,.34); background: #1a2014; }
.feedback-mode-toggle.active { border-color: rgba(215,242,59,.5); box-shadow: inset 3px 0 0 var(--accent), 0 0 18px rgba(215,242,59,.06); background: rgba(215,242,59,.075); }
.feedback-mode-toggle.login-required { border-color: rgba(255,184,92,.2); background: linear-gradient(110deg, rgba(65,45,20,.23), #171814); }
.feedback-mode-toggle.login-required:hover { border-color: rgba(255,184,92,.48); background: rgba(92,61,23,.22); }
.feedback-mode-toggle.login-required .feedback-mode-icon { border-color: rgba(255,184,92,.28); color: #e8b56d; }
.feedback-mode-toggle.login-required i { color: #e8b56d; }
.feedback-mode-icon { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(215,242,59,.28); border-radius: 4px; background: #0d100b; color: var(--theme-accent-foreground); font-size: 19px; }
.feedback-mode-toggle>span:nth-child(2) { min-width: 0; }
.feedback-mode-toggle strong, .feedback-mode-toggle small { display: block; }
.feedback-mode-toggle strong { font-size: 12px; }
.feedback-mode-toggle small { overflow: hidden; margin-top: 3px; color: #72796d; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }
.feedback-mode-toggle i { color: #899181; font-size: 8px; font-style: normal; font-weight: 700; }
.feedback-mode-toggle.active i { color: var(--theme-accent-foreground); }
.feedback-clear-all { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 38px; margin-top: 7px; padding: 9px 10px; border: 1px solid rgba(255,104,104,.24); border-radius: 4px; background: rgba(89,24,24,.14); color: #d7b5b5; cursor: pointer; font-size: 10px; font-weight: 700; text-align: left; }
.feedback-clear-all:hover:not(:disabled) { border-color: rgba(255,104,104,.55); background: rgba(126,30,30,.24); color: #ffd4d4; }
.feedback-clear-all i { min-width: 30px; color: #ff8585; font: 800 10px "Barlow Condensed"; font-style: normal; text-align: right; }
.feedback-clear-all:disabled { opacity: .36; cursor: default; }

.records-stage[hidden] { display: none; }
.records-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #090b08; container-type: inline-size; }
.records-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 82% 0%, rgba(215,242,59,.075), transparent 30%), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 54%); }
.records-scroll { position: relative; height: 100%; overflow-y: auto; scrollbar-color: #343a30 transparent; }
.records-hero { padding: 34px clamp(28px, 4vw, 64px) 28px; border-bottom: 1px solid var(--line); background: rgba(9,11,8,.82); }
.records-hero-layout { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; width: min(1500px, 100%); margin: 0 auto; }
.records-hero-copy { flex: 1 1 auto; min-width: 220px; }
.records-kicker { color: var(--theme-accent-foreground); font: 700 12px "Barlow Condensed"; letter-spacing: .19em; }
.records-hero h2 { margin: 6px 0 5px; font: 800 clamp(32px, 2.5vw, 38px)/1.08 "Barlow Condensed", "Noto Sans KR"; letter-spacing: -.025em; white-space: nowrap; }
.records-hero-copy p { margin: 0; color: #959c90; font-size: 14px; }
.record-search-form { display: grid; flex: 0 1 760px; grid-template-columns: 150px minmax(260px, 1fr) 122px; align-items: end; gap: 10px; margin: 0; }
.record-search-form label>span { display: block; margin: 0 0 7px 1px; color: #959c90; font-size: 12px; font-weight: 700; }
.record-search-form select, .record-search-form input { width: 100%; height: 52px; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; outline: 0; background: #141712; color: var(--text); font-size: 14px; }
.record-search-form select { padding: 0 12px; cursor: pointer; }
.record-search-form input { padding: 0 14px; }
.record-search-form select:focus, .record-search-form input:focus { border-color: rgba(215,242,59,.68); box-shadow: 0 0 0 3px rgba(215,242,59,.07); }
.record-search-form button { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border: 0; border-radius: 3px; background: var(--accent); color: var(--brand-lime-text); cursor: pointer; font-size: 14px; font-weight: 800; }
.record-search-form button:hover { filter: brightness(1.07); }
.record-search-form button:disabled { opacity: .55; cursor: wait; filter: none; }
.record-search-form button b { font-size: 15px; }
.recent-player-searches { width: min(1500px, 100%); margin: 14px auto 0; padding: 12px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; background: rgba(17,20,15,.78); }
.recent-player-searches>header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.recent-player-searches>header>div { display: grid; min-width: 0; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 9px; }
.recent-player-searches>header span { grid-row: 1 / 3; padding: 4px 6px; border: 1px solid rgba(255,255,255,.15); border-radius: 3px; color: #abb3a4; font: 800 9px "Barlow Condensed"; letter-spacing: .09em; }
.recent-player-searches>header strong { color: #e8eddf; font-size: 12px; }
.recent-player-searches>header p { min-width: 0; margin: 3px 0 0; color: #7f8879; font-size: 10px; line-height: 1.45; }
.recent-player-searches>header button { flex: 0 0 auto; padding: 7px 10px; border: 1px solid rgba(255,115,109,.24); border-radius: 3px; background: rgba(101,30,27,.12); color: #d9aaa6; cursor: pointer; font-size: 10px; font-weight: 700; }
.recent-player-searches>header button:hover { border-color: rgba(255,115,109,.5); color: #ffd0cc; }
.recent-player-list { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #3b4137 transparent; }
.recent-player-list:empty { display: none; }
.recent-player-item { display: grid; flex: 0 0 clamp(178px, 17vw, 235px); min-width: 0; overflow: hidden; grid-template-columns: minmax(0, 1fr) 30px; border: 1px solid rgba(255,255,255,.11); border-radius: 4px; background: #151914; }
.recent-player-button { display: grid; min-width: 0; min-height: 48px; padding: 7px 8px 7px 11px; border: 0; background: transparent; color: var(--text); cursor: pointer; grid-template-columns: minmax(0, 1fr) auto; text-align: left; }
.recent-player-button small { overflow: hidden; color: #7e8677; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.recent-player-button strong { overflow: hidden; grid-column: 1; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.recent-player-button b { display: grid; grid-column: 2; grid-row: 1 / 3; place-items: center; padding-left: 8px; color: var(--theme-accent-foreground); font-size: 13px; }
.recent-player-button:hover { background: rgba(215,242,59,.055); }
.recent-player-button:focus-visible, .recent-player-remove:focus-visible, #recent-player-clear:focus-visible { position: relative; z-index: 1; outline: 2px solid var(--accent); outline-offset: -2px; }
.recent-player-remove { border: 0; border-left: 1px solid rgba(255,255,255,.08); background: transparent; color: #798074; cursor: pointer; font-size: 17px; }
.recent-player-remove:hover { background: rgba(255,115,109,.08); color: #ffaaa5; }
.recent-player-empty { margin: 9px 0 1px; color: #737b70; font-size: 10px; }
.recent-player-empty[hidden] { display: none; }
.my-records-quick[hidden] { display: none; }
.my-records-quick { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: min(1500px, 100%); margin: 14px auto 0; padding: 12px 14px; border: 1px solid rgba(215,242,59,.14); border-radius: 4px; background: linear-gradient(100deg, rgba(215,242,59,.055), rgba(20,23,18,.68)); }
.my-records-quick-copy { display: grid; flex: 1 1 auto; min-width: 0; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 9px; }
.my-records-quick-copy>span { grid-row: 1 / 3; padding: 4px 6px; border: 1px solid rgba(215,242,59,.25); border-radius: 3px; color: var(--theme-accent-foreground); font: 800 9px "Barlow Condensed"; letter-spacing: .09em; }
.my-records-quick-copy>strong { color: #e8eddf; font-size: 12px; }
.my-records-quick-copy>p { min-width: 0; margin: 3px 0 0; overflow: hidden; color: #7f8879; font-size: 10px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.my-records-quick-actions { display: grid; flex: 0 1 510px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.my-records-quick-actions[data-count="0"] { flex-basis: 230px; grid-template-columns: minmax(0, 1fr); }
.my-records-quick-actions[data-count="1"] { flex-basis: 255px; grid-template-columns: minmax(0, 1fr); }
.my-records-quick-actions button { min-width: 0; min-height: 48px; border: 1px solid rgba(255,255,255,.13); border-radius: 4px; background: #171b14; color: var(--text); cursor: pointer; }
.my-records-quick-actions button:hover { border-color: rgba(215,242,59,.52); background: #1d2317; }
.my-records-quick-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.my-records-button { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 9px; padding: 7px 11px 7px 8px; text-align: left; }
.my-records-provider { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(215,242,59,.28); border-radius: 3px; background: rgba(215,242,59,.08); color: var(--theme-accent-foreground); font: 800 13px "Barlow Condensed"; }
.my-records-button-copy { display: grid; min-width: 0; gap: 2px; }
.my-records-button-copy small { color: #7e8677; font-size: 9px; }
.my-records-button-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.my-records-button>b { color: var(--theme-accent-foreground); font-size: 14px; }
.my-records-register, .my-records-retry { padding: 8px 12px; color: #dce4d3 !important; font-size: 11px; font-weight: 700; }
.my-records-quick[data-state="loading"] { opacity: .76; }
.my-records-quick[data-state="error"] { border-color: rgba(255,105,97,.28); }
.leaderboard-platform-tabs,.leaderboard-mode-tabs { display: flex; flex: 0 0 auto; gap: 5px; height: 44px; padding: 3px; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; background: #0d100c; box-sizing: border-box; }
.leaderboard-platform-tabs button,.leaderboard-mode-tabs button { min-width: 62px; padding: 8px 12px; border: 0; border-radius: 3px; background: transparent; color: #858d80; cursor: pointer; font: 800 15px "Barlow Condensed"; letter-spacing: .05em; }
.leaderboard-platform-tabs button:hover,.leaderboard-mode-tabs button:hover { color: #dfe6d7; }
.leaderboard-platform-tabs button:disabled,.leaderboard-mode-tabs button:disabled { color: #69706a; cursor: not-allowed; opacity: .52; }
.leaderboard-platform-tabs button:disabled:hover,.leaderboard-mode-tabs button:disabled:hover { color: #69706a; }
.leaderboard-platform-tabs button[aria-selected="true"],.leaderboard-platform-tabs button.active,.leaderboard-mode-tabs button[aria-selected="true"],.leaderboard-mode-tabs button.active { background: var(--accent); color: var(--brand-lime-text); }

.leaderboard-platform-tabs button:focus-visible,.leaderboard-mode-tabs button:focus-visible,.leaderboard-status button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.leaderboard-status { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 92px; padding: 18px; color: #9ca597; font-size: 13px; text-align: center; }
.leaderboard-status[hidden] { display: none; }
.leaderboard-status.leaderboard-loading::before { content: ""; width: 15px; height: 15px; border: 2px solid rgba(215,242,59,.2); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.leaderboard-status.leaderboard-error { color: #e8aaa5; }
.leaderboard-status button { padding: 7px 10px; border: 1px solid rgba(215,242,59,.3); border-radius: 3px; background: rgba(215,242,59,.07); color: var(--theme-accent-foreground); cursor: pointer; font-size: 10px; font-weight: 800; }
.records-hero .search-help { width: min(1500px, 100%); margin: 10px auto 0; color: #747b70; font-size: 11px; text-align: right; }

.records-content { width: min(1600px, 100%); margin: 0 auto; padding: 30px clamp(28px, 4vw, 64px) 72px; }
.record-result-shell { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 108px; padding: 22px 25px; border: 1px solid var(--line); border-radius: 4px; background: rgba(20,23,18,.88); }
.record-result-shell.pending { border-color: rgba(215,242,59,.3); background: rgba(215,242,59,.055); }
.record-result-shell.error { border-color: rgba(255,105,97,.36); background: rgba(255,105,97,.055); }
.record-result-shell.error .record-empty-icon { background: rgba(255,105,97,.12); color: #ff8e87; }
.record-result-shell.has-data { display: block; min-height: 0; padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; }
.record-empty-icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--accent-dim); color: var(--theme-accent-foreground); font-size: 25px; }
.record-result-shell>div>strong { font-size: 14px; }
.record-result-shell>div>p { max-width: 650px; margin: 6px 0 0; color: #858c80; font-size: 11px; line-height: 1.7; }
.record-result-inner { width: 100%; }
.record-profile-card { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 126px; padding: 20px 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 4px 4px 0 0; background: linear-gradient(110deg, #1a1e17 0%, #131611 65%, #10130e 100%); }
.record-profile-card::after { content: ""; position: absolute; right: -70px; top: -125px; width: 330px; height: 330px; border: 1px solid rgba(215,242,59,.09); border-radius: 50%; box-shadow: 0 0 0 45px rgba(215,242,59,.018), 0 0 0 90px rgba(215,242,59,.012); }
.record-avatar { position: relative; z-index: 1; display: grid; place-items: center; width: 84px; height: 84px; overflow: hidden; border: 1px solid rgba(215,242,59,.5); border-radius: 3px; background: linear-gradient(145deg, #29301f, #11150d); box-shadow: inset 0 0 35px rgba(215,242,59,.08); }
.record-avatar::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.record-avatar.platform-steam { border-color: rgba(102,192,244,.72); background: linear-gradient(145deg,#20364a,#101820); box-shadow: inset 0 0 35px rgba(102,192,244,.12); }
.record-avatar.platform-kakao { border-color: #fee500; background: #fee500; box-shadow: inset 0 0 30px rgba(255,255,255,.22); }
.record-avatar.platform-kakao::before { border-color: rgba(25,25,25,.16); }
.record-platform-icon { position: relative; z-index: 1; display: grid; place-items: center; gap: 2px; }
.record-platform-mark { display: block; width: 46px; height: 46px; }
.record-platform-icon small { color: #fff; font: 800 9px "Barlow Condensed"; letter-spacing: .12em; }
.record-platform-kakao, .record-platform-generic { display: grid; width: 38px; height: 38px; place-items: center; color: #191919; font: 900 31px "Barlow Condensed"; line-height: 1; }
.record-platform-generic { color: var(--theme-accent-foreground); font-size: 22px; }
.record-avatar.platform-kakao .record-platform-icon small { color: #191919; }
.record-profile-copy { position: relative; z-index: 1; min-width: 0; }
.record-profile-badges { display: flex; align-items: center; gap: 7px; }
.record-profile-badges span, .record-profile-badges i { padding: 5px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 2px; color: #c5cabf; font: 700 11px "Barlow Condensed"; letter-spacing: .08em; font-style: normal; }
.record-profile-badges i { border-color: rgba(215,242,59,.27); color: var(--theme-accent-foreground); }
.record-profile-copy h3 { overflow: hidden; margin: 9px 0 3px; color: #f4f6f1; font: 800 clamp(30px, 3vw, 40px) "Barlow Condensed", "Noto Sans KR"; letter-spacing: -.015em; white-space: nowrap; text-overflow: ellipsis; }
.record-profile-copy p { margin: 0; color: #969d91; font-size: 13px; }
.record-result-meta { position: relative; z-index: 1; display: grid; justify-items: end; gap: 7px; }
.record-result-meta b { padding: 6px 10px; border: 1px solid rgba(215,242,59,.3); border-radius: 2px; color: var(--theme-accent-foreground); font-size: 11px; }
.record-result-meta span { color: #858c80; font-size: 11px; }
.record-activity-report-button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(215,242,59,.4); border-radius: 3px; background: rgba(215,242,59,.08); color: var(--theme-accent-foreground); cursor: pointer; font-size: 12px; font-weight: 800; }
.record-activity-report-button:hover { background: var(--accent); color: var(--brand-lime-text); }
.record-activity-report-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.record-nickname-history-button { min-height: 34px; padding: 0 11px; border: 1px solid rgba(255,255,255,.22); border-radius: 3px; background: rgba(255,255,255,.06); color: #e7ebe2; cursor: pointer; font-size: 12px; font-weight: 800; }
.record-nickname-history-button:hover { border-color: var(--accent); color: var(--theme-accent-foreground); }
.record-nickname-history-button:focus-visible, .record-nickname-history-head button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.record-nickname-history { margin: 12px 0; padding: 18px 20px; border: 1px solid rgba(215,242,59,.22); border-radius: 4px; background: linear-gradient(110deg, rgba(25,31,20,.98), rgba(15,19,14,.98)); }
.record-nickname-history-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.record-nickname-history-head span { color: var(--theme-accent-foreground); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.record-nickname-history-head h4 { margin: 4px 0; color: #f2f5ee; font-size: 18px; }
.record-nickname-history-head p { margin: 0; color: #8f998a; font-size: 12px; }
.record-nickname-history-head button { min-height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.2); border-radius: 3px; background: transparent; color: #b7beb2; cursor: pointer; }
.nickname-history-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 9px; margin: 16px 0 0; padding: 0; list-style: none; }
.nickname-history-item { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; background: rgba(255,255,255,.035); }
.nickname-history-item.is-current { border-color: rgba(215,242,59,.45); background: rgba(215,242,59,.07); }
.nickname-history-item strong { color: #f4f6f1; font-size: 17px; overflow-wrap: anywhere; }
.nickname-history-item.is-current strong { color: var(--theme-accent-foreground); }
.nickname-history-item span { color: #aeb6a8; font-size: 11px; font-weight: 800; }
.nickname-history-item time, .nickname-history-item small { color: #858f81; font-size: 11px; }
.nickname-history-empty { padding: 14px; border: 1px dashed rgba(255,255,255,.16); color: #aeb6a8; font-size: 12px; }
.record-nickname-history-note { margin: 13px 0 0; color: #778173; font-size: 11px; line-height: 1.65; }
.nickname-history-example { margin-top: 14px; padding: 13px 14px; border: 1px dashed rgba(215,242,59,.28); border-radius: 3px; background: rgba(215,242,59,.035); }
.nickname-history-example>strong { display: block; color: var(--theme-accent-foreground); font-size: 12px; }
.nickname-history-example>ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; margin: 10px 0; padding: 0; list-style: none; }
.nickname-history-example>ol li { display: grid; gap: 3px; min-width: 0; padding: 8px 9px; border-left: 2px solid rgba(255,255,255,.18); }
.nickname-history-example>ol li:nth-child(2), .nickname-history-example>ol li:nth-child(4) { border-left-color: rgba(215,242,59,.7); }
.nickname-history-example time, .nickname-history-example span { color: #899486; font-size: 10px; }
.nickname-history-example li b { color: #f1f5ec; font-size: 15px; overflow-wrap: anywhere; }
.nickname-history-example>p { margin: 0; color: #aeb8a8; font-size: 11px; line-height: 1.65; }
.nickname-history-example>p b { color: var(--theme-accent-foreground); }
.record-tabs { display: flex; align-items: center; min-height: 47px; padding: 0 15px; border: 1px solid rgba(255,255,255,.11); border-top: 0; background: #121510; }
.record-tabs button { align-self: stretch; min-width: 94px; padding: 0 17px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #92998d; cursor: pointer; font-size: 13px; font-weight: 700; }
.record-tabs button:hover { color: #fff; }
.record-tabs button.active { border-bottom-color: var(--accent); color: var(--theme-accent-foreground); }
.record-tabs>span { margin-left: auto; padding: 6px 10px; border: 1px solid var(--line); color: #aab1a4; font-size: 12px; font-weight: 700; }
.record-overview-panel, .record-dashboard-section { margin-top: 30px; }
.record-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.record-section-heading>div>span { color: var(--theme-accent-foreground); font: 700 11px "Barlow Condensed"; letter-spacing: .16em; }
.record-section-heading h4 { margin: 4px 0 0; color: #edf0e9; font-size: 20px; }
.record-section-heading>p { margin: 0; color: #7d8579; font-size: 12px; }
.record-metric-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.11); border-left: 2px solid var(--accent); background: #11140f; }
.record-metric { position: relative; min-width: 0; padding: 22px 20px; border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.022), transparent); }
.record-metric:first-child { border-left: 0; }
.record-metric>span { display: block; color: #8d9588; font-size: 12px; font-weight: 700; }
.record-metric>strong { display: block; margin-top: 5px; color: #f2f4ef; font: 800 clamp(27px, 2.2vw, 34px) "Barlow Condensed", "Noto Sans KR"; }
.record-metric>strong small { margin-left: 3px; color: #aeb5a8; font-size: 14px; }
.ranked-overview-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); border-left-color: #c3ab71; }
.ranked-overview-grid .record-metric:nth-child(2) strong, .ranked-overview-grid .record-metric:nth-child(3) strong { color: #e3c987; }
.competitive-overview-layout { display: grid; grid-template-columns: minmax(250px, 320px) minmax(0, 1fr); gap: 10px; }
.ranked-tier-summary { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 224px; overflow: hidden; padding: 18px 20px; border: 1px solid rgba(195,171,113,.38); border-top: 2px solid #c3ab71; border-radius: 3px; background: radial-gradient(circle at 28% 42%,rgba(195,171,113,.16),transparent 48%),linear-gradient(145deg,#1b1a14,#11130f); }
.ranked-tier-summary::after { content: ""; position: absolute; right: -52px; top: -52px; width: 145px; height: 145px; border: 1px solid rgba(195,171,113,.1); border-radius: 50%; box-shadow: 0 0 0 24px rgba(195,171,113,.025); }
.ranked-tier-kicker { color: #c3ab71; font: 800 10px "Barlow Condensed"; letter-spacing: .16em; }
.ranked-tier-main { position: relative; z-index: 1; display: flex; align-items: center; gap: 15px; }
.ranked-tier-main small { color: #8f978b; font-size: 10px; }
.ranked-tier-main h5 { margin: 3px 0; color: #f0dfb4; font: 800 26px "Barlow Condensed", "Noto Sans KR"; }
.ranked-tier-main p { margin: 0; color: #a7afa1; font-size: 12px; }
.ranked-tier-best { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; padding-top: 11px; border-top: 1px solid rgba(195,171,113,.2); }
.ranked-tier-best span { color: #858d81; font-size: 10px; }
.ranked-tier-best strong { color: var(--theme-accent-foreground); font: 800 22px "Barlow Condensed"; }
.normal-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.normal-mode-card { --mode-color: #d7f23b; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-top: 2px solid var(--mode-color); border-radius: 3px; background: #121510; }
.normal-mode-card.mode-1 { --mode-color: #e79a51; }
.normal-mode-card.mode-2 { --mode-color: #4fc2ba; }
.normal-mode-card.mode-4 { --mode-color: #9588e8; }
.normal-mode-card.is-empty { border-top-color: color-mix(in srgb, var(--mode-color) 45%, #292d27); background: #0f120e; }
.normal-mode-card.is-empty .mode-card-head { opacity: .68; }
.mode-empty-state { display: grid; place-items: center; align-content: center; gap: 10px; min-height: 190px; color: #697166; }
.mode-empty-state b { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #343a31; border-radius: 50%; color: #8a9185; font-size: 19px; }
.mode-empty-state span { font-size: 12px; }
.mode-card-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 17px; border-bottom: 1px solid var(--line); background: linear-gradient(105deg, color-mix(in srgb, var(--mode-color) 9%, transparent), transparent 65%); }
.mode-symbol { display: flex; align-items: baseline; justify-content: center; width: 40px; height: 40px; padding-top: 7px; border: 1px solid color-mix(in srgb, var(--mode-color) 42%, transparent); border-radius: 2px; color: var(--mode-color); }
.mode-symbol b { font: 800 21px "Barlow Condensed"; }
.mode-symbol small { font: 700 10px "Barlow Condensed"; }
.mode-card-head>div:nth-child(2)>span { color: var(--mode-color); font: 700 11px "Barlow Condensed"; letter-spacing: .1em; }
.mode-card-head h5 { margin: 2px 0 0; color: #e8ebe4; font-size: 16px; }
.mode-games { color: #9aa195; font-size: 12px; }
.mode-card-primary, .ranked-primary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ranked-primary { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.mode-card-primary>div, .ranked-primary>div { padding: 18px; border-left: 1px solid var(--line); }
.mode-card-primary>div:first-child, .ranked-primary>div:first-child { border-left: 0; }
.mode-card-primary span, .ranked-primary span { display: block; color: #8d9588; font-size: 11px; }
.mode-card-primary strong, .ranked-primary strong { display: block; margin-top: 4px; color: #f2f4ef; font: 800 28px "Barlow Condensed", "Noto Sans KR"; }
.mode-card-primary>div:first-child strong { color: var(--mode-color); }
.mode-progress { height: 2px; margin: 0 14px; overflow: hidden; background: #282d25; }
.mode-progress i { display: block; width: var(--value); height: 100%; background: var(--mode-color); }
.mode-stat-grid, .ranked-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 13px 18px 16px; }
.mode-stat-grid span, .ranked-stat-grid span { display: flex; justify-content: space-between; gap: 9px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.05); color: #858d81; font-size: 11px; }
.mode-stat-grid span:nth-child(odd), .ranked-stat-grid span:nth-child(odd) { padding-right: 10px; }
.mode-stat-grid span:nth-child(even), .ranked-stat-grid span:nth-child(even) { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.05); }
.mode-stat-grid b, .ranked-stat-grid b { color: #d6dbd1; font-size: 12px; }
.ranked-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ranked-performance-card { overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-top: 2px solid #c3ab71; border-radius: 3px; background: linear-gradient(145deg,rgba(195,171,113,.055),#121510 38%); }
.ranked-performance-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 70px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.ranked-performance-head span { color: #c3ab71; font: 800 9px "Barlow Condensed"; letter-spacing: .13em; }
.ranked-performance-head h5 { margin: 3px 0 0; color: #edf0e9; font-size: 17px; }
.ranked-performance-head>b { color: #929a8e; font-size: 11px; }
.ranked-performance-primary { grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.ranked-performance-primary>div:first-child strong { color: #e3c987; }
.tier-emblem { position: relative; display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 75px; color: #e7d19a; font: 800 23px "Barlow Condensed"; clip-path: polygon(50% 0, 93% 19%, 83% 78%, 50% 100%, 17% 78%, 7% 19%); background: linear-gradient(145deg, #5d5237, #201d16); }
.tier-emblem::before { content: ""; position: absolute; inset: 4px; clip-path: inherit; background: #11140f; }
.tier-emblem span { position: relative; z-index: 1; }
.tier-emblem i { position: absolute; z-index: 1; bottom: 11px; width: 22px; height: 1px; background: #c3ab71; }
.tier-emblem.has-image { flex-basis: 94px; width: 94px; height: 94px; clip-path: none; background: none; }
.tier-emblem.has-image::before, .tier-emblem.has-image span, .tier-emblem.has-image i { display: none; }
.tier-emblem-image { display: block; width: 94px; height: 94px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.42)); }
.ranked-primary { border-bottom: 1px solid var(--line); }
.ranked-stat-grid { padding-top: 8px; padding-bottom: 8px; }
.record-match-layout { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); align-items: start; gap: 12px; }
.record-recent-teammates { margin-top: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; background: #11140f; }
.record-recent-teammates>header { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding: 16px 18px 13px; border-bottom: 1px solid rgba(255,255,255,.08); }
.record-recent-teammates>header span { display: block; color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .15em; }
.record-recent-teammates>header h4 { margin: 4px 0 0; color: #eef2e9; font-size: 17px; }
.record-recent-teammates>header p { margin: 0; color: #858d80; font-size: 11px; text-align: right; }
.record-recent-player-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.record-recent-player-columns>article { min-width: 0; }
.record-recent-player-columns>article+article { border-left: 1px solid rgba(255,255,255,.08); }
.record-recent-player-columns h5 { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 11px 18px 9px; color: #bfc8b9; font-size: 12px; }
.record-recent-player-columns h5 b { color: var(--theme-accent-foreground); font: 800 15px "Barlow Condensed", "Noto Sans KR"; }
.record-recent-teammate-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.record-recent-teammate { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; min-height: 54px; padding: 8px 18px; border-bottom: 1px solid rgba(255,255,255,.055); }
.record-recent-teammate:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.055); }
.record-recent-teammate-name { min-width: 0; overflow: hidden; color: #dce1d8; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; text-align: left; }
.record-recent-teammate>strong { flex: 0 0 auto; color: var(--theme-accent-foreground); font: 800 22px "Barlow Condensed", "Noto Sans KR"; }
.record-recent-teammate>strong small { margin-left: 3px; color: #899181; font: 500 10px "Noto Sans KR"; }
.record-recent-teammates-note { display: block; padding: 11px 18px 13px; color: #737c70; font-size: 10px; line-height: 1.55; }
.record-combat-analysis { margin: 0 12px 12px; border: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); }
.record-combat-analysis>header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px 9px; border-bottom: 1px solid rgba(255,255,255,.07); }
.record-combat-analysis>header strong { color: #e6b94e; font: 800 11px "Barlow Condensed"; letter-spacing: .14em; }
.record-combat-analysis>header span { color: #8b9486; font-size: 11px; }
.record-combat-analysis>small { display: block; padding: 10px 18px 12px; color: #737c70; font-size: 10px; line-height: 1.55; }
.record-combat-analysis-button { margin: 13px 18px 3px; padding: 9px 13px; border: 1px solid rgba(230,185,78,.55); border-radius: 2px; background: rgba(230,185,78,.08); color: #e6b94e; font-size: 12px; font-weight: 700; cursor: pointer; }
.record-combat-analysis>p { margin: 5px 18px 14px; color: #7f887b; font-size: 11px; line-height: 1.55; }
.record-combat-analysis.is-loading, .record-combat-analysis.is-error { padding: 13px 18px 14px; }
.record-combat-analysis.is-loading strong, .record-combat-analysis.is-error strong { color: #e6b94e; font-size: 13px; }
.record-combat-analysis.is-error strong { color: #ef8b80; }
.record-combat-analysis.is-loading p, .record-combat-analysis.is-error p { margin: 5px 0 0; }
.record-recent-teammates-empty { padding: 24px 18px; color: #7f877b; font-size: 11px; }
.record-match-list { display: grid; align-content: start; gap: 7px; max-height: 610px; overflow: auto; scrollbar-color: #3a4036 transparent; }
.record-match-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; min-height: 88px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 3px; background: #11140f; color: inherit; cursor: pointer; text-align: left; }
.record-match-item:hover { border-color: rgba(215,242,59,.3); background: #151911; }
.record-match-item.active { border-color: rgba(215,242,59,.62); background: linear-gradient(100deg, rgba(215,242,59,.105), #151911 62%); box-shadow: inset 3px 0 var(--accent); }
.record-match-rank { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.13); border-radius: 3px; color: #d9ded5; font: 800 20px "Barlow Condensed", "Noto Sans KR"; }
.record-match-rank.is-win { border-color: rgba(215,242,59,.44); background: rgba(215,242,59,.09); color: var(--theme-accent-foreground); }
.record-match-copy { min-width: 0; }
.record-match-copy b, .record-match-copy small, .record-match-copy time { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.record-match-copy b { color: #f0f3ed; font-size: 14px; }
.record-match-copy small { margin-top: 4px; color: #9ba295; font-size: 11px; }
.record-match-copy time { margin-top: 5px; color: #747b70; font-size: 11px; }
.record-match-quick { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 5px; min-width: 58px; text-align: right; }
.record-match-quick b { color: #e7eae3; font: 800 16px "Barlow Condensed", "Noto Sans KR"; }
.record-match-quick small { color: #787f74; font-size: 10px; }
.record-match-detail { min-width: 0; min-height: 420px; padding: 23px; border: 1px solid rgba(255,255,255,.11); border-top: 2px solid var(--accent); border-radius: 3px; background: linear-gradient(145deg, #151912, #10130e 68%); }
.record-match-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 22px; }
.record-match-detail-head>div:first-child>span { color: var(--theme-accent-foreground); font: 700 11px "Barlow Condensed"; letter-spacing: .15em; }
.record-match-detail-head h5 { margin: 5px 0 3px; color: #f1f4ee; font: 800 28px "Barlow Condensed", "Noto Sans KR"; }
.record-match-detail-head p { margin: 0; color: #8f978b; font-size: 12px; }
.record-match-placement { display: flex; align-items: baseline; white-space: nowrap; }
.record-match-placement strong { color: var(--theme-accent-foreground); font: 800 36px "Barlow Condensed", "Noto Sans KR"; }
.record-match-placement span { color: #8d9588; font-size: 11px; }
.record-match-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; border: 1px solid var(--line); }
.record-match-detail-grid .record-metric { padding: 15px 14px; }
.record-match-detail-grid .record-metric:nth-child(4) { border-left: 0; }
.record-match-detail-grid .record-metric:nth-child(n+4) { border-top: 1px solid var(--line); }
.record-match-detail-grid .record-metric>strong { font-size: 25px; }
.record-match-secondary { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; color: #8c9487; font-size: 11px; }
.record-match-secondary b { margin-left: 4px; color: #d5dad1; }
.record-match-intel { margin-top: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 3px; background: rgba(6,8,6,.36); }
.record-match-intel-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.025); }
.record-match-intel-tabs button { min-height: 42px; padding: 10px 13px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #8e9689; font: 700 12px "Noto Sans KR"; cursor: pointer; }
.record-match-intel-tabs button:last-child { border-right: 0; }
.record-match-intel-tabs button[aria-selected="true"] { box-shadow: inset 0 -2px var(--accent); background: rgba(215,242,59,.065); color: #eef2e8; }
.record-match-intel-tabs b { margin-left: 5px; color: var(--theme-accent-foreground); font: 800 13px "Barlow Condensed","Noto Sans KR"; }
.record-match-intel [role="tabpanel"] { min-width: 0; }
.record-match-intel [role="tabpanel"][hidden] { display: none; }
.record-squad-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 10px; }
.record-squad { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.09); border-radius: 3px; background: rgba(4,7,5,.42); }
.record-squad.is-searched { border-color: rgba(215,242,59,.48); background: rgba(215,242,59,.055); box-shadow: inset 0 2px 0 rgba(215,242,59,.8); }
.record-squad>header { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 40px; padding: 8px 9px; border-bottom: 1px solid rgba(255,255,255,.07); }
.record-squad>header span { display: flex; align-items: baseline; min-width: 0; gap: 6px; }
.record-squad>header b { color: var(--theme-accent-foreground); font: 800 16px "Barlow Condensed","Noto Sans KR"; letter-spacing: .03em; }
.record-squad>header small { color: #818a7d; font-size: 10px; }
.record-squad>header em { flex: 0 1 auto; overflow: hidden; padding: 3px 5px; border-radius: 2px; background: rgba(215,242,59,.12); color: var(--theme-accent-foreground); font-style: normal; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.record-squad-players { padding: 4px 9px 7px; }
.record-squad-players>div { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 29px; border-bottom: 1px solid rgba(255,255,255,.045); }
.record-squad-players>div:last-child { border-bottom: 0; }
.record-player-link { display: inline; max-width: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; font: inherit; line-height: inherit; text-decoration: underline; text-decoration-color: rgba(215,242,59,.34); text-decoration-style: dotted; text-underline-offset: 3px; cursor: pointer; }
.record-player-link:hover { color: var(--theme-accent-foreground); text-decoration-color: currentColor; }
.record-player-link:focus-visible { border-radius: 2px; outline: 2px solid var(--accent); outline-offset: 2px; }
.record-squad-player-link { min-width: 0; overflow: hidden; color: #dce1d8; font-size: 11px; font-weight: 700; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.record-squad-players span { flex: 0 0 auto; color: #777f73; font-size: 9px; }
.record-squad-players span b { color: #bbc2b5; }
.record-match-log { max-height: 390px; margin: 0; padding: 5px 13px; overflow: auto; list-style: none; scrollbar-color: #3a4036 transparent; }
.record-match-log li { display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: start; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.055); }
.record-match-log li:last-child { border-bottom: 0; }
.record-match-log time { padding-top: 1px; color: #737b70; font: 700 11px "Barlow Condensed","Noto Sans KR"; }
.record-match-log li>span { min-width: 0; color: #9ba395; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.record-log-team { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; margin-right: 5px; padding: 1px 4px; border: 1px solid rgba(215,242,59,.24); border-radius: 2px; background: rgba(215,242,59,.08); color: var(--theme-accent-foreground); font: 800 9px "Barlow Condensed","Noto Sans KR"; font-style: normal; letter-spacing: .04em; vertical-align: 1px; }
.record-log-player { color: #cfd5ca; font-weight: 700; vertical-align: baseline; }
.record-log-player.is-actor { color: #d9ded4; }
.record-match-log li.is-knock .record-log-player.is-target { color: #e1b56f; }
.record-match-log li.is-revive .record-log-player.is-target { color: #82cfa2; }
.record-match-log li.is-kill .record-log-player.is-target { color: #e58a83; }
.record-match-log li small { display: inline-block; margin-left: 7px; padding: 2px 5px; border-radius: 2px; background: rgba(255,255,255,.06); color: #80887c; font-size: 9px; }
.record-match-intel-empty { min-height: 86px; padding: 30px 18px; color: #7f877b; text-align: center; font-size: 11px; line-height: 1.65; }
.record-match-intel-empty.loading::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border: 2px solid rgba(215,242,59,.25); border-top-color: var(--accent); border-radius: 50%; animation: record-spin .8s linear infinite; }
.record-replay-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 23px; }
.record-replay-link, .record-replay-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; min-height: 86px; padding: 14px 15px; border: 1px solid rgba(215,242,59,.45); border-radius: 3px; background: linear-gradient(100deg, rgba(215,242,59,.12), rgba(215,242,59,.035)); color: inherit; text-decoration: none; }
.record-replay-link:hover { border-color: var(--accent); background: rgba(215,242,59,.16); }
.record-replay-login { width: 100%; margin: 0; font: inherit; text-align: left; cursor: pointer; }
.record-replay-login:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.record-replay-link.bridge { border-color: rgba(89,169,255,.46); background: linear-gradient(100deg, rgba(61,145,255,.13), rgba(61,145,255,.035)); }
.record-replay-link.bridge:hover { border-color: #69adff; background: rgba(61,145,255,.18); }
.record-replay-link span, .record-replay-option span { min-width: 0; }
.record-replay-link span b, .record-replay-link span small, .record-replay-option span b, .record-replay-option span small { display: block; }
.record-replay-link span b, .record-replay-option span b { color: var(--theme-accent-foreground); font: 800 16px "Barlow Condensed", "Noto Sans KR"; letter-spacing: .04em; }
.record-replay-link.bridge span b, .record-replay-option.bridge span b { color: #79b8ff; }
.record-replay-link span small, .record-replay-option span small { margin-top: 4px; color: #a0a89b; font-size: 11px; line-height: 1.55; }
.record-replay-link>strong, .record-replay-option>strong { flex: 0 0 auto; padding: 9px 11px; border-radius: 2px; background: var(--accent); color: var(--brand-lime-text); font-size: 11px; white-space: nowrap; }
.record-replay-link.bridge>strong { background: #69adff; color: #081420; }
.record-replay-option { justify-content: flex-start; border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.025); }
.record-replay-option>strong { margin-left: auto; background: rgba(255,255,255,.09); color: #8f978b; }
.record-replay-option.loading i { flex: 0 0 auto; width: 9px; height: 9px; border: 2px solid rgba(215,242,59,.3); border-top-color: var(--accent); border-radius: 50%; animation: record-spin .8s linear infinite; }
.record-replay-option.unavailable { opacity: .78; }
@keyframes record-spin { to { transform: rotate(360deg); } }
.record-replay-notice { margin: 10px 0 0; color: #6f776b; font-size: 11px; line-height: 1.6; }
.record-no-data { padding: 40px 20px; border: 1px dashed rgba(255,255,255,.1); border-radius: 3px; background: rgba(18,21,16,.65); color: #8a9185; text-align: center; font-size: 13px; }
.record-result-foot { display: flex; justify-content: space-between; gap: 18px; margin-top: 30px; padding: 17px 1px; border-top: 1px solid var(--line); color: #7c8478; font-size: 11px; }
.record-result-foot span:first-child { display: flex; align-items: center; gap: 6px; }
.record-result-foot i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 7px rgba(215,242,59,.5); }
.record-preview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.record-preview-grid[hidden] { display: none; }
.record-preview-grid article { min-height: 116px; padding: 17px; border: 1px solid var(--line); border-radius: 3px; background: rgba(20,23,18,.58); }
.record-preview-grid article>span { color: var(--theme-accent-foreground); font: 700 11px "Barlow Condensed"; letter-spacing: .1em; }
.record-preview-grid strong { display: block; margin-top: 14px; font-size: 15px; }
.record-preview-grid p { margin: 7px 0 0; color: #8b9386; font-size: 12px; line-height: 1.65; }
.records-mobile-menu { display: none; }

.leaderboard-stage[hidden] { display: none; }
.leaderboard-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #090b08; container-type: inline-size; }
.leaderboard-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 88% 0%, rgba(215,242,59,.08), transparent 34%), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 60%); }
.leaderboard-scroll { position: relative; height: 100%; overflow-y: auto; scrollbar-color: #343a30 transparent; }
.leaderboard-mobile-menu { display: none; }
.full-leaderboard-hero { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding: 38px max(28px,calc((100% - 2000px)/2)) 30px; border-bottom: 1px solid var(--line); background: rgba(9,11,8,.86); }
.full-leaderboard-title>span { color: var(--theme-accent-foreground); font: 800 12px "Barlow Condensed"; letter-spacing: .15em; }
.full-leaderboard-title h2 { margin: 7px 0 0; font: 700 clamp(30px,3vw,46px) "Barlow Condensed",sans-serif; letter-spacing: -.02em; }
.full-leaderboard-title p { margin: 9px 0 0; color: #9ca496; font-size: 14px; }
.full-leaderboard-controls { display: flex; align-items: end; gap: 14px; }
.leaderboard-filter-groups { display: flex; align-items: end; gap: 10px; }
.leaderboard-filter-group { display: grid; grid-template-rows: 15px 44px; gap: 7px; }
.leaderboard-filter-group>span { color: #939d8d; font: 700 13px/15px "Barlow Condensed"; letter-spacing: .08em; }
.leaderboard-platform-tabs button { min-width: 92px; }
.full-leaderboard-search-label { display: grid; grid-template-rows: 15px 44px; gap: 7px; }
.full-leaderboard-search-label>span { color: #939d8d; font: 700 13px/15px "Barlow Condensed"; letter-spacing: .08em; }
.full-leaderboard-search-label input { width: min(260px,32vw); height: 44px; border: 1px solid rgba(255,255,255,.14); border-radius: 3px; padding: 0 14px; background: #11140f; color: #edf0e9; font-size: 16px; outline: none; box-sizing: border-box; }
.full-leaderboard-search-label input:focus { border-color: rgba(215,242,59,.65); box-shadow: 0 0 0 2px rgba(215,242,59,.09); }
.full-leaderboard-content { width: min(2000px,100%); margin: 0 auto; padding: 24px clamp(20px,3vw,48px) 60px; }
.full-leaderboard-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); max-width: 1440px; margin: 0 auto; border: 1px solid var(--line); background: rgba(18,21,16,.92); }
.full-leaderboard-summary>div { display: grid; gap: 5px; padding: 13px 16px; border-left: 1px solid var(--line); }
.full-leaderboard-summary>div:first-child { border-left: 0; }
.full-leaderboard-summary span { color: #7f897a; font: 800 12px "Barlow Condensed"; letter-spacing: .1em; }
.full-leaderboard-summary strong { color: #e4e8e1; font-size: 16px; }
.full-leaderboard-table { max-width: 1440px; margin: 16px auto 0; overflow: visible; border: 1px solid rgba(255,255,255,.1); border-radius: 4px; background: rgba(15,18,13,.96); }
.full-leaderboard-table>header,.full-leaderboard-row { display: grid; grid-template-columns: 68px minmax(220px,340px) minmax(140px,180px) 110px 64px 70px 84px 84px minmax(96px,1fr); align-items: center; gap: 10px; }
.full-leaderboard-table>header { position:sticky; top:0; z-index:20; min-height:42px; padding:0 14px; border-bottom:1px solid var(--line); color:#8d9788; background:#11140f; box-shadow:0 1px 0 var(--line),0 8px 18px rgba(0,0,0,.18); font:800 12px "Barlow Condensed"; letter-spacing:.07em; }
.full-leaderboard-row { min-height: 68px; padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,.065); }
.full-leaderboard-row:last-child { border-bottom: 0; }
.full-leaderboard-row:hover { background: rgba(215,242,59,.035); }
.full-leaderboard-row.top-1 { box-shadow: inset 3px 0 #d7f23b; }
.full-leaderboard-row.top-2 { box-shadow: inset 3px 0 #c7d0d6; }
.full-leaderboard-row.top-3 { box-shadow: inset 3px 0 #d89a67; }
.full-rank { color: var(--theme-accent-foreground); font: 700 22px "Barlow Condensed"; }
.full-rank span { margin-right: 2px; color: #70796c; font-size: 12px; }
.full-player { display: flex; align-items: center; min-width: 0; gap: 10px; }
.full-player>span { display: grid; min-width: 0; gap: 2px; }
.full-player strong { overflow: hidden; color: #f0f2ed; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.full-player small,.full-leaderboard-row small { color: #8d9788; font-size: 13px; }
.full-activity { min-width: 0; }
.full-activity:empty::before { content: '—'; color: #596255; font-size: 13px; }
.leaderboard-tier-image,.leaderboard-tier-fallback,.leaderboard-top500-badge { width: 40px; height: 40px; flex: 0 0 40px; object-fit: contain; }
.leaderboard-tier-fallback { display: grid; place-items: center; border: 1px solid #3b4237; border-radius: 50%; color: #7b8475; font-weight: 800; }
.leaderboard-top500-badge { display: grid; place-items: center; border: 1px solid rgba(215,242,59,.48); border-radius: 50%; background: radial-gradient(circle,rgba(215,242,59,.13),rgba(11,14,9,.96)); color: var(--theme-accent-foreground); font: 800 11px "Barlow Condensed"; box-shadow: inset 0 0 0 3px rgba(215,242,59,.035); }
.full-leaderboard-row>b { color: #e2e7de; font-size: 16px; }
.full-leaderboard-row>span { color: #bec6b9; font-size: 15px; }
.full-mobile-metrics { display: none; }
.full-rp { white-space: nowrap; }
.full-leaderboard-row>button,.full-leaderboard-actions button,.leaderboard-full-link { min-height: 38px; border: 1px solid rgba(215,242,59,.32); border-radius: 3px; background: rgba(215,242,59,.06); color: var(--theme-accent-foreground); font-size: 14px; font-weight: 800; cursor: pointer; }
.full-leaderboard-row>button { width: 100px; justify-self: start; }
.full-leaderboard-actions { display:flex; align-items:stretch; justify-self:start; gap:4px; min-width:0; }
.full-leaderboard-actions button { width:100px; padding:0 8px; white-space:nowrap; }
.leaderboard-full-link { padding: 0 12px; white-space: nowrap; }
.full-leaderboard-row>button:hover,.full-leaderboard-actions button:hover,.leaderboard-full-link:hover { background: #d7f23b; color: var(--brand-lime-text); }
.full-leaderboard-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 22px 0 4px; }
.full-leaderboard-pagination button { width: 38px; height: 38px; border: 1px solid #30362d; border-radius: 3px; background: #121510; color: #aeb7a7; font-size: 14px; cursor: pointer; }
.full-leaderboard-pagination button.active { border-color: #d7f23b; background: #d7f23b; color: var(--brand-lime-text); font-weight: 800; }
.full-leaderboard-foot { display: flex; justify-content: space-between; gap: 14px; margin-top: 20px; padding-top: 12px; border-top: 1px solid var(--line); color: #818b7d; font-size: 12px; }
.full-leaderboard-foot p { margin: 0; }
.full-leaderboard-foot i { display: inline-block; width: 5px; height: 5px; margin-right: 5px; border-radius: 50%; background: #d7f23b; }

.player-public-activity.is-hack>b,
.player-name-hack { color: #ff4d5f !important; }
.player-public-activity.is-hack { color: #ff8a95; }
.public-activity-warning { display: inline-flex; align-items: center; gap: 3px; padding: 2px 5px; border: 1px solid rgba(255,77,95,.6); border-radius: 3px; background: rgba(115,10,24,.35); color: #ff6b79; font-size: 10px; font-style: normal; font-weight: 900; letter-spacing: .02em; white-space: nowrap; }

.player-public-activity>b { overflow: hidden; min-width: 0; color: #cfd6ca; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.player-public-activity>span { display: flex; flex: 0 0 auto; gap: 4px; }
.public-activity-link { display: inline-grid; width: 21px; height: 21px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: #151a13; color: #dce2d8; transition: border-color .15s ease,transform .15s ease; }
.public-activity-link:hover { border-color: currentColor; transform: translateY(-1px); }
.public-activity-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.public-activity-link svg { width: 13px; height: 13px; fill: currentColor; }
.public-activity-link .activity-icon-cut { fill: #10130e; }
.public-activity-link.platform-youtube { color: #ff5b55; }
.public-activity-link.platform-chzzk { color: #2cf58a; }
.public-activity-link.platform-soop { color: #5aa7ff; }
.leaderboard-public-activity { width: 100%; }
.leaderboard-public-activity>b { max-width: 112px; }
.record-profile-activity { margin: 1px 0 7px; }
.record-profile-activity>b { max-width: 260px; color: #dce3d7; font-size: 12px; }
.record-profile-activity .public-activity-link { width: 24px; height: 24px; }

.record-collapsible { margin-top: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 3px; background: #10130e; }
.record-collapsible-summary { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: 18px; min-height: 72px; padding: 14px 18px; cursor: pointer; list-style: none; background: linear-gradient(100deg,rgba(255,255,255,.025),transparent); }
.record-collapsible-summary::-webkit-details-marker { display: none; }
.record-collapsible-summary:hover { background: linear-gradient(100deg,rgba(215,242,59,.055),transparent); }
.record-collapsible-summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.record-collapsible-summary>span { display: grid; gap: 3px; }
.record-collapsible-summary small { color: var(--theme-accent-foreground); font: 800 9px "Barlow Condensed"; letter-spacing: .14em; }
.record-collapsible-summary strong { color: #edf0e9; font-size: 17px; }
.record-collapsible-summary>em { color: #7d8579; font-size: 11px; font-style: normal; }
.record-collapsible-summary>b { min-width: 86px; padding: 8px 10px; border: 1px solid rgba(215,242,59,.3); border-radius: 2px; color: var(--theme-accent-foreground); font-size: 10px; text-align: center; }
.record-collapsible-summary>b i { font-style: normal; }
.record-collapsible-summary>b i:last-child { display: none; }
.record-collapsible[open]>.record-collapsible-summary { border-bottom: 1px solid var(--line); }
.record-collapsible[open]>.record-collapsible-summary>b i:first-child { display: none; }
.record-collapsible[open]>.record-collapsible-summary>b i:last-child { display: inline; }
.record-collapsible-content { padding: 14px; }
.record-normal-collapsible .normal-overview { margin-top: 0; }
.record-normal-collapsible .normal-modes-section { margin-top: 24px; }

.season-comparison { display: grid; gap: 12px; margin-top: 30px; }
.season-comparison-head { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 18px 20px; border: 1px solid rgba(215,242,59,.2); background: linear-gradient(110deg,rgba(215,242,59,.075),rgba(18,21,16,.94) 44%); }
.season-comparison-head>div:first-child>span { color: var(--theme-accent-foreground); font: 800 9px "Barlow Condensed"; letter-spacing: .12em; }
.season-comparison-head h4 { margin: 4px 0 0; font-size: 19px; }
.season-comparison-head>div:first-child>p { margin: 5px 0 0; color: #7f887b; font-size: 10px; }
.season-comparison-versus { display: grid; grid-template-columns: minmax(150px,1fr) 36px minmax(150px,1fr); align-items: stretch; gap: 8px; width: min(480px,52%); }
.season-comparison-versus>i { display: grid; place-items: center; color: #65705f; font: 800 11px "Barlow Condensed"; font-style: normal; }
.season-select-control,.season-current-control { display: grid; gap: 5px; min-width: 0; padding: 9px 11px; border: 1px solid var(--line); background: #0d100c; }
.season-select-control>span,.season-current-control>span { color: #788174; font-size: 9px; font-weight: 800; }
.season-select-control select { width: 100%; min-width: 0; border: 0; outline: 0; background: #0d100c; color: #e7eadd; font: 800 13px "Noto Sans KR"; cursor: pointer; }
.season-select-control select:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.season-select-control select:disabled { opacity: .55; cursor: wait; }
.season-current-control { border-color: rgba(215,242,59,.3); background: rgba(215,242,59,.06); }
.season-current-control strong { overflow: hidden; color: var(--theme-accent-foreground); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.season-comparison-block { margin-top: 0; border: 1px solid var(--line); background: rgba(16,19,14,.94); }
.season-comparison-block>.record-section-heading { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.season-comparison-block h5 { margin: 3px 0 0; font-size: 15px; }
.competitive-comparison-block { border-top: 2px solid #c3ab71; }
.season-comparison .record-collapsible { margin-top: 0; }
.season-comparison .record-collapsible-content { padding: 0; }
.season-comparison-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); }
.season-comparison-metric { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 7px; min-width: 0; padding: 14px; border-left: 1px solid var(--line); }
.season-comparison-metric:first-child { border-left: 0; }
.season-comparison-metric>span { grid-column: 1/-1; color: #717a6d; font-size: 9px; font-weight: 800; }
.season-comparison-metric>div { display: grid; gap: 3px; }
.season-comparison-metric>div:nth-of-type(2) { text-align: right; }
.season-comparison-metric small { color: #626b5f; font-size: 8px; }
.season-comparison-metric b { color: #a5ada0; font-size: 13px; }
.season-comparison-metric strong { color: #eef1eb; font-size: 15px; }
.season-comparison-metric>i { color: #596156; font-style: normal; }
.comparison-delta { grid-column: 1/-1; justify-self: start; padding: 3px 6px; border-radius: 2px; background: rgba(255,255,255,.045); color: #9da596; font-size: 8px; font-weight: 800; }
.comparison-delta.increase { color: var(--theme-accent-foreground); }
.comparison-delta.decrease { color: #e0a276; }
.season-comparison-status { margin: 0; padding: 9px 12px; border: 1px solid rgba(215,242,59,.18); background: rgba(215,242,59,.04); color: #aeb8a8; font-size: 10px; }
.season-comparison-status.error { border-color: rgba(224,122,100,.3); color: #e0a276; }
.season-comparison-status[hidden] { display: none; }
.season-comparison-lazy { display: grid; gap: 12px; }
.season-comparison-load, .record-load-more { min-height: 44px; border: 1px solid rgba(215,242,59,.42); border-radius: 3px; background: rgba(215,242,59,.08); color: #e7f790; font: 800 12px/1.35 inherit; cursor: pointer; }
.season-comparison-load:hover, .record-load-more:hover { border-color: rgba(215,242,59,.72); background: rgba(215,242,59,.13); }
.season-comparison-load:disabled, .record-load-more:disabled { cursor: wait; opacity: .65; }
.record-load-more { grid-column: 1 / -1; position: sticky; bottom: 0; width: 100%; backdrop-filter: blur(8px); }

.buildings-stage[hidden] { display: none; }
.buildings-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #090b08; container-type: inline-size; }
.buildings-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 78% 2%, rgba(215,242,59,.09), transparent 29%), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 62%); }
.buildings-scroll { position: relative; height: 100%; overflow-y: auto; scrollbar-color: #343a30 transparent; }
.buildings-hero { padding: 40px clamp(28px, 4vw, 64px) 34px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, rgba(9,11,8,.96), rgba(16,20,12,.8)); }
.buildings-hero-layout { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: min(1500px, 100%); margin: 0 auto; }
.buildings-kicker { color: var(--theme-accent-foreground); font: 700 12px "Barlow Condensed"; letter-spacing: .19em; }
.buildings-hero h2 { margin: 7px 0 7px; color: #f1f3ed; font: 800 clamp(34px, 3vw, 44px)/1.05 "Barlow Condensed", "Noto Sans KR"; letter-spacing: -.03em; }
.buildings-hero p { margin: 0; color: #959c90; font-size: 14px; line-height: 1.65; }
.buildings-map-summary { position: relative; display: grid; flex: 0 0 220px; min-height: 94px; align-content: center; padding: 17px 20px 16px 23px; overflow: hidden; border: 1px solid rgba(215,242,59,.25); border-left: 3px solid var(--accent); border-radius: 3px; background: rgba(18,22,15,.82); }
.buildings-map-summary::after { content: "B"; position: absolute; right: 12px; top: -17px; color: rgba(215,242,59,.045); font: 800 100px "Barlow Condensed"; }
.buildings-map-summary span, .buildings-map-summary small { position: relative; z-index: 1; color: #899181; font: 700 10px "Barlow Condensed"; letter-spacing: .16em; }
.buildings-map-summary strong { position: relative; z-index: 1; margin: 3px 0 1px; color: var(--theme-accent-foreground); font-size: 22px; }
.buildings-content { width: min(1600px, 100%); margin: 0 auto; padding: 32px clamp(28px, 4vw, 64px) 72px; }
.buildings-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 17px; }
.buildings-section-head>div>span { color: var(--theme-accent-foreground); font: 700 11px "Barlow Condensed"; letter-spacing: .16em; }
.buildings-section-head h3 { margin: 5px 0 0; color: #edf0e9; font-size: 21px; }
.buildings-section-head>p { margin: 0; color: #7d8579; font: 700 13px "Barlow Condensed", "Noto Sans KR"; }
.buildings-section-head>p strong { color: var(--theme-accent-foreground); font-size: 22px; }
.building-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 14px; }
.building-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 4px; background: #121510; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.building-card:hover { transform: translateY(-3px); border-color: rgba(215,242,59,.32); box-shadow: 0 12px 32px rgba(0,0,0,.25); }
.building-card-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: #0c0f0a; }
.building-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.building-card:hover .building-card-image img { transform: scale(1.025); }
.building-card-number { position: absolute; left: 12px; top: 12px; display: grid; place-items: center; width: 34px; height: 26px; border: 1px solid rgba(215,242,59,.34); border-radius: 2px; background: rgba(10,12,8,.88); color: var(--theme-accent-foreground); font: 800 12px "Barlow Condensed"; letter-spacing: .07em; }
.building-image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; align-content: center; gap: 7px; color: #646b60; background: radial-gradient(circle, rgba(215,242,59,.055), transparent 40%), repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,.015) 18px 19px); }
.building-image-placeholder b { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid #353b31; color: #7f8879; font: 800 21px "Barlow Condensed"; }
.building-image-placeholder span { font-size: 11px; }
.building-card-body { min-height: 150px; padding: 17px 18px 19px; }
.building-card-body>span { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .14em; }
.building-card-body h4 { margin: 7px 0 8px; color: #f0f2ed; font-size: 20px; letter-spacing: -.02em; }
.building-card-body>p { margin: 11px 0 0; color: #899184; font-size: 12px; line-height: 1.7; }
.building-alias-list { display: flex; flex-wrap: wrap; gap: 5px; }
.building-alias-list span { padding: 4px 7px; border: 1px solid rgba(255,255,255,.1); border-radius: 2px; background: #191d16; color: #aeb5a8; font-size: 10px; }
.building-empty-state { grid-column: 1 / -1; display: grid; place-items: center; align-content: center; min-height: 420px; padding: 48px 24px; border: 1px dashed rgba(215,242,59,.18); border-radius: 4px; background: radial-gradient(circle at 50% 42%, rgba(215,242,59,.045), transparent 30%), rgba(15,18,13,.62); text-align: center; }
.building-empty-mark { position: relative; display: grid; width: 74px; height: 74px; margin-bottom: 20px; place-items: center; border: 1px solid rgba(215,242,59,.3); transform: rotate(45deg); background: #13170f; }
.building-empty-mark span { color: var(--theme-accent-foreground); font: 800 29px "Barlow Condensed"; transform: rotate(-45deg); }
.building-empty-mark i { position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.07); }
.building-empty-state>span { color: var(--theme-accent-foreground); font: 700 11px "Barlow Condensed"; letter-spacing: .17em; }
.building-empty-state>strong { margin-top: 10px; color: #e5e9e1; font-size: 18px; }
.building-empty-state>p { max-width: 470px; margin: 9px 0 17px; color: #858d80; font-size: 12px; line-height: 1.7; }
.building-empty-state>small { padding: 6px 10px; border: 1px solid rgba(255,255,255,.09); border-radius: 2px; color: #9ba295; font-size: 10px; }
.buildings-mobile-menu { display: none; }

.map-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #0b0d0a; }
#map { position: absolute; inset: 0; background: #0b0d0a; }
.map-shade { pointer-events: none; position: absolute; inset: 0; z-index: 400; box-shadow: inset 0 0 80px rgba(0,0,0,.45); }
.leaflet-container { font-family: "Noto Sans KR", sans-serif; }
.leaflet-zoom-anim .leaflet-zoom-animated { transition-duration: .16s; transition-timing-function: cubic-bezier(.2,.72,.2,1); }
.leaflet-tile-pane { filter: saturate(.88) contrast(1.04) brightness(.88); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { color: var(--text); background: #171a15; }
.leaflet-tooltip.terrain-title-label { padding: 5px 9px; border: 1px solid rgba(192,132,252,.78); border-radius: 4px; background: rgba(10,8,15,.86); box-shadow: 0 3px 12px rgba(0,0,0,.68); color: #f5eaff; font: 800 11px/1.2 "Noto Sans KR", Arial, sans-serif; letter-spacing: -.01em; text-shadow: 0 1px 2px #000; white-space: nowrap; pointer-events: none; }
.leaflet-tooltip.terrain-title-label::before { display: none; }
.terrain-point-marker { display: grid; place-items: center; background: transparent; border: 0; }
.terrain-point-dot { display: block; width: 7px; height: 7px; border: 1px solid #f5eaff; border-radius: 50%; background: #c084fc; box-shadow: 0 0 0 2px rgba(10,8,15,.75), 0 2px 5px rgba(0,0,0,.8); }
.leaflet-tooltip.terrain-point-title-label { padding: 0 2px; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #f5eaff; font-size: 12px; text-shadow: 0 1px 2px #000, 0 0 4px #000, 0 0 7px #000; }
.leaflet-tooltip.terrain-point-title-label::before { display: block; left: 50%; bottom: -10px; width: 1px; height: 9px; margin: 0; border: 0; background: rgba(224,195,255,.9); transform: translateX(-50%); }
.leaflet-popup-content-wrapper { border: 1px solid rgba(255,255,255,.12); border-radius: 5px; box-shadow: 0 14px 35px rgba(0,0,0,.4); }
.leaflet-popup.feature-popup-has-media .leaflet-popup-tip-container { display: none; }
.leaflet-popup-content { width: auto !important; max-height: 84vh; margin: 15px; overflow-x: hidden; overflow-y: auto; scrollbar-color: #454c3d #11140f; scrollbar-width: thin; }
.popup-layout { width: 230px; }
.popup-layout.has-media { width: min(320px, calc(100vw - 70px)); }
.popup-info { min-width: 0; }
.popup-category { color: var(--popup-color); font: 700 10px "Barlow Condensed"; letter-spacing: .1em; }
.popup-title { margin: 4px 0 6px; font-size: 14px; }
.popup-copy { margin: 0; color: #949b8e; font-size: 11px; line-height: 1.6; }
.popup-coord { display: block; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); color: #697063; font: 500 9px monospace; }
.popup-layout.has-media { display: grid; grid-template-columns: 1fr; gap: 14px; }
.popup-report-button { width: 100%; margin-top: 10px; padding: 8px 9px; border: 1px solid rgba(255,101,79,.28); border-radius: 4px; background: rgba(255,101,79,.06); color: #ff9c8d; cursor: pointer; font-size: 10px; font-weight: 700; }
.popup-report-button:hover { border-color: rgba(255,101,79,.58); background: rgba(255,101,79,.12); color: #fff; }
.popup-quick-media { display: grid; min-width: 0; gap: 16px; }
.popup-media-item { min-width: 0; }
.popup-media-label { display: flex; align-items: center; gap: 9px; margin: 0 0 7px; }
.popup-media-label span { flex: 0 0 auto; color: var(--popup-color); font: 700 9px "Barlow Condensed"; letter-spacing: .1em; }
.popup-media-label strong { overflow: hidden; color: #d9ddd5; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.popup-media-stage { display: grid; place-items: center; width: 100%; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: 5px; aspect-ratio: 16/9; background: #070907; }
.popup-media-item.is-youtube .popup-media-stage { aspect-ratio: 9/16; }
.popup-media-stage iframe { display: block; width: 100%; height: 100%; border: 0; }
.popup-image-preview { position: relative; width: 100%; height: 100%; padding: 0; overflow: hidden; border: 0; background: #070907; cursor: zoom-in; }
.popup-image-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.popup-image-preview span { position: absolute; right: 7px; bottom: 7px; padding: 5px 7px; border-radius: 3px; background: rgba(8,10,8,.85); color: #fff; font-size: 9px; }
.popup-media-empty { padding: 20px; color: var(--muted); font-size: 10px; }
.popup-media-tabs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.popup-media-tab, .popup-expand-media { min-height: 27px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 3px; background: #1a1e17; color: #a8afa2; cursor: pointer; font-size: 9px; font-weight: 700; }
.popup-media-tab.active { border-color: var(--popup-color); color: #fff; background: color-mix(in srgb, var(--popup-color) 12%, #171a15); }
.popup-expand-media { margin-left: auto; color: var(--theme-accent-foreground); }
.popup-media-tab:hover, .popup-expand-media:hover { filter: brightness(1.18); }
.leaflet-popup-close-button { color: #93998e !important; }
.guide-marker { background: transparent; border: 0; }
.guide-marker-inner { position: relative; display: grid; place-items: center; width: 30px; height: 30px; color: #111; background: var(--marker); border: 2px solid rgba(255,255,255,.85); border-radius: 50% 50% 50% 12%; box-shadow: 0 4px 12px rgba(0,0,0,.55); transform: rotate(-45deg); font: 800 12px "Barlow Condensed"; }
.guide-marker-inner span { transform: rotate(45deg); }
.precise-guide-marker { display: grid !important; place-items: center; width: 32px !important; height: 32px !important; background: transparent; border: 0; }
.precise-guide-marker .guide-marker-inner { display: grid; place-items: center; width: 32px; height: 32px; background: transparent; border: 0; border-radius: 0; box-shadow: none; transform: none; }
.precise-guide-marker .guide-marker-inner::before { content: ""; position: absolute; width: 11px; height: 11px; border: 1px solid rgba(255,255,255,.95); border-radius: 50%; background: var(--marker); box-shadow: 0 0 0 2px rgba(8,10,7,.78), 0 2px 5px rgba(0,0,0,.8); transition: transform .12s ease, filter .12s ease; }
.precise-guide-marker .guide-marker-inner span { position: relative; z-index: 1; color: #10130d; font: 900 7px/1 "Barlow Condensed", "Noto Sans KR", sans-serif; transform: none; }
.map-image-marker-shell { display: grid !important; place-items: center; width: 36px !important; height: 44px !important; border: 0; background: transparent; }
.map-image-marker { position: relative; display: grid; place-items: start center; width: 36px; height: 44px; }
.map-image-marker-badge { position: absolute; top: 0; width: 29px; height: 29px; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: color-mix(in srgb, var(--marker) 78%, #10130d); box-shadow: 0 0 0 2px rgba(8,10,7,.85), 0 3px 8px rgba(0,0,0,.72); }
.map-image-marker-pin { position: absolute; z-index: 0; left: 50%; bottom: 1px; width: 11px; height: 15px; background: var(--marker); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 2px rgba(0,0,0,.8)); transform: translateX(-50%); }
.map-image-marker img { position: absolute; top: -2px; z-index: 1; display: block; width: 34px; height: 34px; object-fit: contain; filter: drop-shadow(0 1px 2px rgba(0,0,0,.85)); pointer-events: none; }
.map-image-marker-garage img { width: 29px; height: 29px; top: 1px; }
.map-image-marker-shell:hover .map-image-marker-badge, .map-image-marker-shell:focus .map-image-marker-badge { filter: brightness(1.16); transform: scale(1.08); }
.floating-tools { position: absolute; top: 18px; right: 18px; z-index: 500; display: grid; grid-template-rows: 22px repeat(3,38px); overflow: hidden; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 7px 24px rgba(0,0,0,.35); }
.floating-tools .panel-drag-grip { min-height: 22px; background: rgba(12,15,11,.98); border-bottom: 1px solid var(--line); font-size: 15px; }
.floating-tools button { width: 38px; height: 38px; border: 0; border-bottom: 1px solid var(--line); background: rgba(20,23,18,.94); cursor: pointer; font-size: 18px; }
.floating-tools button:last-child { border-bottom: 0; font-size: 15px; }
.floating-tools button:hover { color: var(--theme-accent-foreground); background: #20251c; }
.distance-guide { position: absolute; z-index: 500; top: 154px; right: 18px; display: grid; grid-template-columns: 28px auto auto; align-items: center; gap: 8px; min-height: 46px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 5px; background: rgba(20,23,18,.94); box-shadow: 0 7px 24px rgba(0,0,0,.35); color: #aab0a4; }
.distance-guide-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(215,242,59,.11); color: var(--theme-accent-foreground); font: 800 17px "Barlow Condensed"; }
.distance-guide strong, .distance-guide small { display: block; white-space: nowrap; }
.distance-guide strong { color: #e9ece4; font-size: 10px; }
.distance-guide small { margin-top: 2px; color: #8e9588; font-size: 9px; }
.distance-guide kbd { padding: 1px 4px; border: 1px solid rgba(255,255,255,.2); border-bottom-width: 2px; border-radius: 3px; background: #0d0f0c; color: #dce0d7; font: 700 8px monospace; }
.distance-guide button { margin-left: 2px; padding: 5px 7px; border: 1px solid rgba(215,242,59,.35); border-radius: 3px; background: rgba(215,242,59,.08); color: var(--theme-accent-foreground); cursor: pointer; font-size: 9px; }
.distance-guide.active { border-color: rgba(215,242,59,.38); }
.distance-guide.complete { background: rgba(25,31,18,.97); }
.drawing-toolbar[hidden], .drawing-text-editor[hidden] { display: none; }
.drawing-toolbar { --drawing-color: #ff4d4d; position: absolute; z-index: 720; left: 50%; bottom: 56px; display: flex; align-items: center; gap: 6px; max-width: calc(100% - 32px); min-height: 54px; padding: 6px; overflow-x: auto; overflow-y: hidden; border: 1px solid rgba(255,255,255,.15); border-radius: 7px; background: rgba(15,18,13,.97); box-shadow: 0 13px 38px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.45); transform: translateX(-50%); scrollbar-width: thin; scrollbar-color: #434a3c transparent; }
.drawing-shortcut-help[hidden], .drawing-shortcut-panel[hidden] { display: none; }
.drawing-shortcut-help { position: absolute; z-index: 721; left: 50%; bottom: 14px; width: 164px; transform: translateX(-50%); }
.drawing-shortcut-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 5px; background: rgba(15,18,13,.97); box-shadow: 0 6px 20px rgba(0,0,0,.42); color: #d8ddd2; cursor: pointer; font-size: 11px; font-weight: 700; }
.drawing-shortcut-toggle:hover, .drawing-shortcut-toggle[aria-expanded="true"] { border-color: rgba(215,242,59,.42); color: var(--theme-accent-foreground); }
.drawing-shortcut-toggle i { color: #81897c; font-size: 9px; font-style: normal; }
.drawing-shortcut-panel { position: absolute; left: 50%; bottom: calc(100% + 70px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: min(390px, calc(100vw - 32px)); padding: 11px; border: 1px solid rgba(215,242,59,.32); border-radius: 6px; background: rgba(15,18,13,.98); box-shadow: 0 12px 34px rgba(0,0,0,.58); transform: translateX(-50%); }
.drawing-shortcut-panel span { display: flex; align-items: center; gap: 7px; min-width: 0; color: #a8afa2; font-size: 11px; white-space: nowrap; }
.drawing-shortcut-panel kbd { display: inline-grid; flex: 0 0 auto; min-width: 28px; height: 24px; padding: 0 6px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-bottom-width: 2px; border-radius: 3px; background: #090b08; color: #edf1e8; font: 700 10px monospace; }
.drawing-shortcut-panel b { overflow: hidden; font-size: 11px; text-overflow: ellipsis; }
.drawing-toolbar-brand { display: grid; flex: 0 0 54px; height: 40px; place-items: center; align-content: center; border-right: 1px solid var(--line); }
.drawing-toolbar-brand b { color: var(--theme-accent-foreground); font: 800 15px/1 "Barlow Condensed"; letter-spacing: .08em; }
.drawing-toolbar-brand i { margin-top: 3px; color: #7f877a; font: 700 7px "Barlow Condensed"; letter-spacing: .11em; font-style: normal; }
.drawing-tool-group, .drawing-action-group { display: flex; align-items: center; flex: 0 0 auto; gap: 3px; }
.drawing-tool, .drawing-action-group button { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 4px; background: transparent; color: #a6ada0; cursor: pointer; font-size: 20px; }
.drawing-tool:hover, .drawing-action-group button:hover:not(:disabled) { border-color: rgba(255,255,255,.1); background: #22271e; color: #f1f4eb; }
.drawing-tool:disabled { opacity: .32; cursor: not-allowed; }
.drawing-tool.active { border-color: rgba(215,242,59,.45); background: var(--accent); color: var(--brand-lime-text); box-shadow: 0 0 14px rgba(215,242,59,.12); }
.drawing-tool svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drawing-tool:first-child svg { fill: currentColor; stroke-width: 1.2; }
.drawing-bluezone-tool { color: #65c5ff; }
.drawing-bluezone-control[hidden] { display: none; }
.drawing-bluezone-control { display: grid; flex: 0 0 142px; grid-template-columns: auto 1fr; align-items: center; gap: 6px; height: 40px; padding: 0 8px; border: 1px solid rgba(69,184,255,.3); border-radius: 4px; background: rgba(69,184,255,.08); color: #7dcfff; }
.drawing-bluezone-control span { font-size: 9px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
.drawing-bluezone-control select { min-width: 0; width: 100%; border: 0; outline: 0; background: #161d1d; color: #e6f7ff; font-size: 10px; font-weight: 700; cursor: pointer; }
.drawing-divider { flex: 0 0 1px; width: 1px; height: 30px; margin: 0 2px; background: var(--line); }
.drawing-color-control { position: relative; display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border: 1px solid transparent; border-radius: 4px; cursor: pointer; }
.drawing-color-control:hover { border-color: rgba(255,255,255,.1); background: #22271e; }
.drawing-color-control input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drawing-color-control span { width: 22px; height: 22px; border: 3px solid #eef1e9; border-radius: 50%; background: var(--drawing-color); box-shadow: 0 0 0 1px rgba(0,0,0,.8); }
.drawing-width-control { position: relative; display: flex; flex: 0 0 auto; align-items: center; gap: 6px; height: 40px; padding: 0 7px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; }
.drawing-width-control:hover { border-color: rgba(255,255,255,.1); background: #22271e; }
.drawing-width-preview { display: block; width: 23px; border-radius: 5px; background: #e7ebe2; }
.drawing-width-control select { position: absolute; inset: 0; width: 100%; border: 0; opacity: 0; cursor: pointer; }
.drawing-action-group button:disabled { opacity: .28; cursor: default; }
.drawing-action-group .drawing-export { display: flex; flex-basis: 64px; width: 64px; gap: 6px; padding: 0 10px; border-color: rgba(215,242,59,.28); background: rgba(215,242,59,.08); color: var(--theme-accent-foreground); font-size: 10px; font-weight: 800; }
.drawing-export b { font-size: 16px; }
.drawing-export.pending { opacity: .55; cursor: wait; }
.drawing-text-editor { position: absolute; z-index: 760; display: grid; grid-template-columns: minmax(0,1fr) auto 34px; gap: 5px; padding: 6px; border: 1px solid rgba(215,242,59,.5); border-radius: 5px; background: rgba(13,16,11,.98); box-shadow: 0 10px 28px rgba(0,0,0,.48); }
.drawing-text-editor input { min-width: 0; height: 36px; padding: 0 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 3px; outline: 0; background: #1a1e17; color: #f2f4ef; font-size: 12px; }
.drawing-text-editor input:focus { border-color: rgba(215,242,59,.65); }
.drawing-text-editor button { height: 36px; padding: 0 11px; border: 0; border-radius: 3px; background: var(--accent); color: var(--brand-lime-text); cursor: pointer; font-size: 11px; font-weight: 800; }
.drawing-text-editor button:last-child { padding: 0; background: #252a21; color: #b8beb2; font-size: 18px; }
.drawing-text-marker { width: auto !important; height: auto !important; border: 0; background: transparent; }
.drawing-text-marker span { display: block; width: max-content; max-width: 280px; padding: 5px 8px; border: 1px solid var(--drawing-text-color); border-radius: 3px; background: rgba(8,10,7,.84); box-shadow: 0 3px 9px rgba(0,0,0,.5); color: var(--drawing-text-color); font-size: 13px; font-weight: 800; line-height: 1.35; white-space: pre-wrap; text-shadow: 0 1px 2px #000; }
.drawing-distance-marker { width: 0 !important; height: 0 !important; border: 0; background: transparent; pointer-events: none; }
.drawing-distance-marker span { position: absolute; left: 0; top: 0; display: block; min-width: 52px; padding: 4px 7px; border: 1px solid var(--drawing-distance-color); border-radius: 4px; background: rgba(8,10,7,.94); box-shadow: 0 3px 10px rgba(0,0,0,.6); color: var(--drawing-distance-color); font: 800 12px/1.1 "Barlow Condensed", monospace; letter-spacing: .03em; text-align: center; white-space: nowrap; text-shadow: 0 1px 2px #000; transform: translate(-50%, -50%); }
.drawing-distance-preview span { border-style: dashed; }
.drawing-bluezone-marker { width: 0 !important; height: 0 !important; border: 0; background: transparent; pointer-events: none; }
.drawing-bluezone-marker span { position: absolute; left: 0; top: 0; display: grid; min-width: 68px; padding: 5px 8px; border: 1px solid rgba(69,184,255,.9); border-radius: 4px; background: rgba(7,15,20,.9); box-shadow: 0 3px 12px rgba(0,0,0,.58); color: #dff5ff; line-height: 1.05; text-align: center; white-space: nowrap; transform: translate(-50%, -50%); }
.drawing-bluezone-marker b { color: #65c5ff; font: 800 11px "Barlow Condensed", sans-serif; letter-spacing: .04em; }
.drawing-bluezone-marker i { margin-top: 3px; color: #f2fbff; font: 700 10px "Barlow Condensed", monospace; font-style: normal; }
.drawing-bluezone-path { filter: drop-shadow(0 0 4px rgba(69,184,255,.48)); }
.drawing-annotation-path { filter: drop-shadow(0 2px 2px rgba(0,0,0,.65)); }
.drawing-selected-element { filter: drop-shadow(0 0 5px rgba(215,242,59,.95)) drop-shadow(0 0 2px #111) !important; }
.drawing-preview-path { pointer-events: none; }
#map[data-drawing-tool="select"] .drawing-annotation-path, #map[data-drawing-tool="select"] .drawing-text-marker { cursor: move; }
#map.drawing-moving { cursor: grabbing !important; }
#map[data-drawing-tool="pen"], #map[data-drawing-tool="line"], #map[data-drawing-tool="arrow"], #map[data-drawing-tool="rectangle"], #map[data-drawing-tool="circle"], #map[data-drawing-tool="bluezone"] { cursor: crosshair; }
#map[data-drawing-tool="text"] { cursor: text; }
#map[data-drawing-tool="eraser"] { cursor: not-allowed; }
body.drawing-space-pan #map { cursor: grab !important; }
body.drawing-space-pan #map:active { cursor: grabbing !important; }
body.drawing-mode-active .distance-guide { opacity: 0; pointer-events: none; }
body.drawing-mode-active .leaflet-popup { display: none; }
body.drawing-mode-active .toast { bottom: 124px; }
.leaflet-tooltip.distance-measure-label { display:flex; align-items:baseline; gap:8px; padding:8px 12px; border:1px solid rgba(215,242,59,.9); border-radius:5px; background:rgba(11,14,9,.96); box-shadow:0 5px 18px rgba(0,0,0,.58); color:#fff; white-space:nowrap; pointer-events:none; }
.leaflet-tooltip.distance-measure-label::before { border-top-color:rgba(215,242,59,.9); }
.distance-measure-label span { color:#c2c9b9; font:700 11px/1 "Noto Sans KR"; }
.distance-measure-label strong { color: var(--theme-accent-foreground); font:900 18px/1 "Barlow Condensed",monospace; letter-spacing:.04em; text-shadow:0 1px 2px #000; }
.map-status, .coordinate-readout { position: absolute; z-index: 500; bottom: 15px; display: flex; align-items: center; gap: 9px; height: 29px; padding: 0 11px; border: 1px solid var(--line); border-radius: 4px; background: rgba(15,17,14,.9); backdrop-filter: blur(8px); color: #949a8e; font: 700 9px "Barlow Condensed"; letter-spacing: .08em; }
.map-status { left: 15px; }
.coordinate-readout { right: 15px; font-family: monospace; }
.map-status i { width: 1px; height: 10px; background: var(--line); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(215,242,59,.65); }
.mobile-panel-button { display: none; }
.toast { position: absolute; z-index: 1200; left: 50%; bottom: 58px; padding: 10px 14px; border: 1px solid rgba(215,242,59,.35); border-radius: 4px; background: rgba(15,17,14,.96); color: var(--theme-accent-foreground); font-size: 11px; opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.popup-media-button { width: 100%; margin-top: 11px; padding: 9px 10px; border: 1px solid color-mix(in srgb, var(--popup-color) 55%, transparent); border-radius: 4px; background: color-mix(in srgb, var(--popup-color) 10%, #151914); color: #f5f7f1; cursor: pointer; font-size: 11px; font-weight: 700; }
.popup-media-button:hover { filter: brightness(1.16); }
.media-modal[hidden] { display: none; }
.media-modal { position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center; padding: 22px; }
.media-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,5,3,.96); cursor: default; }
.media-open .app-shell { visibility: hidden; }
.media-dialog { position: relative; z-index: 1; contain: layout paint; width: min(980px, 94vw); max-height: 92vh; overflow: auto; padding: 24px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: #121510; box-shadow: 0 20px 55px rgba(0,0,0,.55); }
.media-close { position: absolute; z-index: 2; right: 14px; top: 12px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: #1c2119; color: #fff; cursor: pointer; font-size: 23px; }
.media-dialog-head { padding-right: 50px; }
.media-dialog-head>span { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .13em; }
.media-dialog-head h2 { margin: 5px 0 7px; font-size: 24px; }
.media-dialog-head p { margin: 0 0 17px; color: #969d91; font-size: 12px; line-height: 1.7; white-space: pre-wrap; }
.media-stage { position: relative; display: grid; place-items: center; width: 100%; min-height: 360px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #070907; }
.media-stage>img { display: block; max-width: 100%; max-height: 62vh; object-fit: contain; }
.media-stage iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.youtube-play-preview { position: relative; width: 100%; min-height: 360px; border: 0; background: #080a08; cursor: pointer; overflow: hidden; }
.youtube-play-preview img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; opacity: .68; }
.youtube-play-preview span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 74px; height: 52px; border-radius: 13px; background: #f00; color: #fff; font-size: 25px; box-shadow: 0 8px 30px #000; }
.media-thumbnails { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 9px; margin-top: 12px; }
.media-thumb-button { min-width: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #191d16; text-align: left; cursor: pointer; }
.media-thumb-button.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.media-thumb-button img { display: block; width: 100%; height: 92px; object-fit: cover; background: #080a08; }
.media-thumb-button span { display: block; overflow: hidden; padding: 8px; color: #b6bcb1; font-size: 10px; white-space: nowrap; text-overflow: ellipsis; }

.feedback-submit-modal[hidden] { display: none; }
.feedback-submit-modal { position: fixed; inset: 0; z-index: 5100; display: grid; place-items: center; padding: 22px; }
.feedback-submit-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,5,3,.9); }
.feedback-submit-dialog { position: relative; z-index: 1; width: min(560px, 94vw); max-height: 92vh; overflow: auto; padding: 25px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: #141711; box-shadow: 0 22px 60px rgba(0,0,0,.62); }
.feedback-submit-close { position: absolute; right: 13px; top: 12px; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: #20241d; color: #fff; cursor: pointer; font-size: 22px; }
.feedback-submit-dialog header { padding-right: 42px; }
.feedback-submit-dialog header>span { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .14em; }
.feedback-submit-dialog h2 { margin: 5px 0 8px; font-size: 23px; }
.feedback-submit-dialog header p { margin: 0; color: #92998d; font-size: 12px; line-height: 1.65; }
.feedback-submit-dialog form { margin-top: 20px; }
.feedback-submit-dialog label { display: block; color: #b8beb3; font-size: 11px; font-weight: 700; }
.feedback-submit-dialog label em { color: #ff7d69; font-style: normal; }
.feedback-submit-dialog textarea { display: block; width: 100%; margin-top: 7px; padding: 12px; border: 1px solid var(--line); border-radius: 5px; outline: 0; resize: vertical; background: #0d100c; color: #edf1e8; font: 12px/1.65 "Noto Sans KR"; }
.feedback-submit-dialog textarea:focus { border-color: rgba(215,242,59,.55); }
#feedback-submit-count { display: block; margin-top: 5px; color: #697064; font-size: 9px; text-align: right; }
.feedback-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.feedback-submit-privacy { margin: 12px 0; padding: 9px 10px; border: 1px solid rgba(255,255,255,.07); border-radius: 4px; background: rgba(255,255,255,.02); color: #727a6e; font-size: 9px; line-height: 1.6; }
.feedback-submit-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.feedback-submit-actions p { min-height: 18px; margin: 0; color: #ff9c8d; font-size: 10px; line-height: 1.5; }
.feedback-submit-actions p.success { color: var(--theme-accent-foreground); }
.feedback-submit-actions button { flex: 0 0 auto; min-width: 112px; padding: 11px 14px; border: 0; border-radius: 4px; background: var(--accent); color: var(--brand-lime-text); cursor: pointer; font-size: 11px; font-weight: 800; }
.feedback-submit-actions button:disabled { opacity: .55; cursor: wait; }

@container (max-width: 1100px) {
  .full-leaderboard-content { padding-inline: 20px; }
  .full-leaderboard-table>header,.full-leaderboard-row { grid-template-columns: 58px minmax(180px,280px) minmax(120px,160px) 100px 60px 68px 76px 76px minmax(96px,1fr); }
}

@container (max-width: 900px) {
  .full-leaderboard-hero { align-items: stretch; flex-direction: column; gap: 20px; }
  .full-leaderboard-controls { justify-content: space-between; }
  .leaderboard-filter-groups { flex-wrap: wrap; }
  .full-leaderboard-search-label input { width: min(360px,52vw); }
  .full-leaderboard-table>header,.full-leaderboard-row { grid-template-columns: 58px minmax(180px,280px) minmax(110px,150px) 100px 70px 80px minmax(92px,1fr); }
  .full-leaderboard-table>header>span:nth-child(7),.full-leaderboard-table>header>span:nth-child(8),.full-leaderboard-row>span:nth-of-type(3),.full-leaderboard-row>span:nth-of-type(4) { display: none; }
  .season-comparison-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .season-comparison-metric { border-top: 1px solid var(--line); }
  .season-comparison-metric:nth-child(odd) { border-left: 0; }
  .records-hero-layout { align-items: stretch; flex-direction: column; gap: 20px; }
  .buildings-hero-layout { align-items: stretch; flex-direction: column; gap: 22px; }
  .buildings-map-summary { flex-basis: auto; width: 100%; min-height: 84px; }
  .record-search-form { flex: none; width: 100%; }

  .record-preview-grid, .normal-mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competitive-overview-layout { grid-template-columns: 1fr; }
  .ranked-tier-summary { min-height: 200px; }
  .ranked-mode-grid { grid-template-columns: 1fr; }
  .record-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record-metric:nth-child(4) { border-left: 0; }
  .record-match-layout { grid-template-columns: 1fr; }
  .record-match-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 286px; overflow: auto; }
}

@container (max-width: 620px) {
  .full-leaderboard-hero { padding: 28px 18px 22px; }
  .full-leaderboard-controls { align-items: stretch; flex-direction: column; }
  .leaderboard-filter-groups { align-items: stretch; flex-direction: column; }
  .leaderboard-platform-tabs,.leaderboard-mode-tabs { align-self: stretch; }
  .leaderboard-platform-tabs button,.leaderboard-mode-tabs button { flex: 1 1 50%; min-height: 38px; }

  .full-leaderboard-search-label input { width: 100%; }
  .full-leaderboard-content { padding: 16px 12px 40px; }
  .full-leaderboard-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .full-leaderboard-summary>div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .full-leaderboard-summary>div:nth-child(4) { border-top: 1px solid var(--line); }
  .full-leaderboard-table>header { display: none; }
  .full-leaderboard-row { grid-template-columns: 44px minmax(0,1fr) auto; gap: 8px; min-height: 148px; padding: 11px 10px; }
  .full-rank { grid-row: 1 / 5; align-self: center; }
  .full-player { grid-column: 2; grid-row: 1; }
  .full-rp { grid-column: 3; grid-row: 1; font-size: 15px !important; }
  .full-activity { grid-column: 2 / 4; grid-row: 2; }
  .full-activity:empty { display: none; }
  .full-activity:empty::before { content: none; }
  .leaderboard-public-activity>b { max-width: min(220px,60vw); }
  .full-mobile-metrics { display: grid; grid-column: 2 / 4; grid-row: 3; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: hidden; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; background: rgba(255,255,255,.025); }
  .full-mobile-metrics>span { display: grid; min-width: 0; gap: 2px; padding: 7px 6px; border-left: 1px solid rgba(255,255,255,.07); text-align: center; }
  .full-mobile-metrics>span:first-child { border-left: 0; }
  .full-mobile-metrics small { color: #818b7d; font-size: 10px; font-weight: 700; white-space: nowrap; }
  .full-mobile-metrics b { overflow: hidden; color: #e7ebe4; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
  .full-leaderboard-row>span { display: none !important; }
  .full-leaderboard-row>button { grid-column: 3; grid-row: 4; min-height: 34px; padding: 0 10px; }
  .full-leaderboard-actions { grid-column: 3; grid-row: 4; display:flex; width:100%; gap:4px; }
  .full-leaderboard-actions button { width:auto; min-width:0; min-height:34px; flex:1 1 0; padding:0 6px; font-size:11px; }
  .leaderboard-tier-image,.leaderboard-tier-fallback,.leaderboard-top500-badge { width: 34px; height: 34px; flex-basis: 34px; }
  .full-leaderboard-foot,.season-comparison-head { align-items: flex-start; flex-direction: column; }
  .season-comparison-versus { grid-template-columns: minmax(0,1fr) 28px minmax(0,1fr); width: 100%; }
  .season-select-control,.season-current-control { padding: 8px; }
  .season-select-control select,.season-current-control strong { font-size: 11px; }
  .season-comparison-grid { grid-template-columns: 1fr; }
  .season-comparison-metric,.season-comparison-metric:nth-child(odd) { border-left: 0; }
  .record-collapsible-summary { grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 12px; }
  .record-collapsible-summary>em { grid-column: 1; }
  .record-collapsible-summary>b { grid-column: 2; grid-row: 1 / 3; min-width: 74px; }
  .record-collapsible-content { padding: 8px; }
  .ranked-tier-summary { min-height: 184px; }
  .ranked-tier-main h5 { font-size: 23px; }
  .record-search-form { grid-template-columns: 1fr; }
  .record-search-form button { grid-column: auto; }
  .my-records-quick { align-items: stretch; flex-direction: column; gap: 10px; }
  .my-records-quick-copy>p { overflow: visible; text-overflow: clip; white-space: normal; }
  .my-records-quick-actions { flex: 0 0 auto; width: 100%; grid-template-columns: 1fr; }
  .my-records-quick-actions[data-count="0"], .my-records-quick-actions[data-count="1"] { flex: 0 0 auto; width: 100%; }
  .recent-player-searches>header { align-items: flex-start; }
  .recent-player-searches>header p { white-space: normal; }
  .recent-player-item { flex-basis: min(205px, 78vw); }
  .record-preview-grid, .normal-mode-grid { grid-template-columns: 1fr; }
  .records-stage .record-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .records-stage .record-metric:nth-child(odd) { border-left: 0; }
  .record-match-list { grid-template-columns: 1fr; max-height: 360px; }
  .record-recent-teammates>header { align-items: flex-start; flex-direction: column; gap: 6px; padding: 14px; }
  .record-recent-teammates>header p { text-align: left; }
  .record-recent-player-columns { grid-template-columns: 1fr; }
  .record-recent-player-columns>article+article { border-top: 1px solid rgba(255,255,255,.08); border-left: 0; }
  .record-recent-player-columns h5 { padding-inline: 14px; }
  .record-recent-teammate { padding-inline: 14px; }
  .record-recent-teammates-note { padding-inline: 14px; }
  .ranked-performance-primary { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .records-stage .record-match-detail-grid .record-metric:nth-child(4) { border-left: 1px solid var(--line); }
  .records-stage .record-match-detail-grid .record-metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .buildings-section-head { align-items: flex-start; flex-direction: column; gap: 9px; }
  .building-empty-state { min-height: 340px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  :root { --sidebar-w: 280px; }
  .brand { gap: 9px; padding: 0 13px; }
  .brand-title { font-size: 18px; }
  .brand small { font-size: 8px; }
  .service-menu { gap: 3px; padding-right: 5px; padding-left: 5px; }
  .service-menu-item { min-width: 96px; padding-right: 7px; padding-left: 7px; }
  .map-tabs { gap: 5px; }
  .map-tab { min-width: 0; font-size: 13px; }
  .terrain-contributor-banner { min-height: 84px; margin-right: 12px; margin-left: 12px; padding: 9px; grid-template-columns: 48px minmax(0,1fr); gap: 8px; }
  .terrain-contributor-banner>img { width: 48px; height: 48px; border-radius: 8px; }
  .terrain-contributor-arrow { display: none; }
  .terrain-contributor-copy>strong { font-size: 11px; }
  .terrain-contributor-copy>strong b { font-size: 13px; }
  .terrain-contributor-copy em { font-size: 9px; }
  .terrain-contributor-copy i { font-size: 0; }
  .terrain-contributor-copy i svg { width: 14px; height: 14px; }
  .top-actions { gap: 6px; padding: 0 10px; }
  .top-actions>.icon-button, .top-actions>.beta-badge { display: none; }
}

@media (max-width: 1799px) {
  .service-menu-item>i:not(.new-badge) { display: none; }
  .service-menu-item { min-width: 94px; grid-template-columns: 28px minmax(0, auto); }
  .service-menu-item .new-badge { position: absolute; top: 3px; right: 3px; }
}

@media (min-width: 1800px) {
  :root { --header-h: 78px; --sidebar-w: 360px; }
  .brand { gap: 15px; padding: 0 25px; }
  .brand-mark { width: 40px; height: 40px; font-size: 18px; }
  .brand-title { font-size: 24px; }
  .brand small { font-size: 11px; }
  .map-tab { min-width: 122px; font-size: 18px; }
  .terrain-contributor-banner { min-height: 102px; margin-right: 18px; margin-left: 18px; padding: 13px; grid-template-columns: 64px minmax(0,1fr) auto; }
  .terrain-contributor-banner>img { width: 64px; height: 64px; }
  .terrain-contributor-copy>small { font-size: 9px; }
  .terrain-contributor-copy>strong { font-size: 13px; }
  .terrain-contributor-copy>strong b { font-size: 15px; }
  .terrain-contributor-copy em { font-size: 10px; }
  .terrain-contributor-copy i { font-size: 9px; }
  .icon-button { padding: 10px 14px; font-size: 14px; }
  .beta-badge { font-size: 12px; }
  .sidebar-head { padding: 25px 22px 16px; }
  .eyebrow { font-size: 11px; }
  .sidebar h2 { font-size: 34px; }
  .search-box { height: 48px; }
  .search-box input { font-size: 14px; }
  .section-title { font-size: 13px; }
  .section-title button { font-size: 12px; }
  .layer-toggle { padding: 11px; font-size: 13px; }
  .control-shortcut { padding: 3px 5px; font-size: 10px; }
  .feature-card strong { font-size: 14px; }
  .feature-card small { font-size: 12px; }
  .service-menu-item strong { font-size: 14px; }
  .service-menu-item small { font-size: 11px; }
  .service-menu-item i, .service-menu-item .new-badge { font-size: 10px; }
  .pc-optimized-notice, .pc-optimized-notice b { font-size: 11px; }
  .site-disclaimer { font-size: 11px; }
  .operator-contact-copy small, .operator-contact-copy span { font-size: 11px; }
  .operator-contact-copy strong { font-size: 15px; }
  .feedback-mode-toggle strong { font-size: 14px; }
  .feedback-mode-toggle small { font-size: 11px; }
  .feedback-mode-toggle i { font-size: 10px; }
  .feedback-clear-all, .feedback-clear-all i { font-size: 11px; }
}

@media (max-width: 900px) {
  :root { --header-h: 61px; }
  .topbar { grid-template-columns: auto minmax(0, 1fr); }
  .brand { padding: 0 14px; border-right: 0; }
  .brand small, .top-actions { display: none; }
  .service-menu { gap: 3px; padding: 6px 5px; scrollbar-width: none; }
  .service-menu::-webkit-scrollbar { display: none; }
  .service-menu-item { min-width: 96px; height: 45px; padding: 5px 7px; grid-template-columns: 25px minmax(0, auto) auto; gap: 6px; }
  .service-menu-item::after { bottom: -8px; }
  .service-icon { width: 25px; height: 25px; font-size: 11px; }
  .service-menu-item strong { font-size: 10px; }
  .service-menu-item i, .service-menu-item .new-badge { font-size: 6px; }
  .map-tabs { gap: 7px; }
  .map-tab { min-width: 0; font-size: 13px; }
  .workspace, body.sidebar-context-active .workspace { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: absolute; inset: var(--header-h) auto 0 0; width: min(88vw, 340px); transform: translateX(-105%); transition: transform .25s ease; }
  .sidebar.open { transform: translateX(0); }
  .mobile-close { display: block; }
  .mobile-panel-button { position: absolute; z-index: 500; display: block; left: 12px; top: 12px; border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; background: rgba(20,23,18,.94); font-size: 11px; }
  .buildings-mobile-menu { position: absolute; z-index: 10; display: block; left: 12px; top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: rgba(20,23,18,.96); font-size: 11px; }
  .records-mobile-menu { display: none; }
  .records-hero { padding-top: 34px; }
  .buildings-hero { padding-top: 78px; }
  .records-hero-layout { align-items: stretch; flex-direction: column; gap: 20px; }
  .record-search-form { flex: none; width: 100%; }
  .records-hero .search-help { text-align: left; }
  .floating-tools { top: 12px; right: 12px; }
  .distance-guide { top: 148px; right: 12px; }
  .feedback-panel, .drawing-toolbar, .drawing-text-editor, .drawing-shortcut-help { display: none !important; }
  .coordinate-readout { display: none; }
  .map-status { left: 10px; bottom: 10px; }
}

@media (max-width: 700px) {
  .popup-layout.has-media { width: min(320px, calc(100vw - 70px)); }
  .popup-quick-media { gap: 13px; }
  .record-search-form { grid-template-columns: 120px minmax(0, 1fr); }
  .record-search-form button { grid-column: 1 / -1; }
  .record-preview-grid, .normal-mode-grid, .ranked-mode-grid { grid-template-columns: 1fr; }
  .record-metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .record-metric:nth-child(4) { border-left: 0; }
}

@media (max-width: 520px) {
  .brand { gap: 8px; padding-right: 10px; padding-left: 10px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-title { font-size: 17px; }
  .service-menu-item { min-width: 90px; }
  .map-tabs { gap: 6px; }
  .map-tab { min-width: 0; font-size: 12px; letter-spacing: 0; }
  .map-status .map-pixel-status, .map-status i:first-of-type { display: none; }
  .distance-guide { grid-template-columns: 26px auto; }
  .distance-guide button { grid-column: 1 / -1; margin: 0; }
  .drawing-toolbar { gap: 3px; min-height: 50px; padding: 5px; border-radius: 6px; }
  .drawing-toolbar-brand { display: none; }
  .drawing-tool-group, .drawing-action-group { gap: 2px; }
  .drawing-tool, .drawing-action-group button { flex-basis: 38px; width: 38px; height: 38px; }
  .drawing-color-control { flex-basis: 38px; width: 38px; height: 38px; }
  .drawing-width-control { height: 38px; }
  .drawing-action-group .drawing-export { flex-basis: 58px; width: 58px; }
  .drawing-text-editor { grid-template-columns: minmax(0,1fr) 45px 32px; }
  body.drawing-mode-active .toast { bottom: 114px; }
  .media-modal { padding: 0; }
  .feedback-submit-modal { padding: 0; }
  .feedback-submit-dialog { width: 100%; max-height: 100vh; min-height: 100vh; padding: 20px 17px; border: 0; border-radius: 0; }
  .feedback-submit-actions { align-items: stretch; flex-direction: column; }
  .feedback-submit-actions button { width: 100%; }
  .media-dialog { width: 100%; max-height: 100vh; min-height: 100vh; padding: 18px; border: 0; border-radius: 0; }
  .media-dialog-head h2 { font-size: 20px; }
  .media-stage, .youtube-play-preview, .youtube-play-preview img { min-height: 230px; }
  .media-thumbnails { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .records-hero { padding-right: 16px; padding-left: 16px; }
  .records-hero h2 { font-size: 29px; }
  .records-hero-copy p { font-size: 12px; line-height: 1.6; }
  .record-search-form { grid-template-columns: 1fr; }
  .record-search-form button { grid-column: auto; }
  .records-content { padding: 16px 14px 46px; }
  .buildings-hero { padding-right: 16px; padding-left: 16px; }
  .buildings-hero h2 { font-size: 31px; }
  .buildings-hero p { font-size: 12px; }
  .buildings-content { padding: 20px 14px 46px; }
  .building-card-grid { gap: 11px; }
  .building-card-body { min-height: 0; }
  .building-empty-state { min-height: 320px; padding: 42px 18px; }
  .record-result-shell { align-items: flex-start; padding: 17px; }
  .record-result-shell.has-data { padding: 0; }
  .record-match-intel-tabs button { padding-right: 8px; padding-left: 8px; font-size: 11px; }
  .record-squad-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding: 8px; }
  .record-squad>header { align-items: flex-start; flex-direction: column; gap: 3px; }
  .record-squad-players>div { align-items: flex-start; flex-direction: column; gap: 2px; padding: 6px 0; }
  .record-match-log { padding-right: 10px; padding-left: 10px; }
  .record-match-log li { grid-template-columns: 40px minmax(0,1fr); gap: 7px; }
  .record-empty-icon { flex-basis: 42px; height: 42px; }
  .record-profile-card { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; min-height: 108px; padding: 15px; }
  .record-avatar { width: 58px; height: 58px; }
  .record-avatar::before { inset: 5px; }
  .record-platform-mark { width: 32px; height: 32px; }
  .record-platform-kakao, .record-platform-generic { width: 27px; height: 27px; font-size: 23px; }
  .record-platform-generic { font-size: 17px; }
  .record-platform-icon { gap: 1px; }
  .record-platform-icon small { font-size: 7px; }
  .record-profile-copy h3 { margin-top: 6px; font-size: 24px; }
  .record-profile-copy p { font-size: 11px; }
  .record-result-meta { grid-column: 2; justify-items: start; margin-top: -6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .record-result-meta span { display: none; }
  .record-nickname-history { margin-right: 0; margin-left: 0; padding: 15px; }
  .record-nickname-history-head h4 { font-size: 16px; }
  .nickname-history-list { grid-template-columns: 1fr; }
  .nickname-history-example>ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-tabs { overflow-x: auto; padding: 0 6px; }
  .record-tabs button { min-width: 66px; padding: 0 11px; }
  .record-tabs>span { flex: 0 0 auto; }
  .record-match-detail { min-height: 0; padding: 16px; }
  .record-match-detail-head { gap: 12px; }
  .record-match-detail-head h5 { font-size: 24px; }
  .record-match-placement strong { font-size: 30px; }
  .record-match-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-match-detail-grid .record-metric:nth-child(odd) { border-left: 0; }
  .record-match-detail-grid .record-metric:nth-child(4) { border-left: 1px solid var(--line); }
  .record-match-detail-grid .record-metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .record-replay-actions { grid-template-columns: 1fr; }
  .record-replay-link, .record-replay-option { align-items: stretch; flex-direction: column; gap: 12px; }
  .record-replay-link>strong, .record-replay-option>strong { width: 100%; margin-left: 0; text-align: center; }
  .record-replay-option.loading i { align-self: flex-start; }
  .record-section-heading>p { display: none; }
  .record-metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .record-metric { padding: 14px 13px; }
  .record-metric:nth-child(odd) { border-left: 0; }
  .mode-card-head, .ranked-performance-head { padding: 12px; }
  .ranked-performance-primary>div { padding: 13px 9px; }
  .ranked-performance-primary strong { font-size: 23px; }
  .record-result-foot { flex-direction: column; gap: 7px; padding: 13px 1px; }
}

@media (max-width: 360px) {
  .brand>span:last-child { display: none; }
  .brand { padding-right: 8px; padding-left: 8px; }
}

/* Public Google account */
.auth-control { position: relative; }
.auth-trigger { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.12); border-radius: 5px; background: #181b16; color: #e9ece5; cursor: pointer; font-size: 12px; font-weight: 700; }
.auth-trigger:hover { border-color: rgba(215,242,59,.45); background: #1d211a; }
.auth-trigger-icon, .auth-google-mark { color: transparent; background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 43%, #fbbc05 0 68%, #ea4335 0 82%, #4285f4 0); background-clip: text; -webkit-background-clip: text; font-family: Arial, sans-serif; font-weight: 800; }
.auth-trigger-icon { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 50%; background-color: #fff; font-size: 14px; }
.auth-trigger img { width: 28px; height: 28px; border: 1px solid rgba(215,242,59,.42); border-radius: 50%; object-fit: cover; }
.auth-trigger.signed-in.has-avatar .auth-trigger-icon { display: none; }
.auth-trigger.signed-in:not(.has-avatar) .auth-trigger-icon { display: grid; border: 1px solid rgba(215,242,59,.42); color: var(--theme-accent-foreground); background: #10130e; font: 800 10px "Barlow Condensed"; }
.auth-account-menu { position: absolute; z-index: 2200; top: calc(100% + 10px); right: 0; width: 282px; padding: 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 7px; background: #151813; box-shadow: 0 20px 55px rgba(0,0,0,.5); }
.auth-account-menu[hidden] { display: none; }
.auth-account-menu header { display: grid; grid-template-columns: 46px minmax(0,1fr); align-items: center; gap: 11px; padding: 7px 7px 14px; border-bottom: 1px solid var(--line); }
.auth-account-menu header img, .auth-account-placeholder { grid-column: 1; grid-row: 1; width: 46px; height: 46px; border-radius: 50%; }
.auth-account-menu header img { position: relative; z-index: 1; object-fit: cover; }
.auth-account-placeholder { display: grid; place-items: center; border: 1px solid rgba(215,242,59,.35); background: #10130e; color: var(--theme-accent-foreground); font: 800 13px "Barlow Condensed"; }
.auth-account-menu header div { min-width: 0; }
.auth-account-menu strong, .auth-account-menu small { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.auth-account-menu strong { font-size: 13px; }
.auth-account-menu small { margin-top: 3px; color: #81887c; font-size: 10px; }
.auth-account-menu>button { width: 100%; margin-top: 7px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 4px; background: #1a1e17; color: #bec4b8; cursor: pointer; text-align: left; font-size: 11px; }
.auth-account-menu>button:hover { border-color: rgba(215,242,59,.32); color: #fff; }
.auth-account-menu>button.danger { color: #d99a9a; }
.auth-account-menu>button.danger:hover { border-color: rgba(255,104,104,.42); background: rgba(100,25,25,.18); }

.auth-modal[hidden] { display: none; }
.auth-modal { position: fixed; z-index: 5000; inset: 0; display: grid; place-items: center; padding: 24px; }
.auth-modal-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(5,7,4,.82); backdrop-filter: blur(8px); }
.auth-dialog { position: relative; width: min(460px, 100%); max-height: min(760px, calc(100vh - 32px)); overflow-y: auto; padding: 34px 34px 27px; border: 1px solid rgba(215,242,59,.24); border-radius: 8px; background: radial-gradient(circle at 80% 0%, rgba(215,242,59,.08), transparent 30%), #121510; box-shadow: 0 30px 90px rgba(0,0,0,.62); scrollbar-width: thin; }
.auth-dialog::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.auth-modal-close { position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border: 0; background: transparent; color: #8d9487; cursor: pointer; font-size: 27px; }
.auth-modal-close:hover { color: #fff; }
.auth-dialog-brand { display: flex; align-items: center; gap: 9px; }
.auth-dialog-brand span { display: grid; width: 32px; height: 32px; place-items: center; background: var(--accent); color: var(--brand-lime-text); font: 800 14px "Barlow Condensed"; transform: skew(-7deg); }
.auth-dialog-brand strong { font: 800 18px "Barlow Condensed"; letter-spacing: .09em; }
.auth-kicker { margin: 28px 0 5px; color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .2em; }
.auth-dialog h2 { margin: 0; font: 800 30px/1.2 "Barlow Condensed", "Noto Sans KR"; }
.auth-description { margin: 10px 0 23px; color: #969d91; font-size: 13px; line-height: 1.75; }
.auth-google-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; border: 1px solid rgba(255,255,255,.18); border-radius: 5px; background: #fff; color: #242722; cursor: pointer; }
.auth-google-button:hover:not(:disabled) { box-shadow: 0 6px 24px rgba(0,0,0,.3); filter: brightness(1.03); }
.auth-google-button:disabled { opacity: .48; cursor: not-allowed; }
.auth-google-mark { font-size: 20px; }
.auth-google-button strong { font-size: 13px; }
.auth-pending { margin: 9px 0 0; padding: 9px 10px; border: 1px solid rgba(215,242,59,.16); border-radius: 4px; background: rgba(215,242,59,.045); color: #aab18e; font-size: 10px; line-height: 1.6; text-align: center; }
.auth-pending[hidden] { display: none; }
.auth-status { min-height: 18px; margin: 9px 0 0; color: #92998d; font-size: 11px; text-align: center; }
.auth-status[data-type="error"] { color: #ff9c96; }
.auth-status[data-type="success"] { color: var(--theme-accent-foreground); }
.auth-benefits { display: grid; gap: 7px; margin-top: 19px; padding: 16px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255,255,255,.018); }
.auth-benefits span { display: flex; align-items: center; gap: 10px; color: #b1b7ac; font-size: 11px; }
.auth-benefits b { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .1em; }
.auth-privacy { margin: 17px 0 0; color: #747b70; font-size: 10px; line-height: 1.7; }
.auth-privacy a { color: #aeb77d; text-underline-offset: 3px; }
.auth-privacy a:hover { color: var(--theme-accent-foreground); }
.auth-unofficial { display: block; margin-top: 13px; padding-top: 13px; border-top: 1px solid var(--line); color: #666d62; font-size: 9px; line-height: 1.6; }

@media (min-width: 1800px) {
  .auth-trigger { min-height: 42px; padding: 8px 13px; font-size: 14px; }
}

@media (max-width: 900px) {
  .topbar { grid-template-columns: auto minmax(0,1fr) auto; }
  .top-actions { display: flex; gap: 0; padding: 0 9px 0 4px; }
  .top-actions>.icon-button, .top-actions>.beta-badge { display: none; }
  .auth-trigger { width: 38px; min-height: 38px; padding: 0; border-radius: 50%; }
  .auth-trigger>span:last-child { display: none; }
  .auth-account-menu { position: fixed; top: calc(var(--header-h) + 8px); right: 8px; }
}

@media (max-width: 520px) {
  .auth-modal { padding: 0; }
  .auth-dialog { width: 100%; max-height: 100vh; min-height: 100vh; padding: 27px 20px 23px; border: 0; border-radius: 0; }
  .auth-kicker { margin-top: 23px; }
  .auth-dialog h2 { font-size: 27px; }
  .auth-account-menu { width: min(282px, calc(100vw - 16px)); }
}

/* Public community, member profile, terrain votes and feature reviews */
.community-stage[hidden], .community-modal[hidden], .feature-community[hidden] { display: none; }
.community-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #090b08; container-type: inline-size; }
.community-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 0%, rgba(215,242,59,.07), transparent 32%), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; }
.community-scroll { position: relative; height: 100%; overflow-y: auto; scrollbar-color: #343a30 transparent; }
.community-hero { padding: 38px clamp(22px,4vw,64px) 30px; border-bottom: 1px solid var(--line); background: rgba(9,11,8,.88); }
.community-hero>span { color: var(--theme-accent-foreground); font: 700 12px "Barlow Condensed"; letter-spacing: .19em; }
.community-hero h2 { margin: 6px 0; font: 800 clamp(34px,3vw,44px) "Barlow Condensed", "Noto Sans KR"; }
.community-hero p { margin: 0; color: #92998d; font-size: 13px; }
.community-content { width: min(1240px,100%); margin: 0 auto; padding: 26px clamp(22px,4vw,64px) 70px; }
.community-mobile-menu { display: none; }
.board-categories { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: thin; }
.board-categories button { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 4px; background: #151913; color: #92998d; cursor: pointer; font-size: 12px; font-weight: 700; }
.board-categories button.active { border-color: rgba(215,242,59,.5); background: var(--accent-dim); color: var(--theme-accent-foreground); }
.board-search { display: grid; grid-template-columns: minmax(180px,1fr) auto auto; gap: 8px; margin: 16px 0 5px; }
.board-search input, .community-editor-dialog input, .community-editor-dialog textarea, .community-editor-dialog select, .profile-form input, .comment-form textarea, .review-form textarea, .review-form select { width: 100%; border: 1px solid rgba(255,255,255,.13); border-radius: 4px; outline: 0; background: #10130e; color: var(--text); }
.board-search input { height: 44px; padding: 0 13px; }
.board-search>button { padding: 0 17px; border: 1px solid var(--line); border-radius: 4px; background: #1a1e17; cursor: pointer; font-size: 12px; font-weight: 700; }
.community-primary { border-color: var(--accent) !important; background: var(--accent) !important; color: var(--brand-lime-text) !important; cursor: pointer; font-weight: 800; }
.community-status { min-height: 20px; margin: 7px 0; color: #8f978a; font-size: 11px; }
.community-status[data-kind="error"] { color: #ff9c96; }
.community-empty { display: grid; place-items: center; align-content: center; gap: 9px; min-height: 220px; padding: 30px; border: 1px dashed rgba(215,242,59,.18); border-radius: 5px; background: rgba(15,18,13,.7); text-align: center; }
.community-empty>b { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(215,242,59,.4); color: var(--theme-accent-foreground); font: 800 18px "Barlow Condensed"; transform: rotate(45deg); }
.community-empty strong { margin-top: 10px; }
.community-empty p { margin: 0; color: #7e8679; font-size: 11px; }
.community-empty .community-primary { margin-top: 8px; padding: 10px 15px; border-radius: 4px; }
.board-list { display: grid; margin-top: 12px; border-top: 1px solid var(--line); }
.board-post-card { display: grid; grid-template-columns: 82px minmax(0,1fr) minmax(220px,auto) auto; align-items: center; gap: 14px; width: 100%; min-height: 88px; padding: 13px 14px; border: 0; border-bottom: 1px solid var(--line); background: rgba(18,21,16,.72); text-align: left; cursor: pointer; }
.board-post-card:hover { background: #171b14; }
.board-post-category { color: var(--theme-accent-foreground); font-size: 11px; font-weight: 700; }
.board-post-card>div:nth-child(2) { min-width: 0; }
.board-post-card>div:nth-child(2) strong { display: block; overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.board-post-card>div:nth-child(2) p { overflow: hidden; margin: 5px 0 0; color: #7f877a; font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
.board-post-meta { display: flex; align-items: center; gap: 7px; color: #81897c; font-size: 10px; }
.member-grade-badge { display: inline-flex; flex: 0 0 auto; padding: 3px 6px; border: 1px solid rgba(215,242,59,.22); border-radius: 9px; background: rgba(215,242,59,.06); color: #bacb73; font-size: 9px; font-weight: 700; }
.board-post-counts { color: #737b70; font-size: 10px; white-space: nowrap; }
.board-detail { margin-top: 10px; padding: 20px; border: 1px solid var(--line); background: #121510; }
.board-back { padding: 7px 10px; border: 1px solid var(--line); border-radius: 3px; background: transparent; color: #aab1a4; cursor: pointer; font-size: 11px; }
.board-detail-head { margin-top: 22px; }
.board-detail-head>span { color: var(--theme-accent-foreground); font-size: 11px; font-weight: 700; }
.board-detail-head h2 { margin: 7px 0 10px; font-size: clamp(22px,3vw,30px); }
.board-detail-meta, .comment-card header, .review-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: #858d80; font-size: 10px; }
.board-post-body { min-height: 160px; margin: 20px 0; padding: 22px 2px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.user-text { color: #c7ccc2; font-size: 13px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.community-actions { display: flex; gap: 6px; margin: 10px 0; }
.community-actions button, .tier-vote-form .danger, .review-form .danger { padding: 6px 9px; border: 1px solid var(--line); border-radius: 3px; background: #191d16; color: #aab1a4; cursor: pointer; font-size: 10px; }
.community-actions .danger, .tier-vote-form .danger, .review-form .danger { border-color: rgba(255,104,104,.25); color: #ef9999; }
.comment-list, .review-list { display: grid; gap: 9px; }
.comment-card, .review-card { padding: 14px; border: 1px solid var(--line); border-radius: 4px; background: #0e110d; }
.comment-card p, .review-card p { margin: 9px 0; }
.comment-form, .review-form { display: grid; gap: 8px; margin-top: 16px; padding: 14px; border: 1px solid var(--line); background: #151913; }
.comment-form textarea, .review-form textarea { resize: vertical; padding: 11px; }
.community-inline-status { min-height: 18px; margin: 0; color: #8f978a; font-size: 12px; line-height: 1.45; }
.community-inline-status[data-kind="pending"] { color: #c8d18f; }
.community-inline-status[data-kind="error"] { color: #ff9c96; }
.comment-form button, .review-form button { justify-self: end; padding: 9px 14px; border-radius: 4px; }

.community-modal, .feature-community { position: fixed; inset: 0; z-index: 5200; }
.community-modal { display: grid; place-items: center; padding: 20px; }
.community-modal-backdrop, .feature-community-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,5,3,.88); backdrop-filter: blur(5px); }
.community-editor-dialog { position: relative; z-index: 1; width: min(620px,100%); max-height: calc(100vh - 30px); overflow-y: auto; padding: 25px; border: 1px solid rgba(215,242,59,.25); border-radius: 7px; background: #131611; }
.community-modal-close { position: absolute; z-index: 3; right: 13px; top: 12px; width: 35px; height: 35px; border: 1px solid var(--line); border-radius: 50%; background: #1c2019; cursor: pointer; font-size: 22px; }
.community-editor-dialog h2 { margin: 0 45px 20px 0; }
.community-editor-dialog form, .profile-form { display: grid; gap: 14px; }
.community-editor-dialog label, .profile-form label { color: #aeb5a9; font-size: 11px; font-weight: 700; }
.community-editor-dialog input, .community-editor-dialog select, .profile-form input { display: block; height: 44px; margin-top: 6px; padding: 0 11px; }
.community-editor-dialog textarea { display: block; margin-top: 6px; padding: 11px; resize: vertical; }
.community-editor-dialog form>div { display: flex; justify-content: flex-end; gap: 7px; }
.community-editor-dialog form>div button { padding: 9px 15px; border: 1px solid var(--line); border-radius: 4px; background: #1a1e17; }

.mypage-content { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 16px; }
.mypage-danger-zone[hidden] { display: none; }
.mypage-danger-zone { display: grid; justify-items: start; gap: 8px; width: min(1240px,100%); margin: 0 auto 70px; padding: 20px clamp(22px,4vw,64px); border: 1px solid rgba(255,117,108,.25); border-left: 3px solid rgba(255,117,108,.65); background: rgba(49,19,17,.38); }
.mypage-danger-zone>span { color: var(--danger); font: 700 10px "Barlow Condensed"; letter-spacing: .17em; }
.mypage-danger-zone h3 { margin: 0; font-size: 18px; }
.mypage-danger-zone>p { margin: 0; color: #a8afa3; font-size: 12px; line-height: 1.65; }
.mypage-danger-zone>button { min-height: 44px; margin-top: 4px; padding: 9px 15px; border: 1px solid rgba(255,117,108,.48); border-radius: 5px; background: #301816; color: #ffaaa5; cursor: pointer; font-size: 12px; font-weight: 800; }
.mypage-danger-zone>button:hover:not(:disabled) { border-color: #ff8178; background: #3a1b18; color: #fff; }
.mypage-danger-zone>button:disabled { opacity: .55; cursor: wait; }
.mypage-danger-zone>small { color: #7f746f; font-size: 10px; line-height: 1.65; }
.mypage-danger-zone #auth-account-danger-status { min-height: 0; color: #ffaaa5; }
.profile-card { padding: 22px; border: 1px solid var(--line); border-top: 2px solid var(--accent); background: #121510; }
.profile-card>header { display: flex; align-items: center; gap: 15px; margin-bottom: 22px; }
.profile-emblem { display: grid; flex: 0 0 68px; width: 68px; height: 74px; place-items: center; color: var(--theme-accent-foreground); font: 800 25px "Barlow Condensed"; clip-path: polygon(50% 0,93% 19%,83% 78%,50% 100%,17% 78%,7% 19%); background: #29301f; }
.profile-emblem.has-rank { flex-basis: 78px; width: 78px; height: 78px; clip-path: none; background: transparent; }
.profile-emblem-rank { display: block; width: 78px; height: 78px; object-fit: contain; filter: drop-shadow(0 6px 11px rgba(0,0,0,.42)); }
.profile-card header .profile-emblem-fallback { color: var(--theme-accent-foreground); font: 800 25px "Barlow Condensed"; }
.profile-emblem-rank[hidden], .profile-emblem-fallback[hidden] { display: none; }
.profile-card header span { color: #92998d; font-size: 10px; }
.profile-card header h3 { margin: 3px 0; font-size: 25px; }
.profile-card header p { margin: 0; color: #777f73; font-size: 10px; }
.profile-form input:focus, .community-editor-dialog :is(input,textarea,select):focus, .board-search input:focus { border-color: rgba(215,242,59,.6); }
.profile-form button { justify-self: end; padding: 10px 16px; border-radius: 4px; }
.profile-privacy, .profile-field-note, .grade-rule-note { margin: 0; color: #788075; font-size: 10px; line-height: 1.7; }
.profile-field-note { margin-top: -8px; color: #92998d; }
.activity-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; align-content: start; }
.activity-grid article { padding: 19px; border: 1px solid var(--line); background: #121510; }
.activity-grid span { display: block; color: #858d80; font-size: 11px; }
.activity-grid strong { display: block; margin-top: 4px; color: var(--theme-accent-foreground); font: 800 30px "Barlow Condensed"; }
.grade-rule-note { grid-column: 1 / -1; padding: 15px; border: 1px solid var(--line); background: rgba(255,255,255,.018); }
.private-player-card { grid-column: 1 / -1; padding: 20px 22px; border: 1px solid var(--line); border-top: 2px solid var(--accent); background: #121510; }
.private-player-card>header span { color: var(--theme-accent-foreground); font: 800 10px "Barlow Condensed"; letter-spacing: .15em; }
.private-player-card>header h3 { margin: 5px 0 4px; font-size: 20px; }
.private-player-card>header p { margin: 0; color: #858d80; font-size: 11px; line-height: 1.6; }
.private-player-legacy { margin: 14px 0 0; padding: 11px 13px; border: 1px solid rgba(215,242,59,.25); background: rgba(215,242,59,.05); color: #c4ce91; font-size: 11px; line-height: 1.6; }
.private-player-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.private-player-row { display: grid; grid-template-columns: 42px minmax(0,1fr); align-items: start; gap: 12px; min-width: 0; padding: 14px; border: 1px solid rgba(255,255,255,.1); background: #0f120d; }
.player-platform-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #1b2838; color: #fff; font: 800 18px "Barlow Condensed"; }
.platform-kakao .player-platform-icon { border-radius: 12px; background: #fee500; color: #191919; }
.private-player-content { min-width: 0; }
.private-player-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 9px; }
.private-player-heading h4 { margin: 0; font-size: 13px; }
.private-player-heading span { flex: none; padding: 4px 6px; border-radius: 3px; font-size: 9px; font-weight: 800; }
.private-player-private { background: rgba(215,242,59,.08); color: #c9dd64; }
.private-player-content input { width: 100%; height: 42px; padding: 0 11px; border: 1px solid var(--line); border-radius: 4px; background: #090b08; color: #f2f4ed; font-size: 13px; }
.private-player-content input:focus { border-color: rgba(215,242,59,.6); outline: 2px solid transparent; }
.private-player-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.private-player-actions button { min-height: 44px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; font-size: 11px; font-weight: 800; }
.private-player-actions button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.private-player-actions .private-player-view { border-color: rgba(215,242,59,.4); background: rgba(215,242,59,.07); color: var(--theme-accent-foreground); }
.private-player-actions .danger { border-color: rgba(255,117,108,.4); background: #251513; color: #ffaaa5; }
.private-player-row .profile-field-note { margin: 9px 0 0; }
.private-player-status { min-height: 18px; margin: 10px 0 0; color: #aeb5a9; font-size: 11px; }
.private-player-note { margin: 3px 0 0; color: #747c70; font-size: 10px; line-height: 1.65; }
.private-player-row[aria-busy="true"] { opacity: .72; }

@container (max-width: 700px) {
  .mypage-content { grid-template-columns: 1fr; }
  .mypage-content>* { grid-column: 1; }
  .private-player-list { grid-template-columns: 1fr; }
}

.feature-community { display: flex; justify-content: flex-end; }
.feature-community-panel { position: relative; z-index: 1; width: min(440px,100vw); height: 100%; overflow-y: auto; padding: 25px 22px 35px; border-left: 1px solid rgba(215,242,59,.22); background: #11140f; box-shadow: -15px 0 45px rgba(0,0,0,.5); }
.feature-community-panel>header { padding-right: 42px; }
.feature-community-panel>header span { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .14em; }
.feature-community-panel>header h2 { margin: 5px 0 7px; font-size: 25px; }
.feature-community-panel>header p { margin: 0; color: #8d9588; font-size: 11px; line-height: 1.65; }
#feature-community-tabs { display: flex; margin: 20px 0 16px; border-bottom: 1px solid var(--line); }
#feature-community-tabs button { flex: 1; padding: 11px 5px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #858d80; cursor: pointer; font-size: 12px; font-weight: 700; }
#feature-community-tabs button.active { border-bottom-color: var(--accent); color: var(--theme-accent-foreground); }
.feature-summary-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.feature-summary-metrics article { padding: 15px; border: 1px solid var(--line); background: #171b14; }
.feature-summary-metrics span, .feature-summary-metrics small { display: block; color: #81897c; font-size: 9px; }
.feature-summary-metrics strong { display: block; margin: 5px 0; color: var(--theme-accent-foreground); font-size: 21px; }
.scale-note { padding: 10px; border: 1px solid rgba(215,242,59,.18); background: rgba(215,242,59,.045); color: #a8b17e; font-size: 10px; line-height: 1.6; }
.tier-bars { display: grid; gap: 10px; margin: 18px 0; }
.tier-bar { display: grid; grid-template-columns: 50px 1fr 40px; align-items: center; gap: 8px; font-size: 10px; }
.tier-bar>span { height: 8px; overflow: hidden; border-radius: 5px; background: #292e25; }
.tier-bar i { display: block; height: 100%; background: var(--accent); }
.tier-bar b { color: #899181; text-align: right; }
.tier-vote-form { display: grid; gap: 6px; padding: 13px; border: 1px solid var(--line); background: #171b14; }
.tier-vote-form>label { display: flex; align-items: center; gap: 8px; padding: 7px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 11px; }
.tier-vote-form>div { display: flex; justify-content: flex-end; gap: 7px; margin-top: 7px; }
.tier-vote-form button { padding: 9px 12px; border-radius: 4px; }
.review-form select { height: 40px; padding: 0 10px; }
.review-stars { color: #efcd58; letter-spacing: .05em; }
.popup-community-summary { display: grid; gap: 3px; margin-top: 9px; padding: 8px; border: 1px solid rgba(215,242,59,.16); border-radius: 3px; background: rgba(215,242,59,.04); color: #b7c27d; font-size: 9px; }
.popup-community-button { width: 100%; margin-top: 7px; padding: 9px; border: 1px solid rgba(215,242,59,.4); border-radius: 4px; background: var(--accent-dim); color: var(--theme-accent-foreground); cursor: pointer; font-size: 10px; font-weight: 800; }

@media (max-width: 900px) {
  .community-mobile-menu { display: none; }
  .board-categories { flex-wrap: wrap; overflow-x: visible; }
  .community-hero { padding-top: 34px; }
  .board-post-card { grid-template-columns: 72px minmax(0,1fr) auto; }
  .board-post-meta { grid-column: 2; }
  .board-post-counts { grid-column: 3; grid-row: 1 / 3; }
}
@media (max-width: 620px) {
  .community-content { padding: 17px 14px 45px; }
  .mypage-danger-zone { margin: 0 14px 45px; width: calc(100% - 28px); padding: 16px 14px; }
  .community-hero { padding-right: 16px; padding-left: 16px; }
  .board-search { grid-template-columns: 1fr auto; }
  .board-search .community-primary { grid-column: 1 / -1; min-height: 42px; }
  .board-post-card { grid-template-columns: 60px minmax(0,1fr); gap: 8px; padding: 12px 8px; }
  .board-post-meta { grid-column: 2; }
  .board-post-counts { display: none; }
  .board-post-meta time { display: none; }
  .board-detail { padding: 14px; border-right: 0; border-left: 0; }
  .community-modal { padding: 0; }
  .community-editor-dialog { width: 100%; min-height: 100vh; max-height: 100vh; padding: 22px 17px; border: 0; border-radius: 0; }
  .mypage-content { grid-template-columns: 1fr; }
  .grade-rule-note { grid-column: 1; }
  .private-player-card { padding: 17px 14px; }
  .private-player-list { grid-template-columns: 1fr; }
  .player-platform-icon { width: 38px; height: 38px; }
  .private-player-row { grid-template-columns: 38px minmax(0,1fr); gap: 9px; padding: 11px; }
  .private-player-heading { align-items: flex-start; flex-direction: column; }
  .private-player-actions button { flex: 1 1 130px; }
  .feature-community { align-items: flex-end; }
  .feature-community-panel { width: 100%; height: min(92vh,760px); border-top: 1px solid rgba(215,242,59,.25); border-left: 0; border-radius: 14px 14px 0 0; }
}

/* 2026 public usability redesign: clearer hierarchy, readable type, touch-safe navigation */
:root {
  --bg: #0b0e0c;
  --panel: #121713;
  --panel-2: #182019;
  --surface-raised: #1d251e;
  --surface-soft: rgba(255,255,255,.035);
  --line: rgba(226,238,224,.12);
  --line-strong: rgba(226,238,224,.2);
  --text: #f3f7f1;
  --muted: #a2aca0;
  --muted-strong: #c0c8bd;
  --accent: #d9f24b;
  --accent-dim: rgba(217,242,75,.12);
  --danger: #ff8178;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-panel: 0 18px 55px rgba(0,0,0,.36);
  --header-h: 68px;
  --sidebar-w: 320px;
}

body { color: var(--text); background: var(--bg); line-height: 1.5; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(217,242,75,.72);
  outline-offset: 2px;
}

.topbar {
  grid-template-columns: minmax(272px,max-content) minmax(0,1fr) auto;
  height: var(--header-h);
  background: rgba(10,14,11,.96);
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(0,0,0,.22);
  backdrop-filter: blur(14px);
}
.brand { gap: 12px; padding: 0 20px; }
.brand-mark { width: 38px; height: 38px; border-radius: var(--radius-sm); transform: none; font-size: 16px; }
.brand-title { font-size: 22px; letter-spacing: .07em; }
.brand small { margin-top: 3px; color: #929c91; font-size: 10px; letter-spacing: .13em; }
.service-menu-toggle { display: none; min-width: 44px; min-height: 44px; }
.service-menu-backdrop[hidden] { display: none; }
.sidebar-backdrop[hidden] { display: none; }
.service-menu {
  justify-content: flex-start;
  gap: 4px;
  padding: 7px 8px;
  overflow-x: auto;
  overflow-y: hidden;
}
.service-menu-item {
  min-width: 92px;
  height: 50px;
  grid-template-columns: 30px minmax(0,auto);
  gap: 8px;
  padding: 6px 9px;
  border-radius: var(--radius-md);
  color: #b9c2b7;
}
.service-menu-item::after { right: 13px; bottom: -8px; left: 13px; height: 3px; border-radius: 3px 3px 0 0; }
.service-menu-item:hover:not(:disabled) { border-color: var(--line-strong); background: var(--surface-soft); }
.service-menu-item.active { border-color: rgba(217,242,75,.38); background: var(--accent-dim); }
.service-menu-item strong { font-size: 12px; letter-spacing: -.01em; }
.service-menu-item small { color: #8f998d; font-size: 11px; line-height: 1.35; }
.service-menu-item>i { font-size: 10px; }
.service-menu-item.disabled { display: none; }
.service-icon { width: 30px; height: 30px; border-radius: var(--radius-sm); font-size: 13px; }
.top-actions { gap: 8px; padding: 0 14px 0 8px; }
.icon-button, .auth-trigger { min-height: 42px; border-radius: 8px; background: #171d18; font-size: 12px; }
.beta-badge { border-radius: 5px; font-size: 10px; }

.sidebar { background: rgba(17,22,18,.98); border-color: var(--line); box-shadow: 14px 0 38px rgba(0,0,0,.22); }
.sidebar-head { padding: 20px 18px 13px; }
.eyebrow { font-size: 11px; letter-spacing: .15em; }
.sidebar h2 { margin-top: 4px; font-size: 30px; }
.map-selector { padding: 0 14px 16px; }
.section-title { margin-bottom: 11px; color: var(--muted-strong); font-size: 12px; letter-spacing: 0; }
.map-selector .section-title small { color: #8c9689; font-size: 10px; }
.section-title button { min-height: 32px; padding: 0 3px; font-size: 11px; }
.map-tabs { gap: 8px; }
.map-tab { min-height: 47px; padding: 10px 11px; border-radius: 8px; color: #a6b0a4; font-size: 14px; }
.search-box { height: 46px; margin: 0 14px 14px; border-radius: 8px; background: #0d120e; }
.search-box input { font-size: 14px; }
.panel-section { padding: 15px 14px; }
.layer-list { gap: 8px; }
.layer-toggle { min-height: 49px; padding: 9px; border-radius: 8px; color: #b4bdb2; font-size: 12px; }
.layer-name { white-space: normal; line-height: 1.35; }
.layer-symbol { width: 26px; height: 26px; font-size: 12px; }
.control-shortcut { font-size: 10px; }
.feedback-mode-toggle { min-height: 62px; border-radius: 9px; }
.feedback-mode-toggle strong { font-size: 13px; }
.feedback-mode-toggle small { margin-top: 4px; color: #929c8e; font-size: 11px; }
.feedback-mode-toggle i { font-size: 10px; }
.feedback-clear-all { min-height: 42px; border-radius: 8px; font-size: 11px; }
.pc-optimized-notice { border-radius: 8px; font-size: 11px; }
.pc-optimized-notice b, .site-disclaimer { font-size: 11px; }
.site-disclaimer { color: #818a7f; }

.floating-tools { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-panel); }
.floating-tools button { width: 46px; height: 46px; border-color: var(--line); background: rgba(16,21,17,.94); font-size: 20px; }
.distance-guide { min-height: 52px; padding: 8px 10px; border-color: var(--line); border-radius: 10px; background: rgba(16,21,17,.94); box-shadow: var(--shadow-panel); }
.distance-guide strong { font-size: 12px; }
.distance-guide small { font-size: 11px; }
.mobile-panel-button { min-height: 44px; border-radius: 9px; font-size: 12px; }
.map-status { min-height: 34px; border-radius: 7px; font-size: 10px; }
.coordinate-readout { font-size: 10px; }

.records-stage, .leaderboard-stage, .buildings-stage, .community-stage { background: #0c100d; }
.records-stage::before, .leaderboard-stage::before, .buildings-stage::before, .community-stage::before { opacity: .5; }
.records-hero, .buildings-hero, .community-hero, .full-leaderboard-hero {
  padding-top: 26px;
  padding-bottom: 22px;
  background: rgba(12,16,13,.9);
}
.records-hero-layout, .buildings-hero-layout { gap: 24px; }
.records-kicker, .buildings-kicker, .community-hero>span, .full-leaderboard-title>span { font-size: 11px; letter-spacing: .13em; }
.records-hero h2, .buildings-hero h2, .community-hero h2, .full-leaderboard-title h2 { margin-top: 5px; font-size: clamp(30px,2.4vw,40px); }
.records-hero-copy p, .buildings-hero p, .community-hero p, .full-leaderboard-title p { color: var(--muted); font-size: 14px; }
.record-search-form { grid-template-columns: 145px minmax(280px,1fr) 112px; }
.record-search-form label>span { color: var(--muted-strong); font-size: 12px; }
.record-search-form select, .record-search-form input, .record-search-form button { height: 50px; border-radius: 8px; }
.recent-player-searches, .my-records-quick { border-radius: 9px; }
.recent-player-searches>header strong, .my-records-quick-copy>strong { font-size: 13px; }
.recent-player-searches>header p, .my-records-quick-copy>p, .recent-player-empty { font-size: 11px; }
.records-hero .search-help { color: #8f998d; font-size: 11px; }
.records-content, .buildings-content { padding-top: 24px; }
.record-result-shell { border-radius: 10px; background: rgba(20,26,21,.9); }
.record-result-shell>div>strong { font-size: 15px; }
.record-result-shell>div>p { color: var(--muted); font-size: 12px; }
.record-preview-grid { gap: 12px; }
.record-preview-grid article { min-height: 108px; border-radius: 10px; background: rgba(20,26,21,.72); }
.record-preview-grid strong { font-size: 16px; }
.record-preview-grid p { color: var(--muted); font-size: 12px; }
.record-profile-card { border-radius: 12px 12px 0 0; }
.record-tabs { border-radius: 0 0 10px 10px; }
.record-tabs button { min-height: 48px; font-size: 13px; }
.record-metric-grid, .normal-mode-card, .ranked-performance-card, .ranked-tier-summary, .record-collapsible, .record-match-item, .record-match-detail,
.full-leaderboard-summary, .full-leaderboard-table, .building-card, .board-post-card, .board-detail,
.profile-card, .private-player-card, .activity-grid article { border-radius: 9px; }
.record-metric>span, .mode-card-primary span, .ranked-primary span, .mode-stat-grid span, .ranked-stat-grid span { font-size: 12px; }
.record-match-copy small, .record-match-copy time, .record-match-secondary, .record-replay-notice { font-size: 12px; }
.record-replay-link span small, .record-replay-option span small { font-size: 12px; }
.full-leaderboard-content { padding-top: 20px; }
.full-leaderboard-summary span { font-size: 12px; }
.full-leaderboard-table>header { font-size: 12px; }
.full-leaderboard-row { min-height: 70px; }
.full-leaderboard-row small { font-size: 13px; }
.building-card-body>p, .building-empty-state>p { color: var(--muted); font-size: 13px; }
.building-alias-list span { font-size: 11px; }
.community-content { padding-top: 22px; }
.board-categories button, .board-search>button { min-height: 44px; border-radius: 8px; font-size: 13px; }
.board-search input { border-radius: 8px; font-size: 13px; }
.community-status, .community-empty p, .board-post-category, .board-post-card>div:nth-child(2) p { font-size: 12px; }
.board-post-card>div:nth-child(2) strong { font-size: 15px; }
.board-post-meta, .board-post-counts, .board-detail-meta, .comment-card header, .review-card header { font-size: 11px; }
.user-text { font-size: 14px; }
.auth-account-menu small, .profile-card header span, .profile-card header p, .profile-privacy, .profile-field-note,
.grade-rule-note, .private-player-note, .feature-community-panel>header p { font-size: 11px; }

@media (min-width: 1800px) {
  :root { --header-h: 72px; --sidebar-w: 344px; }
  .topbar { grid-template-columns: minmax(280px,max-content) minmax(0,1fr) auto; }
  .service-menu-item { min-width: 108px; }
  .service-menu-item strong { font-size: 13px; }
  .service-menu-item small { display: block; }
  .records-hero-layout, .records-hero>.recent-player-searches, .records-hero>.my-records-quick, .records-hero>.search-help { max-width: 1780px; }
  .records-content, .buildings-content { max-width: 1880px; }
  .community-content { max-width: 1480px; }
}

@media (max-width: 1180px) and (min-width: 901px) {
  :root { --sidebar-w: 286px; }
  .topbar { grid-template-columns: 205px minmax(0,1fr) auto; }
  .brand { padding: 0 13px; }
  .brand small { display: none; }
  .service-menu-item { min-width: 78px; padding: 5px 7px; }
  .service-icon { width: 28px; height: 28px; }
  .service-menu-item strong { font-size: 11px; }
  .top-actions>.icon-button, .top-actions>.beta-badge { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .topbar { grid-template-columns: auto minmax(112px,1fr) auto; }
  .brand { gap: 8px; padding: 0 10px 0 12px; border-right: 0; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-title { font-size: 18px; }
  .brand small { display: none; }
  .service-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    min-height: 44px;
    min-width: 44px;
    max-width: 180px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #161d17;
    color: var(--text);
    text-align: left;
  }
  .service-menu-toggle>span:last-child { min-width: 0; }
  .service-menu-toggle small, .service-menu-toggle strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .service-menu-toggle small { color: #929c90; font-size: 9px; }
  .service-menu-toggle strong { margin-top: 1px; font-size: 12px; }
  .service-menu-toggle-icon { display: grid; flex: 0 0 18px; gap: 3px; }
  .service-menu-toggle-icon i { display: block; height: 2px; border-radius: 2px; background: var(--accent); }
  .service-menu {
    position: fixed;
    z-index: 2100;
    top: calc(var(--header-h) + 8px);
    right: 8px;
    left: 8px;
    display: none;
    max-height: calc(100dvh - var(--header-h) - 24px);
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    height: auto;
    padding: 12px;
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(15,20,16,.98);
    box-shadow: 0 24px 70px rgba(0,0,0,.58);
    backdrop-filter: blur(18px);
  }
  .service-menu.mobile-open { display: grid; }
  .service-menu-item {
    width: 100%;
    min-width: 0;
    height: 70px;
    grid-template-columns: 38px minmax(0,1fr);
    gap: 10px;
    padding: 9px 10px;
    border-color: var(--line);
    background: var(--surface-soft);
  }
  .service-menu-item::after { display: none; }
  .service-menu-item strong { font-size: 13px; }
  .service-menu-item small { display: block; margin-top: 3px; font-size: 11px; white-space: normal; line-height: 1.35; }
  .service-menu-item>i { display: none; }
  .service-icon { width: 38px; height: 38px; font-size: 14px; }
  .service-menu-backdrop {
    position: fixed;
    z-index: 950;
    inset: var(--header-h) 0 0;
    width: 100%;
    height: auto;
    border: 0;
    background: rgba(3,6,4,.65);
    backdrop-filter: blur(3px);
  }
  .top-actions { display: flex; gap: 0; padding: 0 10px 0 6px; }
  .top-actions>.icon-button, .top-actions>.beta-badge { display: none; }
  .auth-trigger { width: 42px; min-height: 42px; padding: 0; border-radius: 50%; }
  .auth-trigger>span:last-child { display: none; }
  .sidebar { z-index: 1100; top: var(--header-h); width: min(90vw,360px); }
  .sidebar-backdrop {
    position: fixed;
    z-index: 1050;
    inset: var(--header-h) 0 0;
    width: 100%;
    height: auto;
    border: 0;
    background: rgba(3,6,4,.64);
    backdrop-filter: blur(3px);
  }
  body.sidebar-panel-open { overflow: hidden; }
  .mobile-close { width: 44px; height: 44px; }
  .mobile-panel-button, .buildings-mobile-menu { min-height: 44px; padding: 10px 13px; font-size: 12px; }
  .floating-tools { top: 12px; right: 10px; }
  .distance-guide { display: none; }
  .records-hero, .buildings-hero, .community-hero, .full-leaderboard-hero { padding-top: 24px; }
  .records-content, .buildings-content { padding-top: 18px; }
}

@media (max-width: 520px) {
  .brand { padding-right: 7px; }
  .brand-title { font-size: 16px; }
  .service-menu-toggle { max-width: 138px; padding-right: 8px; padding-left: 8px; }
  .service-menu { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-menu-item { height: 68px; }
  .service-menu-item small { font-size: 10.5px; }
  .records-hero, .buildings-hero, .community-hero { padding: 22px 16px 20px; }
  .records-hero h2, .buildings-hero h2, .community-hero h2 { font-size: 28px; }
  .records-hero-copy p, .buildings-hero p, .community-hero p { font-size: 13px; }
  .record-search-form { grid-template-columns: 1fr; }
  .record-search-form button { grid-column: auto; width: 100%; }
  .record-search-form select, .record-search-form input, .record-search-form button { height: 52px; font-size: 14px; }
  .record-preview-grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; }
  .record-preview-grid article { flex: 0 0 min(82vw,320px); scroll-snap-align: start; }
  .record-result-shell>div>p { font-size: 12px; }
  .record-profile-copy p, .record-result-meta b { font-size: 12px; }
  .record-tabs button { min-width: 76px; font-size: 12px; }
  .record-metric { padding: 15px 13px; }
  .record-metric>span, .mode-card-primary span, .ranked-primary span, .mode-stat-grid span, .ranked-stat-grid span { font-size: 11px; }
  .map-status { font-size: 10px; }
  .distance-guide small { font-size: 10px; }
}

.zone-frequency-panel { position:absolute; z-index:688; top:18px; left:18px; width:min(350px,calc(100% - 36px)); max-height:calc(100% - 36px); overflow:hidden; border:1px solid rgba(94,201,98,.34); border-radius:14px; color:#eef3eb; background:linear-gradient(150deg,rgba(11,17,15,.96),rgba(14,25,22,.94)); box-shadow:0 18px 46px rgba(0,0,0,.42); backdrop-filter:blur(14px); }
.zone-frequency-panel>header { display:flex; align-items:center; gap:9px; min-height:58px; padding:11px 12px; border-bottom:1px solid rgba(255,255,255,.08); }
.zone-frequency-drag-area { display:flex; min-width:0; flex:1; align-items:center; gap:9px; cursor:grab; user-select:none; touch-action:none; }
.zone-frequency-drag-area:active { cursor:grabbing; }
.zone-frequency-panel>header .panel-drag-grip { flex:0 0 20px; color:#5ec962; font-size:17px; }
.zone-frequency-drag-area>div { min-width:0; flex:1; }
.zone-frequency-panel>header span:not(.panel-drag-grip) { display:block; color:#5ec962; font:800 9px "Barlow Condensed"; letter-spacing:.18em; }
.zone-frequency-panel h3 { margin:3px 0 0; font:800 19px/1.15 "Barlow Condensed","Noto Sans KR"; white-space:nowrap; }
.zone-frequency-panel>header button { flex:0 0 32px; width:32px; height:32px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#dce8df; background:rgba(255,255,255,.055); cursor:pointer; font-size:20px; }
.zone-frequency-panel>header button:focus-visible,.zone-frequency-panel button:focus-visible,.zone-frequency-panel input:focus-visible { outline:2px solid #5ec962; outline-offset:2px; }
.zone-frequency-body { display:grid; gap:11px; max-height:calc(100vh - 150px); box-sizing:border-box; padding:12px; overflow:auto; scrollbar-color:#3f5748 transparent; }
.zone-frequency-body[hidden] { display:none!important; }
.zone-frequency-description { margin:0; color:#aab8ae; font-size:10px; line-height:1.55; }
.zone-frequency-description strong { color:#f2f7f2; }
.zone-frequency-toggle { width:100%; padding:10px 12px; border:1px solid rgba(94,201,98,.48); border-radius:7px; color:#0d1711; background:#5ec962; cursor:pointer; font-size:11px; font-weight:900; }
.zone-frequency-toggle[aria-pressed="true"] { color:#bff5c8; background:rgba(94,201,98,.1); }
.zone-frequency-phase-field { min-width:0; margin:0; padding:0; border:0; }
.zone-frequency-phase-field legend,.zone-frequency-opacity>span { margin-bottom:7px; color:#aebbb1; font-size:10px; font-weight:800; }
.zone-frequency-phase-field>div { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
.zone-frequency-phase-field button { min-width:0; height:34px; padding:0; border:1px solid rgba(255,255,255,.11); border-radius:7px; color:#aab5ad; background:rgba(255,255,255,.035); cursor:pointer; font:800 12px "Barlow Condensed"; }
.zone-frequency-phase-field button.active { border-color:#5ec962; color:#07110a; background:#5ec962; box-shadow:0 0 0 2px rgba(94,201,98,.1); }
.zone-frequency-opacity { display:grid; gap:2px; }
.zone-frequency-view { display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:9px; color:#aebbb1; font-size:10px; font-weight:800; }
.zone-frequency-view[hidden] { display:none!important; }
.zone-frequency-view select { min-width:0; height:34px; padding:0 28px 0 9px; border:1px solid rgba(255,255,255,.11); border-radius:7px; color:#dce8df; background:#151a16; font:700 11px "Noto Sans KR",sans-serif; }
.zone-frequency-opacity>span { display:flex; align-items:center; justify-content:space-between; margin:0; }
.zone-frequency-opacity output { color:#dce8df; font:800 12px "Barlow Condensed"; }
.zone-frequency-opacity input { width:100%; accent-color:#5ec962; cursor:pointer; }
.zone-frequency-summary { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.zone-frequency-summary span { min-width:0; padding:8px 5px; border:1px solid rgba(255,255,255,.075); border-radius:8px; color:#8f9e94; background:rgba(0,0,0,.18); text-align:center; font-size:8px; line-height:1.35; }
.zone-frequency-summary b { display:block; overflow:hidden; color:#f2f7f2; font:800 16px/1.1 "Barlow Condensed","Noto Sans KR"; text-overflow:ellipsis; white-space:nowrap; }
.zone-frequency-legend { display:grid; grid-template-columns:auto minmax(90px,1fr) auto; align-items:center; gap:7px; color:#8f9c93; font-size:9px; }
.zone-frequency-legend i { height:9px; border:1px solid rgba(255,255,255,.12); border-radius:999px; background:linear-gradient(90deg,#367de0,#2fa7d6,#f2d448,#f28e2b,#ef3e3e); box-shadow:0 3px 12px rgba(0,0,0,.26); }
.zone-frequency-status { margin:0; padding:9px 10px; border-left:3px solid #5ec962; color:#c9d4cd; background:rgba(94,201,98,.075); font-size:9px; line-height:1.5; }
.zone-frequency-status[data-kind="loading"] { border-color:#3b82b8; background:rgba(59,130,184,.08); }
.zone-frequency-status[data-kind="empty"] { border-color:#e1a742; background:rgba(225,167,66,.08); }
.zone-frequency-status[data-kind="error"] { border-color:#ec6a5b; color:#ffc0b9; background:rgba(236,106,91,.08); }
.zone-frequency-method,.zone-frequency-source { display:block; color:#7f8c83; font-size:8px; line-height:1.5; }
.zone-frequency-source { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:8px; padding:8px; border:1px solid rgba(240,189,105,.24); border-radius:7px; color:#f3d7a3; background:rgba(240,189,105,.07); font-weight:700; }
.zone-frequency-source::before { content:"PUBGNOTE DATA"; padding:4px 5px; border-radius:4px; color:#151008; background:#f0bd69; font:900 8px "Barlow Condensed"; letter-spacing:.08em; white-space:nowrap; }
.zone-frequency-panel.is-collapsed { width:min(290px,calc(100% - 36px)); }
.zone-frequency-panel.is-collapsed>header { border-bottom:0; }
.zone-frequency-raster { image-rendering:auto; }
.zone-frequency-probe { position:absolute; z-index:687; width:170px; padding:8px 9px; border:1px solid rgba(255,255,255,.18); border-radius:8px; color:#dfe9e2; background:rgba(8,14,11,.92); box-shadow:0 8px 20px rgba(0,0,0,.35); pointer-events:none; }
.zone-frequency-probe[hidden] { display:none!important; }
.zone-frequency-probe strong,.zone-frequency-probe span { display:block; }
.zone-frequency-probe strong { color:#f7ed67; font-size:10px; }
.zone-frequency-probe span { margin-top:3px; color:#9cab9f; font-size:8px; line-height:1.35; }
body.zone-frequency-active .map-shade { box-shadow:inset 0 0 84px rgba(0,0,0,.32); }

.zone-insight-panel { width:100%; box-sizing:border-box; padding:11px; overflow:visible; border:1px solid rgba(94,201,98,.22); border-radius:10px; color:#eef3eb; background:rgba(0,0,0,.18); box-shadow:inset 0 1px 0 rgba(255,255,255,.025); }
.zone-insight-panel[hidden] { display:none!important; }
.zone-insight-panel header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; padding-bottom:9px; border-bottom:1px solid rgba(255,255,255,.07); }
.zone-insight-panel header small { display:block; margin-bottom:3px; color:#5ec962; font:800 9px "Barlow Condensed"; letter-spacing:.16em; }
.zone-insight-panel h2 { margin:0; color:#f2f7f2; font:800 17px/1.25 "Barlow Condensed","Noto Sans KR"; }
.zone-insight-panel header button { flex:0 0 30px; width:30px; height:30px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#dce8df; background:rgba(255,255,255,.055); font-size:19px; line-height:1; cursor:pointer; }
.zone-insight-panel header button:hover { background:rgba(255,255,255,.1); }
.zone-insight-panel>p { margin:10px 0 0; padding:10px 11px; border-left:3px solid #5ec962; border-radius:7px; color:#c9d4cd; background:rgba(94,201,98,.075); font-size:10px; line-height:1.55; }
.zone-insight-panel>p[data-kind="ready"] { color:#dce8df; background:rgba(94,201,98,.1); }
.zone-insight-panel>p[data-kind="insufficient"],.zone-insight-panel>p[data-kind="collecting"] { color:#f2d59b; background:rgba(255,180,74,.1); }
.zone-insight-panel>p[data-kind="error"] { color:#ffb2b2; background:rgba(255,80,80,.1); }
.zone-insight-sample { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:10px; padding:9px 11px; border:1px solid rgba(201,255,40,.2); border-radius:10px; color:#b8c5cd; background:rgba(201,255,40,.065); font-size:11px; }
.zone-insight-sample span { min-width:0; line-height:1.35; }
.zone-insight-sample strong { flex:0 0 auto; color: var(--theme-accent-foreground); font-size:16px; line-height:1; white-space:nowrap; }
.zone-insight-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; margin-top:10px; }
.zone-insight-summary[hidden] { display:none; }
.zone-insight-summary span { min-width:0; padding:9px 7px; border:1px solid rgba(255,255,255,.08); border-radius:8px; text-align:center; background:rgba(0,0,0,.18); color:#aebdc7; font-size:10px; }
.zone-insight-summary b { display:block; color:#fff; font-size:17px; line-height:1.1; }
.zone-insight-cells { display:grid; gap:6px; margin:10px 0 0; padding:0; list-style:none; }
.zone-insight-cells li { display:grid; grid-template-columns:22px 1fr auto; align-items:center; gap:7px; min-width:0; padding:8px 9px; border-radius:9px; background:rgba(255,255,255,.045); font-size:11px; }
.zone-insight-cells li>b { display:grid; place-items:center; width:20px; height:20px; border-radius:7px; color:#17120a; background:#ffb44a; }
.zone-insight-cells li span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#d5dfe5; }
.zone-insight-cells li strong { color:#ffca78; font-size:13px; }
.zone-insight-cells li small { grid-column:2/4; color:#8799a5; }
.zone-insight-cells .is-empty { display:block; color:#9eacb5; }
.zone-insight-panel footer { margin-top:11px; padding-top:10px; border-top:1px solid rgba(255,255,255,.08); color:#778994; font-size:10px; line-height:1.45; }
.zone-insight-cell-label { pointer-events:none!important; }
.zone-insight-cell-label span { display:block; transform:translate(-50%,-50%); padding:3px 6px; border:1px solid rgba(255,255,255,.78); border-radius:8px; color:#17120a; background:#ffbc57; box-shadow:0 2px 8px rgba(0,0,0,.38); font-size:11px; font-weight:900; white-space:nowrap; }
.zone-insight-cell-label.is-outside span { color:#dce4e8; border-color:rgba(255,255,255,.3); background:rgba(70,78,84,.8); }
.zone-insight-cell-label.is-placement span { color:#101418; border-color:rgba(255,255,255,.82); background:var(--zone-cell-color,#ffd84d); }
.zone-placement-legend { display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin-bottom:7px; color:#b7c5cd; }
.zone-placement-legend i { display:inline-block; width:12px; height:12px; border-radius:4px; }
.zone-placement-legend .is-best { background:#ef3e3e; }
.zone-placement-legend .is-mid { background:#f2d448; }
.zone-placement-legend .is-low { background:#367de0; }
@media (max-width:900px) { .zone-insight-panel { display:none!important; } }

.zone-analysis-panel-shell { box-sizing:border-box; overflow:hidden; border:1px solid rgba(94,201,98,.34); border-radius:14px; color:#eef3eb; background:linear-gradient(150deg,rgba(11,17,15,.96),rgba(14,25,22,.94)); box-shadow:0 18px 46px rgba(0,0,0,.42); backdrop-filter:blur(14px); }
.zone-analysis-map-panel { position:absolute; z-index:690; top:210px; right:18px; left:auto; width:min(310px,calc(100% - 36px)); max-height:calc(100% - 36px); margin:0; }
.zone-analysis-panel-shell>header { display:flex; align-items:center; gap:9px; min-height:58px; padding:11px 12px; border-bottom:1px solid rgba(255,255,255,.08); }
.zone-analysis-drag-area { display:flex; min-width:0; flex:1; align-items:center; gap:9px; cursor:grab; user-select:none; touch-action:none; }
.zone-analysis-drag-area:active { cursor:grabbing; }
.zone-analysis-panel-shell>header .panel-drag-grip { flex:0 0 20px; color:#5ec962; font-size:17px; }
.zone-analysis-drag-area>div { min-width:0; flex:1; }
.zone-analysis-panel-shell>header span:not(.panel-drag-grip) { display:block; color:#5ec962; font:800 9px "Barlow Condensed"; letter-spacing:.18em; }
.zone-analysis-panel-shell h3 { margin:3px 0 0; font:800 19px/1.15 "Barlow Condensed","Noto Sans KR"; white-space:nowrap; }
.zone-analysis-panel-collapse { flex:0 0 32px; width:32px; height:32px; border:1px solid rgba(255,255,255,.12); border-radius:8px; color:#dce8df; background:rgba(255,255,255,.055); cursor:pointer; font-size:20px; line-height:1; }
.zone-analysis-panel-collapse:hover { background:rgba(255,255,255,.1); }
.zone-analysis-panel-collapse:focus-visible,.zone-analysis-panel-shell button:focus-visible,.zone-analysis-panel-shell select:focus-visible { outline:2px solid #5ec962; outline-offset:2px; }
.zone-analysis-panel-body { display:grid; gap:11px; max-height:calc(100vh - 150px); box-sizing:border-box; padding:12px; overflow:auto; scrollbar-color:#3f5748 transparent; }
.zone-analysis-panel-body[hidden] { display:none!important; }
.zone-analysis-panel-shell.is-collapsed { width:min(290px,calc(100% - 36px)); }
.zone-analysis-panel-shell.is-collapsed>header { border-bottom:0; }
.zone-analysis-controls[hidden],
.zone-analysis-hint[hidden],
.distance-guide[hidden],
.zone-analysis-quick-launch[hidden] { display:none!important; }
.zone-analysis-controls header p,
.zone-analysis-size-card,
.zone-analysis-clear,
.zone-analysis-legend,
.zone-analysis-status,
.zone-analysis-access-note { display:none!important; }
.zone-analysis-phase-field { display:grid; gap:7px; margin-top:16px; color:#aeb5a9; font-size:11px; font-weight:700; }
.zone-analysis-phase-field select { width:100%; height:43px; padding:0 12px; border:1px solid rgba(215,242,59,.28); border-radius:6px; outline:0; color:#f2f5ed; background:#10140e; cursor:pointer; }
.zone-analysis-phase-field select:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(215,242,59,.1); }
.zone-analysis-size-card { display:grid; gap:4px; margin-top:10px; padding:12px; border:1px solid rgba(255,255,255,.08); border-radius:7px; background:rgba(0,0,0,.2); }
.zone-analysis-size-card>span { color:#747d70; font-size:9px; font-weight:800; letter-spacing:.08em; }
.zone-analysis-size-card>strong { color:#f2f5ed; font:800 16px "Barlow Condensed","Noto Sans KR"; }
.zone-analysis-size-card>small { color:#7f887b; font-size:9px; line-height:1.5; }
.zone-analysis-toggle { width:100%; margin-top:0; padding:11px 12px; border:1px solid rgba(215,242,59,.42); border-radius:6px; color:var(--brand-lime-text); background:var(--accent); cursor:pointer; font-size:11px; font-weight:800; }
.zone-analysis-toggle[aria-pressed="true"] { color: var(--theme-accent-foreground); background:#191d17; }
.zone-analysis-clear { width:100%; margin-top:10px; padding:10px 12px; border:1px solid rgba(255,255,255,.12); border-radius:6px; color:#dce1d8; background:#191d17; cursor:pointer; font-size:11px; font-weight:700; }
.zone-analysis-clear:hover:not(:disabled) { border-color:rgba(215,242,59,.4); color: var(--theme-accent-foreground); }
.zone-analysis-clear:disabled { opacity:.42; cursor:not-allowed; }
.zone-analysis-legend { display:grid; gap:6px; margin-top:14px; }
.zone-analysis-legend span { display:flex; align-items:center; gap:8px; color:#9ca499; font-size:10px; }
.zone-analysis-legend i { width:26px; height:7px; border-radius:999px; box-shadow:0 0 0 1px rgba(255,255,255,.08); }
.zone-analysis-legend .is-low { background:#2d6fb4; }.zone-analysis-legend .is-neutral { background:#d6c778; }.zone-analysis-legend .is-high { background:#ef5a3c; }
.zone-analysis-status { margin:13px 0 0; padding:10px 11px; border-left:3px solid var(--accent); color:#cbd2c7; background:rgba(215,242,59,.055); font-size:10px; line-height:1.55; }
.zone-analysis-access-note { margin-top:12px; padding-top:12px; border-top:1px solid rgba(255,255,255,.08); }
.zone-analysis-access-note b { color:#ffbd55; font:800 9px "Barlow Condensed"; letter-spacing:.14em; }
.zone-analysis-access-note p { margin:5px 0 0; color:#7f887b; font-size:9px; line-height:1.55; }
.zone-analysis-hint { position:absolute; z-index:680; top:18px; left:50%; display:grid; grid-template-columns:32px auto; grid-template-rows:auto auto; column-gap:10px; min-width:340px; padding:11px 15px; transform:translateX(-50%); border:1px solid rgba(215,242,59,.35); border-radius:10px; background:rgba(11,15,10,.92); box-shadow:0 12px 34px rgba(0,0,0,.35); pointer-events:none; backdrop-filter:blur(10px); }
.zone-analysis-hint>span { grid-row:1/3; display:grid; place-items:center; color: var(--theme-accent-foreground); font-size:26px; }
.zone-analysis-hint strong { font-size:12px; }
.zone-analysis-hint small { margin-top:2px; color:#929a8d; font-size:9px; }
.zone-analysis-quick-launch { position:absolute; z-index:689; top:154px; right:18px; width:min(310px,calc(100% - 36px)); max-height:calc(100% - 36px); }
.zone-analysis-quick-toggle { width:100%; margin-top:0; padding:10px 11px; border:1px solid rgba(215,242,59,.42); border-radius:6px; color:var(--brand-lime-text); background:var(--accent); cursor:pointer; font-size:11px; font-weight:800; }
.zone-analysis-quick-toggle[aria-pressed="true"] { color: var(--theme-accent-foreground); background:#191d17; }
.zone-analysis-quick-launch .zone-analysis-phase-field { margin-top:0; }
.zone-analysis-controls .zone-analysis-phase-field { margin-top:0; }
body.zone-analysis-active #map { cursor:crosshair; }
body.zone-analysis-active .map-shade { box-shadow:inset 0 0 100px rgba(0,0,0,.35); }
body.zone-analysis-active .zone-insight-panel header small { color: var(--theme-accent-foreground); }
body.zone-analysis-active .zone-insight-cells li>b { color:var(--brand-lime-text); background:var(--accent); }
body.zone-analysis-active .zone-insight-cell-label.is-win-rate span { color:#f5f8f0; border-color:rgba(255,255,255,.5); background:rgba(10,14,11,.86); }
body.zone-analysis-active .zone-insight-cell-label.is-outside { display:none; }

@media (min-width:901px) {
  body.sidebar-context-active:not(.sidebar-collapsed) .sidebar-collapse { display:grid; place-items:center; }
}
@media (max-width:900px) {
  .sidebar-collapse, .sidebar-expand { display:none!important; }
  .zone-frequency-panel { top:auto!important; right:auto!important; bottom:72px!important; left:50%!important; width:min(560px,calc(100vw - 20px))!important; max-width:calc(100vw - 20px)!important; min-width:0!important; box-sizing:border-box; transform:translateX(-50%)!important; border-radius:13px; }
  .zone-frequency-panel.is-collapsed { right:auto!important; bottom:72px!important; left:10px!important; width:min(250px,calc(100vw - 20px))!important; transform:none!important; }
  .zone-frequency-panel>header,.zone-frequency-body,.zone-frequency-body>* { min-width:0; }
  .zone-frequency-source { grid-template-columns:auto minmax(0,1fr); overflow-wrap:anywhere; }
  .zone-frequency-panel>header { min-height:50px; padding:8px 10px; }
  .zone-frequency-panel h3 { font-size:17px; }
  .zone-frequency-body { max-height:calc(46vh - 50px); padding:10px; }
  .zone-frequency-description,.zone-frequency-method { display:none; }
  .zone-frequency-summary span { padding:6px 4px; }
  .zone-frequency-probe { display:none!important; }
  .floating-tools { grid-template-rows:22px repeat(3,46px); }
}
@media (max-width:520px) {
  .zone-frequency-phase-field>div { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .zone-frequency-panel { max-height:52%; }
  .zone-frequency-body { max-height:calc(52vh - 50px); gap:8px; padding:8px; }
  .zone-frequency-toggle { min-height:36px; }
}
.service-menu-item .new-badge { color:var(--brand-lime-text); background:var(--accent); }

@media (max-width:900px) {
  .zone-analysis-hint { top:10px; min-width:0; width:calc(100% - 92px); max-width:360px; padding:9px 11px; }
  .zone-analysis-hint strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:11px; }
  .zone-analysis-hint small { display:none; }
  .zone-analysis-controls { margin-bottom:24px; }
}

@media (min-width:1800px) {
  .zone-analysis-controls { margin-left:20px; margin-right:20px; }
}

/* Curated PUBG Shorts */
.shorts-stage[hidden] { display: none; }
.shorts-stage { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #090c09; container-type: inline-size; }
.shorts-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 80% 0, rgba(215,242,59,.1), transparent 28%), linear-gradient(rgba(255,255,255,.012) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px); background-size: auto, 48px 48px, 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 66%); }
.shorts-scroll { position: relative; height: 100%; overflow-x: hidden; overflow-y: auto; scrollbar-color: #343a30 transparent; }
.shorts-hero { padding: 38px clamp(24px, 4vw, 64px) 32px; border-bottom: 1px solid var(--line); background: linear-gradient(105deg, rgba(9,12,8,.98), rgba(17,22,12,.84)); }
.shorts-hero-layout { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; width: min(1500px, 100%); margin: 0 auto; }
.shorts-kicker { color: var(--theme-accent-foreground); font: 700 12px "Barlow Condensed"; letter-spacing: .19em; }
.shorts-hero h2 { margin: 7px 0; color: #f3f5ef; font: 800 clamp(34px, 3vw, 44px)/1.05 "Barlow Condensed", "Noto Sans KR"; letter-spacing: -.03em; }
.shorts-hero p { max-width: 620px; margin: 0; color: #969e91; font-size: 14px; line-height: 1.65; }
.shorts-privacy-note { position: relative; display: grid; flex: 0 0 285px; min-height: 98px; align-content: center; padding: 15px 18px 15px 21px; overflow: hidden; border: 1px solid rgba(215,242,59,.23); border-left: 3px solid var(--accent); border-radius: 5px; background: rgba(17,22,14,.84); }
.shorts-privacy-note::after { content: "▶"; position: absolute; right: 14px; top: 5px; color: rgba(215,242,59,.06); font-size: 70px; }
.shorts-privacy-note span, .shorts-privacy-note strong, .shorts-privacy-note small { position: relative; z-index: 1; }
.shorts-privacy-note span { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .16em; }
.shorts-privacy-note strong { margin-top: 3px; color: #edf1e9; font-size: 16px; }
.shorts-privacy-note small { margin-top: 4px; color: #838b7f; font-size: 9px; line-height: 1.45; }
.shorts-content { width: min(1600px, 100%); margin: 0 auto; padding: 28px clamp(24px, 4vw, 64px) 72px; }
.shorts-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.shorts-section-head>div>span { color: var(--theme-accent-foreground); font: 700 11px "Barlow Condensed"; letter-spacing: .16em; }
.shorts-section-head h3 { margin: 5px 0 0; color: #edf0e9; font-size: 21px; }
.shorts-section-head>p { display: flex; align-items: baseline; gap: 5px; margin: 0; color: #7d8579; font: 700 12px "Barlow Condensed", "Noto Sans KR"; }
.shorts-section-head>p strong { color: var(--theme-accent-foreground); font-size: 22px; }
.shorts-status { margin: 0; padding: 24px; border: 1px dashed rgba(215,242,59,.2); border-radius: 5px; color: #a4ac9f; background: rgba(15,18,13,.65); text-align: center; font-size: 12px; }
.shorts-status[hidden] { display: none; }
.shorts-status.error { color: #ffad9f; border-color: rgba(255,125,105,.28); }
.shorts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: clamp(14px, 1.6vw, 24px); }
.shorts-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.11); border-radius: 7px; background: #121611; box-shadow: 0 16px 40px rgba(0,0,0,.2); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.shorts-card:hover { transform: translateY(-3px); border-color: rgba(215,242,59,.32); box-shadow: 0 20px 44px rgba(0,0,0,.3); }
.shorts-card.is-playing { border-color: rgba(215,242,59,.38); }
.shorts-player { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-bottom: 1px solid var(--line); background: #050705; }
.shorts-player iframe, .shorts-player-preview { display: block; width: 100%; height: 100%; border: 0; }
.shorts-player iframe { background: #000; }
.shorts-player-preview { position: relative; padding: 0; overflow: hidden; color: #fff; background: #060806; cursor: pointer; }
.shorts-player-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .28s ease, filter .28s ease; }
.shorts-player-preview:hover img, .shorts-player-preview:focus-visible img { transform: scale(1.025); filter: brightness(.82); }
.shorts-player-preview:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.shorts-player-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.78)); }
.shorts-play-mark { position: absolute; left: 50%; top: 50%; display: grid; width: 58px; height: 58px; place-items: center; padding-left: 4px; transform: translate(-50%,-50%); border: 1px solid rgba(255,255,255,.7); border-radius: 50%; color: var(--brand-lime-text); background: var(--accent); box-shadow: 0 10px 28px rgba(0,0,0,.38); font-size: 20px; }
.shorts-play-label { position: absolute; left: 14px; right: 14px; bottom: 14px; color: #f4f6f1; text-align: center; font-size: 11px; font-weight: 800; text-shadow: 0 2px 6px #000; }
.shorts-card-body { display: grid; min-height: 158px; align-content: start; padding: 16px 17px 17px; }
.shorts-card-eyebrow { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .14em; }
.shorts-card-body h4 { min-height: 2.9em; margin: 7px 0 8px; color: #eff2ec; font-size: 15px; line-height: 1.45; letter-spacing: -.01em; }
.shorts-channel { overflow: hidden; margin: 0; color: #858e81; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.shorts-external-link { justify-self: start; margin-top: 14px; padding: 7px 9px; border: 1px solid rgba(255,255,255,.11); border-radius: 4px; color: #cdd4c8; background: rgba(255,255,255,.025); text-decoration: none; font-size: 10px; font-weight: 700; }
.shorts-external-link:hover, .shorts-external-link:focus-visible { border-color: rgba(215,242,59,.42); color: var(--theme-accent-foreground); }

@media (max-width: 900px) {
  .shorts-hero-layout { align-items: stretch; flex-direction: column; gap: 20px; }
  .shorts-privacy-note { flex-basis: auto; width: 100%; min-height: 86px; }
  .shorts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .shorts-hero { padding: 22px 16px 20px; }
  .shorts-hero h2 { font-size: 31px; }
  .shorts-hero p { font-size: 12px; }
  .shorts-content { padding: 18px 14px 52px; }
  .shorts-section-head h3 { font-size: 18px; }
  .shorts-grid { grid-template-columns: minmax(0, 360px); justify-content: center; gap: 16px; }
  .shorts-card-body { min-height: 0; }
}

/* Focused Shorts explorer */
.shorts-explorer-panel { display: none; margin: 0 14px; }
body.shorts-active .shorts-explorer-panel { display: block; }
body.shorts-active .sidebar { padding: 18px 0; }
body.shorts-active .sidebar-head,
body.shorts-active .map-selector,
body.shorts-active .terrain-contributor-banner,
body.shorts-active .map-sidebar-controls { display: none; }
.shorts-explorer-panel>header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.shorts-explorer-panel>header span,
.shorts-mobile-explorer>header span { color: var(--theme-accent-foreground); font: 800 10px "Barlow Condensed"; letter-spacing: .15em; }
.shorts-explorer-panel h3,
.shorts-mobile-explorer h3 { margin: 4px 0 0; font-size: 18px; }
.shorts-explorer-panel>header>strong { flex: 0 0 auto; color: #929a8e; font-size: 11px; }
.shorts-explorer-panel>header>strong b { color: var(--theme-accent-foreground); font: 800 19px "Barlow Condensed"; }
.shorts-explorer-panel>p { margin: 11px 0; color: #8e978a; font-size: 11px; line-height: 1.5; }
.shorts-explorer-list,
.shorts-mobile-list { display: grid; gap: 7px; }
.shorts-explorer-item { display: grid; width: 100%; min-width: 0; grid-template-columns: 64px minmax(0,1fr); align-items: center; gap: 10px; padding: 7px; border: 1px solid rgba(255,255,255,.09); border-radius: 8px; background: #111611; color: #dce2d8; cursor: pointer; text-align: left; }
.shorts-explorer-item:hover,
.shorts-explorer-item.active { border-color: rgba(215,242,59,.4); background: rgba(215,242,59,.07); }
.shorts-explorer-item.active { box-shadow: inset 3px 0 0 var(--accent); }
.shorts-explorer-thumb { display: block; width: 64px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 5px; background: #050705; }
.shorts-explorer-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shorts-explorer-copy { display: grid; min-width: 0; gap: 4px; }
.shorts-explorer-copy small { color: var(--theme-accent-foreground); font: 800 9px "Barlow Condensed"; letter-spacing: .1em; }
.shorts-explorer-copy strong { display: -webkit-box; overflow: hidden; font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.shorts-explorer-copy>span { overflow: hidden; color: #838d80; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.shorts-explorer-privacy { display: block; margin-top: 11px; color: #737d70; font-size: 9px; line-height: 1.55; }
.shorts-focus-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; width: min(780px,100%); margin: 0 auto; padding: 30px 28px 18px; }
.shorts-focus-head>div>span { color: var(--theme-accent-foreground); font: 800 11px "Barlow Condensed"; letter-spacing: .17em; }
.shorts-focus-head h2 { margin: 5px 0 4px; font: 800 38px/1 "Barlow Condensed","Noto Sans KR"; }
.shorts-focus-head p { margin: 0; color: #90998c; font-size: 12px; }
.shorts-focus-head>strong { flex: 0 0 auto; color: #98a192; font-size: 11px; }
.shorts-focus-head>strong b { color: var(--theme-accent-foreground); font: 800 22px "Barlow Condensed"; }
.shorts-mobile-explorer { display: none; }
.shorts-focus-content { width: min(580px,calc(100% - 48px)); margin: 0 auto; padding-bottom: 70px; }
.shorts-focus-card { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #121711; box-shadow: 0 22px 60px rgba(0,0,0,.32); }
.shorts-main-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.shorts-main-meta>div { min-width: 0; }
.shorts-main-meta span { color: var(--theme-accent-foreground); font: 800 10px "Barlow Condensed"; letter-spacing: .13em; }
.shorts-main-meta h3 { margin: 5px 0 4px; font-size: 16px; line-height: 1.45; }
.shorts-main-meta p { margin: 0; color: #889184; font-size: 11px; }
.shorts-main-meta>a { flex: 0 0 auto; padding: 8px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; color: #d9e0d4; text-decoration: none; font-size: 10px; font-weight: 700; }
.shorts-main-meta>a:hover { border-color: rgba(215,242,59,.42); color: var(--theme-accent-foreground); }
.shorts-main-player { width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #050705; }
.shorts-main-player iframe,
.shorts-main-player .shorts-player-preview { display: block; width: 100%; height: 100%; border: 0; }
.shorts-focus-card>footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: #7f897b; font-size: 9px; }
.shorts-focus-card>footer b { color: var(--theme-accent-foreground); }

@media (min-width: 1800px) {
  .shorts-focus-head { width: min(900px,100%); }
  .shorts-focus-content { width: min(680px,calc(100% - 64px)); }
}

@media (max-width: 900px) {
  body.shorts-active .sidebar { display: none; }
  .shorts-focus-head { width: min(620px,100%); padding: 24px 20px 15px; }
  .shorts-mobile-explorer { display: block; width: min(620px,calc(100% - 40px)); margin: 0 auto 16px; padding: 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; background: rgba(17,22,17,.92); }
  .shorts-mobile-explorer>header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 10px; }
  .shorts-mobile-explorer>header small { color: #899284; font-size: 10px; }
  .shorts-mobile-list { display: flex; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .shorts-mobile-list .shorts-explorer-item { flex: 0 0 min(270px,78vw); scroll-snap-align: start; }
  .shorts-focus-content { width: min(520px,calc(100% - 40px)); }
}

@media (max-width: 560px) {
  .shorts-focus-head { align-items: flex-start; padding: 20px 14px 14px; }
  .shorts-focus-head h2 { font-size: 32px; }
  .shorts-focus-head p { font-size: 11px; }
  .shorts-focus-head>strong { margin-top: 3px; }
  .shorts-mobile-explorer { width: calc(100% - 28px); padding: 11px; }
  .shorts-focus-content { width: min(360px,calc(100% - 28px)); padding-bottom: 48px; }
  .shorts-main-meta { align-items: flex-start; flex-direction: column; padding: 13px 14px; }
  .shorts-main-meta>a { width: 100%; text-align: center; }
  .shorts-main-player { aspect-ratio: 9 / 16; }
  .shorts-focus-card>footer { align-items: flex-start; flex-direction: column; }
}

/* Vertical Shorts feed controls */
.shorts-feed-shell { display: grid; min-height: 100%; place-items: center; padding: 22px 24px 34px; outline: 0; }
.shorts-feed-shell:focus-visible .shorts-focus-card { border-color: rgba(215,242,59,.4); }
.shorts-feed-shell .shorts-focus-card { width: min(620px,max(390px,calc((100dvh - var(--header-h) - 112px) * .5625))); max-width: calc(100% - 12px); border-radius: 13px; }
.shorts-player-frame { position: relative; }
.shorts-feed-shell .shorts-main-player { width: 100%; aspect-ratio: 9 / 16; border: 0; }
.shorts-wheel-zone { position: absolute; z-index: 4; top: 0; bottom: 0; width: 13%; cursor: ns-resize; }
.shorts-wheel-zone.is-left { left: 0; }
.shorts-wheel-zone.is-right { right: 0; }
.shorts-feed-navigation { position: absolute; z-index: 6; top: 50%; right: 12px; display: grid; gap: 9px; place-items: center; transform: translateY(-50%); }
.shorts-feed-navigation button { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #eaf0e6; background: rgba(18,24,18,.94); box-shadow: 0 10px 25px rgba(0,0,0,.3); cursor: pointer; font-size: 22px; }
.shorts-feed-navigation button:hover:not(:disabled),.shorts-feed-navigation button:focus-visible { border-color: rgba(215,242,59,.52); color: var(--brand-lime-text); background: var(--accent); }
.shorts-feed-navigation button:disabled { opacity: .28; cursor: default; }
.shorts-feed-navigation>span { display: flex; align-items: baseline; gap: 3px; color: #788174; font: 700 10px "Barlow Condensed"; }
.shorts-feed-navigation b { color: var(--theme-accent-foreground); font-size: 17px; }
.shorts-feed-navigation i,.shorts-feed-navigation em { font-style: normal; }
.shorts-feed-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 13px 15px 14px; border-top: 1px solid var(--line); }
.shorts-feed-meta>div { min-width: 0; }
.shorts-feed-meta>div:first-child { flex: 1; }
.shorts-feed-meta span { color: var(--theme-accent-foreground); font: 800 9px "Barlow Condensed"; letter-spacing: .12em; }
.shorts-feed-meta h3 { overflow: hidden; margin: 4px 0 3px; color: #edf2ea; font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.shorts-feed-meta p { overflow: hidden; margin: 0; color: #858f82; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.shorts-feed-meta>div:last-child { display: grid; flex: 0 0 auto; justify-items: end; gap: 7px; }
.shorts-feed-meta small { color: #7b8578; font-size: 8px; }
.shorts-feed-meta a { padding: 7px 9px; border: 1px solid rgba(255,255,255,.13); border-radius: 6px; color: #d9e0d4; text-decoration: none; font-size: 9px; font-weight: 700; }
.shorts-feed-meta a:hover,.shorts-feed-meta a:focus-visible { border-color: rgba(215,242,59,.42); color: var(--theme-accent-foreground); }

@media (max-width: 900px) {
  .shorts-mobile-explorer { width: min(620px,calc(100% - 24px)); margin: 10px auto 0; padding: 8px; }
  .shorts-mobile-explorer>header { display: none; }
  .shorts-mobile-list .shorts-explorer-item { flex-basis: min(220px,68vw); grid-template-columns: 46px minmax(0,1fr); min-height: 86px; }
  .shorts-mobile-list .shorts-explorer-thumb { width: 46px; }
  .shorts-feed-shell { min-height: 0; padding: 10px 12px 28px; }
  .shorts-feed-shell .shorts-focus-card { width: min(460px,100%); max-width: 100%; }
  .shorts-feed-navigation { right: 8px; gap: 7px; }
  .shorts-feed-navigation button { width: 38px; height: 38px; font-size: 18px; }
  .shorts-feed-meta { align-items: flex-start; flex-direction: column; gap: 9px; }
  .shorts-feed-meta>div:last-child { width: 100%; grid-template-columns: minmax(0,1fr) auto; align-items: center; justify-items: start; }
}

@media (max-width: 560px) {
  .shorts-mobile-explorer { width: calc(100% - 16px); margin-top: 8px; }
  .shorts-mobile-list .shorts-explorer-item { flex-basis: min(190px,66vw); grid-template-columns: 42px minmax(0,1fr); min-height: 78px; }
  .shorts-mobile-list .shorts-explorer-thumb { width: 42px; }
  .shorts-feed-shell { padding: 8px 8px 22px; }
  .shorts-feed-shell .shorts-main-player { width: 100%; aspect-ratio: 9 / 16; }
  .shorts-feed-navigation { right: 7px; }
  .shorts-feed-navigation button { width: 34px; height: 34px; font-size: 16px; }
  .shorts-feed-navigation>span { font-size: 9px; }
  .shorts-feed-navigation b { font-size: 14px; }
  .shorts-feed-meta { padding: 11px 12px 12px; }
  .shorts-feed-meta h3 { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
}

@media (max-width: 430px) {
  /* Keep the PN identity, service switch, theme switch and login all inside the narrow topbar. */
  .topbar .brand { padding-right: 4px; padding-left: 9px; }
  .topbar .brand-title { display: none; }
}

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

/* 모바일에서는 지도 위 자기장 분석 UI와 결과 패널을 제공하지 않는다. */
@media (max-width: 900px) {
  .zone-analysis-controls,
  .zone-analysis-hint,
  .zone-analysis-quick-launch,
  .zone-insight-panel {
    display: none !important;
  }
}

.activity-report-modal[hidden] { display: none; }
.activity-report-modal { position: fixed; z-index: 5200; inset: 0; display: grid; place-items: center; padding: 20px; overflow: auto; }
.activity-report-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,5,3,.82); cursor: default; }
.activity-report-dialog { position: relative; z-index: 1; width: min(640px, calc(100vw - 32px)); max-height: min(820px, calc(100dvh - 32px)); overflow-y: auto; padding: 30px; border: 1px solid rgba(215,242,59,.25); border-radius: 8px; background: #111510; box-shadow: 0 24px 80px rgba(0,0,0,.6); }
.activity-report-dialog header { padding-right: 44px; }
.activity-report-dialog header>span { color: var(--theme-accent-foreground); font: 700 10px "Barlow Condensed"; letter-spacing: .14em; }
.activity-report-dialog h2 { margin: 7px 0 9px; font: 800 28px/1.2 "Barlow Condensed", "Noto Sans KR"; }
.activity-report-dialog header p { margin: 0; color: #aab2a5; font-size: 13px; line-height: 1.7; }
.activity-report-close { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border: 0; background: transparent; color: #b9c0b5; cursor: pointer; font-size: 34px; line-height: 1; }
.activity-report-form { display: grid; gap: 16px; margin-top: 24px; }
.activity-report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.activity-report-dialog label { display: block; min-width: 0; color: #c2c9bd; font-size: 12px; font-weight: 700; line-height: 1.4; }
.activity-report-dialog label small { display: block; margin-top: 5px; color: #7f897c; font-size: 10px; font-weight: 400; line-height: 1.5; }
.activity-report-dialog input,
.activity-report-dialog select,
.activity-report-dialog textarea { box-sizing: border-box; display: block; width: 100%; margin-top: 7px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; outline: 0; background: #0b0e0a; color: #edf1e8; font: 13px/1.5 "Noto Sans KR", sans-serif; }
.activity-report-dialog input,
.activity-report-dialog select { min-height: 44px; padding: 9px 11px; }
.activity-report-dialog textarea { min-height: 112px; padding: 10px 11px; resize: vertical; }
.activity-report-dialog input:focus,
.activity-report-dialog select:focus,
.activity-report-dialog textarea:focus { border-color: rgba(215,242,59,.65); box-shadow: 0 0 0 2px rgba(215,242,59,.1); }
.activity-report-dialog input[readonly] { color: #9da79a; background: #151a13; }
.activity-report-privacy { margin: 0; padding: 11px 12px; border: 1px solid rgba(255,255,255,.08); border-radius: 4px; color: #858e81; font-size: 11px; line-height: 1.65; }
#activity-report-status { min-height: 20px; margin: 0; color: #aeb7a8; font-size: 12px; line-height: 1.5; }
#activity-report-status[data-kind="success"] { color: var(--theme-accent-foreground); }
#activity-report-status[data-kind="error"] { color: #ff9786; }
.activity-report-actions { display: flex; justify-content: flex-end; gap: 9px; }
.activity-report-actions button { min-height: 42px; padding: 0 17px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px; background: #1b2119; color: #cbd2c5; cursor: pointer; font-size: 13px; font-weight: 800; }
.activity-report-actions .community-primary { border-color: rgba(215,242,59,.55); background: var(--accent); color: var(--brand-lime-text); }
.activity-report-actions button:disabled { cursor: wait; opacity: .58; }
@media (max-width: 700px) {
  .activity-report-modal { place-items: start center; padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)); }
  .activity-report-dialog { width: 100%; max-height: calc(100dvh - 20px); padding: 23px 16px 18px; border-radius: 7px; }
  .activity-report-dialog h2 { font-size: 24px; }
  .activity-report-dialog header p { font-size: 12px; line-height: 1.65; }
  .activity-report-form { gap: 13px; margin-top: 20px; }
  .activity-report-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .activity-report-dialog input,
  .activity-report-dialog select { min-height: 46px; font-size: 14px; }
  .activity-report-dialog textarea { min-height: 120px; font-size: 14px; }
  .activity-report-actions { flex-direction: column-reverse; gap: 8px; }
  .activity-report-actions button { width: 100%; min-height: 46px; }
}

/* AdSense readiness: inactive placements stay absent until a verified publisher ID is deployed. */
.site-legal-links { display:flex; flex-wrap:wrap; gap:6px 10px; margin:4px 16px 14px; padding-top:12px; border-top:1px solid var(--line); }
.site-legal-links a { color:var(--muted); font-size:10px; line-height:1.5; text-decoration:underline; text-decoration-color:rgba(116,114,107,.45); text-underline-offset:3px; }
.site-legal-links a:hover { color:var(--text); text-decoration-color:currentColor; }
.site-legal-links a:focus-visible { border-radius:3px; outline:2px solid var(--accent); outline-offset:2px; }
.ad-placement[hidden] { display:none!important; }
.ad-placement { box-sizing:border-box; width:100%; border:1px solid var(--line); border-radius:8px; background:var(--panel); }
.ad-placement>span { display:block; padding:5px 8px 0; color:var(--muted); font:700 8px "Barlow Condensed",sans-serif; letter-spacing:.16em; text-align:center; }
.ad-placement-sidebar { min-height:250px; margin:0 16px 16px; }
.ad-placement-content { min-height:110px; margin:28px auto 0; }

@media (max-width:900px) {
  .site-legal-links { margin-bottom:14px; }
  .site-legal-links a { min-height:28px; display:inline-flex; align-items:center; font-size:11px; }
  .site-disclaimer { margin-bottom:max(16px,env(safe-area-inset-bottom)); }
  .ad-placement { display:none!important; }
}
