* {
    box-sizing: border-box;
}

:root {
    --bg: #08151b;
    --sidebar: #0b2731;
    --sidebar-2: #103642;
    --card: #ffffff;
    --page: #f4f7f9;
    --text: #13252d;
    --muted: #6b7b82;
    --border: #dfe7eb;
    --primary: #153f4b;
    --primary-hover: #0d303a;
    --accent: #7d3cff;
    --success: #13a56b;
    --danger: #d84b4b;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
}

body {
    background: var(--page);
}

a {
    color: inherit;
    text-decoration: none;
}

.login-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        radial-gradient(circle at top right, rgba(125,60,255,.19), transparent 32%),
        radial-gradient(circle at bottom left, rgba(15,104,130,.23), transparent 34%),
        linear-gradient(135deg, #071419, #0a252e);
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: rgba(255,255,255,.98);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 30px 70px rgba(0,0,0,.32);
}

.login-brand {
    text-align: center;
    margin-bottom: 28px;
}

.brand-logo {
    width: 96px;
    height: 96px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}

.brand-placeholder {
    width: 82px;
    height: 82px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 24px;
    background: linear-gradient(135deg, #6b35ff, #cc2aa5);
    color: white;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(107,53,255,.28);
}

.login-brand h1 {
    margin: 0;
    font-size: 30px;
}

.login-brand p {
    margin: 7px 0 0;
    color: var(--muted);
}

.field {
    margin-bottom: 17px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 650;
    font-size: 14px;
}

.input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: 11px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    background: white;
}

.input:focus {
    border-color: #4c7180;
    box-shadow: 0 0 0 3px rgba(21,63,75,.10);
}

.btn {
    border: 0;
    border-radius: 11px;
    min-height: 44px;
    padding: 0 18px;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-danger {
    background: #fff0f0;
    color: var(--danger);
}

.btn-full {
    width: 100%;
}

.alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.alert-error {
    color: #a52525;
    background: #fff0f0;
    border: 1px solid #ffd2d2;
}

.alert-success {
    color: #08764b;
    background: #eafaf3;
    border: 1px solid #c6f0de;
}

.admin-shell {
    min-height: 100vh;
    display: flex;
}

.sidebar {
    width: 245px;
    min-height: 100vh;
    background: linear-gradient(180deg, var(--sidebar), #081e26);
    color: #fff;
    padding: 22px 15px;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
}

.sidebar-brand {
    padding: 8px 8px 26px;
    text-align: center;
}

.sidebar-brand img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.sidebar-brand .mini-logo {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    margin: 0 auto 8px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #713cff, #d72ba7);
    font-weight: 900;
}

.sidebar-brand strong {
    font-size: 18px;
}

.sidebar-label {
    color: #8faab5;
    font-size: 11px;
    text-transform: uppercase;
    padding: 13px 12px 7px;
    letter-spacing: .7px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 43px;
    padding: 0 12px;
    margin-bottom: 5px;
    border-radius: 10px;
    color: #dce9ed;
    font-size: 14px;
}

.nav-item:hover,
.nav-item.active {
    background: var(--sidebar-2);
    color: white;
}

.nav-icon {
    width: 21px;
    text-align: center;
}

.main {
    margin-left: 245px;
    width: calc(100% - 245px);
    min-height: 100vh;
}

.topbar {
    height: 72px;
    background: white;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.top-title strong {
    display: block;
    font-size: 17px;
}

.top-title span {
    font-size: 12px;
    color: var(--muted);
}

.user-box {
    display: flex;
    align-items: center;
    gap: 13px;
}

.avatar {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e7eef1;
    font-weight: 800;
}

.content {
    padding: 28px;
}

.page-title {
    margin-bottom: 23px;
}

.page-title h1 {
    margin: 0 0 4px;
    font-size: 27px;
}

.page-title p {
    margin: 0;
    color: var(--muted);
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 17px;
    margin-bottom: 24px;
}

.stat-card,
.panel-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(24,48,58,.04);
}

.stat-card {
    padding: 19px;
}

.stat-card span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 7px;
}

.stat-card strong {
    font-size: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 20px;
}

.panel-card {
    padding: 22px;
}

.panel-card h2 {
    font-size: 18px;
    margin: 0 0 7px;
}

.panel-card .subtitle {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.upload-preview {
    min-height: 155px;
    border: 1px dashed #bfcdd3;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: #fafcfd;
    margin-bottom: 15px;
    padding: 18px;
}

.upload-preview img {
    max-width: 210px;
    max-height: 125px;
    object-fit: contain;
}

.file-input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px;
    background: #fff;
    margin-bottom: 12px;
}

.upload-help {
    color: var(--muted);
    font-size: 12px;
    margin: 8px 0 14px;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
}

.quick-item {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbfcfd;
}

.quick-item strong {
    display: block;
    margin-bottom: 5px;
}

.quick-item span {
    font-size: 12px;
    color: var(--muted);
}

@media (max-width: 1050px) {
    .stats {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .admin-shell {
        display: block;
    }

    .main {
        margin-left: 0;
        width: 100%;
    }

    .sidebar {
        padding-bottom: 10px;
    }

    .sidebar-brand {
        padding-bottom: 12px;
    }

    .sidebar-label {
        display: none;
    }

    .nav-item {
        display: inline-flex;
        margin-right: 5px;
    }

    .topbar {
        padding: 0 17px;
    }

    .content {
        padding: 18px;
    }

    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 11px;
    }

    .user-box .user-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 25px 20px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }
}

/* KZYPLAY AUTO DISMISS CSS */
.kzy-auto-dismissible {
    transition:
        opacity .35s ease,
        transform .35s ease,
        max-height .35s ease,
        margin .35s ease,
        padding .35s ease;
    will-change: opacity, transform;
}

.kzy-auto-dismissible.is-hiding {
    opacity: 0 !important;
    transform: translateY(-6px);
    max-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* KZYPLAY LOGO MAIOR V1 */
.sidebar-brand img {
    width: 125px;
    height: 90px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 10px;
}

.login-brand .brand-logo {
    width: 145px;
    height: 115px;
    max-width: 100%;
    object-fit: contain;
}

.upload-preview img {
    max-width: 310px;
    max-height: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (max-width: 760px) {
    .sidebar-brand img {
        width: 115px;
        height: 82px;
    }

    .login-brand .brand-logo {
        width: 130px;
        height: 105px;
    }
}

/* KZYPLAY CREDITOS FASE1B CSS */

.credit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 16px;
    font-size: 14px;
}

.empty-state {
    border: 1px dashed var(--border);
    border-radius: 12px;
    padding: 22px;
    text-align: center;
    color: var(--muted);
    background: #fafcfd;
}

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

.package-card {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px;
    background: #fff;
}

.package-card.featured {
    border: 2px solid var(--accent);
}

.package-badge {
    position: absolute;
    top: -11px;
    right: 14px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 800;
}

.package-price {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0 14px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.kzy-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.kzy-table th,
.kzy-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    white-space: nowrap;
}

.kzy-table th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.kzy-table small {
    color: var(--muted);
}

@media (max-width: 1000px) {
    .packages-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 760px) {
    .credit-grid,
    .packages-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* KZYPLAY REVENDEDORES FASE1B CSS */

.rev-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
    margin-bottom: 22px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-soft {
    background: #eef3f5;
    color: var(--primary);
}

.btn-success {
    background: #e6f8ef;
    color: #08764b;
}

.btn-warning {
    background: #fff5df;
    color: #9a6400;
}

.btn-small {
    min-height: 34px;
    padding: 0 11px;
    font-size: 12px;
}

.action-stack {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    min-width: 280px;
}

.action-stack form {
    margin: 0;
}

.status-pill {
    display: inline-flex;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status-teste {
    background: #edf3ff;
    color: #315ca7;
}

.status-ativo {
    background: #e7f8ef;
    color: #08764b;
}

.status-suspenso {
    background: #fff5df;
    color: #956100;
}

.status-expirado {
    background: #f1f2f3;
    color: #66757c;
}

.status-bloqueado {
    background: #fff0f0;
    color: #b32929;
}

.list-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 15px;
}

.page-counter {
    font-size: 13px;
    color: var(--muted);
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.pagination a {
    min-width: 36px;
    min-height: 36px;
    display: inline-grid;
    place-items: center;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
}

.pagination a.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

@media (max-width: 900px) {
    .rev-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .list-header {
        display: block;
    }

    .page-counter {
        margin-bottom: 12px;
    }
}

/* =========================================================
   KZYPLAY PACOTES COMPACTOS V1
   ========================================================= */

#pacotes {
    padding: 18px;
}

#pacotes h2 {
    margin-bottom: 3px;
}

#pacotes .subtitle {
    margin-bottom: 14px;
}

