/*! YASHI PLAYER v1.0.4 - Beta | (c) 2026 YASHI PLAYER */
/* /css/index_home.css */
/* V24.0 - Login (Preservado) + Home Refinada (Direção de Arte Comercial + Foco Exclusivo LG webOS) */

.home-body,
.login-body {
    --home-bg-dark: #070a10;
    --home-bg-light: #101624;
    --yashi-cyan: #00F0FF;
    --yashi-purple: #7928CA;
    --yashi-magenta: #FF007F;
    --rgb-gradient: linear-gradient(135deg, #00F0FF 0%, #7928CA 50%, #FF007F 100%);
    position: relative;
    overflow-x: hidden;
}

.ambient-rgb-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(95px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.ambient-rgb-orb.orb-cyan {
    width: 380px;
    height: 380px;
    background: #00F0FF;
    top: -100px;
    left: -100px;
}

.ambient-rgb-orb.orb-magenta {
    width: 420px;
    height: 420px;
    background: #FF007F;
    bottom: -120px;
    right: -100px;
}

/* =========================================
   SEÇÃO 1: TELA DE LOGIN (INDEX.HTML)
   ========================================= */
.login-body {
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 35%, #141c2e 0%, #06080d 80%);
    font-family: 'Inter', sans-serif;
}

.login-container {
    background: rgba(13, 18, 30, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    padding: 28px 30px;
    border-radius: 24px;
    width: 100%;
    max-width: 415px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-align: center;
    position: relative;
    z-index: 10;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00F0FF, #7928CA, #FF007F, transparent);
}

.login-logo {
    max-width: 105px;
    height: auto;
    margin: 0 auto 6px auto;
    filter: drop-shadow(0 0 14px rgba(0, 240, 255, 0.35));
}

.login-tagline {
    color: #94a3b8;
    margin-bottom: 18px;
    font-size: 0.82rem;
}

.login-input-group {
    text-align: left;
    margin-bottom: 12px;
}

.login-input-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.8rem;
}

.login-input-group label i {
    color: var(--yashi-cyan);
    font-size: 0.78rem;
}

.login-container input,
.partner-select {
    width: 100%;
    padding: 11px 14px;
    background: rgba(5, 8, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.partner-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300F0FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px;
    margin-bottom: 6px;
}

.partner-select option,
.partner-select optgroup {
    background-color: #0d121d;
    color: #fff;
}

.login-container input:focus,
.partner-select:focus {
    border-color: var(--yashi-cyan);
    background: rgba(5, 8, 15, 0.85);
    box-shadow: 0 0 0 2px rgba(0, 240, 255, 0.22);
}

.m3u-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.m3u-divider::before,
.m3u-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.m3u-divider span {
    padding: 0 10px;
}

.m3u-file-button {
    width: 100%;
    padding: 12px 14px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px dashed rgba(0, 240, 255, 0.4);
    border-radius: 10px;
    color: var(--yashi-cyan);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.m3u-file-button:hover,
.m3u-file-button:focus-visible {
    background: rgba(0, 240, 255, 0.14);
    border-style: solid;
    border-color: var(--yashi-cyan);
    color: #fff;
}

#loginButton {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    background: var(--rgb-gradient);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 24px rgba(0, 240, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

#loginButton:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 240, 255, 0.38);
}

body.platform-webos #loginButton:focus {
    box-shadow: 0 0 0 3px #ffffff, 0 10px 28px rgba(0, 240, 255, 0.45);
}

.login-mode-switch-wrapper {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mode-switch-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 10px 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.mode-switch-btn i {
    color: var(--yashi-cyan);
}

.mode-switch-btn:hover,
.mode-switch-btn:focus-visible {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--yashi-cyan);
    color: #fff;
}

#error-message {
    color: #ff4d6d;
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    min-height: 18px;
    line-height: 1.35;
}

#login-loader {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
    gap: 15px;
}

