/* =========================================================
   YAWC Theme Tokens
   v1.1
   - Current production mode: Dark
   - Light mode architecture is prepared but not active yet
   - YAWC fixed theme (not user-customizable in v1.0)
   - Flag rail expanded for generic flag types
   ========================================================= */

:root {
    /* =====================================================
       1. Surface / Background
       ===================================================== */
    --yawc-surface-0: #0b0b0c;
    --yawc-surface-1: #141416;
    --yawc-surface-2: #1b1c20;
    --yawc-surface-3: #23252b;
    --yawc-surface-elevated: rgba(255, 255, 255, 0.03);
    --yawc-surface-elevated-strong: rgba(255, 255, 255, 0.05);

    /* =====================================================
       2. Borders
       ===================================================== */
    --yawc-border-soft: rgba(255, 255, 255, 0.08);
    --yawc-border-medium: rgba(255, 255, 255, 0.14);
    --yawc-border-strong: rgba(255, 255, 255, 0.20);
    --yawc-border-dashed: rgba(255, 255, 255, 0.12);

    /* =====================================================
       3. Text
       ===================================================== */
    --yawc-text-main: rgba(255, 255, 255, 0.94);
    --yawc-text-sub: rgba(255, 255, 255, 0.78);
    --yawc-text-soft: rgba(255, 255, 255, 0.60);
    --yawc-text-muted: rgba(255, 255, 255, 0.48);

    /* =====================================================
       4. Links
       ===================================================== */
    --yawc-link-main: #7dd3fc;
    --yawc-link-strong: #93c5fd;

    /* =====================================================
       5. Shadows
       ===================================================== */
    --yawc-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
    --yawc-shadow-accent: 0 12px 34px rgba(0, 0, 0, 0.18);

    /* =====================================================
       6. Type Accent Core Colors
       ===================================================== */
    --yawc-person-accent: #cbd5e1;
    --yawc-agent-accent: #a78bfa;
    --yawc-act-accent: #fb923c;
    --yawc-group-accent: #34d399;
    --yawc-organization-accent: #94a3b8;

    /* =====================================================
       7. Type Badge Tokens
       ===================================================== */
    --yawc-person-badge-bg: rgba(203, 213, 225, 0.10);
    --yawc-person-badge-border: rgba(203, 213, 225, 0.18);
    --yawc-person-badge-text: #cbd5e1;

    --yawc-agent-badge-bg: rgba(167, 139, 250, 0.16);
    --yawc-agent-badge-border: rgba(167, 139, 250, 0.30);
    --yawc-agent-badge-text: #c4b5fd;

    --yawc-act-badge-bg: rgba(251, 146, 60, 0.16);
    --yawc-act-badge-border: rgba(251, 146, 60, 0.30);
    --yawc-act-badge-text: #fdba74;

    --yawc-group-badge-bg: rgba(52, 211, 153, 0.14);
    --yawc-group-badge-border: rgba(52, 211, 153, 0.28);
    --yawc-group-badge-text: #86efac;

    --yawc-organization-badge-bg: rgba(148, 163, 184, 0.12);
    --yawc-organization-badge-border: rgba(148, 163, 184, 0.26);
    --yawc-organization-badge-text: #cbd5e1;

    [data-yawc-theme="light"] {
    /* 既存の他tokenはそのまま */

    --yawc-person-badge-bg: rgba(100, 116, 139, 0.14);
    --yawc-person-badge-border: rgba(100, 116, 139, 0.30);
    --yawc-person-badge-text: #334155;

    --yawc-agent-badge-bg: rgba(109, 40, 217, 0.14);
    --yawc-agent-badge-border: rgba(109, 40, 217, 0.32);
    --yawc-agent-badge-text: #5b21b6;

    --yawc-act-badge-bg: rgba(234, 88, 12, 0.14);
    --yawc-act-badge-border: rgba(234, 88, 12, 0.32);
    --yawc-act-badge-text: #9a3412;

    --yawc-group-badge-bg: rgba(5, 150, 105, 0.13);
    --yawc-group-badge-border: rgba(5, 150, 105, 0.30);
    --yawc-group-badge-text: #065f46;

    --yawc-organization-badge-bg: rgba(71, 85, 105, 0.13);
    --yawc-organization-badge-border: rgba(71, 85, 105, 0.30);
    --yawc-organization-badge-text: #1f2937;

    /* 既存の他tokenはそのまま */
}

    /* =====================================================
       8. Generic Card Tokens
       ===================================================== */
    --yawc-card-bg: var(--yawc-surface-1);
    --yawc-card-border: var(--yawc-border-soft);
    --yawc-card-text: var(--yawc-text-main);
    --yawc-card-text-sub: var(--yawc-text-sub);
    --yawc-card-text-soft: var(--yawc-text-soft);
    --yawc-card-link: var(--yawc-link-main);

    /* =====================================================
       9. Structure / Members Tokens
       ===================================================== */
    --yawc-structure-bg: rgba(255, 255, 255, 0.03);
    --yawc-structure-border: var(--yawc-border-soft);

    --yawc-structure-row-bg: rgba(255, 255, 255, 0.05);
    --yawc-structure-row-border: var(--yawc-border-soft);

    --yawc-structure-tag-bg: rgba(255, 255, 255, 0.08);
    --yawc-structure-tag-text: rgba(255, 255, 255, 0.62);

    /* =====================================================
       10. Radius
       ===================================================== */
    --yawc-radius-card: 16px;
    --yawc-radius-panel: 14px;
    --yawc-radius-row: 12px;
    --yawc-radius-pill: 999px;

    /* =====================================================
       11. Filter Tokens
       ===================================================== */
    --yawc-filter-bg: rgba(255, 255, 255, 0.04);
    --yawc-filter-bg-hover: rgba(255, 255, 255, 0.06);
    --yawc-filter-bg-active: rgba(255, 255, 255, 0.08);

    --yawc-filter-border: rgba(255, 255, 255, 0.10);
    --yawc-filter-border-active: rgba(255, 255, 255, 0.18);

    --yawc-filter-text: var(--yawc-text-sub);
    --yawc-filter-text-strong: var(--yawc-text-main);
    --yawc-filter-text-soft: var(--yawc-text-soft);

    --yawc-filter-nav-bg: rgba(255, 255, 255, 0.03);
    --yawc-filter-nav-bg-hover: rgba(255, 255, 255, 0.06);

    --yawc-filter-shadow-active:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 8px 20px rgba(0, 0, 0, 0.16);

    /* =====================================================
       12. Tag Rail Tokens
       ===================================================== */
    --yawc-tag-chip-bg: rgba(255, 255, 255, 0.06);
    --yawc-tag-chip-bg-hover: rgba(255, 255, 255, 0.08);
    --yawc-tag-chip-border: rgba(255, 255, 255, 0.10);
    --yawc-tag-chip-text: rgba(255, 255, 255, 0.88);

    /* =====================================================
       13. Flag Rail Tokens
       ===================================================== */
    --yawc-flag-red-rgb: 248, 113, 113;
    --yawc-flag-blue-rgb: 96, 165, 250;
    --yawc-flag-yellow-rgb: 250, 204, 21;
    --yawc-flag-green-rgb: 74, 222, 128;

    --yawc-flag-live-rgb: var(--yawc-flag-red-rgb);
    --yawc-flag-on-air-rgb: var(--yawc-flag-blue-rgb);
    --yawc-flag-anniversary-rgb: 196, 181, 253;
    --yawc-flag-event-rgb: var(--yawc-flag-green-rgb);
    --yawc-flag-sale-rgb: 251, 146, 60;
    --yawc-flag-release-rgb: 167, 139, 250;
}

/* =========================================================
   Future light theme slot
   ========================================================= */

[data-yawc-theme="light"] {
    --yawc-surface-0: #ffffff;
    --yawc-surface-1: #ffffff;
    --yawc-surface-2: #f8fafc;
    --yawc-surface-3: #eef2f7;
    --yawc-surface-elevated: rgba(15, 23, 42, 0.02);
    --yawc-surface-elevated-strong: rgba(15, 23, 42, 0.04);

    --yawc-border-soft: rgba(15, 23, 42, 0.08);
    --yawc-border-medium: rgba(15, 23, 42, 0.14);
    --yawc-border-strong: rgba(15, 23, 42, 0.20);
    --yawc-border-dashed: rgba(15, 23, 42, 0.16);

    --yawc-text-main: rgba(15, 23, 42, 0.94);
    --yawc-text-sub: rgba(15, 23, 42, 0.76);
    --yawc-text-soft: rgba(15, 23, 42, 0.58);
    --yawc-text-muted: rgba(15, 23, 42, 0.42);

    --yawc-link-main: #0ea5e9;
    --yawc-link-strong: #2563eb;

    --yawc-shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
    --yawc-shadow-accent: 0 12px 34px rgba(15, 23, 42, 0.10);

    --yawc-person-badge-bg: rgba(100, 116, 139, 0.08);
    --yawc-person-badge-border: rgba(100, 116, 139, 0.16);
    --yawc-person-badge-text: #475569;

    --yawc-agent-badge-bg: rgba(109, 40, 217, 0.08);
    --yawc-agent-badge-border: rgba(109, 40, 217, 0.18);
    --yawc-agent-badge-text: #6d28d9;

    --yawc-act-badge-bg: rgba(234, 88, 12, 0.08);
    --yawc-act-badge-border: rgba(234, 88, 12, 0.18);
    --yawc-act-badge-text: #c2410c;

    --yawc-group-badge-bg: rgba(5, 150, 105, 0.08);
    --yawc-group-badge-border: rgba(5, 150, 105, 0.18);
    --yawc-group-badge-text: #047857;

    --yawc-organization-badge-bg: rgba(71, 85, 105, 0.08);
    --yawc-organization-badge-border: rgba(71, 85, 105, 0.18);
    --yawc-organization-badge-text: #334155;

    --yawc-card-bg: var(--yawc-surface-1);
    --yawc-card-border: var(--yawc-border-soft);
    --yawc-card-text: var(--yawc-text-main);
    --yawc-card-text-sub: var(--yawc-text-sub);
    --yawc-card-text-soft: var(--yawc-text-soft);
    --yawc-card-link: var(--yawc-link-main);

    --yawc-structure-bg: rgba(15, 23, 42, 0.02);
    --yawc-structure-border: var(--yawc-border-soft);

    --yawc-structure-row-bg: rgba(15, 23, 42, 0.03);
    --yawc-structure-row-border: rgba(15, 23, 42, 0.08);

    --yawc-structure-tag-bg: rgba(15, 23, 42, 0.06);
    --yawc-structure-tag-text: rgba(15, 23, 42, 0.60);

    --yawc-tag-chip-bg: rgba(15, 23, 42, 0.05);
    --yawc-tag-chip-bg-hover: rgba(15, 23, 42, 0.08);
    --yawc-tag-chip-border: rgba(15, 23, 42, 0.10);
    --yawc-tag-chip-text: rgba(15, 23, 42, 0.88);
}

/* =========================================================
   Type Context Tokens
   ========================================================= */

.yawc-author-card--person,
.yawc-profile-page--person {
    --yawc-type-accent: var(--yawc-person-accent);
    --yawc-type-badge-bg: var(--yawc-person-badge-bg);
    --yawc-type-badge-border: var(--yawc-person-badge-border);
    --yawc-type-badge-text: var(--yawc-person-badge-text);
}

.yawc-author-card--agent,
.yawc-profile-page--agent {
    --yawc-type-accent: var(--yawc-agent-accent);
    --yawc-type-badge-bg: var(--yawc-agent-badge-bg);
    --yawc-type-badge-border: var(--yawc-agent-badge-border);
    --yawc-type-badge-text: var(--yawc-agent-badge-text);
}

.yawc-author-card--act,
.yawc-profile-page--act {
    --yawc-type-accent: var(--yawc-act-accent);
    --yawc-type-badge-bg: var(--yawc-act-badge-bg);
    --yawc-type-badge-border: var(--yawc-act-badge-border);
    --yawc-type-badge-text: var(--yawc-act-badge-text);
}

.yawc-author-card--group,
.yawc-profile-page--group {
    --yawc-type-accent: var(--yawc-group-accent);
    --yawc-type-badge-bg: var(--yawc-group-badge-bg);
    --yawc-type-badge-border: var(--yawc-group-badge-border);
    --yawc-type-badge-text: var(--yawc-group-badge-text);
}

.yawc-author-card--organization,
.yawc-profile-page--organization {
    --yawc-type-accent: var(--yawc-organization-accent);
    --yawc-type-badge-bg: var(--yawc-organization-badge-bg);
    --yawc-type-badge-border: var(--yawc-organization-badge-border);
    --yawc-type-badge-text: var(--yawc-organization-badge-text);
}

/* =========================================================
   Unified article-bottom A-Card type tokens
   ADM-0-F-ACARD-THEME-1
   ========================================================= */

.yawc-ac-card--variant-a.yawc-ac-card--person {
    --yawc-type-accent: var(--yawc-person-accent);
    --yawc-type-badge-bg: var(--yawc-person-badge-bg);
    --yawc-type-badge-border: var(--yawc-person-badge-border);
    --yawc-type-badge-text: var(--yawc-person-badge-text);
}

.yawc-ac-card--variant-a.yawc-ac-card--agent {
    --yawc-type-accent: var(--yawc-agent-accent);
    --yawc-type-badge-bg: var(--yawc-agent-badge-bg);
    --yawc-type-badge-border: var(--yawc-agent-badge-border);
    --yawc-type-badge-text: var(--yawc-agent-badge-text);
}

.yawc-ac-card--variant-a.yawc-ac-card--act {
    --yawc-type-accent: var(--yawc-act-accent);
    --yawc-type-badge-bg: var(--yawc-act-badge-bg);
    --yawc-type-badge-border: var(--yawc-act-badge-border);
    --yawc-type-badge-text: var(--yawc-act-badge-text);
}

.yawc-ac-card--variant-a.yawc-ac-card--group {
    --yawc-type-accent: var(--yawc-group-accent);
    --yawc-type-badge-bg: var(--yawc-group-badge-bg);
    --yawc-type-badge-border: var(--yawc-group-badge-border);
    --yawc-type-badge-text: var(--yawc-group-badge-text);
}

.yawc-ac-card--variant-a.yawc-ac-card--organization {
    --yawc-type-accent: var(--yawc-organization-accent);
    --yawc-type-badge-bg: var(--yawc-organization-badge-bg);
    --yawc-type-badge-border: var(--yawc-organization-badge-border);
    --yawc-type-badge-text: var(--yawc-organization-badge-text);
}

/* =========================================================
   AC/Article Card common type tokens
   ADM-0-F-ACCARD-SLOT-PULSE-1
   - Needed by Snapshot pulse on both A and AC routes
   ========================================================= */

.yawc-ac-card--person {
    --yawc-type-accent: var(--yawc-person-accent);
    --yawc-type-badge-bg: var(--yawc-person-badge-bg);
    --yawc-type-badge-border: var(--yawc-person-badge-border);
    --yawc-type-badge-text: var(--yawc-person-badge-text);
}

.yawc-ac-card--agent {
    --yawc-type-accent: var(--yawc-agent-accent);
    --yawc-type-badge-bg: var(--yawc-agent-badge-bg);
    --yawc-type-badge-border: var(--yawc-agent-badge-border);
    --yawc-type-badge-text: var(--yawc-agent-badge-text);
}

.yawc-ac-card--act {
    --yawc-type-accent: var(--yawc-act-accent);
    --yawc-type-badge-bg: var(--yawc-act-badge-bg);
    --yawc-type-badge-border: var(--yawc-act-badge-border);
    --yawc-type-badge-text: var(--yawc-act-badge-text);
}

.yawc-ac-card--group {
    --yawc-type-accent: var(--yawc-group-accent);
    --yawc-type-badge-bg: var(--yawc-group-badge-bg);
    --yawc-type-badge-border: var(--yawc-group-badge-border);
    --yawc-type-badge-text: var(--yawc-group-badge-text);
}

.yawc-ac-card--organization {
    --yawc-type-accent: var(--yawc-organization-accent);
    --yawc-type-badge-bg: var(--yawc-organization-badge-bg);
    --yawc-type-badge-border: var(--yawc-organization-badge-border);
    --yawc-type-badge-text: var(--yawc-organization-badge-text);
}

/* =========================================================
   Article-bottom A-Card Light theme polish
   ADM-0-F-ACARD-THEME-1
   ========================================================= */

.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--variant-a.yawc-ac-card--has-no-context {
    background:
        radial-gradient(
            circle at 18% 0%,
            color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 10%, transparent),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.018) 0%,
            rgba(15, 23, 42, 0.008) 100%
        ),
        var(--yawc-card-bg);
}

.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--variant-a .yawc-ac-card__avatar-image {
    border-color: rgba(15, 23, 42, 0.10);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.10);
}

.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--variant-a .yawc-ac-card__avatar-placeholder {
    border-color: rgba(15, 23, 42, 0.12);
    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.045) 0%,
            rgba(15, 23, 42, 0.020) 100%
        );
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--variant-a .yawc-ac-card__avatar-placeholder::after {
    background: color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 42%, transparent);
    opacity: 0.60;
}

.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--variant-a .yawc-ac-card__status-layer::before {
    opacity: 0.46;
    background:
        radial-gradient(circle at 30% 30%, rgba(14, 165, 233, 0.14), transparent 62%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.00));
}

.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--variant-a .yawc-ac-card__flag-badge {
    color: rgba(15, 23, 42, 0.88);
    text-shadow: none;
    box-shadow:
        0 9px 24px rgba(15, 23, 42, 0.12),
        0 0 18px var(--yawc-ac-card-flag-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--variant-a a.yawc-ac-card__flag-badge:hover {
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 12px 26px rgba(15, 23, 42, 0.14),
        0 0 22px var(--yawc-ac-card-flag-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.70);
}

/* =========================================================
   Type Badge
   ========================================================= */

.yawc-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--yawc-radius-pill);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid var(--yawc-type-badge-border, var(--yawc-border-soft));
    background: var(--yawc-type-badge-bg, rgba(255, 255, 255, 0.06));
    color: var(--yawc-type-badge-text, var(--yawc-text-main));
}

.yawc-type-badge__icon {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
}

/* =========================================================
   Profile Hero Type Badge / Light contrast polish
   ADM-0-F-HERO-TYPE-BADGE-LIGHT-2
   - Light mode only
   - H-Card TypeBadge readability boost
   - Do not affect FlagBadge / AC-Card / Dark mode
   ========================================================= */

[data-yawc-theme="light"] .yawc-profile-hero .yawc-type-badge {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96),
            rgba(241, 245, 249, 0.94)
        );
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 54%, rgba(15, 23, 42, 0.24));
    color: color-mix(in srgb, var(--yawc-type-accent, #334155) 56%, #0f172a);
    font-weight: 700;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.88) inset,
        0 1px 0 rgba(255, 255, 255, 0.80) inset,
        0 6px 14px rgba(15, 23, 42, 0.14);
}

[data-yawc-theme="light"] .yawc-profile-hero .yawc-type-badge__icon {
    opacity: 1;
    filter: saturate(1.12);
}

.yawc-author-card__meta,
.yawc-profile-hero__meta {
    margin: 0 0 8px;
}

/* =========================================================
   Author Card (A-card)
   ========================================================= */

.yawc-author-card {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid var(--yawc-card-border);
    border-radius: var(--yawc-radius-card);
    background: var(--yawc-card-bg);
    color: var(--yawc-card-text);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-author-card__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.yawc-author-card__avatar {
    flex: 0 0 72px;
}

.yawc-author-card__avatar-image,
.yawc-author-card__avatar-placeholder {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 999px;
}

.yawc-author-card__avatar-image {
    object-fit: cover;
}

.yawc-author-card__avatar-placeholder {
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid var(--yawc-border-medium);
    position: relative;
    box-sizing: border-box;
}

.yawc-author-card__avatar-placeholder::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 55%, transparent);
    opacity: 0.72;
}

.yawc-author-card__content {
    min-width: 0;
    flex: 1 1 auto;
}

.yawc-author-card__name {
    margin: 0 0 6px;
    font-size: 1.1rem;
    line-height: 1.3;
}

.yawc-author-card__name-link {
    color: var(--yawc-card-text);
    text-decoration: none;
}

.yawc-author-card__name-link:hover {
    text-decoration: underline;
}

.yawc-author-card__description {
    margin: 0 0 10px;
    color: var(--yawc-card-text-sub);
    line-height: 1.7;
    font-size: 0.96rem;
}

.yawc-author-card__actions {
    margin: 0;
}

.yawc-author-card__profile-link {
    display: inline-block;
    color: var(--yawc-card-link);
    text-decoration: none;
    font-weight: 600;
}

.yawc-author-card__profile-link:hover {
    text-decoration: underline;
}

.yawc-author-card--agent {
    box-shadow: 0 12px 34px rgba(79, 70, 229, 0.10);
}

.yawc-author-card--act {
    box-shadow: 0 12px 34px rgba(249, 115, 22, 0.08);
}

.yawc-author-card--group {
    border-color: rgba(52, 211, 153, 0.16);
}

.yawc-author-card--organization {
    border-color: rgba(148, 163, 184, 0.18);
    background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 100%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
}

/* =========================================================
   Profile Page (H-card context)
   ========================================================= */

.yawc-profile-page {
    padding: 40px 20px;
    color: var(--yawc-text-main);
}

.yawc-profile-page__inner {
    max-width: 880px;
    margin: 0 auto;
}

/* =========================================================
   Profile Tabs
   v1.0
   - Hero Page primary section tabs
   - profile / records / relations
   ========================================================= */

.yawc-profile-tabs {
    margin: -24px 0 28px;
    position: relative;
    z-index: 3;
}

.yawc-profile-tabs__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 6px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-pill);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.025) 100%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-profile-tabs__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid transparent;
    background: transparent;
    color: var(--yawc-text-sub);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 800;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-profile-tabs__item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--yawc-border-soft);
    color: var(--yawc-text-main);
    text-decoration: none;
}

.yawc-profile-tabs__item:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-tabs__item.is-active,
.yawc-profile-tabs__item[aria-current="page"] {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 18%, transparent) 0%, rgba(255, 255, 255, 0.055) 100%);
    border-color: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 34%, transparent);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

[data-yawc-theme="light"] .yawc-profile-tabs__items {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.035) 0%, rgba(15, 23, 42, 0.018) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-profile-tabs__item {
    color: rgba(15, 23, 42, 0.72);
}

[data-yawc-theme="light"] .yawc-profile-tabs__item:hover {
    background: rgba(15, 23, 42, 0.055);
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-profile-tabs__item.is-active,
[data-yawc-theme="light"] .yawc-profile-tabs__item[aria-current="page"] {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--yawc-type-accent, #64748b) 14%, transparent) 0%, rgba(15, 23, 42, 0.04) 100%);
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 28%, transparent);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

@media (max-width: 640px) {
    .yawc-profile-tabs {
        margin: -22px 0 24px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .yawc-profile-tabs__items {
        flex-wrap: nowrap;
        width: max-content;
        min-width: 100%;
        gap: 7px;
        padding: 5px;
    }

    .yawc-profile-tabs__item {
        min-height: 34px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

/* =========================================================
   Profile Rail Area / Rail Wrapper
   v1.0
   - common wrappers for registry-based rail rendering
   - keeps existing Flag / Tag / SNS rail styles intact
   ========================================================= */

.yawc-profile-rail-area {
    min-width: 0;
}

.yawc-profile-rail-area--identity-before {
    margin: 0;
}

.yawc-profile-rail-area--identity-after {
    margin: 0;
}

.yawc-profile-rail-area--identity-before:empty,
.yawc-profile-rail-area--identity-after:empty {
    display: none;
}

.yawc-profile-rail {
    min-width: 0;
}

.yawc-profile-rail--flag_badge_rail,
.yawc-profile-rail--tag_rail,
.yawc-profile-rail--sns_rail {
    min-width: 0;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.yawc-profile-hero {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 40px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 100%),
        var(--yawc-surface-1);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-profile-hero__visual {
    position: relative;
    min-height: 180px;
    overflow: hidden;
    background: linear-gradient(180deg, #0b0b0c 0%, #141416 100%);
}

.yawc-profile-hero__image-wrap {
    position: absolute;
    inset: 0;
}

.yawc-profile-hero__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.20) 0%,
        rgba(0, 0, 0, 0.30) 48%,
        rgba(11, 11, 12, 0.76) 100%
    );
    pointer-events: none;
}

.yawc-profile-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.yawc-profile-hero__image.is-ready {
    opacity: 1;
}

.yawc-profile-hero__body {
    position: relative;
    z-index: 2;
    padding: 28px 28px 30px;
}

.yawc-profile-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 0.82rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yawc-text-muted);
    font-weight: 700;
}

.yawc-profile-hero__identity {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.yawc-profile-hero__avatar-wrap {
    flex: 0 0 auto;
}

.yawc-profile-hero__avatar {
    display: block;
    width: 120px;
    height: 120px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    box-shadow: var(--yawc-shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #111;
}

.yawc-profile-hero__identity-main {
    min-width: 0;
    flex: 1 1 auto;
}

.yawc-profile-hero__title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.18;
    color: var(--yawc-text-main);
}

.yawc-profile-hero__description {
    margin: 0;
    color: var(--yawc-text-sub);
    line-height: 1.8;
}

.yawc-profile-hero__description p,
.yawc-profile-hero__subcopy p {
    margin: 0;
}

.yawc-profile-hero__copy {
    margin-top: 18px;
}

.yawc-profile-hero__lead {
    margin: 0 0 10px;
    font-size: 1.15rem;
    line-height: 1.45;
    color: var(--yawc-text-main);
}

.yawc-profile-hero__subcopy {
    color: var(--yawc-text-sub);
    line-height: 1.8;
}

/* visual mode polish */
.yawc-profile-hero--has-visual .yawc-profile-hero__body {
    margin-top: -42px;
    padding-top: 0;
}

.yawc-profile-hero--has-visual .yawc-profile-hero__eyebrow,
.yawc-profile-hero--has-visual .yawc-profile-hero__title,
.yawc-profile-hero--has-visual .yawc-profile-hero__description,
.yawc-profile-hero--has-visual .yawc-profile-hero__lead,
.yawc-profile-hero--has-visual .yawc-profile-hero__subcopy {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.20);
}

.yawc-profile-hero--minimal .yawc-profile-hero__body {
    padding-top: 30px;
}

.yawc-profile-hero--has-text .yawc-profile-hero__copy {
    margin-top: 20px;
}

/* type nuance */
.yawc-profile-page--agent .yawc-profile-hero__eyebrow {
    color: rgba(196, 181, 253, 0.72);
}

.yawc-profile-page--act .yawc-profile-hero__eyebrow {
    color: rgba(253, 186, 116, 0.72);
}

.yawc-profile-page--organization .yawc-profile-hero__eyebrow {
    color: rgba(226, 232, 240, 0.68);
}

/* =========================================================
   Profile Hero Drawer
   v0.3
   - H-Card drawer / accordion layer
   - keeps Primary TabRail outside the drawer
   - drawer overlays lower content without pushing layout
   - aligns visual depth with Super Hero World Timeline Drawer
   ========================================================= */

.yawc-profile-hero--has-drawer {
    isolation: isolate;
}

.yawc-profile-hero--has-drawer.is-drawer-open {
    overflow: visible;
    z-index: 60;
}

.yawc-profile-hero--has-drawer.is-drawer-closed {
    overflow: hidden;
}

.yawc-profile-hero__drawer {
    position: relative;
    z-index: 16;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin-top: 16px;
}

.yawc-profile-hero__drawer-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 24%, var(--yawc-border-soft));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 10%, rgba(255, 255, 255, 0.055)) 0%,
            rgba(255, 255, 255, 0.046) 100%
        );
    color: var(--yawc-text-sub);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease;
}

.yawc-profile-hero__drawer-toggle:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 38%, var(--yawc-border-medium));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 14%, rgba(255, 255, 255, 0.075)) 0%,
            rgba(255, 255, 255, 0.062) 100%
        );
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-hero__drawer-toggle:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.16);
}

.yawc-profile-hero__drawer-toggle[aria-expanded="true"] {
    color: var(--yawc-text-main);
    border-color: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 42%, var(--yawc-border-medium));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 17%, rgba(255, 255, 255, 0.08)) 0%,
            rgba(255, 255, 255, 0.072) 100%
        );
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 10px 22px rgba(0, 0, 0, 0.16);
}

.yawc-profile-hero__drawer-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.yawc-profile-hero__drawer-toggle[aria-expanded="true"] .yawc-profile-hero__drawer-toggle-icon {
    transform: translateY(-1px);
}

/* Drawer body overlays the content below the card.
   It does not reserve normal layout height. */
.yawc-profile-hero__drawer-body {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    z-index: 80;
    width: min(92vw, 1040px);
    max-width: calc(100vw - 32px);
    transform: translateX(-50%);
    box-sizing: border-box;
}

.yawc-profile-hero__drawer-body[hidden] {
    display: none !important;
}

.yawc-profile-hero__drawer-body:not([hidden]) {
    display: block;
    animation: yawcHeroDrawerOpen 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: top center;
}

.yawc-profile-hero__drawer-inner {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: min(72vh, 720px);
    max-width: 100%;
    padding: 16px;
    border-radius: var(--yawc-radius-panel);
    border: 1px solid color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 18%, var(--yawc-border-soft));
    background:
        radial-gradient(
            circle at 14% 0%,
            color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 11%, transparent),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 10%,
            rgba(167, 139, 250, 0.08),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.074) 0%,
            rgba(255, 255, 255, 0.046) 100%
        ),
        color-mix(in srgb, var(--yawc-surface-1) 92%, #000 8%);
    box-shadow:
        0 22px 58px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.025) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-sizing: border-box;
}

.yawc-profile-hero__drawer-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 36%, rgba(255, 255, 255, 0.22)),
        transparent
    );
    opacity: 0.82;
    pointer-events: none;
}

.yawc-profile-hero__drawer-rails {
    display: grid;
    gap: 14px;
    min-width: 0;
    max-height: calc(min(72vh, 720px) - 34px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    padding-bottom: max(2px, env(safe-area-inset-bottom));
    scrollbar-width: thin;
}

/* Normalize rail spacing inside drawer.
   Existing rail components remain untouched outside drawer. */
.yawc-profile-hero__drawer-rails > .yawc-profile-rail {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
}

.yawc-profile-hero__drawer-rails .yawc-profile-tags-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-sns-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-member-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-map,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-archive-rail {
    margin-top: 0;
}

/* Drawer open mode:
   lower Profile content stays visible but becomes non-interactive. */
.yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-tabs,
.yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-tabs ~ * {
    pointer-events: none;
    user-select: none;
    opacity: 0.40;
    filter: blur(0.35px) saturate(0.72);
    transform: translateY(-8px) scale(0.992);
    transition:
        opacity 0.22s ease,
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.22s ease;
}

.yawc-profile-tabs.is-locked-by-hero-drawer {
    cursor: default;
}

.yawc-profile-tabs.is-locked-by-hero-drawer a,
.yawc-profile-tabs.is-locked-by-hero-drawer button {
    cursor: default;
}

/* Keep the open hero itself above locked lower content. */
.yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-hero.is-drawer-open {
    position: relative;
    z-index: 70;
}

/* Subtle veil feeling behind the open drawer. */
.yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-hero.is-drawer-open::after {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    top: 100%;
    height: min(72vh, 760px);
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.30) 0%,
            rgba(0, 0, 0, 0.18) 52%,
            rgba(0, 0, 0, 0.04) 100%
        );
    pointer-events: none;
    border-radius: 0 0 var(--yawc-radius-card) var(--yawc-radius-card);
}

.yawc-profile-hero__drawer {
    z-index: 3;
}

/* Opening animation */
@keyframes yawcHeroDrawerOpen {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-14px) scaleY(0.94);
        filter: blur(4px);
    }

    58% {
        opacity: 1;
        transform: translateX(-50%) translateY(2px) scaleY(1.012);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scaleY(1);
        filter: blur(0);
    }
}

/* ---------------------------------------------------------
   Light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-profile-hero__drawer-toggle {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 20%, rgba(15, 23, 42, 0.10));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #64748b) 8%, rgba(15, 23, 42, 0.045)) 0%,
            rgba(15, 23, 42, 0.035) 100%
        );
    color: rgba(15, 23, 42, 0.70);
}

[data-yawc-theme="light"] .yawc-profile-hero__drawer-toggle:hover,
[data-yawc-theme="light"] .yawc-profile-hero__drawer-toggle[aria-expanded="true"] {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 32%, rgba(15, 23, 42, 0.14));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #64748b) 12%, rgba(15, 23, 42, 0.055)) 0%,
            rgba(15, 23, 42, 0.045) 100%
        );
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-hero__drawer-inner {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 18%, rgba(15, 23, 42, 0.10));
    background:
        radial-gradient(
            circle at 14% 0%,
            color-mix(in srgb, var(--yawc-type-accent, #64748b) 8%, transparent),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 10%,
            rgba(109, 40, 217, 0.055),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(248, 250, 252, 0.92) 100%
        );
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

[data-yawc-theme="light"] .yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-hero.is-drawer-open::after {
    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.18) 0%,
            rgba(15, 23, 42, 0.11) 52%,
            rgba(15, 23, 42, 0.02) 100%
        );
}

/* ---------------------------------------------------------
   Motion / Responsive
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .yawc-profile-hero__drawer-body:not([hidden]) {
        animation: none;
    }

    .yawc-profile-hero__drawer-toggle,
    .yawc-profile-hero__drawer-toggle-icon,
    .yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-tabs,
    .yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-tabs ~ * {
        transition: none;
    }
}

@supports (height: 100dvh) {
    .yawc-profile-hero__drawer-inner {
        max-height: min(72dvh, 720px);
    }

    .yawc-profile-hero__drawer-rails {
        max-height: calc(min(72dvh, 720px) - 34px);
    }
}

@media (max-width: 640px) {
    .yawc-profile-hero__drawer {
        margin-top: 13px;
    }

    .yawc-profile-hero__drawer-toggle {
        min-height: 34px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .yawc-profile-hero__drawer-body {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        top: calc(100% + 10px);
    }

    .yawc-profile-hero__drawer-inner {
        max-height: min(74vh, 620px);
        padding: 13px;
        border-radius: var(--yawc-radius-panel);
    }

    .yawc-profile-hero__drawer-rails {
        gap: 12px;
        max-height: calc(min(74vh, 620px) - 28px);
    }

    .yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-tabs,
    .yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-tabs ~ * {
        opacity: 0.34;
        transform: translateY(-7px) scale(0.99);
    }

    .yawc-profile-page.is-yawc-hero-drawer-open .yawc-profile-hero.is-drawer-open::after {
        left: -14px;
        right: -14px;
        height: min(76vh, 680px);
    }
}

@supports (height: 100dvh) {
    @media (max-width: 640px) {
        .yawc-profile-hero__drawer-inner {
            max-height: min(74dvh, 620px);
        }

        .yawc-profile-hero__drawer-rails {
            max-height: calc(min(74dvh, 620px) - 28px);
        }
    }
}

@media (max-width: 420px) {
    .yawc-profile-hero__drawer-toggle {
        max-width: 100%;
    }

    .yawc-profile-hero__drawer-body {
        width: calc(100vw - 16px);
        max-width: calc(100vw - 16px);
    }
}

/* =========================================================
   Profile Tag Rail
   ========================================================= */

.yawc-profile-tags-rail {
    margin-top: 12px;
}

.yawc-profile-tags-rail--identity-after {
    margin-top: 12px;
}

.yawc-profile-tags-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.yawc-profile-tag-chip {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-tag-chip-border);
    background: var(--yawc-tag-chip-bg);
    color: var(--yawc-tag-chip-text);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
}

.yawc-profile-tag-chip:hover {
    background: var(--yawc-tag-chip-bg-hover);
}

/* subtle type accent only */
.yawc-profile-page--person .yawc-profile-tag-chip {
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.03);
}

.yawc-profile-page--agent .yawc-profile-tag-chip {
    box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.05);
}

.yawc-profile-page--act .yawc-profile-tag-chip {
    box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.05);
}

.yawc-profile-page--group .yawc-profile-tag-chip {
    box-shadow: inset 0 0 0 1px rgba(52, 211, 153, 0.05);
}

.yawc-profile-page--organization .yawc-profile-tag-chip {
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.05);
}

/* =========================================================
   Profile SNS Rail
   v1.1
   - SVG image first
   - fallback text supported
   - placed after Tag Rail in identity area
   ========================================================= */

.yawc-profile-sns-rail {
    margin-top: 12px;
}

.yawc-profile-sns-rail--identity-after {
    margin-top: 12px;
}

.yawc-profile-sns-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.yawc-profile-sns-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.05);
    color: var(--yawc-text-main);
    text-decoration: none;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-profile-sns-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--yawc-border-medium);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.yawc-profile-sns-item:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.16);
}

.yawc-profile-sns-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    line-height: 1;
}

.yawc-profile-sns-item__icon-image {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    opacity: 0.92;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        filter 0.18s ease;
    filter: brightness(0) invert(1);
}

.yawc-profile-sns-item:hover .yawc-profile-sns-item__icon-image {
    opacity: 1;
    transform: scale(1.03);
}

.yawc-profile-sns-item__icon--fallback {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

/* subtle service nuance */
.yawc-profile-sns-item--x:hover {
    border-color: rgba(255, 255, 255, 0.24);
}

.yawc-profile-sns-item--instagram:hover {
    border-color: rgba(244, 114, 182, 0.28);
}

.yawc-profile-sns-item--youtube:hover {
    border-color: rgba(248, 113, 113, 0.28);
}

.yawc-profile-sns-item--discord:hover {
    border-color: rgba(129, 140, 248, 0.30);
}

.yawc-profile-sns-item--pococha:hover {
    border-color: rgba(251, 146, 60, 0.28);
}

.yawc-profile-sns-item--pokekara:hover {
    border-color: rgba(96, 165, 250, 0.28);
}

.yawc-profile-sns-item--radiotalk:hover {
    border-color: rgba(250, 204, 21, 0.28);
}

.yawc-profile-sns-item--rakutenroom:hover {
    border-color: rgba(248, 113, 113, 0.24);
}

.yawc-profile-sns-item--standfm:hover {
    border-color: rgba(52, 211, 153, 0.28);
}

.yawc-profile-sns-item--syncroom:hover {
    border-color: rgba(147, 197, 253, 0.28);
}

.yawc-profile-sns-item--threads:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.yawc-profile-sns-item--tiktok:hover {
    border-color: rgba(125, 211, 252, 0.28);
}

.yawc-profile-sns-item--zepeto:hover {
    border-color: rgba(196, 181, 253, 0.28);
}

.yawc-profile-sns-item--unknown:hover {
    border-color: var(--yawc-border-medium);
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-profile-sns-item {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.88);
}

[data-yawc-theme="light"] .yawc-profile-sns-item:hover {
    background: rgba(15, 23, 42, 0.07);
    border-color: rgba(15, 23, 42, 0.16);
    color: rgba(15, 23, 42, 0.96);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-sns-item:focus-visible {
    box-shadow:
        0 0 0 2px rgba(14, 165, 233, 0.22),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-sns-item__icon-image {
    filter: none;
    opacity: 0.94;
}

[data-yawc-theme="light"] .yawc-profile-sns-item:hover .yawc-profile-sns-item__icon-image {
    opacity: 1;
}

/* responsive */
@media (max-width: 640px) {
    .yawc-profile-sns-rail__items {
        gap: 8px;
    }

    .yawc-profile-sns-item {
        width: 36px;
        height: 36px;
    }

    .yawc-profile-sns-item__icon,
    .yawc-profile-sns-item__icon-image {
        width: 17px;
        height: 17px;
        min-width: 17px;
        min-height: 17px;
    }

    .yawc-profile-sns-item__icon--fallback {
        font-size: 10px;
    }
}

/* =========================================================
   Profile Credit Badge Rail
   v1.0
   - minimal safe styling for credit_badge_rail
   - tuned for identity_after area
   ========================================================= */

.yawc-profile-credit-badge-rail {
    margin-top: 12px;
}

.yawc-profile-credit-badge-rail--identity-after {
    margin-top: 12px;
}

.yawc-profile-credit-badge-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.yawc-profile-credit-badge-item {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 5px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-sub);
    text-decoration: none;
    line-height: 1.35;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-profile-credit-badge-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--yawc-border-medium);
    color: var(--yawc-text-main);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-credit-badge-item:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-credit-badge-item__label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-profile-credit-badge-item {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.76);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item:hover {
    background: rgba(15, 23, 42, 0.07);
    border-color: rgba(15, 23, 42, 0.16);
    color: rgba(15, 23, 42, 0.94);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item:focus-visible {
    box-shadow:
        0 0 0 2px rgba(14, 165, 233, 0.22),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

@media (max-width: 640px) {
    .yawc-profile-credit-badge-rail__items {
        gap: 7px;
    }

    .yawc-profile-credit-badge-item {
        min-height: 28px;
        max-width: 100%;
        padding: 4px 11px;
        font-size: 12px;
    }
}

/* =========================================================
   Profile Timeline Rail
   v1.0
   - QuickTL / Timeline Resolver display
   - linked / unlinked / archived / status aware
   ========================================================= */

.yawc-profile-timeline-rail {
    margin-top: 12px;
}

.yawc-profile-timeline-rail__header {
    margin: 0 0 8px;
}

.yawc-profile-timeline-rail__title {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.78rem;
    line-height: 1.4;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yawc-profile-timeline-rail__list {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yawc-profile-timeline-rail__item {
    min-width: 0;
}

.yawc-profile-timeline-rail__entry {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.035);
    color: var(--yawc-text-sub);
    box-sizing: border-box;
}

.yawc-profile-timeline-rail__source {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.15);
    background: rgba(125, 211, 252, 0.07);
    color: rgba(186, 230, 253, 0.92);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    white-space: nowrap;
}

.yawc-profile-timeline-rail__body {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.yawc-profile-timeline-rail__link {
    display: block;
    color: var(--yawc-link-main);
    text-decoration: none;
}

.yawc-profile-timeline-rail__link:hover {
    color: var(--yawc-link-strong);
    text-decoration: underline;
}

.yawc-profile-timeline-rail__text {
    display: block;
    max-width: 80ch;
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
}

.yawc-profile-timeline-rail__item:hover .yawc-profile-timeline-rail__text {
    overflow-x: auto;
    text-overflow: clip;
    scrollbar-width: thin;
}

.yawc-profile-timeline-rail__date {
    flex: 0 0 auto;
    color: var(--yawc-text-muted);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

.yawc-profile-timeline-rail__item.is-unlinked .yawc-profile-timeline-rail__text {
    color: var(--yawc-text-sub);
}

.yawc-profile-timeline-rail__item.is-linked .yawc-profile-timeline-rail__entry:hover {
    border-color: var(--yawc-border-medium);
    background: rgba(255, 255, 255, 0.05);
}

.yawc-profile-timeline-rail__item.is-archived {
    opacity: 0.68;
}

.yawc-profile-timeline-rail__item.is-inactive {
    opacity: 0.56;
}

.yawc-profile-timeline-rail__item.status-active .yawc-profile-timeline-rail__entry {
    border-color: rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.045);
}

.yawc-profile-timeline-rail__item.status-ended .yawc-profile-timeline-rail__entry {
    border-color: rgba(148, 163, 184, 0.12);
}

[data-yawc-theme="light"] .yawc-profile-timeline-rail__entry {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.035);
}

[data-yawc-theme="light"] .yawc-profile-timeline-rail__source {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.07);
    color: rgba(8, 47, 73, 0.86);
}

@media (max-width: 640px) {
    .yawc-profile-timeline-rail__entry {
        gap: 7px;
        padding: 6px 9px;
    }

    .yawc-profile-timeline-rail__source {
        min-height: 20px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .yawc-profile-timeline-rail__text {
        max-width: 56ch;
        font-size: 11px;
    }

    .yawc-profile-timeline-rail__date {
        display: none;
    }
}

/* =========================================================
   Timeline Rail accordion
   ========================================================= */

.yawc-profile-timeline-rail__hidden[hidden] {
    display: none !important;
}

.yawc-profile-timeline-rail__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: 8px 0 0;
    padding: 6px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--yawc-text-soft);
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: 800;
    cursor: pointer;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.yawc-profile-timeline-rail__toggle:hover,
.yawc-profile-timeline-rail__toggle:focus {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.yawc-profile-timeline-rail__toggle[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.09);
}

.yawc-profile-timeline-item--hidden {
    opacity: 0.88;
}

/* =========================================================
   Profile Member Rail
   v1.0
   - Hero identity navigation for members / organizations
   - supports up to 36 visible items with natural wrapping
   ========================================================= */

.yawc-profile-member-rail {
    margin-top: 12px;
}

.yawc-profile-member-rail--identity-after {
    margin-top: 12px;
}

.yawc-profile-member-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.yawc-profile-member-rail-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    max-width: 100%;
    padding: 4px 10px 4px 6px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-sub);
    text-decoration: none;
    line-height: 1.35;
    font-size: 12px;
    font-weight: 700;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-profile-member-rail-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--yawc-border-medium);
    color: var(--yawc-text-main);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-member-rail-item:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-member-rail-item__scope {
    display: inline-flex;
    align-items: center;
    min-height: 18px;
    padding: 1px 6px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 10px;
    line-height: 1.15;
    font-weight: 800;
    white-space: nowrap;
    box-sizing: border-box;
}

.yawc-profile-member-rail-item__identity {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    max-width: 100%;
}

.yawc-profile-member-rail-item__avatar-wrap {
    display: inline-flex;
    flex: 0 0 auto;
}

.yawc-profile-member-rail-item__avatar {
    display: block;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #111;
}

.yawc-profile-member-rail-item__label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yawc-profile-member-rail-item.is-kind-belongs_to {
    border-color: rgba(148, 163, 184, 0.16);
}

.yawc-profile-member-rail-item.is-kind-team {
    border-color: rgba(52, 211, 153, 0.16);
}

.yawc-profile-member-rail-item.is-kind-member {
    border-color: rgba(203, 213, 225, 0.13);
}

.yawc-profile-member-rail-item--more {
    min-height: 32px;
    padding: 4px 11px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--yawc-text-soft);
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-profile-member-rail-item {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.76);
}

[data-yawc-theme="light"] .yawc-profile-member-rail-item:hover {
    background: rgba(15, 23, 42, 0.07);
    border-color: rgba(15, 23, 42, 0.16);
    color: rgba(15, 23, 42, 0.94);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-member-rail-item__scope {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.05);
    color: rgba(15, 23, 42, 0.60);
}

[data-yawc-theme="light"] .yawc-profile-member-rail-item__avatar {
    border-color: rgba(15, 23, 42, 0.12);
}

/* responsive */
@media (max-width: 640px) {
    .yawc-profile-member-rail__items {
        gap: 7px;
    }

    .yawc-profile-member-rail-item {
        gap: 7px;
        min-height: 30px;
        padding: 4px 9px 4px 5px;
        font-size: 12px;
    }

    .yawc-profile-member-rail-item__scope {
        min-height: 17px;
        padding: 1px 6px;
        font-size: 10px;
    }

    .yawc-profile-member-rail-item__avatar {
        width: 21px;
        height: 21px;
    }

    .yawc-profile-member-rail-item__label {
        max-width: 118px;
    }

    .yawc-profile-member-rail-item--more {
        min-height: 30px;
        padding: 4px 10px;
    }
}

/* =========================================================
   Profile Relation Map Rail
   v0.1
   - H-Card relation map display for existing member_rail
   - upper / members / lower 3-layer structure
   - uses --yawc-entity-color when provided by resolver
   - keeps legacy member_rail CSS intact
   ========================================================= */

.yawc-profile-relation-map {
    --yawc-relation-color: var(--yawc-entity-color, var(--yawc-type-accent, #cbd5e1));
    margin-top: 14px;
}

.yawc-profile-relation-map.yawc-profile-member-rail--identity-after {
    margin-top: 14px;
}

.yawc-profile-relation-map .yawc-profile-relation-map__items {
    display: grid;
    gap: 8px;
    align-items: center;
    min-width: 0;
}

.yawc-profile-relation-map__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-width: 0;
}

.yawc-profile-relation-map__row--upper {
    justify-content: flex-start;
    gap: 6px;
    opacity: 0.86;
}

.yawc-profile-relation-map__row--members {
    justify-content: flex-start;
    gap: 8px;
    padding: 1px 0;
}

.yawc-profile-relation-map__row--lower {
    justify-content: flex-start;
    gap: 6px;
    opacity: 0.92;
}

/* Keep old scope text hidden in Relation Map mode.
   The meaning is now communicated by placement. */
.yawc-profile-relation-map .yawc-profile-member-rail-item__scope {
    display: none;
}

/* ---------------------------------------------------------
   Common Relation Map item
   --------------------------------------------------------- */

.yawc-profile-relation-map__item {
    --yawc-relation-color: var(--yawc-entity-color, var(--yawc-type-accent, #cbd5e1));

    max-width: 100%;
    text-decoration: none;
    box-sizing: border-box;
}

.yawc-profile-relation-map__item.has-entity-color {
    --yawc-relation-color: var(--yawc-entity-color);
}

.yawc-profile-relation-map__item:hover {
    text-decoration: none;
}

.yawc-profile-relation-map__item:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

/* ---------------------------------------------------------
   Upper / Lower chips
   --------------------------------------------------------- */

.yawc-profile-relation-map__item--chip {
    min-height: 27px;
    gap: 7px;
    padding: 4px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-color: color-mix(in srgb, var(--yawc-relation-color) 24%, rgba(255, 255, 255, 0.10));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 9%, rgba(255, 255, 255, 0.045)) 0%,
            rgba(255, 255, 255, 0.032) 100%
        );
    color: var(--yawc-text-sub);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.yawc-profile-relation-map__item--chip:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--yawc-relation-color) 38%, rgba(255, 255, 255, 0.16));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 13%, rgba(255, 255, 255, 0.060)) 0%,
            rgba(255, 255, 255, 0.045) 100%
        );
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-relation-color) 8%, transparent) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-relation-map__chip-dot {
    display: inline-flex;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--yawc-relation-color);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--yawc-relation-color) 14%, transparent);
    opacity: 0.88;
}

.yawc-profile-relation-map__item--chip .yawc-profile-relation-map__label {
    max-width: 150px;
}

/* Upper row should feel quieter and slightly “above”. */
.yawc-profile-relation-map__row--upper .yawc-profile-relation-map__item--chip {
    min-height: 25px;
    padding: 3px 9px;
    font-size: 10.5px;
    color: var(--yawc-text-soft);
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 7%, rgba(255, 255, 255, 0.035)) 0%,
            rgba(255, 255, 255, 0.024) 100%
        );
}

/* Lower row can feel a little more like navigable child/team chips. */
.yawc-profile-relation-map__row--lower .yawc-profile-relation-map__item--chip {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 10%, rgba(255, 255, 255, 0.045)) 0%,
            rgba(255, 255, 255, 0.030) 100%
        );
}

/* ---------------------------------------------------------
   Member-style icons
   --------------------------------------------------------- */

.yawc-profile-relation-map__item--member {
    min-height: 34px;
    gap: 8px;
    padding: 4px 10px 4px 5px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-color: color-mix(in srgb, var(--yawc-relation-color) 24%, rgba(255, 255, 255, 0.10));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 8%, rgba(255, 255, 255, 0.045)) 0%,
            rgba(255, 255, 255, 0.034) 100%
        );
    color: var(--yawc-text-sub);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.yawc-profile-relation-map__item--member:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--yawc-relation-color) 42%, rgba(255, 255, 255, 0.16));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 13%, rgba(255, 255, 255, 0.070)) 0%,
            rgba(255, 255, 255, 0.052) 100%
        );
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-relation-color) 8%, transparent) inset,
        0 8px 18px rgba(0, 0, 0, 0.15);
}

.yawc-profile-relation-map__identity {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    max-width: 100%;
}

.yawc-profile-relation-map__avatar-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    padding: 2px;
    background: color-mix(in srgb, var(--yawc-relation-color) 16%, rgba(255, 255, 255, 0.035));
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-relation-color) 30%, rgba(255, 255, 255, 0.10)),
        0 0 0 3px color-mix(in srgb, var(--yawc-relation-color) 8%, transparent);
    box-sizing: border-box;
}

.yawc-profile-relation-map__avatar {
    display: block;
    width: 21px;
    height: 21px;
    border-radius: 999px;
    object-fit: cover;
    object-position: center;
    border: 0;
    background: #111;
}

.yawc-profile-relation-map__avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 32%, rgba(255, 255, 255, 0.08)) 0%,
            color-mix(in srgb, var(--yawc-relation-color) 18%, rgba(255, 255, 255, 0.04)) 100%
        );
    color: var(--yawc-text-main);
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
}

.yawc-profile-relation-map__label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 138px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Active/current item nuance */
.yawc-profile-relation-map__item.is-active,
.yawc-profile-relation-map__item[aria-current="page"] {
    border-color: color-mix(in srgb, var(--yawc-relation-color) 46%, rgba(255, 255, 255, 0.18));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 16%, rgba(255, 255, 255, 0.075)) 0%,
            color-mix(in srgb, var(--yawc-relation-color) 9%, rgba(255, 255, 255, 0.046)) 100%
        );
    color: var(--yawc-text-main);
}

/* More marker */
.yawc-profile-relation-map__item--more {
    min-height: 30px;
    padding: 4px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.055);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 900;
}

/* ---------------------------------------------------------
   Light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-profile-relation-map__item--chip,
[data-yawc-theme="light"] .yawc-profile-relation-map__item--member {
    border-color: color-mix(in srgb, var(--yawc-relation-color) 24%, rgba(15, 23, 42, 0.10));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 8%, rgba(15, 23, 42, 0.035)) 0%,
            rgba(15, 23, 42, 0.026) 100%
        );
    color: rgba(15, 23, 42, 0.76);
}

[data-yawc-theme="light"] .yawc-profile-relation-map__item--chip:hover,
[data-yawc-theme="light"] .yawc-profile-relation-map__item--member:hover {
    border-color: color-mix(in srgb, var(--yawc-relation-color) 36%, rgba(15, 23, 42, 0.14));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-relation-color) 12%, rgba(15, 23, 42, 0.045)) 0%,
            rgba(15, 23, 42, 0.040) 100%
        );
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-relation-color) 7%, transparent) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-relation-map__avatar-wrap {
    background: color-mix(in srgb, var(--yawc-relation-color) 12%, rgba(15, 23, 42, 0.025));
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-relation-color) 24%, rgba(15, 23, 42, 0.12)),
        0 0 0 3px color-mix(in srgb, var(--yawc-relation-color) 7%, transparent);
}

[data-yawc-theme="light"] .yawc-profile-relation-map__avatar-fallback {
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-profile-relation-map__item--more {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.60);
}

/* ---------------------------------------------------------
   Fallback for environments without color-mix()
   --------------------------------------------------------- */

@supports not (color: color-mix(in srgb, #ffffff 50%, transparent)) {
    .yawc-profile-relation-map__item--chip,
    .yawc-profile-relation-map__item--member {
        border-color: var(--yawc-border-soft);
        background: rgba(255, 255, 255, 0.045);
    }

    .yawc-profile-relation-map__item--chip:hover,
    .yawc-profile-relation-map__item--member:hover {
        border-color: var(--yawc-border-medium);
        background: rgba(255, 255, 255, 0.070);
    }

    .yawc-profile-relation-map__chip-dot {
        box-shadow: none;
    }

    .yawc-profile-relation-map__avatar-wrap {
        background: rgba(255, 255, 255, 0.045);
        box-shadow: 0 0 0 1px var(--yawc-border-soft);
    }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 640px) {
    .yawc-profile-relation-map {
        margin-top: 12px;
    }

    .yawc-profile-relation-map .yawc-profile-relation-map__items {
        gap: 7px;
    }

    .yawc-profile-relation-map__row--upper,
    .yawc-profile-relation-map__row--lower {
        gap: 5px;
    }

    .yawc-profile-relation-map__row--members {
        gap: 7px;
    }

    .yawc-profile-relation-map__item--chip {
        min-height: 25px;
        padding: 3px 9px;
        font-size: 10.5px;
    }

    .yawc-profile-relation-map__item--member {
        min-height: 32px;
        gap: 7px;
        padding: 4px 9px 4px 5px;
        font-size: 11.5px;
    }

    .yawc-profile-relation-map__avatar-wrap {
        width: 24px;
        height: 24px;
        padding: 2px;
    }

    .yawc-profile-relation-map__avatar,
    .yawc-profile-relation-map__avatar-fallback {
        width: 20px;
        height: 20px;
    }

    .yawc-profile-relation-map__label {
        max-width: 112px;
    }

    .yawc-profile-relation-map__item--chip .yawc-profile-relation-map__label {
        max-width: 126px;
    }
}

/* =========================================================
   CreditRecord View
   v1.2
   - Context link display refinement
   - Context-specific UI only
   ========================================================= */

.yawc-credit-record-view {
    margin: 32px 0;
    color: var(--yawc-text-main);
}

.yawc-credit-record-view__inner {
    padding: 22px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 100%),
        var(--yawc-surface-1);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-credit-record-view__header {
    margin: 0 0 16px;
}

.yawc-credit-record-view__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1.22rem;
    line-height: 1.3;
}

.yawc-credit-record-view__meta {
    margin: 0 0 20px;
}

.yawc-credit-record-view__meta-list {
    margin: 0;
    display: grid;
    gap: 10px;
}

.yawc-credit-record-view__meta-row {
    display: grid;
    grid-template-columns: minmax(84px, 120px) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.yawc-credit-record-view__meta-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.yawc-credit-record-view__meta-label {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 600;
}

.yawc-credit-record-view__meta-value {
    margin: 0;
    min-width: 0;
    color: var(--yawc-text-sub);
    line-height: 1.7;
    word-break: break-word;
}

.yawc-credit-record-view__meta-link {
    color: var(--yawc-link-strong);
    text-decoration: none;
}

.yawc-credit-record-view__meta-link:hover {
    text-decoration: underline;
}

.yawc-credit-record-view__body {
    display: grid;
    gap: 18px;
}

.yawc-credit-record-group {
    padding: 18px 18px 16px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.025);
}

.yawc-credit-record-group__title {
    margin: 0 0 12px;
    color: var(--yawc-text-main);
    font-size: 1rem;
    line-height: 1.4;
}

.yawc-credit-record-group__items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.yawc-credit-record-item {
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.yawc-credit-record-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.yawc-credit-record-item__main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}

.yawc-credit-record-item__person {
    min-width: 0;
    color: var(--yawc-text-main);
    line-height: 1.6;
    font-weight: 700;
}

.yawc-credit-record-item__person-link {
    color: var(--yawc-link-main);
    text-decoration: none;
}

.yawc-credit-record-item__person-link:hover {
    text-decoration: underline;
}

.yawc-credit-record-item__person-text {
    color: var(--yawc-text-main);
}

.yawc-credit-record-item__labels {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.yawc-credit-record-item__label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 3px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-sub);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    white-space: nowrap;
    box-sizing: border-box;
}

.yawc-credit-record-item__note {
    margin-top: 6px;
    color: var(--yawc-text-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

.yawc-credit-record-view__context-link {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.yawc-credit-record-view__context-link a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-link-main);
    text-decoration: none;
    line-height: 1.35;
    font-size: 12px;
    font-weight: 700;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-credit-record-view__context-link a:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--yawc-border-medium);
    color: var(--yawc-link-strong);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-credit-record-view__context-link a:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}


/* light theme tuning */
[data-yawc-theme="light"] .yawc-credit-record-view__inner,
[data-yawc-theme="light"] .yawc-credit-record-group {
    background: rgba(15, 23, 42, 0.025);
}

[data-yawc-theme="light"] .yawc-credit-record-item__label,
[data-yawc-theme="light"] .yawc-credit-record-view__context-link a {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.10);
}

[data-yawc-theme="light"] .yawc-credit-record-view__context-link a:hover {
    background: rgba(15, 23, 42, 0.07);
    border-color: rgba(15, 23, 42, 0.16);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-credit-record-view__context-link a:focus-visible {
    box-shadow:
        0 0 0 2px rgba(14, 165, 233, 0.22),
        0 8px 18px rgba(15, 23, 42, 0.08);
}


/* responsive */
@media (max-width: 640px) {
    .yawc-credit-record-view__inner {
        padding: 18px 16px;
    }

    .yawc-credit-record-view__meta-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }


    .yawc-credit-record-view__meta-badge {
        min-height: 21px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .yawc-credit-record-group {
        padding: 16px 14px 14px;
    }

    .yawc-credit-record-item__main {
        gap: 7px 8px;
    }

    .yawc-credit-record-item__label,
    .yawc-credit-record-view__context-link a {
        min-height: 28px;
        padding: 4px 11px;
        font-size: 12px;
    }
}

/* =========================================================
   Profile Flag Rail
   v1.4
   - generic flag rail for profile identity area
   - supports:
     live / on_air / anniversary / event / sale / release
   - phase-aware:
     upcoming / countdown / live / on_air / active / ended
   - light-aware:
     off / on / glow
   - slot color rails remain compatible:
     slot_1 red / slot_2 blue / slot_3 yellow / slot_4 green
   ========================================================= */

.yawc-profile-flag-rail {
    margin: 0 0 12px;
}

.yawc-profile-flag-rail--identity-before {
    margin: 0 0 12px;
}

.yawc-profile-flag-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.yawc-profile-flag-item {
    --yawc-flag-accent-rgb: var(--yawc-flag-live-rgb);
    --yawc-flag-text: rgba(255, 255, 255, 0.94);

    display: inline-flex;
    align-items: center;
    min-height: 30px;
    max-width: 100%;
    padding: 5px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(var(--yawc-flag-accent-rgb), 0.18);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.10) 0%, rgba(var(--yawc-flag-accent-rgb), 0.07) 100%);
    color: var(--yawc-flag-text);
    text-decoration: none;
    line-height: 1.35;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        opacity 0.18s ease,
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-profile-flag-item:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.yawc-profile-flag-item:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.16);
}

.yawc-profile-flag-item__label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------------------------------------------------------
   flag type base mapping
   --------------------------------------------------------- */

.yawc-profile-flag-item--live {
    --yawc-flag-accent-rgb: var(--yawc-flag-live-rgb);
}

.yawc-profile-flag-item--on_air {
    --yawc-flag-accent-rgb: var(--yawc-flag-on-air-rgb);
}

.yawc-profile-flag-item--anniversary {
    --yawc-flag-accent-rgb: var(--yawc-flag-anniversary-rgb);
}

.yawc-profile-flag-item--event {
    --yawc-flag-accent-rgb: var(--yawc-flag-event-rgb);
}

.yawc-profile-flag-item--sale {
    --yawc-flag-accent-rgb: var(--yawc-flag-sale-rgb);
}

.yawc-profile-flag-item--release {
    --yawc-flag-accent-rgb: var(--yawc-flag-release-rgb);
}

/* ---------------------------------------------------------
   slot color mapping
   slot color is allowed to override type accent
   --------------------------------------------------------- */

/* slot 1: red / YouTube */
.yawc-profile-flag-item.is-slot-color-red,
.yawc-profile-flag-item.is-slot-slot_1,
.yawc-profile-flag-item.is-platform-youtube {
    --yawc-flag-accent-rgb: var(--yawc-flag-red-rgb);
}

/* slot 2: blue / stand.fm */
.yawc-profile-flag-item.is-slot-color-blue,
.yawc-profile-flag-item.is-slot-slot_2,
.yawc-profile-flag-item.is-platform-standfm {
    --yawc-flag-accent-rgb: var(--yawc-flag-blue-rgb);
}

/* slot 3: yellow */
.yawc-profile-flag-item.is-slot-color-yellow,
.yawc-profile-flag-item.is-slot-slot_3 {
    --yawc-flag-accent-rgb: var(--yawc-flag-yellow-rgb);
}

/* slot 4: green */
.yawc-profile-flag-item.is-slot-color-green,
.yawc-profile-flag-item.is-slot-slot_4 {
    --yawc-flag-accent-rgb: var(--yawc-flag-green-rgb);
}

/* ---------------------------------------------------------
   type nuance
   --------------------------------------------------------- */

.yawc-profile-flag-item--live {
    font-weight: 800;
}

.yawc-profile-flag-item--on_air {
    letter-spacing: 0.02em;
}

.yawc-profile-flag-item--anniversary {
    border-style: solid;
}

.yawc-profile-flag-item--event {
    box-shadow: inset 0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.04);
}

.yawc-profile-flag-item--sale {
    letter-spacing: 0.03em;
}

.yawc-profile-flag-item--release {
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.05) inset,
        0 0 12px rgba(var(--yawc-flag-accent-rgb), 0.08);
}

/* ---------------------------------------------------------
   light levels
   --------------------------------------------------------- */

/* off = reservation / settled */
.yawc-profile-flag-item.is-light-off {
    opacity: 0.82;
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.16);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.09) 0%, rgba(var(--yawc-flag-accent-rgb), 0.07) 100%);
    color: rgba(255, 255, 255, 0.84);
    box-shadow: none;
}

/* on = countdown / near start */
.yawc-profile-flag-item.is-light-on {
    opacity: 0.96;
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.28);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.15) 0%, rgba(var(--yawc-flag-accent-rgb), 0.11) 100%);
    color: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.08) inset,
        0 6px 14px rgba(0, 0, 0, 0.14);
}

/* glow = live now / on air / active */
.yawc-profile-flag-item.is-light-glow {
    opacity: 1;
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.40);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.21) 0%, rgba(var(--yawc-flag-accent-rgb), 0.17) 100%);
    color: #ffffff;
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.14) inset,
        0 0 16px rgba(var(--yawc-flag-accent-rgb), 0.20),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

/* ---------------------------------------------------------
   phase nuance
   --------------------------------------------------------- */

.yawc-profile-flag-item.is-phase-upcoming {
    font-weight: 700;
}

.yawc-profile-flag-item.is-phase-countdown {
    letter-spacing: 0.02em;
}

.yawc-profile-flag-item.is-phase-live,
.yawc-profile-flag-item.is-phase-on_air,
.yawc-profile-flag-item.is-phase-active {
    font-weight: 800;
}

.yawc-profile-flag-item.is-phase-ended {
    color: rgba(255, 255, 255, 0.76);
}

.yawc-profile-flag-item.is-phase-ended:hover {
    transform: none;
}

/* ---------------------------------------------------------
   phase �ｽ�ｽ�ｽ�ｽ�ｽ�ｽ�ｽ�ｽ�ｽ�ｽ�ｽ�ｿ�ｽ�ｽ�ｽ�ｽ type nuance
   --------------------------------------------------------- */

.yawc-profile-flag-item--anniversary.is-phase-upcoming {
    letter-spacing: 0.015em;
}

.yawc-profile-flag-item--sale.is-phase-active {
    text-transform: uppercase;
}

.yawc-profile-flag-item--release.is-phase-active,
.yawc-profile-flag-item--release.is-light-glow {
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.16) inset,
        0 0 18px rgba(var(--yawc-flag-accent-rgb), 0.18),
        0 10px 24px rgba(0, 0, 0, 0.18);
}

.yawc-profile-flag-item--on_air.is-phase-on_air {
    letter-spacing: 0.025em;
}

.yawc-profile-flag-item--live.is-phase-live {
    letter-spacing: 0.025em;
}

/* ---------------------------------------------------------
   hover nuance
   --------------------------------------------------------- */

.yawc-profile-flag-item.is-light-off:hover {
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.22);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.11) 0%, rgba(var(--yawc-flag-accent-rgb), 0.09) 100%);
}

.yawc-profile-flag-item.is-light-on:hover {
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.34);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.17) 0%, rgba(var(--yawc-flag-accent-rgb), 0.13) 100%);
}

.yawc-profile-flag-item.is-light-glow:hover {
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.48);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.24) 0%, rgba(var(--yawc-flag-accent-rgb), 0.20) 100%);
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.18) inset,
        0 0 20px rgba(var(--yawc-flag-accent-rgb), 0.24),
        0 12px 28px rgba(0, 0, 0, 0.20);
}

/* ---------------------------------------------------------
   light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-profile-flag-item {
    color: rgba(15, 23, 42, 0.92);
}

[data-yawc-theme="light"] .yawc-profile-flag-item.is-light-off {
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.18);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.09) 0%, rgba(var(--yawc-flag-accent-rgb), 0.07) 100%);
    color: rgba(15, 23, 42, 0.70);
}

[data-yawc-theme="light"] .yawc-profile-flag-item.is-light-on {
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.26);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.14) 0%, rgba(var(--yawc-flag-accent-rgb), 0.10) 100%);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.06) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-flag-item.is-light-glow {
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.34);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.19) 0%, rgba(var(--yawc-flag-accent-rgb), 0.15) 100%);
    color: rgba(15, 23, 42, 0.96);
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.08) inset,
        0 0 16px rgba(var(--yawc-flag-accent-rgb), 0.14),
        0 10px 22px rgba(15, 23, 42, 0.10);
}

[data-yawc-theme="light"] .yawc-profile-flag-item:focus-visible {
    box-shadow:
        0 0 0 2px rgba(14, 165, 233, 0.22),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-flag-item.is-phase-ended {
    color: rgba(15, 23, 42, 0.62);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 640px) {
    .yawc-profile-flag-rail__items {
        gap: 7px;
    }

    .yawc-profile-flag-item {
        min-height: 28px;
        max-width: 100%;
        padding: 4px 11px;
        font-size: 12px;
    }
}

/* =========================================================
   Hero Filter Row
   ========================================================= */

.yawc-profile-filter-row {
    margin: -8px 0 28px;
}

.yawc-profile-filter-row__items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.yawc-profile-filter-row__item {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    border: 1px solid var(--yawc-filter-border);
    border-radius: var(--yawc-radius-pill);
    background: var(--yawc-filter-bg);
    overflow: hidden;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.yawc-profile-filter-row__item:hover {
    border-color: var(--yawc-filter-border-active);
    background: var(--yawc-filter-bg-hover);
}

.yawc-profile-filter-row__filter-link,
.yawc-profile-filter-row__navigate-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.yawc-profile-filter-row__filter-link {
    min-width: 0;
    min-height: 38px;
    padding: 8px 12px;
    color: var(--yawc-filter-text);
    font-weight: 600;
    line-height: 1.2;
    background: transparent;
}

.yawc-profile-filter-row__filter-link:hover {
    background: rgba(255, 255, 255, 0.02);
    color: var(--yawc-filter-text-strong);
}

.yawc-profile-filter-row__navigate-link {
    justify-content: center;
    min-width: 34px;
    min-height: 38px;
    padding: 0 10px;
    color: var(--yawc-filter-text-soft);
    background: var(--yawc-filter-nav-bg);
    border-left: 1px solid var(--yawc-filter-border);
    flex: 0 0 auto;
}

.yawc-profile-filter-row__navigate-link:hover {
    background: var(--yawc-filter-nav-bg-hover);
    color: var(--yawc-filter-text-strong);
}

.yawc-profile-filter-row__navigate-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.yawc-profile-filter-row__navigate-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.yawc-profile-filter-row__navigate-icon--person {
    color: rgba(226, 232, 240, 0.72);
}

.yawc-profile-filter-row__navigate-icon--agent {
    color: rgba(168, 85, 247, 0.95);
}

.yawc-profile-filter-row__navigate-icon--act {
    color: rgba(251, 146, 60, 0.95);
}

.yawc-profile-filter-row__navigate-icon--group {
    color: rgba(45, 212, 191, 0.90);
}

.yawc-profile-filter-row__navigate-icon--organization {
    color: rgba(148, 163, 184, 0.95);
}

.yawc-profile-filter-row__filter-link:focus-visible,
.yawc-profile-filter-row__navigate-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.28);
    position: relative;
    z-index: 1;
}

.yawc-profile-filter-row__item.is-active {
    border-color: var(--yawc-filter-border-active);
    background: var(--yawc-filter-bg-active);
    box-shadow: var(--yawc-filter-shadow-active);
}

.yawc-profile-filter-row__item.is-active .yawc-profile-filter-row__filter-link {
    color: var(--yawc-filter-text-strong);
}

.yawc-profile-filter-row__item.is-kind-all {
    background: rgba(255, 255, 255, 0.045);
}

/* =========================================================
   Related Posts
   ========================================================= */

.yawc-profile-posts-section {
    margin: 0 0 36px;
}

.yawc-profile-posts-section__header {
    margin-bottom: 16px;
}

.yawc-profile-posts-section__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1.22rem;
    line-height: 1.3;
}

.yawc-profile-posts-section__note {
    margin: 10px 0 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--yawc-text-soft);
}

.yawc-profile-posts-section__context {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 10px 0 0;
}

.yawc-profile-posts-section__context-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-sub);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    box-sizing: border-box;
}

.yawc-profile-posts-section__context-chip--event {
    border-color: rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.94);
}

.yawc-profile-posts-section__context-chip-label {
    color: var(--yawc-text-soft);
    white-space: nowrap;
}

.yawc-profile-posts-section__context-chip-value {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: inherit;
}

[data-yawc-theme="light"] .yawc-profile-posts-section__context-chip {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.66);
}

[data-yawc-theme="light"] .yawc-profile-posts-section__context-chip--event {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.09);
    color: rgba(6, 78, 59, 0.90);
}

[data-yawc-theme="light"] .yawc-profile-posts-section__context-chip-label {
    color: rgba(15, 23, 42, 0.56);
}

@media (max-width: 640px) {
    .yawc-profile-posts-section__context {
        margin-top: 9px;
        gap: 5px;
    }

    .yawc-profile-posts-section__context-chip {
        min-height: 22px;
        padding: 2px 8px;
        font-size: 10px;
    }
}

.yawc-profile-posts-list {
    display: grid;
    gap: 14px;
}

.yawc-profile-post-card {
    padding: 16px 18px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.03);
}

.yawc-profile-post-card__title {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.5;
}

.yawc-profile-post-card__title a {
    color: var(--yawc-link-main);
    text-decoration: none;
}

.yawc-profile-post-card__title a:hover {
    text-decoration: underline;
}

.yawc-profile-post-card__meta {
    margin: 0 0 10px;
    color: var(--yawc-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.yawc-profile-post-card__excerpt {
    color: var(--yawc-text-sub);
    line-height: 1.75;
}

.yawc-profile-posts-empty {
    padding: 16px 18px;
    border-radius: var(--yawc-radius-row);
    background: var(--yawc-surface-elevated);
    border: 1px dashed var(--yawc-border-dashed);
    color: var(--yawc-text-soft);
}

/* =========================================================
   Structure / Members
   ========================================================= */

.yawc-profile-structure-section {
    margin: 0 0 36px;
    padding: 22px;
    border: 1px solid var(--yawc-structure-border);
    border-radius: var(--yawc-radius-card);
    background: var(--yawc-structure-bg);
}

.yawc-profile-structure-section__header {
    margin-bottom: 16px;
}

.yawc-profile-structure-section__title {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.yawc-profile-structure-section__helper {
    margin: 0;
    color: var(--yawc-text-soft);
    line-height: 1.7;
    font-size: 0.95rem;
}

.yawc-profile-member-list {
    display: grid;
    gap: 10px;
}

.yawc-profile-member-card {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-radius: var(--yawc-radius-row);
    background: var(--yawc-structure-row-bg);
    border: 1px solid var(--yawc-structure-row-border);
}

.yawc-profile-member-card__link {
    color: var(--yawc-link-strong);
    text-decoration: none;
    font-weight: 700;
}

.yawc-profile-member-card__link:hover {
    text-decoration: underline;
}

.yawc-profile-member-card__text {
    color: var(--yawc-text-main);
}

.yawc-profile-structure-empty {
    padding: 14px 16px;
    border-radius: var(--yawc-radius-row);
    background: var(--yawc-surface-elevated);
    border: 1px dashed var(--yawc-border-dashed);
    color: var(--yawc-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.yawc-profile-page--group .yawc-profile-structure-section {
    border-color: rgba(16, 185, 129, 0.18);
    background: rgba(16, 185, 129, 0.04);
}

.yawc-profile-page--organization .yawc-profile-structure-section {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(148, 163, 184, 0.04);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.02);
}

.yawc-profile-page--organization .yawc-profile-member-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(148, 163, 184, 0.14);
}

/* =========================================================
   Profile Structure Section Refinement
   v1.0
   - clarifies Teams / Members as official structure display
   - keeps Hero Member Rail as lightweight navigation
   ========================================================= */

.yawc-profile-structure-section {
    margin-top: 10px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.026) 0%, rgba(255, 255, 255, 0.018) 100%),
        var(--yawc-structure-bg);
}

.yawc-profile-structure-section__header {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yawc-profile-structure-section__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.yawc-profile-structure-section__title::before {
    content: "Structure";
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.yawc-profile-member-list {
    margin-top: 16px;
}

.yawc-profile-member-card {
    position: relative;
    padding: 13px 15px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.042) 0%, rgba(255, 255, 255, 0.028) 100%);
}

.yawc-profile-member-card::before {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--yawc-type-accent, rgba(203, 213, 225, 0.70));
    opacity: 0.72;
}

.yawc-profile-member-card__link,
.yawc-profile-member-card__text {
    line-height: 1.6;
}

.yawc-profile-member-card__link {
    color: var(--yawc-link-strong);
}

.yawc-profile-member-card.is-internal {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 22%, transparent);
}

.yawc-profile-structure-empty {
    margin-top: 16px;
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-profile-structure-section {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.022) 0%, rgba(15, 23, 42, 0.014) 100%),
        var(--yawc-structure-bg);
}

[data-yawc-theme="light"] .yawc-profile-structure-section__header {
    border-bottom-color: rgba(15, 23, 42, 0.07);
}

[data-yawc-theme="light"] .yawc-profile-structure-section__title::before {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.58);
}

[data-yawc-theme="light"] .yawc-profile-member-card {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.035) 0%, rgba(15, 23, 42, 0.022) 100%);
}

/* responsive */
@media (max-width: 640px) {
    .yawc-profile-structure-section {
        padding: 18px 16px;
    }

    .yawc-profile-structure-section__header {
        padding-bottom: 12px;
    }

    .yawc-profile-structure-section__title {
        flex-wrap: wrap;
        gap: 7px;
    }

    .yawc-profile-structure-section__title::before {
        min-height: 19px;
        padding: 2px 7px;
        font-size: 9px;
    }

    .yawc-profile-member-list {
        margin-top: 14px;
    }

    .yawc-profile-member-card {
        padding: 12px 13px;
    }
}

/* =========================================================
   Profile Record Section
   v1.0
   - records tab achievement list
   - placed before Related Posts
   ========================================================= */

.yawc-profile-record-section {
    margin: 0 0 36px;
    padding: 22px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-card);
    background:
        linear-gradient(180deg, rgba(251, 146, 60, 0.035) 0%, rgba(255, 255, 255, 0.018) 100%),
        var(--yawc-surface-elevated);
}

.yawc-profile-record-section__header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yawc-profile-record-section__title {
    margin: 0 0 8px;
    color: var(--yawc-text-main);
    font-size: 1.22rem;
    line-height: 1.3;
}

.yawc-profile-record-section__helper {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.yawc-profile-record-list {
    display: grid;
    gap: 12px;
}

.yawc-profile-record-item {
    display: grid;
    gap: 9px;
    padding: 15px 16px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid rgba(255, 255, 255, 0.075);
    background: rgba(255, 255, 255, 0.028);
}

.yawc-profile-record-item__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1rem;
    line-height: 1.5;
}

.yawc-profile-record-item__title a {
    color: var(--yawc-link-main);
    text-decoration: none;
}

.yawc-profile-record-item__title a:hover {
    text-decoration: underline;
}

.yawc-profile-record-item__meta,
.yawc-profile-record-item__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.yawc-profile-record-item__chip {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.yawc-profile-record-item__chip--badge {
    border-color: rgba(251, 146, 60, 0.18);
    background: rgba(251, 146, 60, 0.10);
    color: rgba(253, 186, 116, 0.96);
}

.yawc-profile-record-item__chip--context {
    border-color: rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.08);
    color: rgba(186, 230, 253, 0.92);
}

.yawc-profile-record-item__chip--role,
.yawc-profile-record-item__chip--section {
    color: var(--yawc-text-sub);
}

.yawc-profile-record-empty {
    padding: 16px 18px;
    border-radius: var(--yawc-radius-row);
    background: var(--yawc-surface-elevated);
    border: 1px dashed var(--yawc-border-dashed);
    color: var(--yawc-text-soft);
}

.yawc-profile-record-empty p {
    margin: 0;
    line-height: 1.7;
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-profile-record-section,
[data-yawc-theme="light"] .yawc-profile-record-item {
    background: rgba(15, 23, 42, 0.025);
}

[data-yawc-theme="light"] .yawc-profile-record-section__header {
    border-bottom-color: rgba(15, 23, 42, 0.07);
}

[data-yawc-theme="light"] .yawc-profile-record-item__chip {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.60);
}

[data-yawc-theme="light"] .yawc-profile-record-item__chip--badge {
    border-color: rgba(234, 88, 12, 0.16);
    background: rgba(234, 88, 12, 0.09);
    color: rgba(124, 45, 18, 0.90);
}

[data-yawc-theme="light"] .yawc-profile-record-item__chip--context {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(14, 165, 233, 0.09);
    color: rgba(8, 47, 73, 0.88);
}

/* responsive */
@media (max-width: 640px) {
    .yawc-profile-record-section {
        padding: 18px 16px;
    }

    .yawc-profile-record-item {
        padding: 13px 14px;
    }

    .yawc-profile-record-item__meta,
    .yawc-profile-record-item__facts {
        gap: 5px;
    }

    .yawc-profile-record-item__chip {
        min-height: 21px;
        padding: 2px 7px;
        font-size: 10px;
    }
}

/* =========================================================
   Profile Record Section - Achievement UI
   v1.1
   - Achievement Resolver DTO support
   - main_color badge support
   - Event / Release chronological records
   ========================================================= */

.yawc-profile-record-section__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 12px;
}

.yawc-profile-record-section__summary-chip {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

.yawc-profile-record-item {
    position: relative;
    overflow: hidden;
}

.yawc-profile-record-item.has-main-color {
    border-color: color-mix(in srgb, var(--yawc-main-color, #ffffff) 22%, var(--yawc-border-soft));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-main-color, #ffffff) 5%, transparent),
            rgba(255, 255, 255, 0.024)
        );
}

.yawc-profile-record-item__main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.yawc-profile-record-item__badge-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.yawc-profile-record-item__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    padding: 4px 11px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.055);
    color: var(--yawc-text-main);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 900;
    letter-spacing: 0.01em;
    word-break: break-word;
    box-sizing: border-box;
}

.yawc-profile-record-item__badge[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 46%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 18%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 8%, transparent)
        ),
        rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-main);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 10%, transparent);
}

.yawc-profile-record-item__title {
    margin: 0;
}

.yawc-profile-record-item__title-link,
.yawc-profile-record-item__title-text {
    color: var(--yawc-text-main);
    text-decoration: none;
    font-weight: 900;
}

.yawc-profile-record-item__title-link:hover {
    color: var(--yawc-link-main);
    text-decoration: underline;
}

.yawc-profile-record-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.yawc-profile-record-item__chip--date {
    border-color: rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.08);
    color: rgba(186, 230, 253, 0.92);
}

.yawc-profile-record-item__chip--source {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(148, 163, 184, 0.07);
    color: rgba(226, 232, 240, 0.86);
}

.yawc-profile-record-item__chip--type {
    border-color: rgba(251, 191, 36, 0.16);
    background: rgba(251, 191, 36, 0.08);
    color: rgba(254, 240, 138, 0.92);
}

.yawc-profile-record-item--event_appearance .yawc-profile-record-item__chip--source,
.yawc-profile-record-item--event_organizer .yawc-profile-record-item__chip--source {
    border-color: rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.92);
}

.yawc-profile-record-item--release_credit .yawc-profile-record-item__chip--source,
.yawc-profile-record-item--release_owner .yawc-profile-record-item__chip--source {
    border-color: rgba(251, 191, 36, 0.18);
    background: rgba(251, 191, 36, 0.09);
    color: rgba(254, 240, 138, 0.92);
}

.yawc-profile-record-item__details {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.yawc-profile-record-item__detail {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
}

.yawc-profile-record-item__detail-label {
    color: var(--yawc-text-muted);
    font-weight: 900;
}

.yawc-profile-record-item__detail-text {
    color: var(--yawc-text-sub);
}

.yawc-profile-record-section__empty {
    padding: 16px 18px;
    border-radius: var(--yawc-radius-row);
    background: var(--yawc-surface-elevated);
    border: 1px dashed var(--yawc-border-dashed);
    color: var(--yawc-text-soft);
}

.yawc-profile-record-section__empty p {
    margin: 0;
    line-height: 1.7;
}

[data-yawc-theme="light"] .yawc-profile-record-section__summary-chip,
[data-yawc-theme="light"] .yawc-profile-record-item__badge,
[data-yawc-theme="light"] .yawc-profile-record-item__detail {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.72);
}

[data-yawc-theme="light"] .yawc-profile-record-item__badge[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 42%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 16%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 7%, transparent)
        ),
        rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 9%, transparent);
}

@media (max-width: 640px) {
    .yawc-profile-record-section__summary {
        gap: 5px;
    }

    .yawc-profile-record-section__summary-chip,
    .yawc-profile-record-item__badge,
    .yawc-profile-record-item__detail {
        min-height: 22px;
        padding: 2px 8px;
        font-size: 10px;
    }

    .yawc-profile-record-item__badge {
        min-height: 26px;
        padding: 3px 10px;
        font-size: 11px;
    }
}

/* =========================================================
   Profile Event Series Section
   v1.0
   - event_series tab list grouped by Event Entity
   - aligned with Profile Record sections
   ========================================================= */

.yawc-profile-event-series-section {
    margin: 0 0 36px;
    padding: 22px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-card);
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.035) 0%, rgba(255, 255, 255, 0.018) 100%),
        var(--yawc-surface-elevated);
}

.yawc-profile-event-series-section__header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.yawc-profile-event-series-section__eyebrow {
    margin: 0 0 8px;
    color: var(--yawc-text-muted);
    font-size: 0.78rem;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yawc-profile-event-series-section__title {
    margin: 0 0 8px;
    color: var(--yawc-text-main);
    font-size: 1.22rem;
    line-height: 1.3;
}

.yawc-profile-event-series-section__helper {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.yawc-profile-event-series-section__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 12px;
}

.yawc-profile-event-series-section__summary-chip {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.94);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Event Secondary Rail
   v1.0
   - Events tab secondary filters
   - All / Event short labels / Event Hero link
   - no count display by design
   --------------------------------------------------------- */

.yawc-profile-event-filter-rail {
    margin: 0 0 18px;
}

.yawc-profile-event-filter-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 6px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-pill);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.022) 100%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-profile-event-filter-rail__item {
    display: inline-flex;
    align-items: stretch;
    max-width: 100%;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid transparent;
    background: transparent;
    overflow: hidden;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-profile-event-filter-rail__item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--yawc-border-soft);
}

.yawc-profile-event-filter-rail__filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    color: var(--yawc-text-sub);
    text-decoration: none;
    line-height: 1.35;
    font-size: 12px;
    font-weight: 800;
    box-sizing: border-box;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.yawc-profile-event-filter-rail__filter-link {
    min-width: 0;
    padding: 6px 13px;
    white-space: nowrap;
    border-radius: inherit;
}

.yawc-profile-event-filter-rail__filter-link:hover {
    color: var(--yawc-text-main);
    text-decoration: none;
}

.yawc-profile-event-filter-rail__filter-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.28);
    position: relative;
    z-index: 1;
}

.yawc-profile-event-filter-rail__item.is-active {
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.14) 0%, rgba(255, 255, 255, 0.055) 100%);
    border-color: rgba(52, 211, 153, 0.28);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-event-filter-rail__item.is-active .yawc-profile-event-filter-rail__filter-link {
    color: var(--yawc-text-main);
}

[data-yawc-theme="light"] .yawc-profile-event-filter-rail__items {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.032) 0%, rgba(15, 23, 42, 0.016) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-profile-event-filter-rail__item:hover {
    background: rgba(15, 23, 42, 0.055);
    border-color: rgba(15, 23, 42, 0.10);
}

[data-yawc-theme="light"] .yawc-profile-event-filter-rail__filter-link {
    color: rgba(15, 23, 42, 0.70);
}

[data-yawc-theme="light"] .yawc-profile-event-filter-rail__filter-link:hover {
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-profile-event-filter-rail__item.is-active {
    background:
        linear-gradient(180deg, rgba(5, 150, 105, 0.10) 0%, rgba(15, 23, 42, 0.04) 100%);
    border-color: rgba(5, 150, 105, 0.20);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-event-filter-rail__item.is-active .yawc-profile-event-filter-rail__filter-link {
    color: rgba(15, 23, 42, 0.94);
}

@media (max-width: 640px) {
    .yawc-profile-event-filter-rail {
        margin-bottom: 16px;
    }

    .yawc-profile-event-filter-rail__items {
        gap: 6px;
        padding: 5px;
        border-radius: var(--yawc-radius-panel);
    }

    .yawc-profile-event-filter-rail__filter-link {
        min-height: 32px;
        padding: 5px 10px;
        font-size: 11px;
    }
}

.yawc-profile-event-series-groups {
    display: grid;
    gap: 18px;
}

.yawc-profile-event-series-group {
    padding: 16px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.025);
}

.yawc-profile-event-series-group__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.yawc-profile-event-series-group__heading {
    min-width: 0;
}

.yawc-profile-event-series-group__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1rem;
    line-height: 1.4;
}

.yawc-profile-event-series-group__title-link {
    color: var(--yawc-link-strong);
    text-decoration: none;
}

.yawc-profile-event-series-group__title-link:hover {
    text-decoration: underline;
}

.yawc-profile-event-series-group__short-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 6px 0 0;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.14);
    background: rgba(52, 211, 153, 0.07);
    color: var(--yawc-text-soft);
    font-size: 0.78rem;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0.02em;
    word-break: break-word;
}

[data-yawc-theme="light"] .yawc-profile-event-series-group__short-label {
    border-color: rgba(5, 150, 105, 0.14);
    background: rgba(5, 150, 105, 0.07);
    color: rgba(15, 23, 42, 0.62);
}

.yawc-profile-event-series-group__ref {
    margin: 6px 0 0;
    color: var(--yawc-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
    word-break: break-word;
}

.yawc-profile-event-series-group__count {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-sub);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    white-space: nowrap;
}

.yawc-profile-event-series-list {
    display: grid;
    gap: 10px;
}

.yawc-profile-event-series-item {
    display: grid;
    gap: 8px;
    padding: 12px 13px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.028);
}

.yawc-profile-event-series-item__main {
    display: flex;
    align-items: baseline;
    gap: 9px;
    min-width: 0;
}

.yawc-profile-event-series-item__code {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.18);
    background: rgba(52, 211, 153, 0.10);
    color: rgba(187, 247, 208, 0.96);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    white-space: nowrap;
}

.yawc-profile-event-series-item__title {
    margin: 0;
    min-width: 0;
    color: var(--yawc-text-main);
    font-size: 0.98rem;
    line-height: 1.55;
}

.yawc-profile-event-series-item__link {
    color: var(--yawc-link-main);
    text-decoration: none;
}

.yawc-profile-event-series-item__link:hover {
    text-decoration: underline;
}

.yawc-profile-event-series-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.yawc-profile-event-series-item__chip {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.yawc-profile-event-series-item__chip--date {
    border-color: rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.08);
    color: rgba(186, 230, 253, 0.92);
}

.yawc-profile-event-series-item__chip--event-date {
    color: var(--yawc-text-soft);
}

.yawc-profile-event-series-empty {
    padding: 16px 18px;
    border-radius: var(--yawc-radius-row);
    background: var(--yawc-surface-elevated);
    border: 1px dashed var(--yawc-border-dashed);
    color: var(--yawc-text-soft);
}

.yawc-profile-event-series-empty p {
    margin: 0;
    line-height: 1.7;
}

.yawc-profile-event-series-empty--series {
    padding: 14px 16px;
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-profile-event-series-section,
[data-yawc-theme="light"] .yawc-profile-event-series-group,
[data-yawc-theme="light"] .yawc-profile-event-series-item {
    background: rgba(15, 23, 42, 0.025);
}

[data-yawc-theme="light"] .yawc-profile-event-series-section__header {
    border-bottom-color: rgba(15, 23, 42, 0.07);
}

[data-yawc-theme="light"] .yawc-profile-event-series-section__summary-chip,
[data-yawc-theme="light"] .yawc-profile-event-series-item__code {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.09);
    color: rgba(6, 78, 59, 0.90);
}

[data-yawc-theme="light"] .yawc-profile-event-series-group__count,
[data-yawc-theme="light"] .yawc-profile-event-series-item__chip {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.60);
}

[data-yawc-theme="light"] .yawc-profile-event-series-item__chip--date {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(14, 165, 233, 0.09);
    color: rgba(8, 47, 73, 0.88);
}

/* responsive */
@media (max-width: 640px) {
    .yawc-profile-event-series-section {
        padding: 18px 16px;
    }

    .yawc-profile-event-series-group {
        padding: 14px;
    }

    .yawc-profile-event-series-group__header {
        gap: 8px;
    }

    .yawc-profile-event-series-item {
        padding: 11px 12px;
    }

    .yawc-profile-event-series-item__main {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .yawc-profile-event-series-section__summary-chip,
    .yawc-profile-event-series-item__code,
    .yawc-profile-event-series-item__chip,
    .yawc-profile-event-series-group__count {
        min-height: 21px;
        padding: 2px 7px;
        font-size: 10px;
    }
    .yawc-profile-event-series-group__short-label {
        margin-top: 5px;
        padding: 2px 7px;
        font-size: 0.74rem;
    }
}


/* ------------------------------------------------------------
 * Profile Event Series - items timeline index
 * ------------------------------------------------------------ */

.yawc-profile-event-series-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.yawc-profile-event-series-item {
    padding: 12px 14px;
}

.yawc-profile-event-series-item__main {
    display: grid;
    gap: 6px;
}

.yawc-profile-event-series-item__chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.yawc-profile-event-series-item__code,
.yawc-profile-event-series-item__context {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    font-size: 0.78rem;
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    word-break: break-word;
}

.yawc-profile-event-series-item__context:hover {
    text-decoration: underline;
}

.yawc-profile-event-series-item__title {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.55;
}

.yawc-profile-event-series-item__link {
    text-decoration: none;
}

.yawc-profile-event-series-item__link:hover {
    text-decoration: underline;
}

.yawc-profile-event-series-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.yawc-profile-event-series-item__chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    font-size: 0.76rem;
    line-height: 1.45;
    font-weight: 700;
}

@media (max-width: 640px) {
    .yawc-profile-event-series-item {
        padding: 11px 12px;
    }

    .yawc-profile-event-series-item__title {
        font-size: 0.94rem;
    }

    .yawc-profile-event-series-item__code,
    .yawc-profile-event-series-item__context,
    .yawc-profile-event-series-item__chip {
        font-size: 0.72rem;
    }
}


/* =========================================================
   AC Card
   ========================================================= */

.yawc-ac-card {
    position: relative;
    overflow: hidden;
    margin-top: 32px;
    border: 1px solid var(--yawc-card-border);
    border-radius: var(--yawc-radius-card);
    background: var(--yawc-card-bg);
    color: var(--yawc-card-text);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-ac-card__hero {
    position: relative;
    min-height: 140px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
}

.yawc-ac-card__hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.yawc-ac-card__hero-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    object-position: center;
}

.yawc-ac-card__hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.16) 0%,
            rgba(0, 0, 0, 0.24) 55%,
            rgba(11, 11, 12, 0.86) 100%
        );
    pointer-events: none;
}

.yawc-ac-card__context {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
}

.yawc-ac-card__context-link,
.yawc-ac-card__context-text {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.94);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yawc-ac-card__context-link:hover {
    color: #fff;
    text-decoration: none;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(0, 0, 0, 0.34);
}

.yawc-ac-card__body {
    position: relative;
    z-index: 3;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 0 20px 18px;
    margin-top: -26px;
}

.yawc-ac-card__avatar {
    flex: 0 0 72px;
}

.yawc-ac-card__avatar-image,
.yawc-ac-card__avatar-placeholder {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 999px;
}

.yawc-ac-card__avatar-image {
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
    background: #111;
}

.yawc-ac-card__avatar-placeholder {
    position: relative;
    box-sizing: border-box;
    border: 1px solid var(--yawc-border-medium);
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.025) 100%);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.20);
}

.yawc-ac-card__avatar-placeholder::after {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.34);
}

.yawc-ac-card__meta {
    min-width: 0;
    flex: 1 1 auto;
    padding-top: 28px;
}

.yawc-ac-card__type {
    margin: 0 0 8px;
}

.yawc-ac-card__name {
    margin: 0 0 6px;
    font-size: 1.14rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--yawc-card-text);
}

.yawc-ac-card__name-link {
    color: inherit;
    text-decoration: none;
}

.yawc-ac-card__name-link:hover {
    text-decoration: underline;
}

.yawc-ac-card__description {
    margin: 0;
    color: var(--yawc-card-text-sub);
    line-height: 1.75;
    font-size: 0.95rem;
}

.yawc-ac-card__members {
    padding: 0 20px 18px;
}

.yawc-ac-card__members-list {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.yawc-ac-card__member {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yawc-ac-card__member a {
    display: inline-flex;
    text-decoration: none;
}

.yawc-ac-card__member-avatar,
.yawc-ac-card__member-placeholder,
.yawc-ac-card__member--more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
}

.yawc-ac-card__member-avatar {
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: #111;
}

.yawc-ac-card__member-placeholder {
    position: relative;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,0.10);
    background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.025) 100%);
}

.yawc-ac-card__member-placeholder::after {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: rgba(203, 213, 225, 0.34);
}

.yawc-ac-card__member--more {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.yawc-ac-card .yawc-type-badge {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
}

.yawc-ac-card:hover {
    border-color: var(--yawc-border-medium);
}

/* =========================================================
   AC Card FlagBadge
   ADM-0-F-ACCARD-1-D
   - Author / AC-Card target Entity FlagBadge[0]
   - Identity body side placement
   - Keeps ContextEntityName on Hero top-right untouched
   ========================================================= */

.yawc-ac-card__identity-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 10px;
    min-width: 0;
    margin: 0 0 8px;
}

.yawc-ac-card__identity-header .yawc-ac-card__type {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

.yawc-ac-card__flag-badge-wrap {
    display: flex;
    flex: 0 1 auto;
    justify-content: flex-end;
    min-width: 0;
    max-width: min(46%, 240px);
    padding-top: 1px;
}

.yawc-ac-card__flag-badge {
    --yawc-ac-card-flag-accent-rgb: 98, 183, 255;
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-bg: rgba(16, 24, 46, 0.86);
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.38);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.24);

    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    min-height: 28px;
    padding: 5px 10px 5px 8px;
    overflow: hidden;
    border: 1px solid rgba(var(--yawc-ac-card-flag-accent-rgb), var(--yawc-ac-card-flag-border-alpha));
    border-radius: var(--yawc-radius-pill);
    background:
        linear-gradient(
            180deg,
            rgba(var(--yawc-ac-card-flag-accent-rgb), var(--yawc-ac-card-flag-bg-alpha)) 0%,
            rgba(var(--yawc-ac-card-flag-accent-rgb), 0.07) 100%
        ),
        rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.94);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    box-shadow:
        0 0 0 1px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.05) inset,
        0 8px 18px rgba(0, 0, 0, 0.14),
        0 0 16px rgba(var(--yawc-ac-card-flag-accent-rgb), var(--yawc-ac-card-flag-glow-alpha));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        opacity 0.18s ease;
}

a.yawc-ac-card__flag-badge:hover {
    transform: translateY(-1px);
    border-color: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.40);
    color: #ffffff;
    text-decoration: none;
    background:
        linear-gradient(
            180deg,
            rgba(var(--yawc-ac-card-flag-accent-rgb), 0.16) 0%,
            rgba(var(--yawc-ac-card-flag-accent-rgb), 0.10) 100%
        ),
        rgba(255, 255, 255, 0.045);
    box-shadow:
        0 0 0 1px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.08) inset,
        0 10px 22px rgba(0, 0, 0, 0.18),
        0 0 20px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.20);
}

.yawc-ac-card__flag-badge:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.16),
        0 0 18px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.18);
}

.yawc-ac-card__flag-badge-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    color: transparent;
    font-size: 0;
    line-height: 0;
    background: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.96);
    box-shadow:
        0 0 0 3px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.13),
        0 0 12px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.24);
}

.yawc-ac-card__flag-badge-label {
    display: inline-block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------------------------------------------------------
   Flag type mapping
   --------------------------------------------------------- */

.yawc-ac-card__flag-badge--live {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-live-rgb, 248, 113, 113);
}

.yawc-ac-card__flag-badge--on_air {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-on-air-rgb, 96, 165, 250);
}

.yawc-ac-card__flag-badge--event {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-event-rgb, 74, 222, 128);
}

.yawc-ac-card__flag-badge--release {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-release-rgb, 167, 139, 250);
}

.yawc-ac-card__flag-badge--birthday,
.yawc-ac-card__flag-badge--anniversary {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-anniversary-rgb, 196, 181, 253);
}

.yawc-ac-card__flag-badge--sale {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-sale-rgb, 251, 146, 60);
}

/* ---------------------------------------------------------
   Phase / light-level nuance
   --------------------------------------------------------- */

.yawc-ac-card__flag-badge--phase-ended,
.yawc-ac-card__flag-badge--phase-afterglow,
.yawc-ac-card__flag-badge--phase-recent_past {
    opacity: 0.78;
}

.yawc-ac-card__flag-badge--phase-upcoming,
.yawc-ac-card__flag-badge--phase-countdown {
    --yawc-ac-card-flag-bg-alpha: 0.09;
    --yawc-ac-card-flag-border-alpha: 0.22;
    --yawc-ac-card-flag-glow-alpha: 0.08;
}

.yawc-ac-card__flag-badge--phase-live,
.yawc-ac-card__flag-badge--phase-on_air,
.yawc-ac-card__flag-badge--phase-active {
    --yawc-ac-card-flag-bg-alpha: 0.14;
    --yawc-ac-card-flag-border-alpha: 0.32;
    --yawc-ac-card-flag-glow-alpha: 0.18;
}

.yawc-ac-card__flag-badge--light-off,
.yawc-ac-card__flag-badge--light-low {
    opacity: 0.82;
    --yawc-ac-card-flag-bg-alpha: 0.08;
    --yawc-ac-card-flag-border-alpha: 0.18;
    --yawc-ac-card-flag-glow-alpha: 0.04;
}

.yawc-ac-card__flag-badge--light-on {
    --yawc-ac-card-flag-bg-alpha: 0.13;
    --yawc-ac-card-flag-border-alpha: 0.30;
    --yawc-ac-card-flag-glow-alpha: 0.14;
}

.yawc-ac-card__flag-badge--light-glow,
.yawc-ac-card__flag-badge--light-high {
    --yawc-ac-card-flag-bg-alpha: 0.18;
    --yawc-ac-card-flag-border-alpha: 0.40;
    --yawc-ac-card-flag-glow-alpha: 0.22;
}

/* =========================================================
   AC Card Unified Variant Support
   ADM-0-F-ACCARD-2-C
   - Prepare unified ac-card.php for variant=a / no-context display
   - Keep current context AC-Card display untouched as much as possible
   - Use AC-Card scoped selectors only
   - No JS required
   ========================================================= */

/* ---------------------------------------------------------
   No-context / A variant base
   --------------------------------------------------------- */

.yawc-ac-card--has-no-context {
    background:
        radial-gradient(
            circle at 18% 0%,
            color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 9%, transparent),
            transparent 34%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.035) 0%,
            rgba(255, 255, 255, 0.018) 100%
        ),
        var(--yawc-card-bg);
}

/*
 * Safety:
 * unified-ready View currently does not render .yawc-ac-card__hero
 * when context is empty, but this prevents an accidental empty Hero gap
 * if the markup changes later.
 */
.yawc-ac-card--has-no-context .yawc-ac-card__hero {
    display: none;
    min-height: 0;
}

.yawc-ac-card--has-no-context .yawc-ac-card__body {
    margin-top: 0;
    padding: 24px 20px 20px;
    align-items: flex-start;
    gap: 18px;
}

/*
 * When FlagBadge exists, reserve a little top space so the temporary
 * sticker does not collide with Avatar / Type / Name.
 */
.yawc-ac-card--has-no-context.yawc-ac-card--has-flag-badge .yawc-ac-card__body {
    padding-top: clamp(54px, 9vw, 66px);
}

.yawc-ac-card--has-no-context .yawc-ac-card__meta {
    padding-top: 2px;
}

.yawc-ac-card--has-no-context .yawc-ac-card__avatar {
    flex: 0 0 76px;
}

.yawc-ac-card--has-no-context .yawc-ac-card__avatar-image,
.yawc-ac-card--has-no-context .yawc-ac-card__avatar-placeholder {
    width: 76px;
    height: 76px;
}

.yawc-ac-card--has-no-context .yawc-ac-card__avatar-placeholder::after {
    inset: 17px;
}

/* ---------------------------------------------------------
   No-context Status Layer position
   --------------------------------------------------------- */

.yawc-ac-card--has-no-context .yawc-ac-card__status-layer {
    top: 14px;
    right: 16px;
    width: min(60%, 270px);
    max-width: 270px;
}

.yawc-ac-card--has-no-context .yawc-ac-card__flag-badge {
    min-height: 31px;
}

/* ---------------------------------------------------------
   A variant typography / action balance
   --------------------------------------------------------- */

.yawc-ac-card--variant-a .yawc-ac-card__type {
    margin: 0 0 10px;
}

.yawc-ac-card--variant-a .yawc-ac-card__name {
    margin: 0 0 9px;
    font-size: clamp(1.18rem, 4.8vw, 1.42rem);
    line-height: 1.24;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.yawc-ac-card--variant-a .yawc-ac-card__description {
    font-size: clamp(0.96rem, 3.7vw, 1.02rem);
    line-height: 1.78;
}

.yawc-ac-card--variant-a .yawc-ac-card__actions {
    margin: 14px 0 0;
}

.yawc-ac-card--variant-a .yawc-ac-card__profile-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    color: var(--yawc-card-link);
    font-size: clamp(0.98rem, 3.8vw, 1.08rem);
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 0.18em;
    transition:
        color 0.18s ease,
        text-decoration-color 0.18s ease,
        transform 0.18s ease;
}

.yawc-ac-card--variant-a .yawc-ac-card__profile-link:hover {
    color: var(--yawc-link-strong);
    text-decoration: underline;
    transform: translateY(-1px);
}

/* ---------------------------------------------------------
   Variant AC safety
   --------------------------------------------------------- */

/*
 * Keep context AC-Card behavior stable.
 * This class is intentionally light: it documents the split without
 * overriding the existing context card visual.
 */
.yawc-ac-card--variant-ac.yawc-ac-card--has-context .yawc-ac-card__body {
    min-width: 0;
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 640px) {
    .yawc-ac-card--has-no-context .yawc-ac-card__body {
        gap: 14px;
        padding: 22px 16px 18px;
    }

    .yawc-ac-card--has-no-context.yawc-ac-card--has-flag-badge .yawc-ac-card__body {
        padding-top: 54px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__status-layer {
        top: 12px;
        right: 14px;
        width: min(68%, 240px);
        max-width: 240px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__avatar {
        flex-basis: 68px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__avatar-image,
    .yawc-ac-card--has-no-context .yawc-ac-card__avatar-placeholder {
        width: 68px;
        height: 68px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__avatar-placeholder::after {
        inset: 15px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__meta {
        padding-top: 1px;
    }

    .yawc-ac-card--variant-a .yawc-ac-card__type {
        margin-bottom: 8px;
    }

    .yawc-ac-card--variant-a .yawc-ac-card__name {
        margin-bottom: 8px;
        font-size: clamp(1.12rem, 5.3vw, 1.28rem);
    }

    .yawc-ac-card--variant-a .yawc-ac-card__description {
        font-size: 0.96rem;
        line-height: 1.76;
    }

    .yawc-ac-card--variant-a .yawc-ac-card__actions {
        margin-top: 13px;
    }
}

@media (max-width: 420px) {
    .yawc-ac-card--has-no-context .yawc-ac-card__body {
        gap: 13px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .yawc-ac-card--has-no-context.yawc-ac-card--has-flag-badge .yawc-ac-card__body {
        padding-top: 52px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__status-layer {
        width: min(72%, 220px);
        max-width: 220px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__avatar {
        flex-basis: 64px;
    }

    .yawc-ac-card--has-no-context .yawc-ac-card__avatar-image,
    .yawc-ac-card--has-no-context .yawc-ac-card__avatar-placeholder {
        width: 64px;
        height: 64px;
    }

    .yawc-ac-card--variant-a .yawc-ac-card__profile-link {
        font-size: 1rem;
    }
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 640px) {
    .yawc-ac-card__identity-header {
        gap: 7px 8px;
        margin-bottom: 7px;
    }

    .yawc-ac-card__flag-badge-wrap {
        max-width: min(50%, 190px);
        padding-top: 0;
    }

    .yawc-ac-card__flag-badge {
        min-height: 26px;
        gap: 6px;
        padding: 4px 8px 4px 7px;
        font-size: 10px;
    }

    .yawc-ac-card__flag-badge-icon {
        width: 6px;
        height: 6px;
        box-shadow:
            0 0 0 2px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.13),
            0 0 10px rgba(var(--yawc-ac-card-flag-accent-rgb), 0.22);
    }
}

@media (max-width: 420px) {
    .yawc-ac-card__identity-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .yawc-ac-card__flag-badge-wrap {
        justify-content: flex-start;
        max-width: 100%;
    }

    .yawc-ac-card__flag-badge {
        max-width: 100%;
    }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 640px) {
    .yawc-author-card__inner {
        align-items: flex-start;
    }

    .yawc-profile-page {
        padding: 28px 16px;
    }

    .yawc-profile-hero__body {
        padding: 22px 18px 24px;
    }

    .yawc-profile-hero__visual,
    .yawc-profile-hero__image {
        min-height: 150px;
    }

    .yawc-profile-hero__identity {
        flex-direction: column;
        gap: 14px;
    }

    .yawc-profile-hero__avatar {
        width: 96px;
        height: 96px;
    }

    .yawc-profile-hero__title {
        font-size: 1.7rem;
    }

    .yawc-profile-filter-row__items {
        gap: 8px;
    }

    .yawc-profile-filter-row__item {
        max-width: 100%;
    }

    .yawc-profile-filter-row__filter-link {
        padding: 8px 11px;
    }

    .yawc-profile-filter-row__navigate-link {
        min-width: 32px;
        padding: 0 9px;
    }

    .yawc-profile-tags-rail__items {
        gap: 7px;
    }

    .yawc-profile-tag-chip {
        min-height: 28px;
        padding: 4px 11px;
        font-size: 12px;
    }

    .yawc-ac-card__hero {
        min-height: 120px;
    }

    .yawc-ac-card__hero-image {
        min-height: 120px;
    }

    .yawc-ac-card__body {
        gap: 14px;
        padding: 0 16px 16px;
        margin-top: -20px;
    }

    .yawc-ac-card__members {
        padding: 0 16px 16px;
    }

    .yawc-ac-card__avatar {
        flex: 0 0 64px;
    }

    .yawc-ac-card__avatar-image,
    .yawc-ac-card__avatar-placeholder {
        width: 64px;
        height: 64px;
    }

    .yawc-ac-card__avatar-placeholder::after {
        inset: 14px;
    }

    .yawc-ac-card__meta {
        padding-top: 22px;
    }

    .yawc-ac-card__name {
        font-size: 1.04rem;
    }

    .yawc-ac-card__context {
        top: 12px;
        right: 12px;
    }

    .yawc-ac-card__context-link,
    .yawc-ac-card__context-text {
        min-height: 28px;
        padding: 0 10px;
        font-size: 11px;
    }
}

/* =========================================================
   Event Page
   v1.0
   - Context Entity: Event Hero page
   - Hero / Credit Code rail / Organizer chips / Timeline
   ======================================================= */

.yawc-event-page {
    width: 100%;
    color: var(--yawc-text-main);
}

.yawc-event-page__inner {
    width: min(100%, var(--yawc-content-width, 1040px));
    margin: 0 auto;
    padding: 32px 18px 56px;
    box-sizing: border-box;
}

.yawc-event-hero {
    position: relative;
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-panel);
    background:
        radial-gradient(circle at 18% 0%, rgba(52, 211, 153, 0.14), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(125, 211, 252, 0.10), transparent 30%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-event-hero--has-visual {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.yawc-event-hero--minimal {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.018) 100%),
        var(--yawc-surface-elevated);
}

.yawc-event-hero__visual {
    min-height: 100%;
}

.yawc-event-hero__image-wrap {
    width: 100%;
    height: 100%;
    min-height: 310px;
    background: rgba(255, 255, 255, 0.035);
}

.yawc-event-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.yawc-event-hero__body {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 22px;
    padding: 34px;
    box-sizing: border-box;
}

.yawc-event-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    margin: 0;
    padding: 3px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.18);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.96);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yawc-event-hero__identity {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.yawc-event-hero__avatar-wrap {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.yawc-event-hero__avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yawc-event-hero__identity-main {
    min-width: 0;
}

.yawc-event-hero__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: clamp(2rem, 4.4vw, 4rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.05em;
    overflow-wrap: anywhere;
}

.yawc-event-hero__short-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 10px 0 0;
    padding: 3px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: rgba(125, 211, 252, 0.08);
    color: rgba(186, 230, 253, 0.96);
    font-size: 0.82rem;
    line-height: 1.35;
    font-weight: 900;
    word-break: break-word;
}

.yawc-event-hero__description {
    margin-top: 14px;
    color: var(--yawc-text-sub);
    font-size: 0.96rem;
    line-height: 1.7;
}

.yawc-event-hero__description p {
    margin: 0;
}

.yawc-event-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.yawc-event-hero__stat {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 3px 9px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 850;
    white-space: nowrap;
}

.yawc-event-hero__copy {
    border-top: 1px solid var(--yawc-border-soft);
    padding-top: 20px;
}

.yawc-event-hero__lead {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: clamp(1.18rem, 2.2vw, 1.72rem);
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.yawc-event-hero__subcopy {
    margin-top: 10px;
    color: var(--yawc-text-sub);
    font-size: 0.95rem;
    line-height: 1.75;
}

.yawc-event-hero__subcopy p {
    margin: 0;
}

.yawc-event-timeline-section {
    margin-top: 24px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-panel);
    background: var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
    padding: 24px;
    box-sizing: border-box;
}

.yawc-event-timeline-section__header {
    margin-bottom: 18px;
}

.yawc-event-timeline-section__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 22px;
    margin: 0 0 8px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.07);
    color: rgba(187, 247, 208, 0.92);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yawc-event-timeline-section__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    line-height: 1.2;
    font-weight: 930;
    letter-spacing: -0.035em;
}

.yawc-event-timeline-section__helper,
.yawc-event-timeline-section__filter-note {
    margin: 8px 0 0;
    color: var(--yawc-text-soft);
    font-size: 0.92rem;
    line-height: 1.65;
}

.yawc-event-organizer-rail {
    margin: 0 0 16px;
}

.yawc-event-organizer-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.yawc-event-organizer-rail__chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 28px;
    padding: 4px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.15);
    background: rgba(125, 211, 252, 0.065);
    color: rgba(186, 230, 253, 0.92);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 850;
    text-decoration: none;
    overflow-wrap: anywhere;
}

a.yawc-event-organizer-rail__chip:hover {
    color: var(--yawc-text-main);
    text-decoration: none;
    background: rgba(125, 211, 252, 0.10);
    border-color: rgba(125, 211, 252, 0.22);
}

.yawc-event-sort-rail {
    margin: 0 0 18px;
}

.yawc-event-sort-rail__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 6px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-pill);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.022) 100%),
        rgba(255, 255, 255, 0.025);
}

.yawc-event-sort-rail__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    max-width: 100%;
    padding: 6px 13px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid transparent;
    background: transparent;
    color: var(--yawc-text-sub);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.yawc-event-sort-rail__item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--yawc-border-soft);
    color: var(--yawc-text-main);
    text-decoration: none;
}

.yawc-event-sort-rail__item:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(125, 211, 252, 0.28);
}

.yawc-event-sort-rail__item.is-active {
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.14) 0%, rgba(255, 255, 255, 0.055) 100%);
    border-color: rgba(52, 211, 153, 0.28);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-event-timeline-list {
    display: grid;
    gap: 12px;
}

.yawc-event-timeline-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.016) 100%),
        rgba(255, 255, 255, 0.018);
    box-sizing: border-box;
}

.yawc-event-timeline-card__main {
    min-width: 0;
}

.yawc-event-timeline-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-bottom: 9px;
}

.yawc-event-timeline-card__chip {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 850;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.yawc-event-timeline-card__chip--credit-code {
    border: 1px solid rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.95);
}

.yawc-event-timeline-card__chip--organizer {
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.065);
    color: rgba(186, 230, 253, 0.92);
}

a.yawc-event-timeline-card__chip--organizer:hover {
    color: var(--yawc-text-main);
    text-decoration: none;
    background: rgba(125, 211, 252, 0.10);
}

.yawc-event-timeline-card__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1.04rem;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: -0.018em;
}

.yawc-event-timeline-card__link {
    color: inherit;
    text-decoration: none;
}

.yawc-event-timeline-card__link:hover {
    text-decoration: underline;
}

.yawc-event-timeline-card__excerpt {
    margin-top: 8px;
    color: var(--yawc-text-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.yawc-event-timeline-card__excerpt p {
    margin: 0;
}

.yawc-event-timeline-card__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    min-width: 108px;
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
    text-align: right;
}

.yawc-event-timeline-card__date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
}

.yawc-event-timeline-card__date-kind {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 21px;
    padding: 2px 7px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.12);
    background: rgba(52, 211, 153, 0.055);
    color: rgba(187, 247, 208, 0.86);
    white-space: nowrap;
}

.yawc-event-timeline-empty {
    padding: 24px;
    border-radius: var(--yawc-radius-card);
    border: 1px dashed var(--yawc-border-soft);
    color: var(--yawc-text-soft);
    text-align: center;
}

.yawc-event-timeline-empty p {
    margin: 0;
}

[data-yawc-theme="light"] .yawc-event-hero {
    background:
        radial-gradient(circle at 18% 0%, rgba(5, 150, 105, 0.10), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(2, 132, 199, 0.08), transparent 30%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-event-hero__eyebrow,
[data-yawc-theme="light"] .yawc-event-timeline-section__eyebrow,
[data-yawc-theme="light"] .yawc-event-timeline-card__chip--credit-code,
[data-yawc-theme="light"] .yawc-event-timeline-card__date-kind {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.075);
    color: rgba(6, 78, 59, 0.88);
}

[data-yawc-theme="light"] .yawc-event-hero__short-label,
[data-yawc-theme="light"] .yawc-event-organizer-rail__chip,
[data-yawc-theme="light"] .yawc-event-timeline-card__chip--organizer {
    border-color: rgba(2, 132, 199, 0.14);
    background: rgba(2, 132, 199, 0.065);
    color: rgba(12, 74, 110, 0.86);
}

[data-yawc-theme="light"] .yawc-event-hero__stat,
[data-yawc-theme="light"] .yawc-event-timeline-card__date {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.58);
}

[data-yawc-theme="light"] .yawc-event-sort-rail__items {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.032) 0%, rgba(15, 23, 42, 0.016) 100%),
        rgba(15, 23, 42, 0.02);
}

[data-yawc-theme="light"] .yawc-event-sort-rail__item {
    color: rgba(15, 23, 42, 0.68);
}

[data-yawc-theme="light"] .yawc-event-sort-rail__item:hover {
    background: rgba(15, 23, 42, 0.055);
    border-color: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-event-sort-rail__item.is-active {
    background:
        linear-gradient(180deg, rgba(5, 150, 105, 0.10) 0%, rgba(15, 23, 42, 0.04) 100%);
    border-color: rgba(5, 150, 105, 0.20);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-event-timeline-card {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.025) 0%, rgba(15, 23, 42, 0.012) 100%),
        rgba(15, 23, 42, 0.012);
}

@media (max-width: 760px) {
    .yawc-event-page__inner {
        padding: 22px 14px 44px;
    }

    .yawc-event-hero,
    .yawc-event-hero--has-visual {
        grid-template-columns: 1fr;
    }

    .yawc-event-hero__image-wrap,
    .yawc-event-hero__image {
        min-height: 210px;
    }

    .yawc-event-hero__body {
        padding: 24px 20px;
    }

    .yawc-event-hero__identity {
        gap: 13px;
    }

    .yawc-event-hero__avatar-wrap {
        width: 58px;
        height: 58px;
        border-radius: 19px;
    }

    .yawc-event-timeline-section {
        padding: 18px;
        margin-top: 18px;
    }

    .yawc-event-sort-rail__items {
        gap: 6px;
        padding: 5px;
        border-radius: var(--yawc-radius-panel);
    }

    .yawc-event-sort-rail__item {
        min-height: 32px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .yawc-event-timeline-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }

    .yawc-event-timeline-card__meta {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        min-width: 0;
        text-align: left;
    }
}

/* =========================================================
   YAWC Release UI
   Release Hero / Profile Release List
   ========================================================= */

.yawc-release-page,
.yawc-profile-release-section {
    --yawc-release-bg: rgba(255, 255, 255, 0.045);
    --yawc-release-bg-strong: rgba(255, 255, 255, 0.075);
    --yawc-release-border: rgba(255, 255, 255, 0.12);
    --yawc-release-border-strong: rgba(255, 255, 255, 0.18);
    --yawc-release-text: rgba(255, 255, 255, 0.92);
    --yawc-release-text-soft: rgba(255, 255, 255, 0.68);
    --yawc-release-accent: #f59e0b;
    --yawc-release-accent-soft: rgba(245, 158, 11, 0.16);
}

.yawc-release-page__inner {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 32px 0 56px;
}

.yawc-release-hero,
.yawc-release-preview,
.yawc-release-comment,
.yawc-release-primary-post,
.yawc-profile-release-section {
    border: 1px solid var(--yawc-release-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.12), transparent 32%),
        var(--yawc-release-bg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.yawc-release-hero {
    position: relative;
    margin: 0 0 24px;
}

.yawc-release-hero__visual {
    height: 220px;
    overflow: hidden;
    border-bottom: 1px solid var(--yawc-release-border);
}

.yawc-release-hero__visual-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
}

.yawc-release-hero__body {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 28px;
}

.yawc-release-hero__media {
    min-width: 0;
}

.yawc-release-hero__jacket,
.yawc-release-hero__jacket-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    border: 1px solid var(--yawc-release-border-strong);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.3);
}

.yawc-release-hero__jacket {
    display: block;
    object-fit: cover;
}

.yawc-release-hero__jacket-placeholder {
    display: grid;
    place-items: center;
    color: var(--yawc-release-text-soft);
    font-weight: 800;
}

.yawc-release-hero__content {
    min-width: 0;
}

.yawc-release-hero__eyebrow,
.yawc-profile-release-section__eyebrow {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 12px;
    padding: 5px 12px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    background: var(--yawc-release-accent-soft);
    color: #fbbf24;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yawc-release-hero__short-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 10px;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--yawc-release-text-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.yawc-release-hero__title {
    margin: 0;
    color: var(--yawc-release-text);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
}

.yawc-release-hero__lead {
    margin: 12px 0 0;
    color: var(--yawc-release-text);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    line-height: 1.45;
}

.yawc-release-hero__description,
.yawc-release-hero__subcopy {
    margin: 14px 0 0;
    color: var(--yawc-release-text-soft);
    font-size: 1rem;
    line-height: 1.85;
}

.yawc-release-hero__description p,
.yawc-release-hero__subcopy p {
    margin: 0;
}

.yawc-release-hero__chips,
.yawc-profile-release-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

.yawc-release-hero__chip,
.yawc-profile-release-item__chip {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    padding: 4px 10px;
    border: 1px solid var(--yawc-release-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--yawc-release-text-soft);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.2;
}

.yawc-release-hero__chip--status,
.yawc-profile-release-item__chip--status {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(52, 211, 153, 0.1);
    color: rgba(167, 243, 208, 0.95);
}

.yawc-release-hero__artist {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 18px 0 0;
    color: var(--yawc-release-text-soft);
}

.yawc-release-hero__artist-label {
    font-size: 0.82rem;
    font-weight: 900;
    opacity: 0.75;
}

.yawc-release-hero__artist-link,
.yawc-release-hero__artist-name {
    color: var(--yawc-release-text);
    font-weight: 900;
}

.yawc-release-preview,
.yawc-release-comment,
.yawc-release-primary-post {
    margin: 24px 0 0;
    padding: 24px;
}

.yawc-release-preview__title,
.yawc-release-comment__title,
.yawc-release-primary-post__title {
    margin: 0 0 16px;
    color: var(--yawc-release-text);
    font-size: 1.35rem;
    line-height: 1.3;
}

.yawc-release-preview__embed {
    overflow: hidden;
    border: 1px solid var(--yawc-release-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
}

.yawc-release-preview__embed iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
    border-radius: 18px;
}

.yawc-release-preview__button,
.yawc-profile-release-item__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    background: var(--yawc-release-accent-soft);
    color: #fef3c7;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background-color 0.16s ease;
}

.yawc-release-preview__button:hover,
.yawc-profile-release-item__button:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 158, 11, 0.48);
    background: rgba(245, 158, 11, 0.24);
    color: #fff7ed;
    text-decoration: none;
}

.yawc-release-comment__body,
.yawc-release-primary-post__card {
    color: var(--yawc-release-text-soft);
    line-height: 1.8;
}

.yawc-release-comment__body p {
    margin: 0;
}

.yawc-release-primary-post__card-title {
    margin: 0;
    font-size: 1.05rem;
}

.yawc-release-primary-post__card-title a {
    color: var(--yawc-release-text);
}

/* Profile Release Section */

.yawc-profile-release-section {
    margin: 24px 0 0;
    padding: 24px;
}

.yawc-profile-release-section__title {
    margin: 0;
    color: var(--yawc-release-text);
    font-size: clamp(1.55rem, 4vw, 2.25rem);
    line-height: 1.25;
}

.yawc-profile-release-section__helper {
    margin: 10px 0 0;
    color: var(--yawc-release-text-soft);
    line-height: 1.7;
}

.yawc-profile-release-section__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
}

.yawc-profile-release-section__summary-chip {
    display: inline-flex;
    padding: 4px 10px;
    border: 1px solid var(--yawc-release-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--yawc-release-text-soft);
    font-size: 0.82rem;
    font-weight: 800;
}

.yawc-profile-release-list {
    display: grid;
    gap: 14px;
    margin: 20px 0 0;
}

.yawc-profile-release-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--yawc-release-border);
    border-radius: 18px;
    background: var(--yawc-release-bg-strong);
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background-color 0.16s ease;
}

.yawc-profile-release-item:hover {
    transform: translateY(-1px);
    border-color: var(--yawc-release-border-strong);
    background: rgba(255, 255, 255, 0.095);
}

.yawc-profile-release-item__jacket-wrap {
    min-width: 0;
}

.yawc-profile-release-item__jacket,
.yawc-profile-release-item__jacket-placeholder {
    width: 108px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px solid var(--yawc-release-border);
    background: rgba(255, 255, 255, 0.06);
}

.yawc-profile-release-item__jacket {
    display: block;
    object-fit: cover;
}

.yawc-profile-release-item__jacket-placeholder {
    display: grid;
    place-items: center;
    color: var(--yawc-release-text-soft);
    font-size: 0.75rem;
    font-weight: 900;
    text-align: center;
}

.yawc-profile-release-item__body {
    min-width: 0;
}

.yawc-profile-release-item__short-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--yawc-release-accent-soft);
    color: #fbbf24;
    font-size: 0.76rem;
    font-weight: 900;
    line-height: 1.3;
}

.yawc-profile-release-item__title {
    margin: 0;
    color: var(--yawc-release-text);
    font-size: 1.18rem;
    line-height: 1.35;
}

.yawc-profile-release-item__title-link {
    color: inherit;
    text-decoration: none;
}

.yawc-profile-release-item__title-link:hover {
    text-decoration: underline;
}

.yawc-profile-release-item__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 0;
}

.yawc-profile-release-item__button--detail {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: var(--yawc-release-text);
}

.yawc-profile-release-empty {
    margin: 18px 0 0;
    padding: 18px;
    border: 1px dashed var(--yawc-release-border);
    border-radius: 16px;
    color: var(--yawc-release-text-soft);
}

.yawc-profile-release-empty p {
    margin: 0;
}

@media (max-width: 720px) {
    .yawc-release-page__inner {
        width: min(100% - 24px, 960px);
        padding: 20px 0 44px;
    }

    .yawc-release-hero__visual {
        height: 160px;
    }

    .yawc-release-hero__body {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 20px;
    }

    .yawc-release-hero__media {
        max-width: 220px;
    }

    .yawc-release-preview,
    .yawc-release-comment,
    .yawc-release-primary-post,
    .yawc-profile-release-section {
        padding: 18px;
        border-radius: 18px;
    }

    .yawc-profile-release-item {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .yawc-profile-release-item__jacket,
    .yawc-profile-release-item__jacket-placeholder {
        width: 84px;
        border-radius: 12px;
    }

    .yawc-profile-release-item__title {
        font-size: 1rem;
    }

    .yawc-profile-release-item__chip {
        font-size: 0.76rem;
    }

    .yawc-profile-release-item__button {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.82rem;
    }

    .yawc-release-preview__embed iframe {
        height: 420px;
    }
}

@media (max-width: 420px) {
    .yawc-profile-release-item {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .yawc-profile-release-item__jacket,
    .yawc-profile-release-item__jacket-placeholder {
        width: 72px;
    }

    .yawc-release-preview__embed iframe {
        height: 390px;
    }
}
/* =========================================================
   Release Hero Add-ons
   v1.1
   - meta items / links / contributors / related posts
   - appended after existing Release UI for safe override
   ========================================================= */

.yawc-release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 0;
}

.yawc-release-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    min-height: 26px;
    padding: 4px 10px;
    border: 1px solid var(--yawc-release-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--yawc-release-text-soft);
    font-size: 0.8rem;
    line-height: 1.25;
    font-weight: 800;
    box-sizing: border-box;
}

.yawc-release-meta__label {
    margin: 0;
    color: rgba(255, 255, 255, 0.46);
    font-size: 0.72rem;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.yawc-release-meta__value {
    margin: 0;
    min-width: 0;
    color: var(--yawc-release-text-soft);
    overflow-wrap: anywhere;
}

.yawc-release-meta__item--genre,
.yawc-release-meta__item--sub_genre {
    border-color: rgba(245, 158, 11, 0.20);
    background: rgba(245, 158, 11, 0.08);
}

.yawc-release-meta__item--bpm,
.yawc-release-meta__item--musical_key,
.yawc-release-meta__item--duration {
    border-color: rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.06);
}

.yawc-release-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 0;
}

.yawc-release-links__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 14px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 999px;
    background: var(--yawc-release-accent-soft);
    color: #fef3c7;
    font-size: 0.88rem;
    font-weight: 900;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background-color 0.16s ease,
        color 0.16s ease;
}

.yawc-release-links__button:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 158, 11, 0.48);
    background: rgba(245, 158, 11, 0.24);
    color: #fff7ed;
    text-decoration: none;
}

.yawc-release-links__button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.28);
}

.yawc-release-links__button--youtube,
.yawc-release-links__button--preview {
    border-color: rgba(248, 113, 113, 0.24);
    background: rgba(248, 113, 113, 0.12);
    color: #fee2e2;
}

.yawc-release-links__button--spotify {
    border-color: rgba(52, 211, 153, 0.24);
    background: rgba(52, 211, 153, 0.11);
    color: #d1fae5;
}

.yawc-release-links__button--apple_music {
    border-color: rgba(244, 114, 182, 0.24);
    background: rgba(244, 114, 182, 0.11);
    color: #fce7f3;
}

.yawc-release-section-heading {
    margin: 0 0 16px;
}

.yawc-release-section-heading__text {
    margin: 8px 0 0;
    color: var(--yawc-release-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}

.yawc-release-contributors,
.yawc-release-related-posts {
    margin: 24px 0 0;
    padding: 24px;
    border: 1px solid var(--yawc-release-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at top left, rgba(245, 158, 11, 0.10), transparent 30%),
        var(--yawc-release-bg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.20);
    overflow: hidden;
}

.yawc-release-contributors__title,
.yawc-release-related-posts__title {
    margin: 0;
    color: var(--yawc-release-text);
    font-size: 1.35rem;
    line-height: 1.3;
}

.yawc-release-contributors__list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.yawc-release-contributors__item {
    display: grid;
    grid-template-columns: minmax(88px, 140px) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
}

.yawc-release-contributors__role {
    margin: 0;
    color: #fbbf24;
    font-size: 0.84rem;
    line-height: 1.45;
    font-weight: 900;
    word-break: break-word;
}

.yawc-release-contributors__role--empty {
    color: var(--yawc-release-text-soft);
}

.yawc-release-contributors__name {
    margin: 0;
    min-width: 0;
    color: var(--yawc-release-text);
    font-size: 0.96rem;
    line-height: 1.55;
    font-weight: 850;
    word-break: break-word;
}

.yawc-release-contributors__link {
    color: var(--yawc-release-text);
    text-decoration: none;
}

.yawc-release-contributors__link:hover {
    color: #fff7ed;
    text-decoration: underline;
}

.yawc-release-contributors__text {
    color: var(--yawc-release-text);
}

.yawc-release-related-posts__list {
    display: grid;
    gap: 12px;
}

.yawc-release-related-posts__card {
    padding: 15px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.045);
}

.yawc-release-related-posts__date {
    margin: 0 0 8px;
    color: var(--yawc-release-text-soft);
    font-size: 0.78rem;
    line-height: 1.45;
    font-weight: 800;
}

.yawc-release-related-posts__card-title {
    margin: 0;
    color: var(--yawc-release-text);
    font-size: 1.02rem;
    line-height: 1.5;
}

.yawc-release-related-posts__card-title a {
    color: inherit;
    text-decoration: none;
}

.yawc-release-related-posts__card-title a:hover {
    text-decoration: underline;
}

.yawc-release-related-posts__excerpt {
    margin: 8px 0 0;
    color: var(--yawc-release-text-soft);
    font-size: 0.92rem;
    line-height: 1.75;
}

[data-yawc-theme="light"] .yawc-release-meta__item,
[data-yawc-theme="light"] .yawc-release-contributors__item,
[data-yawc-theme="light"] .yawc-release-related-posts__card {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
}

[data-yawc-theme="light"] .yawc-release-meta__label {
    color: rgba(15, 23, 42, 0.46);
}

[data-yawc-theme="light"] .yawc-release-meta__item--genre,
[data-yawc-theme="light"] .yawc-release-meta__item--sub_genre {
    border-color: rgba(217, 119, 6, 0.18);
    background: rgba(217, 119, 6, 0.08);
}

[data-yawc-theme="light"] .yawc-release-meta__item--bpm,
[data-yawc-theme="light"] .yawc-release-meta__item--musical_key,
[data-yawc-theme="light"] .yawc-release-meta__item--duration {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.07);
}

/* =========================================================
   Release Player Cards - iframe height alignment
   v1.1
   - Apple Music uses resolver-provided iframe height
   - YouTube keeps 16:9 responsive layout
   ========================================================= */

.yawc-release-player-list {
    display: grid;
    gap: 18px;
}

.yawc-release-player-card {
    min-width: 0;
}

.yawc-release-player-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 14px;
    margin: 0 0 8px;
}

.yawc-release-player-card__title {
    margin: 0;
    color: var(--yawc-release-text);
    font-size: 1.05rem;
    line-height: 1.35;
}

.yawc-release-player-card__link {
    color: #5eead4;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.yawc-release-player-card__embed {
    overflow: hidden;
    border: 1px solid var(--yawc-release-border);
    background: rgba(255, 255, 255, 0.04);
}

.yawc-release-player-card__iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

/* YouTube only: responsive 16:9 */
.yawc-release-player-card--youtube .yawc-release-player-card__embed,
.yawc-release-player-card--provider-youtube .yawc-release-player-card__embed {
    aspect-ratio: 16 / 9;
}

.yawc-release-player-card--youtube .yawc-release-player-card__iframe,
.yawc-release-player-card--provider-youtube .yawc-release-player-card__iframe {
    height: 100%;
}

/* Apple Music: use iframe height attribute from PHP 
.yawc-release-player-card--apple_music .yawc-release-player-card__iframe,
.yawc-release-player-card--provider-apple_music .yawc-release-player-card__iframe {
    height: auto;
}*/

@media (max-width: 720px) {
    .yawc-release-player-list {
        gap: 16px;
    }

    .yawc-release-player-card__header {
        display: block;
    }

    .yawc-release-player-card__link {
        display: inline-flex;
        margin-top: 4px;
    }
}

@media (max-width: 720px) {
    .yawc-release-contributors,
    .yawc-release-related-posts {
        padding: 18px;
        border-radius: 18px;
    }

    .yawc-release-meta,
    .yawc-release-links {
        gap: 7px;
    }

    .yawc-release-meta__item,
    .yawc-release-links__button {
        min-height: 34px;
        padding: 7px 12px;
        font-size: 0.8rem;
    }

    .yawc-release-contributors__item {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 11px 12px;
    }

    .yawc-release-related-posts__card {
        padding: 13px 14px;
    }
}

@media (max-width: 420px) {
    .yawc-release-links__button {
        width: 100%;
    }

    .yawc-release-meta__item {
        max-width: 100%;
    }
}

/* =========================================================
   YAWC Profile Credit Badge Rail - Release source badges
   ========================================================= */

.yawc-profile-credit-badge-item.is-source-release {
    border-color: rgba(251, 191, 36, 0.28);
    background:
        linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(244, 114, 182, 0.10)),
        rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-main);
}

.yawc-profile-credit-badge-item.is-source-release:hover {
    border-color: rgba(251, 191, 36, 0.42);
    background:
        linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(244, 114, 182, 0.15)),
        rgba(255, 255, 255, 0.07);
    color: var(--yawc-text-main);
}

.yawc-profile-credit-badge-item.is-source-release:focus-visible {
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, 0.26),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-credit-badge-item.is-source-release .yawc-profile-credit-badge-item__label {
    letter-spacing: 0.01em;
}

.yawc-profile-credit-badge-item.is-source-credit_record {
    /* Explicit source class for future theming. Current default badge style remains unchanged. */
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release {
    border-color: rgba(217, 119, 6, 0.24);
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(236, 72, 153, 0.09)),
        rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.92);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release:hover {
    border-color: rgba(217, 119, 6, 0.34);
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.21), rgba(236, 72, 153, 0.13)),
        rgba(15, 23, 42, 0.07);
    color: rgba(15, 23, 42, 0.96);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release:focus-visible {
    box-shadow:
        0 0 0 2px rgba(245, 158, 11, 0.22),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

@media (max-width: 640px) {
    .yawc-profile-credit-badge-item.is-source-release {
        max-width: 100%;
    }
}

/* =========================================================
   YAWC Profile Credit Badge Rail - Release MyMainColor
   ========================================================= */

.yawc-profile-credit-badge-item.is-source-release[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 48%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 18%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 8%, transparent)
        ),
        rgba(255, 255, 255, 0.045);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 10%, transparent);
}

.yawc-profile-credit-badge-item.is-source-release[style*="--yawc-main-color"]:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color) 64%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 24%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 12%, transparent)
        ),
        rgba(255, 255, 255, 0.07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 10px 22px color-mix(in srgb, var(--yawc-main-color) 16%, transparent);
}

.yawc-profile-credit-badge-item.is-source-release[style*="--yawc-main-color"]:focus-visible {
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--yawc-main-color) 34%, transparent),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 42%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 16%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 7%, transparent)
        ),
        rgba(15, 23, 42, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 9%, transparent);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release[style*="--yawc-main-color"]:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color) 58%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 21%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 10%, transparent)
        ),
        rgba(15, 23, 42, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px color-mix(in srgb, var(--yawc-main-color) 13%, transparent);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release[style*="--yawc-main-color"]:focus-visible {
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--yawc-main-color) 28%, transparent),
        0 8px 18px rgba(15, 23, 42, 0.08);
}
/* =========================================================
   CreditRecord View - Raw Parser TimeTable / Credit Roles
   v1.0
   - Appended after existing CreditRecord styles
   - Supports section_type: program / credit_role
   ========================================================= */

.yawc-credit-record-group--program {
    border-color: rgba(52, 211, 153, 0.14);
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.045) 0%, rgba(255, 255, 255, 0.018) 100%),
        rgba(255, 255, 255, 0.022);
}

.yawc-credit-record-group--program > h3,
.yawc-credit-record-roles > h3,
.yawc-credit-record-role-group > h4,
.yawc-credit-record-group > h3 {
    margin: 0 0 12px;
    color: var(--yawc-text-main);
    line-height: 1.4;
    font-weight: 900;
}

.yawc-credit-record-group--program > h3,
.yawc-credit-record-roles > h3 {
    font-size: 1rem;
}

.yawc-credit-record-role-group > h4 {
    font-size: 0.94rem;
    color: var(--yawc-text-sub);
}

.yawc-credit-record-program {
    display: grid;
    gap: 8px;
}

.yawc-credit-record-program__row {
    display: grid;
    grid-template-columns: 74px minmax(92px, 0.42fr) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.yawc-credit-record-program__row:first-child {
    border-top: 0;
    padding-top: 0;
}

.yawc-credit-record-program__time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 56px;
    min-height: 26px;
    padding: 3px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.18);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.95);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    box-sizing: border-box;
    white-space: nowrap;
}

.yawc-credit-record-program__time.is-empty,
.yawc-credit-record-program__role.is-empty {
    visibility: hidden;
}

.yawc-credit-record-program__role {
    color: var(--yawc-text-sub);
    font-size: 0.9rem;
    line-height: 1.65;
    font-weight: 800;
    word-break: break-word;
}

.yawc-credit-record-program__person {
    min-width: 0;
    color: var(--yawc-text-main);
    font-size: 0.96rem;
    line-height: 1.65;
    font-weight: 800;
    word-break: break-word;
}

.yawc-credit-record-program__note {
    grid-column: 3 / -1;
    margin-top: -4px;
    color: var(--yawc-text-soft);
    font-size: 0.88rem;
    line-height: 1.65;
}

.yawc-credit-record-program__row.is-badge-target .yawc-credit-record-program__person {
    color: var(--yawc-text-main);
}

.yawc-credit-record-program__row.is-badge-target .yawc-credit-record-program__person::after {
    content: none;
    display: none;
    align-items: center;
    min-height: 20px;
    margin-left: 8px;
    padding: 2px 7px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(251, 191, 36, 0.20);
    background: rgba(251, 191, 36, 0.08);
    color: rgba(254, 240, 138, 0.92);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    vertical-align: middle;
}

.yawc-credit-record-roles {
    padding: 18px 18px 16px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.025);
}

.yawc-credit-record-roles__groups {
    display: grid;
    gap: 14px;
}

.yawc-credit-record-role-group {
    padding: 14px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid rgba(255, 255, 255, 0.065);
    background: rgba(255, 255, 255, 0.025);
}

.yawc-credit-record-role-group ul,
.yawc-credit-record-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.yawc-credit-record-role-group .yawc-credit-record-item,
.yawc-credit-record-group .yawc-credit-record-item {
    padding: 9px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--yawc-text-main);
    line-height: 1.65;
}

.yawc-credit-record-role-group .yawc-credit-record-item:first-child,
.yawc-credit-record-group .yawc-credit-record-item:first-child {
    border-top: 0;
    padding-top: 0;
}

.yawc-credit-record-item .labels {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-left: 8px;
    vertical-align: middle;
}

.yawc-credit-record-item .labels span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-sub);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    white-space: nowrap;
    box-sizing: border-box;
}

.yawc-credit-record-item .note {
    margin-top: 6px;
    color: var(--yawc-text-soft);
    font-size: 0.88rem;
    line-height: 1.65;
}

.yawc-credit-record-view__meta-list dt {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 700;
}

.yawc-credit-record-view__meta-list dd {
    margin: 0;
    min-width: 0;
    color: var(--yawc-text-sub);
    line-height: 1.7;
    word-break: break-word;
}

[data-yawc-theme="light"] .yawc-credit-record-group--program {
    border-color: rgba(5, 150, 105, 0.14);
    background:
        linear-gradient(180deg, rgba(5, 150, 105, 0.045) 0%, rgba(15, 23, 42, 0.014) 100%),
        rgba(15, 23, 42, 0.018);
}

[data-yawc-theme="light"] .yawc-credit-record-program__row,
[data-yawc-theme="light"] .yawc-credit-record-role-group .yawc-credit-record-item,
[data-yawc-theme="light"] .yawc-credit-record-group .yawc-credit-record-item {
    border-top-color: rgba(15, 23, 42, 0.06);
}

[data-yawc-theme="light"] .yawc-credit-record-program__time {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.08);
    color: rgba(6, 78, 59, 0.90);
}

[data-yawc-theme="light"] .yawc-credit-record-roles,
[data-yawc-theme="light"] .yawc-credit-record-role-group {
    background: rgba(15, 23, 42, 0.022);
}

[data-yawc-theme="light"] .yawc-credit-record-item .labels span {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.66);
}

[data-yawc-theme="light"] .yawc-credit-record-program__row.is-badge-target .yawc-credit-record-program__person::after {
    border-color: rgba(217, 119, 6, 0.18);
    background: rgba(217, 119, 6, 0.08);
    color: rgba(124, 45, 18, 0.88);
}

@media (max-width: 640px) {
    .yawc-credit-record-program__row {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 7px 9px;
        padding: 10px 0;
    }

    .yawc-credit-record-program__time {
        min-width: 50px;
        min-height: 24px;
        padding: 2px 7px;
        font-size: 11px;
    }

    .yawc-credit-record-program__role {
        grid-column: 2 / -1;
        font-size: 0.86rem;
    }

    .yawc-credit-record-program__person {
        grid-column: 2 / -1;
        font-size: 0.92rem;
    }

    .yawc-credit-record-program__note {
        grid-column: 2 / -1;
        margin-top: -2px;
        font-size: 0.84rem;
    }

    .yawc-credit-record-roles,
    .yawc-credit-record-role-group {
        padding: 14px;
    }

    .yawc-credit-record-item .labels {
        display: flex;
        margin: 6px 0 0;
    }

    .yawc-credit-record-item .labels span {
        min-height: 22px;
        padding: 2px 7px;
        font-size: 10px;
    }
}
/* =========================================================
   Profile Credit Badge Rail - Parser v2 / Factory polish
   v1.1
   - icon / label layout
   - event / release source classes
   - role-label aware data attributes
   - main_color support for all Factory badges
   ========================================================= */

.yawc-profile-credit-badge-item {
    gap: 6px;
    overflow: hidden;
}

.yawc-profile-credit-badge-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 1.15em;
    line-height: 1;
    font-size: 13px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.16));
}

.yawc-profile-credit-badge-item__label {
    gap: 4px;
    white-space: nowrap;
}

.yawc-profile-credit-badge-item.has-icon {
    padding-left: 10px;
}

.yawc-profile-credit-badge-item.has-icon .yawc-profile-credit-badge-item__label {
    min-width: 0;
}

.yawc-profile-credit-badge-item.is-source-event,
.yawc-profile-credit-badge-item.is-source-credit_record,
.yawc-profile-credit-badge-item.is-source-parser_event {
    border-color: rgba(52, 211, 153, 0.18);
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.10), rgba(125, 211, 252, 0.055)),
        rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-main);
}

.yawc-profile-credit-badge-item.is-source-event:hover,
.yawc-profile-credit-badge-item.is-source-credit_record:hover,
.yawc-profile-credit-badge-item.is-source-parser_event:hover {
    border-color: rgba(52, 211, 153, 0.30);
    background:
        linear-gradient(135deg, rgba(52, 211, 153, 0.145), rgba(125, 211, 252, 0.085)),
        rgba(255, 255, 255, 0.07);
}

.yawc-profile-credit-badge-item.is-source-event:focus-visible,
.yawc-profile-credit-badge-item.is-source-credit_record:focus-visible,
.yawc-profile-credit-badge-item.is-source-parser_event:focus-visible {
    box-shadow:
        0 0 0 2px rgba(52, 211, 153, 0.24),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-credit-badge-item.is-source-release,
.yawc-profile-credit-badge-item.is-source-parser_release {
    border-color: rgba(251, 191, 36, 0.28);
    background:
        linear-gradient(135deg, rgba(251, 191, 36, 0.16), rgba(244, 114, 182, 0.10)),
        rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-main);
}

.yawc-profile-credit-badge-item.is-source-release:hover,
.yawc-profile-credit-badge-item.is-source-parser_release:hover {
    border-color: rgba(251, 191, 36, 0.42);
    background:
        linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(244, 114, 182, 0.15)),
        rgba(255, 255, 255, 0.07);
    color: var(--yawc-text-main);
}

.yawc-profile-credit-badge-item.is-source-release:focus-visible,
.yawc-profile-credit-badge-item.is-source-parser_release:focus-visible {
    box-shadow:
        0 0 0 2px rgba(251, 191, 36, 0.26),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-credit-badge-item[data-display-role-label]:not([data-display-role-label=""]) {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.yawc-profile-credit-badge-item.has-main-color,
.yawc-profile-credit-badge-item[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 46%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 18%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 8%, transparent)
        ),
        rgba(255, 255, 255, 0.045);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 10%, transparent);
}

.yawc-profile-credit-badge-item.has-main-color:hover,
.yawc-profile-credit-badge-item[style*="--yawc-main-color"]:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color) 62%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 24%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 12%, transparent)
        ),
        rgba(255, 255, 255, 0.07);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.10),
        0 10px 22px color-mix(in srgb, var(--yawc-main-color) 16%, transparent);
}

.yawc-profile-credit-badge-item.has-main-color:focus-visible,
.yawc-profile-credit-badge-item[style*="--yawc-main-color"]:focus-visible {
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--yawc-main-color) 34%, transparent),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-event,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-credit_record,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-parser_event {
    border-color: rgba(5, 150, 105, 0.18);
    background:
        linear-gradient(135deg, rgba(5, 150, 105, 0.10), rgba(14, 165, 233, 0.055)),
        rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.92);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-event:hover,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-credit_record:hover,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-parser_event:hover {
    border-color: rgba(5, 150, 105, 0.28);
    background:
        linear-gradient(135deg, rgba(5, 150, 105, 0.135), rgba(14, 165, 233, 0.08)),
        rgba(15, 23, 42, 0.07);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-parser_release {
    border-color: rgba(217, 119, 6, 0.24);
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(236, 72, 153, 0.09)),
        rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.92);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-release:hover,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item.is-source-parser_release:hover {
    border-color: rgba(217, 119, 6, 0.34);
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.21), rgba(236, 72, 153, 0.13)),
        rgba(15, 23, 42, 0.07);
    color: rgba(15, 23, 42, 0.96);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.has-main-color,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 42%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 16%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 7%, transparent)
        ),
        rgba(15, 23, 42, 0.04);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 9%, transparent);
}

[data-yawc-theme="light"] .yawc-profile-credit-badge-item.has-main-color:hover,
[data-yawc-theme="light"] .yawc-profile-credit-badge-item[style*="--yawc-main-color"]:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color) 58%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 21%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 10%, transparent)
        ),
        rgba(15, 23, 42, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px color-mix(in srgb, var(--yawc-main-color) 13%, transparent);
}

@media (max-width: 640px) {
    .yawc-profile-credit-badge-item {
        gap: 5px;
    }

    .yawc-profile-credit-badge-item__icon {
        font-size: 12px;
    }
}
/* =========================================================
   Profile Event Series - Neutral Base Override
   v1.1
   - Removes hard-coded green section theming from Organizer Events tab
   - Keeps Event/Release badge colors limited to badge components
   - Allows future per-event main_color chips via --yawc-main-color
   ========================================================= */

.yawc-profile-event-series-section {
    border-color: var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.016) 100%),
        var(--yawc-surface-elevated);
}

.yawc-profile-event-series-section__summary-chip {
    border-color: var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
}

.yawc-profile-event-filter-rail__item.is-active {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.04) 100%);
    border-color: var(--yawc-border-medium);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-event-series-group,
.yawc-profile-event-series-item {
    border-color: var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.026);
}

.yawc-profile-event-series-group__short-label,
.yawc-profile-event-series-item__code,
.yawc-profile-event-series-item__context {
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-sub);
}

.yawc-profile-event-series-item__context:hover {
    color: var(--yawc-text-main);
    border-color: var(--yawc-border-medium);
    background: rgba(255, 255, 255, 0.065);
    text-decoration: none;
}

.yawc-profile-event-series-item__code[style*="--yawc-main-color"],
.yawc-profile-event-series-item__context[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 46%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 18%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 8%, transparent)
        ),
        rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-main);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 10%, transparent);
}

.yawc-profile-event-series-item__code[style*="--yawc-main-color"]:hover,
.yawc-profile-event-series-item__context[style*="--yawc-main-color"]:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color) 62%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 24%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 12%, transparent)
        ),
        rgba(255, 255, 255, 0.07);
}

[data-yawc-theme="light"] .yawc-profile-event-series-section,
[data-yawc-theme="light"] .yawc-profile-event-series-group,
[data-yawc-theme="light"] .yawc-profile-event-series-item {
    background: rgba(15, 23, 42, 0.025);
}

[data-yawc-theme="light"] .yawc-profile-event-series-section__summary-chip,
[data-yawc-theme="light"] .yawc-profile-event-series-group__short-label,
[data-yawc-theme="light"] .yawc-profile-event-series-item__code,
[data-yawc-theme="light"] .yawc-profile-event-series-item__context {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.66);
}

[data-yawc-theme="light"] .yawc-profile-event-filter-rail__item.is-active {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.055) 0%, rgba(15, 23, 42, 0.035) 100%);
    border-color: rgba(15, 23, 42, 0.14);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-event-series-item__code[style*="--yawc-main-color"],
[data-yawc-theme="light"] .yawc-profile-event-series-item__context[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 42%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 16%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 7%, transparent)
        ),
        rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 9%, transparent);
}

/* =========================================================
   Release Timeline Section
   v1.0
   - Release page dedicated Timeline
   - Separate from Profile Timeline Rail
   - Designed as "この作品の歩み"
   ========================================================= */

.yawc-release-timeline {
    position: relative;
    margin: 24px 0 0;
    padding: 24px;
    border: 1px solid var(--yawc-release-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 12% 0%, rgba(245, 158, 11, 0.13), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(244, 114, 182, 0.09), transparent 30%),
        var(--yawc-release-bg);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    color: var(--yawc-release-text);
}

.yawc-release-timeline::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 58%);
    opacity: 0.9;
}

.yawc-release-timeline__heading {
    position: relative;
    z-index: 1;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.yawc-release-timeline__kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    margin: 0 0 10px;
    padding: 3px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: var(--yawc-release-accent-soft);
    color: #fbbf24;
    font-size: 0.74rem;
    line-height: 1.25;
    font-weight: 950;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.yawc-release-timeline__title {
    margin: 0;
    color: var(--yawc-release-text);
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.22;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.yawc-release-timeline__list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yawc-release-timeline__list::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 14px;
    left: 11px;
    width: 2px;
    border-radius: 999px;
    background:
        linear-gradient(
            180deg,
            rgba(245, 158, 11, 0.54),
            rgba(244, 114, 182, 0.28),
            rgba(255, 255, 255, 0.06)
        );
    opacity: 0.82;
}

.yawc-release-timeline__item {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    min-width: 0;
}

.yawc-release-timeline__marker {
    position: relative;
    z-index: 2;
    display: inline-flex;
    width: 24px;
    height: 24px;
    margin-top: 11px;
    border-radius: 999px;
    border: 1px solid rgba(245, 158, 11, 0.42);
    background:
        radial-gradient(circle at 50% 50%, #fbbf24 0 28%, rgba(245, 158, 11, 0.28) 29% 54%, rgba(255, 255, 255, 0.10) 55% 100%);
    box-shadow:
        0 0 0 4px rgba(245, 158, 11, 0.075),
        0 8px 18px rgba(0, 0, 0, 0.22);
    box-sizing: border-box;
}

.yawc-release-timeline__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 14px;
    align-items: center;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.085);
    border-radius: 17px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.052) 0%, rgba(255, 255, 255, 0.026) 100%),
        rgba(255, 255, 255, 0.028);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.yawc-release-timeline__item:hover .yawc-release-timeline__content {
    transform: translateY(-1px);
    border-color: rgba(245, 158, 11, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.066) 0%, rgba(255, 255, 255, 0.032) 100%),
        rgba(255, 255, 255, 0.038);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.055),
        0 12px 28px rgba(0, 0, 0, 0.16);
}

.yawc-release-timeline__text {
    display: block;
    min-width: 0;
    color: var(--yawc-release-text);
    font-size: 0.96rem;
    line-height: 1.62;
    font-weight: 850;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.yawc-release-timeline__link {
    color: var(--yawc-release-text);
    text-decoration: none;
}

.yawc-release-timeline__link:hover {
    color: #fff7ed;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.yawc-release-timeline__date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.052);
    color: var(--yawc-release-text-soft);
    font-size: 0.78rem;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Release Timeline states / source nuances */

.yawc-release-timeline__item[data-source-ref*=":announce"] .yawc-release-timeline__marker {
    border-color: rgba(244, 114, 182, 0.42);
    background:
        radial-gradient(circle at 50% 50%, #f9a8d4 0 28%, rgba(244, 114, 182, 0.25) 29% 54%, rgba(255, 255, 255, 0.10) 55% 100%);
    box-shadow:
        0 0 0 4px rgba(244, 114, 182, 0.07),
        0 8px 18px rgba(0, 0, 0, 0.22);
}

.yawc-release-timeline__item[data-source-ref*=":announce"] .yawc-release-timeline__content {
    border-color: rgba(244, 114, 182, 0.12);
}

.yawc-release-timeline__item[data-source-ref*=":release"] .yawc-release-timeline__marker {
    border-color: rgba(245, 158, 11, 0.48);
}

.yawc-release-timeline__item[data-source-ref*=":release"] .yawc-release-timeline__content {
    border-color: rgba(245, 158, 11, 0.15);
}

.yawc-release-timeline__item[data-status="pending"] .yawc-release-timeline__content {
    opacity: 0.82;
}

.yawc-release-timeline__item.is-inactive,
.yawc-release-timeline__item.is-archived {
    opacity: 0.62;
}

/* Light theme slot */

[data-yawc-theme="light"] .yawc-release-timeline {
    background:
        radial-gradient(circle at 12% 0%, rgba(217, 119, 6, 0.10), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(236, 72, 153, 0.07), transparent 30%),
        rgba(15, 23, 42, 0.025);
}

[data-yawc-theme="light"] .yawc-release-timeline__heading {
    border-bottom-color: rgba(15, 23, 42, 0.075);
}

[data-yawc-theme="light"] .yawc-release-timeline__kicker {
    border-color: rgba(217, 119, 6, 0.20);
    background: rgba(217, 119, 6, 0.08);
    color: rgba(124, 45, 18, 0.9);
}

[data-yawc-theme="light"] .yawc-release-timeline__list::before {
    background:
        linear-gradient(
            180deg,
            rgba(217, 119, 6, 0.42),
            rgba(236, 72, 153, 0.20),
            rgba(15, 23, 42, 0.06)
        );
}

[data-yawc-theme="light"] .yawc-release-timeline__content {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.036) 0%, rgba(15, 23, 42, 0.018) 100%),
        rgba(15, 23, 42, 0.018);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 10px 24px rgba(15, 23, 42, 0.07);
}

[data-yawc-theme="light"] .yawc-release-timeline__item:hover .yawc-release-timeline__content {
    border-color: rgba(217, 119, 6, 0.18);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.048) 0%, rgba(15, 23, 42, 0.024) 100%),
        rgba(15, 23, 42, 0.024);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.65),
        0 12px 28px rgba(15, 23, 42, 0.09);
}

[data-yawc-theme="light"] .yawc-release-timeline__date {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.58);
}

/* Responsive */

@media (max-width: 720px) {
    .yawc-release-timeline {
        margin-top: 20px;
        padding: 18px;
        border-radius: 18px;
    }

    .yawc-release-timeline__heading {
        margin-bottom: 16px;
        padding-bottom: 13px;
    }

    .yawc-release-timeline__kicker {
        min-height: 22px;
        margin-bottom: 8px;
        padding: 2px 8px;
        font-size: 0.68rem;
    }

    .yawc-release-timeline__list {
        gap: 10px;
    }

    .yawc-release-timeline__list::before {
        left: 10px;
    }

    .yawc-release-timeline__item {
        grid-template-columns: 22px minmax(0, 1fr);
        gap: 10px;
    }

    .yawc-release-timeline__marker {
        width: 22px;
        height: 22px;
        margin-top: 10px;
    }

    .yawc-release-timeline__content {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 12px 13px;
        border-radius: 15px;
    }

    .yawc-release-timeline__text {
        font-size: 0.9rem;
        line-height: 1.58;
    }

    .yawc-release-timeline__date {
        justify-self: start;
        min-height: 25px;
        padding: 3px 9px;
        font-size: 0.74rem;
    }
}

@media (max-width: 420px) {
    .yawc-release-timeline {
        padding: 16px;
    }

    .yawc-release-timeline__item {
        grid-template-columns: 18px minmax(0, 1fr);
        gap: 9px;
    }

    .yawc-release-timeline__marker {
        width: 18px;
        height: 18px;
        margin-top: 12px;
    }

    .yawc-release-timeline__list::before {
        left: 8px;
    }
}

/* =========================================================
   Release Timeline Title Size Tuning
   v1.0
   ========================================================= */

.yawc-release-timeline__title {
    font-size: clamp(1.22rem, 2.35vw, 1.72rem);
    line-height: 1.28;
    letter-spacing: -0.025em;
}

@media (max-width: 720px) {
    .yawc-release-timeline__title {
        font-size: 1.42rem;
        line-height: 1.32;
    }
}

@media (max-width: 420px) {
    .yawc-release-timeline__title {
        font-size: 1.32rem;
    }
}

/* =========================================================
   Profile Event Updates Rail
   v1.0
   - Post-based Event Updates for Profile H-Card
   - NOT TimeLineView
   - Shows updates where current Entity is the organizer/source
   ========================================================= */
   
.yawc-event-updates-rail {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid rgba(52, 211, 153, 0.13);
    border-color: rgba(52, 211, 153, 0.16);
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.075), rgba(15, 23, 42, 0.18));
    box-shadow: none;
    box-sizing: border-box;
}

.yawc-event-updates-rail__header {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin: 0 0 10px;
}

.yawc-event-updates-rail__kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 20px;
    margin: 0;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.075);
    color: rgba(187, 247, 208, 0.92);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.yawc-event-updates-rail__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.yawc-event-updates-rail__list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.yawc-event-updates-rail__item {
    min-width: 0;
}

.yawc-event-updates-rail__item-inner {
    display: grid;
    gap: 8px;
    min-width: 0;
    padding: 11px 12px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid rgba(255, 255, 255, 0.075);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.042) 0%, rgba(255, 255, 255, 0.023) 100%),
        rgba(255, 255, 255, 0.02);
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease;
}

.yawc-event-updates-rail__item-inner:hover {
    transform: translateY(-1px);
    border-color: rgba(52, 211, 153, 0.20);
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.045) 0%, rgba(255, 255, 255, 0.032) 100%),
        rgba(255, 255, 255, 0.028);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.yawc-event-updates-rail__item-header {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-event-updates-rail__event,
.yawc-event-updates-rail__event-link,
.yawc-event-updates-rail__code {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 900;
    text-decoration: none;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.yawc-event-updates-rail__event {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(52, 211, 153, 0.16);
    border-radius: var(--yawc-radius-pill);
    background: rgba(52, 211, 153, 0.075);
    color: rgba(187, 247, 208, 0.94);
}

.yawc-event-updates-rail__event-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    background: transparent;
    border: 0;
}

.yawc-event-updates-rail__event-link:hover {
    border-color: rgba(52, 211, 153, 0.26);
    background: rgba(52, 211, 153, 0.11);
    color: var(--yawc-text-main);
    text-decoration: none;
    text-decoration: underline;
}

.yawc-event-updates-rail__code {
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.065);
    color: rgba(186, 230, 253, 0.92);
}

.yawc-event-updates-rail__body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.yawc-event-updates-rail__item-title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 0.9rem;
    line-height: 1.48;
    font-weight: 900;
    letter-spacing: -0.012em;
    overflow-wrap: anywhere;
}

.yawc-event-updates-rail__link {
    color: inherit;
    text-decoration: none;
}

.yawc-event-updates-rail__link:hover {
    color: var(--yawc-link-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.yawc-event-updates-rail__excerpt {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.82rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.yawc-event-updates-rail__excerpt p {
    margin: 0;
}

.yawc-event-updates-rail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-event-updates-rail__date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 21px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.04);
    color: var(--yawc-text-muted);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 850;
    white-space: nowrap;
}

.yawc-event-updates-rail__hidden[hidden] {
    display: none !important;
}

.yawc-event-updates-rail__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 28px;
    margin: 10px 0 0;
    padding: 5px 11px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.065);
    color: rgba(187, 247, 208, 0.90);
    font-size: 11px;
    line-height: 1.35;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease;
}

.yawc-event-updates-rail__toggle:hover,
.yawc-event-updates-rail__toggle:focus {
    transform: translateY(-1px);
    border-color: rgba(52, 211, 153, 0.26);
    background: rgba(52, 211, 153, 0.10);
    color: var(--yawc-text-main);
}

.yawc-event-updates-rail__toggle:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(52, 211, 153, 0.24),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-event-updates-rail__toggle[aria-expanded="true"] {
    background: rgba(52, 211, 153, 0.095);
}

/* ---------------------------------------------------------
   Light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-event-updates-rail {
    border-color: rgba(5, 150, 105, 0.13);
    background:
        linear-gradient(180deg, rgba(5, 150, 105, 0.04) 0%, rgba(15, 23, 42, 0.014) 100%),
        rgba(15, 23, 42, 0.018);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.60),
        0 8px 18px rgba(15, 23, 42, 0.06);
}

[data-yawc-theme="light"] .yawc-event-updates-rail__kicker,
[data-yawc-theme="light"] .yawc-event-updates-rail__event,
[data-yawc-theme="light"] .yawc-event-updates-rail__event-link,
[data-yawc-theme="light"] .yawc-event-updates-rail__toggle {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.075);
    color: rgba(6, 78, 59, 0.88);
}

[data-yawc-theme="light"] .yawc-event-updates-rail__item-inner {
    border-color: rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.026) 0%, rgba(15, 23, 42, 0.014) 100%),
        rgba(15, 23, 42, 0.012);
}

[data-yawc-theme="light"] .yawc-event-updates-rail__item-inner:hover {
    border-color: rgba(5, 150, 105, 0.20);
    background:
        linear-gradient(180deg, rgba(5, 150, 105, 0.045) 0%, rgba(15, 23, 42, 0.022) 100%),
        rgba(15, 23, 42, 0.018);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07);
}

[data-yawc-theme="light"] .yawc-event-updates-rail__event-link:hover,
[data-yawc-theme="light"] .yawc-event-updates-rail__toggle:hover,
[data-yawc-theme="light"] .yawc-event-updates-rail__toggle:focus {
    border-color: rgba(5, 150, 105, 0.24);
    background: rgba(5, 150, 105, 0.11);
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-event-updates-rail__code {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.07);
    color: rgba(8, 47, 73, 0.88);
}

[data-yawc-theme="light"] .yawc-event-updates-rail__date {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.56);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 640px) {
    .yawc-event-updates-rail {
        margin-top: 12px;
        padding: 12px;
        border-radius: var(--yawc-radius-row);
    }

    .yawc-event-updates-rail__header {
        margin-bottom: 9px;
    }

    .yawc-event-updates-rail__title {
        font-size: 0.88rem;
    }

    .yawc-event-updates-rail__list {
        gap: 8px;
    }

    .yawc-event-updates-rail__item-inner {
        padding: 10px 11px;
    }

    .yawc-event-updates-rail__item-header {
        gap: 5px;
    }

    .yawc-event-updates-rail__event,
    .yawc-event-updates-rail__event-link,
    .yawc-event-updates-rail__code,
    .yawc-event-updates-rail__date {
        min-height: 20px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .yawc-event-updates-rail__item-title {
        font-size: 0.86rem;
        line-height: 1.52;
    }

    .yawc-event-updates-rail__excerpt {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .yawc-event-updates-rail__meta {
        margin-top: 1px;
    }

    .yawc-event-updates-rail__date {
        white-space: normal;
    }

    .yawc-event-updates-rail__toggle {
        min-height: 27px;
        padding: 5px 10px;
        font-size: 10px;
    }
}
/* =========================================================
   Super Hero Page
   Phase SH-5-I
   - World Timeline / Members minimum visual polish
   - CSS only
   - No PHP / JS / rewrite changes
   ========================================================= */

.yawc-super-hero-page {
    width: 100%;
    color: var(--yawc-text-main);
}

.yawc-super-hero-page__inner {
    width: min(100%, var(--yawc-content-width, 1080px));
    margin: 0 auto;
    padding: 34px 18px 58px;
    box-sizing: border-box;
}

.yawc-super-hero-page__hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 22px;
    padding: 28px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid var(--yawc-border-soft);
    background:
        radial-gradient(circle at 18% 0%, rgba(125, 211, 252, 0.13), transparent 34%),
        radial-gradient(circle at 88% 4%, rgba(167, 139, 250, 0.10), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.040) 0%, rgba(255, 255, 255, 0.020) 100%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-super-hero-page__eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    margin: 0 0 10px;
    padding: 3px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: rgba(125, 211, 252, 0.08);
    color: rgba(186, 230, 253, 0.94);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.yawc-super-hero-page__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: clamp(2rem, 4.6vw, 4.2rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.yawc-super-hero-page__description {
    max-width: 72ch;
    margin: 14px 0 0;
    color: var(--yawc-text-sub);
    font-size: 0.98rem;
    line-height: 1.75;
}

.yawc-super-hero-page__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 18px;
}

.yawc-super-hero-page__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    max-width: 100%;
    padding: 2px 9px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    box-sizing: border-box;
}

.yawc-super-hero-page__meta-item strong {
    color: var(--yawc-text-sub);
    font-weight: 900;
}

/* ---------------------------------------------------------
   Super Primary TabRail
   --------------------------------------------------------- */

.yawc-super-hero-page__primary-tabs {
    margin: 0 0 22px;
    -webkit-overflow-scrolling: touch;
}

.yawc-super-hero-page__primary-tabs-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    width: fit-content;
    min-width: 100%;
    padding: 6px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-pill);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.040) 0%, rgba(255, 255, 255, 0.024) 100%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
    box-sizing: border-box;
}

.yawc-super-hero-page__primary-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid transparent;
    background: transparent;
    color: var(--yawc-text-sub);
    text-decoration: none;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 850;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

a.yawc-super-hero-page__primary-tab:hover,
.yawc-super-hero-page__primary-tab:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--yawc-border-soft);
    color: var(--yawc-text-main);
    text-decoration: none;
}

.yawc-super-hero-page__primary-tab.is-active,
.yawc-super-hero-page__primary-tab[aria-current="page"] {
    background:
        linear-gradient(180deg, rgba(125, 211, 252, 0.14) 0%, rgba(255, 255, 255, 0.055) 100%);
    border-color: rgba(125, 211, 252, 0.28);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-super-hero-page__primary-tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.65em;
    min-height: 1.65em;
    padding: 0 6px;
    border-radius: var(--yawc-radius-pill);
    background: rgba(255, 255, 255, 0.070);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
}

/* ---------------------------------------------------------
   Notice / Section layout
   --------------------------------------------------------- */

.yawc-super-hero-page__notice,
.yawc-super-hero-page__sections {
    margin: 0 0 24px;
}

.yawc-super-hero-page__notice {
    padding: 18px 20px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.026);
}

.yawc-super-hero-page__section-title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1.18rem;
    line-height: 1.35;
    font-weight: 900;
}

.yawc-super-hero-page__section-text {
    margin: 8px 0 0;
    color: var(--yawc-text-soft);
    font-size: 0.92rem;
    line-height: 1.7;
}

.yawc-super-hero-page__section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.yawc-super-hero-page__section-card {
    position: relative;
    overflow: hidden;
    padding: 20px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.036) 0%, rgba(255, 255, 255, 0.018) 100%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
    box-sizing: border-box;
}

.yawc-super-hero-page__section-card.is-pending {
    opacity: 0.78;
    border-style: dashed;
}

.yawc-super-hero-page__section-card.has-items {
    border-color: rgba(125, 211, 252, 0.14);
}

.yawc-super-hero-page__section-card--timeline.has-items {
    border-color: rgba(125, 211, 252, 0.18);
    background:
        radial-gradient(circle at 10% 0%, rgba(125, 211, 252, 0.095), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.040) 0%, rgba(255, 255, 255, 0.018) 100%),
        var(--yawc-surface-elevated);
}

.yawc-super-hero-page__section-card--members.has-items {
    border-color: rgba(52, 211, 153, 0.16);
    background:
        radial-gradient(circle at 12% 0%, rgba(52, 211, 153, 0.085), transparent 31%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.018) 100%),
        var(--yawc-surface-elevated);
}

.yawc-super-hero-page__section-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
}

.yawc-super-hero-page__section-card-title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 900;
}

.yawc-super-hero-page__section-card-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
    padding: 3px 9px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.055);
    color: var(--yawc-text-sub);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    box-sizing: border-box;
}

.yawc-super-hero-page__section-card-text,
.yawc-super-hero-page__section-card-note {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.9rem;
    line-height: 1.7;
}

.yawc-super-hero-page__section-card-note {
    padding: 13px 14px;
    border-radius: var(--yawc-radius-row);
    border: 1px dashed var(--yawc-border-dashed);
    background: rgba(255, 255, 255, 0.020);
}

/* ---------------------------------------------------------
   World Timeline v0
   Supports several safe class name variants.
   --------------------------------------------------------- */

.yawc-super-hero-page__world-timeline,
.yawc-super-hero-page__timeline,
.yawc-super-hero-page__timeline-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.yawc-super-hero-page__timeline-item,
.yawc-super-hero-page__timeline-card {
    min-width: 0;
}

.yawc-super-hero-page__timeline-link,
.yawc-super-hero-page__timeline-entry,
.yawc-super-hero-page__timeline-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: 100%;
    padding: 12px 13px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.025) 100%);
    color: var(--yawc-text-main);
    text-decoration: none;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

a.yawc-super-hero-page__timeline-link:hover,
a.yawc-super-hero-page__timeline-entry:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.22);
    background:
        linear-gradient(180deg, rgba(125, 211, 252, 0.065) 0%, rgba(255, 255, 255, 0.035) 100%);
    color: var(--yawc-text-main);
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.yawc-super-hero-page__timeline-main {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex: 1 1 auto;
}

.yawc-super-hero-page__timeline-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 30%, rgba(255, 255, 255, 0.10));
    background:
        radial-gradient(circle at 35% 25%, color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 20%, transparent), transparent 60%),
        rgba(255, 255, 255, 0.045);
    color: color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 78%, #ffffff 22%);
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    box-sizing: border-box;
}

.yawc-super-hero-page__timeline-body {
    display: grid;
    gap: 4px;
    min-width: 0;
    flex: 1 1 auto;
}

.yawc-super-hero-page__timeline-head,
.yawc-super-hero-page__timeline-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-super-hero-page__timeline-title,
.yawc-super-hero-page__timeline-source,
.yawc-super-hero-page__timeline-name {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yawc-super-hero-page__timeline-type {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 22%, rgba(255, 255, 255, 0.08));
    background: color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 10%, transparent);
    color: color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 70%, var(--yawc-text-sub) 30%);
    font-size: 10px;
    line-height: 1.15;
    font-weight: 900;
    white-space: nowrap;
}

.yawc-super-hero-page__timeline-text {
    display: block;
    min-width: 0;
    max-width: 100%;
    color: var(--yawc-text-sub);
    font-size: 0.94rem;
    line-height: 1.62;
    font-weight: 760;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__timeline-date,
.yawc-super-hero-page__timeline-time {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: var(--yawc-text-muted);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    white-space: nowrap;
}

.yawc-super-hero-page__timeline-item.is-archived,
.yawc-super-hero-page__timeline-card.is-archived {
    opacity: 0.70;
}

/* ---------------------------------------------------------
   EntityCard Member Variant v0
   Entity Access Board / Members
   --------------------------------------------------------- */

.yawc-super-hero-page__entity-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.yawc-super-hero-page__entity-card {
    position: relative;
    min-width: 0;
    overflow: visible;
}

/* Reset type-badge modifier bleed on article cards */
.yawc-super-hero-page__entity-card.yawc-type-badge--person,
.yawc-super-hero-page__entity-card.yawc-type-badge--agent,
.yawc-super-hero-page__entity-card.yawc-type-badge--act,
.yawc-super-hero-page__entity-card.yawc-type-badge--group,
.yawc-super-hero-page__entity-card.yawc-type-badge--organization {
    display: block;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

.yawc-super-hero-page__entity-card--person {
    --yawc-sh-type-color: #e5e7eb;
}

.yawc-super-hero-page__entity-card--agent {
    --yawc-sh-type-color: #c4b5fd;
}

.yawc-super-hero-page__entity-card--act {
    --yawc-sh-type-color: #fdba74;
}

.yawc-super-hero-page__entity-card--group {
    --yawc-sh-type-color: #6ee7b7;
}

.yawc-super-hero-page__entity-card--organization {
    --yawc-sh-type-color: #cbd5e1;
}

.yawc-super-hero-page__entity-link {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 168px;
    height: 100%;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 20%, rgba(255, 255, 255, 0.10));
    background:
        radial-gradient(
            circle at 18% 14%,
            color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 13%, transparent),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.070) 0%,
            rgba(255, 255, 255, 0.028) 100%
        );
    color: var(--yawc-text-main);
    text-decoration: none;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 14px 30px rgba(0, 0, 0, 0.16);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

a.yawc-super-hero-page__entity-link:hover,
a.yawc-super-hero-page__entity-link:focus-visible {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 44%, rgba(255, 255, 255, 0.16));
    background:
        radial-gradient(
            circle at 18% 14%,
            color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 18%, transparent),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.090) 0%,
            rgba(255, 255, 255, 0.038) 100%
        );
    color: var(--yawc-text-main);
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.11),
        0 18px 38px rgba(0, 0, 0, 0.24),
        0 0 0 1px color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 18%, transparent);
    outline: none;
}

.yawc-super-hero-page__entity-main {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 13px;
    align-items: start;
    min-width: 0;
    flex: 1 1 auto;
}

.yawc-super-hero-page__entity-media {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 34%, rgba(255, 255, 255, 0.14));
    background:
        radial-gradient(
            circle at 35% 25%,
            color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 20%, transparent),
            transparent 62%
        ),
        rgba(255, 255, 255, 0.050);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 9px 20px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    box-sizing: border-box;
    flex: 0 0 auto;
}

.yawc-super-hero-page__entity-avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.yawc-super-hero-page__entity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 78%, #ffffff 22%);
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
}

.yawc-super-hero-page__entity-body {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.yawc-super-hero-page__entity-title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1rem;
    line-height: 1.32;
    font-weight: 900;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.yawc-super-hero-page__entity-type {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 2px 0 0;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 24%, rgba(255, 255, 255, 0.08));
    background: color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 10%, rgba(255, 255, 255, 0.035));
    color: color-mix(in srgb, var(--yawc-sh-type-color, #cbd5e1) 68%, var(--yawc-text-soft) 32%);
    font-size: 0.72rem;
    line-height: 1.35;
    font-weight: 900;
}

.yawc-super-hero-page__entity-description {
    margin: 7px 0 0;
    color: var(--yawc-text-soft);
    font-size: 0.82rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__entity-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    flex: 0 0 auto;
    min-height: 27px;
    margin-top: 14px;
    padding: 4px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.20);
    background: rgba(125, 211, 252, 0.075);
    color: rgba(186, 230, 253, 0.95);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    white-space: nowrap;
}

.yawc-super-hero-page__entity-cta::after {
    content: "→";
    font-size: 11px;
    line-height: 1;
    transform: translateY(-1px);
}

/* ---------------------------------------------------------
   EntityCard Member Variant - Status Badge
   AS-2: Retired badge minimal styling
   --------------------------------------------------------- */

.yawc-entity-member-card__type {
    gap: 5px;
    flex-wrap: wrap;
}

.yawc-entity-member-card__type-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.yawc-entity-member-card__status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 17px;
    padding: 1px 6px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(148, 163, 184, 0.075);
    color: rgba(226, 232, 240, 0.78);
    font-size: 9px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    white-space: nowrap;
    box-sizing: border-box;
}

.yawc-entity-member-card__status::before {
    content: "";
    display: inline-flex;
    flex: 0 0 auto;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.72;
}

.yawc-entity-member-card__status--retired {
    border-color: rgba(148, 163, 184, 0.20);
    background:
        linear-gradient(
            180deg,
            rgba(148, 163, 184, 0.105) 0%,
            rgba(148, 163, 184, 0.060) 100%
        );
    color: rgba(226, 232, 240, 0.82);
}

.yawc-entity-member-card.is-retired .yawc-entity-member-card__media {
    opacity: 0.82;
    filter: saturate(0.72);
}

.yawc-entity-member-card.is-retired .yawc-entity-member-card__link {
    border-color: color-mix(
        in srgb,
        var(--yawc-sh-type-color, #cbd5e1) 14%,
        rgba(255, 255, 255, 0.10)
    );
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-entity-member-card__status {
    border-color: rgba(71, 85, 105, 0.18);
    background: rgba(71, 85, 105, 0.070);
    color: rgba(51, 65, 85, 0.74);
}

[data-yawc-theme="light"] .yawc-entity-member-card__status--retired {
    border-color: rgba(71, 85, 105, 0.22);
    background:
        linear-gradient(
            180deg,
            rgba(71, 85, 105, 0.090) 0%,
            rgba(71, 85, 105, 0.052) 100%
        );
    color: rgba(51, 65, 85, 0.78);
}

/* responsive */
@media (max-width: 782px) {
    .yawc-entity-member-card__status {
        min-height: 16px;
        padding: 1px 6px;
        font-size: 8.5px;
    }

    .yawc-entity-member-card__status::before {
        width: 4px;
        height: 4px;
    }
}

/* ---------------------------------------------------------
   EntityCard Member Variant - Latest Flag Badge
   --------------------------------------------------------- */

.yawc-super-hero-page__entity-flag {
    position: absolute;
    top: -8px;
    right: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    max-width: calc(100% - 24px);
    padding: 3px 9px 3px 7px;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 950;
    letter-spacing: 0.025em;
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.10) inset,
        0 8px 18px rgba(0, 0, 0, 0.24),
        0 0 14px rgba(var(--yawc-flag-accent-rgb), 0.16);
    pointer-events: auto;
}

.yawc-super-hero-page__entity-flag:hover {
    transform: translateY(-1px);
}

.yawc-super-hero-page__entity-flag-dot {
    display: inline-flex;
    flex: 0 0 auto;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(var(--yawc-flag-accent-rgb), 0.96);
    box-shadow:
        0 0 0 3px rgba(var(--yawc-flag-accent-rgb), 0.14),
        0 0 10px rgba(var(--yawc-flag-accent-rgb), 0.34);
}

.yawc-super-hero-page__entity-flag-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 92px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yawc-super-hero-page__entity-card.has-latest-flag .yawc-super-hero-page__entity-link {
    overflow: hidden;
}

/* light theme tuning */
[data-yawc-theme="light"] .yawc-super-hero-page__entity-flag {
    box-shadow:
        0 0 0 1px rgba(var(--yawc-flag-accent-rgb), 0.08) inset,
        0 8px 18px rgba(15, 23, 42, 0.12),
        0 0 12px rgba(var(--yawc-flag-accent-rgb), 0.10);
}

/* responsive */
@media (max-width: 782px) {
    .yawc-super-hero-page__entity-flag {
        top: -7px;
        right: 10px;
        min-height: 22px;
        max-width: calc(100% - 20px);
        padding: 3px 8px 3px 7px;
        font-size: 9.5px;
    }

    .yawc-super-hero-page__entity-flag-label {
        max-width: 86px;
    }
}

@media (max-width: 782px) {
    .yawc-super-hero-page__entity-access {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .yawc-super-hero-page__entity-link {
        min-height: 142px;
        padding: 15px;
    }

    .yawc-super-hero-page__entity-main {
        grid-template-columns: 48px minmax(0, 1fr);
        gap: 12px;
    }

    .yawc-super-hero-page__entity-media {
        width: 44px;
        height: 44px;
    }

    .yawc-super-hero-page__entity-icon {
        font-size: 16px;
    }

    .yawc-super-hero-page__entity-title {
        font-size: 0.98rem;
    }
}

/* ---------------------------------------------------------
   Super Hero type color mapping
   --------------------------------------------------------- */

.yawc-super-hero-page__entity-card--person,
.yawc-super-hero-page__timeline-item--person,
.yawc-super-hero-page__timeline-card--person,
.yawc-super-hero-page__entity-card.yawc-type-badge--person,
.yawc-super-hero-page__timeline-item.yawc-type-badge--person,
.yawc-super-hero-page__timeline-card.yawc-type-badge--person {
    --yawc-sh-type-color: var(--yawc-person-accent);
}

.yawc-super-hero-page__entity-card--agent,
.yawc-super-hero-page__timeline-item--agent,
.yawc-super-hero-page__timeline-card--agent,
.yawc-super-hero-page__entity-card.yawc-type-badge--agent,
.yawc-super-hero-page__timeline-item.yawc-type-badge--agent,
.yawc-super-hero-page__timeline-card.yawc-type-badge--agent {
    --yawc-sh-type-color: var(--yawc-agent-accent);
}

.yawc-super-hero-page__entity-card--act,
.yawc-super-hero-page__timeline-item--act,
.yawc-super-hero-page__timeline-card--act,
.yawc-super-hero-page__entity-card.yawc-type-badge--act,
.yawc-super-hero-page__timeline-item.yawc-type-badge--act,
.yawc-super-hero-page__timeline-card.yawc-type-badge--act {
    --yawc-sh-type-color: var(--yawc-act-accent);
}

.yawc-super-hero-page__entity-card--group,
.yawc-super-hero-page__timeline-item--group,
.yawc-super-hero-page__timeline-card--group,
.yawc-super-hero-page__entity-card.yawc-type-badge--group,
.yawc-super-hero-page__timeline-item.yawc-type-badge--group,
.yawc-super-hero-page__timeline-card.yawc-type-badge--group {
    --yawc-sh-type-color: var(--yawc-group-accent);
}

/* ---------------------------------------------------------
   Light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-super-hero-page__hero,
[data-yawc-theme="light"] .yawc-super-hero-page__section-card,
[data-yawc-theme="light"] .yawc-super-hero-page__notice {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.026) 0%, rgba(15, 23, 42, 0.012) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-super-hero-page__primary-tabs-inner {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.032) 0%, rgba(15, 23, 42, 0.016) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab {
    color: rgba(15, 23, 42, 0.70);
}

[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab:hover {
    background: rgba(15, 23, 42, 0.055);
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab.is-active,
[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab[aria-current="page"] {
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.10) 0%, rgba(15, 23, 42, 0.04) 100%);
    border-color: rgba(14, 165, 233, 0.20);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-super-hero-page__timeline-link,
[data-yawc-theme="light"] .yawc-super-hero-page__timeline-entry,
[data-yawc-theme="light"] .yawc-super-hero-page__timeline-card,
[data-yawc-theme="light"] .yawc-super-hero-page__entity-link {
    border-color: rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.030) 0%, rgba(15, 23, 42, 0.014) 100%);
}

[data-yawc-theme="light"] .yawc-super-hero-page__entity-cta {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.065);
    color: rgba(8, 47, 73, 0.86);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

/* =========================================================
   SuperHero Top / Section width alignment
   SH-TOP-WIDTH-1-A
   - Keep Hero / TabRail / active section visually aligned
   - Disable old 2-column split on SuperHero Top
   - Fix PC blank right side for Home / Posts / Events / Releases
   - CSS only
   ========================================================= */

@media (min-width: 900px) {
    .page-template-yawc-super-hero-top-template .yawc-super-hero-page__section-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .page-template-yawc-super-hero-top-template .yawc-super-hero-page__section-card {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 760px) {
    .yawc-super-hero-page__inner {
        padding: 24px 14px 44px;
    }

    .yawc-super-hero-page__hero {
        padding: 22px 18px;
        margin-bottom: 18px;
    }

    .yawc-super-hero-page__meta {
        gap: 6px;
    }

    .yawc-super-hero-page__primary-tabs {
        margin-bottom: 18px;
        overflow-x: auto;
    }

    .yawc-super-hero-page__primary-tabs-inner {
        flex-wrap: nowrap;
        gap: 6px;
        padding: 5px;
        border-radius: var(--yawc-radius-panel);
    }

    .yawc-super-hero-page__primary-tab {
        min-height: 34px;
        padding: 6px 11px;
        font-size: 12px;
    }

    .yawc-super-hero-page__notice {
        padding: 16px;
    }

    .yawc-super-hero-page__section-card {
        padding: 17px 15px;
    }

    .yawc-super-hero-page__section-card-header {
        align-items: flex-start;
    }

    .yawc-super-hero-page__timeline-link,
    .yawc-super-hero-page__timeline-entry,
    .yawc-super-hero-page__timeline-card {
        align-items: flex-start;
        gap: 10px;
        padding: 11px;
    }

    .yawc-super-hero-page__timeline-main {
        align-items: flex-start;
    }

    .yawc-super-hero-page__timeline-icon,
    .yawc-super-hero-page__entity-icon {
        width: 31px;
        height: 31px;
        font-size: 13px;
    }

    .yawc-super-hero-page__timeline-date,
    .yawc-super-hero-page__timeline-time {
        min-height: 21px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .yawc-super-hero-page__entity-access {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .yawc-super-hero-page__entity-link {
        padding: 11px;
    }

    .yawc-super-hero-page__entity-cta {
        display: none;
    }
}

@media (max-width: 420px) {
    .yawc-super-hero-page__timeline-link,
    .yawc-super-hero-page__timeline-entry,
    .yawc-super-hero-page__timeline-card,
    .yawc-super-hero-page__entity-link {
        border-radius: 13px;
    }

    .yawc-super-hero-page__timeline-head,
    .yawc-super-hero-page__timeline-meta {
        gap: 5px;
    }

    .yawc-super-hero-page__timeline-title,
    .yawc-super-hero-page__timeline-source,
    .yawc-super-hero-page__timeline-name,
    .yawc-super-hero-page__entity-title {
        white-space: normal;
    }
}

/* =========================================================
   Super Hero Primary TabRail
   Phase SH-16-C
   - Minimal button reset for Super Primary TabRail
   - Prepare section panel hide state for future JS switching
   - Keeps Normal Profile TabRail untouched
   ========================================================= */

button.yawc-super-hero-page__primary-tab {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    font-family: inherit;
    cursor: pointer;
}

button.yawc-super-hero-page__primary-tab::-moz-focus-inner {
    padding: 0;
    border: 0;
}

.yawc-super-hero-page__section-card[hidden],
.yawc-super-hero-page__section-card.is-super-tab-hidden {
    display: none !important;
}

/* =========================================================
   Super Hero World Timeline Drawer
   Phase SH-17-G-4
   - Super Hero HeroCard drawer visual polish
   - Dim / blur / lock lower content while drawer is open
   - Keeps Normal Profile Hero Drawer untouched

   ADM-0-D-5
   - Keep SuperHero World Timeline Drawer scrollable on mobile
   - Reserve space for fixed bottom UI / iOS safe area
   - Do not touch Normal Profile Hero Drawer / Relation Links Rail
   ========================================================= */

.yawc-super-hero-page__hero--has-drawer {
    isolation: isolate;
}

.yawc-super-hero-page__hero--has-drawer.is-super-hero-drawer-open {
    overflow: visible;
    z-index: 60;
}

.yawc-super-hero-page__hero--has-drawer.is-super-hero-drawer-closed {
    overflow: hidden;
}

.yawc-super-hero-page__hero-drawer {
    --yawc-super-hero-drawer-max-height: min(64vh, 640px);
    --yawc-super-hero-drawer-items-max-height: calc(var(--yawc-super-hero-drawer-max-height) - 54px);
    --yawc-super-hero-drawer-bottom-padding: 0px;

    position: relative;
    z-index: 16;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    margin-top: 18px;
}

.yawc-super-hero-page__hero-drawer-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: fit-content;
    max-width: 100%;
    min-height: 36px;
    padding: 7px 14px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.22);
    background:
        linear-gradient(180deg, rgba(125, 211, 252, 0.11) 0%, rgba(255, 255, 255, 0.046) 100%);
    color: var(--yawc-text-sub);
    font-family: inherit;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
        border-color 0.22s ease,
        background-color 0.22s ease,
        box-shadow 0.22s ease,
        color 0.22s ease;
}

.yawc-super-hero-page__hero-drawer-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.34);
    background:
        linear-gradient(180deg, rgba(125, 211, 252, 0.15) 0%, rgba(255, 255, 255, 0.062) 100%);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-super-hero-page__hero-drawer-toggle:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.16);
}

.yawc-super-hero-page__hero-drawer-toggle[aria-expanded="true"] {
    color: var(--yawc-text-main);
    border-color: rgba(125, 211, 252, 0.42);
    background:
        linear-gradient(180deg, rgba(125, 211, 252, 0.18) 0%, rgba(255, 255, 255, 0.072) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 10px 22px rgba(0, 0, 0, 0.16);
}

.yawc-super-hero-page__hero-drawer-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    min-height: 22px;
    padding: 2px 7px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.055);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    box-sizing: border-box;
}

.yawc-super-hero-page__hero-drawer-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
    transform-origin: center;
    transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.yawc-super-hero-page__hero-drawer-toggle[aria-expanded="true"] .yawc-super-hero-page__hero-drawer-toggle-icon {
    transform: translateY(-1px);
}

.yawc-super-hero-page__hero-drawer-body {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 80;
    width: min(100%, 840px);
    max-width: min(840px, calc(100vw - 40px));
    box-sizing: border-box;
}

.yawc-super-hero-page__hero-drawer-body[hidden] {
    display: none !important;
}

.yawc-super-hero-page__hero-drawer-body:not([hidden]) {
    display: block;
    animation: yawcSuperHeroDrawerOpen 0.34s cubic-bezier(0.16, 1, 0.3, 1) both;
    transform-origin: top center;
}

.yawc-super-hero-page__hero-drawer-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    max-height: var(--yawc-super-hero-drawer-max-height);
    padding: 16px;
    border-radius: var(--yawc-radius-panel);
    border: 1px solid rgba(125, 211, 252, 0.18);
    background:
        radial-gradient(circle at 14% 0%, rgba(125, 211, 252, 0.12), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(167, 139, 250, 0.10), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.074) 0%, rgba(255, 255, 255, 0.046) 100%),
        color-mix(in srgb, var(--yawc-surface-1) 92%, #000 8%);
    box-shadow:
        0 22px 58px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.025) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-sizing: border-box;
}

.yawc-super-hero-page__hero-drawer-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(125, 211, 252, 0.38),
        transparent
    );
    opacity: 0.82;
    pointer-events: none;
}

.yawc-super-hero-page__hero-drawer-title {
    margin: 0 0 12px;
    color: var(--yawc-text-main);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 950;
    letter-spacing: -0.01em;
}

.yawc-super-hero-page__hero-drawer-items {
    display: grid;
    gap: 10px;
    min-height: 0;
    max-height: var(--yawc-super-hero-drawer-items-max-height);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: 2px;
    padding-bottom: var(--yawc-super-hero-drawer-bottom-padding);
    scroll-padding-bottom: var(--yawc-super-hero-drawer-bottom-padding);
    scrollbar-width: thin;
}

.yawc-super-hero-page__hero-drawer-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-width: 0;
    padding: 11px 12px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.026) 100%),
        var(--yawc-surface-elevated);
    color: var(--yawc-text-main);
    box-sizing: border-box;
}

.yawc-super-hero-page__hero-drawer-item-main {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.yawc-super-hero-page__hero-drawer-item-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.07);
    color: rgba(186, 230, 253, 0.92);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yawc-super-hero-page__hero-drawer-item-time {
    display: inline-flex;
    width: fit-content;
    color: var(--yawc-text-muted);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 850;
}

.yawc-super-hero-page__hero-drawer-item-text {
    margin: 0;
    color: var(--yawc-text-sub);
    font-size: 12px;
    line-height: 1.65;
    font-weight: 750;
}

.yawc-super-hero-page__hero-drawer-item-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.065);
    color: var(--yawc-link-main);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.yawc-super-hero-page__hero-drawer-item-link:hover {
    border-color: rgba(125, 211, 252, 0.24);
    background: rgba(125, 211, 252, 0.10);
    color: var(--yawc-link-strong);
    text-decoration: none;
}

.yawc-super-hero-page__hero-drawer-empty {
    margin: 0;
    padding: 13px 14px;
    border-radius: var(--yawc-radius-row);
    border: 1px dashed var(--yawc-border-dashed);
    background: var(--yawc-surface-elevated);
    color: var(--yawc-text-soft);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Drawer open mode:
   lower Super Hero content stays visible but becomes non-interactive. */
.yawc-super-hero-page__hero.is-super-hero-drawer-open ~ * {
    pointer-events: none;
    user-select: none;
    opacity: 0.40;
    filter: blur(0.35px) saturate(0.72);
    transform: translateY(-8px) scale(0.992);
    transition:
        opacity 0.22s ease,
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.22s ease;
}

/* Keep the open HeroCard above the dimmed / locked lower content. */
.yawc-super-hero-page__hero.is-super-hero-drawer-open {
    position: relative;
    z-index: 70;
}

/* Subtle veil feeling behind the open drawer.
   Actual outside-click closing is handled in the next JS phase. */
.yawc-super-hero-page__hero.is-super-hero-drawer-open::after {
    content: "";
    position: absolute;
    left: -18px;
    right: -18px;
    top: 100%;
    height: min(72vh, 760px);
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.30) 0%,
            rgba(0, 0, 0, 0.18) 52%,
            rgba(0, 0, 0, 0.04) 100%
        );
    pointer-events: none;
    border-radius: 0 0 var(--yawc-radius-card) var(--yawc-radius-card);
}

.yawc-super-hero-page__hero-drawer {
    z-index: 3;
}

/* Opening animation */
@keyframes yawcSuperHeroDrawerOpen {
    0% {
        opacity: 0;
        transform: translateY(-14px) scaleY(0.94);
        filter: blur(4px);
    }

    58% {
        opacity: 1;
        transform: translateY(2px) scaleY(1.012);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        filter: blur(0);
    }
}

/* ---------------------------------------------------------
   Light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(15, 23, 42, 0.035) 100%);
    color: rgba(15, 23, 42, 0.70);
}

[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle:hover,
[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle[aria-expanded="true"] {
    border-color: rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.12) 0%, rgba(15, 23, 42, 0.045) 100%);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-count {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.05);
    color: rgba(15, 23, 42, 0.58);
}

[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-inner {
    border-color: rgba(14, 165, 233, 0.16);
    background:
        radial-gradient(circle at 14% 0%, rgba(14, 165, 233, 0.08), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(109, 40, 217, 0.06), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.92) 100%);
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item {
    border-color: rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.030) 0%, rgba(15, 23, 42, 0.014) 100%);
}

[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-label,
[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-link {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.065);
    color: rgba(8, 47, 73, 0.86);
}

[data-yawc-theme="light"] .yawc-super-hero-page__hero.is-super-hero-drawer-open::after {
    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.18) 0%,
            rgba(15, 23, 42, 0.11) 52%,
            rgba(15, 23, 42, 0.02) 100%
        );
}

/* ---------------------------------------------------------
   Motion / Responsive
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .yawc-super-hero-page__hero-drawer-body:not([hidden]) {
        animation: none;
    }

    .yawc-super-hero-page__hero-drawer-toggle,
    .yawc-super-hero-page__hero-drawer-toggle-icon,
    .yawc-super-hero-page__hero.is-super-hero-drawer-open ~ * {
        transition: none;
    }
}

@media (max-width: 760px) {
    .yawc-super-hero-page__hero-drawer {
        --yawc-super-hero-drawer-mobile-bottom-reserve: calc(108px + env(safe-area-inset-bottom, 0px));
        --yawc-super-hero-drawer-max-height: min(52svh, calc(100svh - 288px), 520px);
        --yawc-super-hero-drawer-items-max-height: calc(var(--yawc-super-hero-drawer-max-height) - 48px);
        --yawc-super-hero-drawer-bottom-padding: calc(18px + env(safe-area-inset-bottom, 0px));

        margin-top: 15px;
    }

    @supports not (height: 100svh) {
        .yawc-super-hero-page__hero-drawer {
            --yawc-super-hero-drawer-max-height: min(52vh, 520px);
        }
    }

    .yawc-super-hero-page__hero-drawer-toggle {
        min-height: 34px;
        padding: 6px 12px;
        font-size: 11px;
    }

    .yawc-super-hero-page__hero-drawer-body {
        width: 100%;
        max-width: calc(100vw - 32px);
        top: calc(100% + 10px);
    }

    .yawc-super-hero-page__hero-drawer-inner {
        max-height: var(--yawc-super-hero-drawer-max-height);
        padding: 13px;
        border-radius: var(--yawc-radius-panel);
    }

    .yawc-super-hero-page__hero-drawer-items {
        gap: 9px;
        max-height: var(--yawc-super-hero-drawer-items-max-height);
    }

    .yawc-super-hero-page__hero-drawer-item {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 8px;
        padding: 10px;
    }

    .yawc-super-hero-page__hero-drawer-item-link {
        justify-self: start;
    }

    .yawc-super-hero-page__hero.is-super-hero-drawer-open ~ * {
        opacity: 0.34;
        transform: translateY(-7px) scale(0.99);
    }

    .yawc-super-hero-page__hero.is-super-hero-drawer-open::after {
        left: -14px;
        right: -14px;
        height: min(76vh, 680px);
    }
}

@media (max-width: 420px) {
    .yawc-super-hero-page__hero-drawer-toggle {
        max-width: 100%;
    }

    .yawc-super-hero-page__hero-drawer-body {
        max-width: calc(100vw - 28px);
    }

    .yawc-super-hero-page__hero-drawer-title {
        font-size: 0.9rem;
    }

    .yawc-super-hero-page__hero-drawer-item-text {
        font-size: 11px;
    }
}

/* =========================================================
   Super Hero World Posts
   Phase SH-6-G
   - Minimal card styling for World Posts v0
   - Appended after existing Super Hero Page CSS
   - Keeps Timeline / Members / Profile / Event / Release styles untouched
   ========================================================= */

.yawc-super-hero-page__world-posts {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.yawc-super-hero-page__post-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 14px 15px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.042) 0%, rgba(255, 255, 255, 0.024) 100%),
        var(--yawc-surface-elevated);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.018) inset,
        0 10px 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.yawc-super-hero-page__post-item:hover {
    border-color: var(--yawc-border-medium);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.056) 0%, rgba(255, 255, 255, 0.032) 100%),
        var(--yawc-surface-elevated);
}

.yawc-super-hero-page__post-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.yawc-super-hero-page__post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-super-hero-page__post-entity,
.yawc-super-hero-page__post-type,
.yawc-super-hero-page__post-date,
.yawc-super-hero-page__post-records-badge,
.yawc-super-hero-page__post-context,
.yawc-super-hero-page__post-credit-context,
.yawc-super-hero-page__post-credit-code {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__post-entity {
    gap: 5px;
    border-color: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 24%, var(--yawc-border-soft));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 10%, rgba(255, 255, 255, 0.045)) 0%,
            rgba(255, 255, 255, 0.034) 100%
        );
    color: var(--yawc-text-sub);
}

a.yawc-super-hero-page__post-entity:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 38%, var(--yawc-border-medium));
    color: var(--yawc-text-main);
    text-decoration: none;
}

.yawc-super-hero-page__post-entity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.yawc-super-hero-page__post-entity-label {
    min-width: 0;
    max-width: 18ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yawc-super-hero-page__post-type {
    color: var(--yawc-text-soft);
}

.yawc-super-hero-page__post-date {
    color: var(--yawc-text-muted);
}

.yawc-super-hero-page__post-records-badge {
    border-color: rgba(251, 146, 60, 0.18);
    background: rgba(251, 146, 60, 0.09);
    color: rgba(253, 186, 116, 0.94);
}

.yawc-super-hero-page__post-title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.yawc-super-hero-page__post-title a {
    color: inherit;
    text-decoration: none;
}

.yawc-super-hero-page__post-title a:hover {
    color: var(--yawc-link-main);
    text-decoration: underline;
}

.yawc-super-hero-page__post-excerpt {
    margin: 0;
    color: var(--yawc-text-sub);
    font-size: 0.9rem;
    line-height: 1.65;
}

.yawc-super-hero-page__post-contexts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
    margin-top: 1px;
}

.yawc-super-hero-page__post-context {
    border-color: rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.07);
    color: rgba(186, 230, 253, 0.92);
}

.yawc-super-hero-page__post-credit-context {
    border-color: rgba(52, 211, 153, 0.14);
    background: rgba(52, 211, 153, 0.07);
    color: rgba(187, 247, 208, 0.92);
}

.yawc-super-hero-page__post-credit-code {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(148, 163, 184, 0.07);
    color: rgba(226, 232, 240, 0.86);
}

a.yawc-super-hero-page__post-context:hover,
a.yawc-super-hero-page__post-credit-context:hover {
    color: var(--yawc-text-main);
    text-decoration: none;
    border-color: var(--yawc-border-medium);
}

.yawc-super-hero-page__post-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.055);
    color: var(--yawc-link-main);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease;
}

.yawc-super-hero-page__post-cta:hover {
    transform: translateY(-1px);
    border-color: var(--yawc-border-medium);
    background: rgba(255, 255, 255, 0.075);
    color: var(--yawc-link-strong);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-super-hero-page__post-cta:focus-visible,
.yawc-super-hero-page__post-title a:focus-visible,
.yawc-super-hero-page__post-entity:focus-visible,
.yawc-super-hero-page__post-context:focus-visible,
.yawc-super-hero-page__post-credit-context:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

/* Type nuance via existing classes emitted by the View. */
.yawc-super-hero-page__post-item--person {
    --yawc-type-accent: var(--yawc-person-accent);
}

.yawc-super-hero-page__post-item--agent {
    --yawc-type-accent: var(--yawc-agent-accent);
}

.yawc-super-hero-page__post-item--act {
    --yawc-type-accent: var(--yawc-act-accent);
}

.yawc-super-hero-page__post-item--group {
    --yawc-type-accent: var(--yawc-group-accent);
}

.yawc-super-hero-page__post-item--organization {
    --yawc-type-accent: var(--yawc-organization-accent);
}

/* Light theme tuning */
[data-yawc-theme="light"] .yawc-super-hero-page__post-item {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.030) 0%, rgba(15, 23, 42, 0.016) 100%),
        var(--yawc-surface-elevated);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.56) inset,
        0 10px 24px rgba(15, 23, 42, 0.06);
}

[data-yawc-theme="light"] .yawc-super-hero-page__post-item:hover {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.040) 0%, rgba(15, 23, 42, 0.022) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-super-hero-page__post-entity,
[data-yawc-theme="light"] .yawc-super-hero-page__post-type,
[data-yawc-theme="light"] .yawc-super-hero-page__post-date,
[data-yawc-theme="light"] .yawc-super-hero-page__post-credit-code {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.62);
}

[data-yawc-theme="light"] .yawc-super-hero-page__post-context {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(14, 165, 233, 0.08);
    color: rgba(8, 47, 73, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__post-credit-context {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.08);
    color: rgba(6, 78, 59, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__post-records-badge {
    border-color: rgba(234, 88, 12, 0.16);
    background: rgba(234, 88, 12, 0.08);
    color: rgba(124, 45, 18, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__post-cta {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
}

[data-yawc-theme="light"] .yawc-super-hero-page__post-cta:hover {
    border-color: rgba(15, 23, 42, 0.16);
    background: rgba(15, 23, 42, 0.065);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* Fallback for environments without color-mix() */
@supports not (color: color-mix(in srgb, #ffffff 50%, transparent)) {
    .yawc-super-hero-page__post-entity {
        border-color: var(--yawc-border-soft);
        background: rgba(255, 255, 255, 0.045);
    }

    a.yawc-super-hero-page__post-entity:hover {
        border-color: var(--yawc-border-medium);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .yawc-super-hero-page__world-posts {
        gap: 10px;
        margin-top: 12px;
    }

    .yawc-super-hero-page__post-item {
        grid-template-columns: 1fr;
        gap: 11px;
        padding: 12px;
        border-radius: 14px;
    }

    .yawc-super-hero-page__post-main {
        gap: 7px;
    }

    .yawc-super-hero-page__post-meta,
    .yawc-super-hero-page__post-contexts {
        gap: 5px;
    }

    .yawc-super-hero-page__post-entity,
    .yawc-super-hero-page__post-type,
    .yawc-super-hero-page__post-date,
    .yawc-super-hero-page__post-records-badge,
    .yawc-super-hero-page__post-context,
    .yawc-super-hero-page__post-credit-context,
    .yawc-super-hero-page__post-credit-code {
        min-height: 21px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .yawc-super-hero-page__post-entity-label {
        max-width: 15ch;
    }

    .yawc-super-hero-page__post-title {
        font-size: 0.96rem;
        line-height: 1.48;
    }

    .yawc-super-hero-page__post-excerpt {
        font-size: 0.86rem;
        line-height: 1.6;
    }

    .yawc-super-hero-page__post-cta {
        justify-self: flex-start;
        min-height: 30px;
        padding: 5px 11px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .yawc-super-hero-page__post-item {
        border-radius: 13px;
    }

    .yawc-super-hero-page__post-entity-label {
        max-width: 12ch;
    }

    .yawc-super-hero-page__post-title,
    .yawc-super-hero-page__post-excerpt {
        overflow-wrap: anywhere;
    }
}

/* =========================================================
   Super Hero World Events
   Phase SH-7-G
   - Minimal card styling for World Events v0
   - Appended after existing Super Hero World Posts CSS
   - Keeps Timeline / Posts / Members / Profile / Event / Release styles untouched
   ========================================================= */

.yawc-super-hero-page__world-events {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.yawc-super-hero-page__event-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    min-width: 0;
    padding: 14px 15px;
    border-radius: var(--yawc-radius-card);
    border: 1px solid rgba(52, 211, 153, 0.16);
    background:
        radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.042) 0%, rgba(255, 255, 255, 0.024) 100%),
        var(--yawc-surface-elevated);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.018) inset,
        0 10px 24px rgba(0, 0, 0, 0.12);
    box-sizing: border-box;
}

.yawc-super-hero-page__event-item:hover {
    border-color: rgba(52, 211, 153, 0.26);
    background:
        radial-gradient(circle at 0% 0%, rgba(52, 211, 153, 0.11), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.056) 0%, rgba(255, 255, 255, 0.032) 100%),
        var(--yawc-surface-elevated);
}

.yawc-super-hero-page__event-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.yawc-super-hero-page__event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-super-hero-page__event-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 2px 9px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.18);
    background: rgba(52, 211, 153, 0.09);
    color: rgba(187, 247, 208, 0.96);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
    text-decoration: none;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.yawc-super-hero-page__event-label[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 42%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 16%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 7%, transparent)
        ),
        rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-main);
}

a.yawc-super-hero-page__event-label:hover {
    color: var(--yawc-text-main);
    text-decoration: none;
    border-color: rgba(52, 211, 153, 0.28);
    background: rgba(52, 211, 153, 0.13);
}

a.yawc-super-hero-page__event-label[style*="--yawc-main-color"]:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color) 54%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 21%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 10%, transparent)
        ),
        rgba(255, 255, 255, 0.055);
}

.yawc-super-hero-page__event-count,
.yawc-super-hero-page__event-date,
.yawc-super-hero-page__event-credit-code {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
    white-space: nowrap;
    box-sizing: border-box;
}

.yawc-super-hero-page__event-count {
    border: 1px solid rgba(52, 211, 153, 0.14);
    background: rgba(52, 211, 153, 0.07);
    color: rgba(187, 247, 208, 0.88);
}

.yawc-super-hero-page__event-date {
    border: 1px solid rgba(125, 211, 252, 0.13);
    background: rgba(125, 211, 252, 0.065);
    color: rgba(186, 230, 253, 0.86);
}

.yawc-super-hero-page__event-title {
    margin: 0;
    min-width: 0;
    color: var(--yawc-text-main);
    font-size: 1rem;
    line-height: 1.52;
    font-weight: 900;
    letter-spacing: -0.012em;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__event-title a {
    color: inherit;
    text-decoration: none;
}

.yawc-super-hero-page__event-title a:hover {
    color: var(--yawc-link-main);
    text-decoration: underline;
}

.yawc-super-hero-page__event-contexts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-super-hero-page__event-credit-code {
    border: 1px solid rgba(251, 191, 36, 0.15);
    background: rgba(251, 191, 36, 0.075);
    color: rgba(254, 240, 138, 0.88);
}

.yawc-super-hero-page__event-organizers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
    margin-top: 1px;
}

.yawc-super-hero-page__event-organizer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
}

a.yawc-super-hero-page__event-organizer:hover {
    border-color: rgba(125, 211, 252, 0.16);
    background: rgba(125, 211, 252, 0.07);
    color: rgba(186, 230, 253, 0.92);
    text-decoration: none;
}

.yawc-super-hero-page__event-organizer-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yawc-super-hero-page__event-organizer-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 18px;
    padding: 1px 6px;
    border-radius: var(--yawc-radius-pill);
    background: rgba(255, 255, 255, 0.07);
    color: var(--yawc-text-muted);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 900;
}

.yawc-super-hero-page__event-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(52, 211, 153, 0.18);
    background: rgba(52, 211, 153, 0.075);
    color: rgba(187, 247, 208, 0.92);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-super-hero-page__event-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(52, 211, 153, 0.28);
    background: rgba(52, 211, 153, 0.12);
    color: var(--yawc-text-main);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-super-hero-page__event-cta:focus-visible,
.yawc-super-hero-page__event-label:focus-visible,
.yawc-super-hero-page__event-organizer:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

/* ---------------------------------------------------------
   Light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-super-hero-page__event-item {
    border-color: rgba(5, 150, 105, 0.13);
    background:
        radial-gradient(circle at 0% 0%, rgba(5, 150, 105, 0.065), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.030) 0%, rgba(15, 23, 42, 0.014) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.58) inset,
        0 10px 22px rgba(15, 23, 42, 0.06);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-item:hover {
    border-color: rgba(5, 150, 105, 0.22);
    background:
        radial-gradient(circle at 0% 0%, rgba(5, 150, 105, 0.085), transparent 34%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.040) 0%, rgba(15, 23, 42, 0.020) 100%);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-label,
[data-yawc-theme="light"] .yawc-super-hero-page__event-count {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.075);
    color: rgba(6, 78, 59, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-label[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 38%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 14%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 6%, transparent)
        ),
        rgba(15, 23, 42, 0.035);
    color: rgba(15, 23, 42, 0.92);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-date {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.065);
    color: rgba(8, 47, 73, 0.86);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-credit-code {
    border-color: rgba(217, 119, 6, 0.14);
    background: rgba(217, 119, 6, 0.07);
    color: rgba(120, 53, 15, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-organizer {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.62);
}

[data-yawc-theme="light"] a.yawc-super-hero-page__event-organizer:hover {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.065);
    color: rgba(8, 47, 73, 0.86);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-organizer-count {
    background: rgba(15, 23, 42, 0.06);
    color: rgba(15, 23, 42, 0.54);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-cta {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.075);
    color: rgba(6, 78, 59, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__event-cta:hover {
    border-color: rgba(5, 150, 105, 0.24);
    background: rgba(5, 150, 105, 0.11);
    color: rgba(15, 23, 42, 0.94);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */

@media (max-width: 760px) {
    .yawc-super-hero-page__world-events {
        gap: 10px;
        margin-top: 12px;
    }

    .yawc-super-hero-page__event-item {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
        padding: 12px;
        border-radius: var(--yawc-radius-row);
    }

    .yawc-super-hero-page__event-meta {
        gap: 5px;
    }

    .yawc-super-hero-page__event-label,
    .yawc-super-hero-page__event-count,
    .yawc-super-hero-page__event-date,
    .yawc-super-hero-page__event-credit-code,
    .yawc-super-hero-page__event-organizer {
        min-height: 21px;
        padding: 2px 7px;
        font-size: 10px;
    }

    .yawc-super-hero-page__event-title {
        font-size: 0.94rem;
        line-height: 1.55;
    }

    .yawc-super-hero-page__event-organizers {
        gap: 5px;
    }

    .yawc-super-hero-page__event-cta {
        justify-self: start;
        min-height: 30px;
        padding: 5px 10px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .yawc-super-hero-page__event-item {
        border-radius: 13px;
    }

    .yawc-super-hero-page__event-organizer-label {
        max-width: 150px;
    }
}

/* =========================================================
   Super Hero World Releases
   v0.1
   - Super Hero Page / World Releases item cards
   - Safe append only
   - No impact on Profile / Event / Release pages
   ========================================================= */

.yawc-super-hero-page__world-releases {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.yawc-super-hero-page__release-item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: start;
    min-width: 0;
    padding: 14px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-main-color, #f59e0b) 7%, rgba(255, 255, 255, 0.034)) 0%,
            rgba(255, 255, 255, 0.022) 100%
        );
    box-sizing: border-box;
}

.yawc-super-hero-page__release-item:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color, #f59e0b) 28%, var(--yawc-border-medium));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-main-color, #f59e0b) 10%, rgba(255, 255, 255, 0.046)) 0%,
            rgba(255, 255, 255, 0.032) 100%
        );
}

.yawc-super-hero-page__release-item.has-no-jacket {
    grid-template-columns: minmax(0, 1fr) auto;
}

.yawc-super-hero-page__release-jacket-wrap {
    min-width: 0;
}

.yawc-super-hero-page__release-jacket-link {
    display: block;
    text-decoration: none;
}

.yawc-super-hero-page__release-jacket {
    display: block;
    width: 96px;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.yawc-super-hero-page__release-main {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.yawc-super-hero-page__release-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-super-hero-page__release-label,
.yawc-super-hero-page__release-type,
.yawc-super-hero-page__release-status,
.yawc-super-hero-page__release-date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 800;
    text-decoration: none;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__release-label {
    border-color: color-mix(in srgb, var(--yawc-main-color, #f59e0b) 42%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color, #f59e0b) 18%, transparent),
            color-mix(in srgb, var(--yawc-main-color, #f59e0b) 7%, transparent)
        ),
        rgba(255, 255, 255, 0.045);
    color: var(--yawc-text-main);
    font-weight: 900;
}

a.yawc-super-hero-page__release-label:hover {
    color: var(--yawc-text-main);
    text-decoration: none;
    border-color: color-mix(in srgb, var(--yawc-main-color, #f59e0b) 56%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color, #f59e0b) 22%, transparent),
            color-mix(in srgb, var(--yawc-main-color, #f59e0b) 10%, transparent)
        ),
        rgba(255, 255, 255, 0.058);
}

.yawc-super-hero-page__release-type {
    border-color: rgba(251, 191, 36, 0.16);
    background: rgba(251, 191, 36, 0.08);
    color: rgba(254, 240, 138, 0.92);
}

.yawc-super-hero-page__release-status {
    border-color: rgba(52, 211, 153, 0.16);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.92);
}

.yawc-super-hero-page__release-date {
    border-color: rgba(125, 211, 252, 0.14);
    background: rgba(125, 211, 252, 0.07);
    color: rgba(186, 230, 253, 0.92);
}

.yawc-super-hero-page__release-title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 900;
    letter-spacing: -0.015em;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__release-title a {
    color: inherit;
    text-decoration: none;
}

.yawc-super-hero-page__release-title a:hover {
    color: var(--yawc-link-main);
    text-decoration: underline;
}

.yawc-super-hero-page__release-description {
    margin: 0;
    color: var(--yawc-text-soft);
    font-size: 0.9rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__release-entities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-super-hero-page__release-entity {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    max-width: 100%;
    min-height: 23px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.085);
    background: rgba(255, 255, 255, 0.035);
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
    box-sizing: border-box;
}

.yawc-super-hero-page__release-entity--artist {
    border-color: rgba(167, 139, 250, 0.16);
    background: rgba(167, 139, 250, 0.07);
}

.yawc-super-hero-page__release-entity--label {
    border-color: rgba(148, 163, 184, 0.16);
    background: rgba(148, 163, 184, 0.07);
}

.yawc-super-hero-page__release-entity-label {
    color: var(--yawc-text-muted);
    font-weight: 900;
}

.yawc-super-hero-page__release-entity-link {
    min-width: 0;
    color: var(--yawc-link-main);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__release-entity-link:hover {
    color: var(--yawc-link-strong);
    text-decoration: underline;
}

.yawc-super-hero-page__release-entity-name {
    min-width: 0;
    color: var(--yawc-text-sub);
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__release-primary-post {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    min-width: 0;
    color: var(--yawc-text-soft);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 750;
}

.yawc-super-hero-page__release-primary-post-label {
    color: var(--yawc-text-muted);
    font-weight: 900;
}

.yawc-super-hero-page__release-primary-post-link {
    color: var(--yawc-link-main);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.yawc-super-hero-page__release-primary-post-link:hover {
    color: var(--yawc-link-strong);
    text-decoration: underline;
}

.yawc-super-hero-page__release-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    min-width: 0;
}

.yawc-super-hero-page__release-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 27px;
    padding: 4px 10px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(245, 158, 11, 0.22);
    background: rgba(245, 158, 11, 0.10);
    color: #fef3c7;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 900;
    text-decoration: none;
    box-sizing: border-box;
    transition:
        transform 0.16s ease,
        border-color 0.16s ease,
        background-color 0.16s ease,
        color 0.16s ease;
}

.yawc-super-hero-page__release-link:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 158, 11, 0.36);
    background: rgba(245, 158, 11, 0.16);
    color: #fff7ed;
    text-decoration: none;
}

.yawc-super-hero-page__release-link--apple-music {
    border-color: rgba(244, 114, 182, 0.22);
    background: rgba(244, 114, 182, 0.10);
    color: #fce7f3;
}

.yawc-super-hero-page__release-link--spotify {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(52, 211, 153, 0.10);
    color: #d1fae5;
}

.yawc-super-hero-page__release-link--youtube {
    border-color: rgba(248, 113, 113, 0.22);
    background: rgba(248, 113, 113, 0.11);
    color: #fee2e2;
}

.yawc-super-hero-page__release-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: start;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.045);
    color: var(--yawc-link-main);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}

.yawc-super-hero-page__release-cta:hover {
    border-color: var(--yawc-border-medium);
    background: rgba(255, 255, 255, 0.07);
    color: var(--yawc-link-strong);
    text-decoration: none;
}

/* ---------------------------------------------------------
   Super Hero World Releases - light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-super-hero-page__release-item {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-main-color, #f59e0b) 6%, rgba(15, 23, 42, 0.026)) 0%,
            rgba(15, 23, 42, 0.014) 100%
        );
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-jacket {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-label {
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-type {
    border-color: rgba(202, 138, 4, 0.16);
    background: rgba(202, 138, 4, 0.08);
    color: rgba(113, 63, 18, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-status {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.08);
    color: rgba(6, 78, 59, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-date {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(14, 165, 233, 0.08);
    color: rgba(8, 47, 73, 0.88);
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-entity,
[data-yawc-theme="light"] .yawc-super-hero-page__release-cta {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-entity--artist {
    border-color: rgba(109, 40, 217, 0.14);
    background: rgba(109, 40, 217, 0.06);
}

[data-yawc-theme="light"] .yawc-super-hero-page__release-entity--label {
    border-color: rgba(71, 85, 105, 0.14);
    background: rgba(71, 85, 105, 0.06);
}

/* ---------------------------------------------------------
   Super Hero World Releases - fallback for no color-mix
   --------------------------------------------------------- */

@supports not (color: color-mix(in srgb, #ffffff 50%, transparent)) {
    .yawc-super-hero-page__release-item {
        background: rgba(255, 255, 255, 0.032);
    }

    .yawc-super-hero-page__release-item:hover {
        border-color: var(--yawc-border-medium);
        background: rgba(255, 255, 255, 0.045);
    }

    .yawc-super-hero-page__release-label {
        border-color: rgba(245, 158, 11, 0.28);
        background: rgba(245, 158, 11, 0.12);
    }
}

/* ---------------------------------------------------------
   Super Hero World Releases - responsive
   --------------------------------------------------------- */

@media (max-width: 720px) {
    .yawc-super-hero-page__release-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .yawc-super-hero-page__release-item.has-no-jacket {
        grid-template-columns: 1fr;
    }

    .yawc-super-hero-page__release-jacket {
        width: 82px;
        border-radius: 12px;
    }

    .yawc-super-hero-page__release-cta {
        grid-column: 1 / -1;
        justify-self: start;
        min-height: 30px;
        padding: 5px 11px;
        font-size: 11px;
    }

    .yawc-super-hero-page__release-title {
        font-size: 0.96rem;
    }

    .yawc-super-hero-page__release-description {
        font-size: 0.86rem;
    }
}

@media (max-width: 420px) {
    .yawc-super-hero-page__release-item {
        grid-template-columns: 1fr;
    }

    .yawc-super-hero-page__release-jacket {
        width: 100%;
        max-width: 180px;
    }

    .yawc-super-hero-page__release-jacket-wrap {
        width: 100%;
    }

    .yawc-super-hero-page__release-meta,
    .yawc-super-hero-page__release-entities,
    .yawc-super-hero-page__release-links {
        gap: 5px;
    }

    .yawc-super-hero-page__release-label,
    .yawc-super-hero-page__release-type,
    .yawc-super-hero-page__release-status,
    .yawc-super-hero-page__release-date,
    .yawc-super-hero-page__release-entity,
    .yawc-super-hero-page__release-link {
        font-size: 10px;
    }
}

/* =========================================================
   Super Hero Events FilterRail
   Phase SH-13-C
   - Events filter UI only
   - JS hook: [data-yawc-super-filter-item].is-filter-hidden
   - Safe append-only CSS
   ========================================================= */

.yawc-super-hero-page__filter-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 0 0 16px;
    padding: 6px;
    border: 1px solid var(--yawc-border-soft);
    border-radius: var(--yawc-radius-panel);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.038) 0%, rgba(255, 255, 255, 0.022) 100%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
    box-sizing: border-box;
}

.yawc-super-hero-page__filter-rail--events {
    border-color: rgba(52, 211, 153, 0.14);
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.045) 0%, rgba(255, 255, 255, 0.020) 100%),
        var(--yawc-surface-elevated);
}

.yawc-super-hero-page__filter-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 34px;
    max-width: 100%;
    padding: 6px 13px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid transparent;
    background: transparent;
    color: var(--yawc-text-sub);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 850;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-super-hero-page__filter-button:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.055);
    border-color: var(--yawc-border-soft);
    color: var(--yawc-text-main);
}

.yawc-super-hero-page__filter-button:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-super-hero-page__filter-button--events.is-active,
.yawc-super-hero-page__filter-button.is-active {
    background:
        linear-gradient(180deg, rgba(52, 211, 153, 0.14) 0%, rgba(255, 255, 255, 0.055) 100%);
    border-color: rgba(52, 211, 153, 0.28);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-super-hero-page__filter-label {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.yawc-super-hero-page__filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 20px;
    padding: 1px 7px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.055);
    color: var(--yawc-text-soft);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 900;
    box-sizing: border-box;
}

.yawc-super-hero-page__filter-button.is-active .yawc-super-hero-page__filter-count {
    border-color: rgba(52, 211, 153, 0.22);
    background: rgba(52, 211, 153, 0.12);
    color: rgba(187, 247, 208, 0.96);
}

[data-yawc-super-filter-item].is-filter-hidden {
    display: none !important;
}

/* ---------------------------------------------------------
   Super Hero Events FilterRail - Light theme tuning
   --------------------------------------------------------- */

[data-yawc-theme="light"] .yawc-super-hero-page__filter-rail {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.032) 0%, rgba(15, 23, 42, 0.016) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-rail--events {
    border-color: rgba(5, 150, 105, 0.14);
    background:
        linear-gradient(180deg, rgba(5, 150, 105, 0.055) 0%, rgba(15, 23, 42, 0.014) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-button {
    color: rgba(15, 23, 42, 0.70);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-button:hover {
    background: rgba(15, 23, 42, 0.055);
    border-color: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--events.is-active,
[data-yawc-theme="light"] .yawc-super-hero-page__filter-button.is-active {
    background:
        linear-gradient(180deg, rgba(5, 150, 105, 0.10) 0%, rgba(15, 23, 42, 0.04) 100%);
    border-color: rgba(5, 150, 105, 0.20);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-count {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.58);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-button.is-active .yawc-super-hero-page__filter-count {
    border-color: rgba(5, 150, 105, 0.18);
    background: rgba(5, 150, 105, 0.09);
    color: rgba(6, 78, 59, 0.90);
}

/* ---------------------------------------------------------
   Super Hero Events FilterRail - Responsive
   --------------------------------------------------------- */

@media (max-width: 640px) {
    .yawc-super-hero-page__filter-rail {
        gap: 6px;
        margin-bottom: 14px;
        padding: 5px;
        border-radius: var(--yawc-radius-panel);
    }

    .yawc-super-hero-page__filter-button {
        min-height: 32px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .yawc-super-hero-page__filter-count {
        min-width: 19px;
        min-height: 19px;
        padding: 1px 6px;
        font-size: 10px;
    }
}

/* =========================================================
   Super Hero Releases FilterRail
   Phase SH-14-D
   - Releases filter color nuance only
   - Base FilterRail styles are shared with Events FilterRail
   - Safe append-only CSS
   ========================================================= */

.yawc-super-hero-page__filter-rail--releases {
    border-color: rgba(251, 191, 36, 0.14);
    background:
        linear-gradient(180deg, rgba(251, 191, 36, 0.045) 0%, rgba(255, 255, 255, 0.020) 100%),
        var(--yawc-surface-elevated);
}

.yawc-super-hero-page__filter-button--releases.is-active,
.yawc-super-hero-page__filter-button--releases[aria-pressed="true"] {
    background:
        linear-gradient(180deg, rgba(251, 191, 36, 0.14) 0%, rgba(255, 255, 255, 0.055) 100%);
    border-color: rgba(251, 191, 36, 0.28);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-rail--releases {
    border-color: rgba(217, 119, 6, 0.14);
    background:
        linear-gradient(180deg, rgba(217, 119, 6, 0.08) 0%, rgba(15, 23, 42, 0.018) 100%),
        var(--yawc-surface-elevated);
}

[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--releases.is-active,
[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--releases[aria-pressed="true"] {
    background:
        linear-gradient(180deg, rgba(217, 119, 6, 0.10) 0%, rgba(15, 23, 42, 0.04) 100%);
    border-color: rgba(217, 119, 6, 0.20);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   Super Hero HeroImage Background Fit
   Phase Crown-7-CSS-1
   - Fit HeroImage inside Super Hero H-Card background
   - CSS only / append safe
   - Correct target: .yawc-super-hero-page__hero-visual
   ========================================================= */

.yawc-super-hero-page__hero.has-hero-image,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(420px, 58vw, 640px);
    padding: clamp(24px, 4.4vw, 42px);
    overflow: visible;
    background:
        radial-gradient(circle at 18% 0%, rgba(125, 211, 252, 0.13), transparent 34%),
        radial-gradient(circle at 88% 4%, rgba(167, 139, 250, 0.10), transparent 30%),
        var(--yawc-surface-elevated);
}

/* The actual image slot in super-hero-hero.php */
.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-visual,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-visual {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.yawc-super-hero-page__hero-visual[hidden] {
    display: none !important;
}

.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-image,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0.88;
    transform: scale(1.01);
}

/* Image veil.
   Use ::before because Super Hero Drawer already uses ::after for lower-content veil. */
.yawc-super-hero-page__hero.has-hero-image::before,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.28) 42%,
            rgba(0, 0, 0, 0.78) 100%
        ),
        radial-gradient(
            circle at 18% 8%,
            rgba(125, 211, 252, 0.14),
            transparent 36%
        );
}

/* Keep Hero content above the background image. */
.yawc-super-hero-page__hero.has-hero-image > *:not(.yawc-super-hero-page__hero-visual),
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image > *:not(.yawc-super-hero-page__hero-visual) {
    position: relative;
    z-index: 2;
}

/* Readability */
.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__eyebrow,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__eyebrow,
.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__active-context,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__active-context {
    width: fit-content;
    max-width: 100%;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.26);
}

.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__title,
.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__description,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__title,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__description {
    text-shadow:
        0 2px 18px rgba(0, 0, 0, 0.42),
        0 1px 2px rgba(0, 0, 0, 0.34);
}

.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__description,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__description {
    max-width: 68ch;
    color: rgba(255, 255, 255, 0.86);
}

/* Keep drawer controls safely above the image layer. */
.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-drawer,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-drawer {
    z-index: 16;
}

/* Light theme tuning */
[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image::before,
[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image::before {
    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0.06) 0%,
            rgba(15, 23, 42, 0.22) 46%,
            rgba(15, 23, 42, 0.58) 100%
        ),
        radial-gradient(
            circle at 18% 8%,
            rgba(14, 165, 233, 0.12),
            transparent 36%
        );
}

/* Responsive */
@media (max-width: 760px) {
    .yawc-super-hero-page__hero.has-hero-image,
    .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image {
        min-height: clamp(360px, 78vw, 540px);
        padding: 24px 18px;
    }

    .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-image,
    .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-image {
        object-position: center center;
        opacity: 0.84;
    }
}

@media (max-width: 420px) {
    .yawc-super-hero-page__hero.has-hero-image,
    .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image {
        min-height: 340px;
    }

    .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__description,
    .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__description {
        font-size: 0.9rem;
        line-height: 1.68;
    }
}

/* =========================================================
   Super Hero Active Context
   ========================================================= */

.yawc-super-hero-page__active-context[data-yawc-super-hero-active-context-key="all"] {
    display: none;
}

/* =========================================================
   Super Hero HeroImage Fade In
   Phase Crown-7-CSS-3
   - Match child HeroImage fade-in behavior
   ========================================================= */

.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-image,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-image {
    opacity: 0;
    transition:
        opacity 0.9s ease,
        transform 1.2s ease;
    transform: scale(1.035);
}

.yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-image.is-ready,
.yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-image.is-ready {
    opacity: 0.88;
    transform: scale(1.01);
}

@media (max-width: 760px) {
    .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-image.is-ready,
    .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-image.is-ready {
        opacity: 0.84;
    }
}






/* =========================================================
   ADM-0-C-12-O-A
   H-Card Drawer Timeline expanded layout fix
   - Mobile drawer timeline bottom spacing / scroll safety
   - CSS only / append-only
   ========================================================= */

@media (max-width: 640px) {
    .yawc-profile-hero__drawer-inner {
        max-height: min(64vh, 540px);
        padding-bottom: 16px;
    }

    .yawc-profile-hero__drawer-rails {
        min-height: 0;
        max-height: calc(min(64vh, 540px) - 36px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 0 3px calc(20px + env(safe-area-inset-bottom, 0px)) 0;
        box-sizing: border-box;
    }

    .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail {
        padding-bottom: 2px;
    }

    .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__hidden:not([hidden]) {
        margin-top: 7px;
    }

    .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__toggle {
        margin-top: 10px;
        margin-bottom: 12px;
        flex-shrink: 0;
    }
}

@supports (height: 100dvh) {
    @media (max-width: 640px) {
        .yawc-profile-hero__drawer-inner {
            max-height: min(64dvh, 540px);
        }

        .yawc-profile-hero__drawer-rails {
            max-height: calc(min(64dvh, 540px) - 36px);
        }
    }
}

@media (max-width: 420px) {
    .yawc-profile-hero__drawer-rails {
        padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    }

    .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__toggle {
        margin-bottom: 14px;
    }
}

/* =========================================================
   ADM-0-D-3-D: Relation Links Rail
   v0.1
   - minimal layout tuning for Hero Drawer
   - keeps Relation Links Rail as normal identity_after rail
   - no JS / no placement change
   ========================================================= */

.yawc-profile-relation-links-rail {
    margin-top: 12px;
}

.yawc-profile-relation-links-rail--identity-after {
    margin-top: 12px;
}

.yawc-profile-relation-links-rail__header {
    margin: 0 0 10px;
}

.yawc-profile-relation-links-rail__title {
    margin: 0;
    color: var(--yawc-text-main);
    font-size: 0.92rem;
    line-height: 1.35;
    font-weight: 900;
}

.yawc-profile-relation-links-rail__items {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.yawc-profile-relation-links-rail__item {
    min-width: 0;
}

.yawc-profile-relation-links-rail__link {
    display: grid;
    grid-template-columns: minmax(76px, 0.72fr) minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    min-width: 0;
    max-width: 100%;
    padding: 8px 10px;
    border-radius: var(--yawc-radius-row);
    border: 1px solid var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.04);
    color: var(--yawc-text-sub);
    text-decoration: none;
    box-sizing: border-box;
    transition:
        transform 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        color 0.18s ease;
}

.yawc-profile-relation-links-rail__link:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 28%, var(--yawc-border-medium));
    background: rgba(255, 255, 255, 0.065);
    color: var(--yawc-text-main);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-relation-links-rail__link:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.yawc-profile-relation-links-rail__label,
.yawc-profile-relation-links-rail__target,
.yawc-profile-relation-links-rail__kind {
    min-width: 0;
}

.yawc-profile-relation-links-rail__label {
    color: var(--yawc-text-main);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yawc-profile-relation-links-rail__target {
    color: var(--yawc-link-main);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 750;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.yawc-profile-relation-links-rail__kind {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 22px;
    padding: 2px 8px;
    border-radius: var(--yawc-radius-pill);
    border: 1px solid color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 22%, var(--yawc-border-soft));
    background: color-mix(in srgb, var(--yawc-type-accent, #cbd5e1) 10%, rgba(255, 255, 255, 0.04));
    color: var(--yawc-text-soft);
    font-size: 10px;
    line-height: 1.25;
    font-weight: 900;
    white-space: nowrap;
}

.yawc-profile-relation-links-rail__memo {
    grid-column: 1 / -1;
    margin-top: -2px;
    color: var(--yawc-text-muted);
    font-size: 11px;
    line-height: 1.45;
    font-weight: 700;
}

.yawc-profile-relation-links-rail__external-icon {
    margin-left: 4px;
    color: var(--yawc-link-main);
}

/* Kind nuance */
.yawc-profile-relation-links-rail__item--official .yawc-profile-relation-links-rail__kind,
.yawc-profile-relation-links-rail__item.is-kind-official .yawc-profile-relation-links-rail__kind {
    border-color: rgba(125, 211, 252, 0.20);
    background: rgba(125, 211, 252, 0.08);
    color: rgba(186, 230, 253, 0.94);
}

.yawc-profile-relation-links-rail__item--belongs_to .yawc-profile-relation-links-rail__kind,
.yawc-profile-relation-links-rail__item.is-kind-belongs_to .yawc-profile-relation-links-rail__kind {
    border-color: rgba(52, 211, 153, 0.18);
    background: rgba(52, 211, 153, 0.08);
    color: rgba(187, 247, 208, 0.94);
}

.yawc-profile-relation-links-rail__item--related .yawc-profile-relation-links-rail__kind,
.yawc-profile-relation-links-rail__item.is-kind-related .yawc-profile-relation-links-rail__kind {
    border-color: rgba(196, 181, 253, 0.18);
    background: rgba(196, 181, 253, 0.08);
    color: rgba(221, 214, 254, 0.94);
}

/* Light theme tuning */
[data-yawc-theme="light"] .yawc-profile-relation-links-rail__link {
    background: rgba(15, 23, 42, 0.035);
    border-color: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.76);
}

[data-yawc-theme="light"] .yawc-profile-relation-links-rail__link:hover {
    background: rgba(15, 23, 42, 0.06);
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 24%, rgba(15, 23, 42, 0.14));
    color: rgba(15, 23, 42, 0.94);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-profile-relation-links-rail__label {
    color: rgba(15, 23, 42, 0.94);
}

[data-yawc-theme="light"] .yawc-profile-relation-links-rail__target {
    color: var(--yawc-link-main);
}

[data-yawc-theme="light"] .yawc-profile-relation-links-rail__kind {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 18%, rgba(15, 23, 42, 0.10));
    background: color-mix(in srgb, var(--yawc-type-accent, #64748b) 7%, rgba(15, 23, 42, 0.035));
    color: rgba(15, 23, 42, 0.60);
}

/* Fallback for environments without color-mix() */
@supports not (color: color-mix(in srgb, #ffffff 50%, transparent)) {
    .yawc-profile-relation-links-rail__link:hover {
        border-color: var(--yawc-border-medium);
    }

    .yawc-profile-relation-links-rail__kind {
        border-color: var(--yawc-border-soft);
        background: rgba(255, 255, 255, 0.055);
    }
}

/* Responsive */
@media (max-width: 640px) {
    .yawc-profile-relation-links-rail {
        margin-top: 10px;
    }

    .yawc-profile-relation-links-rail__items {
        gap: 7px;
    }

    .yawc-profile-relation-links-rail__link {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px 8px;
        padding: 8px 9px;
    }

    .yawc-profile-relation-links-rail__label {
        grid-column: 1 / 2;
        font-size: 12px;
    }

    .yawc-profile-relation-links-rail__kind {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        font-size: 10px;
    }

    .yawc-profile-relation-links-rail__target {
        grid-column: 1 / -1;
        display: block;
        max-width: 100%;
        font-size: 11.5px;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }

    .yawc-profile-relation-links-rail__memo {
        grid-column: 1 / -1;
        font-size: 10.5px;
    }
}

/* =========================================================
   ADM-0-D-6-F: Hero Drawer viewport-based wide width
   - keep drawer width independent from content width
   - use viewport width instead of parent-percentage width
   - Profile Hero Drawer scoped only
   ========================================================= */

.yawc-profile-hero__drawer {
    width: 100%;
}

.yawc-profile-hero__drawer-body {
    width: min(calc(55vw), 640px);
    max-width: calc(75vw);
    box-sizing: border-box;
}

.yawc-profile-hero__drawer-inner {
    width: 100%;
    box-sizing: border-box;
}

/* Keep mobile drawer wide using viewport-based width. */
@media (max-width: 640px) {
    .yawc-profile-hero__identity-main {
        width: 100%;
    }

    .yawc-profile-hero__drawer {
        width: 100%;
    }

    .yawc-profile-hero__drawer-body {
        width: calc(75vw);
        max-width: calc(75vw);
    }
}

/* =========================================================
   ADM-0-D-6-C: Profile Hero Drawer inner rail overflow guard
   - Profile Hero Drawer scoped only
   - Prevent tag / SNS / credit / timeline rail content from pushing sideways
   - Keep SuperHero World Timeline Drawer untouched
   ========================================================= */

.yawc-profile-hero__drawer-rails,
.yawc-profile-hero__drawer-rails *,
.yawc-profile-hero__drawer-rails *::before,
.yawc-profile-hero__drawer-rails *::after {
    min-width: 0;
    box-sizing: border-box;
}

.yawc-profile-hero__drawer-rails > .yawc-profile-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-tags-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-sns-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-member-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-map,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail,
.yawc-profile-hero__drawer-rails .yawc-profile-archive-rail {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.yawc-profile-hero__drawer-rails .yawc-profile-tags-rail__items,
.yawc-profile-hero__drawer-rails .yawc-profile-sns-rail__items,
.yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-rail__items,
.yawc-profile-hero__drawer-rails .yawc-profile-member-rail__items,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-map__row,
.yawc-profile-hero__drawer-rails .yawc-profile-flag-rail__items,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__meta,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__facts,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__details {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    overflow: visible;
}

.yawc-profile-hero__drawer-rails .yawc-profile-sns-rail__items {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.yawc-profile-hero__drawer-rails .yawc-profile-sns-item {
    flex: 0 0 auto;
}

.yawc-profile-hero__drawer-rails .yawc-profile-tag-chip,
.yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item,
.yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-map__item,
.yawc-profile-hero__drawer-rails .yawc-profile-flag-item,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__chip,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__badge,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__detail,
.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__toggle {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.yawc-profile-hero__drawer-rails .yawc-profile-tag-chip,
.yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item,
.yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-map__item {
    width: fit-content;
}

.yawc-profile-hero__drawer-rails .yawc-profile-tag-chip,
.yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item {
    align-items: center;
}

.yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item__label,
.yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item__label,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-map__label,
.yawc-profile-hero__drawer-rails .yawc-profile-flag-item__label,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__title,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__title-link,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__title-text,
.yawc-profile-hero__drawer-rails .yawc-profile-record-item__detail-text {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__entry {
    align-items: flex-start;
    max-width: 100%;
}

.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__body,
.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__link,
.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__text {
    max-width: 100%;
    overflow: visible;
}

.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__text {
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__item:hover .yawc-profile-timeline-rail__text {
    overflow-x: visible;
}

.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__items,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__link {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 8px;
}

.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__main,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__label,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__target,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__memo {
    max-width: 100%;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__target,
.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__memo {
    grid-column: 1 / -1;
}

.yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__kind {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

.yawc-profile-hero__drawer-rails .yawc-event-updates-rail,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__list,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__item,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__item-inner {
    max-width: 100%;
    overflow-x: hidden;
}

.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__title,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__post-title,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__post-link,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__excerpt,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__context,
.yawc-profile-hero__drawer-rails .yawc-event-updates-rail__date {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 640px) {
    .yawc-profile-hero__drawer-rails .yawc-profile-tag-chip,
    .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item,
    .yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item,
    .yawc-profile-hero__drawer-rails .yawc-profile-relation-map__item {
        max-width: 100%;
    }

    .yawc-profile-hero__drawer-rails .yawc-profile-sns-rail__items {
        gap: 8px;
    }

    .yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__link {
        grid-template-columns: minmax(0, 1fr);
    }

    .yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__kind,
    .yawc-profile-hero__drawer-rails .yawc-profile-relation-links-rail__external-icon {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* --------------------------------------------------------------------------
 * AC-Card FlagBadge Status Layer
 * ADM-0-F-ACCARD-1-H
 * -----------------------------------------------------------------------
 *
 * Responsibility:
 * - Style AC-Card FlagBadge[0] rendered in .yawc-ac-card__status-layer.
 * - Keep FlagBadge detached from Type / Name / Description hierarchy.
 * - Keep ContextEntityName hero top-right untouched.
 * - Use AC-Card scoped selectors only.
 * - No JS required.
 *
 * Notes:
 * - This block assumes public/views/ac-card.php has moved FlagBadge markup
 *   directly under .yawc-ac-card__body inside .yawc-ac-card__status-layer.
 * - This is intentionally a "temporary sticker" style, not an identity badge.
 * ----------------------------------------------------------------------- */

.yawc-ac-card__body {
    position: relative;
    overflow: visible;
}

.yawc-ac-card__status-layer {
    --yawc-ac-card-flag-accent-rgb: 98, 183, 255;

    position: absolute;
    z-index: 6;
    top: clamp(10px, 2.8vw, 18px);
    right: clamp(12px, 4vw, 24px);
    display: flex;
    width: min(58%, 300px);
    max-width: 300px;
    justify-content: flex-end;
    pointer-events: none;
    transform: none;
}

.yawc-ac-card__status-layer::before {
    content: none;
}

.yawc-ac-card__flag-badge-wrap {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    pointer-events: auto;
    transform: rotate(var(--yawc-ac-card-flag-tilt, 1.2deg));
    transform-origin: center;
}

.yawc-ac-card__flag-badge-wrap::before {
    content: "";
    position: absolute;
    inset: -8px -10px;
    z-index: -1;
    border-radius: 999px;
    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(var(--yawc-ac-card-flag-accent-rgb), 0.20),
            transparent 62%
        ),
        linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.00));
    filter: blur(10px);
    opacity: 0.76;
    pointer-events: none;
}

.yawc-ac-card__flag-badge {
    --yawc-ac-card-flag-accent: #62b7ff;
    --yawc-ac-card-flag-bg: rgba(16, 24, 46, 0.86);
    --yawc-ac-card-flag-border: rgba(98, 183, 255, 0.38);
    --yawc-ac-card-flag-glow: rgba(98, 183, 255, 0.24);

    position: relative;
    display: inline-flex;
    min-height: 32px;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    padding: 7px 11px 7px 10px;
    overflow: hidden;
    border: 1px solid var(--yawc-ac-card-flag-border);
    border-radius: 999px;
    color: rgba(245, 249, 255, 0.94);
    font-size: clamp(0.68rem, 2.6vw, 0.82rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.44);
    background:
        radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.045)),
        var(--yawc-ac-card-flag-bg);
    box-shadow:
        0 9px 24px rgba(0, 0, 0, 0.34),
        0 0 20px var(--yawc-ac-card-flag-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.yawc-ac-card__flag-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.00),
            rgba(255, 255, 255, 0.13),
            rgba(255, 255, 255, 0.00)
        );
    opacity: 0.38;
    transform: translateX(-86%);
    animation: yawc-ac-card-flag-badge-sheen 6s ease-in-out infinite;
}

.yawc-ac-card__flag-badge::after {
    content: "";
    position: absolute;
    inset: 3px;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: inherit;
}

.yawc-ac-card__flag-badge-icon {
    position: relative;
    z-index: 1;
    display: inline-block;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    overflow: hidden;
    border-radius: 999px;
    color: transparent;
    font-size: 0;
    line-height: 0;
    background: var(--yawc-ac-card-flag-accent);
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.07),
        0 0 15px var(--yawc-ac-card-flag-accent);
}

.yawc-ac-card__flag-badge-label {
    position: relative;
    z-index: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Link / non-link shared behavior */
a.yawc-ac-card__flag-badge {
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

a.yawc-ac-card__flag-badge:hover {
    transform: translateY(-1px) rotate(-0.7deg);
    border-color: var(--yawc-ac-card-flag-accent);
    box-shadow:
        0 13px 28px rgba(0, 0, 0, 0.40),
        0 0 26px var(--yawc-ac-card-flag-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

/* Flag type variants */
.yawc-ac-card__flag-badge--live,
.yawc-ac-card__flag-badge--onair,
.yawc-ac-card__flag-badge--on_air {
    --yawc-ac-card-flag-accent-rgb: 255, 216, 79;
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.48);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.28);
}

.yawc-ac-card__flag-badge--release {
    --yawc-ac-card-flag-accent-rgb: 98, 255, 154;
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.46);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.24);
}

.yawc-ac-card__flag-badge--birthday {
    --yawc-ac-card-flag-accent-rgb: 255, 157, 240;
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.46);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.24);
}

.yawc-ac-card__flag-badge--event {
    --yawc-ac-card-flag-accent-rgb: 124, 247, 255;
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.44);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.24);
}

.yawc-ac-card__flag-badge--aired,
.yawc-ac-card__flag-badge--broadcast,
.yawc-ac-card__flag-badge--radio,
.yawc-ac-card__flag-badge--post,
.yawc-ac-card__flag-badge--flag {
    --yawc-ac-card-flag-accent-rgb: 98, 183, 255;
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.38);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.24);
}

/* Slot color variants
   - Slot color wins over flag type color.
   - Profile Flag Rail classes are intentionally not reused.
 */
.yawc-ac-card__status-layer[data-yawc-ac-card-flag-badge-slot-color="red"],
.yawc-ac-card__flag-badge--slot-color-red {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-red-rgb);
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.46);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.26);
}

.yawc-ac-card__status-layer[data-yawc-ac-card-flag-badge-slot-color="blue"],
.yawc-ac-card__flag-badge--slot-color-blue {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-blue-rgb);
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.44);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.25);
}

.yawc-ac-card__status-layer[data-yawc-ac-card-flag-badge-slot-color="yellow"],
.yawc-ac-card__flag-badge--slot-color-yellow {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-yellow-rgb);
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.50);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.28);
}

.yawc-ac-card__status-layer[data-yawc-ac-card-flag-badge-slot-color="green"],
.yawc-ac-card__flag-badge--slot-color-green {
    --yawc-ac-card-flag-accent-rgb: var(--yawc-flag-green-rgb);
    --yawc-ac-card-flag-accent: rgb(var(--yawc-ac-card-flag-accent-rgb));
    --yawc-ac-card-flag-border: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.46);
    --yawc-ac-card-flag-glow: rgba(var(--yawc-ac-card-flag-accent-rgb), 0.25);
}

/* Delete old status-layer light glow override. */

/* Light mode: glow now belongs to the tilted badge wrapper. */
[data-yawc-theme="light"] .yawc-ac-card__flag-badge-wrap::before {
    background:
        radial-gradient(
            circle at 30% 30%,
            rgba(var(--yawc-ac-card-flag-accent-rgb), 0.22),
            transparent 62%
        ),
        linear-gradient(145deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.00));
    opacity: 0.62;
}

/* Light mode: keep Person snapshot pulse visible. */
.yawc-ac-card[data-yawc-theme="light"].yawc-ac-card--person {
    --yawc-ac-card-snapshot-accent: #64748b;
}

/* Phase / light level variants */
.yawc-ac-card__flag-badge--phase-afterglow,
.yawc-ac-card__flag-badge--phase-recent_past,
.yawc-ac-card__flag-badge--phase-past {
    opacity: 0.86;
}

.yawc-ac-card__flag-badge--phase-upcoming,
.yawc-ac-card__flag-badge--phase-before {
    opacity: 0.94;
}

.yawc-ac-card__flag-badge--phase-active,
.yawc-ac-card__flag-badge--phase-now {
    opacity: 1;
}

.yawc-ac-card__flag-badge--light-low {
    opacity: 0.78;
}

.yawc-ac-card__flag-badge--light-high .yawc-ac-card__flag-badge-icon {
    animation: yawc-ac-card-flag-badge-pulse 2.4s ease-in-out infinite;
}

/* Context / no-context compatibility */
.yawc-ac-card:not(:has(.yawc-ac-card__hero-bg)) .yawc-ac-card__status-layer {
    top: clamp(12px, 3.2vw, 20px);
    right: clamp(12px, 4vw, 24px);
}

/*
 * Avoid letting the floating sticker visually become part of the identity row.
 * The status layer is intentionally independent from .yawc-ac-card__type,
 * .yawc-ac-card__name, and .yawc-ac-card__description.
 */
.yawc-ac-card__type,
.yawc-ac-card__name,
.yawc-ac-card__description,
.yawc-ac-card__actions {
    position: relative;
    z-index: 2;
}

/* Small screen adjustment */
@media (max-width: 480px) {
    .yawc-ac-card__status-layer {
        top: 10px;
        right: 11px;
        width: min(62%, 250px);
        max-width: 250px;
        transform: rotate(1deg);
    }

    .yawc-ac-card__flag-badge {
        min-height: 30px;
        gap: 7px;
        padding: 6px 10px 6px 9px;
        font-size: 0.68rem;
    }

    .yawc-ac-card__flag-badge-label {
        max-width: 18em;
    }
}

@media (max-width: 380px) {
    .yawc-ac-card__status-layer {
        width: min(66%, 220px);
        max-width: 220px;
    }

    .yawc-ac-card__flag-badge {
        max-width: 100%;
        font-size: 0.64rem;
    }

    .yawc-ac-card__flag-badge-label {
        max-width: 15em;
    }
}

/* Motion */
@keyframes yawc-ac-card-flag-badge-sheen {
    0%,
    62%,
    100% {
        transform: translateX(-88%);
        opacity: 0;
    }

    72% {
        opacity: 0.42;
    }

    84% {
        transform: translateX(88%);
        opacity: 0;
    }
}

@keyframes yawc-ac-card-flag-badge-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 3px rgba(255, 255, 255, 0.07),
            0 0 14px var(--yawc-ac-card-flag-accent);
    }

    50% {
        transform: scale(1.14);
        box-shadow:
            0 0 0 4px rgba(255, 255, 255, 0.10),
            0 0 22px var(--yawc-ac-card-flag-accent);
    }
}

/* =========================================================
   AC Card Unified Profile CTA
   ADM-0-F-ACCARD-2-F
   - Shared View Profile link foundation for unified A / AC Card
   - Keep .yawc-ac-card--variant-a existing overrides intact
   - Do not touch legacy .yawc-author-card classes
   - No JS required
   ========================================================= */

.yawc-ac-card__actions {
    position: relative;
    z-index: 2;
    margin: 12px 0 0;
}

.yawc-ac-card__profile-link {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    color: var(--yawc-card-link);
    font-size: 0.98rem;
    line-height: 1.35;
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 0.18em;
    overflow-wrap: anywhere;
    transition:
        color 0.18s ease,
        text-decoration-color 0.18s ease,
        transform 0.18s ease,
        opacity 0.18s ease;
}

.yawc-ac-card__profile-link:hover {
    color: var(--yawc-link-strong);
    text-decoration: underline;
    transform: translateY(-1px);
}

.yawc-ac-card__profile-link:focus-visible {
    outline: none;
    color: var(--yawc-link-strong);
    text-decoration: underline;
    border-radius: 4px;
    box-shadow:
        0 0 0 2px rgba(125, 211, 252, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

/*
 * AC variant should inherit the shared CTA foundation only.
 * Keep this intentionally light so existing context AC-Card visuals remain stable.
 */
.yawc-ac-card--variant-ac .yawc-ac-card__actions {
    margin-top: 12px;
}

/* Light theme tuning */
[data-yawc-theme="light"] .yawc-ac-card__profile-link:focus-visible {
    box-shadow:
        0 0 0 2px rgba(14, 165, 233, 0.22),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
    .yawc-ac-card__profile-link {
        transition: none;
    }

    .yawc-ac-card__profile-link:hover {
        transform: none;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .yawc-ac-card__actions {
        margin-top: 11px;
    }

    .yawc-ac-card__profile-link {
        font-size: 0.96rem;
    }
}

/* =========================================================
   AC Card Snapshot actual-use visual state
   CVS-0-R-M-4-B
   - Current formal Snapshot: pulse / glow
   - Historical formal Snapshot: no animation
   - Non-formal Snapshot: represented by "_" in View
   ========================================================= */

.yawc-ac-card__snapshot-pulse {
    --yawc-ac-card-snapshot-accent: var(--yawc-type-accent, #60a5fa);

    position: relative;
    isolation: isolate;
    overflow: visible;
    border-color: color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 48%, transparent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 18%, transparent) inset,
        0 0 12px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 25%, transparent),
        0 0 28px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 18%, transparent),
        0 8px 20px rgba(0, 0, 0, 0.16);
    animation: yawcAcCardSnapshotPulse 2.4s ease-in-out infinite;
}

.yawc-ac-card__snapshot-pulse::after {
    content: "";
    position: absolute;
    inset: -5px;
    z-index: -1;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(
            circle at 50% 50%,
            color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 28%, transparent),
            color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 12%, transparent) 46%,
            transparent 74%
        );
    opacity: 0.72;
    transform: scale(0.98);
    animation: yawcAcCardSnapshotHalo 2.4s ease-in-out infinite;
}

.yawc-ac-card__snapshot-pulse--author {
    transform-origin: center;
}

.yawc-ac-card__snapshot-pulse--context {
    transform-origin: center;
    border-color: color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 52%, transparent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 18%, transparent) inset,
        0 0 12px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 26%, transparent),
        0 0 30px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 18%, transparent),
        0 8px 20px rgba(0, 0, 0, 0.16);
}

.yawc-ac-card__snapshot-stable {
    /*
     * Historical formal Snapshot intentionally keeps the normal visual.
     * Class exists for diagnostics / future styling.
     */
}

.yawc-ac-card__snapshot-nonformal {
    /*
     * Non-formal Snapshot route is expressed by "_" in the rendered label.
     * Class exists for diagnostics / future styling.
     */
}

@keyframes yawcAcCardSnapshotPulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 16%, transparent) inset,
            0 0 10px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 20%, transparent),
            0 0 22px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 14%, transparent),
            0 8px 20px rgba(0, 0, 0, 0.14);
    }

    50% {
        transform: scale(1.025);
        box-shadow:
            0 0 0 1px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 32%, transparent) inset,
            0 0 18px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 38%, transparent),
            0 0 42px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 26%, transparent),
            0 10px 24px rgba(0, 0, 0, 0.18);
    }
}

@keyframes yawcAcCardSnapshotHalo {
    0%,
    100% {
        opacity: 0.34;
        transform: scale(0.96);
    }

    50% {
        opacity: 0.82;
        transform: scale(1.12);
    }
}

[data-yawc-theme="light"] .yawc-ac-card__snapshot-pulse {
    border-color: color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 40%, transparent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 12%, transparent) inset,
        0 0 12px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 18%, transparent),
        0 0 26px color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 12%, transparent),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

[data-yawc-theme="light"] .yawc-ac-card__snapshot-pulse::after {
    background:
        radial-gradient(
            circle at 50% 50%,
            color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 22%, transparent),
            color-mix(in srgb, var(--yawc-ac-card-snapshot-accent) 9%, transparent) 46%,
            transparent 74%
        );
}

@media (prefers-reduced-motion: reduce) {
    .yawc-ac-card__snapshot-pulse,
    .yawc-ac-card__snapshot-pulse::after {
        animation: none;
    }

    .yawc-ac-card__snapshot-pulse {
        transform: none;
    }

    .yawc-ac-card__snapshot-pulse::after {
        opacity: 0.46;
        transform: scale(1);
    }
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Light lower UI readability patch
   - Profile only
   - Light only
   - No selector deletion
   - No dark mode impact
   ========================================================= */

.yawc-profile-page[data-yawc-theme="light"] {
    color: var(--yawc-text-main);
    background:
        radial-gradient(circle at 16% 0%, rgba(109, 40, 217, 0.055), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.045), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    --yawc-filter-bg: rgba(255, 255, 255, 0.82);
    --yawc-filter-bg-hover: rgba(15, 23, 42, 0.055);
    --yawc-filter-bg-active: rgba(15, 23, 42, 0.07);

    --yawc-filter-border: rgba(15, 23, 42, 0.12);
    --yawc-filter-border-active: color-mix(in srgb, var(--yawc-type-accent, #64748b) 30%, rgba(15, 23, 42, 0.12));

    --yawc-filter-text: rgba(15, 23, 42, 0.72);
    --yawc-filter-text-strong: rgba(15, 23, 42, 0.94);
    --yawc-filter-text-soft: rgba(15, 23, 42, 0.56);

    --yawc-filter-nav-bg: rgba(15, 23, 42, 0.035);
    --yawc-filter-nav-bg-hover: rgba(15, 23, 42, 0.075);

    --yawc-filter-shadow-active:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 20px rgba(15, 23, 42, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-tabs__items {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.84) 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-tabs__item {
    color: rgba(15, 23, 42, 0.70);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-tabs__item:hover {
    background: rgba(15, 23, 42, 0.055);
    border-color: rgba(15, 23, 42, 0.10);
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-tabs__item.is-active,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-tabs__item[aria-current="page"] {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #64748b) 14%, rgba(255, 255, 255, 0.95)) 0%,
            rgba(15, 23, 42, 0.035) 100%
        );
    border-color: color-mix(in srgb, var(--yawc-type-accent, #64748b) 30%, rgba(15, 23, 42, 0.14));
    color: rgba(15, 23, 42, 0.96);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item {
    border-color: var(--yawc-filter-border);
    background: var(--yawc-filter-bg);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.045);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item:hover {
    border-color: rgba(15, 23, 42, 0.16);
    background: var(--yawc-filter-bg-hover);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item.is-active {
    border-color: var(--yawc-filter-border-active);
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #64748b) 12%, rgba(255, 255, 255, 0.94)) 0%,
            rgba(15, 23, 42, 0.035) 100%
        );
    box-shadow: var(--yawc-filter-shadow-active);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__filter-link {
    color: var(--yawc-filter-text);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__filter-link:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item.is-active .yawc-profile-filter-row__filter-link {
    color: var(--yawc-filter-text-strong);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-link {
    border-left-color: rgba(15, 23, 42, 0.10);
    background: var(--yawc-filter-nav-bg);
    color: var(--yawc-filter-text-soft);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-link:hover {
    background: var(--yawc-filter-nav-bg-hover);
    color: var(--yawc-filter-text-strong);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section {
    color: var(--yawc-text-main);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__note,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__helper {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card {
    border-color: rgba(15, 23, 42, 0.085);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    color: rgba(15, 23, 42, 0.88);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.82) inset,
        0 10px 24px rgba(15, 23, 42, 0.055);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card:hover {
    border-color: rgba(15, 23, 42, 0.14);
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.96) 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.88) inset,
        0 14px 30px rgba(15, 23, 42, 0.075);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__title a {
    color: var(--yawc-link-strong);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__title a:hover {
    color: #1d4ed8;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__meta {
    color: rgba(15, 23, 42, 0.50);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__excerpt {
    color: rgba(15, 23, 42, 0.68);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__excerpt p {
    color: inherit;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-empty {
    border-color: rgba(15, 23, 42, 0.14);
    background: rgba(255, 255, 255, 0.82);
    color: rgba(15, 23, 42, 0.62);
}

/* =========================================================
   YAWC Front Theme v1.0
   Release Light readability patch
   - Release page only
   - Light only
   - No selector deletion
   - No dark mode impact
   ========================================================= */

.yawc-release-page[data-yawc-theme="light"] {
    color: var(--yawc-text-main);
    background:
        radial-gradient(circle at 12% 0%, rgba(245, 158, 11, 0.055), transparent 34%),
        radial-gradient(circle at 88% 14%, rgba(244, 114, 182, 0.045), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);

    --yawc-release-bg: rgba(255, 255, 255, 0.90);
    --yawc-release-bg-strong: rgba(255, 255, 255, 0.96);
    --yawc-release-border: rgba(15, 23, 42, 0.10);
    --yawc-release-border-strong: rgba(15, 23, 42, 0.16);
    --yawc-release-text: rgba(15, 23, 42, 0.94);
    --yawc-release-text-soft: rgba(15, 23, 42, 0.64);
    --yawc-release-accent: #b45309;
    --yawc-release-accent-soft: rgba(245, 158, 11, 0.10);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-preview,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-comment,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-primary-post {
    border-color: var(--yawc-release-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    color: var(--yawc-release-text);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.88) inset,
        0 12px 28px rgba(15, 23, 42, 0.07);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__visual {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__body {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__eyebrow,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__kicker {
    border-color: rgba(217, 119, 6, 0.24);
    background: rgba(245, 158, 11, 0.10);
    color: rgba(120, 53, 15, 0.94);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__short-label {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.055);
    color: rgba(15, 23, 42, 0.70);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__title,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__lead,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__title,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-preview__title,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-comment__title,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__title,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts__title,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-primary-post__title {
    color: rgba(15, 23, 42, 0.96);
    text-shadow: none;
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__description,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__subcopy,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-section-heading__text,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-comment__body,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-primary-post__card {
    color: rgba(15, 23, 42, 0.66);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__chip,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-meta__item {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.72);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__chip--status {
    border-color: rgba(5, 150, 105, 0.20);
    background: rgba(5, 150, 105, 0.09);
    color: rgba(4, 120, 87, 0.94);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__chip--date,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-meta__item--release_date {
    border-color: rgba(71, 85, 105, 0.16);
    background: rgba(71, 85, 105, 0.065);
    color: rgba(30, 41, 59, 0.82);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-meta__label {
    color: rgba(15, 23, 42, 0.54);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-meta__value {
    color: rgba(15, 23, 42, 0.86);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__artist {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__artist-label {
    color: rgba(15, 23, 42, 0.58);
    opacity: 1;
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__artist-link,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-hero__artist-name {
    color: var(--yawc-link-strong);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-links__button,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-preview__button {
    border-color: rgba(217, 119, 6, 0.22);
    background: rgba(245, 158, 11, 0.10);
    color: rgba(120, 53, 15, 0.96);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-links__button:hover,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-preview__button:hover {
    border-color: rgba(217, 119, 6, 0.34);
    background: rgba(245, 158, 11, 0.15);
    color: rgba(92, 38, 6, 0.98);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-links__button--apple_music {
    border-color: rgba(219, 39, 119, 0.18);
    background: rgba(244, 114, 182, 0.10);
    color: rgba(157, 23, 77, 0.96);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-links__button--youtube,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-links__button--preview {
    border-color: rgba(220, 38, 38, 0.18);
    background: rgba(248, 113, 113, 0.10);
    color: rgba(153, 27, 27, 0.96);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-links__button--spotify {
    border-color: rgba(5, 150, 105, 0.18);
    background: rgba(52, 211, 153, 0.10);
    color: rgba(4, 120, 87, 0.96);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline {
    background:
        radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.92) 100%);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__list::before {
    background: rgba(217, 119, 6, 0.20);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__marker {
    border-color: rgba(217, 119, 6, 0.24);
    background: rgba(245, 158, 11, 0.14);
    box-shadow:
        0 0 0 4px rgba(245, 158, 11, 0.08),
        0 8px 18px rgba(15, 23, 42, 0.08);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__content {
    border-color: rgba(15, 23, 42, 0.11);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__text,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__link {
    color: rgba(15, 23, 42, 0.90);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-timeline__date {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.045);
    color: rgba(15, 23, 42, 0.58);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
    color: rgba(15, 23, 42, 0.90);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card__title {
    color: rgba(15, 23, 42, 0.90);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card__link {
    color: #0f766e;
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card__embed {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.04);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card__iframe,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-preview__embed iframe {
    background: #111827;
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__list,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts__list {
    color: rgba(15, 23, 42, 0.90);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__item,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts__card,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-primary-post__card {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.94) 100%);
    color: rgba(15, 23, 42, 0.88);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__role {
    color: rgba(180, 83, 9, 0.96);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__name,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__text,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__link-label {
    color: rgba(15, 23, 42, 0.90);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-contributors__link {
    color: var(--yawc-link-strong);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts__date {
    color: rgba(15, 23, 42, 0.54);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts__card-title,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-primary-post__card-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts__card-title a,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-primary-post__card-title a {
    color: var(--yawc-link-strong);
}

.yawc-release-page[data-yawc-theme="light"] .yawc-release-related-posts__excerpt {
    color: rgba(15, 23, 42, 0.66);
}

/* =========================================================
   YAWC Front Theme v1.0
   Release Player Card transparency patch v1.1
   - Release page only
   - Light / Dark
   - Apple Music / YouTube player only
   - iframe internal document untouched
   ========================================================= */

/* Light: Apple Music / YouTube outer player card */
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--apple_music,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--provider-apple_music,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--youtube,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--provider-youtube {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

/* Light: Apple Music / YouTube embed wrapper */
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--apple_music .yawc-release-player-card__embed,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--provider-apple_music .yawc-release-player-card__embed,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--youtube .yawc-release-player-card__embed,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--provider-youtube .yawc-release-player-card__embed {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

/* Light: iframe element itself */
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--apple_music .yawc-release-player-card__iframe,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--provider-apple_music .yawc-release-player-card__iframe,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--youtube .yawc-release-player-card__iframe,
.yawc-release-page[data-yawc-theme="light"] .yawc-release-player-card--provider-youtube .yawc-release-player-card__iframe {
    background: transparent;
    box-shadow: none;
}

/* Dark: Apple Music / YouTube outer player card */
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--apple_music,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--provider-apple_music,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--youtube,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--provider-youtube {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

/* Dark: Apple Music / YouTube embed wrapper */
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--apple_music .yawc-release-player-card__embed,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--provider-apple_music .yawc-release-player-card__embed,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--youtube .yawc-release-player-card__embed,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--provider-youtube .yawc-release-player-card__embed {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

/* Dark: iframe element itself */
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--apple_music .yawc-release-player-card__iframe,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--provider-apple_music .yawc-release-player-card__iframe,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--youtube .yawc-release-player-card__iframe,
.yawc-release-page[data-yawc-theme="dark"] .yawc-release-player-card--provider-youtube .yawc-release-player-card__iframe {
    background: transparent;
    box-shadow: none;
}

/* =========================================================
   YAWC Front Theme v1.0
   Event Light readability patch
   - Event page only
   - Light only
   - Scoped to .yawc-event-page[data-yawc-theme="light"]
   - Append-only
   ========================================================= */

.yawc-event-page[data-yawc-theme="light"] {
    --yawc-event-light-panel-bg:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%),
        var(--yawc-surface-1);
    --yawc-event-light-soft-panel-bg:
        linear-gradient(180deg, rgba(15, 23, 42, 0.030) 0%, rgba(15, 23, 42, 0.014) 100%),
        rgba(255, 255, 255, 0.78);
    --yawc-event-light-chip-bg: rgba(15, 23, 42, 0.045);
    --yawc-event-light-chip-bg-hover: rgba(15, 23, 42, 0.070);
    --yawc-event-light-event-bg: rgba(var(--yawc-flag-event-rgb), 0.090);
    --yawc-event-light-event-bg-strong: rgba(var(--yawc-flag-event-rgb), 0.130);
    --yawc-event-light-event-border: rgba(var(--yawc-flag-event-rgb), 0.180);
    --yawc-event-light-info-bg: rgba(14, 165, 233, 0.075);
    --yawc-event-light-info-bg-strong: rgba(14, 165, 233, 0.105);
    --yawc-event-light-info-border: rgba(14, 165, 233, 0.160);

    background:
        radial-gradient(circle at 18% 0%, rgba(var(--yawc-flag-event-rgb), 0.070), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(14, 165, 233, 0.050), transparent 32%),
        var(--yawc-surface-0);
    color: var(--yawc-text-main);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-page__inner {
    color: var(--yawc-text-main);
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero,
.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero--minimal {
    border-color: var(--yawc-border-soft);
    background:
        radial-gradient(circle at 18% 0%, rgba(var(--yawc-flag-event-rgb), 0.105), transparent 32%),
        radial-gradient(circle at 88% 8%, rgba(14, 165, 233, 0.070), transparent 30%),
        var(--yawc-event-light-panel-bg);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__image-wrap {
    background: rgba(15, 23, 42, 0.035);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__avatar-wrap {
    border-color: var(--yawc-border-soft);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__eyebrow {
    border-color: var(--yawc-event-light-event-border);
    background: var(--yawc-event-light-event-bg);
    color: rgba(6, 78, 59, 0.92);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__title,
.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__lead {
    color: var(--yawc-text-main);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__description,
.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__subcopy {
    color: var(--yawc-text-sub);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__short-label {
    border-color: var(--yawc-event-light-info-border);
    background: var(--yawc-event-light-info-bg);
    color: rgba(12, 74, 110, 0.90);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__stat {
    border-color: var(--yawc-border-soft);
    background: var(--yawc-event-light-chip-bg);
    color: var(--yawc-text-soft);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-hero__copy {
    border-top-color: var(--yawc-border-soft);
}

/* ---------------------------------------------------------
   Updates section
   --------------------------------------------------------- */

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-section {
    border-color: var(--yawc-border-soft);
    background: var(--yawc-event-light-panel-bg);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-section__eyebrow {
    border-color: var(--yawc-event-light-event-border);
    background: var(--yawc-event-light-event-bg);
    color: rgba(6, 78, 59, 0.90);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-section__title {
    color: var(--yawc-text-main);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-section__helper,
.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-section__filter-note {
    color: var(--yawc-text-soft);
}

/* ---------------------------------------------------------
   Organizer rail
   --------------------------------------------------------- */

.yawc-event-page[data-yawc-theme="light"] .yawc-event-organizer-rail__chip {
    border-color: var(--yawc-event-light-info-border);
    background: var(--yawc-event-light-info-bg);
    color: rgba(12, 74, 110, 0.88);
}

.yawc-event-page[data-yawc-theme="light"] a.yawc-event-organizer-rail__chip:hover {
    border-color: rgba(14, 165, 233, 0.220);
    background: var(--yawc-event-light-info-bg-strong);
    color: var(--yawc-text-main);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.070);
}

/* ---------------------------------------------------------
   Sort rail
   --------------------------------------------------------- */

.yawc-event-page[data-yawc-theme="light"] .yawc-event-sort-rail__items {
    border-color: var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.032) 0%, rgba(15, 23, 42, 0.016) 100%),
        rgba(255, 255, 255, 0.72);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-sort-rail__item {
    color: var(--yawc-text-sub);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-sort-rail__item:hover {
    border-color: var(--yawc-border-soft);
    background: var(--yawc-event-light-chip-bg-hover);
    color: var(--yawc-text-main);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.060);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-sort-rail__item.is-active,
.yawc-event-page[data-yawc-theme="light"] .yawc-event-sort-rail__item[aria-current="page"] {
    border-color: var(--yawc-event-light-event-border);
    background:
        linear-gradient(180deg, var(--yawc-event-light-event-bg-strong) 0%, rgba(15, 23, 42, 0.040) 100%);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.080);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-sort-rail__item:focus-visible {
    box-shadow:
        0 0 0 2px rgba(14, 165, 233, 0.220),
        0 8px 18px rgba(15, 23, 42, 0.080);
}

/* ---------------------------------------------------------
   Timeline cards
   --------------------------------------------------------- */

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card {
    border-color: var(--yawc-border-soft);
    background: var(--yawc-event-light-soft-panel-bg);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.620) inset,
        0 10px 24px rgba(15, 23, 42, 0.050);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__title,
.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__link {
    color: var(--yawc-text-main);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__link:hover {
    color: var(--yawc-link-strong);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__excerpt {
    color: var(--yawc-text-sub);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__chip--credit-code {
    border-color: var(--yawc-event-light-event-border);
    background: var(--yawc-event-light-event-bg);
    color: rgba(6, 78, 59, 0.90);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__chip--organizer {
    border-color: var(--yawc-event-light-info-border);
    background: var(--yawc-event-light-info-bg);
    color: rgba(12, 74, 110, 0.88);
}

.yawc-event-page[data-yawc-theme="light"] a.yawc-event-timeline-card__chip--organizer:hover {
    background: var(--yawc-event-light-info-bg-strong);
    color: var(--yawc-text-main);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__meta {
    color: var(--yawc-text-soft);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__date {
    border-color: var(--yawc-border-soft);
    background: var(--yawc-event-light-chip-bg);
    color: var(--yawc-text-soft);
}

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-card__date-kind {
    border-color: var(--yawc-event-light-event-border);
    background: var(--yawc-event-light-event-bg);
    color: rgba(6, 78, 59, 0.82);
}

/* ---------------------------------------------------------
   Empty state
   --------------------------------------------------------- */

.yawc-event-page[data-yawc-theme="light"] .yawc-event-timeline-empty {
    border-color: var(--yawc-border-dashed);
    background: rgba(255, 255, 255, 0.64);
    color: var(--yawc-text-soft);
}

/* =========================================================
   YAWC Front Theme v1.0
   SuperHero Light readability patch
   - SuperHero root-scoped only
   - CSS only / append-only
   - No impact on Dark / Profile / Event / Release / AC-Card
   ========================================================= */

.yawc-super-hero-page[data-yawc-theme="light"] {
    min-height: 100%;
    color: var(--yawc-text-main);
    background:
        radial-gradient(circle at 16% 0%, rgba(14, 165, 233, 0.055), transparent 34%),
        radial-gradient(circle at 92% 4%, rgba(109, 40, 217, 0.045), transparent 32%),
        linear-gradient(180deg, var(--yawc-surface-2) 0%, var(--yawc-surface-0) 42%, var(--yawc-surface-2) 100%);
}

/* ---------------------------------------------------------
   Hero / shell
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__notice {
    border-color: var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.82) 100%),
        var(--yawc-surface-elevated);
    color: var(--yawc-text-main);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72) inset,
        var(--yawc-shadow-soft);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__title,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-title,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card-title {
    color: var(--yawc-text-main);
    text-shadow: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__description,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card-note {
    color: var(--yawc-text-soft);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__eyebrow,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__meta-item {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.065);
    color: rgba(8, 47, 73, 0.86);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__meta-item strong {
    color: var(--yawc-text-main);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card-count {
    border-color: var(--yawc-border-soft);
    background: rgba(15, 23, 42, 0.045);
    color: var(--yawc-text-sub);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card-note {
    border-color: var(--yawc-border-dashed);
    background: rgba(15, 23, 42, 0.025);
}

/* Hero image mode keeps readable white text over visual background. */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image {
    background:
        radial-gradient(circle at 18% 0%, rgba(14, 165, 233, 0.10), transparent 34%),
        radial-gradient(circle at 88% 4%, rgba(109, 40, 217, 0.08), transparent 30%),
        var(--yawc-surface-elevated);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__description,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__description {
    color: rgba(255, 255, 255, 0.88);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__active-context {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(14, 165, 233, 0.08);
    color: rgba(8, 47, 73, 0.88);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__active-context,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__active-context {
    background: rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.94);
}

/* ---------------------------------------------------------
   Drawer
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.08) 0%, rgba(15, 23, 42, 0.035) 100%);
    color: var(--yawc-text-sub);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle:hover,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle[aria-expanded="true"] {
    border-color: rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.12) 0%, rgba(15, 23, 42, 0.045) 100%);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-inner {
    border-color: rgba(14, 165, 233, 0.16);
    background:
        radial-gradient(circle at 14% 0%, rgba(14, 165, 233, 0.08), transparent 34%),
        radial-gradient(circle at 88% 10%, rgba(109, 40, 217, 0.055), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.92) 100%);
    color: var(--yawc-text-main);
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item {
    border-color: var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.030) 0%, rgba(15, 23, 42, 0.014) 100%);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-label,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-link {
    color: var(--yawc-link-strong);
}

/* ---------------------------------------------------------
   Primary Tabs / Filters
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__primary-tabs-inner,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-rail {
    border-color: var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.78) 100%),
        var(--yawc-surface-elevated);
    box-shadow: var(--yawc-shadow-soft);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button {
    color: var(--yawc-text-sub);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab:hover,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button:hover {
    border-color: var(--yawc-border-soft);
    background: rgba(15, 23, 42, 0.055);
    color: var(--yawc-text-main);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab.is-active,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab[aria-current="page"],
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button.is-active,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button[aria-pressed="true"] {
    border-color: rgba(14, 165, 233, 0.20);
    background:
        linear-gradient(180deg, rgba(14, 165, 233, 0.10) 0%, rgba(15, 23, 42, 0.04) 100%);
    color: var(--yawc-text-main);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.025) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__primary-tab-count,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-count {
    border-color: var(--yawc-border-soft);
    background: rgba(15, 23, 42, 0.045);
    color: var(--yawc-text-soft);
}

/* ---------------------------------------------------------
   Posts / Timeline / Members
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__timeline-link,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__timeline-entry,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__timeline-card,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-item,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-link {
    border-color: var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.76) 100%);
    color: var(--yawc-text-main);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.62) inset,
        0 10px 24px rgba(15, 23, 42, 0.06);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__timeline-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-excerpt,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-description {
    color: var(--yawc-text-soft);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-title,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-title a,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-title {
    color: var(--yawc-text-main);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__timeline-type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__timeline-date,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__timeline-time,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-entity,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-date,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-credit-code,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-type {
    border-color: var(--yawc-border-soft);
    background: rgba(15, 23, 42, 0.045);
    color: var(--yawc-text-soft);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-context,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-credit-context,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-cta,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-cta {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.065);
    color: rgba(8, 47, 73, 0.86);
}

/* ---------------------------------------------------------
   Events / Releases
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-item,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-item {
    border-color: var(--yawc-border-soft);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.76) 100%);
    color: var(--yawc-text-main);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.62) inset,
        0 10px 24px rgba(15, 23, 42, 0.06);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-title,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-title a,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-title,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-title a {
    color: var(--yawc-text-main);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-description,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-entity-label {
    color: var(--yawc-text-soft);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-count,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-organizer,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-entity,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-link {
    border-color: var(--yawc-border-soft);
    background: rgba(15, 23, 42, 0.045);
    color: var(--yawc-text-soft);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-label,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-cta {
    border-color: rgba(5, 150, 105, 0.16);
    background: rgba(5, 150, 105, 0.075);
    color: rgba(6, 78, 59, 0.88);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-date,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-date {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(14, 165, 233, 0.065);
    color: rgba(8, 47, 73, 0.86);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-label,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-cta {
    border-color: rgba(217, 119, 6, 0.16);
    background: rgba(217, 119, 6, 0.075);
    color: rgba(120, 53, 15, 0.90);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-cta:hover,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-cta:hover,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-cta:hover,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-cta:hover {
    border-color: var(--yawc-border-medium);
    background: rgba(15, 23, 42, 0.065);
    color: var(--yawc-text-main);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

/* =========================================================
   YAWC Front Theme v1.0
   SuperHero HeroCard Light polish
   - SuperHero page only
   - Light only
   - HeroCard / image veil / badge / drawer control polish
   - Safe append only
   ========================================================= */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero {
    color: rgba(15, 23, 42, 0.94);
}

/* Image Hero shell */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image {
    border-color: rgba(14, 165, 233, 0.14);
    background:
        radial-gradient(circle at 18% 0%, rgba(14, 165, 233, 0.10), transparent 34%),
        radial-gradient(circle at 88% 4%, rgba(109, 40, 217, 0.07), transparent 30%),
        rgba(255, 255, 255, 0.78);
    box-shadow:
        0 18px 44px rgba(15, 23, 42, 0.13),
        0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__hero-image,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__hero-image {
    opacity: 0.98;
    filter: saturate(1.04) brightness(1.04);
}

/* Light image veil.
   Keep image visible, but make the lower text area calmer. */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image::before,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image::before {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08) 0%,
            rgba(255, 255, 255, 0.18) 34%,
            rgba(248, 250, 252, 0.70) 100%
        ),
        radial-gradient(
            circle at 18% 8%,
            rgba(14, 165, 233, 0.12),
            transparent 38%
        );
}

/* Text readability on image */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__title,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__title {
    color: rgba(15, 23, 42, 0.96);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 26px rgba(255, 255, 255, 0.52);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__description,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__description {
    color: rgba(15, 23, 42, 0.78);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.62),
        0 8px 20px rgba(255, 255, 255, 0.46);
}

/* Eyebrow / Active context badge */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__eyebrow,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__eyebrow,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.has-hero-image .yawc-super-hero-page__active-context,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.yawc-super-hero-page__hero--has-image .yawc-super-hero-page__active-context {
    border-color: rgba(14, 165, 233, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.62) 100%);
    color: rgba(15, 23, 42, 0.82);
    text-shadow: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.66) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

/* Show timeline button */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.58) 100%);
    color: rgba(15, 23, 42, 0.78);
    text-shadow: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle:hover,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-toggle[aria-expanded="true"] {
    border-color: rgba(14, 165, 233, 0.26);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.72) 0%, rgba(255, 255, 255, 0.68) 100%);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 10px 22px rgba(15, 23, 42, 0.11);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-count {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.055);
    color: rgba(15, 23, 42, 0.58);
}

/* Drawer open polish */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-description,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-empty {
    color: rgba(15, 23, 42, 0.68);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-time,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-type {
    color: rgba(15, 23, 42, 0.54);
}

/* =========================================================
   YAWC Front Theme v1.0
   SuperHero Hero Drawer Light polish
   - SuperHero page only
   - Light only
   - Drawer open body / items / meta / CTA polish
   - Safe append only
   ========================================================= */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero.is-super-hero-drawer-open::after {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.20) 0%,
            rgba(248, 250, 252, 0.14) 46%,
            rgba(15, 23, 42, 0.04) 100%
        );
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-body {
    color: rgba(15, 23, 42, 0.92);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-inner {
    border-color: rgba(14, 165, 233, 0.16);
    background:
        radial-gradient(circle at 14% 0%, rgba(14, 165, 233, 0.10), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(236, 72, 153, 0.055), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.14),
        0 0 0 1px rgba(255, 255, 255, 0.78) inset;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-header {
    border-color: rgba(15, 23, 42, 0.07);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-title {
    color: rgba(15, 23, 42, 0.95);
    text-shadow: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-description {
    color: rgba(15, 23, 42, 0.62);
    text-shadow: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-items {
    scrollbar-color: rgba(14, 165, 233, 0.28) transparent;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item {
    border-color: rgba(15, 23, 42, 0.075);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(248, 250, 252, 0.62) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 8px 18px rgba(15, 23, 42, 0.055);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-meta {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-icon {
    color: rgba(14, 165, 233, 0.82);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-label {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(224, 242, 254, 0.62);
    color: rgba(8, 47, 73, 0.88);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-time {
    border-color: rgba(15, 23, 42, 0.07);
    background: rgba(15, 23, 42, 0.035);
    color: rgba(15, 23, 42, 0.52);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-text {
    color: rgba(15, 23, 42, 0.76);
    text-shadow: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-link {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.78) 0%, rgba(255, 255, 255, 0.66) 100%);
    color: rgba(8, 47, 73, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(14, 165, 233, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-link:hover {
    border-color: rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(180deg, rgba(186, 230, 253, 0.82) 0%, rgba(255, 255, 255, 0.72) 100%);
    color: rgba(12, 74, 110, 0.96);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-empty {
    border-color: rgba(15, 23, 42, 0.07);
    background: rgba(255, 255, 255, 0.58);
    color: rgba(15, 23, 42, 0.58);
}

/* =========================================================
   YAWC Front Theme v1.0
   SuperHero Members Card Light polish
   - SuperHero page only
   - Light only
   - Members / Entity Card polish
   - Safe append only
   ========================================================= */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--members {
    border-color: rgba(14, 165, 233, 0.12);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.055), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--members .yawc-super-hero-page__section-card-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--members .yawc-super-hero-page__section-card-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--members .yawc-super-hero-page__section-card-note {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--members .yawc-super-hero-page__section-card-count {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.58);
}

/* Members grid */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-access {
    gap: 12px;
}

/* Entity member card */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-link {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 20%, rgba(15, 23, 42, 0.08));
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 10%, transparent), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.70) 100%);
    color: rgba(15, 23, 42, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 10px 22px rgba(15, 23, 42, 0.065);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] a.yawc-super-hero-page__entity-link:hover {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 32%, rgba(14, 165, 233, 0.16));
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 13%, transparent), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 249, 255, 0.76) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 12px 26px rgba(15, 23, 42, 0.085);
    text-decoration: none;
}

/* Avatar / icon */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-media {
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.10));
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-avatar {
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.80);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.06),
        0 8px 18px rgba(15, 23, 42, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-icon {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 24%, rgba(15, 23, 42, 0.08));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.60) 100%);
    color: rgba(15, 23, 42, 0.72);
}

/* Text */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-type {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.56);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-description {
    color: rgba(15, 23, 42, 0.62);
}

/* Latest flag badge */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-flag,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card .yawc-profile-flag-item {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.72) 0%, rgba(255, 255, 255, 0.64) 100%);
    color: rgba(8, 47, 73, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.66) inset,
        0 7px 16px rgba(14, 165, 233, 0.10);
}

/* CTA */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-cta {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.76) 0%, rgba(255, 255, 255, 0.64) 100%);
    color: rgba(8, 47, 73, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(14, 165, 233, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] a.yawc-super-hero-page__entity-link:hover .yawc-super-hero-page__entity-cta {
    border-color: rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(180deg, rgba(186, 230, 253, 0.82) 0%, rgba(255, 255, 255, 0.72) 100%);
    color: rgba(12, 74, 110, 0.96);
}

/* =========================================================
   YAWC Front Theme v1.0
   SuperHero Posts Card Light polish
   - SuperHero page only
   - Light only
   - Posts section / FilterRail / Post item polish
   - Safe append only
   ========================================================= */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--posts {
    border-color: rgba(14, 165, 233, 0.12);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.055), transparent 34%),
        radial-gradient(circle at 92% 8%, rgba(236, 72, 153, 0.035), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--posts .yawc-super-hero-page__section-card-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--posts .yawc-super-hero-page__section-card-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--posts .yawc-super-hero-page__section-card-note {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--posts .yawc-super-hero-page__section-card-count {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.58);
}

/* Posts FilterRail */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-rail--posts {
    border-color: rgba(15, 23, 42, 0.075);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.64) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 10px 22px rgba(15, 23, 42, 0.055);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--posts {
    border-color: transparent;
    background: transparent;
    color: rgba(15, 23, 42, 0.68);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--posts:hover {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(224, 242, 254, 0.42);
    color: rgba(15, 23, 42, 0.92);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--posts.is-active {
    border-color: rgba(14, 165, 233, 0.22);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.86) 0%, rgba(255, 255, 255, 0.68) 100%);
    color: rgba(8, 47, 73, 0.92);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.68) inset,
        0 8px 18px rgba(14, 165, 233, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--posts .yawc-super-hero-page__filter-count {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.56);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--posts.is-active .yawc-super-hero-page__filter-count {
    border-color: rgba(20, 184, 166, 0.18);
    background: rgba(20, 184, 166, 0.10);
    color: rgba(17, 94, 89, 0.88);
}

/* Post item */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-item {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 18%, rgba(15, 23, 42, 0.08));
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 8%, transparent), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 250, 252, 0.70) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 10px 22px rgba(15, 23, 42, 0.065);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-main {
    color: rgba(15, 23, 42, 0.82);
}

/* Post meta chips */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-meta {
    color: rgba(15, 23, 42, 0.58);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-entity,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-date,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-records-badge {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.58);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-entity {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 20%, rgba(15, 23, 42, 0.08));
    background: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 8%, rgba(255, 255, 255, 0.62));
    color: rgba(15, 23, 42, 0.74);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] a.yawc-super-hero-page__post-entity:hover {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 30%, rgba(14, 165, 233, 0.14));
    background: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 12%, rgba(255, 255, 255, 0.76));
    color: rgba(15, 23, 42, 0.92);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-entity-icon {
    color: rgba(14, 165, 233, 0.82);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-records-badge {
    border-color: rgba(20, 184, 166, 0.18);
    background: rgba(20, 184, 166, 0.09);
    color: rgba(17, 94, 89, 0.86);
}

/* Title / excerpt */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-title a {
    color: rgba(15, 23, 42, 0.94);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-title a:hover {
    color: rgba(12, 74, 110, 0.96);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-excerpt {
    color: rgba(15, 23, 42, 0.62);
}

/* Context chips */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-contexts {
    color: rgba(15, 23, 42, 0.58);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-context,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-credit-context,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-credit-code {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(224, 242, 254, 0.48);
    color: rgba(8, 47, 73, 0.84);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] a.yawc-super-hero-page__post-context:hover,
.yawc-super-hero-page[data-yawc-theme="light"] a.yawc-super-hero-page__post-credit-context:hover {
    border-color: rgba(14, 165, 233, 0.24);
    background: rgba(186, 230, 253, 0.66);
    color: rgba(12, 74, 110, 0.96);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-credit-code {
    border-color: rgba(251, 146, 60, 0.16);
    background: rgba(255, 237, 213, 0.58);
    color: rgba(154, 52, 18, 0.82);
}

/* CTA */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-cta {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.76) 0%, rgba(255, 255, 255, 0.64) 100%);
    color: rgba(8, 47, 73, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(14, 165, 233, 0.10);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__post-cta:hover {
    border-color: rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(180deg, rgba(186, 230, 253, 0.82) 0%, rgba(255, 255, 255, 0.72) 100%);
    color: rgba(12, 74, 110, 0.96);
    text-decoration: none;
}

/* =========================================================
   YAWC Front Theme v1.0
   SuperHero Events & Releases Card Light polish
   - SuperHero page only
   - Light only
   - Events / Releases section + cards
   - Safe append only
   ========================================================= */

/* ---------------------------------------------------------
   Shared section polish: Events / Releases
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--events,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--releases {
    border-color: rgba(14, 165, 233, 0.12);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.050), transparent 34%),
        radial-gradient(circle at 90% 6%, rgba(251, 191, 36, 0.050), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--events .yawc-super-hero-page__section-card-title,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--releases .yawc-super-hero-page__section-card-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--events .yawc-super-hero-page__section-card-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--events .yawc-super-hero-page__section-card-note,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--releases .yawc-super-hero-page__section-card-text,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--releases .yawc-super-hero-page__section-card-note {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--events .yawc-super-hero-page__section-card-count,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__section-card--releases .yawc-super-hero-page__section-card-count {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.58);
}

/* ---------------------------------------------------------
   Shared FilterRail polish: Events / Releases
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-rail--events,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-rail--releases {
    border-color: rgba(15, 23, 42, 0.075);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.64) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 10px 22px rgba(15, 23, 42, 0.055);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--events,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--releases {
    border-color: transparent;
    background: transparent;
    color: rgba(15, 23, 42, 0.68);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--events:hover,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--releases:hover {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(224, 242, 254, 0.42);
    color: rgba(15, 23, 42, 0.92);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--events.is-active {
    border-color: rgba(20, 184, 166, 0.22);
    background:
        linear-gradient(180deg, rgba(204, 251, 241, 0.78) 0%, rgba(255, 255, 255, 0.68) 100%);
    color: rgba(17, 94, 89, 0.92);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.68) inset,
        0 8px 18px rgba(20, 184, 166, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--releases.is-active {
    border-color: rgba(245, 158, 11, 0.24);
    background:
        linear-gradient(180deg, rgba(254, 243, 199, 0.82) 0%, rgba(255, 255, 255, 0.68) 100%);
    color: rgba(146, 64, 14, 0.92);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.68) inset,
        0 8px 18px rgba(245, 158, 11, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--events .yawc-super-hero-page__filter-count,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__filter-button--releases .yawc-super-hero-page__filter-count {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.56);
}

/* ---------------------------------------------------------
   Events card polish
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-item {
    border-color: rgba(20, 184, 166, 0.18);
    background:
        radial-gradient(circle at 0% 0%, rgba(20, 184, 166, 0.070), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 250, 252, 0.70) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 10px 22px rgba(15, 23, 42, 0.065);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-main {
    color: rgba(15, 23, 42, 0.82);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-meta {
    color: rgba(15, 23, 42, 0.58);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-label,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-count,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-date,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-credit-code,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-organizer {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.58);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-label {
    border-color: rgba(14, 165, 233, 0.18);
    background: rgba(224, 242, 254, 0.58);
    color: rgba(8, 47, 73, 0.84);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-count {
    border-color: rgba(20, 184, 166, 0.18);
    background: rgba(204, 251, 241, 0.54);
    color: rgba(17, 94, 89, 0.86);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-date {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(224, 242, 254, 0.46);
    color: rgba(12, 74, 110, 0.80);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-title a {
    color: rgba(15, 23, 42, 0.94);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-title a:hover {
    color: rgba(12, 74, 110, 0.96);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-credit-code {
    border-color: rgba(251, 146, 60, 0.16);
    background: rgba(255, 237, 213, 0.58);
    color: rgba(154, 52, 18, 0.82);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-organizer {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(224, 242, 254, 0.42);
    color: rgba(8, 47, 73, 0.78);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] a.yawc-super-hero-page__event-organizer:hover {
    border-color: rgba(14, 165, 233, 0.24);
    background: rgba(186, 230, 253, 0.66);
    color: rgba(12, 74, 110, 0.96);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-organizer-count {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.05);
    color: rgba(15, 23, 42, 0.56);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-cta {
    border-color: rgba(20, 184, 166, 0.20);
    background:
        linear-gradient(180deg, rgba(204, 251, 241, 0.74) 0%, rgba(255, 255, 255, 0.64) 100%);
    color: rgba(17, 94, 89, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(20, 184, 166, 0.10);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__event-cta:hover {
    border-color: rgba(20, 184, 166, 0.30);
    background:
        linear-gradient(180deg, rgba(153, 246, 228, 0.82) 0%, rgba(255, 255, 255, 0.72) 100%);
    color: rgba(15, 118, 110, 0.96);
    text-decoration: none;
}

/* ---------------------------------------------------------
   Releases card polish
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-item {
    border-color: rgba(245, 158, 11, 0.18);
    background:
        radial-gradient(circle at 0% 0%, rgba(245, 158, 11, 0.075), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 250, 252, 0.70) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 10px 22px rgba(15, 23, 42, 0.065);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-jacket {
    border-color: rgba(245, 158, 11, 0.16);
    box-shadow:
        0 10px 22px rgba(15, 23, 42, 0.10),
        0 0 0 1px rgba(255, 255, 255, 0.56) inset;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-main {
    color: rgba(15, 23, 42, 0.82);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-meta {
    color: rgba(15, 23, 42, 0.58);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-label,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-status,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-date,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-entity,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-link {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.58);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-label {
    border-color: rgba(245, 158, 11, 0.22);
    background: rgba(254, 243, 199, 0.64);
    color: rgba(146, 64, 14, 0.88);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-status,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-date {
    border-color: rgba(245, 158, 11, 0.14);
    background: rgba(254, 243, 199, 0.44);
    color: rgba(120, 53, 15, 0.74);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-title a {
    color: rgba(15, 23, 42, 0.94);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-title a:hover {
    color: rgba(146, 64, 14, 0.96);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-description {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-entity {
    border-color: rgba(14, 165, 233, 0.13);
    background: rgba(224, 242, 254, 0.38);
    color: rgba(8, 47, 73, 0.74);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-entity-label {
    color: rgba(15, 23, 42, 0.50);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-entity-link,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-entity-name {
    color: rgba(8, 47, 73, 0.88);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-primary-post {
    border-color: rgba(14, 165, 233, 0.12);
    background: rgba(224, 242, 254, 0.34);
    color: rgba(15, 23, 42, 0.62);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-primary-post-label {
    color: rgba(15, 23, 42, 0.52);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-primary-post-link {
    color: rgba(12, 74, 110, 0.90);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-link {
    border-color: rgba(245, 158, 11, 0.16);
    background: rgba(254, 243, 199, 0.48);
    color: rgba(146, 64, 14, 0.84);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-link:hover {
    border-color: rgba(245, 158, 11, 0.26);
    background: rgba(253, 230, 138, 0.66);
    color: rgba(120, 53, 15, 0.96);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-cta {
    border-color: rgba(245, 158, 11, 0.22);
    background:
        linear-gradient(180deg, rgba(254, 243, 199, 0.78) 0%, rgba(255, 255, 255, 0.64) 100%);
    color: rgba(146, 64, 14, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(245, 158, 11, 0.10);
    text-decoration: none;
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__release-cta:hover {
    border-color: rgba(245, 158, 11, 0.32);
    background:
        linear-gradient(180deg, rgba(253, 230, 138, 0.84) 0%, rgba(255, 255, 255, 0.72) 100%);
    color: rgba(120, 53, 15, 0.96);
    text-decoration: none;
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Hero Drawer Light polish
   - Profile / HERO page only
   - Light only
   - Drawer toggle / drawer body / rails / chips / links
   - Safe append only
   ========================================================= */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-toggle {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 22%, rgba(15, 23, 42, 0.10));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 7%, rgba(255, 255, 255, 0.82)) 0%,
            rgba(248, 250, 252, 0.70) 100%
        );
    color: rgba(15, 23, 42, 0.74);
    text-shadow: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-toggle:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-toggle[aria-expanded="true"] {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 34%, rgba(15, 23, 42, 0.14));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 11%, rgba(255, 255, 255, 0.90)) 0%,
            rgba(248, 250, 252, 0.78) 100%
        );
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.76) inset,
        0 10px 22px rgba(15, 23, 42, 0.11);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-toggle:focus-visible {
    box-shadow:
        0 0 0 2px rgba(14, 165, 233, 0.24),
        0 10px 22px rgba(15, 23, 42, 0.11);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-inner {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 20%, rgba(15, 23, 42, 0.10));
    background:
        radial-gradient(
            circle at 14% 0%,
            color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 8%, transparent),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 10%,
            rgba(14, 165, 233, 0.055),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(248, 250, 252, 0.94) 100%
        );
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        0 22px 54px rgba(15, 23, 42, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.76) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-inner::before {
    background:
        linear-gradient(
            90deg,
            transparent,
            color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 30%, rgba(14, 165, 233, 0.22)),
            transparent
        );
    opacity: 0.72;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails {
    color: rgba(15, 23, 42, 0.82);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-record-section__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-event-series-section__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-structure-section__title {
    color: rgba(15, 23, 42, 0.92);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__entry,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-tag-chip,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-relation-map__item--chip,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-relation-map__item--member,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-sns-item {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.72) 0%,
            rgba(248, 250, 252, 0.54) 100%
        );
    color: rgba(15, 23, 42, 0.74);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.56) inset,
        0 8px 18px rgba(15, 23, 42, 0.055);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__entry:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-relation-map__item--chip:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-relation-map__item--member:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-sns-item:hover {
    border-color: color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 28%, rgba(15, 23, 42, 0.12));
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--yawc-type-accent, #0ea5e9) 7%, rgba(255, 255, 255, 0.82)) 0%,
            rgba(248, 250, 252, 0.64) 100%
        );
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.66) inset,
        0 10px 22px rgba(15, 23, 42, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__source {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(14, 165, 233, 0.08);
    color: rgba(8, 47, 73, 0.88);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__text,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item__label,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-relation-map__label {
    color: rgba(15, 23, 42, 0.82);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-timeline-rail__date,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-member-rail-item__scope {
    color: rgba(15, 23, 42, 0.54);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails a {
    color: var(--yawc-link-main);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails a:hover {
    color: var(--yawc-link-strong);
}

.yawc-profile-page[data-yawc-theme="light"].is-yawc-hero-drawer-open .yawc-profile-tabs,
.yawc-profile-page[data-yawc-theme="light"].is-yawc-hero-drawer-open .yawc-profile-tabs ~ * {
    opacity: 0.42;
    filter: blur(0.35px) saturate(0.86);
}

.yawc-profile-page[data-yawc-theme="light"].is-yawc-hero-drawer-open .yawc-profile-hero.is-drawer-open::after {
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(248, 250, 252, 0.16) 48%,
            rgba(15, 23, 42, 0.035) 100%
        );
}

@media (max-width: 640px) {
    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-inner {
        box-shadow:
            0 18px 42px rgba(15, 23, 42, 0.14),
            0 0 0 1px rgba(255, 255, 255, 0.76) inset;
    }

    .yawc-profile-page[data-yawc-theme="light"].is-yawc-hero-drawer-open .yawc-profile-tabs,
    .yawc-profile-page[data-yawc-theme="light"].is-yawc-hero-drawer-open .yawc-profile-tabs ~ * {
        opacity: 0.38;
    }
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Hero Drawer CreditBadge Light color restore
   - Profile / HERO drawer only
   - Light only
   - Preserve per-event --yawc-main-color badges
   ========================================================= */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-event,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-credit_record,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-parser_event {
    border-color: rgba(5, 150, 105, 0.22);
    background:
        linear-gradient(
            135deg,
            rgba(5, 150, 105, 0.12),
            rgba(14, 165, 233, 0.065)
        ),
        rgba(255, 255, 255, 0.58);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.68),
        0 8px 18px rgba(5, 150, 105, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-event:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-credit_record:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-parser_event:hover {
    border-color: rgba(5, 150, 105, 0.34);
    background:
        linear-gradient(
            135deg,
            rgba(5, 150, 105, 0.16),
            rgba(14, 165, 233, 0.09)
        ),
        rgba(255, 255, 255, 0.68);
    color: rgba(15, 23, 42, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px rgba(5, 150, 105, 0.11);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-release,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-parser_release {
    border-color: rgba(217, 119, 6, 0.26);
    background:
        linear-gradient(
            135deg,
            rgba(245, 158, 11, 0.16),
            rgba(236, 72, 153, 0.09)
        ),
        rgba(255, 255, 255, 0.58);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.68),
        0 8px 18px rgba(217, 119, 6, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-release:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.is-source-parser_release:hover {
    border-color: rgba(217, 119, 6, 0.38);
    background:
        linear-gradient(
            135deg,
            rgba(245, 158, 11, 0.21),
            rgba(236, 72, 153, 0.13)
        ),
        rgba(255, 255, 255, 0.68);
    color: rgba(15, 23, 42, 0.96);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 10px 22px rgba(217, 119, 6, 0.11);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.has-main-color,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item[style*="--yawc-main-color"] {
    border-color: color-mix(in srgb, var(--yawc-main-color) 44%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 18%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 8%, transparent)
        ),
        rgba(255, 255, 255, 0.60);
    color: rgba(15, 23, 42, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.72),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 10%, transparent);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.has-main-color:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item[style*="--yawc-main-color"]:hover {
    border-color: color-mix(in srgb, var(--yawc-main-color) 60%, transparent);
    background:
        linear-gradient(
            135deg,
            color-mix(in srgb, var(--yawc-main-color) 24%, transparent),
            color-mix(in srgb, var(--yawc-main-color) 11%, transparent)
        ),
        rgba(255, 255, 255, 0.70);
    color: rgba(15, 23, 42, 0.98);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.76),
        0 10px 22px color-mix(in srgb, var(--yawc-main-color) 14%, transparent);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.has-main-color:focus-visible,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item[style*="--yawc-main-color"]:focus-visible {
    box-shadow:
        0 0 0 2px color-mix(in srgb, var(--yawc-main-color) 30%, transparent),
        0 8px 18px color-mix(in srgb, var(--yawc-main-color) 12%, transparent);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item.has-main-color .yawc-profile-credit-badge-item__icon,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero__drawer-rails .yawc-profile-credit-badge-item[style*="--yawc-main-color"] .yawc-profile-credit-badge-item__icon {
    filter:
        drop-shadow(0 1px 2px color-mix(in srgb, var(--yawc-main-color) 24%, transparent))
        saturate(1.04);
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Members Card Light SuperHero-like polish
   - Profile page only
   - Light only
   - Structure section remains
   - Variant member list outer frames are flattened
   - Entity Member link face follows SuperHero Members look
   - Safe append only
   ========================================================= */

/* Section shell: keep Members section, but align with SuperHero light surface */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section {
    border-color: rgba(14, 165, 233, 0.12);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.055), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section__header {
    border-bottom-color: rgba(15, 23, 42, 0.06);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section__title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section__title::before {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.035);
    color: rgba(15, 23, 42, 0.52);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section__helper {
    color: rgba(15, 23, 42, 0.62);
}

/* Flatten Profile Members outer list/card wrappers */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-profile-member-list--variant,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card-list {
    gap: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-profile-member-list--variant > .yawc-entity-member-card,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card-list > .yawc-entity-member-card {
    margin: 0;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Shared Entity Member Card: make the link face the real card surface */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__link,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-link {
    min-height: 150px;
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 20%, rgba(15, 23, 42, 0.08));
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 10%, transparent), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.70) 100%);
    color: rgba(15, 23, 42, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 10px 22px rgba(15, 23, 42, 0.065);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section a.yawc-entity-member-card__link:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section a.yawc-super-hero-page__entity-link:hover {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 32%, rgba(14, 165, 233, 0.16));
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 13%, transparent), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 249, 255, 0.76) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 12px 26px rgba(15, 23, 42, 0.085);
    text-decoration: none;
}

/* Avatar / icon */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__media,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-media {
    filter: drop-shadow(0 8px 16px rgba(15, 23, 42, 0.10));
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__avatar,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-avatar {
    border-color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.80);
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.06),
        0 8px 18px rgba(15, 23, 42, 0.10);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__fallback-icon,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-icon {
    border-color: color-mix(in srgb, var(--yawc-sh-type-color, #0ea5e9) 24%, rgba(15, 23, 42, 0.08));
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.60) 100%);
    color: rgba(15, 23, 42, 0.72);
}

/* Text */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__name,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__type,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-type {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.04);
    color: rgba(15, 23, 42, 0.56);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__description,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__role,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-description {
    color: rgba(15, 23, 42, 0.62);
}

/* Latest FlagBadge: preserve existing flag accent variables */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__flag,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-flag,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card .yawc-profile-flag-item {
    border-color: rgba(var(--yawc-flag-accent-rgb), 0.22);
    background:
        linear-gradient(180deg, rgba(var(--yawc-flag-accent-rgb), 0.14) 0%, rgba(var(--yawc-flag-accent-rgb), 0.09) 100%),
        rgba(255, 255, 255, 0.58);
    color: rgba(15, 23, 42, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(var(--yawc-flag-accent-rgb), 0.10);
}

/* CTA */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__cta,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-cta {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.76) 0%, rgba(255, 255, 255, 0.64) 100%);
    color: rgba(8, 47, 73, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(14, 165, 233, 0.10);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section a.yawc-entity-member-card__link:hover .yawc-entity-member-card__cta,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section a.yawc-super-hero-page__entity-link:hover .yawc-super-hero-page__entity-cta {
    border-color: rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(180deg, rgba(186, 230, 253, 0.82) 0%, rgba(255, 255, 255, 0.72) 100%);
    color: rgba(12, 74, 110, 0.96);
}

/* Legacy name-list fallback only */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-profile-member-card {
    border-color: rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.055), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(248, 250, 252, 0.70) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 10px 22px rgba(15, 23, 42, 0.055);
}

@media (max-width: 640px) {
    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section {
        padding: 18px 16px;
    }

    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-profile-member-list--variant,
    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card-list {
        gap: 12px;
    }

    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card__link,
    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-super-hero-page__entity-link {
        min-height: 142px;
        padding: 15px;
    }
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Posts Card Light SuperHero-like polish
   - Profile page only
   - Light only
   - Align Posts with Profile Members / SuperHero Members look
   - Safe append only
   ========================================================= */

/* Posts section shell: align with Members section */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section {
    margin: 0 0 36px;
    padding: 22px;
    border: 1px solid rgba(14, 165, 233, 0.12);
    border-radius: var(--yawc-radius-card);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.055), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    color: rgba(15, 23, 42, 0.88);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.09),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__header {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__note {
    color: rgba(15, 23, 42, 0.62);
}

/* Filter row: keep readable, but soften frame */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row {
    margin-bottom: 24px;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__items {
    border-color: rgba(15, 23, 42, 0.07);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 250, 252, 0.66) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.66) inset,
        0 10px 24px rgba(15, 23, 42, 0.055);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item {
    border-color: rgba(15, 23, 42, 0.06);
    background: rgba(255, 255, 255, 0.54);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item:hover {
    border-color: rgba(14, 165, 233, 0.16);
    background: rgba(240, 249, 255, 0.72);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item.is-active {
    border-color: rgba(45, 212, 191, 0.28);
    background:
        linear-gradient(180deg, rgba(204, 251, 241, 0.58) 0%, rgba(255, 255, 255, 0.74) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.70) inset,
        0 10px 22px rgba(20, 184, 166, 0.10);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__filter-link {
    color: rgba(15, 23, 42, 0.72);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item.is-active .yawc-profile-filter-row__filter-link,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__filter-link:hover {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-link {
    border-left-color: rgba(15, 23, 42, 0.07);
    background: rgba(15, 23, 42, 0.025);
}

/* Post list: remove heavy outer feeling */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-list {
    gap: 12px;
}

/* Post card face: align with Members card softness */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card {
    border-color: rgba(14, 165, 233, 0.14);
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.07), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.84) 0%, rgba(248, 250, 252, 0.70) 100%);
    color: rgba(15, 23, 42, 0.88);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 10px 22px rgba(15, 23, 42, 0.065);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card:hover {
    border-color: rgba(14, 165, 233, 0.22);
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.09), transparent 42%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 249, 255, 0.74) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 12px 26px rgba(15, 23, 42, 0.085);
}

/* Post text */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__title a {
    color: rgba(15, 23, 42, 0.94);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__title a:hover {
    color: var(--yawc-link-strong);
    text-decoration: underline;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__meta {
    color: rgba(15, 23, 42, 0.50);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__excerpt,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card__excerpt p {
    color: rgba(15, 23, 42, 0.62);
}

/* Context chip in Posts header */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__context-chip {
    border-color: rgba(14, 165, 233, 0.16);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.74) 0%, rgba(255, 255, 255, 0.62) 100%);
    color: rgba(8, 47, 73, 0.84);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.62) inset,
        0 7px 16px rgba(14, 165, 233, 0.08);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__context-chip--event {
    border-color: rgba(5, 150, 105, 0.18);
    background:
        linear-gradient(180deg, rgba(209, 250, 229, 0.70) 0%, rgba(255, 255, 255, 0.64) 100%);
    color: rgba(6, 78, 59, 0.88);
}

/* Empty state */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-empty {
    border-color: rgba(15, 23, 42, 0.10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(248, 250, 252, 0.58) 100%);
    color: rgba(15, 23, 42, 0.58);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.58) inset,
        0 8px 18px rgba(15, 23, 42, 0.045);
}

@media (max-width: 640px) {
    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section {
        padding: 18px 16px;
    }

    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-posts-section__header {
        padding-bottom: 12px;
    }

    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row {
        margin-bottom: 22px;
    }

    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-post-card {
        padding: 15px;
    }
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Posts Filter Row Light Hotfix
   - remove unintended filter row panel
   - restore pill-like items
   - Profile Light only
   ========================================================= */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__items {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item {
    border-color: rgba(15, 23, 42, 0.08);
    border-radius: var(--yawc-radius-pill);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.76) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.70) inset,
        0 7px 16px rgba(15, 23, 42, 0.055);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item:hover {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(240, 249, 255, 0.92) 0%, rgba(255, 255, 255, 0.78) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 9px 18px rgba(15, 23, 42, 0.07);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item.is-active {
    border-color: rgba(45, 212, 191, 0.30);
    background:
        linear-gradient(180deg, rgba(204, 251, 241, 0.74) 0%, rgba(255, 255, 255, 0.82) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.74) inset,
        0 9px 18px rgba(20, 184, 166, 0.10);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__filter-link {
    color: rgba(15, 23, 42, 0.74);
    background: transparent;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__item.is-active .yawc-profile-filter-row__filter-link {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-link {
    border-left-color: rgba(15, 23, 42, 0.06);
    background: rgba(15, 23, 42, 0.025);
    color: rgba(15, 23, 42, 0.42);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-link:hover {
    background: rgba(14, 165, 233, 0.07);
    color: rgba(14, 116, 144, 0.78);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-icon--person {
    color: rgba(148, 163, 184, 0.40);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-icon--agent {
    color: rgba(168, 85, 247, 0.82);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-icon--act {
    color: rgba(251, 146, 60, 0.82);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-icon--group {
    color: rgba(16, 185, 129, 0.78);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-icon--organization {
    color: rgba(100, 116, 139, 0.64);
}

@media (max-width: 640px) {
    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__items {
        gap: 8px;
    }

    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__filter-link {
        min-height: 36px;
        padding: 7px 12px;
    }

    .yawc-profile-page[data-yawc-theme="light"] .yawc-profile-filter-row__navigate-link {
        min-height: 36px;
        min-width: 34px;
        padding: 0 9px;
    }
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Events + Releases + Records Light polish
   - Profile page only
   - Light only
   - Events / Releases / Records sections
   - Preserve CreditBadge theme colors
   - Safe append only
   ========================================================= */

/* ---------------------------------------------------------
   Shared section surface
   --------------------------------------------------------- */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-section,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-section,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-section {
    border-color: rgba(14, 165, 233, 0.13);
    background:
        radial-gradient(circle at 12% 0%, rgba(14, 165, 233, 0.045), transparent 34%),
        radial-gradient(circle at 90% 6%, rgba(251, 191, 36, 0.040), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.90) 100%);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        0 18px 42px rgba(15, 23, 42, 0.075),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-section__header,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-section__header,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-section__header {
    border-bottom-color: rgba(15, 23, 42, 0.07);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-section__eyebrow,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-section__eyebrow {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.035);
    color: rgba(15, 23, 42, 0.58);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-section__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-section__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-section__title {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-section__helper,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-section__helper,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-section__helper {
    color: rgba(15, 23, 42, 0.62);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-section__summary-chip,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-section__summary-chip,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-section__summary-chip {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.035);
    color: rgba(15, 23, 42, 0.58);
}

/* ---------------------------------------------------------
   Events FilterRail
   --------------------------------------------------------- */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-filter-rail__items {
    border-color: rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.62) 100%);
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.055),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-filter-rail__item {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-filter-rail__filter-link {
    border-color: transparent;
    background: transparent;
    color: rgba(15, 23, 42, 0.72);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-filter-rail__filter-link:hover {
    border-color: rgba(14, 165, 233, 0.18);
    background: rgba(224, 242, 254, 0.55);
    color: rgba(12, 74, 110, 0.94);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-filter-rail__item.is-active .yawc-profile-event-filter-rail__filter-link,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-filter-rail__filter-link[aria-current="page"] {
    border-color: rgba(45, 212, 191, 0.22);
    background:
        linear-gradient(180deg, rgba(204, 251, 241, 0.72) 0%, rgba(255, 255, 255, 0.68) 100%);
    color: rgba(17, 94, 89, 0.94);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.70) inset,
        0 8px 18px rgba(20, 184, 166, 0.10);
}

/* ---------------------------------------------------------
   Events cards
   --------------------------------------------------------- */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-item {
    border-color: rgba(45, 212, 191, 0.18);
    background:
        radial-gradient(circle at 0% 0%, rgba(45, 212, 191, 0.045), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.78) 100%);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.060),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-item__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-item__link {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-item__link:hover {
    color: rgba(12, 74, 110, 0.98);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-item__chip {
    border-color: rgba(14, 165, 233, 0.15);
    background: rgba(224, 242, 254, 0.52);
    color: rgba(12, 74, 110, 0.78);
}

/*
 * Do not override .yawc-credit-badge-colorized background / color / border.
 * Event code badges keep their extracted theme color.
 */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-item__code.yawc-credit-badge-colorized {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55) inset,
        0 7px 15px rgba(15, 23, 42, 0.055);
}

/* ---------------------------------------------------------
   Releases cards
   --------------------------------------------------------- */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item {
    align-items: flex-start;
    border-color: rgba(251, 191, 36, 0.18);
    background:
        radial-gradient(circle at 0% 0%, rgba(251, 191, 36, 0.055), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.78) 100%);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.065),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__jacket-wrap {
    align-self: flex-start;
    flex: 0 0 auto;
    height: auto;
    min-height: 0;
    padding: 0;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__jacket-wrap::before,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__jacket-wrap::after {
    content: none;
    display: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__jacket {
    display: block;
    height: auto;
    background: transparent;
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.62) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__jacket-placeholder {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.035);
    color: rgba(15, 23, 42, 0.44);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__short-label {
    color: rgba(154, 52, 18, 0.70);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__title-link {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__title-link:hover {
    color: rgba(154, 52, 18, 0.96);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__chip {
    border-color: rgba(251, 191, 36, 0.18);
    background: rgba(254, 243, 199, 0.58);
    color: rgba(120, 53, 15, 0.74);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__button {
    border-color: rgba(251, 191, 36, 0.20);
    background:
        linear-gradient(180deg, rgba(254, 243, 199, 0.66) 0%, rgba(255, 255, 255, 0.62) 100%);
    color: rgba(120, 53, 15, 0.86);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.64) inset,
        0 7px 16px rgba(251, 191, 36, 0.10);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-item__button:hover {
    border-color: rgba(251, 191, 36, 0.30);
    background:
        linear-gradient(180deg, rgba(253, 230, 138, 0.72) 0%, rgba(255, 255, 255, 0.70) 100%);
    color: rgba(120, 53, 15, 0.96);
    text-decoration: none;
}

/* ---------------------------------------------------------
   Records section cards
   --------------------------------------------------------- */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item {
    border-color: rgba(14, 165, 233, 0.14);
    background:
        radial-gradient(circle at 0% 0%, rgba(14, 165, 233, 0.040), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.78) 100%);
    color: rgba(15, 23, 42, 0.92);
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.060),
        0 0 0 1px rgba(255, 255, 255, 0.72) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__title-link,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__title-text {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__title-link:hover {
    color: rgba(12, 74, 110, 0.98);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__chip {
    border-color: rgba(14, 165, 233, 0.14);
    background: rgba(224, 242, 254, 0.50);
    color: rgba(12, 74, 110, 0.76);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__details {
    border-top-color: rgba(15, 23, 42, 0.07);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__detail-label {
    color: rgba(15, 23, 42, 0.48);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__detail-text {
    color: rgba(15, 23, 42, 0.76);
}

/*
 * Do not override .yawc-credit-badge-colorized background / color / border.
 * Record badges keep Event / Release theme color.
 */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-item__badge.yawc-credit-badge-colorized {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55) inset,
        0 7px 15px rgba(15, 23, 42, 0.055);
}

/* ---------------------------------------------------------
   Credit Record View inside Profile
   --------------------------------------------------------- */

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__inner,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-group,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-roles {
    border-color: rgba(14, 165, 233, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.76) 100%);
    color: rgba(15, 23, 42, 0.90);
    box-shadow:
        0 14px 28px rgba(15, 23, 42, 0.055),
        0 0 0 1px rgba(255, 255, 255, 0.70) inset;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__title,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-group h3,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-roles h3,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-role-group h4 {
    color: rgba(15, 23, 42, 0.94);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__meta-row {
    border-color: rgba(15, 23, 42, 0.07);
    background: rgba(15, 23, 42, 0.025);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__meta-row dt {
    color: rgba(15, 23, 42, 0.48);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__meta-row dd,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__meta-text {
    color: rgba(15, 23, 42, 0.76);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__meta-link,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-item__person-link {
    color: rgba(12, 74, 110, 0.92);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__meta-link:hover,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-item__person-link:hover {
    color: rgba(12, 74, 110, 1);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-program__row,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-item {
    border-color: rgba(15, 23, 42, 0.07);
    background: rgba(255, 255, 255, 0.62);
    color: rgba(15, 23, 42, 0.84);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-program__time,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-program__role,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-program__note,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-item .labels,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-item .note,
.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-item__role-label {
    color: rgba(15, 23, 42, 0.60);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__context-link a {
    border-color: rgba(14, 165, 233, 0.18);
    background:
        linear-gradient(180deg, rgba(224, 242, 254, 0.64) 0%, rgba(255, 255, 255, 0.62) 100%);
    color: rgba(8, 47, 73, 0.88);
    text-decoration: none;
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-credit-record-view__context-link a:hover {
    border-color: rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(180deg, rgba(186, 230, 253, 0.72) 0%, rgba(255, 255, 255, 0.70) 100%);
    color: rgba(12, 74, 110, 0.96);
    text-decoration: none;
}

/* ---------------------------------------------------------
   Empty states
   --------------------------------------------------------- */

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-event-series-empty,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-release-empty,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-record-section__empty {
    border-color: rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.58);
    color: rgba(15, 23, 42, 0.56);
}

/* =========================================================
   YAWC Front Theme v1.0
   Entity Member Type Color Restore
   - SuperHero Members + Profile/HERO Members only
   - Light / Dark both
   - Restore Entity type symbol colors
   ========================================================= */

/* ---------------------------------------------------------
   Entity type color tokens
   --------------------------------------------------------- */

.yawc-super-hero-page .yawc-super-hero-page__entity-card,
.yawc-super-hero-page .yawc-entity-member-card,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card {
    --yawc-member-type-bg: rgba(148, 163, 184, 0.12);
    --yawc-member-type-border: rgba(148, 163, 184, 0.26);
    --yawc-member-type-text: rgba(226, 232, 240, 0.88);
    --yawc-member-type-glow: rgba(148, 163, 184, 0.10);
}

.yawc-super-hero-page .yawc-super-hero-page__entity-card--person,
.yawc-super-hero-page .yawc-entity-member-card--person,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card--person {
    --yawc-member-type-bg: rgba(148, 163, 184, 0.13);
    --yawc-member-type-border: rgba(148, 163, 184, 0.28);
    --yawc-member-type-text: rgba(226, 232, 240, 0.92);
    --yawc-member-type-glow: rgba(148, 163, 184, 0.10);
}

.yawc-super-hero-page .yawc-super-hero-page__entity-card--agent,
.yawc-super-hero-page .yawc-entity-member-card--agent,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card--agent {
    --yawc-member-type-bg: rgba(167, 139, 250, 0.16);
    --yawc-member-type-border: rgba(167, 139, 250, 0.34);
    --yawc-member-type-text: rgba(221, 214, 254, 0.96);
    --yawc-member-type-glow: rgba(167, 139, 250, 0.16);
}

.yawc-super-hero-page .yawc-super-hero-page__entity-card--act,
.yawc-super-hero-page .yawc-entity-member-card--act,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card--act {
    --yawc-member-type-bg: rgba(251, 146, 60, 0.16);
    --yawc-member-type-border: rgba(251, 146, 60, 0.34);
    --yawc-member-type-text: rgba(255, 237, 213, 0.96);
    --yawc-member-type-glow: rgba(251, 146, 60, 0.16);
}

.yawc-super-hero-page .yawc-super-hero-page__entity-card--group,
.yawc-super-hero-page .yawc-entity-member-card--group,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card--group {
    --yawc-member-type-bg: rgba(52, 211, 153, 0.15);
    --yawc-member-type-border: rgba(52, 211, 153, 0.32);
    --yawc-member-type-text: rgba(209, 250, 229, 0.96);
    --yawc-member-type-glow: rgba(52, 211, 153, 0.15);
}

.yawc-super-hero-page .yawc-super-hero-page__entity-card--organization,
.yawc-super-hero-page .yawc-entity-member-card--organization,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card--organization {
    --yawc-member-type-bg: rgba(125, 211, 252, 0.14);
    --yawc-member-type-border: rgba(125, 211, 252, 0.30);
    --yawc-member-type-text: rgba(224, 242, 254, 0.96);
    --yawc-member-type-glow: rgba(125, 211, 252, 0.14);
}

/* ---------------------------------------------------------
   Light theme token adjustment
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card {
    --yawc-member-type-bg: rgba(148, 163, 184, 0.10);
    --yawc-member-type-border: rgba(148, 163, 184, 0.22);
    --yawc-member-type-text: rgba(51, 65, 85, 0.78);
    --yawc-member-type-glow: rgba(148, 163, 184, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card--person,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card--person,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card--person {
    --yawc-member-type-bg: rgba(148, 163, 184, 0.10);
    --yawc-member-type-border: rgba(148, 163, 184, 0.24);
    --yawc-member-type-text: rgba(51, 65, 85, 0.78);
    --yawc-member-type-glow: rgba(148, 163, 184, 0.10);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card--agent,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card--agent,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card--agent {
    --yawc-member-type-bg: rgba(167, 139, 250, 0.13);
    --yawc-member-type-border: rgba(167, 139, 250, 0.28);
    --yawc-member-type-text: rgba(91, 33, 182, 0.78);
    --yawc-member-type-glow: rgba(167, 139, 250, 0.13);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card--act,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card--act,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card--act {
    --yawc-member-type-bg: rgba(251, 146, 60, 0.13);
    --yawc-member-type-border: rgba(251, 146, 60, 0.28);
    --yawc-member-type-text: rgba(154, 52, 18, 0.78);
    --yawc-member-type-glow: rgba(251, 146, 60, 0.13);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card--group,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card--group,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card--group {
    --yawc-member-type-bg: rgba(52, 211, 153, 0.13);
    --yawc-member-type-border: rgba(52, 211, 153, 0.28);
    --yawc-member-type-text: rgba(6, 95, 70, 0.78);
    --yawc-member-type-glow: rgba(52, 211, 153, 0.13);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card--organization,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card--organization,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card--organization {
    --yawc-member-type-bg: rgba(125, 211, 252, 0.13);
    --yawc-member-type-border: rgba(125, 211, 252, 0.28);
    --yawc-member-type-text: rgba(12, 74, 110, 0.78);
    --yawc-member-type-glow: rgba(125, 211, 252, 0.13);
}

/* ---------------------------------------------------------
   Type pill color restore
   --------------------------------------------------------- */

.yawc-super-hero-page .yawc-super-hero-page__entity-card .yawc-super-hero-page__entity-type,
.yawc-super-hero-page .yawc-entity-member-card .yawc-entity-member-card__type,
.yawc-super-hero-page .yawc-entity-member-card .yawc-super-hero-page__entity-type,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card .yawc-entity-member-card__type,
.yawc-profile-page .yawc-profile-structure-section .yawc-entity-member-card .yawc-super-hero-page__entity-type {
    border-color: var(--yawc-member-type-border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.035) 100%),
        var(--yawc-member-type-bg);
    color: var(--yawc-member-type-text);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 6px 14px var(--yawc-member-type-glow);
}

/* ---------------------------------------------------------
   Light type pill surface
   --------------------------------------------------------- */

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__entity-card .yawc-super-hero-page__entity-type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card .yawc-entity-member-card__type,
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-entity-member-card .yawc-super-hero-page__entity-type,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card .yawc-entity-member-card__type,
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-structure-section .yawc-entity-member-card .yawc-super-hero-page__entity-type {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 255, 255, 0.52) 100%),
        var(--yawc-member-type-bg);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 7px 16px var(--yawc-member-type-glow);
}

/* =========================================================
   YAWC Front Theme v1.0
   Profile Hero Light readability hotfix
   ADM-0-F-HERO-LIGHT-READABILITY-2
   - Do not override Entity TypeBadge colors
   - Restore Agent / Act / Group / Organization badge tokens
   - Hide ended live/on_air badges only when phase-ended class exists
   ========================================================= */

/* Light hero image上の PROFILE / AGENT PROFILE だけを読みやすくする */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero--has-visual .yawc-profile-hero__eyebrow {
    color: rgba(255, 255, 255, 0.80);
    text-shadow:
        0 1px 2px rgba(15, 23, 42, 0.72),
        0 0 18px rgba(15, 23, 42, 0.52);
}

/* type badgeは色を直指定しない。既存のEntityType tokenへ戻す */
.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero--has-visual .yawc-type-badge {
    border-color: var(--yawc-type-badge-border, rgba(15, 23, 42, 0.14));
    background: var(--yawc-type-badge-bg, rgba(15, 23, 42, 0.04));
    color: var(--yawc-type-badge-text, rgba(15, 23, 42, 0.88));
    text-shadow: none;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.54) inset,
        0 8px 18px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.yawc-profile-page[data-yawc-theme="light"] .yawc-profile-hero--has-visual .yawc-type-badge__icon {
    color: currentColor;
    opacity: 1;
}

/* =========================================================
   SuperHero World Timeline Drawer / Type color final
   ADM-0-F-SUPER-HERO-DRAWER-TYPE-FINAL-1
   - Type-aware World Timeline Drawer polish
   - Consolidates TYPE-3 / TYPE-4 / TYPE-5 / TYPE-6
   - Keep colors close to SuperHero Members cards
   - Scope: SuperHero World Timeline Drawer only
   ========================================================= */

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item--type-person {
    --yawc-super-drawer-type-rgb: 59, 130, 246;
    --yawc-super-drawer-type-strong-rgb: 37, 99, 235;
    --yawc-super-drawer-type-text-light: #1d4ed8;
    --yawc-super-drawer-type-text-dark: #bfdbfe;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item--type-agent {
    --yawc-super-drawer-type-rgb: 139, 92, 246;
    --yawc-super-drawer-type-strong-rgb: 124, 58, 237;
    --yawc-super-drawer-type-text-light: #6d28d9;
    --yawc-super-drawer-type-text-dark: #ddd6fe;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item--type-act {
    --yawc-super-drawer-type-rgb: 249, 115, 22;
    --yawc-super-drawer-type-strong-rgb: 234, 88, 12;
    --yawc-super-drawer-type-text-light: #c2410c;
    --yawc-super-drawer-type-text-dark: #fed7aa;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item--type-group {
    --yawc-super-drawer-type-rgb: 16, 185, 129;
    --yawc-super-drawer-type-strong-rgb: 5, 150, 105;
    --yawc-super-drawer-type-text-light: #047857;
    --yawc-super-drawer-type-text-dark: #bbf7d0;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item--type-organization {
    --yawc-super-drawer-type-rgb: 14, 165, 233;
    --yawc-super-drawer-type-strong-rgb: 2, 132, 199;
    --yawc-super-drawer-type-text-light: #0369a1;
    --yawc-super-drawer-type-text-dark: #bae6fd;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item--type-unknown {
    --yawc-super-drawer-type-rgb: 148, 163, 184;
    --yawc-super-drawer-type-strong-rgb: 100, 116, 139;
    --yawc-super-drawer-type-text-light: #334155;
    --yawc-super-drawer-type-text-dark: #e2e8f0;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item {
    border-color: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.16);
    background:
        linear-gradient(
            135deg,
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.045),
            rgba(255, 255, 255, 0.92)
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.74) inset,
        0 8px 18px rgba(15, 23, 42, 0.035);
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 18px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.24);
    background:
        linear-gradient(
            180deg,
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.115),
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.055)
        );
    color: rgb(var(--yawc-super-drawer-type-strong-rgb, 71, 85, 105));
    font-size: 12px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.72) inset,
        0 4px 10px rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.08);
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-type-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    min-width: 1em;
    height: 1em;
    color: inherit;
    font-size: 0.9em;
    line-height: 1;
    opacity: 0.95;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-type-label {
    display: inline-block;
    color: inherit;
    line-height: 1.1;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.18);
    background: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.065);
    color: rgba(15, 23, 42, 0.78);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 700;
    white-space: nowrap;
}

.yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-time {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.035);
    color: rgba(71, 85, 105, 0.66);
    font-size: 12px;
    line-height: 1.15;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0.88;
}

/* Light route: support both root-theme and ancestor-theme */
.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-inner,
[data-yawc-theme="light"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-inner {
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.60),
            rgba(255, 255, 255, 0.52) 54%,
            rgba(248, 250, 252, 0.48)
        );
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.78) inset,
        0 10px 24px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(12px) saturate(1.04);
    -webkit-backdrop-filter: blur(12px) saturate(1.04);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item,
[data-yawc-theme="light"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item {
    border-color: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.14);
    background:
        linear-gradient(
            135deg,
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.030),
            rgba(255, 255, 255, 0.56) 58%,
            rgba(255, 255, 255, 0.46)
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.72) inset,
        0 6px 14px rgba(15, 23, 42, 0.03);
    backdrop-filter: blur(8px) saturate(1.03);
    -webkit-backdrop-filter: blur(8px) saturate(1.03);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-type,
[data-yawc-theme="light"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-type {
    border-color: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.20);
    background:
        linear-gradient(
            180deg,
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.090),
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.040)
        );
    color: rgb(var(--yawc-super-drawer-type-strong-rgb, 71, 85, 105));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.66) inset,
        0 3px 8px rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.05);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-label,
[data-yawc-theme="light"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-label {
    border-color: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.14);
    background: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.045);
    color: rgba(15, 23, 42, 0.76);
}

.yawc-super-hero-page[data-yawc-theme="light"] .yawc-super-hero-page__hero-drawer-item-time,
[data-yawc-theme="light"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-time {
    background: rgba(15, 23, 42, 0.028);
    color: rgba(71, 85, 105, 0.62);
}

/* Dark route: thin panel and soft item colors */
.yawc-super-hero-page[data-yawc-theme="dark"] .yawc-super-hero-page__hero-drawer-inner,
[data-yawc-theme="dark"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-inner {
    background:
        linear-gradient(
            135deg,
            rgba(30, 41, 59, 0.34),
            rgba(15, 23, 42, 0.30) 52%,
            rgba(17, 24, 39, 0.28)
        );
    border-color: rgba(125, 211, 252, 0.15);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.045) inset,
        0 18px 42px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px) saturate(1.06);
    -webkit-backdrop-filter: blur(16px) saturate(1.06);
}

.yawc-super-hero-page[data-yawc-theme="dark"] .yawc-super-hero-page__hero-drawer-item,
[data-yawc-theme="dark"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item {
    border-color: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.18);
    background:
        linear-gradient(
            135deg,
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.070),
            rgba(15, 18, 28, 0.44) 58%,
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.030)
        );
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.032) inset,
        0 8px 18px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(8px) saturate(1.04);
    -webkit-backdrop-filter: blur(8px) saturate(1.04);
}

.yawc-super-hero-page[data-yawc-theme="dark"] .yawc-super-hero-page__hero-drawer-item-type,
[data-yawc-theme="dark"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-type {
    border-color: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.26);
    background:
        linear-gradient(
            180deg,
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.15),
            rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.08)
        );
    color: rgba(241, 245, 249, 0.90);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.035) inset,
        0 5px 10px rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.07);
}

.yawc-super-hero-page[data-yawc-theme="dark"] .yawc-super-hero-page__hero-drawer-item-label,
[data-yawc-theme="dark"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-label {
    border-color: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.16);
    background: rgba(var(--yawc-super-drawer-type-rgb, 148, 163, 184), 0.060);
    color: rgba(226, 232, 240, 0.86);
}

.yawc-super-hero-page[data-yawc-theme="dark"] .yawc-super-hero-page__hero-drawer-item-time,
[data-yawc-theme="dark"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-item-time {
    background: rgba(255, 255, 255, 0.028);
    color: rgba(203, 213, 225, 0.68);
}

.yawc-super-hero-page[data-yawc-theme="dark"] .yawc-super-hero-page__hero-drawer-title,
[data-yawc-theme="dark"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-title {
    color: rgba(248, 250, 252, 0.94);
}

.yawc-super-hero-page[data-yawc-theme="dark"] .yawc-super-hero-page__hero-drawer-description,
[data-yawc-theme="dark"] .yawc-super-hero-page .yawc-super-hero-page__hero-drawer-description {
    color: rgba(226, 232, 240, 0.76);
}