@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-soft: #f6f6f4;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --surface-2: #f5f5f2;
  --surface-3: #ecece8;
  --text: #101010;
  --text-strong: #050505;
  --muted: #70706b;
  --muted-2: #a0a09a;
  --line: #deded8;
  --line-strong: #c7c7c0;
  --shadow: 0 24px 70px rgba(13, 13, 13, 0.09);
  --shadow-small: 0 10px 30px rgba(13, 13, 13, 0.08);
  --accent: #111111;
  --accent-hover: #292929;
  --accent-soft: #eeeeeb;
  --accent-contrast: #ffffff;
  --accent-shadow: #8c8c86;
  --accent-glow: rgba(15, 15, 15, 0.14);
  --brand-logo-bg: #111111;
  --brand-logo-grad-start: #2b2b2b;
  --brand-logo-grad-end: #050505;
  --brand-logo-fg: #ffffff;
  --brand-word-accent: #111111;
  --danger: #d84747;
  --success: #2d9f62;
  --radius-xs: 9px;
  --radius-sm: 13px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070707;
  --bg-soft: #0d0d0d;
  --surface: rgba(15, 15, 15, 0.9);
  --surface-solid: #101010;
  --surface-2: #171717;
  --surface-3: #202020;
  --text: #efefed;
  --text-strong: #ffffff;
  --muted: #9b9b95;
  --muted-2: #676762;
  --line: #292927;
  --line-strong: #3a3a37;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
  --shadow-small: 0 12px 36px rgba(0, 0, 0, 0.42);
  --accent: #f4f4f0;
  --accent-hover: #ffffff;
  --accent-soft: #242422;
  --accent-contrast: #090909;
  --accent-shadow: #71716b;
  --accent-glow: rgba(255, 255, 255, 0.13);
  --brand-logo-bg: #f4f4f0;
  --brand-logo-grad-start: #ffffff;
  --brand-logo-grad-end: #c7c7c1;
  --brand-logo-fg: #090909;
  --brand-word-accent: #f4f4f0;
  --danger: #ff7777;
  --success: #64d598;
}

:root[data-accent="lime"] {
  --accent: #b8f63f;
  --accent-hover: #cbff62;
  --accent-soft: #efffd0;
  --accent-contrast: #101500;
  --accent-shadow: #73971e;
  --accent-glow: rgba(184, 246, 63, 0.29);
}

