/* Windows 11 Taskbar Flyouts - Calendar, Notifications & Weather (Fluent Acrylic / Mica Design) */

:root {
    --win-bg-weather: rgba(40, 40, 42, 0.96);
    --win-bg-calendar: rgba(30, 30, 32, 0.84);
    --win-bg-acrylic-weather: rgba(40, 40, 42, 0.96);
    --win-bg-acrylic-calendar: rgba(30, 30, 32, 0.84);
    --win-border-light: rgba(255, 255, 255, 0.10);
    --win-border-subtle: rgba(255, 255, 255, 0.06);
    --win-accent-blue: #4cc2ff;
    --win-accent-blue-hover: #70d1ff;
    --win-text-primary: #ffffff;
    --win-text-secondary: #cfd3d8;
    --win-text-muted: #aab0b6;
    --win-radius-panel: 18px;
    --win-shadow-elevation: 0 20px 50px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.20) inset;
    --macos-spring-open: cubic-bezier(0.34, 1.28, 0.64, 1);
    --macos-spring-close: cubic-bezier(0.3, 0, 0.8, 0.15);
    --macos-smooth-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.win-flyout {
    position: fixed;
    bottom: 58px;
    z-index: 10002;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: 'Segoe UI Variable Text', 'Segoe UI Variable Display', 'Segoe UI', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--win-text-primary);
    user-select: none;
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    border: 1px solid var(--win-border-light);
    border-radius: var(--win-radius-panel);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 1px rgba(255, 255, 255, 0.25) inset;
    overflow: hidden;
    overscroll-behavior: contain !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.92);
    filter: blur(4px);
    transition: opacity 0.22s var(--macos-spring-close),
                transform 0.24s var(--macos-spring-close),
                filter 0.22s ease,
                visibility 0.24s;
    will-change: transform, opacity, filter;
}

.win-flyout.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    filter: blur(0px);
    transition: opacity 0.32s var(--macos-smooth-ease),
                transform 0.38s var(--macos-spring-open),
                filter 0.32s var(--macos-smooth-ease),
                visibility 0.32s;
}

/* ======================================================= */
/* 1. WEATHER FLYOUT (COMPACT CARD LIKE THE REFERENCE)    */
/* ======================================================= */
#win-weather-flyout {
    left: 14px;
    width: 286px;
    background: linear-gradient(180deg, rgba(48, 48, 50, 0.95), rgba(30, 30, 32, 0.95));
    padding: 12px 12px 13px;
    gap: 11px;
    transform-origin: bottom left;
    border-radius: 6px;
    border-color: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 1px rgba(255, 255, 255, 0.18) inset;
}

/* Top Location Header */
.flyout-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1px;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--win-text-primary);
    line-height: 1;
}

.location-badge svg {
    width: 10px;
    height: 10px;
    fill: #ffb000;
}

.header-more-btn {
    background: transparent;
    border: none;
    color: var(--win-text-muted);
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 0 2px;
    border-radius: 4px;
    transition: background 0.15s ease, color 0.15s ease;
}

.header-more-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--win-text-primary);
}

/* Main Weather & AQI Hero Row */
.flyout-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 5px;
}

.hero-weather-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.hero-weather-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.hero-temp-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hero-temperature {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    color: var(--win-text-primary);
    letter-spacing: -0.5px;
}

.hero-condition {
    display: none;
    font-size: 13px;
    color: var(--win-text-secondary);
    margin-top: 2px;
}

/* Right AQI Box */
.hero-aqi-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2px;
    min-width: 0;
}

.aqi-pill {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--win-text-primary);
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: inline-block;
    box-shadow: none;
    line-height: 1.1;
}

.aqi-description {
    font-size: 9.5px;
    color: var(--win-text-muted);
    max-width: 96px;
    line-height: 1.15;
}

/* 5-Column Hourly Forecast with Subtle Dividers */
.hourly-forecast-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 3px;
    padding: 8px 4px 7px;
    position: relative;
}

.hourly-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 6px 0 5px;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: none;
}

/* Subtle divider line between columns */
.hourly-col:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 12%;
    height: 74%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.hourly-col:hover {
    background: rgba(255, 255, 255, 0.04);
}

.hour-time {
    font-size: 10px;
    color: var(--win-text-muted);
    font-weight: 500;
}

.hour-icon {
    width: 21px;
    height: 21px;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.hour-temp {
    font-size: 11px;
    font-weight: 500;
    color: var(--win-text-primary);
}

.hour-rain {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 9px;
    color: var(--win-accent-blue);
    font-weight: 500;
    line-height: 1;
}

.hour-rain svg {
    width: 7px;
    height: 7px;
    fill: var(--win-accent-blue);
}

/* Footer Action Link */
.full-forecast-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 9px;
    font-weight: 500;
    color: var(--win-accent-blue);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.18s ease, transform 0.18s ease;
    padding: 2px 4px 0;
    border-radius: 4px;
}

.full-forecast-btn:hover {
    color: var(--win-accent-blue-hover);
    background: rgba(76, 194, 255, 0.06);
}

.full-forecast-btn svg {
    width: 10px;
    height: 10px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.full-forecast-btn:hover svg {
    transform: translateY(2px);
}

/* ======================================================= */
/* 2. CALENDAR & NOTIFICATIONS FLYOUT (RIGHT SIDE)         */
/* ======================================================= */
#win-calendar-flyout {
    right: 12px;
    width: 360px;
    background: var(--win-bg-acrylic-calendar);
    border-radius: var(--win-radius-panel);
    transform-origin: bottom right;
}

/* Top: Notifications Box */
.notif-section {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 120px;
    box-sizing: border-box;
}

.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.notif-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #f2f2f2;
}

.notif-action-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease;
}

.notif-action-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.notif-action-btn:active {
    transform: scale(0.92);
}

