:root {
    --yt-bg: #0b0d12;
    --yt-bg-2: #11141b;
    --yt-card: #171b24;
    --yt-elevated: #1e2430;
    --yt-text: #f5f7fa;
    --yt-text-muted: #929baa;
    --yt-accent: #8b5cf6;
    --yt-accent-2: #06b6d4;
    --yt-border: #2a3140;
    --yt-border-soft: #222937;
    --yt-radius-sm: 10px;
    --yt-radius: 16px;
    --yt-radius-lg: 24px;
    --yt-space-1: 8px;
    --yt-space-2: 12px;
    --yt-space-3: 16px;
    --yt-space-4: 20px;
    --yt-space-5: 28px;
    --yt-space-6: 36px;
    --yt-shadow-1: 0 10px 30px rgba(0, 0, 0, 0.28);
    --yt-shadow-2: 0 18px 42px rgba(0, 0, 0, 0.4);
    --yt-container: min(1720px, calc(100vw - 28px));
    --yt-fs-body: clamp(0.92rem, 0.18vw + 0.86rem, 1rem);
    --yt-fs-small: clamp(0.78rem, 0.1vw + 0.74rem, 0.86rem);
    --yt-fs-h2: clamp(1.18rem, 0.95vw + 0.95rem, 1.72rem);
    --yt-fs-h1: clamp(1.52rem, 2vw + 1.06rem, 2.64rem);
}

* {
    box-sizing: border-box;
}

body.neonplay-theme {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(1000px 420px at 80% -12%, rgba(139, 92, 246, 0.14), transparent 58%),
        radial-gradient(860px 360px at 16% -16%, rgba(6, 182, 212, 0.1), transparent 55%),
        var(--yt-bg);
    color: var(--yt-text);
    font-family: "Inter", "Plus Jakarta Sans", "Manrope", "Segoe UI", sans-serif;
    line-height: 1.56;
    font-size: var(--yt-fs-body);
}

body.neonplay-theme.yt-light-mode {
    --yt-bg: #eef3f8;
    --yt-bg-2: #f6f9fc;
    --yt-card: #ffffff;
    --yt-elevated: #f5f8fc;
    --yt-text: #142131;
    --yt-text-muted: #5b687a;
    --yt-border: #cfdae8;
    --yt-border-soft: #dbe4ef;
    background:
        radial-gradient(900px 360px at 84% -16%, rgba(56, 189, 248, 0.22), transparent 58%),
        radial-gradient(780px 320px at 14% -20%, rgba(14, 165, 233, 0.2), transparent 55%),
        var(--yt-bg);
}

body.neonplay-theme.yt-light-mode .yt-header,
body.neonplay-theme.yt-light-mode .yt-section,
body.neonplay-theme.yt-light-mode .yt-article,
body.neonplay-theme.yt-light-mode .yt-related-sidebar,
body.neonplay-theme.yt-light-mode .yt-comments,
body.neonplay-theme.yt-light-mode .yt-footer,
body.neonplay-theme.yt-light-mode .yt-sidebar-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
}

body.neonplay-theme.yt-light-mode .yt-nav-toggle,
body.neonplay-theme.yt-light-mode .yt-header-search,
body.neonplay-theme.yt-light-mode .yt-header-search input,
body.neonplay-theme.yt-light-mode .yt-search-form,
body.neonplay-theme.yt-light-mode .yt-action-link,
body.neonplay-theme.yt-light-mode .yt-user-chip,
body.neonplay-theme.yt-light-mode .yt-action-icon,
body.neonplay-theme.yt-light-mode .yt-category-list a,
body.neonplay-theme.yt-light-mode .yt-inline-menu a {
    background: #f6f9fc;
    border-color: #cfdae8;
    color: #1a2738;
}

body.neonplay-theme.yt-light-mode .yt-action-link:hover,
body.neonplay-theme.yt-light-mode .yt-user-chip:hover,
body.neonplay-theme.yt-light-mode .yt-category-list a:hover,
body.neonplay-theme.yt-light-mode .yt-inline-menu a:hover {
    background: #ffffff;
    border-color: #b8c8dc;
}

body.neonplay-theme.yt-light-mode .yt-search-icon {
    color: #59708a;
    width: 30px;

}

body.neonplay-theme.yt-light-mode .yt-search-field {
    color: #18314d;
}

body.neonplay-theme.yt-light-mode .yt-search-submit {
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.16));
    border-left-color: #c7d5e6;
    color: #16304e;
}

body.neonplay-theme.yt-light-mode .yt-search-submit:hover {
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.28), rgba(14, 165, 233, 0.22));
}

body.neonplay-theme.yt-light-mode .yt-search-suggest {
    background: rgba(255, 255, 255, 0.98);
    border-color: #c7d5e6;
    box-shadow: 0 18px 42px rgba(28, 56, 91, 0.16);
}

body.neonplay-theme.yt-light-mode .yt-search-suggest-title,
body.neonplay-theme.yt-light-mode .yt-search-empty {
    color: #5b6f87;
}

body.neonplay-theme.yt-light-mode .yt-search-suggest-list a {
    color: #1a304a;
}

body.neonplay-theme.yt-light-mode .yt-search-suggest-list a:hover {
    background: #eef5ff;
}

body.neonplay-theme.yt-light-mode a:hover,
body.neonplay-theme.yt-light-mode a:focus {
    color: #0f2138;
}

body.neonplay-theme.yt-light-mode .yt-nav-group h3,
body.neonplay-theme.yt-light-mode .yt-nav-group-title {
    color: #5f7088;
}

body.neonplay-theme.yt-light-mode .yt-sidebar-menu a {
    color: #25364d;
}

body.neonplay-theme.yt-light-mode .yt-sidebar-menu a:hover,
body.neonplay-theme.yt-light-mode .yt-sidebar-menu a.is-current-link,
body.neonplay-theme.yt-light-mode .is-current-link {
    border-color: #b7c8de;
    background: #eef4fb;
    color: #0f2138;
}

body.neonplay-theme.yt-light-mode .yt-sidebar-close {
    background: #f3f8ff;
    border-color: #c7d5e6;
    color: #19314e;
}

body.neonplay-theme.yt-light-mode .yt-sidebar-close:hover {
    background: #ffffff;
    border-color: #9fb5cf;
    color: #0f2138;
}

body.neonplay-theme.yt-light-mode .yt-card {
    background: linear-gradient(180deg, #ffffff, #f5f9ff);
    border-color: #d5e0ee;
}

body.neonplay-theme.yt-light-mode .yt-card:hover {
    border-color: #9fb5cf;
}

body.neonplay-theme.yt-light-mode .yt-card-title,
body.neonplay-theme.yt-light-mode .yt-card-title a {
    color: #12253c;
}

body.neonplay-theme.yt-light-mode .yt-card-meta span {
    color: #475a73;
    border-color: #c7d5e6;
    background: #f3f8ff;
}

body.neonplay-theme.yt-light-mode .yt-card-developer-thumb {
    border-color: #c7d5e6;
    background: #e9f1fb;
}

body.neonplay-theme.yt-light-mode .yt-card-developer-name {
    color: #4d607a;
}

body.neonplay-theme.yt-light-mode .yt-featured-carousel-wrap,
body.neonplay-theme.yt-light-mode .yt-popular,
body.neonplay-theme.yt-light-mode .yt-updated {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96));
}

body.neonplay-theme.yt-light-mode .yt-featured-link {
    background: #ffffff;
    border-color: #cfdae8;
}

body.neonplay-theme.yt-light-mode .yt-featured-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(244, 249, 255, 0.94));
}

body.neonplay-theme.yt-light-mode .yt-featured-overlay strong {
    color: #12253c;
}

body.neonplay-theme.yt-light-mode .yt-featured-overlay small {
    color: #4a6079;
}