:root[data-theme="dark"][data-accent="lime"] { --accent-soft: #1e2810; }

:root[data-accent="sky"] {
  --accent: #71d4ff;
  --accent-hover: #94e0ff;
  --accent-soft: #dbf5ff;
  --accent-contrast: #06151d;
  --accent-shadow: #2c8fb9;
  --accent-glow: rgba(113, 212, 255, 0.28);
}

:root[data-theme="dark"][data-accent="sky"] { --accent-soft: #102630; }

:root[data-accent="violet"] {
  --accent: #ad8cff;
  --accent-hover: #c0a6ff;
  --accent-soft: #ede6ff;
  --accent-contrast: #160b2e;
  --accent-shadow: #6a4daf;
  --accent-glow: rgba(173, 140, 255, 0.29);
}

:root[data-theme="dark"][data-accent="violet"] { --accent-soft: #251b3d; }

:root[data-accent="coral"] {
  --accent: #ff9b7b;
  --accent-hover: #ffb097;
  --accent-soft: #ffe8df;
  --accent-contrast: #2b0b02;
  --accent-shadow: #bd6044;
  --accent-glow: rgba(255, 155, 123, 0.29);
}

:root[data-theme="dark"][data-accent="coral"] { --accent-soft: #352018; }

:root[data-accent]:not([data-accent="mono"]) {
  --brand-logo-bg: var(--accent);
  --brand-logo-grad-start: color-mix(in srgb, var(--accent) 90%, #ffffff 10%);
  --brand-logo-grad-end: color-mix(in srgb, var(--accent) 72%, #000000 28%);
  --brand-logo-fg: #ffffff;
  --brand-word-accent: var(--accent);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Baloo 2", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-contrast); }

button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid var(--accent-glow);
  outline-offset: 3px;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg);
  background-size: 64px 64px;
  background-position: center top;
  position: relative;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0, transparent 180px, transparent 75%, var(--bg) 100%);
  z-index: 0;
}

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; position: relative; z-index: 2; }
.ambient { position: absolute; border-radius: 999px; filter: blur(90px); pointer-events: none; opacity: .22; z-index: 0; }
.ambient-a { width: 460px; height: 460px; top: 70px; left: -260px; background: var(--accent); }
.ambient-b { width: 390px; height: 390px; top: 380px; right: -240px; background: var(--accent); opacity: .16; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.5);
}

.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-logo-button { width: 38px; height: 38px; flex: 0 0 38px; padding: 0; border: 0; border-radius: 12px; background: transparent; display: grid; place-items: center; cursor: default; transition: filter .18s ease; }
.brand-logo-button:hover { filter: brightness(1.02); }
.brand-logo-button:active { transform: none; }
.brand-home-link { min-width: 0; }
.brand-mark { width: 38px; height: 38px; flex: 0 0 auto; filter: drop-shadow(0 6px 13px color-mix(in srgb, var(--brand-logo-grad-end) 28%, transparent)); }
.brand-mark.small { width: 34px; height: 34px; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; gap: 4px; }
.brand-copy strong { color: var(--text-strong); font-size: 15px; letter-spacing: -.025em; white-space: nowrap; }
.brand-copy strong > span { color: inherit; }
.brand-copy strong > .brand-zon { color: var(--brand-word-accent); }
.brand-copy > span { color: var(--muted); font-size: 9px; letter-spacing: .22em; font-weight: 800; }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.status-pill { height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 650; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px color-mix(in srgb, var(--success) 15%, transparent); }
.nav-button { height: 40px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.nav-button:hover { border-color: var(--line-strong); background: var(--surface-solid); transform: translateY(-1px); }
.theme-button { width: 42px; padding: 0; }
.accent-trigger { padding: 0 11px; }
.accent-preview { width: 13px; height: 13px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--text) 12%, transparent); }
.accent-picker { position: relative; }
.accent-menu { position: absolute; right: 0; top: calc(100% + 10px); width: 190px; padding: 9px; background: var(--surface-solid); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-small); animation: menu-in .18s ease-out both; }
.accent-menu-label { padding: 7px 9px 9px; color: var(--muted); font-size: 9px; letter-spacing: .16em; font-weight: 850; }
.accent-menu button { width: 100%; border: 0; background: transparent; padding: 9px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 650; }
.accent-menu button svg { margin-left: auto; }
.accent-menu button:hover, .accent-menu button.active { background: var(--surface-2); }
.accent-swatch { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.accent-mono { background: linear-gradient(135deg, #111 50%, #f6f6f2 50%); }
.accent-lime { background: #b8f63f; }
.accent-sky { background: #71d4ff; }
.accent-violet { background: #ad8cff; }
.accent-coral { background: #ff9b7b; }

.hero { padding-top: 104px; padding-bottom: 58px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 24px rgba(0,0,0,.04); animation: hero-in .65s ease-out both; }
.hero h1 { margin: 26px auto 20px; max-width: 850px; color: var(--text-strong); font-size: clamp(54px, 8vw, 98px); line-height: .91; letter-spacing: -.075em; font-weight: 850; animation: hero-in .65s .08s ease-out both; }
.hero h1 span { color: var(--muted-2); }
.hero-copy { max-width: 690px; margin: 0 auto; color: var(--muted); font-size: clamp(15px, 2vw, 18px); line-height: 1.72; animation: hero-in .65s .15s ease-out both; }

.downloader-panel { max-width: 900px; margin: 46px auto 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); text-align: left; backdrop-filter: blur(18px); animation: hero-in .72s .23s ease-out both; }
.downloader-panel form { padding: 8px; }
.url-field { min-height: 58px; border: 1.5px solid var(--line-strong); border-radius: 17px; background: var(--surface-solid); display: grid; grid-template-columns: auto 1fr auto; align-items: center; transition: border-color .2s, box-shadow .2s, transform .2s; overflow: hidden; }
.url-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-glow); transform: translateY(-1px); }
.url-field.valid { border-color: color-mix(in srgb, var(--success) 65%, var(--line)); }
.url-field.invalid { border-color: var(--danger); }
.url-leading { width: 50px; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--muted); border-right: 1px solid var(--line); background: var(--surface-2); }
.url-field.valid .url-leading { color: var(--text-strong); }
.url-input-wrap { min-width: 0; overflow: hidden; display: flex; flex-direction: column; gap: 3px; padding: 0 14px; }
.url-input-wrap label { color: var(--muted); font-size: 8px; line-height: 1; font-weight: 800; letter-spacing: .15em; }
.url-input-wrap input { width: 100%; min-height: 24px; border: 0; outline: 0; background: transparent; color: var(--text-strong); font-size: 14px; font-weight: 600; text-overflow: ellipsis; }
.url-input-wrap input::placeholder { color: var(--muted-2); font-weight: 450; }
.url-actions { display: flex; align-items: center; gap: 7px; padding-right: 10px; flex: 0 0 auto; }
.field-icon-button, .paste-button { border: 0; border-radius: 10px; background: var(--surface-2); cursor: pointer; height: 34px; display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.field-icon-button { width: 34px; color: var(--muted); }
.paste-button { gap: 6px; padding: 0 12px; color: var(--text); font-size: 11px; font-weight: 750; }
.field-icon-button:hover, .paste-button:hover { background: var(--surface-3); transform: translateY(-1px); }
.paste-button:disabled { opacity: .5; cursor: not-allowed; }
.platform-svg { width: 20px; height: 20px; flex: 0 0 auto; --icon-cut: var(--surface-solid); }
.platform-svg.large { width: 35px; height: 35px; }
.detector-row { min-height: 42px; padding: 8px 2px 3px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--muted); font-size: 11px; }
.detected-platform { display: flex; align-items: center; min-width: 0; gap: 7px; }
.detected-platform strong { color: var(--text); }
.detected-platform span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detect-light { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--muted-2); }
.detect-light.on { background: var(--success); box-shadow: 0 0 0 4px color-mix(in srgb, var(--success) 13%, transparent); }

.youtube-progress-copy { display: inline-flex; align-items: baseline; min-width: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.youtube-progress-dots { display: inline-flex; width: 16px; margin-left: 2px; font-style: normal; overflow: visible; }
.youtube-progress-dots i { width: 4px; font-style: normal; opacity: .18; animation: datzon-progress-dot 1.05s infinite steps(1, end); }
.youtube-progress-dots i:nth-child(2) { animation-delay: .18s; }
.youtube-progress-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes datzon-progress-dot {
  0%, 18% { opacity: .18; transform: translateY(0); }
  19%, 62% { opacity: 1; transform: translateY(-1px); }
  63%, 100% { opacity: .18; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .youtube-progress-dots i { animation: none; opacity: 1; } }
.privacy-note { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

.primary-3d-button { width: 100%; min-height: 61px; border: 1px solid color-mix(in srgb, var(--accent) 88%, #000); border-radius: 15px; background: var(--accent); color: var(--accent-contrast); box-shadow: 0 7px 0 var(--accent-shadow), 0 14px 34px var(--accent-glow); display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 0 16px; cursor: pointer; font-size: 15px; font-weight: 850; letter-spacing: -.01em; transition: transform .13s, box-shadow .13s, filter .2s; }
.primary-3d-button:hover:not(:disabled) { filter: brightness(1.03); transform: translateY(-1px); box-shadow: 0 8px 0 var(--accent-shadow), 0 18px 42px var(--accent-glow); }
.primary-3d-button:active:not(:disabled) { transform: translateY(5px); box-shadow: 0 2px 0 var(--accent-shadow), 0 8px 18px var(--accent-glow); }
.primary-3d-button:disabled { opacity: .38; filter: grayscale(.25); cursor: not-allowed; box-shadow: 0 5px 0 var(--line-strong); }
.button-icon-wrap { display: flex; align-items: center; justify-content: flex-start; }
.button-key { justify-self: end; padding: 4px 6px; border: 1px solid color-mix(in srgb, var(--accent-contrast) 32%, transparent); border-radius: 6px; font-size: 8px; letter-spacing: .09em; opacity: .8; }
.spinner { width: 21px; height: 21px; border: 2px solid color-mix(in srgb, var(--accent-contrast) 35%, transparent); border-top-color: var(--accent-contrast); border-radius: 50%; animation: spin .75s linear infinite; }
.panel-footer { border-top: 1px solid var(--line); margin-top: 16px; padding: 14px 10px 2px; display: flex; align-items: center; justify-content: center; gap: 28px; color: var(--muted); font-size: 11px; font-weight: 650; }
.panel-footer div { display: flex; align-items: center; gap: 7px; }

.platform-strip { max-width: 980px; margin: 31px auto 0; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; animation: hero-in .65s .31s ease-out both; }
.platform-chip { height: 35px; display: flex; align-items: center; gap: 7px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent); color: var(--muted); font-size: 10px; font-weight: 720; }
.platform-chip .platform-svg { width: 15px; height: 15px; color: var(--text); }

.content-section { scroll-margin-top: 95px; padding: 28px 0 40px; }
.result-card { display: grid; grid-template-columns: minmax(310px, .9fr) minmax(0, 1.25fr); background: var(--surface-solid); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow); overflow: hidden; }
.result-enter { animation: result-in .48s cubic-bezier(.2,.8,.2,1) both; }
.preview-column { min-width: 0; background: var(--surface-2); border-right: 1px solid var(--line); padding: 22px; display: flex; align-items: center; justify-content: center; }
.video-preview { width: 100%; max-height: 580px; min-height: 280px; border-radius: 20px; background: #000; object-fit: contain; box-shadow: var(--shadow-small); }
.image-preview-wrap { width: 100%; min-height: 360px; display: flex; align-items: center; justify-content: center; background: var(--surface-3); border-radius: 20px; overflow: hidden; }
.image-preview { width: 100%; height: 100%; max-height: 580px; object-fit: contain; }
.empty-preview { position: relative; width: 100%; min-height: 360px; border: 1px dashed var(--line-strong); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: var(--muted); font-size: 12px; }
.empty-preview-icon { width: 82px; height: 82px; display: flex; align-items: center; justify-content: center; border-radius: 25px; background: var(--surface-solid); color: var(--text-strong); box-shadow: var(--shadow-small); position: relative; z-index: 2; }
.empty-preview-orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 190px; height: 190px; }
.orbit-two { width: 280px; height: 280px; }
.result-body { min-width: 0; padding: 30px; }
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.result-platform-badge { display: inline-flex; align-items: center; gap: 7px; height: 29px; padding: 0 10px; border-radius: 999px; background: var(--accent-soft); color: color-mix(in srgb, var(--text) 86%, var(--accent)); font-size: 10px; font-weight: 800; letter-spacing: .02em; }
.result-platform-badge .platform-svg { width: 15px; height: 15px; }
.result-heading h2 { margin: 13px 0 10px; color: var(--text-strong); font-size: clamp(23px, 3vw, 34px); line-height: 1.12; letter-spacing: -.045em; overflow-wrap: anywhere; }
.result-subline { display: flex; flex-wrap: wrap; gap: 7px 15px; color: var(--muted); font-size: 11px; }
.result-subline span { display: inline-flex; align-items: center; gap: 5px; }
.icon-button { width: 38px; height: 38px; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-solid); color: var(--muted); cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.icon-button:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-1px); }
.icon-button.subtle { border: 0; background: transparent; }
.result-description { margin: 20px 0 0; padding: 15px 17px; border-left: 3px solid var(--accent); background: var(--surface-2); border-radius: 0 12px 12px 0; color: var(--muted); font-size: 12px; line-height: 1.65; max-height: 92px; overflow: auto; }
.asset-summary { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.asset-summary div { padding: 14px; display: flex; flex-direction: column; gap: 3px; border-right: 1px solid var(--line); }
.asset-summary div:last-child { border: 0; }
.asset-summary strong { color: var(--text-strong); font-size: 19px; letter-spacing: -.03em; }
.asset-summary span { color: var(--muted); font-size: 9px; font-weight: 720; }
.download-section-heading { margin-top: 27px; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.download-section-heading > div > span { color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.download-section-heading h3 { margin: 5px 0 0; font-size: 18px; letter-spacing: -.025em; }
.download-note { max-width: 220px; color: var(--muted); font-size: 9px; line-height: 1.45; text-align: right; }
.download-list { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; overflow: visible; padding: 2px 2px 8px; }
.download-item { min-height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-solid); transition: border-color .2s, background .2s, transform .2s; }
.download-item:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateX(2px); }
.download-kind { width: 44px; height: 44px; border-radius: 13px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--surface-2); color: var(--text); }
.download-kind img, .download-kind video { width: 100%; height: 100%; object-fit: cover; background: var(--surface-3); }
.gallery-video-thumb { position: relative; width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--surface-2), var(--surface-3)); color: var(--muted); }
.gallery-video-thumb video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .18s ease; }
.gallery-video-thumb.ready video { opacity: 1; }
.gallery-video-thumb.ready > svg { opacity: 0; }
.gallery-video-thumb.failed { background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface-2)); }
.kind-video { background: color-mix(in srgb, #ff5f5f 12%, var(--surface-2)); color: #e05050; }
.kind-audio { background: color-mix(in srgb, #8b6cff 13%, var(--surface-2)); color: #8062e4; }
.kind-image { background: color-mix(in srgb, #42ba79 13%, var(--surface-2)); color: #339a65; }
.download-info { min-width: 0; }
.download-title-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.download-title-row h4 { margin: 0; color: var(--text-strong); font-size: 12px; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.download-kind-label { padding: 3px 6px; border-radius: 5px; background: var(--surface-3); color: var(--muted); font-size: 8px; font-weight: 780; text-transform: uppercase; letter-spacing: .06em; }
.download-meta { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 5px; }
.download-meta span { color: var(--muted); font-size: 9px; }
.download-meta span + span::before { content: "·"; margin-right: 5px; }
.download-meta .media-audio-ok { color: #4f7d00; font-weight: 780; }
.download-meta .media-audio-missing { color: #b46224; font-weight: 760; }
.download-actions { display: flex; align-items: center; gap: 8px; }
.mini-3d-button { height: 38px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--accent) 85%, #000); background: var(--accent); color: var(--accent-contrast); box-shadow: 0 4px 0 var(--accent-shadow); font-size: 10px; font-weight: 820; transition: transform .12s, box-shadow .12s; }
.mini-3d-button:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--accent-shadow); }
.mini-3d-button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-shadow); }

.download-item-gallery {
  grid-template-columns: 66px minmax(0, 1fr) 48px;
  min-height: 82px;
  padding: 8px 10px;
}
.download-item-gallery .download-kind {
  width: 66px;
  height: 66px;
  border-radius: 14px;
}
.download-item-gallery .download-actions {
  border: 0;
  padding: 0;
  grid-column: auto;
}
.gallery-download-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--accent) 85%, #000);
  background: var(--accent);
  color: var(--accent-contrast);
  box-shadow: 0 4px 0 var(--accent-shadow);
  transition: transform .12s, box-shadow .12s, filter .18s;
}
.gallery-download-button:hover { filter: brightness(1.04); transform: translateY(-1px); box-shadow: 0 5px 0 var(--accent-shadow); }
.gallery-download-button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-shadow); }
.download-item-no-thumb .download-kind { background: color-mix(in srgb, #ff5f5f 12%, var(--surface-2)); }

.audio-player { --art-color-a: var(--surface-solid); --art-color-b: var(--surface-2); --art-color-c: var(--accent-soft); width: 100%; min-height: 410px; border-radius: 22px; background: var(--surface-solid); border: 1px solid var(--line); box-shadow: var(--shadow-small); padding: 22px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; position: relative; isolation: isolate; }
.audio-player::after { content: ""; position: absolute; z-index: -1; width: 250px; height: 250px; right: -90px; bottom: -120px; border-radius: 50%; background: var(--art-color-c); opacity: .24; filter: blur(30px); }
.audio-player.has-art-colors { background: linear-gradient(145deg, color-mix(in srgb, var(--art-color-a) 22%, var(--surface-solid)), color-mix(in srgb, var(--art-color-b) 18%, var(--surface-solid)) 56%, color-mix(in srgb, var(--art-color-c) 18%, var(--surface-solid))); border-color: color-mix(in srgb, var(--art-color-a) 28%, var(--line)); }
.audio-color-wash { position: absolute; z-index: -2; inset: 0; background: radial-gradient(circle at 14% 12%, color-mix(in srgb, var(--art-color-a) 40%, transparent), transparent 42%), radial-gradient(circle at 88% 82%, color-mix(in srgb, var(--art-color-b) 34%, transparent), transparent 45%); opacity: .9; pointer-events: none; }
.audio-artwork-wrap { width: min(100%, 290px); aspect-ratio: 1; margin: 0 auto 25px; border-radius: 25px; overflow: hidden; position: relative; background: var(--surface-3); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.audio-artwork { width: 100%; height: 100%; object-fit: cover; }
.audio-artwork-fallback { background: radial-gradient(circle at 35% 30%, var(--accent), transparent 28%), linear-gradient(135deg, var(--surface-2), var(--surface-3)); }
.audio-artwork-shine { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 35%, transparent 70%, rgba(255,255,255,.06)); pointer-events: none; }
.audio-main { position: relative; z-index: 2; }
.audio-kicker { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .18em; }
.audio-title { margin-top: 6px; color: var(--text-strong); font-size: 15px; line-height: 1.35; font-weight: 780; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.audio-controls { margin-top: 18px; display: grid; grid-template-columns: auto auto minmax(70px, 1fr) auto auto; align-items: center; gap: 9px; }
.player-button { width: 43px; height: 43px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: var(--accent); color: var(--accent-contrast); cursor: pointer; box-shadow: 0 5px 0 var(--accent-shadow); transition: transform .12s, box-shadow .12s; }
.player-button:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--accent-shadow); }
.player-button:disabled { opacity: .55; cursor: wait; box-shadow: 0 3px 0 var(--accent-shadow); }
.audio-status { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 700; }
.audio-status.error { color: var(--danger); }
.spin-icon { animation: spin .8s linear infinite; }
.time-label { color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.range-wrap { --range-progress: 0%; display: flex; }
.range-wrap input { appearance: none; width: 100%; height: 4px; border-radius: 99px; outline: 0; background: linear-gradient(to right, var(--accent) var(--range-progress), var(--surface-3) var(--range-progress)); cursor: pointer; }
.range-wrap input::-webkit-slider-thumb { appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface-solid); box-shadow: 0 0 0 1px var(--line-strong); }
.range-wrap input::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 2px solid var(--surface-solid); }


/* Rich media result */
.media-preview-shell { width: 100%; min-width: 0; display: grid; gap: 12px; }
.preview-stage { position: relative; width: 100%; min-width: 0; }
.preview-stage-actions { position: absolute; z-index: 7; top: 10px; right: 10px; display: flex; align-items: center; gap: 6px; }
.preview-stage-actions button, .preview-stage-actions a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.22); border-radius: 11px; background: rgba(8,8,8,.74); color: #fff; backdrop-filter: blur(12px); display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; }
.preview-stage-actions button:hover, .preview-stage-actions a:hover { transform: translateY(-1px); background: rgba(8,8,8,.9); }
.preview-stage > .audio-player { width: 100%; }
.preview-stage-badge { position: absolute; z-index: 5; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 29px; padding: 0 9px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(8,8,8,.72); color: #fff; backdrop-filter: blur(12px); font-size: 8px; font-weight: 850; letter-spacing: .1em; }
.preview-stage-badge strong { margin-left: 3px; opacity: .72; font-variant-numeric: tabular-nums; }
.preview-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding: 2px 1px 5px; scrollbar-width: thin; }
.preview-thumb { position: relative; width: 68px; height: 68px; flex: 0 0 auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface-solid); color: var(--muted); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.preview-thumb:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.preview-thumb.active { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.preview-thumb img, .preview-thumb video { width: 100%; height: 100%; object-fit: cover; background: var(--surface-3); }
.preview-thumb span { position: absolute; right: 5px; bottom: 5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 6px; background: rgba(0,0,0,.72); color: #fff; display: grid; place-items: center; font-size: 8px; font-weight: 800; }
.creator-card { margin-bottom: 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.creator-avatar { width: 46px; height: 46px; border-radius: 14px; overflow: hidden; background: var(--surface-3); display: grid; place-items: center; color: var(--muted); }
.creator-avatar img { width: 100%; height: 100%; object-fit: cover; }
.creator-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.creator-copy strong { color: var(--text-strong); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.creator-copy span { color: var(--muted); font-size: 10px; }
.creator-actions { display: flex; align-items: center; gap: 7px; }
.creator-actions > a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-solid); display: grid; place-items: center; color: var(--muted); }
.profile-check-button { min-height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-solid); color: var(--text); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 9px; font-weight: 800; cursor: pointer; }
.profile-check-button:disabled { opacity: .6; cursor: wait; }
.result-badge-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.content-type-badge { min-height: 29px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 9px; font-weight: 800; }
.caption-panel { margin-top: 20px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-2); }
.caption-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.caption-panel-head > span { color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .15em; }
.caption-panel-head button { border: 0; background: transparent; color: var(--muted); display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 750; cursor: pointer; }
.caption-panel p { margin: 12px 0 0; color: var(--text); font-size: 12px; line-height: 1.68; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.caption-panel p.expanded { display: block; overflow: visible; }
.caption-toggle { margin-top: 9px; padding: 0; border: 0; background: transparent; color: color-mix(in srgb, var(--accent) 80%, var(--text)); font-size: 10px; font-weight: 800; cursor: pointer; }
.stats-grid-rich { margin-top: 14px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.stats-grid-rich > div { min-width: 0; min-height: 82px; padding: 12px 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-right: 1px solid var(--line); background: var(--surface-solid); text-align: center; }
.stats-grid-rich > div:last-child { border-right: 0; }
.stats-grid-rich span { width: 27px; height: 27px; border-radius: 9px; background: var(--accent-soft); color: var(--text); display: grid; place-items: center; }
.stats-grid-rich strong { max-width: 100%; color: var(--text-strong); font-size: 14px; overflow: hidden; text-overflow: ellipsis; }
.stats-grid-rich small { color: var(--muted); font-size: 8px; font-weight: 750; }
.stats-grid-youtube { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats-grid-youtube > div:last-child { border-right: 0; }
.source-link { margin-top: 13px; min-height: 40px; padding: 0 13px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-solid); color: var(--muted); font-size: 10px; font-weight: 760; }
.download-kind { overflow: hidden; }
.download-kind img { width: 100%; height: 100%; object-fit: cover; }


.profile-panel { margin: -7px 0 18px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--surface-2), var(--surface-solid)); animation: result-in .3s ease-out both; }
.profile-panel-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; }
.profile-panel-avatar { width: 58px; height: 58px; border-radius: 17px; overflow: hidden; background: var(--surface-3); color: var(--muted); display: grid; place-items: center; }
.profile-panel-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-panel-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.profile-panel-name { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--text-strong); }
.profile-panel-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.profile-panel-name svg { color: var(--success); flex: 0 0 auto; }
.profile-panel-copy > span { color: var(--muted); font-size: 10px; }
.profile-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.profile-flags em { padding: 3px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--muted); font-size: 8px; font-style: normal; font-weight: 750; }
.profile-panel-head > a { width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-solid); color: var(--muted); display: grid; place-items: center; }
.profile-bio { margin: 13px 0 0; padding: 11px 12px; border-left: 3px solid var(--accent); border-radius: 0 11px 11px 0; background: var(--surface-2); color: var(--muted); font-size: 10px; line-height: 1.55; white-space: pre-wrap; }
.profile-stats-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.profile-stats-grid > div { min-width: 0; min-height: 72px; padding: 9px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-right: 1px solid var(--line); text-align: center; }
.profile-stats-grid > div:last-child { border-right: 0; }
.profile-stats-grid span { width: 25px; height: 25px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; }
.profile-stats-grid strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.profile-stats-grid small { color: var(--muted); font-size: 7px; font-weight: 750; }
.profile-panel-loading { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.profile-skeleton-avatar { width: 52px; height: 52px; border-radius: 16px; }
.profile-skeleton-copy { display: grid; gap: 8px; }
.profile-skeleton-copy .skeleton { height: 11px; border-radius: 7px; }
.profile-skeleton-copy .skeleton:last-child { width: 55%; }
.profile-panel-error { margin: -7px 0 18px; min-height: 48px; padding: 0 13px; border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--line)); border-radius: 13px; background: color-mix(in srgb, var(--danger) 6%, var(--surface-solid)); color: var(--danger); display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; }