.notif-empty-msg {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #949ba4;
    text-align: center;
}

/* Bottom: Calendar Section */
.calendar-section {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.calendar-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 10px;
}

.calendar-today-full {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.calendar-collapse-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.15s ease;
}

.calendar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.calendar-collapse-btn:active {
    transform: scale(0.92);
}

.calendar-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.calendar-month-year {
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
}

.calendar-nav-arrows {
    display: flex;
    gap: 4px;
}

.cal-arrow-btn {
    background: transparent;
    border: none;
    color: #cccccc;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, transform 0.15s ease;
}

.cal-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.cal-arrow-btn:active {
    transform: scale(0.9);
}

/* Calendar Weekdays Row */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 12px;
    color: #949ba4;
    font-weight: 500;
    margin-bottom: 8px;
}

/* Calendar Days Grid - Centered items */
.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    row-gap: 2px;
    column-gap: 0;
    text-align: center;
    margin-bottom: 14px;
    justify-items: center;
    align-items: center;
}

/* 100% Perfect Circle Day Styling - Centered */
.cal-day-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    width: 100%;
}

.cal-day {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 32px;
    font-size: 13px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.18s cubic-bezier(0.1, 0.9, 0.2, 1),
        color 0.18s ease,
        transform 0.15s ease;
    color: #f2f2f2;
    box-sizing: border-box;
    margin: 0 auto;
}

.cal-day:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.06);
}

.cal-day.other-month {
    color: #666666;
}

.cal-day.today {
    background: #00d2d3 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    box-shadow: 0 0 12px rgba(0, 210, 211, 0.45);
    margin: 0 auto !important;
}

/* Focus Session Bar */
.calendar-focus-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.focus-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #ffffff;
    font-weight: 500;
}

.focus-step-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    width: 26px;
    height: 26px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.18s ease, transform 0.15s ease;
}

.focus-step-btn:hover {
    background: rgba(255, 255, 255, 0.12);
}

.focus-step-btn:active {
    transform: scale(0.92);
}

.focus-start-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s cubic-bezier(0.1, 0.9, 0.2, 1),
        border-color 0.2s ease,
        transform 0.15s ease;
}

.focus-start-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
}

.focus-start-btn:active {
    transform: scale(0.96);
}

/* ======================================================= */
/* 3. VALORANT MATCH HISTORY WINDOW (RIOT GAMES 1:1 UI)    */
/* ======================================================= */
#win-valorant-flyout {
    position: fixed;
    left: 50%;
    bottom: 58px;
    transform: translateX(-50%) translateY(24px) scale(0.88);
    transform-origin: bottom center;
    width: 940px;
    max-width: 96vw;
    height: 600px;
    max-height: 84vh;
    background: radial-gradient(circle at 50% 12%, rgba(24, 66, 82, 0.45) 0%, rgba(10, 20, 27, 0.98) 65%), #09131a;
    backdrop-filter: blur(45px) saturate(200%);
    -webkit-backdrop-filter: blur(45px) saturate(200%);
    border: 1px solid rgba(0, 210, 211, 0.35);
    border-radius: 12px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 210, 211, 0.18), inset 0 0 1px rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    z-index: 99999;
    user-select: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(6px);
    transition: opacity 0.22s var(--macos-spring-close),
                transform 0.25s var(--macos-spring-close),
                filter 0.22s ease,
                visibility 0.25s;
    will-change: transform, opacity, filter;
}

#win-valorant-flyout.active {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    filter: blur(0px);
    transition: opacity 0.34s var(--macos-smooth-ease),
                transform 0.38s var(--macos-spring-open),
                filter 0.34s var(--macos-smooth-ease),
                visibility 0.34s;
}

/* Draggable state */
#win-valorant-flyout.is-dragged {
    transition: none !important;
}

/* Windows 11 Fluent Acrylic / Mica Titlebar (Smooth, Clean & Translucent) */
.win11-titlebar,
.v-win-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
    min-height: 38px;
    background: rgba(18, 22, 32, 0.75);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0 0 14px;
    user-select: none;
    cursor: grab;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.win11-titlebar:active,
.v-win-titlebar:active {
    cursor: grabbing;
}

.win11-title-left,
.v-win-title {
    display: flex;
    align-items: center;
    gap: 9px;
}

.win11-title-icon,
.v-win-title-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}

.win11-title-text,
.v-win-title span {
    font-family: 'Segoe UI Variable Display', 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: 0.04em;
}

.win11-controls,
.v-win-controls {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: 0;
}

.win11-btn,
.v-win-btn {
    width: 44px;
    height: 100%;
    border: none;
    background: transparent;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    padding: 0;
    border-radius: 0;
}

.win11-btn:hover,
.v-win-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: transparent;
}

.win11-btn.close,
.v-win-btn.close {
    width: 46px;
}

.win11-btn.close:hover,
.v-win-btn.close:hover {
    background-color: #e81123 !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Main Scrollable Canvas */
.v-riot-main-canvas {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 14px 22px;
    gap: 8px;
    min-height: 0;
    background: transparent;
}

.v-riot-main-canvas::-webkit-scrollbar {
    width: 4px;
}

.v-riot-main-canvas::-webkit-scrollbar-track {
    background: #081017;
}

.v-riot-main-canvas::-webkit-scrollbar-thumb {
    background: #00d2d3;
    border-radius: 2px;
}

/* 1. Rank Overview Banner (1:1 with Screenshot) */
.v-riot-rank-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4px 0 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
    position: relative;
}

.v-rank-banner-emblem-wrap {
    position: relative;
    z-index: 1;
    margin-bottom: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
}

.v-banner-rank-icon {
    width: 76px;
    height: 76px;
    object-fit: contain;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    position: relative;
    z-index: 1;
    pointer-events: none;
    display: block;
}

