/* Slovra V17 */
.v17-home-tile{--tile-accent:#ffb020}.v17-learning-card{border-color:color-mix(in srgb,#ffb020 48%,var(--border-color,#2e3e44))}.v17-mini-badge{font-size:10px;font-weight:900;letter-spacing:.08em;background:rgba(255,176,32,.14);color:#ffbd43;padding:5px 8px;border-radius:999px}.v17-learning-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0}.v17-learning-stats span{background:var(--surface-2,#17282f);padding:9px;border-radius:12px;text-align:center;font-size:11px;color:var(--text-muted,#8fa2aa)}.v17-learning-stats b{display:block;color:var(--text-primary,#fff);font-size:16px}.v17-back{border:0;background:transparent;color:var(--text-primary);font-size:24px;cursor:pointer}.v17-guide{font-size:11px;font-weight:900;color:#ffbd43;text-decoration:none}.v17-shell,.v17-exam-shell{max-width:760px;margin:0 auto 70px}.v17-hero{position:relative;overflow:hidden;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:20px;border-radius:22px;background:linear-gradient(135deg,rgba(255,176,32,.14),rgba(28,176,246,.08));border:1px solid rgba(255,176,32,.24);box-shadow:0 5px 0 rgba(0,0,0,.18)}.v17-hero span,.v17-kicker,.v17-section-head span,.v17-day-head>div>span{font-size:10px;font-weight:900;letter-spacing:.13em;color:#ffbd43}.v17-hero h2{font-size:22px;margin:5px 0}.v17-hero p{margin:0;color:var(--text-muted);font-size:13px;line-height:1.5}.v17-ring{min-width:82px;height:82px;border-radius:50%;border:8px solid rgba(255,176,32,.2);display:flex;align-items:center;justify-content:center;flex-direction:column;background:rgba(10,20,24,.32)}.v17-ring strong{font-size:27px;line-height:1}.v17-ring span{letter-spacing:0;color:var(--text-muted)}.v17-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin:14px 0}.v17-tabs button{border:1px solid var(--border-color,#304047);background:var(--surface-2,#17272d);color:var(--text-muted);padding:10px 6px;border-radius:12px;font-weight:900;font-size:12px;cursor:pointer}.v17-tabs button.active{background:#ffb020;color:#172027;border-color:#ffb020;box-shadow:0 3px 0 #bd7410}.v17-day-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:17px;background:var(--surface-1,#122127);border:1px solid var(--border-color,#2c3d44);border-radius:18px}.v17-day-head h3{margin:4px 0;font-size:21px}.v17-day-head p{margin:0;color:var(--text-muted);font-size:12px;line-height:1.45}.v17-day-score{width:66px;height:66px;border-radius:17px;background:rgba(88,204,2,.1);border:1px solid rgba(88,204,2,.25);display:flex;flex-direction:column;align-items:center;justify-content:center}.v17-day-score strong{font-size:20px;color:#58cc02}.v17-day-score small{font-size:10px;color:var(--text-muted)}.v17-signal-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.v17-signal-row>div{display:grid;grid-template-columns:auto 1fr;column-gap:7px;align-items:center;background:var(--surface-2,#17272d);border:1px solid var(--border-color,#2c3d44);padding:10px;border-radius:14px}.v17-signal-row span{grid-row:1/3;font-size:19px}.v17-signal-row b{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v17-signal-row small{font-size:9px;color:var(--text-muted)}.v17-task-list{display:flex;flex-direction:column;gap:9px}.v17-task{display:grid;grid-template-columns:34px 42px 1fr auto;gap:9px;align-items:center;padding:11px;background:var(--surface-1,#122127);border:1px solid var(--border-color,#2c3d44);border-radius:16px;transition:.2s}.v17-task.done{opacity:.66;border-color:rgba(88,204,2,.35)}.v17-task.done .v17-task-copy strong{text-decoration:line-through}.v17-check{width:31px;height:31px;border-radius:50%;border:2px solid #ffb020;background:transparent;color:#ffbd43;font-weight:900;cursor:pointer}.v17-task.done .v17-check{background:#58cc02;border-color:#58cc02;color:#10200c}.v17-task-icon{width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.05);display:grid;place-items:center;font-size:21px}.v17-task-copy{min-width:0}.v17-task-copy span{font-size:9px;font-weight:900;color:#ffbd43}.v17-task-copy strong{display:block;font-size:14px;margin:2px 0}.v17-task-copy small{display:block;color:var(--text-muted);font-size:10px;line-height:1.35}.v17-do{border:0;background:rgba(28,176,246,.11);color:#55c8f8;padding:9px 10px;border-radius:10px;font-size:10px;font-weight:900;cursor:pointer;white-space:nowrap}.v17-day-actions{display:flex;gap:8px;margin-top:12px}.v17-day-actions button,.v17-settings-card>button,.v17-section-head>button,.v17-exam-card>button,.v17-result-actions button{flex:1;border:0;border-radius:13px;padding:12px 14px;background:#58cc02;color:#10200c;font-weight:900;cursor:pointer;box-shadow:0 3px 0 #3a9200}.v17-day-actions button.secondary,.v17-result-actions .secondary{background:var(--surface-2,#17272d);color:var(--text-primary);border:1px solid var(--border-color);box-shadow:none}.v17-day-actions button:disabled{opacity:.4;cursor:not-allowed}.v17-manual-note{font-size:10px;color:var(--text-muted);text-align:center;line-height:1.45}.v17-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:7px 0 12px}.v17-section-head h3{margin:3px 0}.v17-section-head>strong{font-size:22px;color:#ffbd43}.v17-section-head>a{font-size:11px;color:#55c8f8;text-decoration:none;font-weight:900}.v17-calendar{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.v17-calendar button{min-height:72px;border-radius:13px;border:1px solid var(--border-color);background:var(--surface-2,#17272d);color:var(--text-primary);display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}.v17-calendar button:disabled{opacity:.38}.v17-calendar small{font-size:8px;color:var(--text-muted)}.v17-calendar b{font-size:17px}.v17-calendar span{font-size:8px;color:var(--text-muted)}.v17-calendar .done{border-color:rgba(88,204,2,.4);background:rgba(88,204,2,.08)}.v17-calendar .done b{color:#58cc02}.v17-calendar .current{border-color:#ffb020;box-shadow:inset 0 0 0 1px #ffb020}.v17-calendar .milestone:not(.done){background:rgba(255,176,32,.08)}.v17-phase-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.v17-phase-grid>div{background:var(--surface-1);border:1px solid var(--border-color);border-radius:14px;padding:12px}.v17-phase-grid span{font-size:20px}.v17-phase-grid b{display:block;font-size:12px;margin:4px 0}.v17-phase-grid small{color:var(--text-muted);font-size:9px}.v17-settings-card,.v17-reset-card{background:var(--surface-1);border:1px solid var(--border-color);border-radius:17px;padding:15px}.v17-settings-card label{display:grid;grid-template-columns:1fr 150px;align-items:center;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:12px;font-weight:800}.v17-settings-card select{background:var(--surface-2);color:var(--text-primary);border:1px solid var(--border-color);border-radius:10px;padding:9px}.v17-settings-info{margin:12px 0;padding:11px;border-radius:12px;background:rgba(28,176,246,.08);font-size:11px}.v17-settings-info p{margin:4px 0;color:var(--text-muted);line-height:1.4}.v17-reset-card{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:10px}.v17-reset-card b,.v17-reset-card small{display:block}.v17-reset-card small{color:var(--text-muted);font-size:10px;margin-top:3px}.v17-reset-card button{border:1px solid rgba(255,80,80,.35);background:rgba(255,80,80,.08);color:#ff7777;border-radius:10px;padding:8px 12px;font-weight:900;cursor:pointer}.v17-exam-history{display:flex;flex-direction:column;gap:8px}.v17-exam-history article{padding:13px;border:1px solid var(--border-color);border-radius:14px;background:var(--surface-1)}.v17-exam-history article>div{display:flex;justify-content:space-between}.v17-exam-history span,.v17-exam-history small{font-size:10px;color:var(--text-muted)}.v17-exam-history b{color:#ffbd43}.v17-exam-history p{margin:5px 0;font-size:12px}.v17-empty{text-align:center;padding:30px 15px;border:1px dashed var(--border-color);border-radius:17px;color:var(--text-muted)}.v17-empty span{font-size:34px}.v17-empty b{display:block;color:var(--text-primary);margin:6px}.v17-loading{text-align:center;padding:35px;color:var(--text-muted)}.v17-exam-card{max-width:620px;margin:20px auto;background:var(--surface-1,#122127);border:1px solid var(--border-color,#2c3d44);border-radius:22px;padding:22px;text-align:center}.v17-exam-icon,.v17-result-icon{font-size:46px;margin:10px}.v17-exam-card h2{margin:7px 0}.v17-exam-card>p{color:var(--text-muted);font-size:13px;line-height:1.5}.v17-exam-start-meta{display:flex;justify-content:center;gap:8px;margin:16px 0}.v17-exam-start-meta span{background:var(--surface-2);padding:7px 10px;border-radius:999px;font-size:10px;color:var(--text-muted)}.v17-exam-top{display:flex;justify-content:space-between}.v17-exam-top span{background:#ffb020;color:#172027;padding:5px 9px;border-radius:8px;font-weight:900;font-size:11px}.v17-exam-track{height:8px;background:var(--surface-2);border-radius:999px;margin:12px 0 16px;overflow:hidden}.v17-exam-track i{display:block;height:100%;background:#58cc02;border-radius:999px}.v17-exam-card>small{color:#ffbd43;font-weight:900}.v17-exam-options{display:grid;gap:8px;margin-top:15px}.v17-exam-options button{border:1px solid var(--border-color);background:var(--surface-2);color:var(--text-primary);padding:12px;border-radius:13px;text-align:left;font-weight:800;cursor:pointer}.v17-exam-options button.correct{border-color:#58cc02;background:rgba(88,204,2,.12)}.v17-exam-options button.wrong{border-color:#ff5d5d;background:rgba(255,93,93,.1)}.v17-exam-feedback{min-height:24px;margin:11px 0;font-size:11px;color:var(--text-muted)}.v17-exam-feedback.ok{color:#7cdd41}.v17-exam-feedback.no{color:#ffbd43}.v17-result-skills{display:grid;gap:7px;text-align:left;margin:15px 0}.v17-result-skills>div{display:grid;grid-template-columns:90px 1fr 40px;align-items:center;gap:8px;font-size:10px}.v17-result-skills i{height:7px;background:var(--surface-2);border-radius:999px;overflow:hidden}.v17-result-skills i b{display:block;height:100%;background:#1cb0f6}.v17-result-reco{padding:13px;border-radius:14px;background:rgba(255,176,32,.08);margin:12px 0}.v17-result-reco b{display:block;font-size:17px;margin:3px}.v17-result-reco p{margin:0;color:var(--text-muted);font-size:11px}.v17-result-actions{display:flex;gap:8px}.v17-disclaimer{display:block;margin-top:14px;color:var(--text-muted)!important;font-size:9px!important;line-height:1.4}.hidden{display:none!important}
@media(max-width:600px){.v17-hero{padding:15px}.v17-hero h2{font-size:18px}.v17-ring{min-width:68px;height:68px}.v17-tabs button{font-size:10px;padding:9px 3px}.v17-signal-row{grid-template-columns:1fr 1fr}.v17-signal-row>div:last-child{grid-column:1/-1}.v17-task{grid-template-columns:30px 38px 1fr}.v17-do{grid-column:3;padding:7px 9px;justify-self:start}.v17-calendar{grid-template-columns:repeat(5,1fr)}.v17-settings-card label{grid-template-columns:1fr}.v17-settings-card select{margin-top:6px}.v17-phase-grid{grid-template-columns:1fr}.v17-result-skills>div{grid-template-columns:75px 1fr 36px}}

/* ========================================================================== 
   V17.1 — KİŞİSEL PROGRAM UI HOTFIX
   Ana sayfa launcher kontrastı + program ekranı güvenli kenar boşlukları.
   ========================================================================== */
.v17-home-tile{
    background:linear-gradient(145deg,#ffc14f 0%,#ffad22 100%)!important;
    color:#172027!important;
    box-shadow:0 5px 0 #bd7410!important;
}
.v17-home-tile .home-feature-icon{
    background:rgba(255,255,255,.42);
    color:#172027;
    box-shadow:inset 0 2px 0 rgba(255,255,255,.42),0 2px 0 rgba(120,69,0,.16);
}
.v17-home-tile strong{color:#172027!important}
.v17-home-tile small{color:rgba(23,32,39,.76)!important}
.v17-home-tile:active{box-shadow:0 2px 0 #bd7410!important}

#screen-v17-program{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
    overflow-x:hidden;
}
#screen-v17-program .game-header{
    box-sizing:border-box;
    width:100%;
    padding-left:max(18px,env(safe-area-inset-left));
    padding-right:max(18px,env(safe-area-inset-right));
}
#screen-v17-program .v17-shell{
    width:100%;
    max-width:760px;
    box-sizing:border-box;
    margin:0 auto;
    padding:16px 20px 100px;
}
#screen-v17-program .v17-tab,
#screen-v17-program .v17-hero,
#screen-v17-program .v17-tabs,
#screen-v17-program .v17-day-head,
#screen-v17-program .v17-signal-row,
#screen-v17-program .v17-task-list,
#screen-v17-program .v17-day-actions,
#screen-v17-program .v17-manual-note,
#screen-v17-program .v17-section-head,
#screen-v17-program .v17-calendar,
#screen-v17-program .v17-phase-grid,
#screen-v17-program .v17-settings-card,
#screen-v17-program .v17-reset-card,
#screen-v17-program .v17-exam-history{
    min-width:0;
    box-sizing:border-box;
}
#screen-v17-program .v17-hero{margin-top:0}
#screen-v17-program .v17-task{width:100%;box-sizing:border-box}
#screen-v17-program .v17-do{max-width:100%}

