:root{
  --orange:#ef7115;
  --orange-dark:#d95b06;
  --ink:#253244;
  --muted:#657184;
  --line:#dce5eb;
  --teal:#0f766e
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;color:var(--ink);background:#fff;
  font:15px/1.5 system-ui,-apple-system,
  "Segoe UI",Arial,sans-serif
}
button,select{font:inherit}
button{cursor:pointer}
button:focus-visible,select:focus-visible{
  outline:3px solid #7da7ff;outline-offset:2px
}
.app{
  max-width:1200px;margin:auto;
  padding:18px clamp(12px,2.6vw,30px) 20px
}
.header{
  display:flex;align-items:center;
  gap:13px;margin-bottom:20px
}
.brand-icon{width:76px;height:76px;flex:none}
.super-mark{
  display:grid;place-items:center;
  border-radius:19px;background:var(--orange);
  color:white;font-size:29px;font-weight:850;
  letter-spacing:-2px;
  box-shadow:0 4px 12px #ef711530
}
.header h1{
  font-size:clamp(25px,3vw,36px);
  line-height:1.2;margin:0
}
.subtitle,.help,.foot{color:var(--muted)}
.subtitle{margin:5px 0 0}
.subtitle-mobile{display:none}
.section{
  border-top:1px solid #e2e7ed;
  padding-top:22px;margin-top:25px
}
.section h2{font-size:25px;margin:0 0 14px}
.section h3{font-size:19px;margin:0 0 12px}
.summary{
  display:grid;
  grid-template-columns:200px minmax(0,1fr);
  gap:15px;align-items:start
}
.stat{
  background:#f4f7fa;
  border-radius:12px;padding:14px 18px
}
.stat small{color:#637084;font-weight:600}
.stat strong{
  font-size:31px;display:block;line-height:1.3
}
.drawline{
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px;
  gap:14px;min-width:0
}
.drawtitle{font-weight:700;margin-bottom:10px}
.draw-balls{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,56px));
  gap:6px;align-items:end
}
.drawitem,.statnum{text-align:center;min-width:0}
.round{
  width:51px;height:51px;border-radius:50%;
  background:var(--orange);color:#fff;
  display:flex;align-items:center;justify-content:center;
  font-size:19px;font-weight:800;margin:auto;
  border:2px solid #ffffff85
}
.cap{
  font-size:10px;white-space:nowrap;
  line-height:1.5;color:var(--muted)
}
.overview-period{
  display:flex;flex-direction:column;
  align-items:flex-end;gap:6px
}
.overview-period label{
  font-size:13px;font-weight:650;white-space:nowrap
}
.select{
  border:1px solid #c8d1dd;border-radius:10px;
  background:white;padding:9px 11px;
  width:150px;max-width:100%
}
.message{
  margin:13px 0;padding:12px 14px;
  border:1px solid #d9e8e4;border-radius:11px;
  background:#f3f8f7;color:#245950;
  font-size:13px;font-weight:650;line-height:1.65;
  overflow-wrap:anywhere
}
.message #status-text,.message #updated{display:inline}
.message #updated{margin-left:.35em}
.message.bad{
  background:#fff0f0;color:#a43737;
  border-color:#eecaca
}
.ticket-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);
  gap:clamp(16px,2.5vw,30px);
  align-items:start
}
.ticket-controls,.ticket-preferences{min-width:0}
.ticket-preferences{
  border:1px solid var(--line);border-radius:16px;
  padding:15px;background:white
}
.choice{display:flex;flex-wrap:wrap;gap:5px}
.choice button{
  border:1px solid #d7e0e9;background:#f8fafc;
  color:#3c5066;border-radius:8px;
  padding:8px 12px;font-size:12.5px;font-weight:600
}
.choice button.on{
  background:#2a5b9a;border-color:#2a5b9a;color:white
}
#pickmode [data-mode="bank"].on{
  background:var(--teal);border-color:#0d5f58
}
#pickmode [data-mode="ban"].on{
  background:#d93c49;border-color:#b52d3a
}
#methoddesc{font-size:13px;margin:10px 0 18px}
.num-grid{
  display:grid;
  grid-template-columns:repeat(10,minmax(0,1fr));
  gap:5px;margin:15px 0 10px
}
.num{
  width:100%;max-width:42px;aspect-ratio:1;
  border:2px solid #c7ced7;border-radius:50%;
  background:white;color:#344052;
  font-size:13px;font-weight:750;padding:0
}
.num.bank{
  background:var(--teal);border-color:#0d5f58;color:#fff
}
.num.ban{
  background:#e4424f;border-color:#c52634;color:#fff
}
.small{font-size:13px}
.coupon-action-row{
  display:flex;align-items:center;
  justify-content:space-between;
  gap:8px;margin-top:16px
}
.coupon-qty-row{
  display:flex;align-items:center;gap:6px;min-width:0
}
.coupon-qty-row b{font-size:12px;white-space:nowrap}
#qty{flex-wrap:nowrap;gap:3px}
#qty button{
  width:29px;min-width:29px;height:37px;
  padding:0;font-size:13px
}
.primary{
  background:#2865a4;color:white;border:0;
  border-radius:9px;padding:0 12px;
  min-height:37px;font-size:12px;
  font-weight:750;white-space:nowrap
}
.primary:hover{background:#1d5186}
.primary:disabled{opacity:.55;cursor:default}
#tickets{
  display:flex;flex-direction:column;
  gap:8px;margin-top:13px
}
.ticket{
  display:grid;
  grid-template-columns:minmax(0,1fr) 82px;
  gap:6px;align-items:center;padding:9px 8px;
  border:1px solid var(--line);
  border-radius:11px;background:#fff;min-width:0
}
.ticket-numbers{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:3px;min-width:0
}
.ticket-ball{
  display:flex;flex-direction:column;
  align-items:center;min-width:0
}
.ticket-ball .round{
  width:min(100%,38px);height:auto;aspect-ratio:1;
  font-size:clamp(10px,1.1vw,14px);border:0
}
.ticket-ball .round.fixed{
  outline:3px solid #0d5f58;outline-offset:2px
}
.copybtn{
  width:82px;min-height:35px;
  border:1px solid #cdd6e1;border-radius:8px;
  background:white;color:#425979;
  font-size:11px;font-weight:600
}
.stats-panels{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;margin-top:16px
}
.stats-panel{
  min-width:0;border:1px solid var(--line);
  border-radius:16px;padding:16px;
  box-shadow:0 3px 12px #142a3909
}
.stats-panel h3{
  font-size:16px;line-height:1.4;margin:0 0 5px
}
.stats-description{
  font-size:12px;color:#71808b;margin:0 0 14px
}
.stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px
}
.statnum{
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  gap:6px;border:1px solid #e4eaf0;
  border-radius:11px;background:#f7f9fb;padding:9px 3px
}
.statnum .round{
  height:36px;width:36px;font-size:14px;border:0
}
.statnum small{
  font-size:11px;color:#596f80;
  text-align:center;overflow-wrap:anywhere
}
.foot{
  font-size:13px;line-height:1.65;
  border-top:1px solid #e3e7ec;
  margin-top:22px;padding-top:14px
}
@media(max-width:1050px){
  .stats-panels{
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
}
@media(max-width:900px){
  .summary{grid-template-columns:1fr}
  .drawline{display:flex;flex-direction:column;gap:12px}
  .overview-period{align-self:flex-end}
  .ticket-workspace{grid-template-columns:1fr}
}
@media(max-width:700px){
  .app{padding:10px 12px}
  .header{gap:8px}
  .brand-icon{width:53px;height:53px}
  .super-mark{font-size:21px;border-radius:14px}
  .header h1{font-size:24px}
  .subtitle-desktop{display:none}
  .subtitle-mobile{
    display:block;font-size:clamp(10px,2.8vw,12px);
    white-space:nowrap
  }
  .section h2{font-size:22px}
  .section h3{font-size:18px}
  .stat{padding:10px 13px}
  .stat strong{font-size:26px}
  .drawline{align-items:stretch}
  .draw-balls{
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:3px
  }
  .drawitem .round{
    width:100%;height:auto;aspect-ratio:1;
    font-size:clamp(11px,3.7vw,17px);
    border-width:1px
  }
  .overview-period{
    align-self:stretch;display:flex;
    flex-direction:row;align-items:center;
    justify-content:flex-end;gap:10px
  }
  .overview-period label::after{content:':'}
  .overview-period .select{width:130px}
  .ticket-workspace{
    display:grid;grid-template-columns:1fr;gap:0
  }
  .ticket-controls{display:contents}
  #methods{order:1}
  #methoddesc{order:2}
  .ticket-preferences{
    order:3;margin:4px 0 16px;padding:13px
  }
  #numbergrid{
    grid-template-columns:repeat(9,minmax(0,1fr));
    gap:4px
  }
  .num{font-size:12px}
  .coupon-action-row{order:4;margin:5px 0 0}
  .coupon-qty-row{
    flex-direction:column;align-items:flex-start;gap:6px
  }
  #tickets{order:5}
  #notice{order:6}
  .ticket{
    grid-template-columns:minmax(0,1fr) 68px;
    padding:8px 5px
  }
  .copybtn{width:68px;font-size:10px}
  .ticket-ball .round{
    width:min(100%,36px);
    font-size:clamp(10px,3vw,13px)
  }
  .stats-panels{grid-template-columns:1fr;gap:12px}
  .stats-panel{padding:14px}
  .stats{gap:7px}
}
@media(max-width:370px){
  #qty{gap:2px}
  #qty button{min-width:26px;width:26px}
  .primary{padding:0 7px;font-size:11px}
}