.media-viewer { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 18px; }
.media-viewer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: none; }
.media-viewer-panel { position: relative; width: min(100%, 760px); height: min(92dvh, 900px); border: 1px solid rgba(255,255,255,.18); border-radius: 27px; background: #080808; box-shadow: 0 30px 100px rgba(0,0,0,.55); overflow: hidden; display: grid; grid-template-rows: auto 1fr; animation: viewer-in .28s ease-out both; }
.media-viewer-toolbar { min-height: 62px; padding: 9px 12px 9px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.viewer-label { font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.viewer-label strong { margin-left: 5px; opacity: .62; }
.viewer-actions { display: flex; gap: 7px; }
.viewer-actions button, .viewer-actions a { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.media-viewer-stage { min-height: 0; padding: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.viewer-video, .viewer-image { width: 100%; height: 100%; max-height: calc(92dvh - 86px); object-fit: contain; background: #000; border-radius: 18px; }
.viewer-image-wrap { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.viewer-nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 49px; height: 64px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.48); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(12px); }
.viewer-prev { left: 20px; border-radius: 18px; }
.viewer-next { right: 20px; border-radius: 18px; }
.viewer-counter { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 7px 13px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(12px); }
@keyframes viewer-in { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.error-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 20px; border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--line)); border-radius: var(--radius-md); background: color-mix(in srgb, var(--danger) 5%, var(--surface-solid)); box-shadow: var(--shadow-small); animation: result-in .35s ease-out both; }
.error-icon { width: 50px; height: 50px; border-radius: 15px; background: color-mix(in srgb, var(--danger) 13%, transparent); color: var(--danger); display: flex; align-items: center; justify-content: center; }
.error-card span { color: var(--danger); font-size: 8px; letter-spacing: .15em; font-weight: 850; }
.error-card h3 { margin: 5px 0 4px; font-size: 17px; }
.error-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.secondary-button { height: 39px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface-solid); color: var(--text); font-size: 10px; font-weight: 780; cursor: pointer; }

.skeleton-card { min-height: 520px; }
.skeleton-media { margin: 22px; border-radius: 22px; min-height: 450px; }
.skeleton-content { padding: 35px 30px; }
.skeleton { position: relative; overflow: hidden; background: var(--surface-2); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--text) 7%, transparent), transparent); animation: shimmer 1.35s infinite; }
.skeleton-pill { width: 95px; height: 27px; border-radius: 99px; }
.skeleton-title { width: 82%; height: 35px; border-radius: 9px; margin-top: 20px; }
.skeleton-line { height: 12px; border-radius: 7px; margin-top: 14px; }
.skeleton-line.wide { width: 94%; }
.skeleton-line.medium { width: 65%; }
.skeleton-downloads { margin-top: 48px; display: grid; gap: 11px; }
.skeleton-download { height: 72px; border-radius: 15px; }

.lower-grid { padding: 72px 0 55px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 280px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); position: relative; overflow: hidden; }
.feature-card.featured { background: var(--text-strong); color: var(--bg); border-color: var(--text-strong); }
.feature-number { position: absolute; top: 21px; right: 23px; color: var(--muted-2); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
.feature-icon { width: 47px; height: 47px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text); }
.featured .feature-icon { background: color-mix(in srgb, var(--bg) 12%, transparent); color: var(--bg); }
.feature-card h3 { margin: 65px 0 10px; font-size: 20px; line-height: 1.15; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.featured p { color: color-mix(in srgb, var(--bg) 58%, transparent); }

.history-section { padding: 55px 0 100px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 17px; }
.section-kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.section-heading-row h2 { margin: 7px 0 0; font-size: clamp(27px, 4vw, 40px); letter-spacing: -.055em; }
.text-button { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 6px; padding: 8px; color: var(--muted); font-size: 10px; font-weight: 750; cursor: pointer; }
.text-button.danger:hover { color: var(--danger); }
.history-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.history-item { min-width: 0; min-height: 76px; padding: 11px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; text-align: left; cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.history-item:hover { transform: translateY(-2px); border-color: var(--line-strong); background: var(--surface-solid); }
.history-platform { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); }
.history-copy { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.history-copy strong { color: var(--text-strong); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.history-copy span { color: var(--muted); font-size: 9px; }
.history-item > svg { color: var(--muted-2); }

.footer { border-top: 1px solid var(--line); background: var(--bg); position: relative; z-index: 2; }
.footer-inner { min-height: 110px; display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand > div { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .brand-copy strong { font-size: 11px; letter-spacing: .04em; }
.footer-brand .brand-copy > span { color: var(--muted); font-size: 8px; letter-spacing: .18em; }
.footer > .container > span { color: var(--muted); font-size: 9px; }
.footer p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; text-align: center; }
.notice-stack {
  position: fixed;
  z-index: 2400;
  top: max(16px, calc(env(safe-area-inset-top) + 10px));
  left: 50%;
  width: min(620px, calc(100vw - 32px));
  height: 82px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: pointer;
  isolation: isolate;
}
.notice-card {
  position: absolute;
  inset: 0 0 auto;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 75%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface-solid) 96%, transparent);
  color: var(--text-strong);
  box-shadow: 0 9px 24px rgba(0,0,0,.22), 0 2px 5px rgba(0,0,0,.12);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  transform-origin: top center;
  transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .24s ease, filter .24s ease;
  animation: notice-in .32s cubic-bezier(.2,.85,.25,1) both;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
}
.notice-stack:hover .notice-card { filter: brightness(1.015); }
.notice-icon { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.notice-success .notice-icon { color: var(--success); background: color-mix(in srgb, var(--success) 12%, var(--surface-solid)); }
.notice-warning .notice-icon { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--surface-solid)); }
.notice-loading .notice-icon { color: var(--accent); }
.notice-message { min-width: 0; font-size: 12px; line-height: 1.35; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.notice-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--text-strong); color: var(--bg); font-size: 9px; font-weight: 900; }
.notice-exiting { animation: notice-out .26s ease forwards; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes result-in { from { opacity: 0; transform: translateY(14px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-5px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes notice-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; } }
@keyframes notice-out { to { opacity: 0; transform: translateY(-12px) scale(.96); filter: blur(2px); } }

@media (max-width: 900px) {
  .hero { padding-top: 80px; }
  .result-card { grid-template-columns: 1fr; }
  .preview-column { border-right: 0; border-bottom: 1px solid var(--line); }
  .audio-player { min-height: 500px; }
  .audio-artwork-wrap { width: min(100%, 350px); }
  .lower-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 230px; }
  .feature-card h3 { margin-top: 45px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 28px 0; gap: 16px; }
  .footer p { max-width: 560px; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1180px); }
  .topbar { height: 68px; }
  .desktop-only { display: none; }
  .brand-copy { gap: 3px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy > span { display: block; font-size: 7px; letter-spacing: .2em; }
  .hero { padding-top: 64px; padding-bottom: 36px; }
  .hero h1 { font-size: clamp(48px, 17vw, 70px); margin-top: 22px; }
  .hero-copy { font-size: 14px; padding-inline: 7px; }
  .downloader-panel { margin-top: 34px; padding: 9px; border-radius: 21px; }
  .downloader-panel form { padding: 3px; }
  .url-field { grid-template-columns: 43px minmax(0, 1fr) auto; min-height: 54px; }
  .url-leading { width: 43px; }
  .url-input-wrap { padding: 0 8px 0 10px; gap: 2px; }
  .url-input-wrap label { font-size: 7px; letter-spacing: .12em; }
  .url-input-wrap input { font-size: 12px; min-width: 0; }
  .url-actions { padding-right: 6px; gap: 4px; }
  .field-icon-button, .paste-button { width: 32px; height: 32px; padding: 0; background: var(--surface-2); }
  .paste-button span { display: none; }
  .detector-row { padding: 11px 3px 7px; }
  .privacy-note { display: none; }
  .primary-3d-button { min-height: 57px; }
  .panel-footer { gap: 13px; justify-content: space-between; }
  .panel-footer div { font-size: 9px; }
  .platform-strip { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -12px; padding: 0 12px 8px; scrollbar-width: none; }
  .platform-strip::-webkit-scrollbar { display: none; }
  .platform-chip { flex: 0 0 auto; }
  .content-section { padding-top: 10px; }
  .preview-column { padding: 11px; }
  .video-preview { min-height: 210px; border-radius: 17px; }
  .image-preview-wrap, .empty-preview { min-height: 260px; }
  .audio-player { min-height: auto; padding: 16px; border-radius: 17px; }
  .audio-artwork-wrap { width: min(100%, 260px); border-radius: 19px; }
  .audio-controls { grid-template-columns: auto auto 1fr auto; }
  .audio-controls .icon-button { display: none; }
  .result-body { padding: 22px 16px; }
  .stats-grid-rich { grid-template-columns: repeat(3, 1fr); }
  .stats-grid-rich > div { border-bottom: 1px solid var(--line); }
  .stats-grid-rich > div:nth-child(3n) { border-right: 0; }
  .stats-grid-rich > div:nth-last-child(-n+3) { border-bottom: 0; }
  .stats-grid-youtube { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats-grid-youtube > div { border-bottom: 0; }
  .creator-card { margin-bottom: 15px; grid-template-columns: auto minmax(0,1fr); }
  .creator-actions { grid-column: 1 / -1; justify-content: stretch; }
  .profile-check-button { flex: 1; }
  .profile-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .profile-stats-grid > div { border-bottom: 1px solid var(--line); }
  .profile-stats-grid > div:nth-child(3n) { border-right: 0; }
  .profile-stats-grid > div:nth-last-child(-n+3) { border-bottom: 0; }
  .media-viewer { padding: 0; }
  .media-viewer-panel { width: 100%; height: 100dvh; max-height: none; border-radius: 0; border: 0; }
  .media-viewer-stage { padding: 8px; }
  .viewer-video, .viewer-image { max-height: calc(100dvh - 80px); border-radius: 16px; }
  .viewer-prev { left: 12px; }
  .viewer-next { right: 12px; }
  .preview-thumbnails { margin-inline: -1px; }
  .preview-thumb { width: 60px; height: 60px; border-radius: 12px; }

  .result-heading h2 { font-size: 25px; }
  .asset-summary { grid-template-columns: repeat(2, 1fr); }
  .asset-summary div:nth-child(2) { border-right: 0; }
  .asset-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .download-section-heading { align-items: flex-start; }
  .download-note { display: none; }
  .download-item:not(.download-item-gallery) { grid-template-columns: auto 1fr; }
  .download-item:not(.download-item-gallery) .download-actions { grid-column: 1 / -1; justify-content: flex-end; border-top: 1px solid var(--line); padding-top: 9px; }
  .download-item:not(.download-item-gallery) .mini-3d-button { flex: 1; }
  .download-item-gallery { grid-template-columns: 58px minmax(0, 1fr) 44px; gap: 10px; }
  .download-item-gallery .download-kind { width: 58px; height: 58px; }
  .download-item-gallery .download-actions { grid-column: auto; justify-content: center; border: 0; padding: 0; }
  .download-item-gallery .download-kind-label { display: none; }
  .gallery-download-button { width: 42px; height: 42px; }
  
.profile-panel { margin: -7px 0 18px; padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, var(--surface-2), var(--surface-solid)); animation: result-in .3s ease-out both; }
.profile-panel-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; }
.profile-panel-avatar { width: 58px; height: 58px; border-radius: 17px; overflow: hidden; background: var(--surface-3); color: var(--muted); display: grid; place-items: center; }
.profile-panel-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-panel-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.profile-panel-name { display: flex; align-items: center; gap: 6px; min-width: 0; color: var(--text-strong); }
.profile-panel-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.profile-panel-name svg { color: var(--success); flex: 0 0 auto; }
.profile-panel-copy > span { color: var(--muted); font-size: 10px; }
.profile-flags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 3px; }
.profile-flags em { padding: 3px 7px; border-radius: 999px; background: var(--accent-soft); color: var(--muted); font-size: 8px; font-style: normal; font-weight: 750; }
.profile-panel-head > a { width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-solid); color: var(--muted); display: grid; place-items: center; }
.profile-bio { margin: 13px 0 0; padding: 11px 12px; border-left: 3px solid var(--accent); border-radius: 0 11px 11px 0; background: var(--surface-2); color: var(--muted); font-size: 10px; line-height: 1.55; white-space: pre-wrap; }
.profile-stats-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.profile-stats-grid > div { min-width: 0; min-height: 72px; padding: 9px 5px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-right: 1px solid var(--line); text-align: center; }
.profile-stats-grid > div:last-child { border-right: 0; }
.profile-stats-grid span { width: 25px; height: 25px; border-radius: 8px; background: var(--accent-soft); display: grid; place-items: center; }
.profile-stats-grid strong { max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 12px; }
.profile-stats-grid small { color: var(--muted); font-size: 7px; font-weight: 750; }
.profile-panel-loading { min-height: 82px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.profile-skeleton-avatar { width: 52px; height: 52px; border-radius: 16px; }
.profile-skeleton-copy { display: grid; gap: 8px; }
.profile-skeleton-copy .skeleton { height: 11px; border-radius: 7px; }
.profile-skeleton-copy .skeleton:last-child { width: 55%; }
.profile-panel-error { margin: -7px 0 18px; min-height: 48px; padding: 0 13px; border: 1px solid color-mix(in srgb, var(--danger) 30%, var(--line)); border-radius: 13px; background: color-mix(in srgb, var(--danger) 6%, var(--surface-solid)); color: var(--danger); display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; }

.media-viewer { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 18px; }
.media-viewer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.88); backdrop-filter: none; }
.media-viewer-panel { position: relative; width: min(100%, 760px); height: min(92dvh, 900px); border: 1px solid rgba(255,255,255,.18); border-radius: 27px; background: #080808; box-shadow: 0 30px 100px rgba(0,0,0,.55); overflow: hidden; display: grid; grid-template-rows: auto 1fr; animation: viewer-in .28s ease-out both; }
.media-viewer-toolbar { min-height: 62px; padding: 9px 12px 9px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.1); color: #fff; }
.viewer-label { font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.viewer-label strong { margin-left: 5px; opacity: .62; }
.viewer-actions { display: flex; gap: 7px; }
.viewer-actions button, .viewer-actions a { width: 43px; height: 43px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.media-viewer-stage { min-height: 0; padding: 12px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.viewer-video, .viewer-image { width: 100%; height: 100%; max-height: calc(92dvh - 86px); object-fit: contain; background: #000; border-radius: 18px; }
.viewer-image-wrap { width: 100%; height: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.viewer-nav { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 49px; height: 64px; border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.48); color: #fff; display: grid; place-items: center; cursor: pointer; backdrop-filter: blur(12px); }
.viewer-prev { left: 20px; border-radius: 18px; }
.viewer-next { right: 20px; border-radius: 18px; }
.viewer-counter { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 7px 13px; border-radius: 999px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; font-weight: 800; backdrop-filter: blur(12px); }
@keyframes viewer-in { from { opacity: 0; transform: scale(.96) translateY(8px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.error-card { grid-template-columns: auto 1fr; }
  .error-card .secondary-button { grid-column: 1 / -1; width: 100%; }
  .skeleton-card { min-height: 700px; }
  .skeleton-media { min-height: 280px; margin: 11px; }
  .skeleton-content { padding: 24px 17px; }
  .lower-grid { padding-top: 42px; }
  .history-grid { grid-template-columns: 1fr; }
  .history-section { padding-bottom: 70px; }
  .section-heading-row { align-items: center; }
  .notice-stack { top: max(12px, calc(env(safe-area-inset-top) + 8px)); width: calc(100% - 24px); height: 78px; }
  .notice-card { min-height: 56px; padding: 0 13px; border-radius: 16px; gap: 9px; }
  .notice-message { font-size: 11px; }
}

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

/* V3.4: state download dan tanggal aktif profil */
.mini-3d-button:disabled,
.gallery-download-button:disabled,
.preview-stage-actions button:disabled,
.viewer-actions button:disabled {
  cursor: wait;
  opacity: .76;
  transform: none;
  box-shadow: none;
}

.profile-flags em {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   V3.11 — lightweight platform marquee + boot splash
   ============================================================ */
.platform-image-icon {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 999px;
  flex: 0 0 auto;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line-strong) 58%, transparent);
  contain: paint;
}
.platform-image-icon > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: inherit;
  user-select: none;
  -webkit-user-drag: none;
}
.platform-image-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: inherit;
  background: var(--text-strong);
  color: var(--bg);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.platform-svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  border-radius: 999px;
}
.platform-svg.large {
  width: 35px;
  height: 35px;
  min-width: 35px;
  min-height: 35px;
}
.result-platform-badge .platform-svg {
  width: 17px;
  height: 17px;
  min-width: 17px;
  min-height: 17px;
}

/* Header mono swatch: force a true circle even on Chromium variants that
   previously rendered the tiny gradient preview as a square. */
.accent-preview,
.accent-swatch {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50% !important;
  overflow: hidden !important;
  background-clip: padding-box;
}
.accent-trigger .accent-preview {
  inline-size: 16px !important;
  block-size: 16px !important;
  min-inline-size: 16px;
  min-block-size: 16px;
  max-inline-size: 16px;
  max-block-size: 16px;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent);
  -webkit-mask-image: radial-gradient(circle at center, #000 0 98%, transparent 100%);
  mask-image: radial-gradient(circle at center, #000 0 98%, transparent 100%);
}
.accent-swatch {
  inline-size: 16px;
  block-size: 16px;
}
.accent-preview.accent-mono,
.accent-swatch.accent-mono {
  background: linear-gradient(135deg, #111 0 49.4%, #f6f6f2 50.6% 100%);
}

/* GPU/compositor-based marquee. No scrollLeft mutation and no backdrop-filter
   on forty moving chips, which keeps scrolling substantially lighter on phones. */
.platform-marquee {
  width: min(1080px, calc(100vw - 24px));
  margin: 27px auto 0;
  display: grid;
  gap: 9px;
  position: relative;
  z-index: 2;
  contain: layout paint;
}
.platform-marquee-row {
  position: relative;
  min-width: 0;
  overflow: hidden;
}
.platform-marquee-row::before,
.platform-marquee-row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 26px;
  z-index: 5;
  pointer-events: none;
}
.platform-marquee-row::before {
  left: 0;
  background: linear-gradient(to right, color-mix(in srgb, var(--bg) 96%, transparent), color-mix(in srgb, var(--bg) 62%, transparent) 52%, transparent);
}
.platform-marquee-row::after {
  right: 0;
  background: linear-gradient(to left, color-mix(in srgb, var(--bg) 96%, transparent), color-mix(in srgb, var(--bg) 62%, transparent) 52%, transparent);
}
.platform-marquee-viewport {
  width: 100%;
  overflow: hidden;
  padding: 3px 0 6px;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.platform-marquee-viewport:active { cursor: grabbing; }
.platform-marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  animation-duration: 31s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.platform-marquee-track.marquee-left { animation-name: datzon-marquee-left; }
.platform-marquee-track.marquee-right { animation-name: datzon-marquee-right; }
.platform-marquee-track.is-paused { animation-play-state: paused; }
.platform-marquee-set {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 10px;
  flex: 0 0 auto;
}
.platform-marquee .platform-chip {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 15px 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--muted);
  box-shadow: 0 3px 12px rgba(0,0,0,.025);
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  contain: layout paint;
}
.platform-marquee .platform-chip .platform-svg {
  width: 27px;
  height: 27px;
  min-width: 27px;
  min-height: 27px;
}
.platform-marquee .platform-chip span:last-child {
  font-size: 11px;
  font-weight: 780;
  color: var(--muted);
}
@keyframes datzon-marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@keyframes datzon-marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

/* Full-screen first-load sequence. The backdrop stays black by design; the
   foreground inherits the previously saved accent after localStorage loads. */
.boot-splash {
  --boot-accent: #f6f6f2;
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #030303;
  color: var(--boot-accent);
  overflow: hidden;
  isolation: isolate;
  transition: opacity .48s ease, visibility .48s ease;
}
.boot-glow {
  position: absolute;
  width: min(64vw, 520px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--boot-accent) 13%, transparent) 0, transparent 66%);
  filter: blur(18px);
  opacity: .9;
  pointer-events: none;
}
.boot-detect-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}
.boot-orbit {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.14);
  border-top-color: var(--boot-accent);
  border-right-color: color-mix(in srgb, var(--boot-accent) 55%, transparent);
  box-shadow: 0 0 24px color-mix(in srgb, var(--boot-accent) 20%, transparent);
  animation: boot-spin .72s linear infinite;
}
.boot-brand-sequence {
  width: min(78vw, 340px);
  display: grid;
  justify-items: center;
  gap: 17px;
  text-align: center;
}
.boot-title,
.boot-subtitle {
  font-family: "Baloo 2", "Segoe UI", Arial, sans-serif;
  color: var(--boot-accent);
  line-height: 1;
  text-shadow: 0 0 26px color-mix(in srgb, var(--boot-accent) 14%, transparent);
  will-change: transform, opacity, letter-spacing;
}
.boot-title {
  font-size: clamp(28px, 8vw, 40px);
  font-weight: 800;
  letter-spacing: .19em;
  padding-left: .19em;
  animation: boot-title-in .72s cubic-bezier(.2,.72,.2,1) both;
}
.boot-subtitle {
  font-size: clamp(10px, 3vw, 13px);
  font-weight: 700;
  letter-spacing: .46em;
  padding-left: .46em;
  opacity: .74;
  animation: boot-subtitle-in .7s .16s cubic-bezier(.2,.72,.2,1) both;
}
.boot-line {
  width: 100%;
  height: 2px;
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--boot-accent) 16%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--boot-accent) 14%, transparent);
  animation: boot-line-in .52s .08s ease-out both;
}
.boot-line-base,
.boot-line-runner {
  position: absolute;
  inset-block: 0;
  left: 0;
  display: block;
}
.boot-line-base {
  width: 100%;
  opacity: .24;
  background: var(--boot-accent);
}
.boot-line-runner {
  width: 42%;
  background: linear-gradient(90deg, transparent, var(--boot-accent) 22%, var(--boot-accent) 78%, transparent);
  filter: drop-shadow(0 0 7px var(--boot-accent));
  animation: boot-line-run 1.08s cubic-bezier(.45,0,.55,1) infinite;
}
.boot-leaving .boot-brand-sequence {
  animation: boot-sequence-out .5s cubic-bezier(.4,0,.2,1) both;
}
.boot-leaving {
  opacity: 0;
  pointer-events: none;
}
@keyframes boot-spin { to { transform: rotate(360deg); } }
@keyframes boot-title-in {
  from { opacity: 0; transform: translate3d(0,-15px,0) scale(.985); letter-spacing: .36em; filter: blur(5px); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); letter-spacing: .19em; filter: blur(0); }
}
@keyframes boot-subtitle-in {
  from { opacity: 0; transform: translate3d(0,13px,0); letter-spacing: .7em; filter: blur(4px); }
  to { opacity: .74; transform: translate3d(0,0,0); letter-spacing: .46em; filter: blur(0); }
}
@keyframes boot-line-in {
  from { opacity: 0; transform: scaleX(.28); }
  to { opacity: 1; transform: scaleX(1); }
}
@keyframes boot-line-run {
  from { transform: translate3d(-115%,0,0); }
  to { transform: translate3d(340%,0,0); }
}
@keyframes boot-sequence-out {
  from { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: blur(0); }
  to { opacity: 0; transform: translate3d(0,-8px,0) scale(.975); filter: blur(5px); }
}

