:root {
    color-scheme: dark;
    --wp3-bg: #07090d;
    --wp3-bg-2: #0d1118;
    --wp3-panel: rgba(16, 20, 28, .86);
    --wp3-panel-solid: #11151d;
    --wp3-panel-2: #171c26;
    --wp3-text: #f4f7fb;
    --wp3-muted: #8f9aaa;
    --wp3-faint: #667182;
    --wp3-line: rgba(255,255,255,.10);
    --wp3-line-strong: rgba(255,255,255,.18);
    --wp3-cyan: #55d8ff;
    --wp3-cyan-rgb: 85, 216, 255;
    --wp3-blue: #1e93b7;
    --wp3-blue-rgb: 30, 147, 183;
    --wp3-ember: #bc4058;
    --wp3-ember-rgb: 188, 64, 88;
    --wp3-gold: #ffd460;
    --wp3-gold-rgb: 255, 212, 96;
    --wp3-shadow: 0 28px 80px rgba(0,0,0,.42);
    --wp3-radius-xl: 28px;
    --wp3-radius-lg: 22px;
    --wp3-radius-md: 16px;
}

[data-theme="light"] {
    color-scheme: light;
    --wp3-bg: #f5f1eb;
    --wp3-bg-2: #ebe6df;
    --wp3-panel: rgba(255,252,247,.88);
    --wp3-panel-solid: #fffaf4;
    --wp3-panel-2: #f0e9e1;
    --wp3-text: #18202a;
    --wp3-muted: #65717f;
    --wp3-faint: #88919c;
    --wp3-line: rgba(32,44,57,.12);
    --wp3-line-strong: rgba(32,44,57,.20);
    --wp3-cyan: #0796bd;
    --wp3-cyan-rgb: 7, 150, 189;
    --wp3-blue: #176c7b;
    --wp3-blue-rgb: 23, 108, 123;
    --wp3-ember: #a94758;
    --wp3-ember-rgb: 169, 71, 88;
    --wp3-gold: #aa7b14;
    --wp3-gold-rgb: 170, 123, 20;
    --wp3-shadow: 0 26px 68px rgba(72,54,37,.16);
}

.wp3-body,
.wp3-body * { box-sizing: border-box; }

html { scroll-behavior: smooth; }

.wp3-body {
    min-height: 100vh;
    margin: 0;
    color: var(--wp3-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 8% 10%, rgba(var(--wp3-ember-rgb), .18), transparent 31rem),
        radial-gradient(circle at 88% 8%, rgba(var(--wp3-cyan-rgb), .13), transparent 34rem),
        linear-gradient(135deg, var(--wp3-bg), var(--wp3-bg-2) 58%, var(--wp3-bg));
}

.wp3-page {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 28px 0 72px;
}

.wp3-grid-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .42;
    background-image:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.5) 60%, transparent 100%);
}

[data-theme="light"] .wp3-grid-noise { opacity: .18; }

.wp3-shell {
    position: relative;
    z-index: 1;
    width: min(calc(100% - 40px), 1580px);
    margin: 0 auto;
}

.wp3-overline,
.wp3-eyebrow {
    color: var(--wp3-cyan);
    font-size: .69rem;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* ========================= REACTOR ========================= */
.wp3-reactor {
    position: relative;
    min-height: 336px;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(580px, 1.12fr);
    gap: 32px;
    padding: 30px 32px;
    overflow: hidden;
    border: 1px solid var(--wp3-line);
    border-radius: var(--wp3-radius-xl);
    background:
        linear-gradient(120deg, rgba(var(--wp3-ember-rgb), .09), transparent 32%),
        linear-gradient(310deg, rgba(var(--wp3-cyan-rgb), .08), transparent 38%),
        var(--wp3-panel);
    box-shadow: var(--wp3-shadow);
    backdrop-filter: blur(20px) saturate(125%);
}

.wp3-reactor::before,
.wp3-reactor::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.wp3-reactor::before {
    inset: 0;
    opacity: .55;
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(var(--wp3-cyan-rgb), .06) 48% 48.1%, transparent 48.1%),
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 100% 100%, 100% 36px;
}