.v-rank-banner-info {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.v-banner-rank-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin: 0 0 2px 0;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.75);
    position: relative;
    z-index: 2;
}

.v-banner-rank-subtitle {
    font-size: 11.5px;
    font-weight: 600;
    color: #728492;
    letter-spacing: 0.06em;
    margin: 0;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* Rating Progress Bar (1:1 with Valorant Client) */
.v-rank-progress-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}

.v-rank-progress-label {
    font-size: 10px;
    font-weight: 800;
    color: #728492;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.v-rank-progress-track {
    width: 130px;
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.v-rank-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d2d3 0%, #00f59b 100%);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 245, 155, 0.6);
}

.v-rank-progress-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.v-rank-shield-icon {
    width: 12px;
    height: 14px;
    flex-shrink: 0;
}

.v-rank-progress-count {
    font-size: 11px;
    font-weight: 800;
    color: #ece8e1;
    letter-spacing: 0.04em;
}

/* 2. Matches List (List of 10 rows) */
.v-riot-history-view {
    overflow-y: auto;
    padding-right: 6px;
    max-height: 440px;
}

.v-riot-history-view::-webkit-scrollbar,
.v-riot-main-canvas::-webkit-scrollbar {
    width: 5px;
}

.v-riot-history-view::-webkit-scrollbar-track,
.v-riot-main-canvas::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 2px;
}

.v-riot-history-view::-webkit-scrollbar-thumb,
.v-riot-main-canvas::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.v-riot-history-view::-webkit-scrollbar-thumb:hover,
.v-riot-main-canvas::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.v-riot-matches-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 1:1 Match Row */
.v-riot-match-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.34, 1.45, 0.64, 1),
                box-shadow 0.25s ease,
                border-color 0.25s ease,
                filter 0.25s ease;
    box-sizing: border-box;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
    will-change: transform;
}

.v-riot-match-row:hover {
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), inset 0 0 15px rgba(255, 255, 255, 0.08);
    filter: brightness(1.22);
}

.v-riot-match-row.win:hover {
    border-color: rgba(0, 245, 155, 0.6) !important;
    box-shadow: 0 4px 22px rgba(0, 245, 155, 0.22), inset 0 0 20px rgba(0, 245, 155, 0.1) !important;
}

.v-riot-match-row.loss:hover {
    border-color: rgba(255, 70, 85, 0.6) !important;
    box-shadow: 0 4px 22px rgba(255, 70, 85, 0.22), inset 0 0 20px rgba(255, 70, 85, 0.1) !important;
}

.v-riot-match-row.draw:hover {
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 4px 22px rgba(255, 255, 255, 0.18), inset 0 0 20px rgba(255, 255, 255, 0.08) !important;
}

/* Left Indicator Strip + Row Background Tint (1:1 with Screenshot) */
.v-riot-match-row.win {
    background: linear-gradient(90deg, rgba(0, 110, 95, 0.48) 0%, rgba(0, 75, 75, 0.38) 45%, rgba(0, 60, 65, 0.32) 100%);
    border-color: rgba(0, 210, 211, 0.22);
}

.v-riot-match-row.win::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #00f59b;
    z-index: 10;
}

.v-riot-match-row.loss {
    background: linear-gradient(90deg, rgba(140, 25, 38, 0.5) 0%, rgba(100, 20, 30, 0.4) 45%, rgba(65, 18, 25, 0.32) 100%);
    border-color: rgba(255, 70, 85, 0.25);
}

.v-riot-match-row.loss::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff4655;
    z-index: 10;
}

.v-riot-match-row.draw {
    background: linear-gradient(90deg, rgba(95, 78, 20, 0.5) 0%, rgba(55, 45, 15, 0.38) 55%, rgba(13, 24, 32, 0.3) 100%);
    border-color: rgba(250, 204, 21, 0.25);
}

.v-riot-match-row.draw::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #facc15;
    z-index: 10;
}

/* Left Group: Agent Face + Rank + KDA */
.v-row-left-group {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 5;
    padding-left: 4px;
}

.v-row-agent-portrait {
    width: 58px;
    height: 58px;
    object-fit: cover;
    object-position: center;
    background: transparent !important;
    border-right: none;
    flex-shrink: 0;
}

.v-row-rank-badge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: 42px;
    margin-left: 14px;
    position: relative;
}

.v-row-rank-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    margin-bottom: -6px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 95%);
}

.v-row-rr-pill {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.03em;
    line-height: 1;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9), 0 0 10px rgba(0, 0, 0, 0.8);
}

.v-row-rr-pill.gain {
    color: #00f59b;
}

.v-row-rr-pill.loss {
    color: #ff4655;
}

.v-row-kda-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 120px;
    margin-left: 16px;
}

.v-row-kda-wrapper {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.v-row-stat-prefix {
    font-size: 9px;
    font-weight: 800;
    color: #728492;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.v-row-kda-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #ece8e1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.v-row-score-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    margin-top: 1px;
}

.v-row-score-label {
    font-size: 8.5px;
    font-weight: 800;
    color: #728492;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.v-row-score-val {
    font-size: 11px;
    font-weight: 800;
    color: #8fa0ad;
    letter-spacing: 0.04em;
}

/* Center Group: Outcome & Score */
.v-row-center-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    min-width: 140px;
    margin-left: 16px;
}

.v-row-result-text {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 15.5px;
    font-weight: 900;
    letter-spacing: 0.06em;
    line-height: 1.15;
    text-transform: uppercase;
}

.v-row-result-text.win {
    color: #00f59b;
    text-shadow: 0 0 10px rgba(0, 245, 155, 0.5);
}

.v-row-result-text.loss {
    color: #ff4655;
    text-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}

.v-row-result-text.draw {
    color: #facc15;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.5);
}

.v-row-score-nums {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #ece8e1;
    letter-spacing: 0.04em;
}

