.ptk-lotto-special-app,
.ptk-lotto-special-app * {
    box-sizing: border-box;
}

.ptk-lotto-special-app {
    --ptk-special-bg: #0d0e10;
    --ptk-special-panel: #15171a;
    --ptk-special-panel-soft: #1b1e22;
    --ptk-special-line: rgba(255, 255, 255, 0.09);
    --ptk-special-gold: #d8b45f;
    --ptk-special-gold-bright: #f0d48b;
    --ptk-special-text: #f4f1e9;
    --ptk-special-muted: #a8abb2;
    width: min(1180px, calc(100% - 28px));
    margin: 32px auto;
    color: var(--ptk-special-text);
    font-family: inherit;
}

.ptk-lotto-special-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 58px);
    border: 1px solid rgba(216, 180, 95, 0.35);
    border-radius: 22px;
    background:
        radial-gradient(circle at 88% 15%, rgba(216, 180, 95, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(22, 24, 28, 0.98), rgba(8, 9, 11, 0.98));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.ptk-lotto-special-hero::after {
    content: "";
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 260px;
    height: 260px;
    border: 1px solid rgba(216, 180, 95, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 24px rgba(216, 180, 95, 0.03), 0 0 0 50px rgba(216, 180, 95, 0.02);
}

.ptk-lotto-special-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--ptk-special-gold-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.ptk-lotto-special-hero h1,
.ptk-lotto-special-section-title h2,
.ptk-lotto-special-result-head h2,
.ptk-lotto-special-card h2,
.ptk-lotto-special-three-intro h2 {
    margin: 0;
    color: #fff;
    line-height: 1.25;
}

.ptk-lotto-special-hero h1 {
    font-size: clamp(34px, 6vw, 64px);
}

.ptk-lotto-special-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 14px 0 0;
    color: #c9cbd0;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.8;
}

.ptk-lotto-special-alert,
.ptk-lotto-special-status,
.ptk-lotto-special-not-ready {
    margin-top: 18px;
    padding: 15px 18px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
}

.ptk-lotto-special-alert.is-success {
    border-color: rgba(74, 222, 128, 0.35);
    background: rgba(22, 101, 52, 0.2);
    color: #bbf7d0;
}

.ptk-lotto-special-alert.is-error {
    border-color: rgba(248, 113, 113, 0.35);
    background: rgba(127, 29, 29, 0.2);
    color: #fecaca;
}

.ptk-lotto-special-gate,
.ptk-lotto-special-card,
.ptk-lotto-special-consensus,
.ptk-lotto-special-ai,
.ptk-lotto-special-three-tool,
.ptk-lotto-special-orders,
.ptk-lotto-special-renew {
    margin-top: 22px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--ptk-special-line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(24, 26, 30, 0.97), rgba(14, 15, 18, 0.97));
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
}

.ptk-lotto-special-gate {
    text-align: center;
}

.ptk-lotto-special-lock,
.ptk-lotto-special-ai-orb {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 0 auto 18px;
    place-items: center;
    border: 1px solid rgba(216, 180, 95, 0.55);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 180, 95, 0.21), rgba(216, 180, 95, 0.04));
    color: var(--ptk-special-gold-bright);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ptk-lotto-special-gate h2,
.ptk-lotto-special-card h3,
.ptk-lotto-special-orders h3 {
    margin: 0 0 8px;
    color: #fff;
}

.ptk-lotto-special-gate p,
.ptk-lotto-special-card p,
.ptk-lotto-special-three-intro p,
.ptk-lotto-special-three-rule,
.ptk-lotto-special-section-title p,
.ptk-lotto-special-muted {
    color: var(--ptk-special-muted);
    line-height: 1.75;
}

.ptk-lotto-special-actions,
.ptk-lotto-special-mode-tabs,
.ptk-lotto-special-window-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ptk-lotto-special-actions {
    justify-content: center;
    margin-top: 22px;
}

.ptk-lotto-special-button,
.ptk-lotto-special-mode-tab,
.ptk-lotto-special-window-tab {
    appearance: none;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: #202329;
    color: #f2f2f2;
    font: inherit;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.ptk-lotto-special-button:hover,
.ptk-lotto-special-mode-tab:hover,
.ptk-lotto-special-window-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(216, 180, 95, 0.55);
}

