/* ТЕСТ УРОВНЯ В СТАТЬЕ — свёрток: 12 заданий TOPIK I раскрываются прямо в статье (босс 2026-10-29).
   Чёрно-белый, как сама статья. Задание целиком в экране без прокрутки. Подключается после blog-mobile.css. */
.lt { margin: 24px 0 8px; border: 1.5px solid #111; border-radius: 16px; overflow: hidden; background: #fff; }
.lt-open { display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 24px; background: #111; color: #fff;
           border: 0; cursor: pointer; text-align: left; font: inherit; }
.lt-open b { display: block; font-size: 18px; }
.lt-open small { display: block; font-size: 14px; color: #bbb; margin-top: 2px; }
.lt-open i { margin-left: auto; font-style: normal; font-size: 22px; transition: transform .2s; }
.lt.on .lt-open i { transform: rotate(180deg); }
.lt-body { padding: 20px 24px 24px; word-break: keep-all; overflow-wrap: break-word;     /* корейский — не рвать слово посередине */
           overflow-anchor: none; }                                                    /* смена задания не двигает прокрутку */
.lt-body[hidden] { display: none; }

.lt-top { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; color: #888; font-weight: 700;
          text-transform: uppercase; letter-spacing: 1px; }
.lt-bar { height: 4px; background: #eee; border-radius: 4px; margin: 6px 0 14px; overflow: hidden; }
.lt-bar i { display: block; height: 100%; background: #111; transition: width .3s; }

.lt-lead { color: #555; font-size: 16px; margin: 0 0 12px; }
.lt-lead b { color: #111; }
.lt-exbtn { padding: 0; border: 0; background: none; color: #888; text-decoration: underline; cursor: pointer;
            font: 14px 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.lt-ex { background: #f8f9fa; border-radius: 8px; padding: 10px 14px; font-size: 15px; margin-bottom: 12px; }
.lt-ex[hidden] { display: none; }
.lt-head { font-size: 13px; color: #888; margin-bottom: 6px; }
.lt-ex ol { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 2px 16px; }
.lt-ex ol li { font-size: 15px; margin: 0; }
.lt-ex li.ans { font-weight: 700; }
.lt .tp-box, .lt-text { border: 1px solid #ddd; border-radius: 8px; padding: 10px 14px; font-size: 17px; line-height: 1.6;
                        margin-bottom: 12px; }
.lt-q { font-size: 16px; margin-bottom: 10px; }

.lt-play { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; margin-bottom: 12px; border: 1.5px solid #111;
           border-radius: 999px; background: #fff; color: #111; font: 700 15px 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
           cursor: pointer; }
.lt-play.on { background: #111; color: #fff; }
.lt-play span { font-weight: 400; color: #888; font-size: 13px; }
.lt-play.on span { color: #bbb; }

.lt-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt-opts.long { grid-template-columns: 1fr; }
.lt-opt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 14px; border: 1.5px solid #e1e4e8; border-radius: 10px;
          background: #fff; color: #111; text-align: left; font: 17px/1.45 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; cursor: pointer; }
.lt-opt:hover:not(:disabled) { border-color: #111; }
.lt-opt .n { font-weight: 700; color: #888; flex-shrink: 0; }
.lt-opt:disabled { cursor: default; }
.lt-opt.sel { background: #111; border-color: #111; color: #fff; }   /* выбранный ответ — миг перед следующим заданием */
.lt-opt.sel .n { color: #bbb; }

/* результат */
.lt-res-t { font-size: 12px; color: #888; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.lt-res-lvl { font-size: 28px; font-weight: 800; line-height: 1.2; margin: 6px 0; }
.lt-res-n { color: #555; font-size: 16px; margin: 0 0 12px; }
.lt-dots { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.lt-dot { width: 28px; height: 28px; border: 1.5px solid #111; border-radius: 6px; display: flex; align-items: center;
          justify-content: center; font-size: 12px; font-weight: 700; color: #111; }
.lt-dot.ok { background: #111; color: #fff; }
.lt-res-p { font-size: 17px; }
.lt-res-note { font-size: 14px; color: #888; }
.lt a.lt-cta { display: block; margin-top: 10px; padding: 14px; border: 1.5px solid #111; border-radius: 12px; background: #111;
               color: #fff; text-align: center; font-weight: 700; text-decoration: none; }
.lt a.lt-cta.sec { background: #fff; color: #111; }
.lt-again { margin-top: 14px; padding: 0; border: 0; background: none; color: #888; text-decoration: underline; cursor: pointer;
            font: 14px 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }

@media (max-width: 760px) {
    .lt-open { padding: 16px 18px; }
    .lt-open b { font-size: 17px; }
    .lt-body { padding: 12px 14px 16px; }
    .lt-bar { margin: 5px 0 10px; }
    .lt-lead { font-size: 15px; line-height: 1.4; margin-bottom: 10px; }
    .lt-opts { grid-template-columns: 1fr; gap: 6px; }
    .lt-opts:not(.long) { grid-template-columns: 1fr 1fr; }    /* короткие варианты и на телефоне — 2×2 */
    .lt-opt { font-size: 15px; line-height: 1.35; padding: 8px 10px; gap: 8px; }
    .lt .tp-box, .lt-text { font-size: 15px; line-height: 1.5; padding: 8px 10px; margin-bottom: 10px; }
    .lt-q { font-size: 15px; margin-bottom: 8px; }
    .lt-play { margin-bottom: 10px; }
    .lt-res-lvl { font-size: 24px; }
}

@media (max-width: 340px) {                                     /* самые узкие телефоны: длинный текст — тоже в экран */
    .lt-lead { font-size: 14px; }
    .lt .tp-box, .lt-text, .lt-opt { font-size: 14px; }
    .lt-opt { padding: 7px 9px; }
    .lt-body { padding-top: 8px; }
    .lt-bar { margin: 4px 0 8px; }
    .lt .tp-box, .lt-text { line-height: 1.45; }
}