@media (max-width: 720px) {
  .platform-marquee {
    width: calc(100vw - 4px);
    margin-top: 22px;
    gap: 7px;
  }
  .platform-marquee-track { animation-duration: 27s; }
  .platform-marquee .platform-chip {
    min-height: 44px;
    padding: 0 13px 0 8px;
    gap: 8px;
  }
  .platform-marquee .platform-chip .platform-svg {
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
  }
  .platform-marquee .platform-chip span:last-child { font-size: 10px; }
  .boot-brand-sequence { width: min(82vw, 320px); }
}

@media (prefers-reduced-motion: reduce) {
  .platform-marquee-track { animation-play-state: paused; }
  .boot-orbit { animation-duration: 1.2s; }
  .boot-title,
  .boot-subtitle,
  .boot-line,
  .boot-brand-sequence { animation-duration: .01ms !important; animation-delay: 0ms !important; }
}

/* V3.17.3 — YouTube long-process progress */
.youtube-processing-card {
  margin: 0 0 14px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface-solid) 94%, var(--accent) 6%);
  box-shadow: 0 12px 28px color-mix(in srgb, #000 8%, transparent);
}
.youtube-processing-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.youtube-processing-head > div { min-width: 0; }
.youtube-processing-head strong {
  display: block;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}
.youtube-processing-head p {
  margin: 6px 0 0;
  max-width: 720px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.65;
}
.youtube-processing-head > span {
  flex: 0 0 auto;
  min-width: 52px;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  text-align: center;
  font-size: 11px;
  font-weight: 900;
}
.youtube-processing-track {
  height: 9px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 10%, transparent);
}
.youtube-processing-track > span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 72%, white 28%));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 38%, transparent);
  transition: width .4s cubic-bezier(.2,.8,.2,1);
}
.youtube-processing-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 9px;
  color: var(--text-muted);
  font-size: 10px;
  line-height: 1.4;
}
.youtube-processing-foot > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.youtube-processing-foot strong { flex: 0 0 auto; color: var(--text-strong); font-weight: 900; }

@media (max-width: 720px) {
  .youtube-processing-card { margin: 0 0 10px; padding: 15px 14px; border-radius: 17px; }
  .youtube-processing-head { gap: 10px; }
  .youtube-processing-head strong { font-size: 12px; }
  .youtube-processing-head p { font-size: 10px; line-height: 1.55; }
  .youtube-processing-head > span { min-width: 46px; padding: 6px 8px; font-size: 10px; }
  .youtube-processing-foot { font-size: 9px; }
}

/* ============================================================
   DATZON STALKER V1.0.3 — static EdgeOne build using the
   original DATZON Downloader visual language.
   ============================================================ */
.hidden { display: none !important; }
.boot-hidden { display: none !important; }
.ui-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ui-icon.small { width: 15px; height: 15px; }
.eyebrow-icon { width: 15px; height: 15px; }
.submit-svg { width: 22px; height: 22px; }
.accent-check { margin-left: auto; color: var(--text); font-weight: 900; }
.accent-menu.hidden { display: none !important; }

.brand-mark { display: block; }

.stalker-panel { max-width: 900px; }
.stalker-panel form { display: grid; gap: 11px; }
.platform-dropdown-wrap { position: relative; }
.platform-field-label { display: block; margin: 0 0 7px 3px; color: var(--muted); font-size: 8px; line-height: 1; font-weight: 800; letter-spacing: .15em; }
.platform-dropdown { position: relative; z-index: 20; }
.platform-dropdown-trigger {
  width: 100%; min-height: 62px; padding: 8px 12px;
  border: 1.5px solid var(--line-strong); border-radius: 17px;
  background: var(--surface-solid); color: var(--text);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
}
.platform-dropdown-trigger:hover,
.platform-dropdown.open .platform-dropdown-trigger { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-glow); transform: translateY(-1px); }
.platform-choice-icon, .platform-chip-logo {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px;
  display: grid; place-items: center; background: var(--surface-2); color: var(--text-strong);
  border: 1px solid var(--line); font-size: 11px; font-weight: 900; letter-spacing: -.02em;
}
.platform-choice-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.platform-choice-copy strong { font-size: 13px; color: var(--text-strong); }
.platform-choice-copy small { font-size: 9px; color: var(--muted); }
.platform-chevron { color: var(--muted); transition: transform .18s ease; }
.platform-dropdown.open .platform-chevron { transform: rotate(180deg); }
.platform-dropdown-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 8px;
  background: var(--surface-solid); border: 1px solid var(--line); border-radius: 17px;
  box-shadow: var(--shadow-small); animation: menu-in .18s ease-out both; overflow: hidden;
}
.platform-dropdown-menu button {
  width: 100%; min-height: 58px; padding: 8px 10px; border: 0; border-radius: 12px;
  background: transparent; color: var(--text); display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 11px; text-align: left; cursor: pointer;
}
.platform-dropdown-menu button:hover, .platform-dropdown-menu button.active { background: var(--surface-2); }
.platform-dropdown-menu button > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.platform-dropdown-menu button strong { color: var(--text-strong); font-size: 12px; }
.platform-dropdown-menu button small { color: var(--muted); font-size: 9px; }
.platform-option-check { color: var(--success); font-size: 14px; font-weight: 900; }

.ml-input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.url-field .field-icon-button { margin-right: 10px; }
.url-leading.platform-input-glyph { font-size: 13px; font-weight: 900; }

.detector-row { margin-top: -2px; }
.detector-row #detectorCopy strong { color: var(--text); }
.panel-footer .ui-icon { width: 16px; height: 16px; }
.primary-3d-button .spinner { justify-self: center; }

.platform-marquee .platform-chip-logo { width: 27px; height: 27px; min-width: 27px; min-height: 27px; border-radius: 999px; font-size: 8px; background: var(--surface-2); }