.wp3-reactor::after {
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--wp3-ember-rgb), .9), rgba(var(--wp3-cyan-rgb), .9), transparent);
}

.wp3-reactor__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    right: 8%;
    top: -170px;
    border-radius: 50%;
    background: rgba(var(--wp3-cyan-rgb), .14);
    filter: blur(90px);
    pointer-events: none;
}

.wp3-reactor__copy {
    position: relative;
    z-index: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wp3-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.wp3-eyebrow > span:last-child { color: var(--wp3-faint); }

.wp3-eyebrow__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wp3-cyan);
    box-shadow: 0 0 0 5px rgba(var(--wp3-cyan-rgb), .10), 0 0 18px rgba(var(--wp3-cyan-rgb), .8);
}

.wp3-reactor h1 {
    max-width: 700px;
    margin: 0;
    color: var(--wp3-text);
    font-size: clamp(2.1rem, 3.65vw, 4.2rem);
    line-height: .91;
    font-weight: 950;
    letter-spacing: -.065em;
    text-transform: uppercase;
    text-wrap: balance;
}

.wp3-reactor__copy > p {
    max-width: 630px;
    margin: 16px 0 0;
    color: var(--wp3-muted);
    font-size: .98rem;
    line-height: 1.55;
}

.wp3-reactor__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.wp3-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 16px;
    border: 1px solid var(--wp3-line-strong);
    border-radius: 13px;
    color: var(--wp3-text);
    background: rgba(255,255,255,.035);
    text-decoration: none;
    font: inherit;
    font-size: .84rem;
    font-weight: 850;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.wp3-btn:hover:not(:disabled) { transform: translateY(-2px); }
.wp3-btn:disabled { opacity: .42; cursor: default; }

.wp3-btn--primary {
    color: #061116;
    border-color: rgba(var(--wp3-cyan-rgb), .68);
    background: linear-gradient(135deg, #7ee9ff, var(--wp3-cyan));
    box-shadow: 0 12px 30px rgba(var(--wp3-cyan-rgb), .18);
}

[data-theme="light"] .wp3-btn--primary { color: #fff; background: linear-gradient(135deg, #0ca8d0, #087e9f); }

.wp3-btn--ghost:hover:not(:disabled) {
    border-color: rgba(var(--wp3-cyan-rgb), .42);
    background: rgba(var(--wp3-cyan-rgb), .08);
}

.wp3-metrics {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.wp3-metric {
    min-width: 76px;
    padding: 8px 10px;
    border: 1px solid var(--wp3-line);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
}

.wp3-metric span {
    display: block;
    color: var(--wp3-faint);
    font-size: .56rem;
    font-weight: 900;
    letter-spacing: .13em;
}

.wp3-metric strong {
    display: block;
    margin-top: 3px;
    font-size: 1.03rem;
    line-height: 1;
}

/* Signal deck */
.wp3-signal {
    position: relative;
    z-index: 2;
    min-width: 0;
    min-height: 272px;
    align-self: stretch;
    overflow: hidden;
    border: 1px solid var(--wp3-line);
    border-radius: 22px;
    background: #05070a;
    isolation: isolate;
}

[data-theme="light"] .wp3-signal { background: #dfe7e9; }

.wp3-signal__frame {
    position: absolute;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,.14);
    background: #0b0d12;
    box-shadow: 0 18px 44px rgba(0,0,0,.34);
    transition: transform .48s cubic-bezier(.22,.61,.36,1), opacity .28s ease;
}

.wp3-signal__frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity .32s ease, transform .65s ease;
}

.wp3-signal.has-images .wp3-signal__frame img { opacity: 1; transform: scale(1); }

.wp3-signal__frame--main {
    inset: 18px 38% 18px 18px;
    z-index: 2;
}

.wp3-signal__frame--top {
    top: 18px;
    right: 18px;
    width: 34%;
    height: calc(50% - 23px);
    z-index: 1;
    transform: rotate(1.4deg);
}

.wp3-signal__frame--bottom {
    right: 18px;
    bottom: 18px;
    width: 34%;
    height: calc(50% - 23px);
    z-index: 1;
    transform: rotate(-1.2deg);
}

.wp3-signal:hover .wp3-signal__frame--main { transform: scale(1.012); }
.wp3-signal:hover .wp3-signal__frame--top { transform: rotate(0deg) translateY(-2px); }
.wp3-signal:hover .wp3-signal__frame--bottom { transform: rotate(0deg) translateY(2px); }

.wp3-signal__scan {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: .24;
    background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.07) 4px);
    mix-blend-mode: overlay;
}