/* Super Loto gercek logo */
.header img.brand-icon {
    width: 86px;
    height: 86px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 700px) {
    .header img.brand-icon {
        width: 60px;
        height: 60px;
    }
}


/* ADALETTEKNO_LOTO_TABS_V1 */

:root{
    --loto-color:#ef7115;
}

[id^="loto-panel-"][hidden]{
    display:none!important;
}

.loto-navigation{
    border-top:1px solid #dce5eb;
    margin:24px 0 18px;
    padding-top:20px;
}

.loto-navigation h2{
    font-size:25px;
    margin:0 0 14px;
}

.loto-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}

.loto-tabs button,
.loto-pagination button{
    font:inherit;
    font-size:14px;
    font-weight:600;
    color:#3c5066;
    border:1px solid #d7e0e9;
    background:#f8fafc;
    border-radius:8px;
    padding:9px 12px;
    min-height:42px;
    cursor:pointer;
}

.loto-tabs button[aria-selected="true"]{
    background:#2a5b9a;
    border-color:#2a5b9a;
    color:#fff;
}

.loto-tabs button:focus-visible{
    outline:3px solid #7da7ff;
    outline-offset:2px;
}

.loto-panel{
    min-width:0;
    margin:18px 0 24px;
}

.loto-summary{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-bottom:18px;
}