body.neonplay-theme.yt-light-mode .yt-popular-card {
    background: linear-gradient(180deg, #ffffff, #f5f9ff);
    border-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-popular-card:hover {
    border-color: #9fb5cf;
}

body.neonplay-theme.yt-light-mode .yt-popular-thumb {
    background: #e9f1fb;
}

body.neonplay-theme.yt-light-mode .yt-popular-body strong {
    color: #12253c;
}

body.neonplay-theme.yt-light-mode .yt-popular-body small {
    color: #4a6079;
}

body.neonplay-theme.yt-light-mode .yt-popular-play {
    border-color: #c2d2e6;
    background: #f0f6ff;
    color: #1b3656;
}

body.neonplay-theme.yt-light-mode .yt-rank {
    border-color: #b9cce3;
    background: #eff5fd;
    color: #1c3554;
}

body.neonplay-theme.yt-light-mode .yt-rank.is-top-1 {
    background: #dc2626;
    border-color: #b9cce3;
    color: #ffffff;
}

body.neonplay-theme.yt-light-mode .yt-rank.is-top-2 {
    background: #f97316;
    border-color: #b9cce3;
    color: #ffffff;
}

body.neonplay-theme.yt-light-mode .yt-rank.is-top-3 {
    background: #eab308;
    border-color: #b9cce3;
    color: #1f2937;
}

body.neonplay-theme.yt-light-mode .yt-rank.is-top-4 {
    background: #84cc16;
    border-color: #b9cce3;
    color: #1f2937;
}

body.neonplay-theme.yt-light-mode .yt-rank.is-top-5 {
    background: #16a34a;
    border-color: #b9cce3;
    color: #ffffff;
}

body.neonplay-theme.yt-light-mode .yt-rank.is-below-top {
    background: #e9f2fc;
}

body.neonplay-theme.yt-light-mode .yt-updated-item {
    background: #ffffff;
    border-color: #d3dfed;
}

body.neonplay-theme.yt-light-mode .yt-updated-body strong {
    color: #11263f;
}

body.neonplay-theme.yt-light-mode .yt-updated-body small {
    color: #4b6079;
}

body.neonplay-theme.yt-light-mode .yt-entry-meta span {
    border-color: #c7d5e6;
    background: #f3f8ff;
    color: #425874;
}

body.neonplay-theme.yt-light-mode .yt-game-player-shell {
    background: #ffffff;
    border-color: #d2deed;
    box-shadow: 0 12px 28px rgba(24, 52, 84, 0.12);
}

body.neonplay-theme.yt-light-mode .yt-player-frame,
body.neonplay-theme.yt-light-mode .yt-player-cover {
    background-color: #eef4fb;
}

body.neonplay-theme.yt-light-mode .yt-player-cover {
    box-shadow: inset 0 0 0 9999px rgba(255, 255, 255, 0.2);
}

body.neonplay-theme.yt-light-mode .yt-player-tools {
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.96)); */
    border-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-player-btn {
    background: #f3f8ff;
    border-color: #c7d5e6;
    color: #19314e;
}

body.neonplay-theme.yt-light-mode .yt-player-btn:hover {
    background: #ffffff;
    border-color: #9fb5cf;
}

body.neonplay-theme.yt-light-mode .yt-game-utility-bar {
    background: linear-gradient(180deg, #ffffff, #f6f9fe);
    border-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-game-utility-label {
    color: #4b6079;
}

body.neonplay-theme.yt-light-mode .yt-game-utility-actions .yt-player-btn,
body.neonplay-theme.yt-light-mode .yt-game-utility-actions .yt-player-download {
    background: #f3f8ff;
    border-color: #c7d5e6;
    color: #19314e;
}

body.neonplay-theme.yt-light-mode .yt-game-utility-actions .yt-player-btn:hover,
body.neonplay-theme.yt-light-mode .yt-game-utility-actions .yt-player-download:hover {
    background: #ffffff;
    border-color: #9fb5cf;
}

body.neonplay-theme.yt-light-mode .yt-game-info-grid,
body.neonplay-theme.yt-light-mode .yt-tag-cloud,
body.neonplay-theme.yt-light-mode .yt-detail-panel,
body.neonplay-theme.yt-light-mode .yt-game-detail-panel,
body.neonplay-theme.yt-light-mode .yt-description-panel {
    background: linear-gradient(180deg, #ffffff, #f6f9fe);
    border-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-tag-list a {
    background: #f2f7ff;
    border-color: #c7d5e6;
    color: #4a6079;
}

body.neonplay-theme.yt-light-mode .yt-tag-list a:hover {
    border-color: #9fb5cf;
    color: #173254;
}

body.neonplay-theme.yt-light-mode .yt-description-panel summary {
    background: #f3f8ff;
    color: #142d4a;
}

body.neonplay-theme.yt-light-mode .yt-expandable-content::after {
    background: linear-gradient(180deg, rgba(246, 249, 254, 0), rgba(246, 249, 254, 0.98));
}

body.neonplay-theme.yt-light-mode .yt-expand-toggle {
    background: #eef5ff;
    border-color: #c5d6ea;
    color: #173152;
}

body.neonplay-theme.yt-light-mode .yt-expand-toggle:hover {
    background: #ffffff;
    border-color: #93b1d1;
}

body.neonplay-theme.yt-light-mode .yt-controls-tab {
    background: #f2f7ff;
    border-color: #c5d6ea;
    color: #415b79;
}

body.neonplay-theme.yt-light-mode .yt-controls-tab:hover {
    border-color: #98b2d1;
    color: #1a3657;
}

body.neonplay-theme.yt-light-mode .yt-controls-tab.is-active {
    background: linear-gradient(135deg, #e6f1ff, #d5e8ff);
    border-color: #7ea6d6;
    color: #133456;
}

body.neonplay-theme.yt-light-mode .yt-controls-content {
    background: #ffffff;
    border-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-controls-table thead th {
    background: #f2f7ff;
    color: #4a6079;
}

body.neonplay-theme.yt-light-mode .yt-controls-table th,
body.neonplay-theme.yt-light-mode .yt-controls-table td {
    border-bottom-color: #d4e0ef;
    color: #1a3250;
}

body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content p,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content li,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content h1,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content h2,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content h3,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content h4,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content h5,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content h6,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content strong {
    color: #162b45;
}

body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content a {
    color: #1c4f83;
}

body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content a:hover,
body.neonplay-theme.yt-light-mode .yt-description-panel .yt-entry-content a:focus {
    color: #0f355e;
}

body.neonplay-theme.yt-light-mode .yt-player-source-picker {
    background: #f5f9ff;
    border-top-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-player-source-heading > .dashicons {
    background: linear-gradient(145deg, #eaf2fd, #dce9fa);
    border-color: #bfd2ea;
    color: #2f5f91;
}

body.neonplay-theme.yt-light-mode .yt-source-option,
body.neonplay-theme.yt-light-mode .yt-source-build {
    background: #ffffff;
    border-color: #c9d8ea;
    color: #18314d;
}

body.neonplay-theme.yt-light-mode .yt-source-option:hover {
    border-color: #98b2d1;
}

body.neonplay-theme.yt-light-mode .yt-source-option.is-active {
    border-color: #7ea6d6;
    background: linear-gradient(135deg, #edf4ff, #dfeefe);
    box-shadow: inset 0 0 0 1px rgba(126, 166, 214, 0.24);
}

body.neonplay-theme.yt-light-mode .yt-source-play {
    background: #e3efff;
    border-color: #a9c4e5;
    color: #1e4f83;
}

body.neonplay-theme.yt-light-mode .yt-source-build > .dashicons {
    background: #eaf2fd;
    color: #2b5a8b;
}

body.neonplay-theme.yt-light-mode .yt-source-build select {
    background: #f7fbff;
    border-color: #c8d8ea;
    color: #173152;
}

body.neonplay-theme.yt-light-mode .yt-professional-facts > div {
    background: #f6faff;
    border-color: #d4e0ee;
}

body.neonplay-theme.yt-light-mode .yt-professional-facts dd {
    color: #1b3350;
}

body.neonplay-theme.yt-light-mode .yt-info-badge {
    background: rgba(71, 110, 197, 0.14);
    color: #2a4f86;
}

body.neonplay-theme.yt-light-mode .yt-developer-patreon {
    background: #f3f8ff;
    border-color: #c8d8ea;
    color: #1b3656;
}

body.neonplay-theme.yt-light-mode .yt-members-modal-card {
    background: linear-gradient(180deg, #ffffff, #f6f9ff);
    border-color: #c9d8ea;
    box-shadow: 0 24px 70px rgba(24, 52, 84, 0.28);
}

body.neonplay-theme.yt-light-mode .yt-members-modal-close {
    background: #edf4ff;
    border-color: #c6d6e9;
    color: #1c3656;
}

body.neonplay-theme.yt-light-mode .yt-comments .comment-body {
    background: #ffffff;
    border-color: #d3dfed;
    color: #1a304b;
}

body.neonplay-theme.yt-light-mode .yt-comments input,
body.neonplay-theme.yt-light-mode .yt-comments textarea {
    background: #f6faff;
    border-color: #c9d8ea;
    color: #1a304b;
}

body.neonplay-theme.yt-light-mode .yt-comments .comment-metadata,
body.neonplay-theme.yt-light-mode .yt-comments .logged-in-as,
body.neonplay-theme.yt-light-mode .yt-comments .comment-notes,
body.neonplay-theme.yt-light-mode .yt-comments .comment-reply-link {
    color: #4b6079;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: #2a3242;
    border-radius: 999px;
    border: 2px solid #111722;
}

::-webkit-scrollbar-track {
    background: #111722;
}

a {
    color: var(--yt-text);
    text-decoration: none;
}

a:hover,
a:focus {
    color: #fff;
}

:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--yt-accent-2) 70%, white 30%);
    outline-offset: 2px;
}

.site {
    width: var(--yt-container);
    margin: 0 auto;
}

.yt-header {
    position: sticky;
    top: 0;
    z-index: 90;
    margin-top: 10px;
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius-lg);
    background: linear-gradient(180deg, rgba(17, 20, 27, 0.97), rgba(13, 16, 23, 0.95));
    box-shadow: var(--yt-shadow-1);
    backdrop-filter: blur(12px);
}

.yt-header-inner {
    display: grid;
    grid-template-columns: auto minmax(200px, 1fr) minmax(340px, 1.6fr) auto;
    align-items: center;
    gap: var(--yt-space-3);
    padding: 10px 16px;
}

.yt-nav-toggle {
    width: 42px;
    height: 42px;
    border: 1px solid var(--yt-border);
    border-radius: 12px;
    background: #151a24;
    color: var(--yt-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.yt-nav-toggle:hover {
    background: #1d2431;
    border-color: #3d4658;
}

.yt-nav-toggle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.yt-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.yt-logo img {
    max-height: 42px;
    width: auto;
}

.yt-site-title {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    display: block;
}

.yt-tagline {
    margin: 0;
    color: var(--yt-text-muted);
    font-size: 0.76rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-header-search {
    position: relative;
}

.yt-search-form {
    display: flex;
    align-items: center;
    border: 1px solid var(--yt-border);
    background: #111722;
    border-radius: 14px;
    overflow: hidden;
}

.yt-search-icon {
    color: var(--yt-text-muted);
    padding-left: 10px;
}

.yt-search-form label {
    flex: 1;
}

.yt-search-field {
    width: 100%;
    border: 0;
    background: transparent;
    color: var(--yt-text);
    padding: 12px;
    font-size: 0.95rem;
}

.yt-search-field:focus {
    outline: none;
}

.yt-search-submit {
    border: 0;
    border-left: 1px solid var(--yt-border);
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.3), rgba(6, 182, 212, 0.22));
    color: var(--yt-text);
    font-weight: 600;
    padding: 12px 16px;
    cursor: pointer;
}

.yt-search-suggest {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(23, 27, 36, 0.98);
    border: 1px solid var(--yt-border);
    border-radius: 14px;
    box-shadow: var(--yt-shadow-2);
    padding: 10px;
}

.yt-search-suggest-title {
    margin: 0 0 8px;
    color: var(--yt-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.yt-search-suggest-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 4px;
}

.yt-search-suggest-list a,
.yt-search-empty {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--yt-text);
    font-size: 0.88rem;
}

.yt-search-suggest-list a:hover {
    background: #1d2430;
}

.yt-search-empty {
    color: var(--yt-text-muted);
}

.yt-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yt-action-link,
.yt-user-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--yt-border);
    background: #151b26;
    color: var(--yt-text);
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yt-action-link:hover,
.yt-user-chip:hover {
    transform: translateY(-1px);
    border-color: #49536a;
    background: #1d2431;
}

.yt-action-icon {
    width: 38px;
    height: 38px;
    border: 1px solid var(--yt-border);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #151b26;
}

.yt-theme-toggle {
    appearance: none;
    cursor: pointer;
    color: var(--yt-text);
}

.yt-vip-link {
    border-color: rgba(139, 92, 246, 0.56);
    background: linear-gradient(120deg, rgba(139, 92, 246, 0.32), rgba(6, 182, 212, 0.22));
}

.yt-category-nav {
    border-top: 1px solid var(--yt-border-soft);
    padding: 10px 16px 14px;
    max-height: 76px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: transform 0.24s ease, opacity 0.24s ease, max-height 0.24s ease, padding 0.24s ease, border-color 0.24s ease;
    transform-origin: top;
    will-change: max-height, opacity, transform;
}

.yt-category-nav::-webkit-scrollbar {
    display: none;
}

.yt-category-nav.is-hidden {
    transform: translateY(-10px);
    opacity: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
    overflow: hidden;
    pointer-events: none;
}

.yt-category-list,
.yt-inline-menu,
.yt-social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px;
    white-space: nowrap;
}

.yt-category-list a,
.yt-inline-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--yt-border);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.8rem;
    color: var(--yt-text-muted);
    background: #121924;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.yt-category-list a:hover,
.yt-inline-menu a:hover {
    color: var(--yt-text);
    border-color: #3e4760;
}

.yt-ad-header {
    margin-top: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.yt-shell {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 18px;
    margin-top: 16px;
}

.yt-sidebar {
    position: sticky;
    top: 118px;
    max-height: calc(100vh - 130px);
    overflow: hidden;
    margin-bottom: 20px;
}

.yt-sidebar-inner {
    height: 100%;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border: 1px solid var(--yt-border);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(17, 20, 27, 0.95), rgba(14, 17, 25, 0.95));
    padding: 14px;
}

.yt-sidebar-inner::-webkit-scrollbar {
    display: none;
}

.yt-sidebar-close {
    display: none;
    width: 100%;
    border: 1px solid var(--yt-border);
    border-radius: 10px;
    background: #1a202b;
    color: var(--yt-text);
    font-weight: 600;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    margin-bottom: 10px;
}

.yt-nav-group {
    margin-bottom: 14px;
}

.yt-nav-group h3,
.yt-nav-group-title {
    margin: 0 0 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7e899e;
    padding-left: 2px;
}

.yt-sidebar-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 5px;
}
.yt-sidebar-menu-engines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yt-engine-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
    display: block;
}

.yt-sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 11px;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #ccd4e6;
    font-size: 0.86rem;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.yt-sidebar-menu a:hover,
.yt-sidebar-menu a.is-current-link,
.is-current-link {
    border-color: #3c4860;
    background: #1a2230;
    transform: translateX(2px);
    color: #fff;
}

.yt-main-content {
    min-width: 0;
}

.yt-home-widgets,
.yt-section,
.yt-article,
.yt-related-sidebar,
.yt-comments,
.yt-empty-state {
    border: 1px solid var(--yt-border);
    border-radius: var(--yt-radius);
    background: linear-gradient(180deg, rgba(23, 27, 36, 0.94), rgba(19, 23, 32, 0.94));
    box-shadow: var(--yt-shadow-1);
    padding: 18px;
    margin-bottom: 18px;
}

.yt-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.yt-section-head h1,
.yt-section-head h2,
.yt-entry-title {
    margin: 0;
    font-weight: 700;
    font-size: var(--yt-fs-h2);
    letter-spacing: 0.01em;
    line-height: 1.2;
}

.yt-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.yt-section-title .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: var(--yt-accent-2);
}

.yt-head-more {
    color: var(--yt-text-muted);
    font-size: 0.84rem;
}

.yt-head-more:hover {
    color: #fff;
}

.yt-hero {
    position: relative;
    border-radius: 24px;
    border: 1px solid var(--yt-border);
    overflow: hidden;
    min-height: clamp(300px, 42vw, 460px);
    margin-bottom: 18px;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    box-shadow: var(--yt-shadow-2);
}

.yt-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 10, 14, 0.86), rgba(8, 10, 14, 0.26) 64%),
        linear-gradient(180deg, rgba(8, 10, 14, 0.2), rgba(8, 10, 14, 0.72));
}