.loading-yashi {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 6px;
    color: #fff;
}

#loading-status {
    color: var(--yashi-cyan);
    font-size: 0.9rem;
    font-weight: 600;
}

/* =========================================
   SEÇÃO 1.5: MODAL DE SELEÇÃO DE MODO
   ========================================= */
.mode-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 7, 12, 0.92);
    backdrop-filter: blur(18px);
    z-index: 9000;
    display: none;
    justify-content: center;
    align-items: center;
}

.mode-overlay.active {
    display: flex;
}

.mode-selection-container {
    text-align: center;
    max-width: 780px;
    width: 92%;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.mode-selection-container h2 {
    font-size: 1.85rem;
    color: #fff;
    margin: 0 0 8px 0;
}

.mode-selection-container p {
    color: #94a3b8;
    margin: 0 0 28px 0;
    font-size: 0.96rem;
}

.mode-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.mode-card {
    background: rgba(16, 22, 36, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 30px 24px;
    width: 280px;
    cursor: pointer;
    transition: transform 0.22s ease, border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
}

.mode-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 240, 255, 0.55);
    background: rgba(20, 29, 48, 0.96);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
}

body.platform-webos .mode-card:focus {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px #ffffff, 0 16px 36px rgba(0, 240, 255, 0.35);
    outline: none;
}

.mode-icon {
    font-size: 3rem;
    margin-bottom: 14px;
    background: var(--rgb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mode-card h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
}

.mode-card p {
    color: #94a3b8;
    font-size: 0.84rem;
    margin: 0;
    line-height: 1.45;
}

/* ============================================================
   SEÇÃO 2: HOME REFINADA — DIREÇÃO DE ARTE COMERCIAL
   ============================================================ */
.home-body {
    --surface-canvas: #070a10;
    --surface-hud: rgba(13, 18, 29, 0.84);
    --surface-hero: linear-gradient(150deg, #10192b 0%, #0b111e 62%, #090e19 100%);
    --surface-card: #0c111d;
    --surface-card-hover: #111829;
    --surface-subtle: rgba(255, 255, 255, 0.026);
    --surface-dock: #0a0e18;

    --border-hairline: rgba(255, 255, 255, 0.075);
    --border-soft: rgba(255, 255, 255, 0.12);
    --border-top-spec: rgba(255, 255, 255, 0.14);

    --text-primary: #f3f6fb;
    --text-secondary: #8c9ab2;
    --text-muted: #5d6b82;

    --accent-cyan: #00e5ff;
    --accent-blue: #4f8cff;
    --accent-magenta: #f0438c;
    --accent-violet: #a78bfa;
    --accent-gold: #eab308;
    --accent-live: #ff3b5c;
    --accent-danger: #f43f5e;

    --radius-hero: 20px;
    --radius-card: 16px;
    --radius-row: 14px;
    --radius-tool: 12px;
    --radius-btn: 10px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

    margin: 0;
    padding: 24px 32px;
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background-color: var(--surface-canvas);
    background-image:
        radial-gradient(ellipse 68% 48% at 12% 0%, rgba(0, 229, 255, 0.065) 0%, transparent 62%),
        radial-gradient(ellipse 52% 44% at 92% 100%, rgba(240, 67, 140, 0.055) 0%, transparent 60%),
        linear-gradient(180deg, #090d16 0%, #06090f 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home-body .lucide-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    display: block;
}

.home-body .lucide-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
}

.yashi-home-shell {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1260px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Barra Superior (HUD) */
.home-hud {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 16px;
    border-radius: var(--radius-card);
    background: var(--surface-hud);
    border: 1px solid var(--border-hairline);
    border-top-color: var(--border-top-spec);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.36);
}

.hud-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex-shrink: 0;
}

.hud-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(0, 229, 255, 0.22));
}

.hud-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.home-brand-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    color: var(--text-primary);
}