/* MVP Slot (Positioned between Score and Map Splash) */
.v-row-mvp-slot {
    position: relative;
    z-index: 5;
    margin-left: auto;
    margin-right: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.v-row-mvp-badge.match {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 900;
    color: #facc15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
    white-space: nowrap;
}

.v-row-mvp-badge.team {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Right Group: Map Splash Art stretching to the right edge */
.v-row-right-group {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 320px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none;
}

.v-row-map-splash {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.75) 45%, black 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.75) 45%, black 100%);
    opacity: 0.92;
    pointer-events: none;
}

/* ======================================================= */
/* 3. IN-GAME POST-MATCH SCREENS (IMAGES 2, 3, 4, 5)       */
/* ======================================================= */
.v-riot-detail-view {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-height: 0;
}

/* Top Bar: Back Button + Big Centered In-Game Score */
.v-post-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px;
    height: 42px;
    flex-shrink: 0;
}

.v-back-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ece8e1;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 2px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-transform: uppercase;
}

.v-back-btn:hover {
    background: #00d2d3;
    border-color: #00d2d3;
    color: #081017;
    box-shadow: 0 0 10px rgba(0, 210, 211, 0.6);
}

.v-post-header-score {
    display: flex;
    align-items: center;
    gap: 12px;
}

.v-post-score-num {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}

.v-post-score-num.win {
    color: #00f59b;
    text-shadow: 0 0 14px rgba(0, 245, 155, 0.5);
}

.v-post-score-num.loss {
    color: #ff4655;
    text-shadow: 0 0 14px rgba(255, 70, 85, 0.5);
}

.v-post-status-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
}

.v-post-status-title.win {
    color: #ffffff;
    text-shadow: 0 0 16px rgba(0, 245, 155, 0.6);
}

.v-post-status-title.loss {
    color: #ffffff;
    text-shadow: 0 0 16px rgba(255, 70, 85, 0.6);
}

/* Sub-Tabs (Summary | Scoreboard | Timeline | Performance) */
.v-post-sub-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 4px;
    flex-shrink: 0;
}

.v-post-tab-btn {
    background: transparent;
    border: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: #728492;
    letter-spacing: 0.08em;
    padding: 2px 4px 6px 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.18s ease;
    text-transform: uppercase;
}

.v-post-tab-btn:hover {
    color: #ece8e1;
}

.v-post-tab-btn.active {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.v-post-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2.5px;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

/* Tab Content Canvas */
.v-post-tab-content {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    min-height: 0;
}

.v-post-tab-content::-webkit-scrollbar {
    width: 4px;
}

.v-post-tab-content::-webkit-scrollbar-thumb {
    background: #00d2d3;
    border-radius: 2px;
}

/* ======================================================= */
/* TAB 1: SUMMARY (IMAGE 2)                                */
/* ======================================================= */
.v-summary-grid {
    display: grid;
    grid-template-columns: 240px 1fr 340px;
    gap: 16px;
    height: 100%;
    align-items: stretch;
}

/* Left: Meta & Standing Agent */
.v-summary-agent-col {
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
}

.v-summary-meta-top {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    color: #8899a6;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.v-summary-agent-img-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    min-height: 300px;
    overflow: visible;
}

.v-summary-full-agent {
    max-height: 340px;
    height: 100%;
    width: auto;
    object-fit: contain;
    object-position: bottom center;
    transform: scale(1.15);
    transform-origin: bottom center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.85));
    pointer-events: none;
}

/* Middle: Player Card + 6 Highlight Badges */
.v-summary-mid-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.v-summary-player-banner {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 12px;
    background: transparent;
    border: none;
    padding: 0;
}

.v-sum-framed-row {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.v-sum-framed-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: #ece8e1;
}

.v-sum-framed-row.bottom {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.v-sum-framed-row.bottom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4px;
    height: 4px;
    background: #ece8e1;
}

.v-sum-cell {
    display: flex;
    flex-direction: column;
}

.v-sum-cell.left {
    align-items: flex-start;
}

.v-sum-cell.right {
    align-items: flex-end;
}