.wp3-signal__meta {
    position: absolute;
    z-index: 5;
    left: 34px;
    right: calc(38% + 14px);
    bottom: 32px;
    min-width: 0;
    padding: 12px 48px 12px 14px;
    text-align: left;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 13px;
    background: rgba(4,7,10,.78);
    backdrop-filter: blur(14px);
    cursor: pointer;
}

.wp3-signal__meta:disabled { cursor: default; opacity: .78; }
.wp3-signal__meta strong,
.wp3-signal__meta > span:not(.wp3-signal__label) { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp3-signal__meta strong { margin-top: 4px; font-size: 1rem; }
.wp3-signal__meta > span:not(.wp3-signal__label) { margin-top: 2px; color: rgba(255,255,255,.65); font-size: .73rem; }
.wp3-signal__label { color: var(--wp3-cyan); font-size: .56rem; font-weight: 900; letter-spacing: .13em; }
.wp3-signal__go { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 1.15rem; color: var(--wp3-cyan); }

/* ========================= CONSOLE ========================= */
.wp3-console {
    margin-top: 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    padding: 16px 18px;
    border: 1px solid var(--wp3-line);
    border-radius: 19px;
    background: var(--wp3-panel);
    backdrop-filter: blur(16px);
}

.wp3-console__title { min-width: 210px; }
.wp3-console__title > div { display: flex; align-items: baseline; gap: 12px; margin-top: 4px; }
.wp3-console h2 { margin: 0; font-size: 1.03rem; letter-spacing: -.03em; }
.wp3-console__summary { color: var(--wp3-faint); font-size: .72rem; white-space: nowrap; }
.wp3-console__chips-wrap { min-width: 0; position: relative; }
.wp3-console__chips { display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }

.wp3-chip {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid var(--wp3-line);
    border-radius: 999px;
    color: var(--wp3-muted);
    background: rgba(255,255,255,.025);
    font: inherit;
    font-size: .74rem;
    font-weight: 850;
    cursor: pointer;
    transition: .18s ease;
}

.wp3-chip:hover { color: var(--wp3-text); border-color: rgba(var(--wp3-cyan-rgb), .35); }
.wp3-chip.is-active {
    color: #051116;
    border-color: rgba(var(--wp3-cyan-rgb), .72);
    background: var(--wp3-cyan);
    box-shadow: 0 7px 18px rgba(var(--wp3-cyan-rgb), .15);
}
[data-theme="light"] .wp3-chip.is-active { color: #fff; }
.wp3-chip--more { color: var(--wp3-cyan); }
.wp3-console__hint { display: none; }

/* ========================= ARCHIVE ========================= */
.wp3-archive { margin-top: 22px; }
.wp3-archive__head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.wp3-archive__head h2 { margin: 4px 0 0; font-size: 1.45rem; line-height: 1; letter-spacing: -.04em; }
.wp3-page-readout { display: flex; align-items: center; gap: 12px; color: var(--wp3-muted); font-size: .72rem; }
.wp3-page-readout strong { padding: 6px 9px; color: var(--wp3-cyan); border: 1px solid var(--wp3-line); border-radius: 9px; background: rgba(255,255,255,.025); letter-spacing: .08em; }

.wp3-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.wp3-card {
    position: relative;
    min-width: 0;
    overflow: visible;
    animation: wp3-card-in .5s both;
    animation-delay: var(--wp3-delay, 0ms);
}

@keyframes wp3-card-in {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.wp3-card__stack {
    position: absolute;
    z-index: 0;
    inset: 9px 12px -7px;
    border-radius: 19px;
    border: 1px solid var(--wp3-line);
    background: var(--wp3-panel-2);
    transition: transform .24s ease;
}

.wp3-card.has-stack .wp3-card__stack--one { transform: rotate(-1.7deg) translate(-3px, 2px); }
.wp3-card.has-stack .wp3-card__stack--two { transform: rotate(1.6deg) translate(4px, 5px); opacity: .72; }
.wp3-card:hover .wp3-card__stack--one { transform: rotate(-2.8deg) translate(-7px, 5px); }
.wp3-card:hover .wp3-card__stack--two { transform: rotate(2.8deg) translate(8px, 7px); }

.wp3-card__surface {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 1px solid var(--wp3-line);
    border-radius: 20px;
    background: var(--wp3-panel-solid);
    box-shadow: 0 16px 36px rgba(0,0,0,.20);
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.wp3-card:hover .wp3-card__surface {
    transform: translateY(-5px);
    border-color: rgba(var(--wp3-cyan-rgb), .36);
    box-shadow: 0 22px 48px rgba(0,0,0,.30), 0 0 0 1px rgba(var(--wp3-cyan-rgb), .07);
}

.wp3-card.is-pinned .wp3-card__surface { border-color: rgba(var(--wp3-gold-rgb), .34); }

.wp3-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.85;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
    color: inherit;
    background: #080a0e;
    cursor: pointer;
}

.wp3-card__media > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.22,.61,.36,1), filter .22s ease;
}
.wp3-card:hover .wp3-card__media > img { transform: scale(1.035); }
.wp3-card.is-adult:not(.is-revealed) .wp3-card__media > img { filter: blur(16px) brightness(.52); transform: scale(1.08); }

.wp3-card__gradient {
    position: absolute;
    inset: 35% 0 0;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(5,7,10,.15) 32%, rgba(5,7,10,.92));
}