.hud-brand-sub {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hud-center-meta {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.home-status-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.status-pill strong {
    color: var(--text-primary);
    font-weight: 600;
}

.status-pill i {
    color: var(--accent-cyan);
    font-size: 0.74rem;
    opacity: 0.9;
}

.hud-quick-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hud-pill-btn {
    appearance: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: var(--radius-btn);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-hairline);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.hud-pill-btn .lucide-icon {
    width: 15px;
    height: 15px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.hud-pill-btn.hud-search-btn {
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.22);
}

.hud-pill-btn.hud-search-btn .lucide-icon {
    color: var(--accent-cyan);
}

.hud-pill-btn:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--border-soft);
    transform: translateY(-1px);
}

.hud-pill-btn:hover .lucide-icon {
    color: var(--accent-cyan);
}

/* Palco Assimétrico Principal */
.home-stage {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bento-primary {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 16px;
    align-items: stretch;
}

.glass-tile {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    border-radius: var(--radius-card);
    background: var(--surface-card);
    border: 1px solid var(--border-hairline);
    border-top-color: var(--border-top-spec);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    transition: transform 0.24s var(--ease-out), border-color 0.22s ease, background-color 0.22s ease, box-shadow 0.24s ease;
}

.glass-tile:hover {
    transform: translateY(-2px);
    background: var(--surface-card-hover);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.45);
}

/* Destaque Principal: Canais Ao Vivo */
.tile-hero-live {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 28px 28px;
    min-height: 312px;
    border-radius: var(--radius-hero);
    background:
        radial-gradient(ellipse 85% 65% at 100% 0%, rgba(0, 229, 255, 0.11) 0%, transparent 62%),
        var(--surface-hero);
    border-color: rgba(0, 229, 255, 0.18);
    border-top-color: rgba(0, 229, 255, 0.3);
}

.tile-hero-live:hover {
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgba(0, 229, 255, 0.16) 0%, transparent 65%),
        linear-gradient(150deg, #131e33 0%, #0d1424 62%, #0a101d 100%);
    border-color: rgba(0, 229, 255, 0.38);
}

.tile-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.live-pulse-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 59, 92, 0.12);
    border: 1px solid rgba(255, 59, 92, 0.28);
    color: #fda4af;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-live);
}

.tile-kicker {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.tile-arrow {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    transition: transform 0.22s var(--ease-out), color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.tile-arrow .lucide-icon {
    width: 15px;
    height: 15px;
}

.glass-tile:hover .tile-arrow {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateX(2px);
}

.tile-hero-live:hover .tile-arrow {
    transform: translate(2px, -2px);
    color: var(--accent-cyan);
    border-color: rgba(0, 229, 255, 0.3);
}

.tile-hero-center {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: auto;
}

.tile-icon-orb {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.24s var(--ease-out), border-color 0.22s ease, background-color 0.22s ease;
}

.tile-icon-orb .lucide-icon {
    width: 22px;
    height: 22px;
}

.tile-icon-orb.orb-hero {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.24);
    color: var(--accent-cyan);
}

.tile-icon-orb.orb-hero .lucide-icon {
    width: 26px;
    height: 26px;
}

.tile-icon-orb.orb-blue-tint {
    background: rgba(79, 140, 255, 0.1);
    border-color: rgba(79, 140, 255, 0.22);
    color: #7aa7ff;
}

.tile-icon-orb.orb-magenta-tint {
    background: rgba(240, 67, 140, 0.1);
    border-color: rgba(240, 67, 140, 0.22);
    color: #f472b6;
}

.tile-copy h2 {
    margin: 0 0 6px 0;
    font-size: 1.32rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--text-primary);
}

.tile-hero-live .tile-copy h2 {
    font-size: clamp(1.65rem, 2.1vw, 2.05rem);
    letter-spacing: -0.03em;
}

.tile-copy p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.48;
    color: var(--text-secondary);
    max-width: 34ch;
}