#resultsRoot:empty { display: none; }
.content-section:has(#resultsRoot:empty) { padding: 0; }
.stalker-results { display: grid; gap: 15px; }
.stalker-profile-card { grid-template-columns: minmax(280px,.8fr) minmax(0,1.3fr); }
.stalker-profile-visual {
  min-height: 430px; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  overflow: hidden; background: var(--surface-2); border-right: 1px solid var(--line); padding: 24px;
}
.stalker-profile-visual::before, .stalker-profile-visual::after { content:""; position:absolute; border:1px solid var(--line); border-radius:50%; }
.stalker-profile-visual::before { width: 230px; height: 230px; }
.stalker-profile-visual::after { width: 330px; height: 330px; opacity:.7; }
.profile-platform-tag { position:absolute; left:22px; top:22px; z-index:3; height:30px; padding:0 10px; border:1px solid var(--line); border-radius:999px; background:var(--surface); display:flex; align-items:center; gap:7px; color:var(--muted); font-size:9px; font-weight:800; }
.big-avatar { width: 144px; height: 144px; border-radius: 42px; overflow: hidden; background: var(--surface-solid); border:1px solid var(--line); box-shadow:var(--shadow-small); display:grid; place-items:center; position:relative; z-index:2; color:var(--muted); }
.big-avatar img { width:100%; height:100%; object-fit:cover; }
.avatar-fallback { width:44px; height:44px; }
.profile-target { position:relative; z-index:2; max-width:90%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; padding:7px 11px; border:1px solid var(--line); border-radius:999px; background:var(--surface); color:var(--muted); font-size:10px; font-weight:750; }
.profile-result-body { min-width:0; padding:30px; }
.result-badge-row { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.profile-flags { display:flex; flex-wrap:wrap; gap:6px; margin-top:10px; }
.profile-flags span { padding:4px 8px; border-radius:999px; background:var(--accent-soft); color:var(--muted); font-size:8px; font-weight:750; }
.profile-flags .verified { color:var(--success); }
.identity-strip { margin-top:22px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.identity-strip > div { min-width:0; min-height:78px; padding:11px; border-right:1px solid var(--line); display:grid; grid-template-columns:auto 1fr; grid-template-rows:auto auto; align-content:center; column-gap:8px; }
.identity-strip > div:last-child { border-right:0; }
.identity-strip b { grid-row:1/3; width:30px; height:30px; border-radius:9px; background:var(--accent-soft); display:grid; place-items:center; font-size:10px; }
.identity-strip span { color:var(--muted); font-size:8px; font-weight:750; }
.identity-strip strong { min-width:0; color:var(--text-strong); font-size:10px; overflow-wrap:anywhere; }
.api-note { margin-top:13px; padding:11px 12px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); display:flex; gap:8px; color:var(--muted); font-size:9px; line-height:1.55; }

.stalker-section-card { padding:24px; border:1px solid var(--line); border-radius:var(--radius-md); background:var(--surface); box-shadow:var(--shadow-small); }
.stalker-section-card .section-heading-row { margin-bottom:16px; }
.stalker-section-card .section-heading-row h3 { margin:7px 0 0; font-size:clamp(22px,3.4vw,30px); letter-spacing:-.045em; }
.soft-badge { min-height:28px; padding:0 9px; border:1px solid var(--line); border-radius:999px; background:var(--surface-solid); color:var(--muted); display:inline-flex; align-items:center; font-size:8px; font-weight:800; white-space:nowrap; }
.stalker-stats-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid var(--line); border-radius:16px; overflow:hidden; }
.stalker-stat-card { min-width:0; min-height:106px; padding:12px 8px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; text-align:center; border-right:1px solid var(--line); border-bottom:1px solid var(--line); background:var(--surface-solid); }
.stalker-stat-card:nth-child(4n) { border-right:0; }
.stalker-stat-card:nth-last-child(-n+4) { border-bottom:0; }
.stalker-stat-icon { width:30px; height:30px; border-radius:9px; display:grid; place-items:center; background:var(--accent-soft); font-size:10px; font-weight:900; }
.stalker-stat-card > span:not(.stalker-stat-icon) { color:var(--muted); font-size:8px; font-weight:740; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.stalker-stat-card strong { max-width:100%; color:var(--text-strong); font-size:13px; line-height:1.1; overflow-wrap:anywhere; }

.stalker-loading-card { min-height:230px; padding:28px; border:1px solid var(--line); border-radius:var(--radius-xl); background:var(--surface-solid); box-shadow:var(--shadow); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:18px; text-align:center; }
.loading-radar { width:68px; height:68px; border-radius:22px; background:var(--surface-2); display:grid; place-items:center; color:var(--text); position:relative; }
.loading-radar::before { content:""; position:absolute; inset:-8px; border:1px solid var(--accent); border-radius:28px; animation:radar 1.35s infinite; }
.stalker-loading-card strong { color:var(--text-strong); font-size:16px; }
.stalker-loading-card p { margin:5px 0 0; color:var(--muted); font-size:11px; }
@keyframes radar { from{transform:scale(.85);opacity:.7} to{transform:scale(1.25);opacity:0} }
.stalker-error .error-icon { font-size:22px; font-weight:900; }

.tiktok-gallery-section { overflow: hidden; }
.tiktok-gallery-heading { margin-bottom: 12px; }
.tiktok-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--line);
}
.tiktok-video-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #111;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.tiktok-video-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
}
.tiktok-video-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.tiktok-grid-media,
.tiktok-grid-media img,
.tiktok-grid-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tiktok-grid-media { display: block; background: #111; }
.tiktok-grid-media img,
.tiktok-grid-media video {
  display: block;
  object-fit: cover;
  transition: transform .2s ease, filter .2s ease;
}
.tiktok-video-card:hover .tiktok-grid-media img,
.tiktok-video-card:hover .tiktok-grid-media video { transform: scale(1.025); filter: brightness(.92); }
.tiktok-view-count {
  position: absolute;
  left: 7px;
  bottom: 7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  color: #fff;
  font-size: clamp(9px, 1.8vw, 12px);
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0,0,0,.85);
}
.tiktok-view-count strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tiktok-view-icon {
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tiktok-grid-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #181818, #303030);
  color: rgba(255,255,255,.7);
}
.tiktok-grid-placeholder-icon {
  width: 30px;
  height: 30px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.ig-history-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.ig-history-card { padding:14px; border:1px solid var(--line); border-radius:14px; background:var(--surface-solid); }
.ig-history-card > strong { font-size:12px; }
.ig-history-rows { margin-top:9px; display:grid; gap:5px; }
.ig-history-rows div { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--muted); font-size:8px; }
.ig-history-rows b { color:var(--text); font-size:9px; }

.recharge-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.recharge-item { min-height:95px; padding:12px; border:1px solid var(--line); border-radius:14px; background:var(--surface-solid); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; text-align:center; }
.recharge-item > span { width:28px; height:28px; border-radius:9px; display:grid; place-items:center; background:var(--accent-soft); }
.recharge-item strong { font-size:10px; }
.recharge-item small { color:var(--muted); font-size:8px; }
.recharge-item.available > span { color:var(--success); }
.recharge-item.used > span { color:var(--danger); }

.tree-object { overflow:hidden; border:1px solid var(--line); border-radius:14px; background:var(--surface-solid); }
.tree-object.nested { border-radius:11px; }
.tree-row { min-height:43px; padding:8px 11px; display:grid; grid-template-columns:minmax(120px,.55fr) minmax(0,1.45fr); gap:13px; align-items:center; border-bottom:1px solid var(--line); }
.tree-row:last-child { border-bottom:0; }
.tree-key { color:var(--muted); font-size:9px; font-weight:760; overflow-wrap:anywhere; }
.tree-value { min-width:0; color:var(--text); font-size:10px; font-weight:650; overflow-wrap:anywhere; }
.tree-url-wrap { min-width:0; display:grid; grid-template-columns:auto minmax(0,1fr); gap:8px; align-items:center; }
.tree-thumb { width:36px; height:36px; border-radius:9px; object-fit:cover; background:var(--surface-2); }
.tree-url { min-width:0; color:var(--text); font-size:9px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; text-decoration:underline; text-underline-offset:2px; }
.tree-details { border-bottom:1px solid var(--line); }
.tree-details:last-child { border-bottom:0; }
.tree-details > summary { min-height:45px; padding:9px 11px; display:flex; align-items:center; justify-content:space-between; gap:12px; cursor:pointer; list-style:none; }
.tree-details > summary::-webkit-details-marker { display:none; }
.tree-details > summary span { color:var(--text); font-size:10px; font-weight:800; }
.tree-details > summary small { color:var(--muted); font-size:8px; }
.tree-details-body { padding:0 10px 10px; }
.tree-array { display:grid; gap:8px; }
.tree-empty { color:var(--muted); font-size:9px; }
.video-detail-tree,.raw-response-details { margin-top:10px; }
.video-detail-tree > summary,.raw-response-details > summary { cursor:pointer; color:var(--muted); font-size:9px; font-weight:800; }
.raw-response-details .tree-details-body,.video-detail-tree .tree-object { margin-top:9px; }

.history-platform .platform-choice-icon { width:36px; height:36px; min-width:36px; border-radius:10px; }
.history-item { color:var(--text); }
.history-item time { color:var(--muted-2); font-size:8px; white-space:nowrap; }
.history-item .history-copy small { color:var(--muted); font-size:8px; }
.history-item .history-copy strong { font-size:11px; }

.boot-splash.boot-detecting .boot-brand-sequence { display:none; }
.boot-splash.boot-loading .boot-detect-wrap { display:none; }
.boot-splash.boot-loading .boot-brand-sequence { display:grid; }
.boot-splash.boot-leaving { opacity:0; pointer-events:none; }

.notice-stack.static-notice { display:block; height:auto; pointer-events:none; }
.notice-stack.static-notice .notice-card { position:relative; display:flex; align-items:center; gap:10px; min-height:58px; }
.notice-card .notice-icon { flex:0 0 auto; }
.notice-card .notice-message { flex:1; }

@media (max-width: 720px) {
  .stalker-panel { padding:11px; }
  .platform-dropdown-trigger { min-height:58px; }
  .ml-input-grid { grid-template-columns:1fr; }
  .stalker-profile-card { grid-template-columns:1fr; }
  .stalker-profile-visual { min-height:300px; border-right:0; border-bottom:1px solid var(--line); }
  .profile-result-body { padding:22px 16px; }
  .identity-strip { grid-template-columns:1fr; }
  .identity-strip > div { border-right:0; border-bottom:1px solid var(--line); }
  .identity-strip > div:last-child { border-bottom:0; }
  .stalker-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .stalker-stat-card { border-right:1px solid var(--line); border-bottom:1px solid var(--line); }
  .stalker-stat-card:nth-child(2n) { border-right:0; }
  .stalker-stat-card:nth-last-child(-n+2) { border-bottom:0; }
  .tiktok-video-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; border-radius:10px; }
  .tiktok-view-count { left:5px; bottom:5px; gap:3px; }
  .tiktok-view-icon { width:11px; height:11px; flex-basis:11px; }
  .ig-history-grid,.recharge-grid { grid-template-columns:1fr; }
  .tree-row { grid-template-columns:1fr; gap:4px; }
  .tree-url-wrap { grid-template-columns:auto minmax(0,1fr); }
  .history-item { grid-template-columns:auto 1fr; }
  .history-item time { grid-column:2; }
  .privacy-note { display:none; }
}

/* Free Fire item image resolver */
.ff-items-section { overflow: hidden; }
.ff-items-note {
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.ff-items-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.ff-item-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ff-item-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-small);
}
.ff-item-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, var(--accent-glow), transparent 58%),
    linear-gradient(145deg, var(--surface-solid), var(--surface-3));
  border-bottom: 1px solid var(--line);
}
.ff-item-image-shell {
  position: relative;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
}
.ff-item-image-shell.ff-item-large {
  width: 100%;
  height: 100%;
  padding: 12px;
  isolation: isolate;
}
.ff-item-image-shell.ff-item-large.has-rarity-background::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--ff-rarity-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 120% 120%;
  opacity: 1;
  pointer-events: none;
}
.ff-item-image-shell.ff-item-large.has-rarity-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 45%, transparent 42%, rgba(0,0,0,.08) 100%);
  pointer-events: none;
}
.ff-item-image-shell img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity .2s ease, transform .2s ease;
}
.ff-item-image-shell img.loaded { opacity: 1; }
.ff-item-card:hover .ff-item-image-shell img.loaded { transform: scale(1.035); }
.ff-item-image-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--muted-2);
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.04em;
}
.ff-item-image-shell.has-image .ff-item-image-placeholder { display: none; }
.ff-item-image-shell.missing-image .ff-item-image-placeholder { display: grid; }
.ff-item-card-copy {
  min-width: 0;
  padding: 12px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ff-item-card-copy > span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ff-item-card-copy strong {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 14px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ff-item-card-copy small { color: var(--muted-2); font-size: 10px; }
.ff-items-source-note { margin-top: 16px; }
.tree-ff-item-value {
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.ff-item-image-shell.ff-tree-thumb {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.ff-item-image-shell.ff-tree-thumb .ff-item-image-placeholder { font-size: 11px; }
.tree-ff-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.tree-ff-item-copy strong { color: var(--text-strong); }
.tree-ff-item-copy small { color: var(--muted-2); font-size: 9px; }
.ff-tree-array {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.ff-tree-array > .tree-value {
  width: 100%;
  justify-content: flex-start;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
}
.ff-tree-array > .tree-value .tree-ff-item-copy { align-items: flex-start; }

@media (max-width: 900px) {
  .ff-items-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .ff-items-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .ff-item-card { border-radius: 15px; }
  .ff-item-card-copy { padding: 10px 10px 11px; }
  .ff-item-card-copy strong { font-size: 13px; }
  .tree-ff-item-value { justify-content: flex-start; width: 100%; }
  .tree-ff-item-copy { align-items: flex-start; }
  .ff-tree-array { grid-template-columns: 1fr; }
}

/* ============================================================
   DATZON STALKER V1.0.5 — clean Free Fire item resolver,
   deduplicated information, and avatar-aware profile color.
   ============================================================ */
.stalker-profile-visual {
  --avatar-rgb: 71, 212, 255;
  transition: background .35s ease, border-color .35s ease;
}
.stalker-profile-visual.avatar-colored {
  background:
    radial-gradient(circle at 50% 43%, rgba(var(--avatar-rgb), .52) 0%, rgba(var(--avatar-rgb), .24) 36%, transparent 70%),
    linear-gradient(160deg, rgba(var(--avatar-rgb), .16), transparent 58%),
    var(--surface-2);
}
.stalker-profile-visual.avatar-colored::before,
.stalker-profile-visual.avatar-colored::after {
  border-color: rgba(var(--avatar-rgb), .52);
  box-shadow: 0 0 28px rgba(var(--avatar-rgb), .14);
}
.stalker-profile-visual.avatar-colored .profile-platform-tag,
.stalker-profile-visual.avatar-colored .profile-target {
  border-color: rgba(var(--avatar-rgb), .45);
  background: color-mix(in srgb, var(--surface) 72%, rgb(var(--avatar-rgb)) 28%);
}
.big-avatar.ff-avatar-box {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow:
    0 14px 40px rgba(0,0,0,.12),
    0 0 0 7px rgba(var(--avatar-rgb), .16),
    0 0 58px rgba(var(--avatar-rgb), .38);
}
.big-avatar .ff-item-image-shell.ff-profile-avatar {
  width: 100%;
  height: 100%;
  display: grid;
  border-radius: 0;
}
.big-avatar .ff-item-image-shell.ff-profile-avatar img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  border-radius: 0;
}
.big-avatar .ff-item-image-shell.ff-profile-avatar .ff-item-image-placeholder {
  font-size: 18px;
}
.ff-item-meta-detail:empty { display: none; }
.ff-item-meta-detail {
  color: var(--muted) !important;
  line-height: 1.35;
}

.additional-info-card { overflow: hidden; }
.additional-groups {
  display: grid;
  gap: 12px;
}
.additional-group {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-solid);
}
.additional-group-title {
  min-height: 48px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.additional-group-title strong {
  min-width: 0;
  color: var(--text-strong);
  font-size: 11px;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.additional-group-title span {
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 8px;
  font-weight: 800;
}
.additional-rows { display: grid; }
.additional-row {
  min-height: 48px;
  padding: 9px 14px;
  display: grid;
  grid-template-columns: minmax(120px,.65fr) minmax(0,1.35fr);
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.additional-row:last-child { border-bottom: 0; }
.additional-row > span:first-child {
  min-width: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 760;
  overflow-wrap: anywhere;
}
.additional-row .tree-value,
.additional-row .tree-url-wrap {
  justify-self: end;
  text-align: right;
}

@media (max-width: 620px) {
  .additional-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 12px;
  }
  .additional-row .tree-value,
  .additional-row .tree-url-wrap {
    justify-self: stretch;
    text-align: left;
  }
  .big-avatar.ff-avatar-box {
    box-shadow:
      0 12px 32px rgba(0,0,0,.12),
      0 0 0 6px rgba(var(--avatar-rgb), .16),
      0 0 44px rgba(var(--avatar-rgb), .36);
  }
}

/* DATZON avatar item update */
.square-avatar {
  border-radius: 0 !important;
  overflow: hidden;
}
.square-avatar img {
  border-radius: 0 !important;
  object-fit: cover;
}

/* DATZON STALKER V1.0.7 — Free Fire semantic statistic visuals */
.stalker-stat-card.ff-stat-image,
.stalker-stat-card.ff-stat-gender,
.stalker-stat-card.ff-stat-language {
  min-height: 126px;
}
.stalker-stat-card.ff-stat-image .stalker-stat-icon,
.stalker-stat-card.ff-stat-gender .stalker-stat-icon,
.stalker-stat-card.ff-stat-language .stalker-stat-icon {
  background: transparent;
  border-radius: 0;
}
.stalker-stat-card.ff-stat-standard .stalker-stat-icon {
  width: 48px;
  height: 48px;
}
.stalker-stat-card.ff-stat-rank .stalker-stat-icon {
  width: 64px;
  height: 64px;
}
.stalker-stat-card.ff-stat-prime .stalker-stat-icon {
  width: 78px;
  height: 56px;
}
.stalker-stat-card.ff-stat-bp .stalker-stat-icon {
  width: 58px;
  height: 58px;
}
.stalker-stat-card.ff-stat-cs .stalker-stat-icon {
  width: 64px;
  height: 64px;
}
.stalker-stat-card.ff-stat-credit .stalker-stat-icon {
  width: 56px;
  height: 56px;
}
.stalker-stat-card.ff-stat-cs .stalker-stat-icon,
.stalker-stat-card.ff-stat-credit .stalker-stat-icon {
  overflow: hidden;
  border-radius: 50%;
  background: #050505;
}
.stalker-stat-card.ff-stat-image .stalker-stat-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.18));
}
.stalker-stat-card.ff-stat-standard .stalker-stat-icon img {
  filter: drop-shadow(0 4px 8px rgba(226,168,18,.2));
}
.stalker-stat-card.ff-stat-gender .stalker-stat-icon {
  width: 42px;
  height: 42px;
}
.ff-gender-svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ff-gender-svg.female {
  color: #f05b9d;
  filter: drop-shadow(0 4px 8px rgba(240,91,157,.22));
}
.ff-gender-svg.male {
  color: #3f8cff;
  filter: drop-shadow(0 4px 8px rgba(63,140,255,.22));
}
.ff-gender-svg.neutral { color: var(--muted); }
.stalker-stat-card.ff-stat-language .stalker-stat-icon {
  width: 44px;
  height: 32px;
}
.ff-language-flag {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--line-strong) 76%, transparent);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,.13);
}
.ff-language-flag.neutral {
  fill: var(--surface-2);
  stroke: var(--muted);
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stalker-stat-card.ff-stat-unavailable .stalker-stat-icon {
  width: 56px;
  height: 42px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--surface-2);
}
.stalker-stat-card.ff-stat-unavailable {
  min-height: 126px;
}
.ff-stat-empty-icon {
  color: var(--muted-2);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
}