.wp3-card__badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.wp3-badge {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border-radius: 999px;
    color: #12100a;
    background: var(--wp3-gold);
    font-size: .61rem;
    font-weight: 950;
    letter-spacing: .035em;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(var(--wp3-gold-rgb), .18);
}
.wp3-badge--adult { margin-left: auto; color: #fff; background: var(--wp3-ember); }

.wp3-card__number {
    position: absolute;
    left: 14px;
    bottom: 14px;
    color: rgba(255,255,255,.88);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.wp3-card__peek {
    position: absolute;
    right: 12px;
    bottom: 11px;
    display: flex;
    gap: 5px;
}

.wp3-card__peek span {
    width: 28px;
    height: 36px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 7px;
    background: #111;
    box-shadow: 0 5px 12px rgba(0,0,0,.24);
    transform: translateY(0);
    transition: transform .2s ease;
}
.wp3-card:hover .wp3-card__peek span:nth-child(1) { transform: translateY(-4px) rotate(-2deg); }
.wp3-card:hover .wp3-card__peek span:nth-child(2) { transform: translateY(-7px); }
.wp3-card:hover .wp3-card__peek span:nth-child(3) { transform: translateY(-4px) rotate(2deg); }
.wp3-card__peek img { width: 100%; height: 100%; object-fit: cover; display: block; }

.wp3-card__body { padding: 12px 13px 13px; }
.wp3-card__title { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 10px; }
.wp3-card__title h3 { margin: 0; overflow: hidden; color: var(--wp3-text); font-size: .92rem; line-height: 1.15; font-weight: 900; letter-spacing: -.025em; white-space: nowrap; text-overflow: ellipsis; }
.wp3-card__title p { margin: 4px 0 0; overflow: hidden; color: var(--wp3-muted); font-size: .67rem; white-space: nowrap; text-overflow: ellipsis; }
.wp3-card__resolution { flex: 0 0 auto; padding: 5px 7px; border: 1px solid var(--wp3-line); border-radius: 8px; color: var(--wp3-muted); background: rgba(255,255,255,.025); font-size: .61rem; font-weight: 800; }

.wp3-card__footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 11px; }
.wp3-card__open,
.wp3-card__download {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 1px solid var(--wp3-line);
    border-radius: 10px;
    color: var(--wp3-text);
    background: rgba(255,255,255,.025);
    text-decoration: none;
    font: inherit;
    font-size: .7rem;
    font-weight: 850;
    cursor: pointer;
}
.wp3-card__open { justify-content: flex-start; padding: 0 10px; }
.wp3-card__open strong { color: var(--wp3-cyan); }
.wp3-card__download { width: 36px; }
.wp3-card__open:hover,
.wp3-card__download:hover { border-color: rgba(var(--wp3-cyan-rgb), .40); background: rgba(var(--wp3-cyan-rgb), .08); }

.wp3-status {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid var(--wp3-line);
    border-radius: 14px;
    color: var(--wp3-muted);
    background: var(--wp3-panel);
}

.wp3-pagination {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}
.wp3-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid var(--wp3-line);
    border-radius: 10px;
    color: var(--wp3-muted);
    background: var(--wp3-panel);
    font: inherit;
    font-size: .74rem;
    font-weight: 850;
    cursor: pointer;
}
.wp3-page-btn:hover:not(:disabled) { color: var(--wp3-text); border-color: rgba(var(--wp3-cyan-rgb), .38); }
.wp3-page-btn.is-active { color: #061116; background: var(--wp3-cyan); border-color: var(--wp3-cyan); }
[data-theme="light"] .wp3-page-btn.is-active { color: #fff; }
.wp3-page-btn:disabled { opacity: .35; cursor: default; }

/* Skeleton */
.wp3-card--skeleton .wp3-card__surface { overflow: hidden; }
.wp3-skeleton-media,
.wp3-skeleton-line { position: relative; overflow: hidden; background: rgba(255,255,255,.055); }
.wp3-skeleton-media { aspect-ratio: 4 / 4.85; }
.wp3-skeleton-line { height: 13px; margin: 13px; border-radius: 999px; }
.wp3-skeleton-line.short { width: 48%; }
.wp3-skeleton-media::after,
.wp3-skeleton-line::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.09), transparent);
    animation: wp3-shimmer 1.35s infinite;
}
@keyframes wp3-shimmer { to { transform: translateX(100%); } }

