/* Testo puslapis */
.t-hub { padding: clamp(48px, 7vw, 110px) 0 clamp(72px, 9vw, 130px); }
.hub-top { max-width: 980px; margin-bottom: clamp(40px, 5vw, 72px); }
.hub-top .d1 { margin: 18px 0 24px; }
.tests { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.tcard { border-radius: 26px; padding: clamp(24px, 3.4vw, 48px); display: flex; flex-direction: column; gap: 20px; min-height: 420px; }
.tcard-1 { background: var(--y); }
.tcard-2 { background: var(--paper-2); }
.tcard-2 p { color: var(--ink-2); margin: 0; max-width: 34ch; }
.tc-top { display: flex; justify-content: space-between; gap: 16px; }
.tcard-1 .lab { color: var(--ink); }
.tcard .d2 { max-width: 12ch; }
.tc-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: auto 0 0; padding: 0; font-size: 17px; }
.tc-meta b { font: italic 900 34px/1 var(--display); margin-right: 6px; }
.tc-prog { height: 6px; border-radius: 6px; background: rgba(17,17,17,.14); overflow: hidden; }
.tc-prog i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .8s var(--ease); }
.why { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 20px; }
.why li { padding: 18px 0 0; border-top: 2px solid var(--ink); font-weight: 600; font-size: 17px; line-height: 1.35; }
.why .lab { display: block; margin-bottom: 8px; }
.warn { margin: 32px 0 0; max-width: 70ch; font-size: 16px; color: var(--ink-2); }
@media (max-width: 900px) { .tests { grid-template-columns: 1fr; } .tcard { min-height: 0; } .why { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* eiga */
.t-run { padding: 26px 0 60px; min-height: calc(100svh - 76px); }
.t-run > .wrap { display: flex; flex-direction: column; min-height: calc(100svh - 160px); position: relative; }
.run-bar { display: flex; align-items: center; gap: 18px; }
.sec-btn { display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 14px; border-radius: 999px; background: var(--paper-2); font-weight: 600; font-size: 16px; text-align: left; min-width: 0; }
.sec-btn > span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.sec-btn svg { width: 16px; height: 16px; flex: none; transition: transform .3s; }
.sec-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.r-count { margin-left: auto; white-space: nowrap; }
.r-pause { padding: 10px 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.r-pause:hover { background: var(--paper-2); }
.r-prog { height: 8px; margin-top: 16px; border-radius: 8px; background: var(--paper-2); overflow: hidden; }
.r-prog i { display: block; height: 100%; width: 0; background: var(--y); transition: width .5s var(--ease); }
.secs { position: absolute; top: 60px; left: 0; z-index: 5; width: min(520px, 100%); max-height: 60vh; overflow-y: auto; background: var(--paper); border-radius: 18px; box-shadow: 0 24px 60px rgba(17,17,17,.16), 0 0 0 1px var(--line); padding: 8px; }
.secs button { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; width: 100%; padding: 12px 12px; border-radius: 12px; text-align: left; font-size: 16px; align-items: center; }
.secs button:hover { background: var(--paper-2); }
.secs button.cur { background: var(--y); }
.secs .lab { color: var(--ink); }
.secs .st { font: 500 11px var(--mono); color: var(--mute); }
.stage { flex: 1; display: flex; align-items: center; padding: clamp(32px, 6vh, 80px) 0; min-height: 260px; }
.q { max-width: 17ch; margin: 0; font-size: clamp(38px, 5.6vw, 92px); transition: opacity .28s, transform .28s var(--ease); }
.q.out { opacity: 0; transform: translateY(-18px); }
.q.in { opacity: 0; transform: translateY(18px); transition: none; }
.scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.scale button { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 16px; border-radius: 18px; text-align: left; background: var(--paper-2); transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.scale button::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--y); opacity: var(--a); z-index: 0; transition: opacity .2s; }
.scale button > * { position: relative; z-index: 1; }
.scale button[data-v="0"] { --a: 0; } .scale button[data-v="1"] { --a: .22; } .scale button[data-v="2"] { --a: .45; } .scale button[data-v="3"] { --a: .72; } .scale button[data-v="4"] { --a: 1; }
.scale button:hover { transform: translateY(-3px); }
.scale button[aria-checked="true"] { box-shadow: inset 0 0 0 3px var(--ink); }
.scale button[aria-checked="true"] .k { background: var(--ink); color: var(--y); }
.scale .k { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--mono); box-shadow: inset 0 0 0 1.5px var(--ink); }
.scale .l { font: italic 800 22px/1 var(--display); }
.r-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.r-nav .btn { min-height: 46px; }
.brk { position: absolute; inset: 70px var(--gut) 0; background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 22px; z-index: 4; }
.brk .d2 { max-width: 14ch; margin: 0; }
@media (max-width: 760px) {
  .scale { grid-template-columns: 1fr; gap: 8px; }
  .scale button { flex-direction: row; align-items: center; min-height: 58px; padding: 10px 14px; gap: 14px; }
  .scale .l { font-size: 21px; }
  .r-hint { display: none; }
  .stage { padding: 26px 0; min-height: 200px; }
  .sec-btn > span:nth-child(2) { display: none; }
}

/* rezultatas */
.t-res { padding: clamp(48px, 7vw, 100px) 0 clamp(72px, 9vw, 130px); }
.res-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: end; padding-bottom: 48px; border-bottom: 2px solid var(--ink); }
.res-pct { margin: 8px 0 0; font: italic 900 clamp(120px, 19vw, 300px)/.8 var(--display); letter-spacing: -.03em; }
.res-pct small { font-size: .38em; margin-left: .06em; }
.res-lvl { display: inline-block; margin: 18px 0 0; padding: 6px 12px; background: var(--y); font: 600 13px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.res-top .d3 { margin: 0 0 18px; }
.res-top .lead { margin-bottom: 28px; }
.res-list { margin-top: 40px; }
.res-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.res-sort { padding: 8px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink); }
.res-sort[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.bars { list-style: none; margin: 0; padding: 0; }
.bars li { display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr) 56px; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bars .nm { font-weight: 600; font-size: 17px; line-height: 1.25; }
.bars .tr { height: 14px; border-radius: 14px; background: var(--paper-2); overflow: hidden; }
.bars .tr i { display: block; height: 100%; width: 0; border-radius: 14px; background: var(--ink); transition: width 1.1s var(--ease); }
.bars li.hi .tr i { background: var(--y); box-shadow: inset 0 0 0 2px var(--ink); }
.bars li.hi .nm { background: linear-gradient(var(--y), var(--y)) no-repeat 0 70% / 100% 45%; justify-self: start; }
.bars .pc { font: 600 14px var(--mono); text-align: right; }
@media (max-width: 760px) {
  .res-top { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 30px minmax(0, 1fr) 50px; gap: 6px 10px; }
  .bars .tr { grid-column: 2 / 4; grid-row: 2; }
  .bars .pc { grid-column: 3; grid-row: 1; }
}