/* V1.0.9: fixed two-column Free Fire grid with continuous dividers. */
.stalker-stats-grid.ff-main-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}
.stalker-stats-grid.ff-main-grid .stalker-stat-card {
  border: 0;
}

/* V1.0.10: clean headings and Free Fire signature in the identity strip. */
.stalker-section-card .section-heading-row.no-kicker {
  align-items: center;
}
.stalker-section-card .section-heading-row.no-kicker h3 {
  margin-top: 0;
}
.identity-strip .identity-signature strong {
  line-height: 1.4;
  white-space: pre-wrap;
}

@media (max-width: 620px) {
  .stalker-stat-card.ff-stat-image,
  .stalker-stat-card.ff-stat-gender,
  .stalker-stat-card.ff-stat-language {
    min-height: 122px;
  }
  .stalker-stat-card.ff-stat-rank .stalker-stat-icon {
    width: 60px;
    height: 60px;
  }
  .stalker-stat-card.ff-stat-prime .stalker-stat-icon {
    width: 72px;
    height: 52px;
  }
  .stalker-stat-card.ff-stat-bp .stalker-stat-icon {
    width: 54px;
    height: 54px;
  }
  .stalker-stat-card.ff-stat-cs .stalker-stat-icon {
    width: 60px;
    height: 60px;
  }
  .stalker-stat-card.ff-stat-credit .stalker-stat-icon {
    width: 54px;
    height: 54px;
  }
  .stalker-stat-card.ff-stat-unavailable {
    min-height: 122px;
  }
}

/* DATZON STALKER V1.0.13
   White rarity backgrounds for all main Free Fire statistics,
   clean CS/Credit icons, emoji language flags, and aligned identity SVGs. */
.stalker-stats-grid.ff-main-grid .stalker-stat-icon {
  position: relative;
  width: 72px !important;
  height: 72px !important;
  box-sizing: border-box;
  padding: 7px;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 13px !important;
  background-color: transparent !important;
  background-image: url("/stalker/assets/freefire/item-backgrounds/UI_GachaLimit_QualitySlotBg2_01.png") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  isolation: isolate;
}
.stalker-stats-grid.ff-main-grid .stalker-stat-icon > img,
.stalker-stats-grid.ff-main-grid .stalker-stat-icon > svg,
.stalker-stats-grid.ff-main-grid .stalker-stat-icon > span {
  position: relative;
  z-index: 1;
}
.stalker-stats-grid.ff-main-grid .stalker-stat-icon > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.stalker-stat-card.ff-stat-cs .stalker-stat-icon,
.stalker-stat-card.ff-stat-credit .stalker-stat-icon {
  overflow: hidden !important;
  border-radius: 13px !important;
  background-color: transparent !important;
}
.stalker-stat-card.ff-stat-cs .stalker-stat-icon img,
.stalker-stat-card.ff-stat-credit .stalker-stat-icon img {
  filter: none !important;
}
.stalker-stat-card.ff-stat-gender .ff-gender-svg {
  width: 88%;
  height: 88%;
  margin: auto;
}
.stalker-stat-card.ff-stat-language .stalker-stat-icon {
  display: grid;
  place-items: center;
}
.ff-language-emoji {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 39px;
  line-height: 1;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.14));
}
.identity-strip b .ui-icon.small {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}
.ff-item-image-shell.ff-bp-item-image.has-rarity-background::before {
  background-image: url("/stalker/assets/freefire/item-backgrounds/UI_GachaExtraAward_QualitySlotBg_05.png") !important;
}

@media (max-width: 620px) {
  .stalker-stats-grid.ff-main-grid .stalker-stat-icon {
    width: 68px !important;
    height: 68px !important;
    padding: 6px;
  }
  .ff-language-emoji { font-size: 36px; }
}

/* DATZON STALKER V1.0.14
   Mobile Legends multi-provider profile completion. */
.identity-strip.mlbb-identity-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.identity-strip.mlbb-identity-strip > div:nth-child(3n) {
  border-right: 0;
}
.identity-strip.mlbb-identity-strip > div:nth-child(n+4) {
  border-top: 1px solid var(--line);
}
.identity-strip.mlbb-identity-strip strong {
  line-height: 1.35;
}

@media (max-width: 720px) {
  .identity-strip.mlbb-identity-strip {
    grid-template-columns: 1fr;
  }
  .identity-strip.mlbb-identity-strip > div,
  .identity-strip.mlbb-identity-strip > div:nth-child(3n) {
    border-right: 0;
    border-top: 0;
    border-bottom: 1px solid var(--line);
  }
  .identity-strip.mlbb-identity-strip > div:last-child {
    border-bottom: 0;
  }
}


/* DATZON STALKER V1.0.15
   Clean MLBB identity, pulse rings on every platform, square avatars,
   verified Instagram badge, and canonical six-field Instagram summary. */
.big-avatar,
.big-avatar img,
.big-avatar .ff-item-image-shell,
.big-avatar .ff-item-image-shell img {
  border-radius: 0 !important;
}

.stalker-profile-visual::before,
.stalker-profile-visual::after {
  left: 50%;
  top: 50%;
  z-index: 0;
  pointer-events: none;
  border-color: rgba(var(--avatar-rgb), .42);
  box-shadow: 0 0 26px rgba(var(--avatar-rgb), .12);
  transform: translate(-50%, -50%) scale(.78);
  will-change: transform, opacity;
}
.stalker-profile-visual::before {
  animation: datzon-avatar-pulse 2.8s cubic-bezier(.2,.65,.3,1) infinite;
}
.stalker-profile-visual::after {
  animation: datzon-avatar-pulse 2.8s 1.15s cubic-bezier(.2,.65,.3,1) infinite;
}
@keyframes datzon-avatar-pulse {
  0% { transform: translate(-50%, -50%) scale(.72); opacity: 0; }
  18% { opacity: .82; }
  72% { opacity: .26; }
  100% { transform: translate(-50%, -50%) scale(1.18); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stalker-profile-visual::before,
  .stalker-profile-visual::after { animation-duration: 5.2s; }
}

.identity-strip.mlbb-identity-strip b {
  overflow: hidden;
}
.mlbb-region-flag {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 20px;
  line-height: 1;
}

.result-title-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.result-title-line h2 { margin-bottom: 0; }
.ig-verified-badge {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 3px 7px rgba(56,151,240,.22));
}

.stalker-stat-card.ig-stat-card .stalker-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-strong);
}
.ig-stat-svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.75;
}
.ig-stat-verified-icon {
  width: 29px;
  height: 29px;
  filter: drop-shadow(0 3px 7px rgba(56,151,240,.2));
}
.ig-region-flag {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 26px;
  line-height: 1;
}

@media (max-width: 620px) {
  .ig-verified-badge { width: 20px; height: 20px; }
  .mlbb-region-flag { font-size: 19px; }
}

/* DATZON STALKER V1.0.16
   Instagram alignment fix and new X, Threads, YouTube, Minecraft platform UI. */
.platform-dropdown-menu {
  max-height: min(72vh, 520px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.x-mode-selector {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-2);
}
.x-mode-selector > span {
  padding: 0 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .13em;
}
.x-mode-selector button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}
.x-mode-selector button:hover,
.x-mode-selector button.active {
  border-color: var(--line-strong);
  background: var(--surface-solid);
  color: var(--text-strong);
  box-shadow: var(--shadow-small);
}

.result-title-line {
  align-items: center;
  line-height: 1;
}
.result-title-line h2 {
  display: inline-flex;
  align-items: center;
  min-height: 1.15em;
  line-height: 1.05;
}
.ig-verified-badge {
  display: block;
  align-self: center;
  margin: 0;
  transform: translateY(0);
  overflow: visible;
}
.ig-verified-badge path:last-child {
  transform-box: fill-box;
  transform-origin: center;
}

/* Enam kartu Instagram harus membentuk grid 2 kolom yang utuh di mobile. */
@media (max-width: 720px) {
  .stalker-stats-grid.ig-main-grid .stalker-stat-card {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .stalker-stats-grid.ig-main-grid .stalker-stat-card:nth-child(2n) {
    border-right: 0;
  }
  .stalker-stats-grid.ig-main-grid .stalker-stat-card:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

.stalker-stat-card.social-stat-card .stalker-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-strong);
}
.social-stat-svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.75;
}
.social-verified-icon {
  display: block;
  width: 29px;
  height: 29px;
  filter: drop-shadow(0 3px 7px rgba(56,151,240,.2));
}

.social-banner-section { overflow: hidden; }
.social-banner-link {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-2);
  aspect-ratio: 3 / 1;
}
.social-banner-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-posts-section { overflow: hidden; }
.social-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--line);
}
.social-post-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #101010;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.social-post-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,.88), rgba(0,0,0,.18), transparent);
  pointer-events: none;
}
.social-post-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}
.social-post-media,
.social-post-media img,
.social-post-media video {
  display: block;
  width: 100%;
  height: 100%;
}
.social-post-media img,
.social-post-media video { object-fit: cover; }
.social-post-media video { background: #000; }
.social-text-post {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px 12px 72px;
  background: radial-gradient(circle at 30% 20%, rgba(var(--avatar-rgb), .3), transparent 48%), #111;
  color: #f5f5f5;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  overflow: hidden;
}
.social-post-views {
  position: absolute;
  left: 7px;
  bottom: 54px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 10px;
  text-shadow: 0 1px 5px #000;
}
.social-post-mini-icon {
  width: 13px;
  height: 13px;
  stroke-width: 2;
}
.social-post-meta {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 7px;
  z-index: 3;
  display: grid;
  gap: 3px;
  color: #fff;
  text-shadow: 0 1px 5px #000;
}
.social-post-meta b {
  font-size: 8px;
  color: rgba(255,255,255,.78);
}
.social-post-meta small {
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.minecraft-skin-grid {
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  gap: 14px;
}
.minecraft-body-card {
  min-height: 300px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(45deg, var(--surface-2) 25%, transparent 25%),
    linear-gradient(-45deg, var(--surface-2) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--surface-2) 75%),
    linear-gradient(-45deg, transparent 75%, var(--surface-2) 75%),
    var(--surface-solid);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.minecraft-body-card img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
  image-rendering: pixelated;
}
.minecraft-3d-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.minecraft-viewer-stage {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
}
.minecraft-viewer-canvas {
  display: block;
  max-width: 100%;
  height: auto;
  touch-action: none;
  image-rendering: pixelated;
  cursor: grab;
}
.minecraft-viewer-canvas:active {
  cursor: grabbing;
}
.minecraft-viewer-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10px;
}
.minecraft-viewer-fallback img {
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  image-rendering: pixelated;
}
.minecraft-3d-ready .minecraft-viewer-fallback {
  display: none;
}
.minecraft-viewer-state {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, .48);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}
.minecraft-viewer-toolbar {
  display: grid;
  gap: 10px;
}
.minecraft-viewer-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.minecraft-viewer-hints span,
.minecraft-viewer-inline-actions .minecraft-viewer-action {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--text);
  font-size: 10px;
  font-weight: 800;
}
.minecraft-viewer-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.minecraft-viewer-inline-actions .minecraft-viewer-action {
  cursor: pointer;
  font: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.minecraft-viewer-inline-actions .minecraft-viewer-action:hover,
.minecraft-viewer-inline-actions .minecraft-viewer-action:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  outline: none;
  transform: translateY(-1px);
}
.minecraft-viewer-inline-actions .minecraft-viewer-action[aria-pressed="true"] {
  border-color: var(--accent);
}