.yt-hero-content {
    position: relative;
    z-index: 2;
    max-width: min(56ch, 62%);
    padding: clamp(24px, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.yt-hero-kicker {
    margin: 0;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #c2b6ff;
}

.yt-hero-title {
    margin: 0;
    font-size: var(--yt-fs-h1);
    line-height: 1.08;
}

.yt-hero-description {
    margin: 0;
    color: #d0d8ea;
    font-size: clamp(0.9rem, 0.23vw + 0.84rem, 1.02rem);
}

.yt-hero-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.yt-hero-meta span {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 20, 30, 0.56);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.76rem;
}

.yt-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.yt-featured-strip {
    background: linear-gradient(180deg, rgba(30, 36, 48, 0.66), rgba(22, 27, 37, 0.92));
}

.yt-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 11px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 14px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yt-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.yt-button-primary {
    background: linear-gradient(120deg, var(--yt-accent), var(--yt-accent-2));
}

.yt-button-ghost,
.yt-button-secondary {
    border-color: var(--yt-border);
    background: #1b2230;
}

.yt-carousel-row {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(260px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.yt-featured-carousel-wrap {
    background: linear-gradient(180deg, rgba(26, 30, 42, 0.92), rgba(19, 23, 32, 0.94));
}

.yt-carousel-controls {
    display: flex;
    gap: 8px;
}

.yt-carousel-btn {
    width: 34px;
    height: 34px;
    border: 1px solid var(--yt-border);
    border-radius: 10px;
    background: #1b2331;
    color: var(--yt-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.yt-carousel-btn:hover {
    background: #243149;
    border-color: #4b5f7d;
}

body.neonplay-theme.yt-light-mode .yt-carousel-btn {
    background: #f3f8ff;
    border-color: #c7d5e6;
    color: #1b3657;
}

body.neonplay-theme.yt-light-mode .yt-carousel-btn:hover {
    background: #ffffff;
    border-color: #9fb5cf;
}

.yt-featured-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(380px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-behavior: smooth;
    overflow: hidden;
}

.yt-featured-slide {
    min-width: 0;
}

.yt-featured-link {
    display: block;
    position: relative;
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    overflow: hidden;
    background: #171d2a;
}

.yt-featured-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.yt-featured-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(11, 15, 24, 0.76);
    color: #fff;
    padding: 8px 13px;
    font-size: 0.8rem;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.yt-featured-link:hover .yt-featured-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.yt-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}

.yt-featured-link:hover .yt-featured-thumb img {
    transform: scale(1.04);
}

.yt-featured-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    display: grid;
    gap: 4px;
    background: linear-gradient(180deg, rgba(7, 10, 15, 0.05), rgba(7, 10, 15, 0.82));
}

.yt-featured-overlay strong {
    font-size: 0.95rem;
    line-height: 1.3;
}

.yt-featured-overlay small {
    color: #c3cce1;
    font-size: 0.78rem;
}

.yt-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.yt-card {
    background: linear-gradient(180deg, #191f2a, #151b25);
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.yt-card:hover {
    transform: translateY(-4px);
    border-color: #44516a;
    box-shadow: var(--yt-shadow-1);
}

.yt-card-thumb {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.yt-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.36s ease;
}

.yt-card:hover .yt-card-thumb img {
    transform: scale(1.08);
}

.yt-card-play {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(13, 18, 26, 0.75);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.8rem;
    letter-spacing: 0.03em;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.yt-card-play .dashicons {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

.yt-card:hover .yt-card-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.yt-card-badge,
.yt-card-vip {
    position: absolute;
    bottom: 10px;
    font-size: 0.72rem;
    border-radius: 999px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
}

.yt-card-badge {
    left: 10px;
    background: rgba(14, 18, 25, 0.72);
}

.yt-card-vip {
    right: 10px;
    background: rgba(139, 92, 246, 0.72);
}

.yt-card-body {
    padding: 12px;
}

.yt-card-title {
    margin: 0 0 7px;
    font-size: 0.97rem;
    line-height: 1.35;
}

.yt-card-title,
.yt-card-title a,
.yt-featured-overlay strong,
.yt-popular-body strong,
.yt-updated-body strong {
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yt-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 7px;
}

.yt-card-meta span {
    font-size: 0.73rem;
    color: var(--yt-text-muted);
    border: 1px solid #2b3342;
    border-radius: 999px;
    padding: 2px 8px;
}

.yt-card-developer {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.yt-card-developer-thumb {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #141a24;
    flex-shrink: 0;
}

.yt-card-developer-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yt-card-developer-name {
    color: #c0c8da;
    font-size: 0.82rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-popular-list {
    display: grid;
    gap: 10px;
}

.yt-popular {
    background: linear-gradient(180deg, rgba(27, 30, 43, 0.92), rgba(20, 24, 34, 0.94));
}

.yt-popular-item {
    grid-template-columns: 62px 1fr;
    gap: 10px;
    align-items: center;
}

.yt-rank {
    border: 1px solid var(--yt-border);
    border-radius: 12px;
    background: #1c2330;
    font-weight: 700;
    text-align: center;
    padding: 10px 6px;
    color: #b5bdd0;
}

.yt-updated-list {
    display: grid;
    gap: 8px;
}

.yt-updated {
    background: linear-gradient(180deg, rgba(22, 29, 41, 0.92), rgba(18, 23, 33, 0.95));
}

.yt-updated-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 10px;
    align-items: center;
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #171e29;
    padding: 8px;
}

.yt-updated-thumb {
    width: 70px;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
}

.yt-updated-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yt-updated-body {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.yt-updated-body strong {
    font-size: 0.86rem;
    line-height: 1.35;
}

.yt-updated_body small {
    color: var(--yt-text-muted);
}

.yt-shell-single .yt-main-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
}

.yt-shell-single .yt-main-content > .comments-area,
.yt-shell-single .yt-main-content > #wpdcom,
.yt-shell-single .yt-main-content > .wpdiscuz_unauth {
    grid-column: 1 / -1;
    width: 100%;
}

.yt-shell-single .yt-main-content .wpdiscuz_top_clearing {
    clear: both;
    float: none;
    width: 100%;
}

.yt-mini-info {
    position: sticky;
    top: 88px;
    z-index: 70;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--yt-border);
    border-radius: 14px;
    background: rgba(20, 24, 33, 0.92);
    backdrop-filter: blur(10px);
    padding: 9px 12px;
    margin-bottom: 12px;
    box-shadow: var(--yt-shadow-1);
}

.yt-mini-info.is-visible {
    display: flex;
}

.yt-mini-info-main {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.yt-mini-info-main strong {
    font-size: 0.88rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yt-mini-info-main span {
    font-size: 0.76rem;
    color: var(--yt-text-muted);
}

.yt-mini-info-actions {
    display: flex;
    gap: 8px;
}

.yt-mini-info-actions .yt-button {
    padding: 7px 10px;
    font-size: 0.78rem;
}

.yt-entry-head {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.yt-entry-head-main {
    min-width: 0;
    flex: 1 1 280px;
}

.yt-entry-rating {
    flex: 0 0 auto;
    min-width: 168px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid var(--yt-border);
    background: rgba(23, 29, 42, 0.85);
    align-self: center;
}

.yt-entry-rating-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.yt-entry-rating-top {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    line-height: 1.2;
}

.yt-entry-rating-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
}

.yt-entry-rating.is-empty .yt-entry-rating-icon {
    color: var(--yt-text-muted);
}

.yt-entry-rating-percent {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--yt-text);
}

.yt-entry-rating-total {
    color: var(--yt-text-muted);
    font-size: 0.78rem;
    font-weight: 600;
    margin-left: auto;
}

.yt-entry-rating-bar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.24);
    overflow: hidden;
}

.yt-entry-rating-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #38bdf8);
    transition: width 0.25s ease;
}

body.neonplay-theme.yt-light-mode .yt-entry-rating {
    background: #f5f9ff;
    border-color: #c7d5e6;
}

body.neonplay-theme.yt-light-mode .yt-entry-rating-bar {
    background: rgba(100, 116, 139, 0.22);
}

.yt-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--yt-text-muted);
    font-size: 0.82rem;
    margin-top: 8px;
}

.yt-entry-meta span {
    border: 1px solid #2f3747;
    border-radius: 999px;
    padding: 3px 9px;
}

.yt-player-wrap {
    position: relative;
    border: 1px solid var(--yt-border);
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    margin-bottom: 12px;
}

.yt-player-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(500px 220px at 20% 20%, rgba(139, 92, 246, 0.24), transparent 70%), rgba(8, 10, 14, 0.82);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 14px;
}

.yt-player-overlay small {
    max-width: 420px;
    color: #ccd5e7;
    text-align: center;
    margin: -8px 0 2px;
}

.yt-player-overlay > .dashicons {
    width: 38px;
    height: 38px;
    font-size: 38px;
    color: #b7c6eb;
}

.yt-player-spinner {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top-color: var(--yt-accent-2);
    animation: yt-spin 0.8s linear infinite;
}

[data-player-shell].is-loading .yt-player-overlay,
[data-player-shell].is-error .yt-player-overlay {
    display: flex;
}

[data-player-shell].is-ready .yt-player-overlay {
    display: none;
}

[data-player-shell].is-error .yt-player-overlay {
    background: rgba(10, 12, 17, 0.88);
}

.yt-game-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.yt-player-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    border-radius: 12px;
    /* background: linear-gradient(180deg, rgba(25, 33, 48, 0.96), rgba(18, 23, 34, 0.96)); */
    padding: 8px 8px 0px;
}

.yt-vote-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--yt-border);
    border-radius: 9px;
    background: #1a2130;
    overflow: hidden;
    flex-shrink: 0;
}

