.skt-shell { max-width: 860px; }
.skt-empty { padding: 28px; border-radius: 20px; background: #fff; text-align: center; color: #4b5563; box-shadow: 0 12px 36px rgba(16, 60, 45, .08); }
.skt-empty a { color: var(--itt-green); font-weight: 600; }

/* Hero: ortaq .itt-band (frontend/it-test/style); burada yalnız ortadakı axtarış */
.skt-hero { padding-bottom: 96px; }
.skt-search { position: relative; max-width: 580px; margin: 28px auto 0; }
.skt-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.skt-search input { width: 100%; box-sizing: border-box; padding: 16px 18px 16px 48px; border: 2px solid transparent; border-radius: 16px; background: #fff; color: #1f2937;
    font: inherit; font-size: 16px; box-shadow: 0 20px 44px rgba(0, 0, 0, .25); }
.skt-search input:focus { outline: none; border-color: var(--itt-lime); }

/* Sahə tab-ları: hero-nun üstünə çıxan ağ zolaq, yana sürüşür */
.skt-shell:has(.skt-courses) { max-width: 1120px; }
.skt-areas { position: relative; display: flex; gap: 4px; max-width: max-content; margin: -78px auto 0; padding: 6px; overflow-x: auto; border-radius: 16px; background: #fff;
    box-shadow: 0 14px 34px rgba(16, 60, 45, .14); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.skt-areas::-webkit-scrollbar { display: none; }
.skt-area { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 0; border-radius: 11px; background: none; color: #374151;
    font: inherit; font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background .12s, color .12s; }
.skt-area:hover { background: var(--itt-soft); color: var(--itt-green); }
.skt-area.is-active { background: #e8f4ee; color: var(--itt-green); font-weight: 600; }
.skt-area em { font-style: normal; font-size: 12px; font-weight: 600; color: #9ca3af; }
.skt-area.is-active em { color: var(--itt-green-2); }

/* Kurs kartı: sahə + ad, səviyyə sayı; sual · vaxt · çətinlik; "Testə başla" */
.skt-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; margin-top: 30px; }
.skt-course { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--itt-line); border-radius: 20px; background: #fff;
    text-align: left; font: inherit; color: inherit; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.skt-course:hover, .skt-course:focus-visible { border-color: #cfe3da; box-shadow: 0 16px 36px rgba(16, 60, 45, .12); transform: translateY(-3px); outline: none; }
.skt-course:focus-visible { box-shadow: 0 0 0 3px rgba(48, 153, 117, .35); }
.skt-course[hidden] { display: none; }
/* Kartın yuxarısında nazik gradient zolaq — hero ilə eyni rəng (--brand-band, themes.css) */
.skt-course { position: relative; overflow: hidden; }
.skt-course::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-band, linear-gradient(90deg, #2c7a64, #9fc06a)); }
.skt-course-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.skt-course-area { display: block; font-size: 12px; color: #9ca3af; }
.skt-one-area .skt-course-area { display: none; }
.skt-course-top b { display: block; margin-top: 2px; color: var(--itt-dark); font: 600 18px/1.3 var(--font-head, Poppins, sans-serif); }
.skt-course-tag { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; background: #fbfbea; color: #6b6a1f; font-size: 12px; font-weight: 600; white-space: nowrap; }
.skt-course-info { display: flex; gap: 18px; margin: 16px 0; padding: 12px 0; border-top: 1px dashed var(--itt-line); border-bottom: 1px dashed var(--itt-line); font-size: 13px; color: #6b7280; }
.skt-course-info b { display: block; color: var(--itt-dark); font-size: 15px; }
.skt-course-info b.skt-bars { display: flex; height: 21px; padding-top: 6px; box-sizing: border-box; }
.skt-course-cta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; color: var(--itt-green); font-weight: 600; }
.skt-course-cta svg { transition: transform .15s; }
.skt-course:hover .skt-course-cta svg { transform: translateX(4px); }
.skt-none { margin: 18px 0 0; text-align: center; color: #6b7280; }

/* Çətinlik çubuqları — bir rəng, doluluqla fərqlənir */
.skt-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.skt-bars i { display: block; width: 4px; border-radius: 2px; background: #dfe7e3; }
.skt-bars i:nth-child(1) { height: 5px; }
.skt-bars i:nth-child(2) { height: 8px; }
.skt-bars i:nth-child(3) { height: 12px; }
.skt-bars i.is-on { background: var(--itt-green-2); }
.skt-bars.is-big { gap: 3px; height: 22px; margin-bottom: 10px; }
.skt-bars.is-big i { width: 7px; border-radius: 3px; }
.skt-bars.is-big i:nth-child(1) { height: 9px; }
.skt-bars.is-big i:nth-child(2) { height: 15px; }
.skt-bars.is-big i:nth-child(3) { height: 22px; }
.skt-bars.is-mixed i.is-on:nth-child(1) { background: #a7d3bf; }
.skt-bars.is-mixed i.is-on:nth-child(2) { background: #5fb08f; }

/* Çətinlik seçimi */
.skt-level-kicker { display: block; margin-top: 18px; font-size: 13px; font-weight: 600; color: var(--itt-green-2); }
.skt .skt-level-title { margin-top: 4px; }
.skt-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.skt-level { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 20px 18px 16px; border: 1px solid var(--itt-line); border-radius: 18px; background: #fff;
    font: inherit; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.skt-level:hover:not(:disabled), .skt-level:focus-visible { border-color: var(--itt-green-2); box-shadow: 0 12px 28px rgba(16, 60, 45, .1); transform: translateY(-2px); outline: none; }
.skt-level:disabled { opacity: .45; cursor: not-allowed; }
.skt-level b { font-size: 19px; color: var(--itt-dark); }
.skt-level > span:not(.skt-bars) { font-size: 14px; color: #6b7280; }
.skt-level em { align-self: stretch; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--itt-line); font-style: normal; font-size: 13px; font-weight: 600; color: var(--itt-green); }

.skt-q { white-space: pre-line; }
.skt .skt-code { margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: #0f172a; color: #e2e8f0; font: 14px/1.55 SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; overflow-x: auto; }
.skt-img { display: block; max-width: 100%; max-height: 360px; margin-top: 14px; border-radius: 12px; border: 1px solid var(--itt-line); }
.itt-option.is-multi .itt-option-key { border-radius: 6px; }
.skt-opt-img { display: block; max-width: 100%; max-height: 160px; margin-bottom: 6px; border-radius: 8px; }
.skt-text input { width: 100%; box-sizing: border-box; margin-top: 22px; padding: 16px 18px; border: 2px solid var(--itt-line); border-radius: 16px; font: inherit; font-size: 17px; }
.skt-text input:focus { outline: none; border-color: var(--itt-green-2); }
.skt-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.skt-skip { border: 0; background: none; color: #6b7280; font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.skt-next { padding: 14px 30px; border: 0; border-radius: 14px; background: var(--itt-green); color: #fff; font: 700 16px var(--font-head, Poppins, sans-serif); cursor: pointer; }
.skt-next:disabled { background: #cbd5d1; cursor: not-allowed; }
/* "Geri" yalnız telefonda aşağı paneldə (kompüterdə yuxarıdakı "Geri" kifayətdir) */
.skt-prev { display: none; align-items: center; justify-content: center; gap: 6px; padding: 14px 16px; border: 1px solid var(--itt-line); border-radius: 14px; background: #fff;
    color: var(--itt-dark); font: 600 15px var(--font-head, Poppins, sans-serif); cursor: pointer; }
/* Sahə — açılan siyahı (yalnız telefonda) */
.skt-area-pick { display: none; }
/* Vaxt: sual ekranının yuxarısında geri sayım; son dəqiqədə qırmızı */
.skt-top-right { display: flex; align-items: center; gap: 12px; min-width: 0; }
.skt-timer { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #e8f4ee; color: var(--itt-green); white-space: nowrap; }
.skt-timer b { font: 700 15px var(--font-head, Poppins, sans-serif); font-variant-numeric: tabular-nums; }
.skt-timer.is-low { background: #fde8e8; color: #c0392b; animation: skt-blink 1s ease-in-out infinite; }
@keyframes skt-blink { 50% { opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .skt-timer.is-low { animation: none; } }
.skt-timeup { text-align: center; padding: 20px 0 8px; }
.skt-timeup-icon { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; margin-bottom: 14px; border-radius: 50%; background: #fde8e8; color: #c0392b; }
.skt-timeup-text { margin: 10px auto 22px; max-width: 440px; color: #4b5563; font-size: 16px; }
.skt-timeup .itt-retry { display: block; margin: 12px auto 0; }

/* Nəticə */
.skt-break { display: grid; gap: 10px; }
.skt-break-row { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 12px; font-size: 15px; }
.skt-break-row .itt-meter { margin: 0; }
.skt-review { margin: 0; padding: 0; list-style: none; counter-reset: skt; display: grid; gap: 16px; }
.skt-rq { counter-increment: skt; padding: 18px; border-radius: 16px; border: 1px solid var(--itt-line); border-left-width: 5px; }
.skt-rq.is-ok { border-left-color: #34d399; }
.skt-rq.is-bad { border-left-color: #f87171; }
.skt-rq-head { display: flex; align-items: center; gap: 10px; }
.skt-rq-head::before { content: counter(skt) '.'; font-weight: 700; color: var(--itt-dark); }
.skt-mark { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; }
.is-ok .skt-mark { background: #10b981; }
.is-bad .skt-mark { background: #ef4444; }
.skt-rq-diff { margin-left: auto; font-size: 12px; font-weight: 600; color: #6b7280; }
.skt-rq-body { margin-top: 8px; font-size: 16px; font-weight: 600; color: #1f2937; white-space: pre-line; }
.skt-ropts { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.skt-ropts li { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #f8faf9; font-size: 15px; color: #374151; }
.skt-ropts li.is-correct { background: #e7f8ef; color: #065f46; font-weight: 600; }
.skt-ropts li.is-wrong { background: #fdecec; color: #991b1b; }
.skt-ropts img { max-height: 70px; border-radius: 6px; }
.skt .skt-ropts em { margin-left: auto; color: inherit; font-style: normal; font-size: 12px; font-weight: 600; opacity: .8; white-space: nowrap; }
.skt-ropt-mark { flex: 0 0 16px; font-weight: 700; }
.skt-ans { margin-top: 10px; padding: 8px 12px; border-radius: 10px; font-size: 15px; }
.skt-ans.is-ok, .skt-ans.is-correct { background: #e7f8ef; color: #065f46; }
.skt-ans.is-bad { background: #fdecec; color: #991b1b; }
.skt-expl { margin-top: 12px; padding: 10px 14px; border-left: 4px solid var(--itt-lime); border-radius: 10px; background: #fbfbea; font-size: 14px; line-height: 1.6; color: #3f3f1f; }

@media (max-width: 899px) {
    .skt-hero { padding-bottom: 88px; }
    /* Telefonda tab zolağı ekranın enini tutur və yana sürüşür */
    .skt-areas { max-width: 100%; }
}
@media (max-width: 767px) {
    .skt-levels { grid-template-columns: 1fr 1fr; }
    .skt-courses { grid-template-columns: 1fr; }
    .skt-course-info { gap: 14px; }
    /* Sual ekranı: Geri · Növbəti ekranın altına yapışır; "Bu sualı keç" üstündə kiçik keçid */
    .skt-nav { position: sticky; bottom: 0; z-index: 30; display: grid; grid-template-columns: auto 1fr; gap: 10px; margin: 20px -28px -28px; padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--itt-line); border-radius: 0 0 20px 20px; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .skt-skip { grid-column: 1 / -1; justify-self: center; padding: 2px 8px; font-size: 14px; }
    .skt-prev { display: inline-flex; }
    .skt [data-screen="quiz"] .itt-quiz-top > .itt-back { display: none; }
    .skt-next { width: 100%; }
    /* Sahə: tab-lar yerinə açılan siyahı, sürüşdürəndə menyunun altında qalır */
    .skt-areas { display: none; }
    .skt-area-pick { position: sticky; top: calc(var(--sh-h, 64px) + 8px); z-index: 25; display: flex; align-items: center; gap: 10px; margin: -34px 0 0; padding: 8px 8px 8px 16px;
        border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(16, 60, 45, .16); }
    .skt-area-pick span { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #6b7280; }
    .skt-area-pick select { flex: 1; min-width: 0; padding: 10px 34px 10px 12px; border: 1px solid var(--itt-line); border-radius: 12px; color: var(--itt-dark); font: 600 15px var(--font-body, Inter, sans-serif);
        -webkit-appearance: none; appearance: none; background: #f3f8f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231f6f55' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
    .skt-courses { margin-top: 18px; }
    /* Telefonda yer azdır: uzun "kurs · çətinlik · 3 / 10" mətni üç nöqtə ilə qısalır, saat həmişə görünür */
    .skt-top-right .itt-count { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 639px) {
    .skt-nav { margin: 20px -16px -20px; }
}

/* Anti-cheat (js/pages/skill-test/index.js): qaydalar, xəbərdarlıq, test gedəndə mətn seçilmir */
.skt-rules-list { margin: 8px 0 22px; padding: 0; list-style: none; display: grid; gap: 10px; }
.skt-rules-list li { position: relative; padding: 12px 14px 12px 44px; border: 1px solid #e3ece8; border-radius: 12px; background: #f6faf8; color: #1f2933; line-height: 1.5; }
.skt-rules-list li::before { content: "!"; position: absolute; left: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; background: var(--itt-green); color: #fff; font: 700 12px/20px sans-serif; text-align: center; }
.skt-rules-list li span { color: #c0392b; font-weight: 700; }
.skt-rules-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.skt-timeup-icon.is-danger { font: 800 34px/1 sans-serif; }
a.skt-next { display: inline-block; text-decoration: none; }
.skt-locked { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.skt-locked input { -webkit-user-select: text; user-select: text; }
.skt-warn { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(17, 24, 39, .72); }
.skt-warn[hidden] { display: none; }
.skt-warn-box { width: 100%; max-width: 420px; padding: 28px 24px 24px; border-radius: 18px; background: #fff; text-align: center; box-shadow: 0 24px 60px rgba(0, 0, 0, .3); }
.skt-warn-box h3 { margin: 6px 0 8px; font-size: 20px; color: #111827; }
.skt-warn-box p { margin: 0 0 18px; color: #4b5563; line-height: 1.55; }
.skt-warn-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #fde8e8; color: #c0392b; font: 800 28px/1 sans-serif; }
@media (max-width: 600px) { .skt-rules-actions { flex-direction: column-reverse; align-items: stretch; } }
.skt-ended-note { margin-top: 8px; padding: 10px 12px; border-radius: 10px; background: #fde8e8; color: #9b2c2c; font-weight: 600; }

/* Test bitdi — nəticə açılana qədər səhifə kilidli (js: lockPage), yalnız nəticə / yenidən cəhd düymələri */
html.skt-finishing body * { pointer-events: none !important; }
html.skt-finishing [data-timeup-go], html.skt-finishing [data-ended-go], html.skt-finishing [data-retry], html.skt-finishing [data-timeup-retry] { pointer-events: auto !important; }
html.skt-finishing .site-header, html.skt-finishing header, html.skt-finishing footer { opacity: .45; }