/* ========================= VIEWER ========================= */
.wp3-viewer {
    width: min(96vw, 1540px);
    height: min(92dvh, 940px);
    max-width: none;
    max-height: none;
    margin: auto;
    padding: 0;
    overflow: hidden;
    color: var(--wp3-text);
    border: 1px solid var(--wp3-line-strong);
    border-radius: 24px;
    background: var(--wp3-panel-solid);
    box-shadow: 0 44px 130px rgba(0,0,0,.68);
}
.wp3-viewer::backdrop { background: rgba(2,4,7,.84); backdrop-filter: blur(11px); }
[data-theme="light"] .wp3-viewer::backdrop { background: rgba(36,44,50,.56); }

.wp3-viewer__shell { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.wp3-viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border-bottom: 1px solid var(--wp3-line); background: var(--wp3-panel-solid); }
.wp3-viewer__identity { min-width: 0; }
.wp3-viewer__identity h2 { margin: 4px 0 0; overflow: hidden; font-size: 1.22rem; line-height: 1.1; white-space: nowrap; text-overflow: ellipsis; }
.wp3-viewer__identity p { margin: 5px 0 0; color: var(--wp3-muted); font-size: .74rem; }
.wp3-viewer__head-actions { display: flex; gap: 8px; }
.wp3-icon-btn { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--wp3-line); border-radius: 11px; color: var(--wp3-muted); background: rgba(255,255,255,.035); cursor: pointer; }
.wp3-icon-btn:hover { color: var(--wp3-text); border-color: rgba(var(--wp3-cyan-rgb), .38); }