.yt-vote-pill.is-submitting {
    opacity: 0.7;
    pointer-events: none;
}

.yt-vote-pill.is-shake {
    animation: yt-vote-shake 0.32s ease;
}

@keyframes yt-vote-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

@keyframes yt-vote-pop {
    0% { transform: scale(1); }
    45% { transform: scale(1.16); }
    100% { transform: scale(1); }
}

.yt-vote-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--yt-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    font-size: 0.82rem;
    font-weight: 700;
    height: 36px;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease;
}

.yt-vote-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.yt-vote-pill.is-locked .yt-vote-btn,
.yt-vote-pill.is-voted .yt-vote-dislike.is-active {
    cursor: default;
}

.yt-vote-divider {
    width: 1px;
    height: 20px;
    background: var(--yt-border);
    flex-shrink: 0;
}

.yt-vote-icon-filled {
    display: none;
}

.yt-vote-btn.is-active .yt-vote-icon-outline {
    display: none;
}

.yt-vote-btn.is-active .yt-vote-icon-filled {
    display: inline-block;
}

.yt-vote-btn.is-pop .yt-vote-icon {
    animation: yt-vote-pop 0.32s ease;
}

.yt-vote-like.is-active {
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
}

.yt-vote-dislike.is-active {
    background: rgba(239, 68, 68, 0.18);
    color: #f87171;
}

.yt-vote-count {
    font-variant-numeric: tabular-nums;
}

body.neonplay-theme.yt-light-mode .yt-vote-pill {
    background: #f3f8ff;
    border-color: #c7d5e6;
}

body.neonplay-theme.yt-light-mode .yt-vote-btn {
    color: #19314e;
}

body.neonplay-theme.yt-light-mode .yt-vote-btn:hover {
    background: #e5effd;
}

body.neonplay-theme.yt-light-mode .yt-vote-divider {
    background: #c7d5e6;
}

body.neonplay-theme.yt-light-mode .yt-vote-like.is-active {
    background: rgba(22, 163, 74, 0.16);
    color: #15803d;
}

body.neonplay-theme.yt-light-mode .yt-vote-dislike.is-active {
    background: rgba(220, 38, 38, 0.14);
    color: #b91c1c;
}

.yt-player-tool-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
}

.yt-player-btn {
    border: 1px solid var(--yt-border);
    border-radius: 9px;
    background: #1a2130;
    color: var(--yt-text);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 10px;
    cursor: pointer;
}

.yt-player-btn,
.yt-game-actions .yt-button,
.yt-player-overlay .yt-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.yt-player-btn .dashicons,
.yt-game-actions .yt-button .dashicons,
.yt-player-overlay .yt-button .dashicons {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

.yt-player-btn:hover {
    background: #26324a;
    border-color: #455877;
}

.yt-player-btn.is-active {
    border-color: rgba(56, 189, 248, 0.68);
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.28), rgba(14, 165, 233, 0.22));
}

.yt-game-utility-bar {
    display: grid;
    gap: 12px;
    border: 1px solid var(--yt-border-soft);
    background: linear-gradient(180deg, rgba(24, 31, 45, 0.96), rgba(18, 24, 35, 0.96));
    padding: 12px;
    margin-bottom: 14px;
}

.yt-game-utility-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--yt-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.yt-game-utility-label .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
    color: var(--yt-accent-2);
}

.yt-game-utility-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
    gap: 8px;
}

.yt-game-utility-actions .yt-player-btn,
.yt-game-utility-actions .yt-player-download {
    justify-content: center;
    min-height: 40px;
    border-radius: 10px;
    background: #1b2433;
    border-color: #334258;
}

.yt-game-utility-actions .yt-player-btn:hover,
.yt-game-utility-actions .yt-player-download:hover {
    background: #243146;
    border-color: #4a607c;
}

.yt-game-utility-actions .yt-player-download {
    text-decoration: none;
    color: var(--yt-text);
    font-weight: 700;
}

.yt-player-status {
    order: -1;
    margin-right: auto;
    margin-left: 2px;
    color: var(--yt-text-muted);
    font-size: 0.8rem;
}

.yt-game-info-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    background: #161c28;
    padding: 12px;
    margin-bottom: 14px;
}

.yt-game-details-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.yt-developer-info .yt-game-actions {
    margin-top: 10px;
    justify-content: flex-start;
}
.yt-tag-cloud,
.yt-detail-panel {
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    background: #161c28;
    padding: 12px;
    margin-bottom: 14px;
}

.yt-tag-cloud h2,
.yt-tag-cloud h3,
.yt-detail-panel h2,
.yt-detail-panel h3 {
    margin: 0 0 10px;
    font-size: 0.9rem;
}

.yt-mod-features .yt-section-title,
.yt-changelog .yt-section-title,
.yt-tag-cloud .yt-section-title {
    margin-bottom: 10px;
}

.yt-controls-panel[hidden] {
    display: none;
}

.yt-controls-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.yt-controls-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--yt-border);
    background: #1b2433;
    color: var(--yt-text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
}

.yt-controls-tab:hover {
    border-color: #4f647f;
    color: var(--yt-text);
}

.yt-controls-tab.is-active {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(14, 165, 233, 0.16));
    border-color: rgba(56, 189, 248, 0.55);
    color: #e8f6ff;
}

.yt-controls-content {
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #141b27;
    overflow: hidden;
}

.yt-controls-pane {
    display: none;
    padding: 10px;
}

.yt-controls-pane.is-active {
    display: block;
}

.yt-controls-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.84rem;
}

.yt-controls-table th,
.yt-controls-table td {
    text-align: left;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(127, 151, 186, 0.2);
    vertical-align: top;
}

.yt-controls-table thead th {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--yt-text-muted);
    background: rgba(24, 31, 45, 0.95);
}

.yt-controls-table tbody tr:last-child td {
    border-bottom: none;
}

.yt-expandable-content {
    position: relative;
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.24s ease;
}

.yt-expandable-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(22, 28, 40, 0), rgba(22, 28, 40, 0.95));
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.yt-changelog.is-expanded .yt-expandable-content {
    max-height: 2000px;
}

.yt-changelog.is-expanded .yt-expandable-content::after {
    opacity: 0;
}

.yt-expand-toggle {
    margin-top: 10px;
    border: 1px solid var(--yt-border);
    border-radius: 999px;
    background: #1b2535;
    color: var(--yt-text);
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.yt-expand-toggle:hover {
    border-color: #4e6482;
    background: #243147;
}

.yt-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.yt-tag-list a {
    border: 1px solid var(--yt-border);
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.78rem;
    color: var(--yt-text-muted);
    background: #1c2432;
}

.yt-tag-list a:hover {
    color: var(--yt-text);
    border-color: #485a78;
}

.yt-popular-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}

.yt-popular-item {
    min-width: 0;
}

.yt-popular-card {
    display: block;
    position: relative;
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #1a2230, #151c29);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.yt-popular-card:hover {
    transform: translateY(-4px);
    border-color: #4b5e7c;
    box-shadow: var(--yt-shadow-1);
}

.yt-popular-thumb {
    display: block;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #111722;
}

.yt-popular-hover-play {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(11, 15, 24, 0.76);
    color: #fff;
    padding: 8px 13px;
    font-size: 0.8rem;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.yt-popular-card:hover .yt-popular-hover-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.yt-popular-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yt-popular-card:hover .yt-popular-thumb img {
    transform: scale(1.05);
}

.yt-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: #2a3347;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 4px 9px;
}

.yt-rank.is-top-1 {
    background: #dc2626;
    border-color: rgba(255, 255, 255, 0.32);
}

.yt-rank.is-top-2 {
    background: #f97316;
    border-color: rgba(255, 255, 255, 0.32);
}

.yt-rank.is-top-3 {
    background: #eab308;
    border-color: rgba(255, 255, 255, 0.32);
    color: #1f2937;
}

.yt-rank.is-top-4 {
    background: #84cc16;
    border-color: rgba(255, 255, 255, 0.32);
    color: #1f2937;
}

.yt-rank.is-top-5 {
    background: #16a34a;
    border-color: rgba(255, 255, 255, 0.32);
}

.yt-rank.is-below-top {
    background: #27344b;
}

.yt-popular-body {
    display: grid;
    gap: 6px;
    padding: 10px;
}

.yt-popular-body strong {
    font-size: 0.9rem;
    line-height: 1.35;
}

.yt-popular-body small {
    font-size: 0.76rem;
    color: var(--yt-text-muted);
}

.yt-popular-play {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    border: 1px solid #3d4f6c;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.74rem;
    color: #dfe7fa;
}

.yt-description-panel {
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    background: #161c28;
    margin-bottom: 14px;
    overflow: hidden;
}

.yt-description-panel summary {
    cursor: pointer;
    list-style: none;
    font-weight: 700;
    padding: 12px 14px;
    border-bottom: 1px solid var(--yt-border-soft);
}

.yt-description-panel summary::after {
    content: "+";
    float: right;
    color: var(--yt-text-muted);
}

.yt-description-panel[open] summary::after {
    content: "-";
}

.yt-description-panel[open] summary {
    background: #1c2230;
}

.yt-entry-content {
    padding: 14px;
    color: #d8dfed;
}

.yt-entry-content p:first-child {
    margin-top: 0;
}

.yt-screenshots {
    margin-bottom: 14px;
}

.yt-shot-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.yt-shot {
    border: 1px solid var(--yt-border-soft);
    border-radius: 10px;
    overflow: hidden;
    background: #141a24;
    aspect-ratio: 16 / 10;
    padding: 0;
    cursor: pointer;
}

.yt-shot:hover img {
    transform: scale(1.04);
}

.yt-shot img {
    transition: transform 0.25s ease;
}

.yt-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yt-entry-taxonomies {
    margin-top: 10px;
    color: var(--yt-text-muted);
}

.yt-related-list {
    display: grid;
    gap: 10px;
}

.yt-related-list .yt-card .yt-card-excerpt {
    display: none;
}

.yt-comments .comment-list {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.yt-comments .comment-body {
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #171d28;
    padding: 12px;
}

.yt-comments input,
.yt-comments textarea {
    width: 100%;
    border: 1px solid var(--yt-border);
    border-radius: 10px;
    background: #121823;
    color: var(--yt-text);
    padding: 10px;
}

.yt-comments .submit {
    border: 0;
    border-radius: 10px;
    color: #fff;
    background: linear-gradient(120deg, var(--yt-accent), var(--yt-accent-2));
    padding: 9px 14px;
    cursor: pointer;
}

.yt-footer {
    margin: 0 0 18px;
    border: 1px solid var(--yt-border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(20, 24, 33, 0.96), rgba(16, 20, 29, 0.96));
    box-shadow: var(--yt-shadow-1);
    padding: 20px;
}

.yt-footer-widgets {
    margin-bottom: 14px;
}

.yt-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 18px;
    padding-top: 8px;
}

.yt-footer-col {
    min-width: 0;
}

.yt-footer-heading {
    margin: 0 0 10px;
    font-size: 0.92rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--yt-text);
}