/* Coluna Direita Assimétrica */
.bento-right-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bento-vod-row {
    display: grid;
    grid-template-columns: 1.06fr 1fr;
    gap: 16px;
    flex: 1;
}

.tile-movies,
.tile-series {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 22px 22px;
    min-height: 206px;
}

.tile-movies:hover {
    border-color: rgba(79, 140, 255, 0.32);
}

.tile-series:hover {
    border-color: rgba(240, 67, 140, 0.32);
}

.tile-vod-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 16px;
}

/* Faixa Pessoal */
.bento-personal-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
}

.tile-continue,
.tile-favorites {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    border-radius: var(--radius-row);
    min-height: 82px;
    background: var(--surface-subtle);
    box-shadow: none;
}

.tile-continue:hover,
.tile-favorites:hover {
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.tile-icon-chip {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.tile-icon-chip .lucide-icon {
    width: 19px;
    height: 19px;
}

.tile-icon-chip.chip-cyan {
    background: rgba(0, 229, 255, 0.09);
    color: var(--accent-cyan);
}

.tile-icon-chip.chip-gold {
    background: rgba(234, 179, 8, 0.1);
    color: var(--accent-gold);
}

.tile-inline-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.tile-inline-copy h3 {
    margin: 0;
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-inline-copy span {
    font-size: 0.77rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-chevron {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
    transition: transform 0.2s var(--ease-out), color 0.2s ease;
}

.tile-continue:hover .tile-chevron,
.tile-favorites:hover .tile-chevron {
    transform: translateX(3px);
    color: var(--text-primary);
}

/* Painel Inferior Integrado: Recursos Avançados + Sistema */
.bento-dock-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) 1px minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    padding: 16px 20px;
    border-radius: var(--radius-card);
    background: var(--surface-dock);
    border: 1px solid var(--border-hairline);
}

.dock-group {
    display: flex;
    flex-direction: column;
    gap: 11px;
    min-width: 0;
}

.dock-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dock-label {
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.dock-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.07);
}

.dock-pro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    flex: 1;
}

.glass-tool-card {
    appearance: none;
    text-decoration: none;
    text-align: left;
    font-family: inherit;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border-radius: var(--radius-tool);
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.2s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
}

.tool-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tool-icon .lucide-icon {
    width: 17px;
    height: 17px;
}

.tool-multitela .tool-icon {
    background: rgba(0, 229, 255, 0.09);
    color: var(--accent-cyan);
}

.tool-parental .tool-icon {
    background: rgba(167, 139, 250, 0.1);
    color: var(--accent-violet);
}

.tool-sync .tool-icon {
    background: rgba(79, 140, 255, 0.1);
    color: #7aa7ff;
}

.tool-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.tool-text strong {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tool-text small {
    font-size: 0.71rem;
    color: var(--text-secondary);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.glass-tool-card:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.dock-system-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    flex: 1;
}

.glass-util-btn {
    appearance: none;
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: var(--radius-btn);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.065);
    color: #cbd5e1;
    font-size: 0.81rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.glass-util-btn .lucide-icon {
    width: 15px;
    height: 15px;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.glass-util-btn:hover {
    background: rgba(255, 255, 255, 0.065);
    border-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.glass-util-btn:hover .lucide-icon {
    color: var(--accent-cyan);
}

.glass-util-btn.util-danger {
    color: #fda4af;
    border-color: rgba(244, 63, 94, 0.16);
    background: rgba(244, 63, 94, 0.04);
}

.glass-util-btn.util-danger .lucide-icon {
    color: var(--accent-danger);
}

.glass-util-btn.util-danger:hover {
    background: rgba(244, 63, 94, 0.14);
    border-color: rgba(244, 63, 94, 0.42);
    color: #ffffff;
}

.glass-util-btn.util-danger:hover .lucide-icon {
    color: #ffffff;
}

/* Rodapé Discreto */
.home-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 4px 0;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.home-footer .yashi-version-chip.inline-version-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.075);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.71rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-footer .yashi-version-chip.inline-version-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* Modal Parcerias */
#partners-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 6, 12, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#partners-modal-overlay.active {
    display: flex;
}

.partners-modal-box {
    background: #0e1422;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top-color: rgba(255, 255, 255, 0.2);
    padding: 26px 28px;
    border-radius: 18px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
}

.partners-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.modal-header h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 600;
}