#pacotes .packages-grid {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
}

#pacotes .package-card {
    padding: 13px;
    border-radius: 12px;
}

#pacotes .package-card .field {
    margin-bottom: 9px;
}

#pacotes .package-card .field label {
    font-size: 11px;
    margin-bottom: 4px;
}

#pacotes .package-card .input {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
    border-radius: 9px;
}

#pacotes .package-card .form-row {
    gap: 8px;
}

#pacotes .package-price {
    font-size: 19px;
    line-height: 1.1;
    margin: 7px 0 8px;
}

#pacotes .check-row {
    margin: 5px 0;
    font-size: 12px;
}

#pacotes .package-card .btn {
    min-height: 37px;
    padding: 7px 10px;
    margin-top: 7px;
    font-size: 12px;
}

#pacotes .package-badge {
    top: -8px;
    right: 10px;
    padding: 3px 8px;
    font-size: 9px;
}

#pacotes .package-card.featured {
    border-width: 1.5px;
}

.packages-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.packages-pagination a {
    min-width: 34px;
    min-height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.packages-pagination a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

@media (min-width: 1250px) {

    #pacotes .packages-grid {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    #pacotes .packages-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 600px) {

    #pacotes .packages-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   KZYPLAY CONTROLE REVENDEDOR FASE1C
   ========================================================= */

.control-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.detail-back {
    margin-bottom: 16px;
}

.account-info {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.account-info > div {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 11px;
    background: #fafcfd;
}

.account-info span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    margin-bottom: 4px;
}

.account-info strong {
    display: block;
    font-size: 13px;
}

.audit-detail {
    max-width: 480px;
    white-space: normal !important;
    word-break: break-word;
}

@media (max-width: 900px) {
    .control-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .account-info {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   KZYPLAY AREA REVENDA FASE2A
   ========================================================= */

.revenda-login-help {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

.revenda-shortcuts {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.revenda-shortcut {
    display: block;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    background: #fafcfd;
    color: inherit;
}

.revenda-shortcut:hover {
    border-color: #164c59;
}

.revenda-shortcut strong {
    display: block;
    margin-bottom: 4px;
}

.revenda-shortcut span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 700px) {

    .revenda-shortcuts {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   KZYPLAY REVENDA CREDITOS FASE2B
   ========================================================= */

.revenda-packages-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.revenda-package-card {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 112px;
    padding: 13px 9px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: #fff;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition:
        border-color .15s ease,
        box-shadow .15s ease,
        transform .15s ease;
}

.revenda-package-card:hover {
    transform: translateY(-1px);
    border-color: #164c59;
}

.revenda-package-card.selected {
    border: 2px solid #164c59;
    box-shadow: 0 0 0 3px rgba(22, 76, 89, .08);
}

.revenda-package-card.featured {
    border-color: #7a52ff;
}

.revenda-package-card.featured.selected {
    border-color: #164c59;
}

.revenda-package-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 3px 6px;
    border-radius: 20px;
    background: #f0ebff;
    color: #6544d8;
    font-size: 9px;
    font-weight: 700;
}

.revenda-package-name {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
}

.revenda-package-price {
    display: block;
    margin-top: 8px;
    font-size: 18px;
    font-weight: 800;
}

.revenda-package-credits {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--muted);
}

.revenda-payment-box {
    margin-top: 18px;
}

.revenda-payment-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
}

.revenda-payment-summary > div,
.checkout-detail > div {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fafcfd;
}

.revenda-payment-summary span,
.checkout-detail span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
}

.revenda-payment-summary strong {
    display: block;
    font-size: 14px;
}

.checkout-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);
    gap: 18px;
}

.checkout-detail {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.payment-method {
    margin: 16px 0;
    padding: 16px;
    border: 2px solid #164c59;
    border-radius: 12px;
    background: #f7fbfc;
}

.payment-method strong,
.payment-method span {
    display: block;
}

.payment-method span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.checkout-notice {
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 10px;
    background: #fff8e8;
    font-size: 13px;
    line-height: 1.5;
}

.checkout-notice strong {
    display: block;
    margin: 5px 0;
}

/*
 * 6 cards por linha em desktop.
 * Responsivo sem criar rolagem lateral.
 */
@media (max-width: 1200px) {

    .revenda-packages-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 760px) {

    .revenda-packages-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .revenda-payment-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .checkout-layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 480px) {

    .revenda-packages-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .revenda-payment-summary {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   KZYPLAY PIX REAL FASE2D2
   ========================================================= */

.pix-real-box {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

.pix-real-qrcode {
    width: 230px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.pix-copy-field {
    min-height: 105px;
    resize: none;
    font-size: 12px;
    line-height: 1.4;
}



/* =========================================================
   KZYPLAY PIX CHECKOUT PREMIUM FASE2D3
   ========================================================= */

.pix-real-box {
    max-width: 520px;
    margin: 8px auto 16px;
    padding: 18px;
    border: 1px solid #e0e7ec;
    border-radius: 16px;
    background: #ffffff;
    text-align: center;
}

.pix-real-qrcode {
    width: 185px !important;
    height: 185px;
    object-fit: contain;
    margin: 0 auto 10px !important;
    padding: 8px;
    border: 1px solid #e6ecef;
    border-radius: 12px;
    background: #fff;
}

.pix-real-box > strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
}

.pix-copy-field {
    width: 100%;
    min-height: 74px !important;
    max-height: 74px;
    padding: 10px 12px;
    border: 1px solid #dce5ea;
    border-radius: 10px;
    resize: none;
    font-size: 11px !important;
    line-height: 1.35 !important;
    background: #f7fafb;
    overflow-wrap: anywhere;
}

.pix-real-box .btn {
    min-height: 42px;
    border-radius: 10px;
}

.pix-real-box a.btn-soft {
    margin-top: -4px;
}

.pix-wait-status {
    max-width: 520px;
    margin: 14px auto 0;
    padding: 11px 14px;
    border-radius: 12px;
    background: #eef7f8;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #164d59;
}

.pix-wait-dot {
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    display: inline-block;
    background: #15936e;
    animation: pixPulse 1.1s infinite;
}

@keyframes pixPulse {
    0% {
        opacity: .3;
        transform: scale(.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: .3;
        transform: scale(.85);
    }
}

.pix-success-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(5, 18, 24, .62);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pix-success-overlay[hidden] {
    display: none !important;
}

.pix-success-modal {
    width: 100%;
    max-width: 430px;
    padding: 34px 28px;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, .22);
}

.pix-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f8f0;
    color: #14915f;
    font-size: 38px;
    font-weight: 800;
}

.pix-success-modal h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #14232b;
}

.pix-success-modal p {
    margin: 0;
    font-size: 15px;
    color: #56666e;
    line-height: 1.5;
}

.pix-success-modal p strong {
    color: #14915f;
}

.pix-success-loading {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid #edf1f3;
    font-size: 12px;
    color: #7a898f;
}

@media (max-width: 760px) {

    .pix-real-box {
        padding: 14px;
    }

    .pix-real-qrcode {
        width: 165px !important;
        height: 165px;
    }

    .pix-success-modal {
        padding: 28px 20px;
    }

}



/* =========================================================
   KZYPLAY PACOTES REVENDA COMPACTOS - FINAL
   Todos os pacotes na mesma página
   ========================================================= */

.revenda-packages-grid {
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(132px, 1fr)
        ) !important;

    gap: 8px !important;
}

.revenda-package-card {
    min-height: 88px !important;

    padding:
        9px 7px !important;

    border-radius:
        9px !important;
}

.revenda-package-name {
    margin-top:
        6px !important;

    font-size:
        11px !important;
}

.revenda-package-price {
    margin-top:
        5px !important;

    font-size:
        16px !important;

    line-height:
        1.1 !important;
}

.revenda-package-credits {
    margin-top:
        3px !important;

    font-size:
        9px !important;
}

.revenda-package-badge {
    top: 4px !important;
    right: 4px !important;

    padding:
        2px 5px !important;

    font-size:
        7px !important;
}


@media (max-width: 760px) {

    .revenda-packages-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;

        gap:
            7px !important;
    }

    .revenda-package-card {
        min-height:
            82px !important;

        padding:
            8px 6px !important;
    }

    .revenda-package-price {
        font-size:
            14px !important;
    }
}



/* =========================================================
   KZYPLAY ADMIN PACOTES COMPACTOS FINAL
   Todos os cards na mesma página
   ========================================================= */

.packages-grid {
    display: grid !important;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(190px, 1fr)
        ) !important;

    gap: 9px !important;
}