.ptk-lotto-special-button.is-primary,
.ptk-lotto-special-mode-tab.is-active,
.ptk-lotto-special-window-tab.is-active {
    border-color: #d8b45f;
    background: linear-gradient(135deg, #d8b45f, #ad8132);
    color: #17130b;
    box-shadow: 0 8px 24px rgba(216, 180, 95, 0.18);
}

.ptk-lotto-special-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.ptk-lotto-special-card-label {
    color: var(--ptk-special-gold-bright);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.ptk-lotto-special-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 18px 0;
}

.ptk-lotto-special-price strong {
    color: var(--ptk-special-gold-bright);
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1;
}

.ptk-lotto-special-price.is-small strong {
    font-size: 34px;
}

.ptk-lotto-special-price span {
    color: var(--ptk-special-muted);
}

.ptk-lotto-special-payment-box {
    margin: 16px 0;
    padding: 16px;
    border-left: 3px solid var(--ptk-special-gold);
    border-radius: 8px;
    background: rgba(216, 180, 95, 0.08);
    color: #e8e1cf;
    line-height: 1.7;
}

.ptk-lotto-special-payment-box strong {
    display: block;
    margin-bottom: 8px;
}

.ptk-lotto-special-central-checkout {
    margin-top: 18px;
}

.ptk-lotto-special-central-checkout .ptk-lotto-special-button {
    width: 100%;
}

.ptk-lotto-special-form {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.ptk-lotto-special-form label {
    display: grid;
    gap: 7px;
    color: #e7e7e7;
    font-weight: 700;
}

.ptk-lotto-special-form input[type="text"],
.ptk-lotto-special-form input[type="file"],
.ptk-lotto-special-form textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 10px;
    background: #0c0d0f;
    color: #fff;
    font: inherit;
}

.ptk-lotto-special-form small {
    color: var(--ptk-special-muted);
    font-weight: 400;
}

.ptk-lotto-special-member-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid rgba(74, 222, 128, 0.24);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.08);
}

.ptk-lotto-special-member-bar > div {
    display: grid;
    gap: 4px;
    padding: 17px 20px;
    background: rgba(8, 20, 13, 0.92);
}

.ptk-lotto-special-member-bar span {
    color: #a7b2aa;
    font-size: 13px;
}

.ptk-lotto-special-member-bar strong {
    color: #bbf7d0;
}

.ptk-lotto-special-mode-tabs {
    margin-top: 22px;
    padding: 6px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 14px;
    background: rgba(8, 9, 11, 0.8);
}

.ptk-lotto-special-mode-tab {
    flex: 1 1 260px;
}

.ptk-lotto-special-mode-panel,
.ptk-lotto-special-window-panel {
    display: none;
}

.ptk-lotto-special-mode-panel.is-active,
.ptk-lotto-special-window-panel.is-active {
    display: block;
}

.ptk-lotto-special-result-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding: 25px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(27, 30, 35, 0.98), rgba(10, 11, 13, 0.98));
}

.ptk-lotto-special-base {
    padding: 12px 15px;
    border-radius: 12px;
    color: var(--ptk-special-muted);
    line-height: 1.55;
    text-align: right;
}

.ptk-lotto-special-base strong {
    display: inline-block;
    margin-top: 2px;
    color: var(--ptk-special-gold-bright);
}

.ptk-lotto-special-window-tabs {
    margin: 14px 0;
}

.ptk-lotto-special-window-tab {
    flex: 1 1 150px;
}

.ptk-lotto-special-window-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 12px 0;
    color: var(--ptk-special-muted);
    font-size: 13px;
}

.ptk-lotto-special-numbers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.ptk-lotto-special-number {
    position: relative;
    display: grid;
    min-height: 130px;
    padding: 15px;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--ptk-special-line);
    border-radius: 15px;
    background: var(--ptk-special-panel);
}

.ptk-lotto-special-number > span {
    position: absolute;
    top: 8px;
    left: 10px;
    color: #737780;
    font-size: 11px;
}

.ptk-lotto-special-number strong {
    color: #fff;
    font-size: clamp(34px, 4vw, 46px);
    letter-spacing: 0.04em;
}

.ptk-lotto-special-number small {
    color: var(--ptk-special-gold-bright);
    font-size: 10px;
}