.minecraft-skin-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  min-width: 0;
}
.minecraft-skin-copy > a,
.minecraft-skin-copy > span,
.minecraft-skin-copy > div {
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-solid);
  color: var(--text);
  text-decoration: none;
}
.minecraft-skin-copy > a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 800;
}
.minecraft-skin-copy > div { display: grid; gap: 5px; }
.minecraft-skin-copy b { font-size: 10px; }
.minecraft-skin-copy small { color: var(--muted); font-size: 9px; }

@media (max-width: 720px) {
  .minecraft-viewer-stage { min-height: 260px; }
  .minecraft-viewer-inline-actions { display:grid; grid-template-columns:1fr 1fr; }
  .x-mode-selector {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .x-mode-selector > span {
    grid-column: 1 / -1;
    padding: 2px 3px 0;
  }
  .social-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    border-radius: 10px;
  }
  .social-post-meta small { font-size: 8px; }
  .social-post-views { bottom: 50px; }
  .minecraft-skin-grid { grid-template-columns: 1fr; }
  .minecraft-body-card { min-height: 260px; }
}


/* V1.0.16 verified badge final alignment */
.result-title-line {
  display: flex;
  width: fit-content;
  max-width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
.result-title-line h2 {
  min-width: 0;
  margin: 0;
  line-height: 1.05;
}
.result-title-line > .ig-verified-badge {
  position: relative;
  top: 0;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  align-self: center;
  vertical-align: middle;
}
@media (max-width: 620px) {
  .result-title-line > .ig-verified-badge {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
}

/* DATZON STALKER V1.0.17
   Perbaikan stacking dropdown platform pada perangkat seluler.
   Panel pemilih selalu berada di atas marquee sehingga pilihan yang disentuh
   sama dengan pilihan yang terlihat. */
.stalker-panel {
  position: relative;
  z-index: 80;
  overflow: visible;
}

.stalker-panel form,
.platform-dropdown-wrap,
.platform-dropdown {
  position: relative;
  overflow: visible;
}

.platform-dropdown {
  z-index: 120;
}

.platform-dropdown.open {
  z-index: 1200;
}

.platform-dropdown-menu {
  z-index: 1201;
  isolation: isolate;
  pointer-events: auto;
  touch-action: pan-y;
}

.platform-dropdown-menu button {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  touch-action: manipulation;
}

/* Marquee hanya dekoratif. Menonaktifkan hit testing mencegah chip berjalan
   menangkap sentuhan yang seharusnya memilih item dropdown. */
.platform-marquee,
.platform-marquee * {
  pointer-events: none !important;
}

body.platform-menu-open .stalker-panel {
  z-index: 1400;
}

body.platform-menu-open .platform-marquee {
  z-index: 0;
}

/* DATZON STALKER V1.0.18
   Portal dropdown paling depan, YouTube media fallback, dan modal Minecraft. */
.platform-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2147483644;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, .16);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: default;
  touch-action: none;
}

.platform-dropdown-menu.platform-dropdown-menu-portal {
  position: fixed !important;
  left: var(--platform-menu-left) !important;
  top: var(--platform-menu-top) !important;
  right: auto !important;
  bottom: auto !important;
  width: var(--platform-menu-width) !important;
  max-width: calc(100vw - 24px) !important;
  max-height: var(--platform-menu-max-height) !important;
  z-index: 2147483646 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  pointer-events: auto !important;
  touch-action: pan-y !important;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .24), 0 0 0 1px var(--line);
}

.platform-dropdown-menu.platform-dropdown-menu-portal,
.platform-dropdown-menu.platform-dropdown-menu-portal * {
  pointer-events: auto !important;
}

.platform-dropdown-menu.platform-dropdown-menu-portal button {
  position: relative;
  z-index: 2;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent;
}

body.platform-menu-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* YouTube: thumbnail tetap menjadi fokus. Jika provider tidak mengirim gambar,
   tampilkan logo YouTube kecil dan pertahankan judul di bagian bawah kartu. */
.social-post-card.is-youtube .social-post-media {
  position: relative;
  display: grid;
  place-items: center;
  background: #101010;
}

.youtube-card-placeholder,
.youtube-media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 42%, rgba(255, 0, 51, .13), transparent 42%), #101010;
  color: #ff0033;
}

.youtube-media-fallback {
  display: none;
  z-index: 1;
}

.social-post-media.media-failed .youtube-media-fallback {
  display: grid;
}

.social-post-card.is-youtube .social-post-media > img,
.social-post-card.is-youtube .social-post-media > video {
  position: relative;
  z-index: 2;
}

.youtube-card-placeholder-icon {
  width: clamp(30px, 7vw, 46px);
  height: clamp(30px, 7vw, 46px);
  filter: drop-shadow(0 7px 16px rgba(255, 0, 51, .2));
}

/* Tombol media Minecraft memakai bentuk kartu yang sama dengan baris lama. */
.minecraft-skin-copy > button.minecraft-media-action {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-solid);
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
}

.minecraft-skin-copy > button.minecraft-media-action:hover,
.minecraft-skin-copy > button.minecraft-media-action:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-glow);
  outline: none;
}

.minecraft-media-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  place-items: center;
  padding: 18px;
  isolation: isolate;
}

.minecraft-media-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, .76);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  cursor: default;
}

.minecraft-media-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100dvh - 36px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 22px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: 0 28px 100px rgba(0,0,0,.42);
}

.minecraft-media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.minecraft-media-toolbar strong {
  min-width: 0;
  font-size: 13px;
  color: var(--text-strong);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.minecraft-media-toolbar button {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-strong);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.minecraft-media-preview {
  min-height: min(58dvh, 500px);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 17px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(45deg, var(--surface-2) 25%, transparent 25%),
    linear-gradient(-45deg, var(--surface-2) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--surface-2) 75%),
    linear-gradient(-45deg, transparent 75%, var(--surface-2) 75%),
    var(--surface-solid);
  background-size: 26px 26px;
  background-position: 0 0, 0 13px, 13px -13px, -13px 0;
}

.minecraft-media-preview img {
  display: block;
  max-width: 100%;
  max-height: min(55dvh, 470px);
  object-fit: contain;
  image-rendering: pixelated;
}

.minecraft-media-actions {
  display: grid;
  margin-top: 12px;
}

.minecraft-download-button {
  min-height: 48px;
  border: 1px solid var(--text-strong);
  border-radius: 14px;
  background: var(--text-strong);
  color: var(--surface-solid);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

body.minecraft-media-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .platform-menu-backdrop {
    background: rgba(255, 255, 255, .04);
  }
  .minecraft-media-modal { padding: 10px; }
  .minecraft-media-panel {
    max-height: calc(100dvh - 20px);
    padding: 11px;
    border-radius: 18px;
  }
  .minecraft-media-preview {
    min-height: 52dvh;
    padding: 14px;
  }
}


/* DATZON STALKER V1.0.19 */
.youtube-card-placeholder-icon { width: clamp(34px, 8vw, 52px); height: auto; overflow: visible; filter: drop-shadow(0 8px 18px rgba(255,0,0,.24)); }
.social-post-card .social-post-views, .social-post-card .social-post-views svg, .social-post-card .social-post-mini-icon { color:#fff !important; stroke:currentColor !important; }
.minecraft-media-preview { touch-action:none; user-select:none; -webkit-user-select:none; }
.minecraft-media-preview img { transform-origin:center center; transition:transform .08s linear; will-change:transform; pointer-events:none; }
.minecraft-zoom-controls { display:grid; grid-template-columns:40px minmax(0,1fr) 40px 52px; align-items:center; gap:9px; margin-top:12px; }
.minecraft-zoom-controls button { width:40px; height:40px; border:1px solid var(--line); border-radius:12px; background:var(--surface-2); color:var(--text-strong); font:inherit; font-size:20px; font-weight:900; cursor:pointer; }
.minecraft-zoom-controls input[type="range"] { width:100%; accent-color:var(--accent); cursor:ew-resize; }
.minecraft-zoom-controls output { min-width:52px; color:var(--text-strong); font-size:10px; font-weight:900; text-align:right; font-variant-numeric:tabular-nums; }
.platform-menu-backdrop,.minecraft-media-backdrop,.media-viewer-backdrop { backdrop-filter:none !important; -webkit-backdrop-filter:none !important; }
@media (max-width:620px){ .platform-menu-backdrop{background:rgba(0,0,0,.12)} .minecraft-zoom-controls{grid-template-columns:38px minmax(0,1fr) 38px 48px;gap:7px}.minecraft-zoom-controls button{width:38px;height:38px} }


/* DATZON STALKER V1.0.20 - Minecraft interactive 3D refinement */
.minecraft-viewer-subtitle {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}
.minecraft-skin-grid {
  grid-template-columns: minmax(260px, 1.15fr) minmax(220px, .85fr);
  align-items: stretch;
}
.minecraft-3d-card {
  min-height: 420px;
  padding: 0;
  background:
    radial-gradient(circle at 50% 43%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 45%),
    linear-gradient(45deg, var(--surface-2) 25%, transparent 25%),
    linear-gradient(-45deg, var(--surface-2) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--surface-2) 75%),
    linear-gradient(-45deg, transparent 75%, var(--surface-2) 75%),
    var(--surface-solid);
  background-size: auto, 28px 28px, 28px 28px, 28px 28px, 28px 28px;
  background-position: center, 0 0, 0 14px, 14px -14px, -14px 0;
}
.minecraft-viewer-stage {
  min-height: 390px;
  isolation: isolate;
  touch-action: none;
}
.minecraft-viewer-stage::before {
  content: "";
  position: absolute;
  inset: 8% 10% 11%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent), transparent 68%);
  pointer-events: none;
}
.minecraft-viewer-canvas {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 100%;
  min-height: 390px;
  outline: none;
}
.minecraft-viewer-shadow {
  position: absolute;
  left: 50%;
  bottom: 35px;
  z-index: 1;
  width: 42%;
  height: 22px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,.26);
  filter: blur(8px);
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.minecraft-3d-ready .minecraft-viewer-shadow { opacity: .72; }
.minecraft-viewer-fallback { z-index: 2; }
.minecraft-viewer-state {
  z-index: 6;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: color-mix(in srgb, #000 62%, transparent);
  pointer-events: none;
}
.minecraft-viewer-state.is-ready {
  opacity: .82;
  font-size: 8px;
}
.minecraft-viewer-toolbar {
  position: relative;
  z-index: 7;
  padding: 0 14px 14px;
}
.minecraft-viewer-inline-actions .minecraft-viewer-action[aria-pressed="true"] {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-solid));
}
@media (max-width: 720px) {
  .minecraft-skin-grid { grid-template-columns: 1fr; }
  .minecraft-3d-card { min-height: 390px; }
  .minecraft-viewer-stage,
  .minecraft-viewer-canvas { min-height: 360px; }
}
@media (prefers-reduced-motion: reduce) {
  .minecraft-viewer-shadow { transition: none; }
}


/* ============================================================
   DATZON STALKER V1.0.21
   Logo platform marquee + kontrol posisi Minecraft SkinViewer.
   ============================================================ */
.platform-marquee .platform-chip {
  min-height: 52px;
  padding-left: 8px;
}
.platform-marquee .platform-chip-image {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  flex: 0 0 36px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  background: #111;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 84%, transparent);
  user-select: none;
  -webkit-user-drag: none;
}
.minecraft-viewer-state.is-ready {
  display: none !important;
}
.minecraft-viewer-toolbar {
  gap: 9px;
}
.minecraft-viewer-pan-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.minecraft-viewer-pan-button,
.minecraft-viewer-inline-actions .minecraft-viewer-action {
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.01em;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.minecraft-viewer-pan-button {
  padding: 7px 8px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.minecraft-viewer-pan-button .ui-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.35;
}
.minecraft-viewer-pan-button span {
  font-weight: 900;
}
.minecraft-viewer-inline-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.minecraft-viewer-inline-actions .minecraft-viewer-action {
  padding: 9px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 900;
}
.minecraft-viewer-inline-actions .minecraft-viewer-action .ui-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}
.minecraft-viewer-inline-actions .minecraft-viewer-action span {
  font-weight: 900;
}
.minecraft-viewer-pan-button:hover,
.minecraft-viewer-pan-button:focus-visible,
.minecraft-viewer-inline-actions .minecraft-viewer-action:hover,
.minecraft-viewer-inline-actions .minecraft-viewer-action:focus-visible {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--surface-solid) 92%, var(--accent) 8%);
  box-shadow: 0 0 0 4px var(--accent-glow);
  outline: none;
  transform: translateY(-1px);
}
.minecraft-viewer-pan-button:active,
.minecraft-viewer-inline-actions .minecraft-viewer-action:active {
  transform: translateY(0) scale(.98);
}
@media (max-width: 720px) {
  .platform-marquee .platform-chip-image {
    width: 33px;
    height: 33px;
    min-width: 33px;
    min-height: 33px;
    flex-basis: 33px;
  }
  .platform-marquee .platform-chip {
    min-height: 49px;
  }
  .minecraft-viewer-pan-controls {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }
  .minecraft-viewer-pan-button {
    min-height: 43px;
    padding: 6px 4px;
    font-size: 9px;
  }
  .minecraft-viewer-inline-actions .minecraft-viewer-action {
    min-height: 45px;
    font-size: 11px;
  }
}

/* ============================================================
   DATZON STALKER V1.0.23
   12 platform, logo lokal dropdown, dan showcase platform baru.
   ============================================================ */