.modal-close-button {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.modal-close-button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.partner-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.22);
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px 0 14px;
}

.partner-icon-wrap .lucide-icon {
    width: 24px;
    height: 24px;
}

.highlight-text {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 0 0 8px 0;
}

.highlight-text strong {
    color: var(--text-primary);
}

.whatsapp-button {
    background: #16a34a;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.whatsapp-button:hover {
    background: #15803d;
    transform: translateY(-1px);
}

/* ============================================================
   FOCO POR PLATAFORMA
   - Contorno branco EXCLUSIVO para LG webOS (body.platform-webos)
   - Android TV e Navegadores: destaque limpo sem contorno branco
   ============================================================ */
body.platform-webos.home-body .glass-tile:focus,
body.platform-webos.home-body .hud-pill-btn:focus,
body.platform-webos.home-body .glass-tool-card:focus,
body.platform-webos.home-body .glass-util-btn:focus,
body.platform-webos.home-body .yashi-version-chip:focus,
body.platform-webos.home-body .modal-close-button:focus,
body.platform-webos.home-body .whatsapp-button:focus {
    outline: none !important;
    border-color: #ffffff !important;
    box-shadow:
        0 0 0 2.5px #ffffff,
        0 14px 32px rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.018);
    z-index: 50;
}

body:not(.platform-webos).home-body .glass-tile:focus-visible,
body:not(.platform-webos).home-body .hud-pill-btn:focus-visible,
body:not(.platform-webos).home-body .glass-tool-card:focus-visible,
body:not(.platform-webos).home-body .glass-util-btn:focus-visible,
body:not(.platform-webos).home-body .yashi-version-chip:focus-visible,
body:not(.platform-webos).home-body .modal-close-button:focus-visible,
body:not(.platform-webos).home-body .whatsapp-button:focus-visible,
body.platform-android-tv.home-body .glass-tile:focus,
body.platform-android-tv.home-body .hud-pill-btn:focus,
body.platform-android-tv.home-body .glass-tool-card:focus,
body.platform-android-tv.home-body .glass-util-btn:focus,
body.platform-android-tv.home-body .yashi-version-chip:focus,
body.platform-android-tv.home-body .modal-close-button:focus,
body.platform-android-tv.home-body .whatsapp-button:focus {
    outline: none !important;
    border-color: rgba(0, 229, 255, 0.58) !important;
    background-color: #141d31;
    box-shadow:
        0 0 0 1px rgba(0, 229, 255, 0.35),
        0 14px 30px rgba(0, 0, 0, 0.48) !important;
    transform: translateY(-2px);
    z-index: 50;
}

body.platform-browser.home-body *:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

body.tv-mode.home-body .home-hud {
    background: #0d121e;
}