.package-card {
    min-width: 0 !important;
    padding: 10px !important;
    border-radius: 10px !important;
}

.package-card .field {
    margin-bottom: 7px !important;
}

.package-card .field label {
    margin-bottom: 3px !important;
    font-size: 10px !important;
}

.package-card .input {
    min-height: 34px !important;
    padding: 6px 8px !important;
    font-size: 12px !important;
}

.package-card .form-row {
    gap: 7px !important;
}

.package-price {
    margin: 7px 0 !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
}

.package-card .check-row {
    margin: 5px 0 !important;
    font-size: 11px !important;
}

.package-card .btn {
    min-height: 34px !important;
    padding: 7px 9px !important;
    font-size: 10px !important;
}

.package-badge {
    font-size: 8px !important;
    padding: 2px 6px !important;
}


/*
 * O bloco PHP original de paginação continua preservado.
 * Como totalPaginasPacotes passa a ser 1,
 * ele não será exibido.
 */
.packages-pagination:empty {
    display: none !important;
}


@media (max-width: 1200px) {

    .packages-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            ) !important;
    }
}


@media (max-width: 760px) {

    .packages-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;

        gap: 7px !important;
    }

    .package-card {
        padding: 8px !important;
    }
}


@media (max-width: 420px) {

    .packages-grid {
        grid-template-columns:
            1fr !important;
    }
}



/* =========================================================
   KZYPLAY DRAWERS LATERAIS FASE2A
   ========================================================= */

.kzy-list-actions,
.kzy-device-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.kzy-device-actions {
    margin-bottom: 0;
}

.kzy-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;

    background:
        rgba(3, 15, 20, .55);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .22s ease,
        visibility .22s ease;
}

.kzy-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.kzy-drawer {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    z-index: 9010;

    width: min(
        430px,
        calc(100vw - 24px)
    );

    background: #f8fbfc;

    border-left:
        1px solid #d8e3e7;

    box-shadow:
        -18px 0 45px
        rgba(0, 0, 0, .16);

    transform:
        translateX(102%);

    transition:
        transform .24s ease;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.kzy-drawer.open {
    transform:
        translateX(0);
}

body.kzy-drawer-body-open {
    overflow: hidden;
}

.kzy-drawer-header {
    min-height: 72px;

    padding:
        15px 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;

    background: #fff;

    border-bottom:
        1px solid #dce6ea;
}

.kzy-drawer-header > div {
    min-width: 0;
}

.kzy-drawer-header strong {
    display: block;

    font-size: 16px;
    line-height: 1.25;

    color: #10252d;
}

.kzy-drawer-header span {
    display: block;

    margin-top: 3px;

    font-size: 11px;

    color: #708087;
}

.kzy-drawer-close {
    width: 36px;
    height: 36px;

    border: 0;
    border-radius: 9px;

    background: #eef4f6;

    color: #173743;

    font-size: 24px;
    line-height: 1;

    cursor: pointer;
}

.kzy-drawer-content {
    flex: 1;

    padding:
        18px;

    overflow-y: auto;
}

.kzy-drawer-info,
.kzy-drawer-box {
    padding: 14px;

    margin-bottom: 15px;

    border:
        1px solid #d8e3e7;

    border-radius: 11px;

    background: #fff;
}

.kzy-drawer-info strong,
.kzy-drawer-box strong {
    display: block;

    margin-bottom: 6px;

    color: #173743;
}

.kzy-drawer-info p,
.kzy-drawer-box p {
    margin: 0;

    font-size: 12px;
    line-height: 1.45;

    color: #67787f;
}

.kzy-drawer-warning {
    border-color: #eedfa9;

    background: #fffdf4;
}

.kzy-drawer-field {
    margin-bottom: 15px;
}

.kzy-drawer-field label {
    display: block;

    margin-bottom: 6px;

    font-size: 12px;
    font-weight: 700;

    color: #173743;
}

.kzy-drawer-field small {
    display: block;

    margin-top: 5px;

    font-size: 10px;
    line-height: 1.4;

    color: #74848b;
}

.kzy-drawer-readonly {
    min-height: 42px;

    padding: 10px 12px;

    display: flex;
    align-items: center;

    border:
        1px solid #d8e3e7;

    border-radius: 8px;

    background: #eef4f6;

    font-size: 12px;

    color: #173743;
}

.kzy-drawer-textarea {
    min-height: 105px !important;

    resize: vertical;
}

.kzy-radio-line,
.kzy-switch-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    margin-top: 10px;

    cursor: pointer;
}

.kzy-radio-line input {
    margin-top: 3px;
}

.kzy-radio-line span {
    display: block;
}

.kzy-radio-line b {
    display: block;

    font-size: 12px;

    color: #173743;
}

.kzy-radio-line small {
    display: block;

    margin-top: 2px;

    font-size: 10px;

    color: #75858c;
}

.kzy-switch-line {
    align-items: center;
    justify-content: space-between;
}

.kzy-switch-line span {
    font-size: 12px;
    line-height: 1.35;

    color: #334b55;
}

.kzy-drawer-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-top: 22px;
    padding-top: 15px;

    border-top:
        1px solid #dce6ea;
}

.kzy-drawer-footer .btn {
    width: 100%;
}



/* ============================================================
   KZYPLAY ACOES DISPOSITIVO FASE3A CSS
   ============================================================ */

.kzy-actions-cell {
    position: relative;
    text-align: center;
}

.kzy-kebab {
    position: relative;
    display: inline-block;
}

.kzy-kebab-btn {
    width: 34px;
    height: 34px;

    border: 1px solid #dce5e8;
    border-radius: 8px;

    background: #fff;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;

    color: #26434d;
}

.kzy-kebab-btn:hover {
    background: #f2f7f8;
}