.v-sum-pname {
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.v-sum-pagent {
    font-size: 11px;
    font-weight: 500;
    color: #728492;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 2px;
}

.v-sum-val {
    font-size: 16px;
    font-weight: 800;
    color: #ece8e1;
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.v-sum-lbl {
    font-size: 10px;
    font-weight: 600;
    color: #728492;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2px;
}

.v-summary-badges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.v-summary-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.v-badge-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
    color: #ffffff;
    background: #eab308;
    box-shadow: 0 0 14px rgba(234, 179, 8, 0.5);
}

.v-badge-circle.red {
    background: #ff4655;
    box-shadow: 0 0 14px rgba(255, 70, 85, 0.5);
}

.v-badge-label {
    font-size: 10px;
    font-weight: 800;
    color: #8899a6;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Right: Match Highlights Table (1:1 Checkerboard Matrix) */
.v-summary-highlights-box {
    background: rgba(10, 20, 28, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.v-hl-header-grid {
    display: grid;
    grid-template-columns: 1fr 64px 64px 72px;
    background: transparent;
    padding: 6px 0;
    align-items: end;
    border-bottom: 2px solid rgba(0, 0, 0, 0.6);
}

.v-hl-th-title {
    font-size: 11px;
    font-weight: 700;
    color: #ece8e1;
    letter-spacing: 0.04em;
    padding-left: 12px;
    text-transform: uppercase;
}

.v-hl-th-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.v-hl-th-phase {
    font-size: 13px;
    font-weight: 900;
    color: #00f59b;
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-transform: uppercase;
}

.v-hl-th-phase.ot {
    color: #8fa0ad;
    font-size: 11px;
    font-weight: 800;
}

.v-hl-th-sub {
    font-size: 8.5px;
    font-weight: 600;
    color: #8fa0ad;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v-hl-matrix-grid {
    display: grid;
    grid-template-columns: 1fr 64px 64px 72px;
    gap: 1.5px;
    background: rgba(0, 0, 0, 0.7);
    padding: 1px 0 0 0;
}

.v-hl-label-cell {
    background: #0f1e29;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 10px;
    font-weight: 700;
    color: #b0c0ce;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    min-height: 38px;
}

.v-hl-label-cell.major {
    font-size: 11.5px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.v-hl-val-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    min-height: 38px;
    user-select: none;
    transition: filter 0.15s ease;
}

.v-hl-val-cell:hover {
    filter: brightness(1.15);
}

/* Color variations 1:1 with Screenshot */
.v-hl-val-cell.green-bright {
    background: #147b67;
    color: #ffffff;
    font-weight: 900;
}

.v-hl-val-cell.red-bright {
    background: #8b2b3d;
    color: #ffffff;
    font-weight: 900;
}

.v-hl-val-cell.red-dark {
    background: #5c202d;
    color: #e2c0c7;
    font-weight: 800;
}

.v-hl-val-cell.teal-muted {
    background: #113942;
    color: #c2e2e8;
    font-weight: 700;
}

.v-hl-val-cell.slate-dark {
    background: #1b2631;
    color: #8fa0ad;
    font-weight: 700;
}

/* ======================================================= */
/* TAB 2: SCOREBOARD (IMAGE 3)                             */
/* ======================================================= */
.v-sb-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.v-sb-header-row {
    display: grid;
    grid-template-columns: 240px 105px 125px 85px 105px 85px 85px;
    padding: 6px 0;
    background: #081017;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    font-weight: 800;
    color: #728492;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    align-items: center;
}

.v-sb-header-row > span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.v-sb-header-row > span:first-child {
    justify-content: flex-start;
    padding-left: 20px;
}

.v-sb-player-row {
    position: relative;
    display: grid;
    grid-template-columns: 240px 105px 125px 85px 105px 85px 85px;
    align-items: center;
    padding: 0;
    height: 48px;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 800;
    color: #ece8e1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.v-sb-player-row > span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.v-sb-player-row.win-team {
    background: linear-gradient(90deg, rgba(0, 85, 90, 0.45) 0%, rgba(10, 35, 42, 0.3) 100%);
    border-color: rgba(0, 210, 211, 0.2);
}

.v-sb-player-row.win-team::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #00f59b;
    z-index: 5;
}

.v-sb-player-row.loss-team {
    background: linear-gradient(90deg, rgba(140, 25, 35, 0.45) 0%, rgba(40, 15, 20, 0.3) 100%);
    border-color: rgba(255, 70, 85, 0.2);
}

.v-sb-player-row.loss-team::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #ff4655;
    z-index: 5;
}

.v-sb-player-row.is-me {
    background: linear-gradient(90deg, rgba(234, 179, 8, 0.32) 0%, rgba(80, 60, 10, 0.25) 100%) !important;
    border: 1px solid #eab308 !important;
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.25);
}

.v-sb-player-row.is-me::before {
    background: #eab308 !important;
}

.v-sb-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.v-sb-agent-icon {
    height: 100%;
    width: 48px;
    object-fit: cover;
    object-position: center top;
    background: transparent !important;
    border: none;
    border-radius: 0;
    flex-shrink: 0;
}

.v-sb-rank-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
}

.v-sb-name-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.v-sb-pname {
    font-weight: 800;
    color: #ffffff;
    font-size: 14.5px;
    letter-spacing: 0.02em;
}

.v-sb-agent-name {
    font-size: 11px;
    color: #8fa0ad;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ======================================================= */
/* TAB 3: PERFORMANCE & DUEL DETAILS (IMAGES 1 & 2)        */
/* ======================================================= */
.v-perf-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.v-perf-header {
    display: grid;
    grid-template-columns: 74px 1fr;
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 800;
    color: #728492;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.v-perf-body {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
}

.v-perf-abilities {
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    padding-top: 10px;
}

.v-perf-ab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.v-perf-ab-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(1.2) drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}

.v-perf-ab-val {
    font-size: 11px;
    font-weight: 800;
    color: #ece8e1;
}

.v-perf-duels-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Duel Item Header Bar (Checkerboard / Szachownica) */
.v-duel-card {
    display: flex;
    flex-direction: column;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0b1720;
}

.v-duel-header-row {
    display: grid;
    grid-template-columns: 210px 40px 1fr;
    align-items: stretch;
    height: 48px;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.v-duel-header-row:hover {
    filter: brightness(1.15);
}

/* 3 Checkerboard Score Blocks (★ 6 | 2 | 0) */
.v-duel-score-checker {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
    height: 100%;
}

.v-checker-block {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
    color: #ffffff;
    gap: 4px;
    user-select: none;
}

.v-checker-block.win-1 {
    background: #095c56;
}

.v-checker-block.win-2 {
    background: #074641;
}

.v-checker-block.win-3 {
    background: #095c56;
}

.v-checker-block.loss-1 {
    background: #5c1822;
}

.v-checker-block.loss-2 {
    background: #461219;
}

.v-checker-block.loss-3 {
    background: #5c1822;
}

.v-duel-vs-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #09131a;
    font-size: 11px;
    font-weight: 800;
    color: #728492;
    text-transform: lowercase;
}

/* Right Enemy Card Banner */
.v-duel-enemy-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px 0 0;
    background: linear-gradient(90deg, #592538 0%, #3e1b29 100%);
    position: relative;
    overflow: hidden;
}