@supports not (backdrop-filter: blur(1px)) {
    .home-body .home-hud {
        background: #0d121e;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-body *,
    .home-body *::before,
    .home-body *::after {
        transition-duration: 0.01ms !important;
        animation: none !important;
    }
}

/* Responsividade */
@media (min-width: 1500px) {
    .yashi-home-shell {
        max-width: 1380px;
        gap: 20px;
    }
    .tile-hero-live {
        min-height: 350px;
        padding: 32px;
    }
    .tile-movies,
    .tile-series {
        min-height: 232px;
        padding: 24px 26px;
    }
}

@media (max-width: 1120px) {
    .home-body {
        padding: 18px 20px;
    }
    .home-hud {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .hud-center-meta {
        order: 3;
        flex: 1 1 100%;
        justify-content: flex-start;
        padding-top: 8px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
    .home-status-badges {
        justify-content: flex-start;
    }
    .bento-dock-panel {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .dock-divider {
        width: 100%;
        height: 1px;
    }
    .dock-system-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .bento-primary {
        grid-template-columns: 1fr;
    }
    .tile-hero-live {
        min-height: 210px;
        padding: 22px;
    }
    .tile-hero-center {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        margin-top: 18px;
    }
    .dock-pro-grid {
        grid-template-columns: 1fr;
    }
    .dock-system-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-body {
        padding: 14px 12px 20px;
        align-items: flex-start;
    }
    .home-hud {
        padding: 12px 14px;
        gap: 12px;
    }
    .hud-quick-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .hud-pill-btn {
        padding: 9px 10px;
        font-size: 0.78rem;
    }
    .bento-vod-row,
    .bento-personal-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tile-movies,
    .tile-series {
        min-height: auto;
        padding: 18px;
    }
    .tile-vod-body {
        flex-direction: row;
        align-items: center;
        margin-top: 12px;
    }
    .tile-copy h2 {
        font-size: 1.18rem;
    }
    .tile-hero-live .tile-copy h2 {
        font-size: 1.38rem;
    }
    .tile-copy p {
        font-size: 0.8rem;
    }
    .bento-dock-panel {
        padding: 14px;
    }
    .glass-util-btn {
        font-size: 0.78rem;
        padding: 10px 11px;
    }
    .home-footer {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}


/* ==========================================================================
   v1.0.4 - HUD Trocar Conta, Central de Conteúdo & Mini-Botões Copiar/Colar
   ========================================================================== */
.hud-quick-actions {
    gap: 8px;
}

.hud-logout-btn {
    border-color: rgba(255, 77, 109, 0.28);
    color: #ffd5dd;
    background: rgba(255, 77, 109, 0.08);
}

.hud-logout-btn .lucide-icon {
    color: #ff6b86;
}

.hud-logout-btn:hover,
.hud-logout-btn:focus-visible {
    background: rgba(255, 77, 109, 0.16);
    border-color: rgba(255, 77, 109, 0.55);
    color: #ffffff;
}

.bento-dock-panel {
    grid-template-columns: minmax(0, 1.38fr) 1px minmax(0, 1fr);
}

.dock-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.dock-inline-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.dock-mini-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    font-size: 0.74rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.dock-mini-link .lucide-icon {
    width: 13px;
    height: 13px;
    color: #00d2ff;
}

.dock-mini-link:hover,
.dock-mini-link:focus-visible {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.35);
    color: #ffffff;
}

.dock-content-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.cc-status-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 9px;
    border-radius: 999px;
    white-space: nowrap;
}

.cc-status-badge.is-ready {
    color: #7dd3fc;
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(56, 189, 248, 0.08);
}

.cc-status-badge.is-error {
    color: #fca5a5;
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.08);
}

.cc-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cc-metric-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 13px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: #f8fafc;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    min-width: 0;
}

.cc-metric-card:hover,
.cc-metric-card:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 210, 255, 0.38);
}

.cc-metric-top {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #94a3b8;
    font-size: 0.74rem;
    font-weight: 600;
}

.cc-metric-top .lucide-icon {
    width: 14px;
    height: 14px;
}