.kzy-kebab-menu {
    position: absolute;

    top: 40px;
    right: 0;

    z-index: 120;

    min-width: 175px;

    display: none;

    padding: 6px;

    border: 1px solid #dce5e8;
    border-radius: 10px;

    background: #fff;

    box-shadow:
        0 12px 30px
        rgba(0, 0, 0, .13);

    text-align: left;
}

.kzy-kebab-menu.open {
    display: block;
}

.kzy-kebab-menu form {
    margin: 0;
}

.kzy-action-item {
    width: 100%;

    display: block;

    padding: 10px 11px;

    border: 0;
    border-radius: 7px;

    background: transparent;

    text-align: left;

    font-size: 12px;

    color: #27434d;

    cursor: pointer;
}

.kzy-action-item:hover {
    background: #f1f6f8;
}

.kzy-action-item.is-block {
    color: #ad2d2d;
}

.kzy-action-item.is-unblock {
    color: #16824c;
}

.kzy-info-device-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 10px;

    margin-bottom: 15px;
}

.kzy-info-device-grid > div {
    padding: 12px;

    border: 1px solid #dce5e8;
    border-radius: 9px;

    background: #fff;
}

.kzy-info-device-grid span {
    display: block;

    margin-bottom: 5px;

    font-size: 10px;
    color: #78868b;
}

.kzy-info-device-grid strong {
    display: block;

    word-break: break-word;

    font-size: 12px;
    color: #173743;
}



/* ============================================================
   KZYPLAY ACOES PADRAO CONCORRENTE FINAL CSS
   ÚNICA extensão da Fase3A
   ============================================================ */


/*
 * Somente quando o menu original
 * estiver temporariamente no BODY.
 */

body > .kzy-kebab-menu.kzy-kebab-menu-floating {

    position: fixed !important;

    right: auto !important;
    bottom: auto !important;

    z-index: 10050 !important;

    width: 175px;
    min-width: 175px;
    max-width: 175px;

    display: block !important;

    padding: 6px;

    border:
        1px solid #d8e2e6;

    border-radius: 8px;

    background: #ffffff;

    box-shadow:
        0 8px 22px
        rgba(17, 35, 43, .16);

    overflow: visible !important;
}


/*
 * Aparência mais próxima da referência.
 */

body >
.kzy-kebab-menu.kzy-kebab-menu-floating
.kzy-action-item {

    width: 100%;

    min-height: 36px;

    display: flex;

    align-items: center;

    padding:
        8px
        10px;

    border: 0;

    border-radius: 5px;

    background: transparent;

    font-size: 12px;
    font-weight: 500;

    line-height: 1.2;

    text-align: left;

    white-space: nowrap;
}


body >
.kzy-kebab-menu.kzy-kebab-menu-floating
.kzy-action-item:hover {

    background: #f1f5f6;
}


body >
.kzy-kebab-menu.kzy-kebab-menu-floating
.kzy-action-item.is-block {

    color: #b4232d;
}


body >
.kzy-kebab-menu.kzy-kebab-menu-floating
.kzy-action-item.is-unblock {

    color: #16824c;
}


/*
 * O form não interfere na aparência.
 */

body >
.kzy-kebab-menu.kzy-kebab-menu-floating
form {

    margin: 0;
    padding: 0;
}


/*
 * DESKTOP:
 * a tabela não precisa de scroll vertical.
 *
 * Mantém o overflow original intacto
 * para responsividade/mobile.
 */

@media (min-width: 761px) {

    .table-wrap {

        overflow-y: hidden;
    }
}



/* ============================================================
   KZYPLAY MARCA MASTER FASE 1
   ============================================================ */

.kzy-brand-page {
    max-width: none;
}

.kzy-brand-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.kzy-brand-heading h1 {
    margin: 0 0 4px;
    font-size: 30px;
    line-height: 1.1;
}

.kzy-brand-heading p {
    margin: 0;
    color: var(--muted);
}

.kzy-brand-main-actions {
    display: flex;
    gap: 10px;
}

.kzy-brand-main-actions button:disabled,
.kzy-brand-page button:disabled,
.kzy-brand-page input:disabled,
.kzy-brand-page select:disabled {
    opacity: 1;
}

.kzy-brand-tabs {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    margin-bottom: 16px;
    border: 1px solid #dce5e8;
    background: #f4f8f9;
    border-radius: 10px;
}

.kzy-brand-tab {
    border: 0;
    background: transparent;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 7px;
    color: #435a64;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.kzy-brand-tab.active {
    background: #fff;
    color: #103d48;
    box-shadow: 0 1px 4px rgba(14, 48, 58, .12);
}

.kzy-brand-new {
    display: inline-flex;
    margin-left: 5px;
    padding: 2px 6px;
    border-radius: 10px;
    background: #16a273;
    color: white;
    font-size: 9px;
    vertical-align: middle;
}

.kzy-brand-workspace {
    min-height: 590px;
}

