.tns-seo-h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#tns-app { max-width: 620px; margin: 0 auto; padding: 8px 16px 40px; }

.tns-intro { text-align: center; }
.tns-intro-emoji { font-size: 44px; letter-spacing: 6px; margin: 8px 0; }
.tns-intro p { color: var(--muted, #556); line-height: 1.5; }
.tns-key { list-style: none; padding: 0; margin: 14px auto; max-width: 420px; text-align: left; }
.tns-key li { background: #f6f8fb; border: 1.5px solid rgba(20,33,61,0.08); border-radius: 12px; padding: 10px 14px; margin-bottom: 8px; font-size: 17px; }
.tns-key li span { display: block; color: var(--muted, #6b7785); font-size: 13px; margin-top: 2px; }
.tns-key b { color: #1769C0; }
.tns-review-note { font-size: 13px; opacity: 0.8; font-style: italic; }

.tns-diff { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.tns-diff .kw-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px; font-size: 18px; }
.tns-diff .kw-btn span { font-size: 12px; font-weight: 600; opacity: 0.85; }

.tns-loading { text-align: center; padding: 48px 16px; color: var(--muted, #556); font-size: 18px; }

.tns-hud { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 18px; margin: 4px 0 14px; }
.tns-hud .tns-score { color: #1769C0; }
.tns-hud .tns-timer { background: #FCD116; color: #2a1a0e; border-radius: 999px; min-width: 40px; text-align: center; padding: 2px 10px; }

.tns-card { background: #fff; border: 1.5px solid rgba(20,33,61,0.08); border-radius: 18px; padding: 22px 16px 24px; box-shadow: 0 6px 24px rgba(20,33,61,0.07); text-align: center; }
.tns-prompt-label { font-weight: 700; color: var(--muted, #556); margin-bottom: 14px; }
.tns-prompt-label b { color: #14213d; }

.tns-sentence { font-size: 34px; font-weight: 800; color: #14213d; margin: 6px 0; letter-spacing: 0.5px; }
.tns-sentence .tns-blank { display: inline-block; min-width: 54px; border-bottom: 3px dashed #1769C0; color: #1769C0; }
.tns-sentence .tns-marker { color: #1769C0; }
.tns-gloss { display: block; color: var(--muted, #6b7785); font-size: 15px; margin-bottom: 20px; }

.tns-opts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.tns-opt-time { grid-column: span 1; }
@media (max-width: 460px) { .tns-opts { grid-template-columns: 1fr; } }
.tns-opt { border: 2px solid rgba(20,33,61,0.12); border-radius: 14px; background: #f6f8fb; padding: 16px 8px; font-size: 20px; font-weight: 800; cursor: pointer; transition: transform .08s, background .15s, border-color .15s; }
.tns-opt:active { transform: scale(0.97); }
.tns-opt.correct { background: #d7f5dd; border-color: #2fae57; }
.tns-opt.wrong { background: #fbe0e0; border-color: #d64545; }
.tns-opt:disabled { cursor: default; }