.yt-footer-tagline,
.yt-footer-note {
    margin: 0;
    color: var(--yt-text-muted);
    font-size: 0.86rem;
    line-height: 1.62;
}

.yt-footer-note {
    margin-top: 8px;
}

.yt-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.yt-footer-menu a,
.yt-footer-legal-links a,
.yt-footer .yt-social-links a {
    color: var(--yt-text-muted);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.2s ease;
}

.yt-footer-menu a:hover,
.yt-footer-legal-links a:hover,
.yt-footer .yt-social-links a:hover {
    color: var(--yt-text);
}

.yt-footer .yt-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    white-space: normal;
}

.yt-footer-bottom {
    border-top: 1px solid var(--yt-border-soft);
    margin-top: 16px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.yt-footer-bottom p {
    margin: 0;
    color: var(--yt-text-muted);
    font-size: 0.82rem;
}

.yt-footer-legal-links {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
}

.yt-discovery-page {
    display: grid;
    gap: 14px;
}

.yt-discovery-filters {
    border: 1px solid var(--yt-border);
    background: #101723;
    border-radius: 14px;
    padding: 14px;
    display: grid;
    gap: 12px;
}

.yt-discovery-mode {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yt-discovery-mode-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--yt-border);
    border-radius: 999px;
    padding: 7px 14px;
    text-decoration: none;
    font-size: 0.82rem;
    color: var(--yt-text-muted);
    background: #0f1520;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.yt-discovery-mode-link:hover {
    color: var(--yt-text);
    border-color: #3e4760;
    transform: translateY(-1px);
}

.yt-discovery-mode-link.is-active {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.68);
    background: linear-gradient(120deg, rgba(56, 189, 248, 0.26), rgba(14, 165, 233, 0.2));
}

.yt-discovery-filter-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.yt-discovery-filter-field {
    display: grid;
    gap: 6px;
    color: var(--yt-text-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.yt-discovery-filter-field input,
.yt-discovery-filter-field select {
    width: 100%;
    border: 1px solid var(--yt-border);
    border-radius: 10px;
    background: #121a28;
    color: var(--yt-text);
    padding: 9px 10px;
}

.yt-discovery-filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yt-discovery-btn {
    border: 0;
    border-radius: 10px;
    padding: 9px 14px;
       color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    background: linear-gradient(120deg, var(--yt-accent), var(--yt-accent-2));
    cursor: pointer;
}

.yt-discovery-reset {
    color: var(--yt-text-muted);
    text-decoration: none;
    font-size: 0.82rem;
}

.yt-discovery-reset:hover {
    color: var(--yt-text);
}

.yt-discovery-pagination ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.yt-discovery-pagination a,
.yt-discovery-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--yt-border);
    background: #111826;
    color: var(--yt-text-muted);
    text-decoration: none;
    padding: 0 10px;
    font-size: 0.82rem;
}

.yt-discovery-pagination .current {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.68);
}

.yt-search-pagination {
    margin-top: 14px;
}

.yt-search-pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.yt-search-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--yt-border);
    background: #111826;
    color: var(--yt-text-muted);
    text-decoration: none;
    padding: 0 10px;
    font-size: 0.82rem;
}

.yt-search-pagination .page-numbers.current {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.68);
}

.yt-section .navigation.pagination {
    margin-top: 14px;
}

.yt-section .navigation.pagination .nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.yt-section .navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid var(--yt-border);
    background: #111826;
    color: var(--yt-text-muted);
    text-decoration: none;
    padding: 0 10px;
    font-size: 0.82rem;
}

.yt-section .navigation.pagination .page-numbers.current {
    color: #fff;
    border-color: rgba(56, 189, 248, 0.68);
}

body.neonplay-theme.yt-light-mode .yt-section .navigation.pagination .page-numbers {
    background: #f4f8fd;
    border-color: #c7d5e6;
    color: #465a74;
}

body.neonplay-theme.yt-light-mode .yt-section .navigation.pagination .page-numbers.current {
    background: #ffffff;
    border-color: #7ea6d6;
    color: #173152;
}

body.neonplay-theme.yt-light-mode .yt-search-pagination .page-numbers {
    background: #f4f8fd;
    border-color: #c7d5e6;
    color: #465a74;
}

body.neonplay-theme.yt-light-mode .yt-search-pagination .page-numbers.current {
    background: #ffffff;
    border-color: #7ea6d6;
    color: #173152;
}

.yt-discovery-empty {
    border: 1px dashed var(--yt-border);
    border-radius: 12px;
    padding: 20px;
    background: #101723;
}

.yt-discovery-empty h2 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.yt-discovery-empty p {
    margin: 0;
    color: var(--yt-text-muted);
}

.yt-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 7, 10, 0.86);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 120;
    padding: 20px;
}

.yt-lightbox.is-open {
    display: flex;
}

.yt-lightbox-image {
    max-width: min(1200px, 92vw);
    max-height: 86vh;
    border-radius: 12px;
    border: 1px solid var(--yt-border);
}

.yt-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--yt-border);
    background: #161d28;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
}

.yt-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid var(--yt-border);
    background: rgba(22, 29, 40, 0.86);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.yt-lightbox-prev {
    left: 18px;
}

.yt-lightbox-next {
    right: 18px;
}

.yt-lightbox-nav:hover {
    background: rgba(33, 44, 62, 0.95);
}

.yt-search-suggest-list a.is-active {
    background: #242f43;
    border: 1px solid #415577;
}

body.neonplay-theme.yt-light-mode .yt-search-suggest-list a.is-active {
    background: #e8f2ff;
    border: 1px solid #9bb7da;
    color: #112d4d;
}

.yt-reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.yt-reveal.is-inview {
    opacity: 1;
    transform: translateY(0);
}

.yt-home-loading .yt-hero,
.yt-home-loading .yt-card,
.yt-home-loading .yt-updated-item,
.yt-home-loading .yt-rank {
    position: relative;
    overflow: hidden;
}

.yt-home-loading .yt-card-thumb img,
.yt-home-loading .yt-card-body,
.yt-home-loading .yt-hero-content,
.yt-home-loading .yt-updated-item > * {
    opacity: 0;
}

.yt-home-loading .yt-hero::before,
.yt-home-loading .yt-card::before,
.yt-home-loading .yt-updated-item::before,
.yt-home-loading .yt-rank::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(255, 255, 255, 0.02) 20%, rgba(255, 255, 255, 0.12) 38%, rgba(255, 255, 255, 0.02) 60%),
        #1a202c;
    background-size: 240% 100%, 100% 100%;
    animation: yt-skeleton 1.25s linear infinite;
}

@keyframes yt-spin {
    to {
        transform: rotate(360deg);
    }
}

.yt-source-option[data-members-only="1"] {
    position: relative;
}

.yt-sidebar-collapsed .yt-shell {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 981px) {
    .yt-sidebar-collapsed .yt-sidebar {
        display: none;
    }
}

.screen-reader-text {
    position: absolute;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    width: 1px;
    overflow: hidden;
}

@media (max-width: 1366px) {
    .yt-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yt-header-actions .yt-action-link span:last-child {
        display: none;
    }
}

@media (min-width: 1800px) {
    .site {
        width: min(1860px, calc(100vw - 40px));
    }

    .yt-shell {
        grid-template-columns: 320px minmax(0, 1fr);
        gap: 22px;
    }

    .yt-main-content {
        padding-right: 4px;
    }

    .yt-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 1440px) {
    .site {
        width: min(1440px, calc(100vw - 20px));
    }

    .yt-shell {
        grid-template-columns: 272px minmax(0, 1fr);
        gap: 14px;
    }

    .yt-header-inner {
        gap: 12px;
    }

    .yt-grid {
        gap: 12px;
    }
}

@media (max-width: 1366px) {
    .yt-shell {
        grid-template-columns: 256px minmax(0, 1fr);
        gap: 12px;
    }

    .yt-home-widgets,
    .yt-section,
    .yt-article,
    .yt-related-sidebar,
    .yt-comments,
    .yt-empty-state {
        padding: 15px;
    }
}

@media (max-width: 1200px) {
    .yt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-hero-content {
        max-width: 72%;
    }
}

@media (max-width: 1080px) {
    .yt-header-inner {
        grid-template-columns: auto minmax(170px, 1fr) minmax(220px, 1fr) auto;
    }

    .yt-shell-single .yt-main-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .yt-header {
        margin-top: 0;
        border-radius: 0 0 14px 14px;
    }

    .yt-header-inner {
        grid-template-columns: auto 1fr auto;
    }

    .yt-brand-text .yt-tagline {
        display: none;
    }

    .yt-header-search {
        grid-column: 1 / -1;
        order: 4;
    }

    .yt-header-actions {
        justify-content: flex-end;
    }

    .yt-action-link {
        display: none;
    }

    .yt-shell,
    .yt-sidebar-collapsed .yt-shell {
        grid-template-columns: 1fr;
    }

    .yt-sidebar-menu,
    .yt-sidebar-menu-engines {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .yt-sidebar-menu a {
        padding: 9px 10px;
        gap: 7px;
        font-size: 0.8rem;
        min-width: 0;
    }

    .yt-sidebar-menu a span:not(.dashicons) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .yt-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: min(340px, 86vw);
        height: 100vh;
        max-height: 100vh;
        z-index: 110;
        transform: translateX(-108%);
        transition: transform 0.24s ease;
        padding: 74px 10px 12px;
    }

    .yt-mobile-sidebar-open .yt-sidebar {
        transform: translateX(0);
    }

    .yt-mobile-sidebar-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.58);
        z-index: 100;
    }

    .yt-sidebar-close {
        display: inline-flex;
    }

    body.yt-mobile-sidebar-open {
        overflow: hidden;
    }

    .yt-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-shot-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .yt-hero-content {
        max-width: min(60ch, 90%);
    }

    .yt-mini-info {
        display: none !important;
    }

    .yt-discovery-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .site {
        width: calc(100vw - 14px);
    }

    .yt-header-inner,
    .yt-category-nav,
    .yt-home-widgets,
    .yt-section,
    .yt-article,
    .yt-related-sidebar,
    .yt-comments,
    .yt-footer {
        padding-left: 12px;
        padding-right: 12px;
    }

    .yt-shell {
        margin-top: 12px;
        gap: 12px;
    }

    .yt-game-info-grid {
        grid-template-columns: 1fr;
    }

    .yt-game-actions {
        justify-content: flex-start;
    }

    .yt-player-btn {
        font-size: 0.76rem;
        padding: 7px 9px;
    }

    .yt-hero-content {
        max-width: 88%;
    }

    .yt-shot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-footer-grid {
        grid-template-columns: 1fr;
    }

    .yt-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 540px) {
    .yt-site-title {
        font-size: 0.95rem;
    }

    .yt-grid {
        grid-template-columns: 1fr;
    }

    .yt-carousel-row {
        grid-auto-columns: minmax(230px, 1fr);
    }

    .yt-discovery-filter-grid {
        grid-template-columns: 1fr;
    }

    .yt-discovery-mode-link {
        flex: 1 1 calc(50% - 8px);
    }

    .yt-popular-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .yt-updated-item {
        grid-template-columns: 56px 1fr;
    }

    .yt-updated-item .dashicons {
        display: none;
    }

    .yt-hero-title {
        font-size: clamp(1.35rem, 8vw, 1.9rem);
    }

    .yt-player-tools {
        gap: 6px;
    }

    .yt-player-tools .yt-player-btn span:not(.dashicons),
    .yt-player-tools .yt-player-download span:not(.dashicons),
    .yt-player-tools [data-player-action="fullscreen"] span:not(.dashicons)  {
        display: none;
    }


    .yt-player-status {
        display: none;
    }

    .yt-player-tool-group {
        margin-left: auto;
        width: auto;
        justify-content: flex-end;
    }

}