.v-duel-enemy-banner.win-duel {
    background: linear-gradient(90deg, #592538 0%, #381a26 100%);
}

.v-duel-enemy-left {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
}

.v-duel-enemy-face {
    height: 100%;
    width: 48px;
    object-fit: cover;
    object-position: center top;
    background: transparent !important;
    border: none;
    border-radius: 0;
    flex-shrink: 0;
}

.v-duel-enemy-rank {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.v-duel-enemy-names {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.v-duel-enemy-pname {
    font-size: 14.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.v-duel-enemy-agent {
    font-size: 11px;
    font-weight: 500;
    color: #a8949f;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.v-duel-details-tag {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    opacity: 0.9;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.15s ease;
}

.v-duel-header-row:hover .v-duel-details-tag {
    opacity: 1;
}

/* Expanded Duel Breakdown Table */
.v-duel-breakdown-container {
    display: flex;
    flex-direction: column;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #081219;
}

.v-breakdown-header-row {
    display: grid;
    grid-template-columns: 95px 120px 110px 75px 110px 120px 80px;
    padding: 7px 12px;
    background: rgba(0, 0, 0, 0.45);
    font-size: 9.5px;
    font-weight: 800;
    color: #728492;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: center;
}

.v-breakdown-row {
    display: grid;
    grid-template-columns: 95px 120px 110px 75px 110px 120px 80px;
    align-items: center;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 700;
    color: #ece8e1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.v-breakdown-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}

.v-breakdown-row:nth-child(odd) {
    background: rgba(0, 0, 0, 0.25);
}

.v-bd-outcome {
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.v-bd-outcome.kill {
    color: #00f59b;
}

.v-bd-outcome.death {
    color: #ff4655;
}

.v-bd-weapon-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v-bd-weapon-icon {
    height: 18px;
    max-width: 90px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(1.1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8));
}

.v-bd-weapon-name {
    font-size: 11.5px;
    font-weight: 800;
    color: #ffffff;
}

.v-bd-armor-name {
    font-size: 9.5px;
    color: #728492;
    font-weight: 600;
}

.v-bd-dmg-block {
    display: flex;
    align-items: center;
    gap: 6px;
}

.v-bd-hits-mini {
    display: flex;
    flex-direction: column;
    font-size: 8.5px;
    font-weight: 800;
    color: #728492;
    line-height: 1.1;
    text-align: right;
    width: 8px;
}

.v-mannequin-svg {
    width: 14px;
    height: 22px;
    flex-shrink: 0;
}

.v-bd-dmg-val {
    font-size: 13px;
    font-weight: 900;
    color: #728492;
    min-width: 24px;
}

.v-bd-dmg-val.green {
    color: #00f59b;
}

.v-bd-dmg-val.red {
    color: #ff4655;
}

.v-bd-round-cell {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.v-bd-round-num {
    font-size: 11.5px;
    font-weight: 800;
    color: #ffffff;
}

.v-bd-round-status {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.v-bd-round-status.win {
    color: #00f59b;
}

.v-bd-round-status.loss {
    color: #ff4655;
}

/* ======================================================== */
/* Windows 11 Volume Control Flyout (1:1 from User Screenshot) */
/* ======================================================== */
#win-volume-flyout {
    right: 12px;
    bottom: 56px;
    width: 320px;
    background: rgba(30, 30, 32, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
    padding: 12px 16px;
    z-index: 10005;
}

.volume-flyout-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.volume-app-icon-wrapper {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.volume-app-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.volume-slider-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
}

/* Modern Windows 11 Slider (Cyan Accent 1:1) */
.volume-range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #00f2fe 0%, #00f2fe var(--vol-percent, 35%), rgba(255, 255, 255, 0.25) var(--vol-percent, 35%), rgba(255, 255, 255, 0.25) 100%);
    outline: none;
    cursor: pointer;
    transition: background 0.05s ease;
}

.volume-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 8px;
    height: 20px;
    border-radius: 4px;
    background: #00f2fe;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 242, 254, 0.5);
    transition: transform 0.1s ease, background 0.15s ease;
}

.volume-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: #4ef6ff;
}

.volume-range-input::-moz-range-thumb {
    width: 8px;
    height: 20px;
    border-radius: 4px;
    background: #00f2fe;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 242, 254, 0.5);
}

.volume-percentage-text {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    min-width: 32px;
    text-align: right;
    font-family: 'Segoe UI Variable Display', 'Segoe UI', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Windows 11 Language Switcher Flyout (1:1 Acrylic UI)
   ========================================================================== */
.lang-flyout {
    position: fixed;
    right: 120px;
    bottom: 56px;
    width: 260px;
    background: rgba(30, 30, 32, 0.94);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
    padding: 10px;
    z-index: 10005;
    display: none;
    flex-direction: column;
    gap: 6px;
    box-sizing: border-box;
    font-family: 'Segoe UI Variable Text', 'Segoe UI', system-ui, sans-serif;
}

.lang-flyout.active {
    display: flex;
    animation: flyoutSlideUp 0.18s cubic-bezier(0.1, 0.9, 0.2, 1);
}

.lang-flyout-header {
    padding: 4px 8px 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lang-flyout-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.lang-options-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.lang-option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease, border-color 0.15s ease;
    width: 100%;
    box-sizing: border-box;
}

.lang-option-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.lang-option-item.selected {
    background: rgba(0, 242, 254, 0.12);
    border-color: rgba(0, 242, 254, 0.35);
}

.lang-flag-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    display: block;
}

.lang-option-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.lang-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
}

.lang-sub {
    font-size: 10.5px;
    color: #9ca3af;
}

.lang-check-icon {
    font-size: 14px;
    color: #00f2fe;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.lang-option-item.selected .lang-check-icon {
    opacity: 1;
}

/* ======================================================= */
/* STEAM PROFILE WINDOW (Compact & Unified Authentic Steam) */
/* ======================================================= */
.steam-window {
    width: 740px;
    max-width: calc(100vw - 32px);
    height: auto;
    max-height: calc(100vh - 80px);
    background: radial-gradient(circle at 80% 20%, rgba(45, 30, 55, 0.65) 0%, rgba(19, 26, 37, 0.98) 60%);
    backdrop-filter: blur(35px) saturate(160%);
    -webkit-backdrop-filter: blur(35px) saturate(160%);
    border: 1px solid rgba(103, 193, 245, 0.22);
    border-radius: 12px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.92), 0 0 40px rgba(103, 193, 245, 0.12), inset 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    overflow: visible; /* Allows companion sidecar to extend cleanly on the right */
    color: #c6d4df;
    font-family: 'Motiva Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    position: fixed;
    bottom: 56px;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) translateY(24px) scale(0.88);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(6px);
    transition: opacity 0.22s var(--macos-spring-close),
                transform 0.25s var(--macos-spring-close),
                filter 0.22s ease,
                visibility 0.25s;
    will-change: transform, opacity, filter;
    z-index: 9999;
}

.steam-window .win11-titlebar {
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
    overflow: hidden;
}

.steam-window .win11-btn.close {
    border-top-right-radius: 11px;
}

.steam-profile-canvas {
    border-bottom-left-radius: 11px;
    border-bottom-right-radius: 11px;
}

.steam-window.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
    filter: blur(0px);
    transition: opacity 0.34s var(--macos-smooth-ease),
                transform 0.38s var(--macos-spring-open),
                filter 0.34s var(--macos-smooth-ease),
                visibility 0.34s;
}