.cc-metric-channels .cc-metric-top .lucide-icon { color: #00d2ff; }
.cc-metric-movies .cc-metric-top .lucide-icon { color: #818cf8; }
.cc-metric-series .cc-metric-top .lucide-icon { color: #f472b6; }

.cc-metric-value {
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
}

.cc-metric-sub {
    font-size: 0.7rem;
    color: #64748b;
}

@media (max-width: 1024px) {
    .bento-dock-panel {
        grid-template-columns: 1fr;
    }
    .dock-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 640px) {
    .hud-quick-actions {
        width: 100%;
        justify-content: space-between;
    }
    .hud-pill-btn {
        flex: 1 1 0;
        justify-content: center;
        padding: 9px 10px;
        font-size: 0.76rem;
    }
    .hud-pill-btn span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .cc-metrics-grid {
        gap: 8px;
    }
    .cc-metric-card {
        padding: 10px 9px;
    }
    .cc-metric-value {
        font-size: 1.12rem;
    }
}

/* === CENTRAL DE CONTEÚDO (MEU CONTEÚDO) === */
.dock-content-center {
    justify-content: space-between;
}

.cc-status-tag {
    font-size: 0.69rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.07);
    border: 1px solid rgba(0, 229, 255, 0.16);
}

.cc-status-tag.is-empty {
    color: #fcd34d;
    background: rgba(234, 179, 8, 0.09);
    border-color: rgba(234, 179, 8, 0.25);
}

.cc-status-tag.is-error {
    color: #fda4af;
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.28);
}

.content-center-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    flex: 1;
}

.cc-metric-item {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: var(--radius-tool);
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: transform 0.2s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
}

.cc-metric-item:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.cc-metric-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.cc-metric-head .lucide-icon {
    width: 14px;
    height: 14px;
}

.cc-icon-cyan { color: var(--accent-cyan); }
.cc-icon-blue { color: #7aa7ff; }
.cc-icon-magenta { color: #f472b6; }

/* ==========================================================================
   YASHI PLAYER v1.0.4 - HOME RGB PREMIUM (ESTRUTURA PRESERVADA)
   ========================================================================== */
.home-body {
    background-image:
        radial-gradient(620px 360px at 10% 8%, rgba(0, 229, 255, 0.09), transparent 68%),
        radial-gradient(560px 340px at 90% 14%, rgba(139, 92, 246, 0.09), transparent 70%),
        radial-gradient(520px 300px at 78% 92%, rgba(236, 72, 153, 0.07), transparent 72%);
}

/* Barra Superior (HUD): filete RGB sutil no topo */
.home-hud {
    position: relative;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.1);
}

.home-hud::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent 0%, #00e5ff 22%, #3b82f6 50%, #8b5cf6 74%, #ec4899 90%, transparent 100%);
    opacity: 0.72;
    pointer-events: none;
}

.hud-pill-btn:hover,
.hud-pill-btn:focus-visible {
    border-color: rgba(0, 229, 255, 0.52);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 6px 18px -8px rgba(139, 92, 246, 0.45);
}

.hud-logout-btn:hover,
.hud-logout-btn:focus-visible {
    border-color: rgba(236, 72, 153, 0.62);
    box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.22), 0 6px 18px -8px rgba(236, 72, 153, 0.42);
}

/* Hero Canais Ao Vivo: borda luminosa RGB elegante e sutil movimento */
.tile-hero-live {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.46);
    box-shadow: 0 12px 34px -14px rgba(0, 229, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tile-hero-live::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00e5ff 0%, #3b82f6 38%, #8b5cf6 72%, #ec4899 100%);
    background-size: 200% 100%;
    animation: yashiRgbShift 10s ease infinite;
    opacity: 0.9;
    pointer-events: none;
}

body:not(.platform-webos) .tile-hero-live:hover,
body:not(.platform-webos) .tile-hero-live:focus-visible {
    border-color: rgba(0, 229, 255, 0.78);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.36), 0 16px 36px -12px rgba(0, 229, 255, 0.34), 0 0 24px -8px rgba(139, 92, 246, 0.28);
}

/* Bento Cards: calmos em repouso, iluminação RGB direcional no hover/foco */
.tile-movies,
.tile-series,
.tile-continue,
.tile-favorites {
    position: relative;
    overflow: hidden;
}