.loto-summary>div{
    border:1px solid #e4eaf0;
    background:#f4f7fa;
    border-radius:12px;
    padding:14px;
}

.loto-summary span{
    font-size:13px;
    color:#657184;
    display:block;
}

.loto-summary strong{
    display:block;
    font-size:26px;
    margin-top:4px;
}

.loto-surface{
    border:1px solid #dce5eb;
    border-radius:16px;
    background:#fff;
    padding:18px;
    min-width:0;
}

.loto-toolbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
    flex-wrap:wrap;
}

.loto-toolbar h3,
#loto-extra-frequencies h3{
    font-size:19px;
    margin:0 0 6px;
}

.loto-toolbar p,
#loto-extra-frequencies p{
    font-size:13px;
    color:#657184;
    margin:0 0 12px;
}

.loto-filters{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.loto-toolbar select,
.loto-toolbar input{
    box-sizing:border-box;
    max-width:100%;
    min-width:0;
    padding:9px 11px;
    border:1px solid #c8d1dd;
    background:white;
    border-radius:9px;
    min-height:42px;
    font:inherit;
    font-size:13px;
}

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

.loto-frequency-row{
    display:grid;
    grid-template-columns:25px minmax(0,1fr) 40px;
    align-items:center;
    gap:8px;
    font-size:13px;
}

.loto-frequency-row>span{
    text-align:right;
    font-variant-numeric:tabular-nums;
}

.loto-track{
    height:9px;
    border-radius:8px;
    background:#edf1f5;
    overflow:hidden;
}

.loto-track>div{
    height:100%;
    border-radius:8px;
    background:var(--loto-color);
}

.loto-frequency-joker .loto-track>div{
    background:#139dd1;
}

.loto-frequency-star .loto-track>div{
    background:#f6c71d;
}

#loto-extra-frequencies h3{
    border-top:1px solid #dce5eb;
    padding-top:18px;
    margin-top:24px;
}

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

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