.platform-choice-icon {
  border-radius: 50% !important;
  overflow: hidden;
  padding: 3px;
  background: var(--surface-solid);
}
.platform-dropdown-logo,
.platform-local-logo,
.result-platform-logo,
.platform-input-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  user-select: none;
  -webkit-user-drag: none;
}
.platform-dropdown-logo { min-width: 100%; min-height: 100%; }
.platform-input-glyph.platform-input-logo {
  width: 46px;
  min-width: 46px;
  height: 46px;
  padding: 5px;
  border-radius: 50%;
  overflow: hidden;
}
.platform-input-logo-image { box-shadow: 0 0 0 1px var(--line); }
.profile-platform-tag b,
.result-platform-badge b {
  width: 24px;
  height: 24px;
  min-width: 24px;
  padding: 1px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.profile-platform-tag .result-platform-logo,
.result-platform-badge .result-platform-logo { width: 100%; height: 100%; }
.history-platform .platform-choice-icon { border-radius: 50% !important; padding: 3px; }

.collection-showcase-card,
.social-post-section { overflow: hidden; }
.datzon-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.datzon-collection-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-solid);
}
.datzon-collection-media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 35%, var(--accent-glow), transparent 58%), var(--surface-2);
}
.datzon-collection-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.collection-fallback {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--surface-solid);
  color: var(--text-strong);
}
.collection-fallback .ui-icon { width: 29px; height: 29px; }
.datzon-collection-card > div:last-child {
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.datzon-collection-card strong {
  color: var(--text-strong);
  font-size: 12px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.datzon-collection-card span {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.reddit-post-grid,
.soundcloud-track-grid {
  background: transparent;
  gap: 10px;
  overflow: visible;
}
.reddit-post-card,
.soundcloud-track-card {
  aspect-ratio: auto;
  min-height: 230px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #111;
}
.reddit-post-card .social-post-media,
.soundcloud-track-card .social-post-media {
  position: relative;
  height: 165px;
  background: #111;
}
.platform-post-fallback {
  padding: 34px;
  object-fit: contain !important;
  background: #111;
}
.social-post-copy {
  position: relative;
  z-index: 3;
  min-height: 78px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #fff;
  background: #111;
}
.social-post-copy strong {
  font-size: 11px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.social-post-copy span { color: rgba(255,255,255,.72); font-size: 8px; line-height: 1.45; }
.soundcloud-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  z-index: 3;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #ff5500;
  box-shadow: 0 10px 25px rgba(0,0,0,.32);
}
.soundcloud-play-badge .ui-icon { width: 23px; height: 23px; }

@media (max-width: 760px) {
  .datzon-collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reddit-post-grid,
  .soundcloud-track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reddit-post-card,
  .soundcloud-track-card { min-height: 210px; }
  .reddit-post-card .social-post-media,
  .soundcloud-track-card .social-post-media { height: 140px; }
}
.platform-avatar-fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}


/* ============================================================
   DATZON STALKER V1.0.23
   Dropdown inline-scroll, capsule logo presisi, dan Roblox.
   ============================================================ */
.platform-dropdown-menu,
.platform-dropdown-menu.platform-dropdown-menu-portal {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin-top: 9px !important;
  overflow: visible !important;
  overscroll-behavior: auto !important;
  transform: none !important;
  z-index: 200 !important;
  box-shadow: var(--shadow-small) !important;
}
.platform-menu-backdrop { display: none !important; }
body.platform-menu-open {
  overflow: visible !important;
  overscroll-behavior: auto !important;
}
.platform-dropdown.open + #inputArea,
.platform-dropdown.open ~ #inputArea { position: relative; z-index: 1; }
.profile-platform-tag,
.result-platform-badge {
  padding-left: 2px !important;
  padding-right: 10px !important;
  gap: 6px !important;
}
.profile-platform-tag { height: 32px; }
.result-platform-badge { min-height: 30px; }
.profile-platform-tag b,
.result-platform-badge b {
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
}
.profile-platform-tag .result-platform-logo,
.result-platform-badge .result-platform-logo {
  border-radius: 50% !important;
  object-fit: cover !important;
}
.roblox-avatar-stage {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 22px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 46%, var(--accent-glow), transparent 58%), var(--surface-2);
}
.roblox-avatar-stage img {
  width: min(78%, 460px);
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.18));
}
.datzon-collection-link { color: inherit; text-decoration: none; min-width: 0; }
.roblox-collection-grid .datzon-collection-media img { object-fit: contain; padding: 10px; }
@media (max-width: 700px) {
  .platform-dropdown-menu,
  .platform-dropdown-menu.platform-dropdown-menu-portal { border-radius: 20px !important; }
  .roblox-avatar-stage { min-height: 300px; }
}

/* V1.0.23 final alignment corrections */
.platform-dropdown.open { z-index: 210 !important; }
.platform-dropdown-menu.hidden { display: none !important; }
.platform-dropdown-menu:not(.hidden) { display: grid !important; }
.profile-platform-tag,
.result-platform-badge {
  overflow: hidden !important;
  padding-left: 1px !important;
}
.profile-platform-tag b,
.result-platform-badge b {
  margin-left: 0 !important;
  align-self: center !important;
  overflow: hidden !important;
}
.profile-platform-tag .result-platform-logo,
.result-platform-badge .result-platform-logo {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
}

/* ============================================================
   DATZON STALKER V1.0.27
   Branding image, Kunjungi DATZON, QRIS tanpa blur, dan SEO assets.
   ============================================================ */
.brand-image-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  background: #f7f4ed;
  box-shadow: 0 6px 16px rgba(0,0,0,.14);
}
.footer-logo-image { width: 34px; height: 34px; border-radius: 10px; flex: 0 0 34px; }

.visit-section { padding: 68px 0 0; }
.visit-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr);
  gap: 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-small);
}
.visit-card::before {
  content: "";
  position: absolute;
  width: 270px;
  height: 270px;
  left: -130px;
  top: -150px;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 50%;
  pointer-events: none;
}
.visit-heading { position: relative; z-index: 1; align-self: center; }
.visit-heading h2 { margin: 12px 0 10px; font-size: clamp(25px, 3.4vw, 40px); line-height: 1.02; letter-spacing: -.055em; }
.visit-heading p { max-width: 460px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.visit-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.visit-link {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-2);
  color: var(--text-strong);
  text-align: left;
  text-decoration: none;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  font: inherit;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.visit-link:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.visit-link:active { transform: translateY(0); }
.visit-link-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 42px;
  background: transparent;
  color: var(--bg);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: -.02em;
  transform: translateZ(0);
}
.visit-link-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  backface-visibility: hidden;
  transition: transform .2s ease, filter .2s ease;
}
.visit-link-icon-image {
  border: 0;
  outline: 0;
  box-shadow: none;
}
.visit-link-icon-image img {
  border: 0;
  outline: 0;
  box-shadow: none;
}
.visit-link-icon-svg img {
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.18));
}
.visit-link:hover .visit-link-icon img { transform: scale(1.045); }
.visit-link > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.visit-link strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.visit-link small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 10px; }
.visit-link > b { font-size: 17px; font-weight: 500; color: var(--muted); }
.visit-donate-button { background: var(--text-strong); color: var(--bg); border-color: var(--text-strong); }
.visit-donate-button .visit-link-icon { background: transparent; color: inherit; }
.visit-donate-button small, .visit-donate-button > b { color: color-mix(in srgb, var(--bg) 70%, transparent); }

.qris-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.qris-modal.hidden { display: none !important; }
.qris-modal-backdrop {
  position: fixed;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0,0,0,.76);
  cursor: default;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.qris-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  margin: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--surface);
  color: var(--text-strong);
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
  animation: qris-pop .2s ease-out both;
}
@keyframes qris-pop { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
.qris-close-button {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text-strong);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.qris-modal-copy { padding-right: 44px; }
.qris-modal-copy h2 { margin: 10px 0 8px; font-size: clamp(24px, 5vw, 34px); line-height: 1.05; letter-spacing: -.05em; }
.qris-modal-copy p { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.qris-image-wrap { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.qris-image-wrap img { display: block; width: 100%; height: auto; max-height: 62vh; object-fit: contain; }
.qris-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.55; text-align: center; }
body.qris-modal-open { overflow: hidden; }

@media (max-width: 820px) {
  .visit-card { grid-template-columns: 1fr; padding: 22px; }
  .visit-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .visit-section { padding-top: 42px; }
  .visit-card { padding: 18px; border-radius: 24px; }
  .visit-links { grid-template-columns: 1fr; }
  .visit-link { min-height: 70px; }
  .qris-modal { padding: 10px; }
  .qris-modal-panel { padding: 18px; border-radius: 22px; }
  .qris-modal-copy { padding-right: 38px; }
  .qris-image-wrap img { max-height: 67vh; }
}
.brand-logo-button { width: 58px !important; height: 38px !important; flex: 0 0 58px !important; }
.brand-image-logo { object-fit: cover; }
.footer-logo-image { width: 52px !important; height: 34px !important; flex: 0 0 52px !important; }
@media (max-width: 430px) {
  .brand-logo-button { width: 50px !important; flex-basis: 50px !important; }
}


/* ============================================================
   DATZON STALKER V1.0.26
   Free Fire created-at completion + square brand logo containers.
   ============================================================ */
.brand-logo-button {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  padding: 3px !important;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px !important;
  background: #f7f4ed !important;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.brand-logo-button .brand-image-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #f7f4ed;
  box-shadow: none;
}
.footer-logo-image {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  padding: 3px;
  object-fit: contain !important;
  border: 1px solid var(--line);
  border-radius: 11px !important;
  background: #f7f4ed;
  box-shadow: 0 5px 14px rgba(0,0,0,.10);
}
@media (max-width: 430px) {
  .brand-logo-button {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }
}

/* ============================================================
   DATZON STALKER V1.0.28
   Compact accent indicator and Downloader-style visit actions.
   ============================================================ */
.accent-trigger .accent-preview {
  inline-size: 13px !important;
  block-size: 13px !important;
  min-inline-size: 13px !important;
  min-block-size: 13px !important;
  max-inline-size: 13px !important;
  max-block-size: 13px !important;
  flex: 0 0 13px !important;
  margin-inline: 1px 2px;
  border: 2px solid color-mix(in srgb, var(--text) 12%, transparent) !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
}
.visit-link-action-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: var(--muted);
  stroke-width: 1.9;
}
.visit-donate-button .visit-link-action-icon {
  width: 20px;
  height: 20px;
  flex-basis: 20px;
  color: color-mix(in srgb, var(--bg) 70%, transparent);
}


/* ============================================================
   DATZON STALKER V1.0.29
   TikTok multi-provider completion + provider-IP country flag.
   ============================================================ */
.social-country-flag {
  display: inline-grid;
  place-items: center;
  font-size: 25px;
  line-height: 1;
  filter: drop-shadow(0 3px 7px rgba(0,0,0,.16));
}
.profile-flags .profile-created-flag {
  max-width: 100%;
  overflow-wrap: anywhere;
}


/* ============================================================
   DATZON STALKER V1.0.30
   Downloader-parity header + two-layer expandable notification stack.
   ============================================================ */

/* Header brand sizing now mirrors DATZON Downloader exactly. */
.brand-home-link {
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.brand-logo-button {
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px !important;
  padding: 3px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: grid;
  place-items: center;
}
.brand-logo-button .brand-image-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (max-width: 680px) {
  .brand-logo-button {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
  }
}

/* Accent control copied from the Downloader behavior. In particular, Mono is
   masked into a true circle so Chromium cannot render the gradient as a box. */
.accent-preview,
.accent-swatch {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50% !important;
  overflow: hidden !important;
  background-clip: padding-box;
}
.accent-trigger .accent-preview {
  inline-size: 16px !important;
  block-size: 16px !important;
  min-inline-size: 16px !important;
  min-block-size: 16px !important;
  max-inline-size: 16px !important;
  max-block-size: 16px !important;
  flex: 0 0 16px !important;
  margin-inline: 0 !important;
  border: 1px solid color-mix(in srgb, var(--text) 18%, transparent) !important;
  -webkit-mask-image: radial-gradient(circle at center, #000 0 98%, transparent 100%) !important;
  mask-image: radial-gradient(circle at center, #000 0 98%, transparent 100%) !important;
}
.accent-swatch {
  inline-size: 16px;
  block-size: 16px;
}
.accent-preview.accent-mono,
.accent-swatch.accent-mono {
  background: linear-gradient(135deg, #111 0 49.4%, #f6f6f2 50.6% 100%) !important;
}

/* Notification stack: collapsed = newest + one card behind it. Older active
   notifications stay alive (and keep their own timers) but visually slide out.
   Clicking the stack expands every still-active card into a normal list. */
.notice-stack {
  position: fixed;
  z-index: 2400;
  top: max(16px, calc(env(safe-area-inset-top) + 10px));
  left: 50%;
  width: min(620px, calc(100vw - 32px));
  height: 82px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: pointer;
  isolation: isolate;
  overflow: visible;
  pointer-events: auto;
}
.notice-card {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid color-mix(in srgb, var(--line-strong) 75%, transparent);
  border-radius: 17px;
  background: color-mix(in srgb, var(--surface-solid) 96%, transparent);
  color: var(--text-strong);
  box-shadow: 0 9px 24px rgba(0,0,0,.22), 0 2px 5px rgba(0,0,0,.12);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  text-align: left;
  transform-origin: top center;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .26s ease, filter .26s ease;
  animation: notice-in .32s cubic-bezier(.2,.85,.25,1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: none;
  will-change: transform, opacity, filter;
}
.notice-front {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: brightness(1);
}
.notice-back {
  transform: translateY(10px) scale(.965);
  opacity: .84;
  filter: brightness(.82) saturate(.9);
}
.notice-hidden {
  transform: translateY(17px) scale(.925);
  opacity: 0;
  filter: brightness(.68) blur(1px);
}
.notice-stack.notice-expanded {
  height: auto;
  max-height: calc(100dvh - max(32px, calc(env(safe-area-inset-top) + 24px)));
  padding: 0 2px 2px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.notice-stack.notice-expanded::-webkit-scrollbar { display: none; }
.notice-stack.notice-expanded .notice-card,
.notice-expanded-item {
  position: relative;
  inset: auto;
  width: 100%;
  flex: 0 0 auto;
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: brightness(1);
}
.notice-stack:not(.notice-expanded):hover .notice-front,
.notice-stack.notice-expanded:hover .notice-card { filter: brightness(1.015); }
.notice-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  flex: 0 0 32px;
}
.notice-success .notice-icon { color: var(--success); background: color-mix(in srgb, var(--success) 12%, var(--surface-solid)); }
.notice-warning .notice-icon { color: var(--danger); background: color-mix(in srgb, var(--danger) 10%, var(--surface-solid)); }
.notice-loading .notice-icon { color: var(--accent); }
.notice-message {
  min-width: 0;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-bell {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--text-strong);
  color: var(--bg);
  box-shadow: 0 5px 14px rgba(0,0,0,.16);
}
.notice-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid color-mix(in srgb, var(--accent) 26%, transparent);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .75s linear infinite;
}
.notice-exiting { animation: notice-out .26s ease forwards !important; }

@media (max-width: 680px) {
  .notice-stack {
    top: max(12px, calc(env(safe-area-inset-top) + 8px));
    width: calc(100% - 24px);
    height: 78px;
  }
  .notice-card {
    min-height: 56px;
    padding: 0 13px;
    border-radius: 16px;
    gap: 9px;
  }
  .notice-message { font-size: 11px; }
  .notice-stack.notice-expanded {
    max-height: calc(100dvh - max(24px, calc(env(safe-area-inset-top) + 18px)));
  }
}


/* ============================================================
   DATZON STALKER V1.0.31
   Header logo hardening: exact Downloader square asset, fixed frame,
   contain-fit, and cache-busted delivery to prevent legacy wide-logo crop.
   ============================================================ */
.brand-logo-button {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  padding: 3px !important;
  box-sizing: border-box !important;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent) !important;
  border-radius: 12px !important;
  background: color-mix(in srgb, var(--surface-solid, var(--surface)) 94%, var(--accent) 6%) !important;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .08) !important;
  overflow: hidden !important;
  display: grid !important;
  place-items: center !important;
}
.brand-logo-button .brand-image-logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
@media (max-width: 680px) {
  .brand-logo-button {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    flex-basis: 42px !important;
  }
}


/* ============================================================
   DATZON STALKER V1.0.32
   Accent palette icon parity with DATZON Downloader.

   Downloader renders <Palette size={18} /> from lucide-react. The static
   Stalker build uses the exact Lucide Palette SVG geometry and default
   stroke treatment so the header control has the same shape/proportions.
   ============================================================ */
.accent-trigger > .accent-palette-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex: 0 0 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