.tile-movies::after,
.tile-series::after,
.tile-continue::after,
.tile-favorites::after {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1.5px;
    opacity: 0.32;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

.tile-movies::after { background: linear-gradient(90deg, transparent, #3b82f6, #00e5ff, transparent); }
.tile-series::after { background: linear-gradient(90deg, transparent, #8b5cf6, #ec4899, transparent); }
.tile-continue::after { background: linear-gradient(90deg, transparent, #00e5ff, #3b82f6, transparent); }
.tile-favorites::after { background: linear-gradient(90deg, transparent, #f59e0b, #ec4899, transparent); }

body:not(.platform-webos) .tile-movies:hover,
body:not(.platform-webos) .tile-movies:focus-visible {
    border-color: rgba(59, 130, 246, 0.62);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.22), 0 12px 28px -12px rgba(59, 130, 246, 0.38);
}

body:not(.platform-webos) .tile-series:hover,
body:not(.platform-webos) .tile-series:focus-visible {
    border-color: rgba(236, 72, 153, 0.58);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.26), 0 12px 28px -12px rgba(236, 72, 153, 0.34);
}

body:not(.platform-webos) .tile-continue:hover,
body:not(.platform-webos) .tile-continue:focus-visible {
    border-color: rgba(0, 229, 255, 0.58);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.2), 0 10px 24px -12px rgba(0, 229, 255, 0.32);
}

body:not(.platform-webos) .tile-favorites:hover,
body:not(.platform-webos) .tile-favorites:focus-visible {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.22), 0 10px 24px -12px rgba(236, 72, 153, 0.28);
}

.tile-movies:hover::after,
.tile-movies:focus-visible::after,
.tile-series:hover::after,
.tile-series:focus-visible::after,
.tile-continue:hover::after,
.tile-continue:focus-visible::after,
.tile-favorites:hover::after,
.tile-favorites:focus-visible::after {
    opacity: 0.95;
}

/* Painel Inferior & Meu Conteúdo com acabamento RGB coordenado */
.bento-dock-panel {
    position: relative;
    overflow: hidden;
}

.bento-dock-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), rgba(139, 92, 246, 0.5), rgba(236, 72, 153, 0.45), transparent);
    pointer-events: none;
}

body:not(.platform-webos) .glass-tool-card:hover,
body:not(.platform-webos) .glass-tool-card:focus-visible {
    border-color: rgba(0, 229, 255, 0.52);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.22), 0 8px 22px -10px rgba(0, 229, 255, 0.32);
}

/* Garantir layout horizontal e visual premium nos cards de Meu Conteúdo */
.content-center-metrics {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100%;
    align-items: stretch;
}

.cc-metric-item {
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    color: #f8fafc !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 12px 13px;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.032);
    border: 1px solid rgba(255, 255, 255, 0.085);
    min-width: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cc-metric-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    height: 1.5px;
    opacity: 0.65;
    pointer-events: none;
}

.cc-metric-item:nth-child(1)::before { background: linear-gradient(90deg, transparent, #00e5ff, transparent); }
.cc-metric-item:nth-child(2)::before { background: linear-gradient(90deg, transparent, #3b82f6, transparent); }
.cc-metric-item:nth-child(3)::before { background: linear-gradient(90deg, transparent, #ec4899, transparent); }

.cc-metric-item:hover,
.cc-metric-item:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 229, 255, 0.48);
    box-shadow: 0 8px 20px -10px rgba(0, 229, 255, 0.34);
}

.cc-metric-head {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
}

.cc-metric-head .lucide-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.cc-icon-cyan { color: #00e5ff; }
.cc-icon-blue { color: #60a5fa; }
.cc-icon-magenta { color: #f472b6; }

.cc-metric-value {
    font-size: 1.24rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}

@media (max-width: 560px) {
    .content-center-metrics {
        gap: 7px !important;
    }
    .cc-metric-item {
        padding: 10px 8px;
    }
    .cc-metric-value {
        font-size: 1.05rem;
    }
}