.wp3-viewer__body { min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(350px, 390px); }
.wp3-viewer__stage { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 18px; background: #07090d; }
[data-theme="light"] .wp3-viewer__stage { background: #e9e6e1; }
.wp3-viewer__image-wrap { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--wp3-line); border-radius: 17px; background: #020305; }
[data-theme="light"] .wp3-viewer__image-wrap { background: #d9d7d3; }
.wp3-viewer__image-wrap img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; transition: opacity .16s ease, filter .18s ease; }
.wp3-viewer__image-wrap.is-loading img { opacity: .34; }
.wp3-viewer__image-wrap.is-adult:not(.is-revealed) img { filter: blur(22px) brightness(.45); transform: scale(1.03); }
.wp3-viewer__counter { position: absolute; right: 12px; bottom: 12px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; color: #fff; background: rgba(0,0,0,.58); font-size: .65rem; font-weight: 900; letter-spacing: .08em; }
.wp3-viewer__adult { position: absolute; inset: 0; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; background: rgba(4,6,8,.36); backdrop-filter: blur(4px); }
.wp3-viewer__adult[hidden] { display: none; }
.wp3-viewer__adult strong { font-size: 2rem; }
.wp3-viewer__adult span { color: rgba(255,255,255,.7); font-size: .78rem; }
.wp3-viewer__adult button { min-height: 36px; padding: 0 14px; border: 1px solid rgba(255,255,255,.24); border-radius: 10px; color: #fff; background: rgba(0,0,0,.55); font: inherit; font-weight: 850; cursor: pointer; }

.wp3-viewer__bar { min-height: 64px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding-top: 12px; }
.wp3-viewer__bar > div:first-child strong { display: block; margin-top: 4px; font-size: 1rem; }
.wp3-viewer__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.wp3-viewer__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(126px, 1fr));
    gap: 8px;
}
.wp3-viewer__fullscreen,
.wp3-viewer__download { min-width: 126px; }
.wp3-mini-badge { display: inline-flex; align-items: center; gap: 5px; min-height: 27px; padding: 0 8px; border: 1px solid var(--wp3-line); border-radius: 8px; color: var(--wp3-muted); background: rgba(255,255,255,.025); font-size: .63rem; font-weight: 800; }
.wp3-mini-badge.is-pinned { color: var(--wp3-gold); border-color: rgba(var(--wp3-gold-rgb), .30); }
.wp3-mini-badge.is-adult { color: #ff8b9b; border-color: rgba(var(--wp3-ember-rgb), .32); }

.wp3-viewer__film { min-height: 0; display: grid; grid-template-rows: auto minmax(0, 1fr); border-left: 1px solid var(--wp3-line); background: var(--wp3-panel-2); }
.wp3-viewer__film-head { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--wp3-line); }
.wp3-viewer__film-head strong { display: block; margin-top: 4px; font-size: .8rem; }
.wp3-viewer__keys { padding: 5px 8px; border: 1px solid var(--wp3-line); border-radius: 8px; color: var(--wp3-faint); font-size: .66rem; font-weight: 900; }
.wp3-filmstrip { min-height: 0; overflow-y: auto; padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: max-content; align-content: start; gap: 10px; overscroll-behavior: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--wp3-cyan) transparent; }
.wp3-filmstrip.is-dense { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wp3-thumb { position: relative; min-width: 0; aspect-ratio: .78; align-self: start; padding: 0; overflow: hidden; border: 1px solid var(--wp3-line); border-radius: 11px; background: #080a0e; cursor: pointer; }
.wp3-thumb img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s ease; }
.wp3-thumb:hover img { transform: scale(1.04); }
.wp3-thumb.is-active { border-color: var(--wp3-cyan); box-shadow: 0 0 0 1px var(--wp3-cyan), 0 0 22px rgba(var(--wp3-cyan-rgb), .15); }
.wp3-thumb__meta { position: absolute; left: 5px; right: 5px; bottom: 5px; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 5px 6px; border-radius: 7px; color: #fff; background: rgba(0,0,0,.64); backdrop-filter: blur(7px); font-size: .56rem; font-weight: 800; }
.wp3-filmstrip.is-dense .wp3-thumb__meta { left: 4px; right: 4px; bottom: 4px; padding: 4px 5px; font-size: .5rem; }

.wp3-viewer.is-focus { width: 100vw; height: 100dvh; border: 0; border-radius: 0; }
.wp3-viewer.is-focus .wp3-viewer__head { padding-top: max(14px, env(safe-area-inset-top)); }
.wp3-viewer.is-focus .wp3-viewer__stage { padding: 10px; }
.wp3-viewer.is-focus .wp3-viewer__image-wrap { border-radius: 10px; }

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1260px) {
    .wp3-reactor { grid-template-columns: minmax(0, .82fr) minmax(470px, 1.18fr); }
    .wp3-cards { gap: 14px; }
    .wp3-card__peek span:nth-child(3) { display: none; }
}

@media (max-width: 1040px) {
    .wp3-reactor { grid-template-columns: 1fr; min-height: 0; }
    .wp3-reactor__copy { padding-right: 0; }
    .wp3-reactor h1 { max-width: 850px; }
    .wp3-signal { min-height: 330px; }
    .wp3-console { grid-template-columns: 1fr; gap: 12px; }
    .wp3-console__chips { justify-content: flex-start; flex-wrap: wrap; }
    .wp3-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .wp3-page { padding-top: 14px; }
    .wp3-shell { width: min(calc(100% - 22px), 1580px); }
    .wp3-reactor { padding: 20px; gap: 18px; border-radius: 22px; }
    .wp3-reactor h1 { font-size: clamp(2rem, 10vw, 3rem); line-height: .94; }
    .wp3-reactor__copy > p { font-size: .88rem; }
    .wp3-signal { min-height: 280px; }
    .wp3-signal__frame--main { inset: 12px 39% 12px 12px; }
    .wp3-signal__frame--top,
    .wp3-signal__frame--bottom { right: 12px; width: 35%; }
    .wp3-signal__frame--top { top: 12px; height: calc(50% - 17px); }
    .wp3-signal__frame--bottom { bottom: 12px; height: calc(50% - 17px); }
    .wp3-signal__meta { left: 22px; right: calc(39% + 4px); bottom: 22px; }

    .wp3-console { padding: 15px; }
    .wp3-console__title > div { display: block; }
    .wp3-console__summary { display: block; margin-top: 5px; }
    .wp3-console__chips-wrap { overflow: hidden; margin: 0 -15px -2px; padding: 0 15px 2px; }
    .wp3-console__chips {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        padding: 2px 24px 3px 0;
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 28px), transparent 100%);
    }
    .wp3-console__chips::-webkit-scrollbar { display: none; }
    .wp3-console__chips-wrap.is-at-end .wp3-console__chips { mask-image: none; }
    .wp3-console__hint { margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; color: var(--wp3-cyan); font-size: .61rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
    .wp3-console__hint[hidden] { display: none; }
    .wp3-console__chips-wrap.is-at-end .wp3-console__hint { opacity: .42; }

    .wp3-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .wp3-archive__head { align-items: center; }
    .wp3-page-readout span { display: none; }
    .wp3-card__peek { display: none; }
    .wp3-card__media { aspect-ratio: 4 / 5; }

    .wp3-viewer { width: calc(100vw - 12px); height: min(94dvh, 980px); border-radius: 18px; }
    .wp3-viewer__body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
    .wp3-viewer__film { max-height: 180px; border-left: 0; border-top: 1px solid var(--wp3-line); }
    .wp3-viewer__film-head { min-height: 48px; padding: 8px 10px; }
    .wp3-filmstrip { overflow-x: auto; overflow-y: hidden; grid-auto-flow: column; grid-auto-columns: 92px; grid-template-columns: none; padding: 9px; }
    .wp3-viewer__stage { padding: 10px; }
    .wp3-viewer__bar { grid-template-columns: 1fr; align-items: stretch; }
    .wp3-viewer__actions { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wp3-viewer__badges { display: none; }
}

@media (max-width: 520px) {
    .wp3-reactor { padding: 18px 16px; }
    .wp3-eyebrow { font-size: .62rem; }
    .wp3-reactor h1 { font-size: clamp(1.86rem, 10.5vw, 2.55rem); }
    .wp3-reactor__actions { display: grid; grid-template-columns: 1fr 1fr; }
    .wp3-btn { min-height: 40px; padding-inline: 11px; font-size: .72rem; }
    .wp3-metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
    .wp3-metric { min-width: 0; }
    .wp3-signal { min-height: 240px; }
    .wp3-signal__frame--main { right: 34%; }
    .wp3-signal__frame--top,
    .wp3-signal__frame--bottom { width: 30%; }
    .wp3-signal__meta { left: 18px; right: 34%; bottom: 18px; padding-right: 35px; }
    .wp3-signal__meta strong { font-size: .84rem; }
    .wp3-signal__meta > span:not(.wp3-signal__label) { font-size: .62rem; }

    .wp3-archive__head h2 { font-size: 1.22rem; }
    .wp3-cards { gap: 10px; }
    .wp3-card__surface { border-radius: 16px; }
    .wp3-card__stack { border-radius: 15px; }
    .wp3-card__body { padding: 9px; }
    .wp3-card__title { grid-template-columns: 1fr; gap: 5px; }
    .wp3-card__title p { display: none; }
    .wp3-card__resolution { justify-self: start; }
    .wp3-card__footer { margin-top: 8px; }
    .wp3-card__open span { display: none; }
    .wp3-card__open { justify-content: center; }

    .wp3-viewer__head { padding: 12px; }
    .wp3-viewer__identity h2 { max-width: 220px; font-size: 1rem; }
    .wp3-viewer__identity p { max-width: 220px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .wp3-viewer__bar { min-height: 58px; gap: 8px; }
    .wp3-viewer__fullscreen, .wp3-viewer__download { min-width: 0; padding-inline: 10px; }
}

@media (max-width: 390px) {
    .wp3-cards { grid-template-columns: 1fr; }
    .wp3-card__media { aspect-ratio: 4 / 4.7; }
}

@media (prefers-reduced-motion: reduce) {
    .wp3-card,
    .wp3-signal__frame,
    .wp3-card__surface,
    .wp3-card__stack,
    .wp3-card__media > img { animation: none !important; transition: none !important; }
}

html.wp3-dialog-open { overflow: hidden; }

.wp3-signal.is-adult .wp3-signal__frame img {
    filter: blur(18px) brightness(.46);
    transform: scale(1.08);
}
.wp3-signal.is-adult .wp3-signal__meta::before {
    content: "18+ SIGNAL";
    display: inline-flex;
    margin-right: 7px;
    color: #ff8b9b;
    font-size: .56rem;
    font-weight: 950;
    letter-spacing: .11em;
}