@media (max-width: 768px) {
    .yt-entry-head {
        flex-wrap: nowrap;
        align-items: center;
        gap: 12px;
    }

    .yt-entry-head-main {
        flex: 1 1 auto;
    }

    .yt-entry-rating {
        width: 68px;
        height: 68px;
        min-width: 68px;
        padding: 4px;
        border: 0;
        border-radius: 50%;
        background: conic-gradient(
            #22c55e 0%,
            #38bdf8 var(--yt-rating-pct, 0%),
            rgba(148, 163, 184, 0.24) var(--yt-rating-pct, 0%)
        );
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
        align-self: center;
    }

    .yt-entry-rating.is-empty {
        background: rgba(148, 163, 184, 0.24);
    }

    .yt-entry-rating-inner {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: var(--yt-card, #171b24);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: 4px;
    }

    .yt-entry-rating-top {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1px;
        text-align: center;
    }

    .yt-entry-rating-icon,
    .yt-entry-rating-bar {
        display: none;
    }

    .yt-entry-rating-percent {
        font-size: 0.86rem;
        line-height: 1.05;
    }

    .yt-entry-rating.is-empty .yt-entry-rating-percent {
        font-size: 0.66rem;
        font-weight: 700;
        color: var(--yt-text-muted);
    }

    .yt-entry-rating-total {
        margin-left: 0;
        font-size: 0.50rem;
        line-height: 1.05;
        margin-top: 3px;
    }

    body.neonplay-theme.yt-light-mode .yt-entry-rating {
        background: conic-gradient(
            #16a34a 0%,
            #0ea5e9 var(--yt-rating-pct, 0%),
            rgba(100, 116, 139, 0.22) var(--yt-rating-pct, 0%)
        );
        box-shadow: 0 6px 16px rgba(24, 52, 84, 0.14);
    }

    body.neonplay-theme.yt-light-mode .yt-entry-rating.is-empty {
        background: rgba(100, 116, 139, 0.22);
    }

    body.neonplay-theme.yt-light-mode .yt-entry-rating-inner {
        background: #ffffff;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@keyframes yt-skeleton {
    0% {
        background-position: 200% 0, 0 0;
    }

    100% {
        background-position: -80% 0, 0 0;
    }
}

.yt-player-source-picker {
    display: grid;
    grid-template-columns: 170px minmax(280px, 1fr) minmax(220px, 0.75fr);
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--yt-border-soft);
    background: #111722;
    padding: 12px;
}

.yt-player-source-heading {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}

.yt-player-source-heading > .dashicons {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: linear-gradient(145deg, #26344d, #192235);
    border: 1px solid #354964;
    color: #b7c6eb;
}

.yt-player-source-heading div {
    display: grid;
    min-width: 0;
}

.yt-player-source-heading strong {
    font-size: 0.82rem;
}

.yt-player-source-heading small {
    color: var(--yt-text-muted);
    font-size: 0.72rem;
}

.yt-source-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.yt-source-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    border: 1px solid var(--yt-border);
    border-radius: 12px;
    background: #192233;
    color: var(--yt-text);
    padding: 8px 34px 8px 8px;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.yt-source-option:hover {
    transform: translateY(-1px);
    border-color: #506789;
}

.yt-source-option.is-active {
    border-color: #6680ad;
    background: linear-gradient(135deg, #293a58, #1a2639);
    box-shadow: inset 0 0 0 1px rgba(138, 167, 211, 0.12);
}

.yt-source-option.is-playing {
    border-color: #32c875;
    background: linear-gradient(135deg, rgba(35, 150, 91, 0.42), rgba(20, 78, 49, 0.58));
    box-shadow: inset 0 0 0 1px rgba(72, 207, 129, 0.28), 0 0 14px rgba(50, 200, 117, 0.12);
}

.yt-source-option.is-playing .yt-source-play {
    background: #25a85f;
    border-color: #58d98e;
}

.yt-source-option.is-playing .yt-source-check {
    display: inline-flex;
    color: #63df98;
}

.yt-source-play {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #31517d;
    border: 1px solid #6285b4;
    color: #fff;
}

.yt-source-option-copy {
    display: grid;
    min-width: 0;
}

.yt-source-option-copy strong {
    font-size: 0.82rem;
    line-height: 1.2;
}

.yt-source-option-copy small {
    color: var(--yt-text-muted);
    font-size: 0.7rem;
    margin-top: 3px;
}

.yt-source-check {
    position: absolute;
    right: 9px;
    top: 9px;
    display: none;
    color: #91b3ed;
}

.yt-source-option.is-active .yt-source-check {
    display: inline-flex;
}

.yt-source-build {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 58px;
    border: 1px solid var(--yt-border);
    border-radius: 12px;
    background: #192233;
    padding: 8px;
}

.yt-source-build > .dashicons {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #232f43;
    color: #b7c6eb;
}

.yt-source-build-copy {
    display: grid;
    gap: 4px;
}

.yt-source-build-copy strong {
    font-size: 0.76rem;
}

.yt-source-build select {
    width: 100%;
    min-height: 30px;
    border: 0;
    background: transparent;
    color: var(--yt-text-muted);
    padding: 2px 24px 2px 0;
    font-size: 0.75rem;
}

@media (max-width: 980px) {
    .yt-player-source-picker {
        grid-template-columns: 1fr;
    }

    .yt-source-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 540px) {
    .yt-player-source-picker {
        padding: 10px;
    }

    .yt-source-options {
        grid-template-columns: 1fr;
    }

    .yt-source-option {
        min-height: 62px;
    }
}

/* Professional game player and details */
.yt-game-player-shell {
    margin-bottom: 16px;
    border: 1px solid var(--yt-border);
    border-radius: 16px;
    background: #101520;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.yt-player-frame {
    position: relative;
    background: #07090d;
}

.yt-player-cover {
    display: flex;
    background-color: #07090d;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 9999px rgba(5, 8, 12, 0.38);
}

[data-player-shell].is-paused .yt-player-cover {
    display: flex;
}

[data-player-shell]:not(.is-paused) .yt-player-cover {
    display: none;
}

.yt-player-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 132px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--yt-accent, #7c4dff);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(124, 77, 255, 0.45);
}

.yt-player-play:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.yt-player-play .dashicons {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

.yt-player-retry {
    display: none;
}

.yt-game-detail-panel {
    min-width: 0;
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    background: linear-gradient(180deg, #171e2b, #141a25);
    padding: 14px;
}

.yt-detail-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--yt-border-soft);
}

.yt-detail-panel-head > div {
    min-width: 0;
}

.yt-detail-panel-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(124, 77, 255, 0.14);
    color: var(--yt-accent-2);
}

.yt-detail-panel-head h2,
.yt-detail-panel-head h3 {
    margin: 0;
    font-size: 0.95rem;
}

.yt-detail-panel-head p {
    margin: 3px 0 0;
    color: var(--yt-text-muted);
    font-size: 0.78rem;
}

.yt-professional-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.yt-professional-facts > div {
    min-width: 0;
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    border: 1px solid var(--yt-border-soft);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    padding: 8px;
}

.yt-professional-facts dt {
    color: var(--yt-text-muted);
    font-size: 0.75rem;
}

.yt-professional-facts dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 0.78rem;
    font-weight: 700;
}

.yt-info-badge {
    display: inline-block;
    border-radius: 999px;
    background: rgba(124, 77, 255, 0.16);
    color: #d9ceff;
    padding: 3px 8px;
}

.yt-developer-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yt-developer-avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yt-accent), var(--yt-accent-2));
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
}

.yt-developer-names {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.yt-developer-names a,
.yt-developer-names span {
    overflow-wrap: anywhere;
}

.yt-developer-patreon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
    border: 1px solid var(--yt-border);
    border-radius: 9px;
    background: #1b2433;
    color: var(--yt-text);
    padding: 9px 10px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.yt-developer-empty {
    margin: 0;
    color: var(--yt-text-muted);
}

@media (max-width: 980px) {
    .yt-game-details-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 540px) {
    .yt-professional-facts {
        grid-template-columns: 1fr;
    }
}

/* Join Members Modal */
.yt-members-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.yt-members-modal.is-open {
    display: flex;
}

.yt-members-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 12, 0.82);
    backdrop-filter: blur(8px);
}

.yt-members-modal-card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    box-sizing: border-box;
    border: 1px solid var(--yt-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #20293a, #151b27);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
    padding: 28px;
    text-align: center;
}

.yt-members-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--yt-border);
    border-radius: 50%;
    background: #192233;
    color: var(--yt-text);
    cursor: pointer;
}

.yt-members-modal-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(124, 77, 255, 0.18);
    color: var(--yt-accent-2);
    margin-bottom: 12px;
}

.yt-members-modal-icon .dashicons {
    width: 28px;
    height: 28px;
    font-size: 28px;
}

.yt-members-modal-card h3 {
    margin: 0 0 8px;
    font-size: 1.18rem;
}

.yt-members-modal-card p {
    margin: 0;
    color: var(--yt-text-muted);
    line-height: 1.55;
}