body.light-mode .v17-home-tile{
    background:linear-gradient(145deg,#ffc14f 0%,#ffad22 100%)!important;
    color:#172027!important;
    box-shadow:0 5px 0 #c17a15!important;
}
body.light-mode .v17-home-tile .home-feature-icon,
body.light-mode .v17-home-tile strong{color:#172027!important}
body.light-mode .v17-home-tile small{color:#4b3a21!important}
body.light-mode #screen-v17-program .v17-hero,
body.light-mode #screen-v17-program .v17-day-head,
body.light-mode #screen-v17-program .v17-task,
body.light-mode #screen-v17-program .v17-signal-row>div,
body.light-mode #screen-v17-program .v17-phase-grid>div,
body.light-mode #screen-v17-program .v17-settings-card,
body.light-mode #screen-v17-program .v17-reset-card,
body.light-mode #screen-v17-program .v17-exam-history article{
    background:#fff;
    color:#172027;
    border-color:#d9e2e7;
}
body.light-mode #screen-v17-program .v17-tabs button,
body.light-mode #screen-v17-program .v17-calendar button{
    background:#f3f6f8;
    color:#263941;
    border-color:#d9e2e7;
}
body.light-mode #screen-v17-program .v17-tabs button.active{
    background:#ffb020;
    color:#172027;
    border-color:#ffb020;
}

@media(max-width:600px){
    #screen-v17-program .game-header{
        padding-left:max(14px,env(safe-area-inset-left));
        padding-right:max(14px,env(safe-area-inset-right));
    }
    #screen-v17-program .v17-shell{padding:13px 14px 96px}
    #screen-v17-program .v17-hero{border-radius:18px;padding:14px}
    #screen-v17-program .v17-day-head{border-radius:16px;padding:14px}
    #screen-v17-program .v17-signal-row{gap:7px}
    #screen-v17-program .v17-task{border-radius:14px;padding:10px}
    #screen-v17-program .v17-calendar{gap:6px}
}
@media(max-width:380px){
    #screen-v17-program .v17-shell{padding-left:11px;padding-right:11px}
    #screen-v17-program .v17-hero{gap:10px}
    #screen-v17-program .v17-ring{min-width:62px;width:62px;height:62px;border-width:6px}
    #screen-v17-program .v17-tabs{gap:5px}
    #screen-v17-program .v17-tabs button{font-size:9px;padding:9px 2px}
}