.steam-window.is-dragged {
    transition: none !important;
}

.steam-profile-canvas {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    box-sizing: border-box;
}

.steam-profile-canvas::-webkit-scrollbar {
    width: 6px;
}

.steam-profile-canvas::-webkit-scrollbar-track {
    background: transparent;
}

.steam-profile-canvas::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

/* Header Row */
.steam-header-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.steam-avatar-wrapper {
    position: relative;
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: visible;
    background: #1b2838;
    cursor: pointer;
}

.steam-avatar-wrapper.online,
.steam-avatar-wrapper.in-game {
    box-shadow: 0 0 0 2px #90ba3c, 0 4px 16px rgba(144, 186, 60, 0.45);
}

.steam-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 4px;
}

.steam-avatar-frame-overlay {
    position: absolute;
    top: -14%;
    left: -14%;
    width: 128%;
    height: 128%;
    pointer-events: none;
    z-index: 3;
}

.steam-user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 2px;
}

.steam-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.steam-username {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
}

.steam-name-row:hover .steam-username {
    color: #67c1f5;
}

.steam-arrow-dropdown {
    font-size: 13px;
    color: #cbd5e1;
}

.steam-location-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.steam-flag-icon {
    width: 16px;
    height: 11px;
    border-radius: 2px;
    object-fit: contain;
}

.steam-location-name {
    font-size: 11.5px;
    color: #cbd5e1;
}

.steam-bio-lines {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.steam-bio-lines p {
    margin: 0;
    color: #ffffff;
}

.steam-bio-lines span {
    font-weight: 700;
    color: #ffffff;
}

/* Level Column (Right Top) */
.steam-level-column {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.steam-level-badge-row {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.steam-level-badge-row:hover {
    transform: scale(1.04);
}

.steam-level-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.steam-level-number-pill {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #a83b54;
    background: rgba(168, 59, 84, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(168, 59, 84, 0.4);
}

.steam-service-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 4px 10px;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.steam-service-card:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(103, 193, 245, 0.5);
    transform: translateY(-1px);
}

.steam-service-badge-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.steam-service-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.6));
    display: block;
}

.steam-service-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.steam-service-title {
    font-size: 11px;
    color: #ffffff;
    font-weight: 600;
}

.steam-service-xp {
    font-size: 10px;
    color: #cbd5e1;
}

/* Showcase Grid (Unified Single Background) */
.steam-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 210px;
    gap: 16px;
}

.steam-showcase-card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.steam-showcase-header {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.02em;
    padding-bottom: 2px;
}

.steam-stats-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.steam-stat-block {
    display: flex;
    flex-direction: column;
    gap: 1px;
    cursor: pointer;
    transition: transform 0.15s ease;
}

.steam-stat-block:hover {
    transform: translateY(-2px);
}

.steam-stat-block:hover .steam-stat-sub {
    color: #67c1f5;
}

.steam-stat-big {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
}

.steam-stat-sub {
    font-size: 10.5px;
    color: #cbd5e1;
    transition: color 0.15s ease;
}

.steam-featured-games-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.steam-featured-title {
    font-size: 10px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.steam-games-capsules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.steam-game-capsule {
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    aspect-ratio: 231 / 87;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    background: #1b2838;
}

.steam-game-capsule:hover {
    transform: translateY(-2px) scale(1.03);
    border-color: #67c1f5;
    box-shadow: 0 4px 12px rgba(103, 193, 245, 0.4);
}

.steam-game-capsule img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.steam-collector-recent-hours {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 6px 10px;
    margin-top: 2px;
    box-sizing: border-box;
}

.steam-collector-recent-label {
    font-size: 11px;
    color: #cbd5e1;
}

.steam-collector-recent-val {
    font-size: 11.5px;
    font-weight: 600;
    color: #90ba3c;
}

/* Right Column of Showcase (Seamless on same background) */
.steam-col-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.steam-in-game-card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.steam-in-game-status {
    font-size: 11px;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.steam-in-game-app {
    display: flex;
    align-items: center;
    gap: 6px;
}

.steam-in-game-title {
    font-size: 13px;
    font-weight: 600;
    color: #90ba3c;
}

.steam-badges-card {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.steam-badges-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.15s ease;
}

.steam-badges-header:hover {
    color: #67c1f5;
}

.steam-badges-count {
    color: #cbd5e1;
}

.steam-badges-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
}

.steam-badge-pill {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease;
    padding: 0;
    box-sizing: border-box;
}

.steam-badge-pill:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 8px rgba(103, 193, 245, 0.6));
}