.yt-members-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.yt-members-primary,
.yt-members-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    box-sizing: border-box;
    border-radius: 9px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.yt-members-primary {
    border: 0;
    background: var(--yt-accent, #7c4dff);
    color: #fff;
    text-decoration: none;
}

.yt-members-secondary {
    border: 1px solid var(--yt-border);
    background: #1a2231;
    color: var(--yt-text);
}

.yt-members-modal-open {
    overflow: hidden;
}

@media (max-width: 540px) {
    .yt-members-modal {
        padding: 12px;
    }

    .yt-members-modal-card {
        padding: 24px 16px 16px;
    }

    .yt-members-modal-actions {
        grid-template-columns: 1fr;
    }
}

body.neonplay-theme.yt-light-mode .yt-card-play {
    color: #fff;
}

body.neonplay-theme.yt-light-mode .yt-card-play .dashicons {
    color: #fff;
}

.yt-player-frame:fullscreen,
.yt-player-frame:-webkit-full-screen {
    width: 100vw;
    height: 100vh;
    background: #07090d;
}

.yt-player-frame:fullscreen .yt-game-player,
.yt-player-frame:-webkit-full-screen .yt-game-player {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.yt-player-frame:fullscreen .yt-player-cover,
.yt-player-frame:-webkit-full-screen .yt-player-cover {
    position: absolute;
    inset: 0;
}

body.yt-pseudo-fullscreen-open {
    overflow: hidden;
}

.yt-player-frame.is-pseudo-fullscreen {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 99999;
    background: #07090d;
    border-radius: 0;
}

.yt-player-frame.is-pseudo-fullscreen .yt-game-player {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}

.yt-player-frame.is-pseudo-fullscreen .yt-player-cover {
    position: absolute;
    inset: 0;
}

.yt-pseudo-fs-exit {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 12;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(9, 11, 16, 0.82);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(6px);
}

.yt-player-frame.is-ad-loading .yt-pseudo-fs-exit,
.yt-player-frame.is-ad-playing .yt-pseudo-fs-exit {
    top: auto;
    right: auto;
    bottom: 14px;
    left: 14px;
}

.yt-pseudo-fs-exit[hidden] {
    display: none;
}

.yt-pseudo-fs-exit .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

@media (max-width: 980px) and (orientation: portrait) {
    .yt-player-frame.is-pseudo-fullscreen {
        inset: auto;
        top: 50%;
        left: 50%;
        width: 100vh;
        width: 100dvh;
        height: 100vw;
        transform: translate(-50%, -50%) rotate(90deg);
        transform-origin: center center;
    }
}

/* VAST 3.0 pre-roll ad layer */
.yt-vast-layer {
    position: absolute;
    inset: 0;
    z-index: 6;
    background: #05070b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.yt-vast-layer[hidden] {
    display: none;
}

[data-player-shell].is-ad-loading .yt-player-cover,
[data-player-shell].is-ad-playing .yt-player-cover {
    display: none;
}

.yt-vast-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

.yt-vast-click-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.yt-vast-click-layer[hidden] {
    display: none;
}

.yt-vast-loading {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(5, 7, 11, 0.88);
    color: #eef2ff;
    font-size: 0.9rem;
    font-weight: 600;
}

.yt-vast-loading[hidden] {
    display: none;
}

.yt-vast-top-bar {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
}

.yt-vast-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(9, 11, 16, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    backdrop-filter: blur(6px);
}

.yt-vast-top-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

.yt-vast-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(9, 11, 16, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.yt-vast-cta:hover,
.yt-vast-cta:focus {
    background: rgba(24, 30, 44, 0.94);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.yt-vast-cta[hidden] {
    display: none;
}

.yt-vast-cta .dashicons {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

.yt-vast-mute {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(9, 11, 16, 0.82);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.18s ease, border-color 0.18s ease;
}

.yt-vast-mute:hover {
    background: rgba(24, 30, 44, 0.95);
    border-color: rgba(255, 255, 255, 0.45);
}

.yt-vast-mute .dashicons {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.yt-vast-bottom-bar {
    position: absolute;
    right: 14px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.yt-vast-skip {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(9, 11, 16, 0.84);
    color: #e2e8f0;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: not-allowed;
    backdrop-filter: blur(6px);
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.yt-vast-skip[hidden] {
    display: none;
}

.yt-vast-skip.is-ready {
    cursor: pointer;
    background: var(--yt-accent, #7c4dff);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.yt-vast-skip.is-ready:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.yt-vast-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.yt-vast-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--yt-accent, #7c4dff);
    transition: width 0.2s linear;
}

/* SEO Breadcrumbs & Homepage Intro */
.yt-breadcrumbs {
    margin-bottom: 10px;
    font-size: 0.78rem;
    color: var(--yt-text-muted);
}

.yt-breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.yt-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.yt-breadcrumb-item + .yt-breadcrumb-item::before {
    content: "/";
    opacity: 0.55;
}

.yt-breadcrumb-item a {
    color: var(--yt-text-muted);
    transition: color 0.16s ease;
}

.yt-breadcrumb-item a:hover,
.yt-breadcrumb-item a:focus {
    color: var(--yt-text);
}

.yt-breadcrumb-item span[aria-current="page"] {
    color: var(--yt-text);
    font-weight: 600;
}

.yt-archive-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.yt-archive-desc,
.yt-archive-desc p {
    margin: 0;
    color: var(--yt-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.yt-home-intro {
    padding: 16px 18px;
}

.yt-home-title {
    margin: 0 0 6px;
    font-size: clamp(1.22rem, 1.4vw + 0.9rem, 1.62rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--yt-text);
}

.yt-home-desc {
    margin: 0 0 12px;
    color: var(--yt-text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 82ch;
}

.yt-home-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yt-home-links a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--yt-border);
    background: #151b26;
    color: var(--yt-text);
    font-size: 0.8rem;
    font-weight: 600;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}

.yt-home-links a:hover,
.yt-home-links a:focus {
    border-color: #49536a;
    background: #1d2431;
    transform: translateY(-1px);
}

body.neonplay-theme.yt-light-mode .yt-home-intro {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96));
    border-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-home-links a {
    background: #f3f8ff;
    border-color: #c7d5e6;
    color: #19314e;
}

body.neonplay-theme.yt-light-mode .yt-home-links a:hover,
body.neonplay-theme.yt-light-mode .yt-home-links a:focus {
    background: #ffffff;
    border-color: #9fb5cf;
}

/* Become a Member page & Member Hub */
.yt-member-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.95fr);
    gap: 22px;
    align-items: center;
    padding: 24px;
    background:
        radial-gradient(640px 260px at 90% 0%, rgba(139, 92, 246, 0.22), transparent 65%),
        radial-gradient(500px 220px at 10% 100%, rgba(6, 182, 212, 0.14), transparent 65%),
        linear-gradient(180deg, rgba(23, 27, 36, 0.96), rgba(16, 20, 30, 0.98));
}

.yt-member-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(139, 92, 246, 0.45);
    background: rgba(139, 92, 246, 0.16);
    color: #ddd6fe;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 12px;
}

.yt-member-pill.is-active {
    border-color: rgba(34, 197, 94, 0.48);
    background: rgba(34, 197, 94, 0.16);
    color: #bbf7d0;
}

.yt-member-pill .dashicons {
    width: 16px;
    height: 16px;
    font-size: 16px;
}

.yt-member-title {
    margin: 0 0 10px;
    font-size: clamp(1.48rem, 2vw + 0.95rem, 2.25rem);
    line-height: 1.2;
    font-weight: 800;
}

.yt-member-lead {
    margin: 0 0 18px;
    color: var(--yt-text-muted);
    font-size: 0.96rem;
    line-height: 1.6;
    max-width: 62ch;
}

.yt-member-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.yt-member-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid var(--yt-border);
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.16s ease, filter 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.yt-member-btn .dashicons {
    width: 17px;
    height: 17px;
    font-size: 17px;
}

.yt-member-btn-primary {
    border-color: rgba(139, 92, 246, 0.65);
    background: linear-gradient(125deg, var(--yt-accent, #8b5cf6), #ec4899);
    color: #ffffff;
    box-shadow: 0 10px 26px rgba(139, 92, 246, 0.34);
}

.yt-member-btn-primary:hover,
.yt-member-btn-primary:focus {
    color: #ffffff;
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.yt-member-btn-secondary {
    background: #171e2b;
    color: var(--yt-text);
    border-color: var(--yt-border);
}

.yt-member-btn-secondary:hover,
.yt-member-btn-secondary:focus {
    background: #202a3c;
    border-color: #495670;
    color: #ffffff;
}

.yt-member-price-card {
    border: 1px solid rgba(139, 92, 246, 0.42);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(20, 26, 38, 0.96), rgba(14, 18, 28, 0.98));
    padding: 20px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.yt-member-price-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--yt-accent-2, #06b6d4);
    margin-bottom: 8px;
}

.yt-member-price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 6px;
}

.yt-price-currency {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--yt-text);
}

.yt-member-price-amount strong {
    font-size: 3rem;
    line-height: 1;
    font-weight: 900;
    color: #ffffff;
}

.yt-price-period {
    font-size: 0.92rem;
    color: var(--yt-text-muted);
    font-weight: 600;
}

.yt-member-price-note {
    margin: 0 0 14px;
    font-size: 0.82rem;
    color: var(--yt-text-muted);
}

.yt-member-price-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 0.84rem;
}

.yt-member-price-checks li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yt-member-price-checks .dashicons {
    color: #22c55e;
    flex-shrink: 0;
}

.yt-member-perks-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.yt-member-perk-card {
    border: 1px solid var(--yt-border-soft);
    border-radius: 14px;
    background: #141a25;
    padding: 16px;
}

.yt-perk-icon {
    width: 38px;
    height: 38px;
    font-size: 20px;
    border-radius: 10px;
    background: rgba(139, 92, 246, 0.16);
    color: var(--yt-accent-2, #06b6d4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.yt-member-perk-card h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
}

.yt-member-perk-card p {
    margin: 0;
    color: var(--yt-text-muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.yt-member-compare-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.yt-plan-card {
    border: 1px solid var(--yt-border);
    border-radius: 16px;
    background: #141a25;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.yt-plan-vip {
    border-color: rgba(139, 92, 246, 0.58);
    background: linear-gradient(180deg, rgba(28, 24, 48, 0.92), rgba(18, 22, 34, 0.96));
    box-shadow: 0 14px 34px rgba(139, 92, 246, 0.16);
}

.yt-plan-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--yt-border-soft);
}

.yt-plan-head h3 {
    margin: 0;
    font-size: 1.08rem;
}

.yt-plan-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.18);
    color: #4ade80;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.yt-plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--yt-text);
}

.yt-plan-price small {
    font-size: 0.8rem;
    color: var(--yt-text-muted);
    font-weight: 600;
}

.yt-plan-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
    font-size: 0.88rem;
}

.yt-plan-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yt-plan-list li.is-ok .dashicons {
    color: #22c55e;
}

.yt-plan-list li.is-no {
    color: var(--yt-text-muted);
}

.yt-plan-list li.is-no .dashicons {
    color: #f87171;
}

.yt-plan-cta {
    margin-top: auto;
    width: 100%;
}

.yt-plan-active-note {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #86efac;
    font-size: 0.84rem;
    font-weight: 600;
}

.yt-member-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
}

.yt-member-status-chip.is-unlocked {
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

.yt-member-status-chip.is-locked {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.38);
    color: #fcd34d;
}

.yt-member-status-chip .dashicons {
    width: 14px;
    height: 14px;
    font-size: 14px;
}

.yt-member-locked-box {
    border: 1px dashed var(--yt-border);
    border-radius: 14px;
    background: rgba(15, 20, 30, 0.75);
    padding: 26px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.yt-locked-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.16);
    color: var(--yt-accent, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yt-member-locked-box h3 {
    margin: 0;
    font-size: 1.05rem;
}

.yt-member-locked-box p {
    margin: 0 0 6px;
    color: var(--yt-text-muted);
    max-width: 56ch;
    font-size: 0.88rem;
}

.yt-member-form {
    display: grid;
    gap: 12px;
}

.yt-member-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.8fr);
    gap: 12px;
}

.yt-member-field {
    display: grid;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
}

.yt-member-field input,
.yt-member-field select,
.yt-member-field textarea,
.yt-save-filter,
.yt-save-paste-body textarea {
    width: 100%;
    border: 1px solid var(--yt-border);
    border-radius: 10px;
    background: #101520;
    color: var(--yt-text);
    padding: 10px 12px;
    font: inherit;
    font-size: 0.88rem;
}

.yt-member-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.yt-member-feedback {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--yt-text-muted);
    min-height: 1.2em;
}

.yt-member-feedback.is-success {
    color: #4ade80;
}

.yt-member-feedback.is-error {
    color: #f87171;
}

.yt-member-requests-history {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--yt-border-soft);
}

.yt-member-requests-history h3 {
    margin: 0 0 10px;
    font-size: 0.92rem;
}

.yt-request-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.yt-request-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 9px 12px;
    border-radius: 10px;
    border: 1px solid var(--yt-border-soft);
    background: #121722;
    font-size: 0.85rem;
}

.yt-request-meta {
    color: var(--yt-text-muted);
    font-size: 0.78rem;
}

