:root{--ptk-bg:#080808;--ptk-card:rgba(15,15,15,.94);--ptk-card2:rgba(25,17,17,.88);--ptk-text:#f7f1e7;--ptk-muted:#c9bba6;--ptk-gold:#dfbd76;--ptk-red:#7a171d;--ptk-red2:#43090d;--ptk-border:rgba(223,189,118,.18);--ptk-shadow:0 18px 48px rgba(0,0,0,.32)}
.ptk-lotto-safe-wrap,.ptk-lotto-safe-wrap *{box-sizing:border-box}.ptk-lotto-safe-wrap{width:100%;max-width:1120px;margin:0 auto;padding:18px 0;color:var(--ptk-text);font-family:inherit}.ptk-lotto-card,.ptk-lotto-trust{background:linear-gradient(180deg,rgba(18,18,18,.96),rgba(7,7,7,.94));border:1px solid var(--ptk-border);border-radius:20px;padding:20px;margin:0 0 18px;box-shadow:var(--ptk-shadow);backdrop-filter:blur(7px)}
.ptk-lotto-card h2,.ptk-lotto-card h3{margin:0 0 12px;color:#fff;line-height:1.25}.ptk-lotto-card p{color:var(--ptk-muted);line-height:1.7}.ptk-lotto-eyebrow,.ptk-lotto-trust-kicker{display:block;margin:0 0 7px;color:#f1d18e;font-size:12px;font-weight:900;letter-spacing:.05em;text-transform:uppercase}
.ptk-lotto-trust{display:flex;align-items:center;justify-content:space-between;padding:17px 20px}.ptk-lotto-trust strong{display:block;font-size:18px;color:#fff}.ptk-lotto-trust small{display:block;margin-top:5px;color:#d7cab8;line-height:1.5}.ptk-lotto-trust.is-final{border-color:rgba(70,220,135,.32);background:linear-gradient(180deg,rgba(9,70,40,.82),rgba(4,29,18,.94))}.ptk-lotto-trust.is-fast{border-color:rgba(90,155,255,.32);background:linear-gradient(180deg,rgba(15,55,115,.82),rgba(6,24,57,.94))}.ptk-lotto-trust.is-four-source,.ptk-lotto-status-badge.is-four-source{border-color:rgba(71,224,132,.55);background:linear-gradient(180deg,rgba(16,122,65,.92),rgba(5,61,31,.98));box-shadow:0 8px 24px rgba(16,122,65,.18),inset 0 1px 0 rgba(208,255,224,.12)}.ptk-lotto-trust.is-danger{border-color:rgba(255,100,100,.36);background:linear-gradient(180deg,rgba(110,20,25,.86),rgba(42,5,8,.95))}.ptk-lotto-trust.is-waiting{border-color:rgba(223,189,118,.28)}
.ptk-lotto-tabs{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 18px}.ptk-lotto-tab-btn{appearance:none;border:1px solid rgba(135,45,50,.48);border-radius:14px;background:linear-gradient(180deg,#1a0f10,#0b0607);color:#efc3c3;padding:10px 16px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(0,0,0,.26)}.ptk-lotto-tab-btn.is-active{background:linear-gradient(180deg,var(--ptk-red),var(--ptk-red2));color:#fff;border-color:rgba(255,135,135,.35)}.ptk-lotto-tabs.is-sticky-js{position:fixed;top:62px;left:0;right:0;z-index:9980;justify-content:center;padding:10px 14px;background:rgba(8,8,8,.9);backdrop-filter:blur(12px);border-bottom:1px solid rgba(223,189,118,.15)}.ptk-lotto-tabs-placeholder{height:0}.ptk-lotto-tab-panel{display:none}.ptk-lotto-tab-panel.is-active{display:block}
.ptk-lotto-check-input-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 12px}.ptk-lotto-check-input-grid label span{display:block;margin-bottom:6px;color:#f0d08f;font-size:12px;font-weight:900}.ptk-lotto-check-input-grid input,.ptk-lotto-check-actions select{width:100%;min-height:46px;border:1px solid rgba(223,189,118,.18);border-radius:14px;background:rgba(0,0,0,.48);color:#fff;padding:0 13px;outline:none}.ptk-lotto-check-input-grid input:focus,.ptk-lotto-check-actions select:focus{border-color:rgba(223,189,118,.58);box-shadow:0 0 0 3px rgba(223,189,118,.08)}.ptk-lotto-check-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ptk-lotto-check-actions select{width:auto;min-width:190px}.ptk-lotto-check-actions button,.ptk-lotto-clear-btn,.ptk-lotto-login-btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 18px;border-radius:14px;border:1px solid rgba(255,130,130,.34);background:linear-gradient(180deg,var(--ptk-red),var(--ptk-red2));color:#fff!important;text-decoration:none!important;font-weight:900;cursor:pointer}.ptk-lotto-clear-btn{border-color:rgba(223,189,118,.22);background:rgba(255,255,255,.06);color:#f2d79b!important}
.ptk-lotto-check-results{display:grid;gap:12px;margin-top:16px}.ptk-lotto-set-label{display:inline-flex;margin:0 0 7px;padding:5px 9px;border-radius:999px;background:rgba(223,189,118,.12);border:1px solid rgba(223,189,118,.2);color:#f3db9f;font-size:12px;font-weight:900}.ptk-lotto-check-result{padding:14px 16px;border-radius:15px;line-height:1.65}.ptk-lotto-check-result.is-win{background:rgba(20,115,68,.2);border:1px solid rgba(85,225,155,.28);color:#dcffeb}.ptk-lotto-check-result.is-bad{background:rgba(125,25,30,.18);border:1px solid rgba(255,105,115,.22);color:#ffd5d8}
.ptk-lotto-result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ptk-lotto-status-badge{display:inline-flex;padding:6px 10px;border-radius:999px;color:#fff;font-size:11px;font-weight:950;white-space:nowrap}.ptk-lotto-status-badge.is-final{background:#087a35}.ptk-lotto-status-badge.is-fast{background:#1d4ed8}.ptk-lotto-source-note{font-size:12px!important}.ptk-lotto-main-prizes{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:12px;margin:16px 0}.ptk-lotto-prize-card{padding:16px;border-radius:17px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.035)}.ptk-lotto-prize-card>span{display:block;color:#e8d4ad;font-size:13px;font-weight:900}.ptk-lotto-prize-card small{display:block;margin-top:9px;color:#bcaf9a}.ptk-lotto-prize-numbers{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.ptk-lotto-prize-numbers strong{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:12px;background:rgba(0,0,0,.46);border:1px solid rgba(223,189,118,.19);font-size:20px;letter-spacing:.06em}.ptk-lotto-prize-card.is-first{background:linear-gradient(180deg,rgba(110,77,25,.25),rgba(255,255,255,.025));border-color:rgba(223,189,118,.30)}.ptk-lotto-prize-card.is-first .ptk-lotto-prize-numbers strong{font-size:30px;color:#ffe6aa}.ptk-lotto-prize-card.is-last2{background:linear-gradient(180deg,rgba(115,20,28,.28),rgba(255,255,255,.025))}
.ptk-lotto-prize-details{margin-top:10px;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.025);overflow:hidden}.ptk-lotto-prize-details summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;cursor:pointer}.ptk-lotto-prize-details summary::-webkit-details-marker{display:none}.ptk-lotto-prize-details summary strong{color:#fff}.ptk-lotto-prize-details summary span{color:#c7baa6;font-size:12px;text-align:right}.ptk-lotto-details-body{padding:0 15px 15px}.ptk-lotto-number-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:7px}.ptk-lotto-number-grid span{display:flex;align-items:center;justify-content:center;min-height:34px;padding:5px 7px;border-radius:10px;background:rgba(0,0,0,.45);border:1px solid rgba(223,189,118,.14);font-weight:900;font-size:13px;letter-spacing:.03em}
.ptk-lotto-backup{margin-top:18px;padding:15px;border-radius:15px;background:rgba(0,0,0,.28);border:1px solid rgba(223,189,118,.22)}.ptk-lotto-backup>strong{display:block;color:#f1d18e}.ptk-lotto-backup>div{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.ptk-lotto-backup a{display:inline-flex;padding:7px 10px;border-radius:999px;border:1px solid rgba(223,189,118,.22);background:rgba(255,255,255,.05);color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:900}.ptk-lotto-backup small{color:#c7baa6;line-height:1.5}
.ptk-lotto-prediction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.ptk-lotto-prediction-grid article{padding:15px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07)}.ptk-lotto-prediction-grid article>strong{display:block;margin:12px 0 7px;color:#f0d08f}.ptk-lotto-chip-list{display:flex;flex-wrap:wrap;gap:7px}.ptk-lotto-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 8px;border-radius:11px;background:rgba(0,0,0,.44);border:1px solid rgba(223,189,118,.16)}.ptk-lotto-chip b{color:#fff}.ptk-lotto-chip a{font-size:11px;color:#ffd7d7!important;text-decoration:none!important}.ptk-lotto-disclaimer{font-size:12px!important;margin-bottom:0}.ptk-lotto-favorite-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px}.ptk-lotto-favorite-grid article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}.ptk-lotto-favorite-grid article strong{font-size:24px}.ptk-lotto-favorite-grid article a{color:#ffd7d7!important}.ptk-lotto-notice{margin:0 0 14px;padding:12px 15px;border-radius:14px}.ptk-lotto-notice.is-win{background:rgba(20,115,68,.2);color:#dcffeb}.ptk-lotto-notice.is-bad{background:rgba(125,25,30,.2);color:#ffd5d8}.ptk-lotto-auto-hide{opacity:0!important;transform:translateY(-8px)!important;max-height:0!important;margin:0!important;padding-top:0!important;padding-bottom:0!important;overflow:hidden!important;transition:.35s ease}
@media(max-width:960px){.ptk-lotto-check-input-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ptk-lotto-main-prizes{grid-template-columns:repeat(2,minmax(0,1fr))}.ptk-lotto-number-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:620px){.ptk-lotto-safe-wrap{padding:10px 0}.ptk-lotto-card,.ptk-lotto-trust{padding:15px;border-radius:17px}.ptk-lotto-trust strong{font-size:15px}.ptk-lotto-tabs{gap:7px}.ptk-lotto-tab-btn{padding:9px 12px;font-size:13px}.ptk-lotto-check-input-grid{grid-template-columns:1fr}.ptk-lotto-check-actions{display:grid;grid-template-columns:1fr}.ptk-lotto-check-actions select,.ptk-lotto-check-actions button,.ptk-lotto-check-actions a{width:100%}.ptk-lotto-main-prizes{grid-template-columns:1fr}.ptk-lotto-prize-card.is-first .ptk-lotto-prize-numbers strong{font-size:27px}.ptk-lotto-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.ptk-lotto-number-grid span{font-size:12px;padding:5px 3px}.ptk-lotto-prize-details summary{align-items:flex-start}.ptk-lotto-prediction-grid{grid-template-columns:1fr}.ptk-lotto-result-heading{align-items:flex-start;flex-direction:column}.ptk-lotto-backup>div{display:grid;grid-template-columns:1fr 1fr}.ptk-lotto-backup a{justify-content:center}}

/* =========================================================
   PTK LOTTO SAFE v2.1.3 - N3 DERIVED FROM VERIFIED L6
========================================================= */
.ptk-lotto-n3-card{margin:18px 0 0;padding:17px;border-radius:18px;border:1px solid rgba(105,190,255,.24);background:linear-gradient(180deg,rgba(12,48,70,.72),rgba(5,18,28,.88))}.ptk-lotto-n3-card.is-waiting{border-color:rgba(223,189,118,.22);background:linear-gradient(180deg,rgba(68,48,15,.42),rgba(20,14,5,.78))}.ptk-lotto-n3-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.ptk-lotto-n3-head span{display:block;color:#bfeaff;font-size:12px;font-weight:900;letter-spacing:.04em;text-transform:uppercase}.ptk-lotto-n3-head strong{display:block;margin-top:4px;color:#fff;font-size:18px}.ptk-lotto-n3-head a{display:inline-flex;align-items:center;justify-content:center;padding:8px 11px;border-radius:999px;border:1px solid rgba(150,220,255,.28);background:rgba(255,255,255,.06);color:#e7f8ff!important;text-decoration:none!important;font-size:12px;font-weight:900;white-space:nowrap}.ptk-lotto-n3-card p{margin:0;color:#c8dce5}.ptk-lotto-n3-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.ptk-lotto-n3-item{padding:14px;border-radius:15px;border:1px solid rgba(150,220,255,.16);background:rgba(0,0,0,.24)}.ptk-lotto-n3-item>span{display:block;margin-bottom:9px;color:#d8f2ff;font-weight:900}.ptk-lotto-n3-item .ptk-lotto-number-grid{grid-template-columns:repeat(auto-fit,minmax(78px,1fr))}.ptk-lotto-n3-item.is-special .ptk-lotto-number-grid{grid-template-columns:1fr}.ptk-lotto-n3-item.is-special .ptk-lotto-number-grid span{font-size:18px;letter-spacing:.08em;overflow-wrap:anywhere}.ptk-lotto-n3-item small{display:block;margin-top:10px;color:#b7d4df}.ptk-lotto-n3-note{margin:13px 0 0!important;font-size:12px!important}
.ptk-lotto-prediction-lab>p{margin-top:0}.ptk-lotto-member-prediction-form{margin-top:18px}.ptk-lotto-year-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:13px}.ptk-lotto-year-options label{display:block;cursor:pointer}.ptk-lotto-year-options input{position:absolute;opacity:0;pointer-events:none}.ptk-lotto-year-options span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:62px;padding:12px 14px;border-radius:15px;border:1px solid rgba(223,189,118,.17);background:rgba(255,255,255,.03);transition:.18s ease}.ptk-lotto-year-options span strong{color:#fff;font-size:17px}.ptk-lotto-year-options span small{color:#c8baa3}.ptk-lotto-year-options input:checked+span{border-color:rgba(255,130,130,.38);background:linear-gradient(180deg,rgba(122,23,29,.58),rgba(67,9,13,.72));box-shadow:0 10px 24px rgba(65,8,12,.22)}.ptk-lotto-calculate-btn{min-height:48px;padding:0 19px;border-radius:14px;border:1px solid rgba(255,135,135,.38);background:linear-gradient(180deg,var(--ptk-red),var(--ptk-red2));color:#fff;font-weight:950;cursor:pointer}.ptk-lotto-calculate-btn:disabled{opacity:.65;cursor:wait}.ptk-lotto-data-count{display:block;margin-top:9px;color:#baad99}.ptk-lotto-member-prediction-output{margin-top:16px}.ptk-lotto-prediction-placeholder,.ptk-lotto-prediction-error,.ptk-lotto-prediction-progress{padding:15px;border-radius:15px;border:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.03);color:#d9cdbb}.ptk-lotto-prediction-error{border-color:rgba(255,105,115,.25);background:rgba(125,25,30,.16);color:#ffd5d8}.ptk-lotto-prediction-progress strong{display:block;color:#fff;font-size:17px}.ptk-lotto-prediction-progress p{margin:6px 0 10px}.ptk-lotto-prediction-progress small{display:block;margin-top:10px;color:#c9bba6;line-height:1.6}.ptk-lotto-progress{height:9px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden}.ptk-lotto-progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#8f2229,#dfbd76)}.ptk-lotto-member-result{padding:16px;border-radius:17px;border:1px solid rgba(80,220,150,.23);background:linear-gradient(180deg,rgba(10,72,42,.28),rgba(4,24,15,.54))}.ptk-lotto-member-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:13px}.ptk-lotto-member-result-head span{display:block;color:#b8f1cf;font-size:12px;font-weight:900;text-transform:uppercase}.ptk-lotto-member-result-head strong{display:block;margin-top:4px;color:#fff;font-size:18px}.ptk-lotto-member-result-head small{color:#c5decf;text-align:right}.ptk-lotto-member-result-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.ptk-lotto-member-result-grid article{padding:13px;border-radius:14px;border:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.22)}.ptk-lotto-member-result-grid article>strong{display:block;margin-bottom:9px;color:#e3f8e9}.ptk-lotto-generated-at{display:block;margin-top:12px;color:#b5c9bb}
@media(max-width:760px){.ptk-lotto-year-options{grid-template-columns:repeat(2,minmax(0,1fr))}.ptk-lotto-member-result-grid{grid-template-columns:1fr}.ptk-lotto-n3-grid{grid-template-columns:1fr}.ptk-lotto-n3-head,.ptk-lotto-member-result-head{align-items:flex-start;flex-direction:column}.ptk-lotto-member-result-head small{text-align:left}}
@media(max-width:620px){.ptk-lotto-tabs.is-sticky-js{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch}.ptk-lotto-tab-btn{white-space:nowrap}.ptk-lotto-year-options{grid-template-columns:1fr 1fr}.ptk-lotto-calculate-btn{width:100%}.ptk-lotto-n3-item.is-special .ptk-lotto-number-grid span{font-size:15px}.ptk-lotto-n3-head a{width:100%}}

.ptk-lotto-n3-no-winner{display:flex;align-items:center;justify-content:center;min-height:52px;padding:10px 12px;border-radius:12px;border:1px dashed rgba(190,225,240,.24);background:rgba(255,255,255,.035);color:#d9eef7;font-weight:900;text-align:center;line-height:1.5}

/* =========================================================
   PTK LOTTO SAFE v2.1.3 - SYSTEM AUTO PREDICTION + N3 SAFE DERIVATION
========================================================= */
.ptk-lotto-system-prediction{border-color:rgba(223,189,118,.25);background:linear-gradient(180deg,rgba(38,27,12,.92),rgba(8,8,8,.96))}.ptk-lotto-system-prediction-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:16px}.ptk-lotto-system-prediction-head p{margin:0;max-width:760px}.ptk-lotto-system-prediction-head>span{flex:0 0 auto;display:block;padding:10px 13px;border-radius:14px;border:1px solid rgba(223,189,118,.22);background:rgba(0,0,0,.28);color:#cbbd9f;font-size:11px;font-weight:900;text-align:right;line-height:1.45}.ptk-lotto-system-prediction-head>span strong{display:block;margin-top:3px;color:#ffe0a0;font-size:14px}.ptk-lotto-system-prediction-grid article{position:relative}.ptk-lotto-system-window.is-ready{border-color:rgba(80,220,150,.20);background:linear-gradient(180deg,rgba(9,63,37,.22),rgba(0,0,0,.20))}.ptk-lotto-system-window.is-waiting{border-color:rgba(223,189,118,.16);background:rgba(255,255,255,.022)}.ptk-lotto-system-window-title{display:flex;align-items:center;justify-content:space-between;gap:10px}.ptk-lotto-system-window-title h3{margin:0}.ptk-lotto-system-window-title span{display:inline-flex;padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:#d3c6b1;font-size:10px;font-weight:950;white-space:nowrap}.ptk-lotto-system-window.is-ready .ptk-lotto-system-window-title span{background:rgba(24,130,75,.18);border-color:rgba(80,220,150,.22);color:#caffdc}.ptk-lotto-system-window.is-waiting p{margin:12px 0 9px;font-size:13px}.ptk-lotto-system-window>small{display:block;margin-top:12px;color:#bdb09c;line-height:1.55}.ptk-lotto-system-consensus{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:15px;border-radius:16px;border:1px solid rgba(223,189,118,.24);background:rgba(0,0,0,.28)}.ptk-lotto-system-consensus>div:first-child{flex:0 0 auto}.ptk-lotto-system-consensus span{display:block;color:#d9c79e;font-size:11px;font-weight:900;text-transform:uppercase}.ptk-lotto-system-consensus strong{display:block;margin-top:4px;color:#fff}.ptk-lotto-system-consensus .ptk-lotto-chip-list{justify-content:flex-end}.ptk-lotto-system-waiting{margin-top:14px;padding:14px;border-radius:15px;border:1px solid rgba(223,189,118,.18);background:rgba(0,0,0,.23)}.ptk-lotto-system-waiting strong{display:block;color:#f1d18e}.ptk-lotto-system-waiting p{margin:5px 0 0}.ptk-lotto-system-note{margin:15px 0 0!important;padding:12px 14px;border-left:3px solid rgba(223,189,118,.48);background:rgba(223,189,118,.055);border-radius:0 12px 12px 0;font-size:13px!important}
@media(max-width:760px){.ptk-lotto-system-prediction-head{flex-direction:column}.ptk-lotto-system-prediction-head>span{text-align:left}.ptk-lotto-system-consensus{align-items:flex-start;flex-direction:column}.ptk-lotto-system-consensus .ptk-lotto-chip-list{justify-content:flex-start}.ptk-lotto-system-window-title{align-items:flex-start}.ptk-lotto-system-window-title span{white-space:normal;text-align:center}}

/* =========================================================
   v2.1.4 VERIFIED MINIMUM PREDICTION
========================================================= */
.ptk-lotto-system-window.is-preliminary{
  border-color:rgba(88,166,255,.25);
  background:linear-gradient(180deg,rgba(22,65,112,.24),rgba(0,0,0,.22));
}
.ptk-lotto-system-window.is-preliminary .ptk-lotto-system-window-title span{
  background:rgba(37,99,235,.20);
  border-color:rgba(96,165,250,.28);
  color:#d7eaff;
}
.ptk-lotto-window-progress-text{
  margin:12px 0 9px!important;
  color:#d8e9ff;
  font-size:13px;
}
.ptk-lotto-member-result.is-preliminary{
  border-color:rgba(96,165,250,.28);
  background:linear-gradient(180deg,rgba(20,64,112,.30),rgba(6,24,44,.58));
}
.ptk-lotto-member-result.is-preliminary .ptk-lotto-member-result-head span{color:#cae3ff}
.ptk-lotto-member-result.is-preliminary .ptk-lotto-member-result-grid article>strong{color:#e5f1ff}


/* =========================================================
   v2.1.5 FAVORITES BULK DELETE + TOP PRIZE ALERT
========================================================= */
.ptk-lotto-prize-alert-top{
  margin:0 0 18px;
  padding:18px;
  border-radius:19px;
  border:1px solid rgba(223,189,118,.25);
  background:linear-gradient(180deg,rgba(42,31,15,.92),rgba(10,8,5,.97));
  box-shadow:0 16px 38px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.05);
}
.ptk-lotto-prize-alert-top.has-win{border-color:rgba(78,225,150,.32);background:linear-gradient(180deg,rgba(8,83,47,.90),rgba(3,31,19,.97))}
.ptk-lotto-prize-alert-top.has-win .ptk-lotto-eyebrow{color:#caffdf}
.ptk-lotto-prize-alert-top.no-win .ptk-lotto-eyebrow{color:#f1d18e}
.ptk-lotto-prize-alert-top .ptk-lotto-check-results{margin-top:0}
.ptk-lotto-prize-alert-top .ptk-lotto-check-result-wrap+ .ptk-lotto-check-result-wrap{margin-top:12px}
.ptk-lotto-prize-alert-top .ptk-lotto-set-label{background:rgba(255,255,255,.08);border-color:rgba(220,255,235,.18);color:#ecfff4}
.ptk-lotto-win-draw{display:block;margin-top:3px;color:#bff1d2;font-size:12px;font-weight:800}
.ptk-lotto-win-list{display:grid;gap:7px;margin-top:10px}
.ptk-lotto-win-line{padding:9px 11px;border-radius:11px;background:rgba(0,0,0,.22);border:1px solid rgba(190,255,220,.15);color:#effff5;font-weight:900;line-height:1.55}

.ptk-lotto-favorite-bulk-form{margin-top:14px}
.ptk-lotto-favorite-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 13px;padding:12px 13px;border-radius:14px;border:1px solid rgba(223,189,118,.18);background:rgba(0,0,0,.24)}
.ptk-lotto-select-all{display:inline-flex;align-items:center;gap:8px;color:#f1d69a;font-weight:900;cursor:pointer}
.ptk-lotto-select-all input,.ptk-lotto-favorite-select input{width:18px;height:18px;accent-color:#a72932;cursor:pointer}
.ptk-lotto-selected-count{color:#c9bda9;font-size:12px;font-weight:800}
.ptk-lotto-bulk-delete-btn{margin-left:auto;min-height:40px;padding:0 14px;border-radius:12px;border:1px solid rgba(255,120,130,.28);background:rgba(120,20,28,.28);color:#ffd9dc;font-weight:900;cursor:pointer}
.ptk-lotto-bulk-delete-btn.has-selection{background:linear-gradient(180deg,var(--ptk-red),var(--ptk-red2));color:#fff;border-color:rgba(255,130,140,.38)}
.ptk-lotto-favorite-grid{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}
.ptk-lotto-favorite-item{position:relative;display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;align-items:center!important;gap:11px!important}
.ptk-lotto-favorite-select{display:flex;align-items:center;justify-content:center;cursor:pointer}
.ptk-lotto-favorite-main{min-width:0}
.ptk-lotto-favorite-main small{display:block;color:#c9bda9;line-height:1.45;overflow-wrap:anywhere}
.ptk-lotto-favorite-main strong{display:block;margin-top:5px;color:#fff;line-height:1}
.ptk-lotto-favorite-delete{display:inline-flex;align-items:center;justify-content:center;padding:7px 9px;border-radius:10px;border:1px solid rgba(255,115,125,.22);background:rgba(125,25,30,.18);font-size:12px;font-weight:900;text-decoration:none!important}
@media(max-width:620px){
  .ptk-lotto-prize-alert-top{padding:15px;border-radius:17px}
  .ptk-lotto-favorite-toolbar{display:grid;grid-template-columns:1fr auto}
  .ptk-lotto-selected-count{text-align:right}
  .ptk-lotto-bulk-delete-btn{grid-column:1/-1;margin-left:0;width:100%;min-height:44px}
  .ptk-lotto-favorite-grid{grid-template-columns:1fr}
}

/* =========================================================
   v2.2.3 FORMULA MEMBERSHIP ACCESS GATE
========================================================= */
.ptk-lotto-member-access-gate{
  border-color:rgba(223,189,118,.24);
  background:linear-gradient(180deg,rgba(44,30,12,.92),rgba(9,8,6,.97));
}
.ptk-lotto-member-access-gate h2{margin:5px 0 8px}
.ptk-lotto-member-access-gate p{max-width:760px;margin:0 0 14px;color:#d8cbb7;line-height:1.7}
.ptk-lotto-member-access-gate p strong{color:#ffe1a2}
.ptk-lotto-member-access-gate .ptk-lotto-login-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 16px;border-radius:13px}

/* =========================================================
   v2.2.4 LUXURY SURFACE UI SAFE MODE
   Reduce decorative frame stacking while preserving status,
   validation, input and action emphasis.
========================================================= */
.ptk-lotto-card{
  border-color:transparent;
  background:linear-gradient(180deg,rgba(20,20,21,.97),rgba(8,8,9,.97));
  box-shadow:0 18px 44px rgba(0,0,0,.27),inset 0 1px 0 rgba(255,255,255,.035);
}
.ptk-lotto-prize-card,
.ptk-lotto-prediction-grid article,
.ptk-lotto-favorite-grid article,
.ptk-lotto-member-result-grid article{
  border-color:transparent;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025));
}
.ptk-lotto-prize-card.is-first{
  border-color:transparent;
  background:linear-gradient(180deg,rgba(116,82,27,.31),rgba(32,25,13,.34));
  box-shadow:inset 0 1px 0 rgba(255,226,165,.08);
}
.ptk-lotto-prize-card.is-last2{
  background:linear-gradient(180deg,rgba(116,22,30,.31),rgba(39,12,15,.35));
}
.ptk-lotto-prize-numbers strong,
.ptk-lotto-number-grid span,
.ptk-lotto-chip{
  border-color:transparent;
  background:rgba(0,0,0,.42);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.ptk-lotto-prize-details,
.ptk-lotto-backup,
.ptk-lotto-system-consensus,
.ptk-lotto-system-waiting,
.ptk-lotto-favorite-toolbar{
  border-color:transparent;
  background:rgba(255,255,255,.04);
}
.ptk-lotto-n3-item,
.ptk-lotto-system-prediction-head>span{
  border-color:transparent;
  background:rgba(0,0,0,.25);
}
.ptk-lotto-year-options span{
  border-color:transparent;
  background:rgba(255,255,255,.045);
}
.ptk-lotto-system-window.is-ready,
.ptk-lotto-system-window.is-waiting,
.ptk-lotto-system-window.is-preliminary{
  border-color:transparent;
}
.ptk-lotto-n3-no-winner{
  border-color:transparent;
  background:rgba(255,255,255,.05);
}
.ptk-lotto-win-line{
  border-color:transparent;
  background:rgba(0,0,0,.25);
}
@media(max-width:620px){
  .ptk-lotto-safe-wrap{padding:6px 0}
  .ptk-lotto-card{padding:13px 12px;border-radius:15px;margin-bottom:12px}
  .ptk-lotto-trust{padding:13px 12px;border-radius:15px;margin-bottom:12px}
  .ptk-lotto-main-prizes{gap:8px;margin:12px 0}
  .ptk-lotto-prize-card{padding:13px 12px;border-radius:14px}
  .ptk-lotto-prize-details summary{padding:12px}
  .ptk-lotto-details-body{padding:0 10px 11px}
  .ptk-lotto-n3-card{padding:13px 11px;border-radius:15px}
  .ptk-lotto-n3-item{padding:12px 10px}
  .ptk-lotto-prediction-grid article,
  .ptk-lotto-member-result-grid article{padding:12px 10px}
  .ptk-lotto-prize-alert-top{padding:13px 12px}
  .ptk-lotto-backup,
  .ptk-lotto-system-consensus,
  .ptk-lotto-system-waiting{padding:12px 10px}
}

/* =========================================================
   v2.2.10 PREDICTION SET HISTORY + N3 STRAIGHT/SHUFFLE VIEW
========================================================= */
.ptk-lotto-tab-win-badge{display:inline-flex;align-items:center;margin-left:7px;padding:3px 7px;border-radius:999px;background:rgba(52,211,153,.18);color:#bdf7d7;font-size:9px;font-weight:950;line-height:1.2;vertical-align:middle}
.ptk-lotto-tab-btn.is-active .ptk-lotto-tab-win-badge{background:rgba(255,255,255,.16);color:#fff}
.ptk-lotto-prediction-history>p:first-of-type{max-width:820px}
.ptk-lotto-history-win-alert,.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-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-history-neutral-alert{background:rgba(255,255,255,.045)}
.ptk-lotto-history-win-alert strong{color:#caffdd}.ptk-lotto-history-neutral-alert strong{color:#f1d18e}
.ptk-lotto-history-win-alert span,.ptk-lotto-history-neutral-alert span{max-width:680px;color:#d2c7b8;font-size:13px;line-height:1.55;text-align:right}
.ptk-lotto-history-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.ptk-lotto-history-stats>div{padding:13px;border-radius:14px;background:rgba(255,255,255,.04)}
.ptk-lotto-history-stats span,.ptk-lotto-history-stats small{display:block;color:#bfb29f}.ptk-lotto-history-stats span{font-size:11px;font-weight:900}.ptk-lotto-history-stats strong{display:block;margin:5px 0;color:#fff;font-size:21px}.ptk-lotto-history-stats small{font-size:11px}
.ptk-lotto-history-section{margin-top:22px}.ptk-lotto-history-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}.ptk-lotto-history-section-head h3{margin:0}.ptk-lotto-history-section-head span{color:#bfb29f;font-size:12px}
.ptk-lotto-history-row{margin:9px 0;border-radius:15px;background:rgba(255,255,255,.035);overflow:hidden}.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-history-row summary::-webkit-details-marker{display:none}.ptk-lotto-history-row summary span{display:block;color:#c7baa7;font-size:11px;font-weight:900}.ptk-lotto-history-row summary strong{display:block;margin-top:3px;color:#fff}.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-history-row.is-win{background:linear-gradient(180deg,rgba(8,74,43,.34),rgba(255,255,255,.025))}.ptk-lotto-history-row.is-win summary>b{background:rgba(48,190,117,.18);color:#c8ffdf}.ptk-lotto-history-row.is-no-win summary>b{background:rgba(255,255,255,.05);color:#aaa}.ptk-lotto-history-row.is-waiting summary>b{background:rgba(223,189,118,.10);color:#e8d19b}
.ptk-lotto-history-body{padding:2px 14px 14px}.ptk-lotto-history-window{padding:12px 0;border-top:1px solid rgba(255,255,255,.06)}.ptk-lotto-history-window>strong{display:block;margin-bottom:8px;color:#ead198}.ptk-lotto-history-number-line{display:grid;grid-template-columns:100px minmax(0,1fr);gap:9px;align-items:flex-start;margin:7px 0}.ptk-lotto-history-number-line>span{color:#bfb29f;font-size:11px;font-weight:900}.ptk-lotto-history-number-line>div{display:flex;flex-wrap:wrap;gap:5px}.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-history-hits{display:grid;gap:6px;margin:11px 0;padding:11px 12px;border-radius:12px;background:rgba(35,158,93,.12)}.ptk-lotto-history-hits>strong{color:#bff7d5}.ptk-lotto-history-hits span{color:#e9fff1;font-size:12px;line-height:1.5}.ptk-lotto-history-hits b{color:#fff}.ptk-lotto-history-meta{display:block;margin-top:10px;color:#998e7f}.ptk-lotto-history-empty{padding:13px;border-radius:13px;background:rgba(255,255,255,.035);font-size:13px!important}
.ptk-lotto-n3-official-btn{display:flex!important;align-items:center;justify-content:center;min-height:46px;padding:0 14px;border-radius:12px;background:linear-gradient(180deg,#19364b,#0b1c29);color:#e9f8ff!important;text-decoration:none!important;font-weight:900}.ptk-lotto-n3-grid-simple .ptk-lotto-n3-item{min-height:132px}
@media(max-width:760px){.ptk-lotto-history-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ptk-lotto-history-win-alert,.ptk-lotto-history-neutral-alert,.ptk-lotto-history-section-head{align-items:flex-start;flex-direction:column}.ptk-lotto-history-win-alert span,.ptk-lotto-history-neutral-alert span{text-align:left}.ptk-lotto-history-number-line{grid-template-columns:1fr}.ptk-lotto-history-row summary{align-items:flex-start;flex-direction:column}.ptk-lotto-history-row summary>b{white-space:normal}.ptk-lotto-tab-win-badge{margin-left:5px}}
@media(max-width:420px){.ptk-lotto-history-stats{grid-template-columns:1fr 1fr}.ptk-lotto-history-stats strong{font-size:18px}}

/* =========================================================
   v2.2.12 TRUST CASCADE + SUBTLE LOTTERY SURFACES
   Keep the green four-source state above the legacy FAST blue rule.
   Only primary cards receive an outline; inner number/background surfaces
   intentionally remain borderless to avoid stacked frames.
========================================================= */
.ptk-lotto-safe-wrap .ptk-lotto-trust.is-fast.is-four-source{
  border-color:rgba(71,224,132,.55)!important;
  background:linear-gradient(180deg,rgba(16,122,65,.92),rgba(5,61,31,.98))!important;
  box-shadow:0 8px 24px rgba(16,122,65,.18),inset 0 1px 0 rgba(208,255,224,.12)!important;
}
.ptk-lotto-safe-wrap .ptk-lotto-status-badge.is-fast.is-four-source{
  border:1px solid rgba(71,224,132,.48);
  background:linear-gradient(180deg,#16834a,#075026)!important;
  box-shadow:0 4px 12px rgba(16,122,65,.18),inset 0 1px 0 rgba(208,255,224,.12);
}
.ptk-lotto-safe-wrap .ptk-lotto-check-card,
.ptk-lotto-safe-wrap .ptk-lotto-result-card,
.ptk-lotto-safe-wrap .ptk-lotto-system-prediction,
.ptk-lotto-safe-wrap .ptk-lotto-prediction-lab,
.ptk-lotto-safe-wrap .ptk-lotto-prediction-history,
.ptk-lotto-safe-wrap .ptk-lotto-favorites-card,
.ptk-lotto-safe-wrap .ptk-lotto-pending,
.ptk-lotto-safe-wrap .ptk-lotto-member-access-gate{
  border:1px solid rgba(223,189,118,.13);
}

/* v2.2.13: one subtle edge per content surface; wrappers never get frames. */
.ptk-lotto-safe-wrap{--ptk-soft-edge:rgba(223,205,166,.12);--ptk-inner-edge:rgba(255,255,255,.08)}
.ptk-lotto-safe-wrap :is(.ptk-lotto-prize-card,.ptk-lotto-prize-details,.ptk-lotto-backup,.ptk-lotto-system-consensus,.ptk-lotto-system-waiting,.ptk-lotto-favorite-toolbar,.ptk-lotto-n3-item,.ptk-lotto-n3-no-winner),
.ptk-lotto-safe-wrap :is(.ptk-lotto-prediction-grid,.ptk-lotto-favorite-grid,.ptk-lotto-member-result-grid) article,
.ptk-lotto-safe-wrap .ptk-lotto-year-options input:not(:checked)+span{border:1px solid var(--ptk-soft-edge)}
.ptk-lotto-safe-wrap :is(.ptk-lotto-prize-numbers strong,.ptk-lotto-number-grid span,.ptk-lotto-chip,.ptk-lotto-history-number-line b,.ptk-lotto-win-line){border:1px solid var(--ptk-inner-edge)}
.ptk-lotto-safe-wrap :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-notice,.ptk-lotto-system-prediction-head>span){border:1px solid var(--ptk-soft-edge)}
/* No outline/shadow layers: a single existing border does the work. */
.ptk-lotto-safe-wrap :is(.ptk-lotto-chip,.ptk-lotto-prize-numbers strong,.ptk-lotto-number-grid span){box-shadow:none}

.ptk-lotto-safe-wrap .ptk-lotto-card{border:1px solid var(--ptk-soft-edge)}
.ptk-lotto-safe-wrap .ptk-lotto-status-badge{border:1px solid rgba(255,255,255,.14)}