.ptk-lotto-special-number.is-featured {
    border-color: rgba(216, 180, 95, 0.55);
    background: linear-gradient(145deg, rgba(68, 52, 20, 0.55), rgba(19, 18, 16, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 241, 191, 0.08);
}

.ptk-lotto-special-consensus-list,
.ptk-lotto-special-ai-numbers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.ptk-lotto-special-consensus-list > div,
.ptk-lotto-special-ai-numbers > div {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    text-align: center;
}

.ptk-lotto-special-consensus-list strong,
.ptk-lotto-special-ai-numbers strong {
    color: var(--ptk-special-gold-bright);
    font-size: 28px;
}

.ptk-lotto-special-consensus-list span,
.ptk-lotto-special-ai-numbers span {
    color: var(--ptk-special-muted);
    font-size: 11px;
}

.ptk-lotto-special-ai {
    border-color: rgba(216, 180, 95, 0.35);
    background:
        radial-gradient(circle at 20% 0, rgba(216, 180, 95, 0.13), transparent 32%),
        linear-gradient(180deg, rgba(25, 23, 19, 0.98), rgba(12, 12, 13, 0.98));
}

.ptk-lotto-special-ai-orb {
    margin-left: 0;
}

.ptk-lotto-special-three-form {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 15px;
    background: rgba(0, 0, 0, 0.22);
}

.ptk-lotto-special-three-form fieldset {
    min-width: 0;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
}

.ptk-lotto-special-three-form legend {
    margin-bottom: 12px;
    color: #fff;
    font-weight: 800;
}

.ptk-lotto-special-three-years {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.ptk-lotto-special-three-years label {
    cursor: pointer;
}

.ptk-lotto-special-three-years input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ptk-lotto-special-three-years span {
    display: grid;
    min-height: 78px;
    padding: 14px;
    place-items: center;
    border: 1px solid var(--ptk-special-line);
    border-radius: 12px;
    background: #121417;
    color: #fff;
    font-weight: 800;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.ptk-lotto-special-three-years small {
    color: var(--ptk-special-muted);
    font-size: 11px;
    font-weight: 400;
}

.ptk-lotto-special-three-years input:checked + span {
    border-color: var(--ptk-special-gold);
    background: rgba(216, 180, 95, 0.13);
    color: var(--ptk-special-gold-bright);
}

.ptk-lotto-special-three-rule {
    margin: 14px 0 0;
    font-size: 12px;
}

.ptk-lotto-special-three-result {
    margin-top: 18px;
}

.ptk-lotto-special-three-placeholder,
.ptk-lotto-special-three-loading,
.ptk-lotto-special-three-error {
    padding: 24px;
    border: 1px dashed rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: var(--ptk-special-muted);
    text-align: center;
}

.ptk-lotto-special-three-error {
    border-color: rgba(248, 113, 113, 0.4);
    color: #fecaca;
}

.ptk-lotto-special-three-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.ptk-lotto-special-three-summary span {
    padding: 7px 10px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #c7c9ce;
    font-size: 12px;
}

.ptk-lotto-special-three-cards {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.ptk-lotto-special-three-card {
    padding: 17px;
    border: 1px solid rgba(216, 180, 95, 0.36);
    border-radius: 14px;
    background: linear-gradient(150deg, rgba(58, 44, 17, 0.45), rgba(16, 17, 19, 0.98));
    text-align: center;
}

.ptk-lotto-special-three-card > strong {
    display: block;
    color: var(--ptk-special-gold-bright);
    font-size: clamp(36px, 5vw, 50px);
    letter-spacing: 0.06em;
}

.ptk-lotto-special-three-card > span {
    color: var(--ptk-special-muted);
    font-size: 11px;
}

.ptk-lotto-special-three-permutations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
}

.ptk-lotto-special-three-permutations small {
    padding: 4px 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: #d5d6d9;
}

.ptk-lotto-special-renew summary {
    color: var(--ptk-special-gold-bright);
    font-weight: 800;
    cursor: pointer;
}

.ptk-lotto-special-orders-scroll {
    overflow-x: auto;
}

.ptk-lotto-special-orders table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
}

.ptk-lotto-special-orders th,
.ptk-lotto-special-orders td {
    padding: 12px;
    border-bottom: 1px solid var(--ptk-special-line);
    text-align: left;
}

.ptk-lotto-special-orders th {
    color: var(--ptk-special-muted);
    font-size: 12px;
}

.ptk-lotto-special-disclaimer {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid rgba(216, 180, 95, 0.22);
    border-radius: 14px;
    background: rgba(9, 10, 12, 0.9);
    color: var(--ptk-special-muted);
}

.ptk-lotto-special-disclaimer strong {
    color: var(--ptk-special-gold-bright);
}

.ptk-lotto-special-disclaimer p {
    margin: 5px 0 0;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .ptk-lotto-special-numbers,
    .ptk-lotto-special-consensus-list,
    .ptk-lotto-special-ai-numbers,
    .ptk-lotto-special-three-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ptk-lotto-special-three-years {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ptk-lotto-special-app {
        width: min(100% - 18px, 1180px);
        margin: 18px auto;
    }

    .ptk-lotto-special-grid-two,
    .ptk-lotto-special-member-bar {
        grid-template-columns: 1fr;
    }

    .ptk-lotto-special-result-head,
    .ptk-lotto-special-window-meta {
        flex-direction: column;
    }

    .ptk-lotto-special-base {
        text-align: left;
    }

    .ptk-lotto-special-numbers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ptk-lotto-special-number:last-child:nth-child(odd),
    .ptk-lotto-special-three-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   v2.2.4 LUXURY SURFACE UI SAFE MODE
========================================================= */
.ptk-lotto-special-app{
    --ptk-special-line: transparent;
}
.ptk-lotto-special-hero{
    border-color: transparent;
    box-shadow: 0 22px 58px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
}
.ptk-lotto-special-gate,
.ptk-lotto-special-card,
.ptk-lotto-special-consensus,
.ptk-lotto-special-ai,
.ptk-lotto-special-three-tool,
.ptk-lotto-special-orders,
.ptk-lotto-special-renew,
.ptk-lotto-special-advanced-card{
    border-color: transparent;
    background: linear-gradient(180deg,rgba(27,29,33,.98),rgba(14,15,18,.98));
    box-shadow: 0 15px 38px rgba(0,0,0,.19), inset 0 1px 0 rgba(255,255,255,.035);
}
.ptk-lotto-special-result-card,
.ptk-lotto-special-formula-row,
.ptk-lotto-special-history-item,
.ptk-lotto-special-order,
.ptk-lotto-special-target,
.ptk-lotto-special-base,
.ptk-lotto-special-ensemble-numbers>span{
    border-color: transparent;
    background: rgba(255,255,255,.045);
}
.ptk-lotto-special-advanced-number-group span{
    border-color: transparent;
    background: rgba(216,180,95,.095);
    box-shadow: inset 0 1px 0 rgba(255,232,177,.05);
}
.ptk-lotto-special-advanced-ensemble{
    border-color: transparent;
    box-shadow: inset 0 1px 0 rgba(255,230,170,.05);
}
.ptk-lotto-special-advanced-note,
.ptk-lotto-special-three-target{
    border-color: transparent;
}
/* Restore borders whose state or affordance carries meaning. */
.ptk-lotto-special-alert.is-success{border-color:rgba(74,222,128,.35)}
.ptk-lotto-special-alert.is-error{border-color:rgba(248,113,113,.35)}
.ptk-lotto-special-button,
.ptk-lotto-special-mode-tab,
.ptk-lotto-special-window-tab{border-color:rgba(255,255,255,.12)}
.ptk-lotto-special-button.is-primary,
.ptk-lotto-special-mode-tab.is-active,
.ptk-lotto-special-window-tab.is-active{border-color:#d8b45f}
.ptk-lotto-special-form input,
.ptk-lotto-special-form select,
.ptk-lotto-special-form textarea{border-color:rgba(255,255,255,.13)}
@media (max-width:680px){
    .ptk-lotto-special-app{width:100%;margin:18px auto}
    .ptk-lotto-special-hero{padding:22px 14px;border-radius:17px}
    .ptk-lotto-special-gate,
    .ptk-lotto-special-card,
    .ptk-lotto-special-consensus,
    .ptk-lotto-special-ai,
    .ptk-lotto-special-three-tool,
    .ptk-lotto-special-orders,
    .ptk-lotto-special-renew{padding:17px 13px;border-radius:15px;margin-top:14px}
    .ptk-lotto-special-advanced-card{padding:15px 12px;border-radius:14px}
    .ptk-lotto-special-advanced-ensemble{padding:17px 12px;border-radius:15px}
    .ptk-lotto-special-result-card,
    .ptk-lotto-special-formula-row,
    .ptk-lotto-special-history-item,
    .ptk-lotto-special-order{padding:13px 11px}
}


/* =========================================================
   PTK LOTTO SPECIAL FORMULA v2.2.3
   ADVANCED STATISTICAL TREND MODELS
========================================================= */
.ptk-lotto-special-target-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    gap: 10px;
    align-content: start;
}

.ptk-lotto-special-target {
    padding: 10px 13px;
    border: 1px solid rgba(216, 180, 95, 0.32);
    border-radius: 11px;
    background: rgba(216, 180, 95, 0.08);
    color: var(--ptk-special-muted);
    text-align: right;
}

.ptk-lotto-special-target strong {
    color: var(--ptk-special-gold-bright);
}

.ptk-lotto-special-advanced-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0;
    padding: 12px 15px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    color: var(--ptk-special-muted);
    font-size: 12px;
}

.ptk-lotto-special-advanced-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ptk-lotto-special-advanced-card {
    padding: 20px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 17px;
    background:
        radial-gradient(circle at 100% 0, rgba(216, 180, 95, 0.09), transparent 32%),
        linear-gradient(180deg, rgba(24, 26, 30, 0.98), rgba(13, 14, 17, 0.98));
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
}

.ptk-lotto-special-advanced-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ptk-lotto-special-advanced-card-head > span {
    display: grid;
    min-width: 58px;
    height: 38px;
    padding: 0 8px;
    place-items: center;
    border: 1px solid rgba(216, 180, 95, 0.45);
    border-radius: 9px;
    background: rgba(216, 180, 95, 0.1);
    color: var(--ptk-special-gold-bright);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.ptk-lotto-special-advanced-card h3,
.ptk-lotto-special-advanced-ensemble h3 {
    margin: 0;
    color: #fff;
}

.ptk-lotto-special-advanced-card-head small {
    color: var(--ptk-special-muted);
}

.ptk-lotto-special-advanced-card > p,
.ptk-lotto-special-advanced-note p {
    color: var(--ptk-special-muted);
    line-height: 1.7;
}

.ptk-lotto-special-advanced-number-group {
    margin-top: 17px;
}

.ptk-lotto-special-advanced-number-group > strong {
    display: block;
    margin-bottom: 8px;
    color: #e7e0ce;
    font-size: 12px;
}

.ptk-lotto-special-advanced-number-group > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ptk-lotto-special-advanced-number-group span {
    display: grid;
    min-width: 48px;
    min-height: 42px;
    padding: 7px 9px;
    place-items: center;
    border: 1px solid rgba(216, 180, 95, 0.28);
    border-radius: 10px;
    background: rgba(216, 180, 95, 0.07);
    color: var(--ptk-special-gold-bright);
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.ptk-lotto-special-advanced-number-group.is-three span {
    min-width: 64px;
}

.ptk-lotto-special-advanced-ensemble {
    margin-top: 16px;
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid rgba(216, 180, 95, 0.42);
    border-radius: 18px;
    background:
        radial-gradient(circle at 85% 0, rgba(216, 180, 95, 0.15), transparent 30%),
        linear-gradient(145deg, rgba(39, 31, 16, 0.86), rgba(11, 12, 14, 0.98));
}

.ptk-lotto-special-advanced-ensemble-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.ptk-lotto-special-ensemble-numbers {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.ptk-lotto-special-ensemble-numbers > span {
    display: grid;
    gap: 3px;
    padding: 12px 8px;
    border: 1px solid var(--ptk-special-line);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.045);
    text-align: center;
}

.ptk-lotto-special-ensemble-numbers strong {
    color: var(--ptk-special-gold-bright);
    font-size: 25px;
}

.ptk-lotto-special-ensemble-numbers small {
    color: var(--ptk-special-muted);
    font-size: 10px;
}

.ptk-lotto-special-advanced-note,
.ptk-lotto-special-three-target {
    margin-top: 16px;
    padding: 15px 17px;
    border: 1px solid rgba(216, 180, 95, 0.2);
    border-radius: 13px;
    background: rgba(216, 180, 95, 0.055);
}

.ptk-lotto-special-advanced-note strong,
.ptk-lotto-special-three-target strong {
    color: var(--ptk-special-gold-bright);
}

.ptk-lotto-special-three-target {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ptk-lotto-special-three-target span {
    color: var(--ptk-special-muted);
}

@media (max-width: 960px) {
    .ptk-lotto-special-advanced-grid {
        grid-template-columns: 1fr;
    }

    .ptk-lotto-special-ensemble-numbers {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .ptk-lotto-special-target-stack,
    .ptk-lotto-special-advanced-ensemble-grid {
        grid-template-columns: 1fr;
    }

    .ptk-lotto-special-target,
    .ptk-lotto-special-base {
        padding: 11px 13px;
        border-radius: 11px;
        text-align: left;
    }

    .ptk-lotto-special-advanced-meta {
        flex-direction: column;
    }

    .ptk-lotto-special-ensemble-numbers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   v2.2.4 LUXURY SURFACE UI — FINAL CASCADE
========================================================= */
.ptk-lotto-special-app{--ptk-special-line:transparent}
.ptk-lotto-special-hero{border-color:transparent;box-shadow:0 22px 58px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.04)}
.ptk-lotto-special-gate,
.ptk-lotto-special-card,
.ptk-lotto-special-consensus,
.ptk-lotto-special-ai,
.ptk-lotto-special-three-tool,
.ptk-lotto-special-orders,
.ptk-lotto-special-renew,
.ptk-lotto-special-advanced-card{border-color:transparent;background:linear-gradient(180deg,rgba(27,29,33,.98),rgba(14,15,18,.98));box-shadow:0 15px 38px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.035)}
.ptk-lotto-special-result-card,
.ptk-lotto-special-formula-row,
.ptk-lotto-special-history-item,
.ptk-lotto-special-order,
.ptk-lotto-special-target,
.ptk-lotto-special-base,
.ptk-lotto-special-ensemble-numbers>span{border-color:transparent;background:rgba(255,255,255,.045)}
.ptk-lotto-special-advanced-number-group span{border-color:transparent;background:rgba(216,180,95,.095);box-shadow:inset 0 1px 0 rgba(255,232,177,.05)}
.ptk-lotto-special-advanced-ensemble{border-color:transparent;box-shadow:inset 0 1px 0 rgba(255,230,170,.05)}
.ptk-lotto-special-advanced-note,
.ptk-lotto-special-three-target{border-color:transparent}
.ptk-lotto-special-alert.is-success{border-color:rgba(74,222,128,.35)}
.ptk-lotto-special-alert.is-error{border-color:rgba(248,113,113,.35)}
.ptk-lotto-special-button,
.ptk-lotto-special-mode-tab,
.ptk-lotto-special-window-tab{border-color:rgba(255,255,255,.12)}
.ptk-lotto-special-button.is-primary,
.ptk-lotto-special-mode-tab.is-active,
.ptk-lotto-special-window-tab.is-active{border-color:#d8b45f}
.ptk-lotto-special-form input,
.ptk-lotto-special-form select,
.ptk-lotto-special-form textarea{border-color:rgba(255,255,255,.13)}
@media (max-width:680px){
    .ptk-lotto-special-app{width:100%;margin:18px auto}
    .ptk-lotto-special-hero{padding:22px 14px;border-radius:17px}
    .ptk-lotto-special-gate,
    .ptk-lotto-special-card,
    .ptk-lotto-special-consensus,
    .ptk-lotto-special-ai,
    .ptk-lotto-special-three-tool,
    .ptk-lotto-special-orders,
    .ptk-lotto-special-renew{padding:17px 13px;border-radius:15px;margin-top:14px}
    .ptk-lotto-special-advanced-card{padding:15px 12px;border-radius:14px}
    .ptk-lotto-special-advanced-ensemble{padding:17px 12px;border-radius:15px}
    .ptk-lotto-special-result-card,
    .ptk-lotto-special-formula-row,
    .ptk-lotto-special-history-item,
    .ptk-lotto-special-order{padding:13px 11px}
}

/* v2.2.10 Premium prediction history */
.ptk-lotto-special-history-badge{display:inline-flex;margin-left:7px;padding:3px 7px;border-radius:999px;background:rgba(36,170,96,.18);color:#caffdd;font-size:10px;font-weight:900;vertical-align:middle}
.ptk-lotto-special-history-bridge{margin-top:6px}
.ptk-lotto-special-history-bridge .ptk-lotto-history-win-alert,
.ptk-lotto-special-history-bridge .ptk-lotto-history-neutral-alert{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:14px 0;padding:14px 16px;border-radius:15px}
.ptk-lotto-special-history-bridge .ptk-lotto-history-win-alert{background:linear-gradient(180deg,rgba(7,86,48,.55),rgba(4,37,23,.72));box-shadow:inset 0 1px 0 rgba(173,255,214,.08)}
.ptk-lotto-special-history-bridge .ptk-lotto-history-win-alert strong{color:#caffdd}
.ptk-lotto-special-history-bridge .ptk-lotto-history-win-alert span{max-width:680px;color:#d2c7b8;font-size:13px;line-height:1.55;text-align:right}
.ptk-lotto-special-history-bridge .ptk-lotto-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.ptk-lotto-special-history-bridge .ptk-lotto-history-stats>div{padding:13px;border-radius:14px;background:rgba(255,255,255,.04)}
.ptk-lotto-special-history-bridge .ptk-lotto-history-stats span,.ptk-lotto-special-history-bridge .ptk-lotto-history-stats small{display:block;color:#bfb29f}
.ptk-lotto-special-history-bridge .ptk-lotto-history-stats span{font-size:11px;font-weight:900}.ptk-lotto-special-history-bridge .ptk-lotto-history-stats strong{display:block;margin:5px 0;color:#fff;font-size:21px}.ptk-lotto-special-history-bridge .ptk-lotto-history-stats small{font-size:11px}
.ptk-lotto-special-history-bridge .ptk-lotto-history-section{margin-top:22px}.ptk-lotto-special-history-bridge .ptk-lotto-history-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}.ptk-lotto-special-history-bridge .ptk-lotto-history-section-head h3{margin:0}.ptk-lotto-special-history-bridge .ptk-lotto-history-section-head span{color:#bfb29f;font-size:12px}
.ptk-lotto-special-history-bridge .ptk-lotto-history-row{margin:9px 0;border-radius:15px;background:rgba(255,255,255,.035);overflow:hidden}.ptk-lotto-special-history-bridge .ptk-lotto-history-row summary{display:flex;align-items:center;justify-content:space-between;gap:13px;padding:13px 14px;cursor:pointer;list-style:none}.ptk-lotto-special-history-bridge .ptk-lotto-history-row summary::-webkit-details-marker{display:none}.ptk-lotto-special-history-bridge .ptk-lotto-history-row summary span{display:block;color:#c7baa7;font-size:11px;font-weight:900}.ptk-lotto-special-history-bridge .ptk-lotto-history-row summary strong{display:block;margin-top:3px;color:#fff}.ptk-lotto-special-history-bridge .ptk-lotto-history-row summary>b{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.06);color:#d4c9b8;font-size:10px;white-space:nowrap}.ptk-lotto-special-history-bridge .ptk-lotto-history-row.is-win{background:linear-gradient(180deg,rgba(8,74,43,.34),rgba(255,255,255,.025))}.ptk-lotto-special-history-bridge .ptk-lotto-history-row.is-win summary>b{background:rgba(48,190,117,.18);color:#c8ffdf}.ptk-lotto-special-history-bridge .ptk-lotto-history-row.is-no-win summary>b{background:rgba(255,255,255,.05);color:#aaa}.ptk-lotto-special-history-bridge .ptk-lotto-history-row.is-waiting summary>b{background:rgba(223,189,118,.10);color:#e8d19b}
.ptk-lotto-special-history-bridge .ptk-lotto-history-body{padding:2px 14px 14px}.ptk-lotto-special-history-bridge .ptk-lotto-history-number-line{display:grid;grid-template-columns:minmax(150px,210px) minmax(0,1fr);gap:9px;align-items:flex-start;margin:8px 0;padding-top:8px;border-top:1px solid rgba(255,255,255,.045)}.ptk-lotto-special-history-bridge .ptk-lotto-history-number-line>span{color:#d1bc8a;font-size:11px;font-weight:900}.ptk-lotto-special-history-bridge .ptk-lotto-history-number-line>div{display:flex;flex-wrap:wrap;gap:5px}.ptk-lotto-special-history-bridge .ptk-lotto-history-number-line b{display:inline-flex;padding:5px 7px;border-radius:9px;background:rgba(0,0,0,.38);color:#fff;font-size:12px;letter-spacing:.03em}.ptk-lotto-special-history-bridge .ptk-lotto-history-hits{display:grid;gap:6px;margin:11px 0;padding:11px 12px;border-radius:12px;background:rgba(35,158,93,.12)}.ptk-lotto-special-history-bridge .ptk-lotto-history-hits>strong{color:#bff7d5}.ptk-lotto-special-history-bridge .ptk-lotto-history-hits span{color:#e9fff1;font-size:12px;line-height:1.5}.ptk-lotto-special-history-bridge .ptk-lotto-history-meta{display:block;margin-top:10px;color:#998e7f}.ptk-lotto-special-history-bridge .ptk-lotto-history-empty{padding:13px;border-radius:13px;background:rgba(255,255,255,.035);font-size:13px!important}
@media(max-width:760px){.ptk-lotto-special-history-bridge .ptk-lotto-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ptk-lotto-special-history-bridge .ptk-lotto-history-win-alert,.ptk-lotto-special-history-bridge .ptk-lotto-history-section-head{align-items:flex-start;flex-direction:column}.ptk-lotto-special-history-bridge .ptk-lotto-history-win-alert span{text-align:left}.ptk-lotto-special-history-bridge .ptk-lotto-history-number-line{grid-template-columns:1fr}.ptk-lotto-special-history-bridge .ptk-lotto-history-row summary{align-items:flex-start;flex-direction:column}.ptk-lotto-special-history-bridge .ptk-lotto-history-row summary>b{white-space:normal}}

/* =========================================================
   v2.2.12 SUBTLE FORMULA SURFACES
   Restore a single faint outline on primary panels only.  The page
   background and inner number/background surfaces stay borderless.
========================================================= */
.ptk-lotto-special-hero,
.ptk-lotto-special-mode-tabs,
.ptk-lotto-special-result-head,
.ptk-lotto-special-gate,
.ptk-lotto-special-card,
.ptk-lotto-special-consensus,
.ptk-lotto-special-ai,
.ptk-lotto-special-three-tool,
.ptk-lotto-special-orders,
.ptk-lotto-special-renew,
.ptk-lotto-special-advanced-card,
.ptk-lotto-special-advanced-ensemble{
  border-color:rgba(216,180,95,.13);
}

/* v2.2.13: restore edges on content and numbers, not the page/panel background. */
.ptk-lotto-special-app{--ptk-special-line:rgba(255,255,255,.09);--ptk-special-soft-edge:rgba(216,196,154,.13)}
.ptk-lotto-special-app :is(.ptk-lotto-special-number:not(.is-featured),.ptk-lotto-special-result-card,.ptk-lotto-special-formula-row,.ptk-lotto-special-history-item,.ptk-lotto-special-order,.ptk-lotto-special-target,.ptk-lotto-special-base,.ptk-lotto-special-advanced-note,.ptk-lotto-special-three-target){border:1px solid var(--ptk-special-soft-edge)}
.ptk-lotto-special-app :is(.ptk-lotto-special-advanced-number-group span,.ptk-lotto-special-ensemble-numbers>span,.ptk-lotto-special-three-permutations small){border:1px solid rgba(255,255,255,.09);box-shadow:none}
.ptk-lotto-special-app .ptk-lotto-special-history-bridge :is(.ptk-lotto-history-stats>div,.ptk-lotto-history-row,.ptk-lotto-history-win-alert,.ptk-lotto-history-neutral-alert,.ptk-lotto-history-hits,.ptk-lotto-history-empty,.ptk-lotto-history-number-line b){border:1px solid var(--ptk-special-soft-edge)}
/* Nested forms and tab/background wrappers keep their open layout. */
.ptk-lotto-special-app :is(.ptk-lotto-special-mode-tabs,.ptk-lotto-special-three-form){border-color:transparent}
.ptk-lotto-special-backtest{margin-top:18px;padding-top:14px;border-top:1px solid var(--ptk-special-soft-edge);font-size:12px;line-height:1.7}
.ptk-lotto-special-backtest>strong{color:#ead39f}.ptk-lotto-special-backtest p{margin:9px 0;color:#cfcbc2}.ptk-lotto-special-backtest small{display:block;color:#a9acae}
.ptk-lotto-special-advanced-card{min-width:0;overflow-wrap:anywhere}
@media(min-width:961px){.ptk-lotto-special-advanced-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