/* Save Manager */
.yt-save-manager {
    display: grid;
    gap: 14px;
}

.yt-save-manager-intro {
    margin: 0;
    color: var(--yt-text-muted);
    font-size: 0.88rem;
}

.yt-save-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.yt-save-stat {
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #121722;
    padding: 12px 14px;
    display: grid;
    gap: 3px;
}

.yt-save-stat-label {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--yt-text-muted);
}

.yt-save-stat strong {
    font-size: 1.15rem;
    color: var(--yt-text);
}

.yt-save-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yt-save-import-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.84rem;
    color: var(--yt-text-muted);
}

.yt-save-radio {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.yt-save-paste-panel {
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #121722;
    overflow: hidden;
}

.yt-save-paste-panel summary {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
}

.yt-save-paste-body {
    padding: 0 14px 14px;
    display: grid;
    gap: 10px;
}

.yt-save-keys-wrap {
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #121722;
    overflow: hidden;
}

.yt-save-keys-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border-bottom: 1px solid var(--yt-border-soft);
}

.yt-save-select-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.yt-save-filter {
    max-width: 240px;
    padding: 7px 10px;
    font-size: 0.82rem;
}

.yt-save-table-scroll {
    overflow-x: auto;
    max-height: 320px;
    overflow-y: auto;
}

.yt-save-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.yt-save-table th,
.yt-save-table td {
    padding: 9px 10px;
    border-bottom: 1px solid var(--yt-border-soft);
    text-align: left;
    vertical-align: middle;
}

.yt-save-table thead th {
    background: #171e2c;
    color: var(--yt-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: sticky;
    top: 0;
}

.yt-save-col-check {
    width: 34px;
    text-align: center;
}

.yt-save-key-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.78rem;
    color: var(--yt-accent-2, #06b6d4);
    word-break: break-all;
}

.yt-save-preview {
    color: var(--yt-text-muted);
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yt-save-size {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.yt-save-del-btn {
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border-radius: 8px;
    padding: 4px 9px;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}

.yt-save-del-btn:hover {
    background: rgba(239, 68, 68, 0.28);
}

.yt-save-empty {
    text-align: center;
    color: var(--yt-text-muted);
    padding: 18px 12px;
}

.yt-member-faq {
    display: grid;
    gap: 8px;
}

.yt-member-faq details {
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #141a25;
    overflow: hidden;
}

.yt-member-faq summary {
    padding: 12px 14px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.yt-member-faq details p {
    margin: 0;
    padding: 0 14px 14px;
    color: var(--yt-text-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

/* Light mode support for Become a Member */
body.neonplay-theme.yt-light-mode .yt-member-hero {
    background:
        radial-gradient(620px 240px at 90% 0%, rgba(56, 189, 248, 0.2), transparent 65%),
        linear-gradient(180deg, #ffffff, #f3f8ff);
}

body.neonplay-theme.yt-light-mode .yt-member-pill {
    background: #e8f1ff;
    border-color: #aac5e6;
    color: #1c4476;
}

body.neonplay-theme.yt-light-mode .yt-member-pill.is-active {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

body.neonplay-theme.yt-light-mode .yt-member-price-card {
    background: #ffffff;
    border-color: #9bb8dd;
    box-shadow: 0 12px 28px rgba(24, 52, 84, 0.12);
}

body.neonplay-theme.yt-light-mode .yt-member-price-amount strong {
    color: #11243a;
}

body.neonplay-theme.yt-light-mode .yt-member-btn-secondary {
    background: #f3f8ff;
    border-color: #c5d5e8;
    color: #17314f;
}

body.neonplay-theme.yt-light-mode .yt-member-btn-secondary:hover {
    background: #ffffff;
    color: #0e2238;
}

body.neonplay-theme.yt-light-mode .yt-member-perk-card,
body.neonplay-theme.yt-light-mode .yt-plan-card,
body.neonplay-theme.yt-light-mode .yt-member-locked-box,
body.neonplay-theme.yt-light-mode .yt-request-list li,
body.neonplay-theme.yt-light-mode .yt-save-stat,
body.neonplay-theme.yt-light-mode .yt-save-paste-panel,
body.neonplay-theme.yt-light-mode .yt-save-keys-wrap,
body.neonplay-theme.yt-light-mode .yt-member-faq details {
    background: #ffffff;
    border-color: #d2deed;
}

body.neonplay-theme.yt-light-mode .yt-plan-vip {
    background: linear-gradient(180deg, #f3f8ff, #ffffff);
    border-color: #7ea6d6;
}

body.neonplay-theme.yt-light-mode .yt-member-field input,
body.neonplay-theme.yt-light-mode .yt-member-field select,
body.neonplay-theme.yt-light-mode .yt-member-field textarea,
body.neonplay-theme.yt-light-mode .yt-save-filter,
body.neonplay-theme.yt-light-mode .yt-save-paste-body textarea {
    background: #f6faff;
    border-color: #c7d5e6;
    color: #162c46;
}

body.neonplay-theme.yt-light-mode .yt-save-table thead th {
    background: #f2f7ff;
    color: #4a6079;
}

body.neonplay-theme.yt-light-mode .yt-save-key-code {
    color: #0369a1;
}

@media (max-width: 1080px) {
    .yt-member-perks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .yt-member-hero,
    .yt-member-compare-grid,
    .yt-member-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .yt-member-perks-grid,
    .yt-save-stats {
        grid-template-columns: 1fr;
    }

    .yt-member-hero {
        padding: 18px;
    }
}

/* Cloud Save button & per-game modal */
.yt-player-cloud-btn {
    position: relative;
}

.yt-cloud-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    flex-shrink: 0;
}

.yt-cloud-dot[hidden] {
    display: none;
}

.yt-cloud-modal-card {
    max-width: 540px;
    text-align: left;
}

.yt-cloud-modal-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.yt-cloud-engine-pill,
.yt-cloud-storage-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.yt-cloud-engine-pill {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.45);
    color: #ddd6fe;
}

.yt-cloud-storage-pill {
    background: rgba(6, 182, 212, 0.14);
    border: 1px solid rgba(6, 182, 212, 0.38);
    color: #a5f3fc;
}

.yt-cloud-modal-card h3 {
    margin: 0 0 12px;
    font-size: 1.06rem;
    line-height: 1.3;
}

.yt-cloud-status-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid var(--yt-border);
    background: #121722;
    margin-bottom: 14px;
}

.yt-cloud-status-box.has-save {
    border-color: rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.1);
}

.yt-cloud-status-box .dashicons {
    width: 24px;
    height: 24px;
    font-size: 24px;
    color: var(--yt-text-muted);
    flex-shrink: 0;
}

.yt-cloud-status-box.has-save .dashicons {
    color: #4ade80;
}

.yt-cloud-status-box strong {
    display: block;
    font-size: 0.88rem;
}

.yt-cloud-status-box small {
    color: var(--yt-text-muted);
    font-size: 0.78rem;
}

.yt-cloud-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.yt-cloud-actions-grid .yt-member-btn {
    padding: 9px 12px;
    font-size: 0.82rem;
}

.yt-cloud-actions-grid .yt-member-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.yt-cloud-danger-btn:hover {
    border-color: rgba(248, 113, 113, 0.55);
    color: #fca5a5;
}

.yt-cloud-divider-block {
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--yt-border-soft);
}

.yt-cloud-sublabel {
    margin: 0 0 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--yt-text-muted);
}

.yt-cloud-inline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yt-cloud-file-btn {
    cursor: pointer;
}

.yt-cloud-feedback {
    margin-top: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    min-height: 1.2em;
    color: var(--yt-text-muted);
}

.yt-cloud-feedback.is-success {
    color: #4ade80;
}

.yt-cloud-feedback.is-error {
    color: #f87171;
}

.yt-cloud-hub-info {
    display: grid;
    gap: 2px;
}

.yt-cloud-hub-play {
    padding: 7px 12px;
    font-size: 0.8rem;
}

body.neonplay-theme.yt-light-mode .yt-cloud-status-box {
    background: #f3f8ff;
    border-color: #c7d5e6;
}

body.neonplay-theme.yt-light-mode .yt-cloud-status-box.has-save {
    background: #ecfdf5;
    border-color: #86efac;
}

body.neonplay-theme.yt-light-mode .yt-cloud-engine-pill {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #5b21b6;
}

body.neonplay-theme.yt-light-mode .yt-cloud-storage-pill {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}

@media (max-width: 540px) {
    .yt-cloud-actions-grid {
        grid-template-columns: 1fr;
    }
}

.yt-cloud-bridge-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(148, 163, 184, 0.16);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: var(--yt-text-muted);
    margin-left: auto;
}

.yt-cloud-bridge-pill.is-connected {
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(34, 197, 94, 0.45);
    color: #86efac;
}

.yt-cloud-autosync-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
    color: var(--yt-text-muted);
}

.yt-cloud-autosync-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.yt-cloud-text-danger {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fca5a5;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 6px;
}

.yt-cloud-text-danger:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.yt-cloud-optional {
    margin-top: 14px;
    border: 1px solid var(--yt-border-soft);
    border-radius: 12px;
    background: #121722;
    overflow: hidden;
}

.yt-cloud-optional summary {
    padding: 10px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--yt-text-muted);
    cursor: pointer;
}

.yt-cloud-optional-body {
    padding: 0 12px 12px;
}

body.neonplay-theme.yt-light-mode .yt-cloud-optional {
    background: #f5f9ff;
    border-color: #c7d5e6;
}

body.neonplay-theme.yt-light-mode .yt-cloud-bridge-pill.is-connected {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}

/* Members Hub multi-storage filter tabs & badges */
.yt-save-source-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.yt-save-source-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--yt-border);
    background: #141a25;
    color: var(--yt-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.yt-save-source-tab:hover {
    border-color: #495670;
    color: var(--yt-text);
}

.yt-save-source-tab.is-active {
    border-color: rgba(139, 92, 246, 0.58);
    background: rgba(139, 92, 246, 0.18);
    color: #ffffff;
}

.yt-save-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 1px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
}

.yt-save-source-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.yt-save-source-badge.is-localstorage {
    background: rgba(56, 189, 248, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.36);
    color: #7dd3fc;
}

.yt-save-source-badge.is-indexeddb {
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.45);
    color: #ddd6fe;
}

.yt-save-source-badge.is-localforage {
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
}

body.neonplay-theme.yt-light-mode .yt-save-source-tab {
    background: #f3f8ff;
    border-color: #c7d5e6;
    color: #4b6079;
}

body.neonplay-theme.yt-light-mode .yt-save-source-tab.is-active {
    background: #e3efff;
    border-color: #7ea6d6;
    color: #133456;
}

body.neonplay-theme.yt-light-mode .yt-save-tab-count {
    background: rgba(15, 33, 56, 0.08);
}

body.neonplay-theme.yt-light-mode .yt-save-source-badge.is-localstorage {
    background: #e0f2fe;
    border-color: #7dd3fc;
    color: #0369a1;
}

body.neonplay-theme.yt-light-mode .yt-save-source-badge.is-indexeddb {
    background: #ede9fe;
    border-color: #c4b5fd;
    color: #5b21b6;
}

body.neonplay-theme.yt-light-mode .yt-save-source-badge.is-localforage {
    background: #dcfce7;
    border-color: #86efac;
    color: #166534;
}