.steam-badge-pill img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.steam-quick-links {
    background: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
}

.steam-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.15s ease;
}

.steam-link-row:hover {
    color: #67c1f5;
}

.steam-link-count {
    color: #cbd5e1;
}

/* ======================================================= */
/* STEAM PROFILE COMMENTS COMPANION WINDOW (On the Right)  */
/* ======================================================= */
.steam-comments-sidecar {
    position: absolute;
    left: calc(100% + 12px);
    top: 0;
    bottom: 0;
    width: 360px;
    max-height: 100%;
    background: radial-gradient(circle at 50% 15%, rgba(45, 30, 55, 0.75) 0%, rgba(19, 26, 37, 0.98) 70%);
    backdrop-filter: blur(35px) saturate(160%);
    -webkit-backdrop-filter: blur(35px) saturate(160%);
    border: 1px solid rgba(103, 193, 245, 0.22);
    border-radius: 10px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform-origin: left center;
    transform: translateX(-24px) scale(0.92);
    filter: blur(4px);
    transition: opacity 0.22s var(--macos-spring-close),
                transform 0.25s var(--macos-spring-close),
                filter 0.22s ease,
                visibility 0.25s;
    will-change: transform, opacity, filter;
    z-index: 100;
}

.steam-comments-sidecar.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    filter: blur(0px);
    transition: opacity 0.34s var(--macos-smooth-ease),
                transform 0.38s var(--macos-spring-open),
                filter 0.34s var(--macos-smooth-ease),
                visibility 0.34s;
}

.steam-comments-list {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
}

.steam-comments-list::-webkit-scrollbar {
    width: 5px;
}

.steam-comments-list::-webkit-scrollbar-track {
    background: transparent;
}

.steam-comments-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.steam-comment-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    padding: 9px 11px;
    box-sizing: border-box;
    transition: background 0.25s ease,
                border-color 0.25s ease,
                transform 0.25s cubic-bezier(0.34, 1.45, 0.64, 1),
                box-shadow 0.25s ease;
    will-change: transform;
}

.steam-comment-item:hover {
    background: rgba(0, 0, 0, 0.45);
    border-color: rgba(103, 193, 245, 0.35);
    transform: translateX(3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.steam-comment-avatar {
    width: 38px;
    height: 38px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    background: #1b2838;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.15s ease;
}

.steam-comment-avatar:hover {
    transform: scale(1.06);
}

.steam-comment-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.steam-comment-author-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.steam-comment-author-name {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.steam-comment-author-name:hover {
    color: #67c1f5;
}

.steam-comment-date {
    font-size: 10px;
    color: #8f98a0;
    font-weight: 500;
    white-space: nowrap;
}

.steam-comment-text {
    font-size: 11.5px;
    color: #e2e8f0;
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: 'Consolas', 'Menlo', 'Inter', monospace, system-ui;
}

.steam-comments-loading {
    text-align: center;
    color: #cbd5e1;
    font-size: 13px;
    padding: 30px 10px;
}

/* ==========================================================================
   ULTRA ZOOM THEATER & MAGNIFYING LOUPE (LUPA)
   ========================================================================== */
.ultra-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s var(--macos-spring-close),
                visibility 0.24s;
    will-change: opacity;
}

.ultra-zoom-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: flex !important;
    transition: opacity 0.32s var(--macos-smooth-ease),
                visibility 0.32s;
}

.ultra-zoom-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 10, 0.92);
    backdrop-filter: blur(28px) saturate(190%);
    -webkit-backdrop-filter: blur(28px) saturate(190%);
    cursor: zoom-out;
}

.ultra-zoom-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 95vw;
    max-height: 95vh;
    box-sizing: border-box;
    transform: scale(0.85);
    filter: blur(6px);
    transition: transform 0.24s var(--macos-spring-close),
                filter 0.24s ease;
    will-change: transform, filter;
}

.ultra-zoom-overlay.is-active .ultra-zoom-container {
    transform: scale(1);
    filter: blur(0px);
    transition: transform 0.38s var(--macos-spring-open),
                filter 0.32s var(--macos-smooth-ease);
}

.ultra-zoom-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px 10px 12px;
    box-sizing: border-box;
    color: #ffffff;
    user-select: none;
}

.ultra-zoom-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ultra-zoom-badge {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    color: #000000;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 3px 8px;
    border-radius: 4px;
}

.ultra-zoom-filename {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ultra-zoom-controls {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ultra-zoom-close-btn {
    position: fixed;
    top: 24px;
    right: 28px;
    z-index: 1000001;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ultra-zoom-close-btn:hover {
    background: #e81123;
    border-color: #e81123;
    transform: scale(1.08);
}

.ultra-zoom-media-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 92vw;
    max-height: 86vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 242, 254, 0.2);
    background: rgba(0, 0, 0, 0.5);
    cursor: crosshair;
}

.ultra-zoom-media-stage img,
.ultra-zoom-media-stage video {
    max-width: 92vw;
    max-height: 86vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: auto;
    border-radius: 12px;
}

/* Circular Magnifier Loupe (Lupa) */
.zoom-magnifier-lens {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.9), inset 0 0 25px rgba(255, 255, 255, 0.3), 0 0 0 2px rgba(0, 242, 254, 0.8);
    pointer-events: none;
    display: none;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
    transition: opacity 0.15s ease, transform 0.15s cubic-bezier(0.34, 1.42, 0.64, 1);
    background-repeat: no-repeat;
    z-index: 1000;
    cursor: none;
}

.zoom-magnifier-lens.is-active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.zoom-magnifier-lens::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translate(-50%, -50%);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
}