.loto-table th,
.loto-table td{
    border-bottom:1px solid #dce5eb;
    padding:12px 10px;
    text-align:left;
    vertical-align:middle;
}

.loto-table th{
    background:#f4f7fa;
    font-size:13px;
}

.loto-table th:nth-child(1){width:15%}
.loto-table th:nth-child(2){width:10%}
.loto-table th:nth-child(3){width:45%}
.loto-table th:nth-child(n+4){width:10%}

.loto-table td:first-child{
    white-space:nowrap;
    font-weight:600;
}

.loto-table th:nth-child(2),
.loto-table td:nth-child(2),
.loto-table .loto-analysis{
    text-align:center;
}

.loto-table td.loto-analysis{
    font-weight:600;
    font-variant-numeric:tabular-nums;
}

.loto-table tbody tr:nth-child(even){
    background:#f8fafc;
}

.loto-table tbody tr:hover{
    background:#f0f4f8;
}

.loto-balls{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:5px;
}

.loto-ball{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:none;
    width:32px;
    height:32px;
    border-radius:50%;
    color:white;
    background:var(--loto-color);
    font-size:13px;
    font-weight:750;
}

.loto-ball.loto-joker{
    background:#139dd1;
}

.loto-ball.loto-star{
    background:#f6c71d;
    color:#292314;
}

.loto-special{
    display:flex;
    align-items:center;
    flex-direction:column;
    gap:3px;
    min-width:32px;
}

.loto-special small{
    color:#657184;
    font-size:9px;
}

.loto-archive-note{
    color:#657184;
    font-size:12px;
    margin-bottom:10px;
}

.loto-archive-note:empty{
    display:none;
}

.loto-pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:10px;
    font-size:13px;
    padding-top:14px;
}

.loto-pagination button:disabled{
    opacity:.45;
    cursor:default;
}

/* On Numara: 22 top daha kompakt gösterilir. */
#nn-app .loto-balls{
    gap:4px;
}

#nn-app .loto-ball{
    width:25px;
    height:25px;
    font-size:11px;
}

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

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

    .loto-table .loto-analysis{
        display:none;
    }

    .loto-table th:nth-child(1){width:29%}
    .loto-table th:nth-child(2){width:16%}
    .loto-table th:nth-child(3){width:55%}
}

@media(max-width:560px){
    .loto-navigation h2{
        font-size:22px;
    }

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

    .loto-tabs button{
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        font-size:12px;
        padding:7px 3px;
    }

    .loto-summary strong{
        font-size:22px;
    }

    .loto-surface{
        padding:12px;
    }

    .loto-frequency-grid{
        gap:9px 10px;
    }

    .loto-frequency-row{
        grid-template-columns:20px minmax(0,1fr) 32px;
        gap:4px;
        font-size:12px;
    }

    .loto-table th,
    .loto-table td{
        padding:10px 4px;
        font-size:11px;
    }

    .loto-balls{
        gap:3px;
    }

    .loto-ball,
    #nn-app .loto-ball{
        width:22px;
        height:22px;
        font-size:10px;
    }

    .loto-special{
        min-width:22px;
    }

    .loto-special small{
        font-size:8px;
    }
}

/* BEGIN ADALETTEKNO_YERLESIM_V1 */

#status.message {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
}

#status.message #status-text {
    display: block !important;
    flex: 1 1 300px;
    min-width: 0;
    margin: 0 !important;
    text-align: left;
}

#status.message #updated {
    display: block !important;
    flex: 0 0 auto;
    margin: 0 0 0 auto !important;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 700px) {
    #status.message {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    #status.message #status-text,
    #status.message #updated {
        display: block !important;
        flex: none;
        width: 100%;
        margin: 0 !important;
        text-align: left;
        white-space: normal;
    }
}

/* END ADALETTEKNO_YERLESIM_V1 */