.kzy-brand-screen {
    display: none;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.kzy-brand-screen.active {
    display: grid;
}

.kzy-brand-editor {
    border: 1px solid #d8e3e7;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-height: 610px;
    overflow-y: auto;
}

.kzy-brand-accordion {
    border-bottom: 1px solid #e4ecef;
}

.kzy-brand-accordion:last-child {
    border-bottom: 0;
}

.kzy-brand-accordion summary {
    position: relative;
    list-style: none;
    padding: 17px 18px;
    font-weight: 800;
    color: #17333d;
    cursor: pointer;
}

.kzy-brand-accordion summary::-webkit-details-marker {
    display: none;
}

.kzy-brand-accordion summary::after {
    content: "⌄";
    position: absolute;
    right: 18px;
    font-size: 16px;
    color: #667b83;
}

.kzy-brand-accordion[open] summary::after {
    content: "⌃";
}

.kzy-brand-accordion[open] summary {
    border-bottom: 1px solid #e8eef0;
}

.kzy-brand-section {
    padding: 15px;
}

.kzy-brand-field {
    margin-bottom: 20px;
}

.kzy-brand-field:last-child {
    margin-bottom: 0;
}

.kzy-brand-field > label,
.kzy-brand-section > label {
    display: block;
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 800;
    color: #354d56;
}

.kzy-brand-helper {
    margin: 0 0 14px;
    color: #6d7e84;
    font-size: 12px;
    line-height: 1.45;
}

.kzy-brand-upload-row {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 11px;
}

.kzy-brand-upload {
    min-height: 78px;
    border: 1px dashed #aec1c8;
    border-radius: 9px;
    background: #f9fbfc;
    font-size: 11px;
    font-weight: 700;
}

.kzy-brand-upload span {
    display: block;
    font-size: 20px;
    margin-bottom: 4px;
}

.kzy-brand-logo-preview {
    min-height: 78px;
    border: 1px solid #dce5e8;
    background: #f7fafb;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.kzy-brand-logo-preview img {
    width: 118px;
    height: 64px;
    object-fit: contain;
}

.kzy-brand-range-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.kzy-brand-range-row input {
    flex: 1;
}

.kzy-brand-range-row span {
    width: 60px;
    padding: 7px 8px;
    border: 1px solid #dce5e8;
    border-radius: 7px;
    text-align: center;
    font-size: 11px;
}

.kzy-brand-background-upload {
    width: 100%;
    min-height: 66px;
    border: 1px dashed #aec1c8;
    background: #fafcfd;
    border-radius: 9px;
    font-weight: 700;
}

.kzy-brand-background-upload span {
    display: block;
    margin-bottom: 4px;
    font-size: 18px;
}

.kzy-brand-wallpapers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.kzy-wallpaper {
    position: relative;
    height: 57px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    padding: 0;
}

.kzy-wallpaper span {
    position: absolute;
    inset: 0;
}

.kzy-wallpaper:nth-child(1) span {
    background:
        radial-gradient(circle at 75% 20%, #196c7f, transparent 35%),
        linear-gradient(135deg, #071b23, #123e49);
}

.kzy-wallpaper:nth-child(2) span {
    background:
        linear-gradient(125deg, #020607, #133039 55%, #08171c);
}

.kzy-wallpaper:nth-child(3) span {
    background:
        radial-gradient(circle at 70% 30%, #355560, transparent 30%),
        linear-gradient(140deg, #101b20, #091012);
}

.kzy-wallpaper:nth-child(4) span {
    background:
        linear-gradient(135deg, #0e3845, #171c24, #0b242d);
}

.kzy-wallpaper:nth-child(5) span {
    background:
        repeating-linear-gradient(
            135deg,
            #0b2027,
            #0b2027 9px,
            #11313a 9px,
            #11313a 18px
        );
}

.kzy-wallpaper:nth-child(6) span {
    background:
        radial-gradient(circle at 30% 40%, #1c697a, transparent 20%),
        radial-gradient(circle at 70% 65%, #163c48, transparent 25%),
        #071b22;
}

.kzy-wallpaper.is-active {
    border-color: #164d59;
}

.kzy-brand-colors {
    display: grid;
    gap: 10px;
}

.kzy-brand-colors > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.kzy-brand-colors span {
    color: #354d56;
    font-size: 12px;
    font-weight: 700;
}

.kzy-brand-colors input[type="color"],
.kzy-brand-field input[type="color"] {
    width: 43px;
    height: 27px;
    padding: 2px;
    background: #fff;
    border: 1px solid #bdccd1;
    border-radius: 5px;
}

.kzy-icon-collections {
    display: grid;
    gap: 10px;
}

.kzy-icon-set {
    min-height: 53px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border: 1px solid #dbe5e8;
    border-radius: 9px;
    background: #fbfcfd;
    font-size: 18px;
}

.kzy-icon-set.is-active {
    border-color: #164d59;
    background: #eef5f6;
}

.kzy-brand-preview-area {
    min-width: 0;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
}

.kzy-tv-preview {
    width: min(100%, 720px);
    padding: 8px;
    border: 5px solid #26343a;
    border-radius: 6px;
    background: #111;
    box-shadow: 0 18px 45px rgba(10, 35, 43, .13);
}

.kzy-tv-screen {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 32%, rgba(29, 114, 133, .55), transparent 27%),
        radial-gradient(circle at 38% 80%, rgba(17, 76, 89, .7), transparent 28%),
        linear-gradient(130deg, #071a21, #0d2f39 45%, #05090b);
}

.kzy-tv-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.35),
            rgba(0,0,0,.03)
        );
}

.kzy-tv-logo {
    position: absolute;
    top: 22px;
    left: 23px;
    z-index: 2;
}

.kzy-tv-logo img {
    width: 90px;
    height: 55px;
    object-fit: contain;
}

.kzy-tv-preview-content {
    position: absolute;
    z-index: 2;
    inset: 105px 28px 52px;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 28px;
}

.kzy-tv-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 13px;
    align-content: center;
}

.kzy-tv-menu-item {
    min-height: 76px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(0,0,0,.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
}

.kzy-tv-menu-item span {
    font-size: 24px;
    margin-bottom: 3px;
}

.kzy-tv-menu-item.is-active {
    box-shadow: 0 0 22px rgba(25, 164, 196, .72);
    background: rgba(20, 110, 129, .55);
}

.kzy-tv-media {
    align-self: center;
    color: white;
    font-size: 10px;
}

.kzy-tv-posters {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 9px;
}

.kzy-tv-posters div {
    aspect-ratio: .68;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    padding: 8px;
    background:
        linear-gradient(
            150deg,
            #16495a,
            #0b1d23
        );
}

.kzy-tv-posters div:nth-child(2) {
    background:
        linear-gradient(
            150deg,
            #1d3037,
            #0b0f11
        );
}

.kzy-tv-posters div:nth-child(3) {
    background:
        linear-gradient(
            150deg,
            #17566a,
            #07161b
        );
}

.kzy-tv-posters div:nth-child(4) {
    background:
        linear-gradient(
            150deg,
            #123640,
            #050a0c
        );
}

.kzy-tv-footer {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 20px;
    bottom: 13px;
    display: flex;
    justify-content: space-between;
    color: rgba(255,255,255,.75);
    font-size: 8px;
}

.kzy-phone-preview {
    position: relative;
    width: 260px;
    height: 510px;
    padding: 10px;
    border: 8px solid #1b1f21;
    border-radius: 38px;
    background: #0c0f10;
    box-shadow: 0 18px 45px rgba(10, 35, 43, .18);
}

.kzy-phone-speaker {
    position: absolute;
    z-index: 4;
    top: 10px;
    left: 50%;
    width: 75px;
    height: 18px;
    transform: translateX(-50%);
    border-radius: 15px;
    background: #181c1e;
}

.kzy-phone-content {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 27px;
    overflow: hidden;
    background:
        radial-gradient(circle at 30% 30%, #174a57, transparent 30%),
        radial-gradient(circle at 70% 75%, #0b313b, transparent 30%),
        linear-gradient(150deg, #061319, #081c23);
}

.kzy-phone-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            rgba(0,0,0,.55),
            transparent 60%
        );
}

.kzy-phone-logo {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.kzy-phone-logo img {
    width: 105px;
    height: 64px;
    object-fit: contain;
}

.kzy-phone-bottom {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.kzy-phone-bottom div {
    color: rgba(255,255,255,.55);
    text-align: center;
    font-size: 7px;
}

.kzy-phone-bottom span {
    display: flex;
    width: 35px;
    height: 35px;
    margin: 0 auto 5px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.13);
    font-size: 15px;
}

.kzy-phone-bottom div.is-active {
    color: #fff;
}

.kzy-phone-bottom div.is-active span {
    background: #17697b;
}

.kzy-brand-preview-note {
    margin-top: 15px;
    color: #7b898e;
    font-size: 11px;
    text-align: center;
}

.kzy-panel-preview {
    width: min(100%, 760px);
    min-height: 430px;
    display: grid;
    grid-template-columns: 175px 1fr;
    border: 1px solid #cddadd;
    border-radius: 9px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(10, 35, 43, .1);
}

.kzy-panel-preview-sidebar {
    background:
        linear-gradient(
            180deg,
            #0b3742,
            #061f27
        );
    color: white;
    padding: 24px 15px;
}

.kzy-panel-preview-sidebar > div {
    text-align: center;
    margin-bottom: 26px;
}

.kzy-panel-preview-sidebar img {
    width: 100px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: auto;
}

.kzy-panel-preview-sidebar span {
    display: block;
    padding: 10px 12px;
    margin-bottom: 5px;
    border-radius: 7px;
    font-size: 11px;
}

.kzy-panel-preview-sidebar span.is-active {
    background: #155163;
}

.kzy-panel-preview-main {
    background: #f4f7f8;
}

.kzy-panel-preview-top {
    height: 58px;
    background: white;
    border-bottom: 1px solid #dde6e9;
    padding: 0 19px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kzy-panel-preview-body {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

.kzy-panel-preview-body div {
    height: 90px;
    background: white;
    border: 1px solid #dce5e8;
    border-radius: 9px;
}


@media (max-width: 980px) {

    .kzy-brand-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .kzy-brand-screen.active {
        grid-template-columns: 1fr;
    }

    .kzy-brand-editor {
        max-height: none;
    }

    .kzy-brand-preview-area {
        padding-top: 8px;
    }

    .kzy-tv-preview-content {
        inset: 90px 20px 45px;
        grid-template-columns: 150px 1fr;
        gap: 15px;
    }

}




/* ============================================================
   KZYPLAY MARCA TV FASE 2 CONFIG COMPLETA CSS
   ============================================================ */

.kzy-player-icon-collections {
    display: grid;
    gap: 11px;
}

.kzy-player-icon-set {
    width: 100%;
    min-height: 82px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
    align-items: center;
    padding: 12px;
    border: 1px solid #dbe5e8;
    border-radius: 10px;
    background: #fbfcfd;
    cursor: pointer;
}

.kzy-player-icon-set span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 25px;
    color: #27383e;
    font-size: 16px;
    font-weight: 800;
}

.kzy-player-icon-set.is-active {
    border-color: #164d59;
    background: #edf4f6;
    box-shadow:
        inset 0 0 0 1px
        rgba(22,77,89,.1);
}

.kzy-tv-player-demo {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: none;
    color: #fff;
    background:
        radial-gradient(
            circle at 60% 30%,
            rgba(30,100,118,.35),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #12343d,
            #061215
        );
}

.kzy-tv-player-demo.is-visible {
    display: block;
}

.kzy-tv-preview-content.is-hidden-for-player {
    visibility: hidden;
}

.kzy-tv-player-top {
    position: absolute;
    top: 17px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
}

.kzy-tv-player-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kzy-tv-big-play {
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.35);
    font-size: 25px;
}

.kzy-tv-player-bottom {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.kzy-tv-player-time {
    display: flex;
    justify-content: space-between;
    margin-bottom: 7px;
    font-size: 9px;
}

.kzy-tv-player-progress {
    height: 3px;
    background: rgba(255,255,255,.35);
    border-radius: 4px;
    overflow: hidden;
}

.kzy-tv-player-progress i {
    display: block;
    width: 36%;
    height: 100%;
    background: #11a9c7;
}

.kzy-tv-player-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 11px;
}

.kzy-tv-player-controls span {
    display: flex;
    width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    font-size: 10px;
    color: #e9eeee;
    background: rgba(0,0,0,.25);
}

.kzy-tv-screen.kzy-menu-square
.kzy-tv-menu-item {
    border-radius: 10px;
}

.kzy-tv-screen.kzy-menu-classico
.kzy-tv-preview-content {
    inset:
        120px 55px 60px;
    display: block;
}

.kzy-tv-screen.kzy-menu-classico
.kzy-tv-menu {
    width: 100%;
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 18px;
}

.kzy-tv-screen.kzy-menu-classico
.kzy-tv-menu-item {
    min-height: 105px;
}

.kzy-tv-screen.kzy-menu-classico
.kzy-tv-media {
    display: none;
}

.kzy-tv-screen.kzy-menu-rms
.kzy-tv-preview-content {
    grid-template-columns:
        185px 1fr;
}

.kzy-tv-screen.kzy-menu-v3
.kzy-tv-preview-content {
    grid-template-columns:
        190px 1fr;
}



/* ============================================================
   KZYPLAY MARCA TV RELOAD DESKTOP FINAL
   ============================================================ */

@media (min-width: 761px) {

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-reload-app {
        position:absolute;

        left:34px;
        bottom:40px;

        width:166px;
        height:30px;

        padding:0 12px;

        border:
            1px solid
            rgba(255,255,255,.38);

        border-radius:5px;

        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.24),
                rgba(255,255,255,.08)
            );

        color:#fff;

        display:flex;

        align-items:center;
        justify-content:center;

        gap:7px;

        box-sizing:border-box;

        font-family:Arial,sans-serif;
        font-size:11px;
        font-weight:700;
        line-height:1;

        white-space:nowrap;

        cursor:pointer;

        z-index:12;

        box-shadow:
            inset 0 1px 0
            rgba(255,255,255,.10),
            0 4px 10px
            rgba(0,0,0,.22);
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-reload-app:hover {
        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.31),
                rgba(255,255,255,.12)
            );
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-reload-symbol {
        display:inline-flex;

        align-items:center;
        justify-content:center;

        width:14px;
        height:14px;

        font-size:14px;
        line-height:1;
    }

}







/* KZYPLAY PREVIEW TV OFICIAL FINAL */

@media (min-width:1024px) {

    /* =====================================================
       CONTAINER DA SIMULACAO
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-brand-preview-area {
        flex:0 0 760px !important;
        width:760px !important;
        max-width:760px !important;

        display:flex !important;

        justify-content:center !important;
        align-items:flex-start !important;

        padding:38px 10px 0 !important;

        box-sizing:border-box !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-preview {
        width:650px !important;
        max-width:650px !important;

        margin:0 auto !important;
        padding:0 !important;

        border:0 !important;

        background:transparent !important;

        box-shadow:
            0 18px 45px
            rgba(16,38,48,.16) !important;
    }

    /* =====================================================
       TELA 16:9
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-screen {
        position:relative !important;

        width:650px !important;
        height:auto !important;

        aspect-ratio:16 / 9 !important;

        margin:0 !important;
        padding:0 !important;

        overflow:hidden !important;

        border:1px solid
            rgba(20,47,58,.28) !important;

        border-radius:7px !important;

        background:#06151c !important;

        box-sizing:border-box !important;
    }

    /* =====================================================
       FUNDO 100%
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-overlay {
        position:absolute !important;

        inset:0 !important;

        width:100% !important;
        height:100% !important;

        margin:0 !important;
        padding:0 !important;

        border:0 !important;

        background-position:center center !important;
        background-size:cover !important;
        background-repeat:no-repeat !important;

        z-index:0 !important;

        pointer-events:none !important;
    }

    /*
       Camada escura premium.
       A imagem pode mudar sem afetar legibilidade.
    */

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-overlay::after {
        content:"" !important;

        position:absolute !important;
        inset:0 !important;

        background:
            linear-gradient(
                90deg,
                rgba(2,9,13,.52) 0%,
                rgba(2,9,13,.30) 44%,
                rgba(2,9,13,.35) 100%
            ) !important;

        box-shadow:
            inset 0 0 90px
            rgba(0,0,0,.30) !important;
    }

    /* =====================================================
       LOGO
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-logo {
        position:absolute !important;

        left:22px !important;
        top:19px !important;

        width:82px !important;
        height:47px !important;

        display:flex !important;

        align-items:center !important;
        justify-content:center !important;

        margin:0 !important;

        z-index:4 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-logo img {
        display:block !important;

        max-width:100% !important;
        max-height:100% !important;

        width:auto !important;
        height:auto !important;

        object-fit:contain !important;
    }

    /* =====================================================
       AREA INTERNA
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-preview-content {
        position:absolute !important;

        inset:0 !important;

        width:100% !important;
        height:100% !important;

        margin:0 !important;
        padding:0 !important;

        display:block !important;

        transform:none !important;

        z-index:3 !important;
    }

    /* =====================================================
       MENU PREMIUM 2X2
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-menu {
        position:absolute !important;

        left:45px !important;
        top:91px !important;

        width:154px !important;

        display:grid !important;

        grid-template-columns:
            repeat(2,68px) !important;

        grid-auto-rows:68px !important;

        column-gap:14px !important;
        row-gap:12px !important;

        margin:0 !important;
        padding:0 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"] .kzy-tv-menu-item {
        position:relative !important;

        width:68px !important;
        height:68px !important;

        min-width:68px !important;
        min-height:68px !important;

        max-width:68px !important;
        max-height:68px !important;

        margin:0 !important;
        padding:0 !important;

        display:flex !important;

        flex-direction:column !important;

        align-items:center !important;
        justify-content:center !important;

        gap:5px !important;

        border-radius:50% !important;

        border:
            1px solid
            rgba(255,255,255,.40) !important;

        background:
            linear-gradient(
                145deg,
                rgba(255,255,255,.13),
                rgba(255,255,255,.025)
            ) !important;

        box-shadow:
            inset 0 1px 0
                rgba(255,255,255,.15),
            inset 0 -12px 20px
                rgba(0,0,0,.20),
            0 5px 15px
                rgba(0,0,0,.25) !important;

        color:#ffffff !important;

        box-sizing:border-box !important;

        overflow:visible !important;
    }

    /*
       Ativo com halo premium
    */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item.is-active {

        border-color:
            rgba(0,225,255,.92) !important;

        background:
            radial-gradient(
                circle at 50% 38%,
                rgba(0,220,255,.30),
                rgba(0,110,145,.15) 54%,
                rgba(0,0,0,.15) 100%
            ) !important;

        box-shadow:
            0 0 0 1px
                rgba(0,220,255,.13),
            0 0 18px
                rgba(0,207,255,.55),
            0 0 32px
                rgba(0,135,190,.25),
            inset 0 0 19px
                rgba(0,190,230,.20) !important;
    }

    /* =====================================================
       ICONES VETORIAIS
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item > span {

        position:relative !important;

        display:block !important;

        width:25px !important;
        height:25px !important;

        min-width:25px !important;
        min-height:25px !important;

        font-size:0 !important;

        line-height:0 !important;

        color:#fff !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item > span::before {

        content:"" !important;

        position:absolute !important;

        inset:0 !important;

        display:block !important;

        background-color:#fff !important;

        -webkit-mask-repeat:no-repeat !important;
        mask-repeat:no-repeat !important;

        -webkit-mask-position:center !important;
        mask-position:center !important;

        -webkit-mask-size:contain !important;
        mask-size:contain !important;
    }

    /* TV */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item:nth-child(1)
    > span::before {

        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 21h8M9 9h6v6H9z' fill='black'/%3E%3C/svg%3E") !important;

        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M8 21h8M9 9h6v6H9z' fill='black'/%3E%3C/svg%3E") !important;
    }

    /* Filmes */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item:nth-child(2)
    > span::before {

        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM10 8v8l7-4z' fill='black'/%3E%3C/svg%3E") !important;

        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 3h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zM10 8v8l7-4z' fill='black'/%3E%3C/svg%3E") !important;
    }

    /* Séries */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item:nth-child(3)
    > span::before {

        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4zM7 3v3m10-3v3M7 10h4v4H7zm6 0h4v4h-4z' fill='black'/%3E%3C/svg%3E") !important;

        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 6h16v12H4zM7 3v3m10-3v3M7 10h4v4H7zm6 0h4v4h-4z' fill='black'/%3E%3C/svg%3E") !important;
    }

    /* Ajustes */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item:nth-child(4)
    > span::before {

        -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.14 12.94a7.8 7.8 0 0 0 .05-.94 7.8 7.8 0 0 0-.05-.94l2.03-1.58-2-3.46-2.39.96a7.2 7.2 0 0 0-1.63-.94L14.8 3.5h-4l-.35 2.54a7.2 7.2 0 0 0-1.63.94l-2.39-.96-2 3.46 2.03 1.58a7.8 7.8 0 0 0-.05.94c0 .32.02.63.05.94L4.43 14.52l2 3.46 2.39-.96c.5.39 1.05.7 1.63.94l.35 2.54h4l.35-2.54c.58-.24 1.13-.55 1.63-.94l2.39.96 2-3.46zM12.8 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z' fill='black'/%3E%3C/svg%3E") !important;

        mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.14 12.94a7.8 7.8 0 0 0 .05-.94 7.8 7.8 0 0 0-.05-.94l2.03-1.58-2-3.46-2.39.96a7.2 7.2 0 0 0-1.63-.94L14.8 3.5h-4l-.35 2.54a7.2 7.2 0 0 0-1.63.94l-2.39-.96-2 3.46 2.03 1.58a7.8 7.8 0 0 0-.05.94c0 .32.02.63.05.94L4.43 14.52l2 3.46 2.39-.96c.5.39 1.05.7 1.63.94l.35 2.54h4l.35-2.54c.58-.24 1.13-.55 1.63-.94l2.39.96 2-3.46zM12.8 15.5a3.5 3.5 0 1 1 0-7 3.5 3.5 0 0 1 0 7z' fill='black'/%3E%3C/svg%3E") !important;
    }

    /* =====================================================
       TEXTO DOS MENUS
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item strong {

        display:block !important;

        margin:0 !important;

        max-width:62px !important;

        overflow:hidden !important;

        color:#fff !important;

        font-size:7px !important;
        line-height:1 !important;

        font-weight:700 !important;

        letter-spacing:.15px !important;

        text-align:center !important;

        text-overflow:ellipsis !important;

        white-space:nowrap !important;

        text-shadow:
            0 1px 3px
            rgba(0,0,0,.8) !important;
    }

    /* =====================================================
       BOTAO RECARREGAR PREMIUM
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-reload-app {

        position:absolute !important;

        left:46px !important;
        top:253px !important;

        width:150px !important;
        height:30px !important;

        min-width:150px !important;
        min-height:30px !important;

        margin:0 !important;
        padding:0 12px !important;

        display:flex !important;

        align-items:center !important;
        justify-content:center !important;

        gap:7px !important;

        border:
            1px solid
            rgba(255,255,255,.36) !important;

        border-radius:5px !important;

        background:
            linear-gradient(
                180deg,
                rgba(255,255,255,.18),
                rgba(255,255,255,.055)
            ) !important;

        box-shadow:
            inset 0 1px 0
                rgba(255,255,255,.14),
            0 4px 12px
                rgba(0,0,0,.28) !important;

        color:#fff !important;

        font-size:8px !important;
        line-height:1 !important;

        font-weight:600 !important;

        text-shadow:
            0 1px 2px
            rgba(0,0,0,.8) !important;

        z-index:5 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-reload-symbol {

        display:inline-flex !important;

        align-items:center !important;
        justify-content:center !important;

        font-size:13px !important;
        line-height:1 !important;
    }

    /* =====================================================
       FILMES + SERIES
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-media.kzy-tv-media-rich {

        position:absolute !important;

        left:245px !important;
        top:35px !important;

        width:360px !important;
        max-width:360px !important;

        display:flex !important;

        flex-direction:column !important;

        gap:9px !important;

        margin:0 !important;
        padding:0 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-media-block {

        display:block !important;

        width:360px !important;

        margin:0 !important;
        padding:0 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-media-title {

        display:block !important;

        margin:0 0 5px !important;
        padding:0 !important;

        color:#fff !important;

        font-size:9px !important;
        line-height:1 !important;

        font-weight:700 !important;

        text-align:left !important;

        white-space:nowrap !important;

        text-shadow:
            0 2px 4px
            rgba(0,0,0,.85) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-poster-grid {

        display:grid !important;

        grid-template-columns:
            repeat(4,81px) !important;

        gap:8px !important;

        width:348px !important;
        max-width:348px !important;

        margin:0 !important;
        padding:0 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-poster {

        position:relative !important;

        width:81px !important;
        height:121px !important;

        min-width:81px !important;
        min-height:121px !important;

        max-width:81px !important;
        max-height:121px !important;

        margin:0 !important;
        padding:0 !important;

        overflow:hidden !important;

        border:
            1px solid
            rgba(255,255,255,.20) !important;

        border-radius:4px !important;

        background:#080d11 !important;

        box-shadow:
            0 4px 9px
            rgba(0,0,0,.24) !important;

        box-sizing:border-box !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-poster-img {

        position:absolute !important;

        inset:0 !important;

        display:block !important;

        width:100% !important;
        height:100% !important;

        object-fit:contain !important;
        object-position:center center !important;

        background:#080d11 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-poster > span {

        display:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-poster::before {

        display:none !important;
    }

    /* =====================================================
       RODAPE
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-footer {

        position:absolute !important;

        left:18px !important;
        right:18px !important;
        bottom:10px !important;

        width:auto !important;

        margin:0 !important;
        padding:0 !important;

        display:flex !important;

        align-items:center !important;
        justify-content:space-between !important;

        color:
            rgba(255,255,255,.78) !important;

        font-size:6px !important;
        line-height:1 !important;

        font-weight:500 !important;

        white-space:nowrap !important;

        text-shadow:
            0 1px 3px
            rgba(0,0,0,.85) !important;

        z-index:5 !important;
    }
}


/* KZYPLAY MARCA ESTADOS DINAMICOS OFICIAL */

@media (min-width:1024px) {

    /* =====================================================
       BASE DOS ICONES SVG
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item > span::before {
        display:none !important;
        content:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-menu-item > span svg {
        width:22px !important;
        height:22px !important;

        display:block !important;

        fill:none !important;
        stroke:currentColor !important;

        stroke-width:1.8 !important;
        stroke-linecap:round !important;
        stroke-linejoin:round !important;
    }

    /* =====================================================
       FORMATO QUADRADO
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-square
    .kzy-tv-menu-item {
        border-radius:14px !important;
    }

    /* =====================================================
       V3 CLOCK
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-v3-info {
        display:none !important;
    }

    /* =====================================================
       RMS
       Menu 2x2 esquerda + filmes e séries direita
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-v3-info {
        display:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-logo {
        left:22px !important;
        top:19px !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-media {
        display:flex !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-menu {
        left:45px !important;
        top:91px !important;

        width:154px !important;

        grid-template-columns:
            repeat(2,68px) !important;

        grid-auto-rows:
            68px !important;

        gap:12px 14px !important;

        transform:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-menu-item {
        width:68px !important;
        height:68px !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-menu-item > span {

        width:31px !important;
        height:31px !important;

        display:grid !important;

        place-items:center !important;

        border-radius:50% !important;

        box-shadow:
            inset 0 0 0 1px
            rgba(255,255,255,.16) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-menu-item:nth-child(1) > span {
        background:
            linear-gradient(
                145deg,
                #ffba38,
                #ff8c19
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-menu-item:nth-child(2) > span {
        background:
            linear-gradient(
                145deg,
                #42d8e8,
                #139ab3
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-menu-item:nth-child(3) > span {
        background:
            linear-gradient(
                145deg,
                #79d58c,
                #3ea859
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-menu-item:nth-child(4) > span {
        background:
            linear-gradient(
                145deg,
                #9d79d3,
                #6e49a3
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-rms
    .kzy-tv-reload-app {
        left:46px !important;
        top:253px !important;

        transform:none !important;
    }

    /* =====================================================
       CLASSICO
       Logo central topo
       4 botões em linha
       Sem filmes/séries
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-media {
        display:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-v3-info {
        display:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-logo {
        left:50% !important;
        top:42px !important;

        width:82px !important;
        height:52px !important;

        transform:
            translateX(-50%) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-menu {

        left:50% !important;
        top:55% !important;

        width:auto !important;

        display:grid !important;

        grid-template-columns:
            repeat(4,86px) !important;

        grid-auto-rows:
            86px !important;

        gap:18px !important;

        transform:
            translate(-50%,-50%) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-menu-item {

        width:86px !important;
        height:86px !important;

        min-width:86px !important;
        min-height:86px !important;

        max-width:86px !important;
        max-height:86px !important;

        gap:7px !important;

        background:
            radial-gradient(
                circle at 50% 35%,
                rgba(255,255,255,.13),
                rgba(255,255,255,.025) 60%,
                rgba(0,0,0,.13)
            ) !important;

        border:
            1px solid
            rgba(255,255,255,.42) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-menu-item > span {

        width:34px !important;
        height:34px !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-menu-item > span svg {

        width:31px !important;
        height:31px !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-menu-item strong {

        font-size:9px !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-classico
    .kzy-tv-reload-app {

        left:50% !important;
        top:76% !important;

        width:145px !important;

        transform:
            translateX(-50%) !important;
    }

    /* =====================================================
       MENU V3
       Relógio/data esquerda
       Menu grande 2x2 direita
       Sem capas
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-media {
        display:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-logo {

        left:22px !important;
        top:18px !important;

        width:84px !important;
        height:50px !important;

        transform:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-v3-info {

        position:absolute !important;

        left:42px !important;
        top:145px !important;

        display:flex !important;

        flex-direction:column !important;

        align-items:flex-start !important;

        gap:10px !important;

        z-index:5 !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-v3-clock {

        color:#fff !important;

        font-size:46px !important;
        line-height:1 !important;

        font-weight:800 !important;

        letter-spacing:1px !important;

        text-shadow:
            0 3px 8px
            rgba(0,0,0,.72) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-v3-date {

        color:#fff !important;

        font-size:12px !important;
        line-height:1 !important;

        font-weight:600 !important;

        text-shadow:
            0 2px 5px
            rgba(0,0,0,.76) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu {

        left:auto !important;
        right:43px !important;
        top:79px !important;

        width:208px !important;

        display:grid !important;

        grid-template-columns:
            repeat(2,94px) !important;

        grid-auto-rows:
            94px !important;

        gap:18px 20px !important;

        transform:none !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item {

        width:94px !important;
        height:94px !important;

        min-width:94px !important;
        min-height:94px !important;

        max-width:94px !important;
        max-height:94px !important;

        gap:7px !important;

        background:
            radial-gradient(
                circle at 50% 38%,
                rgba(255,255,255,.12),
                rgba(255,255,255,.025) 62%,
                rgba(0,0,0,.18)
            ) !important;

        border:
            1px solid
            rgba(255,255,255,.42) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item > span {

        width:36px !important;
        height:36px !important;

        display:grid !important;

        place-items:center !important;

        border-radius:50% !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item:nth-child(1) > span {
        background:
            linear-gradient(
                145deg,
                #ffba38,
                #ff8f1f
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item:nth-child(2) > span {
        background:
            linear-gradient(
                145deg,
                #44d7e7,
                #18a1bc
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item:nth-child(3) > span {
        background:
            linear-gradient(
                145deg,
                #78d68c,
                #45ad5e
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item:nth-child(4) > span {
        background:
            linear-gradient(
                145deg,
                #9d7bd4,
                #714da7
            ) !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item > span svg {

        width:24px !important;
        height:24px !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-menu-item strong {

        font-size:10px !important;
    }

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen.kzy-menu-v3
    .kzy-tv-reload-app {

        left:42px !important;
        top:270px !important;

        width:164px !important;
        height:32px !important;

        transform:none !important;

        background:
            linear-gradient(
                180deg,
                #ffae31,
                #ff921e
            ) !important;

        border:
            1px solid
            rgba(255,207,112,.95) !important;

        color:#fff !important;

        box-shadow:
            0 5px 14px
            rgba(0,0,0,.30) !important;
    }

    /* =====================================================
       FUNDO SEMPRE INDEPENDENTE
       ===================================================== */

    .kzy-brand-screen[data-brand-screen="tv"]
    .kzy-tv-screen {

        background-size:
            cover !important;

        background-position:
            center center !important;

        background-repeat:
            no-repeat !important;
    }
}


/* KZYPLAY CONTROLES FINAIS EXTRA */

/*
 * Controles conectados diretamente aos elementos reais.
 * Sem override visual genérico adicional.
 */

/* FIM KZYPLAY CONTROLES FINAIS EXTRA */

/* FIM KZYPLAY MARCA ESTADOS DINAMICOS OFICIAL */

/* FIM KZYPLAY PREVIEW TV OFICIAL FINAL */




