/* Бастауыш сынып: үлкен, түрлі түсті, саусақпен басуға ыңғайлы */
.bs-page { background: #fffaf0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto 1fr; min-height: 100vh; }
.bs-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.bs-tabs button { font: inherit; font-size: 20px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border-radius: 18px; border: 2px solid color-mix(in srgb, var(--tc) 35%, #fff); background: color-mix(in srgb, var(--tc) 8%, #fff); color: var(--tc); cursor: pointer; }
.bs-tabs button b { font-size: 30px; }
.bs-tabs button[aria-pressed="true"] { background: var(--tc); color: #fff; border-color: var(--tc); box-shadow: 0 6px 18px color-mix(in srgb, var(--tc) 35%, transparent); }
.bs-main { position: relative; padding: 18px 20px 24px; font-size: clamp(16px, 1.2vw, 24px); display: grid; align-content: start; }
.t-v { --c: #e03131; } .t-c { --c: #1c7ed6; } .t-s { --c: #868e96; } .t-h { --c: #c2255c; } .t-sf { --c: #f08c00; }

/* Әліппе */
.bs-abc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bs-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.bs-grid button { font: inherit; font-size: 1.55em; font-weight: 800; aspect-ratio: 1; border-radius: .45em; border: 2px solid color-mix(in srgb, var(--c) 30%, #fff); background: #fff; color: var(--c); cursor: pointer; }
.bs-grid button[aria-pressed="true"] { background: var(--c); color: #fff; transform: scale(1.06); }
.bs-card { background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 22px; text-align: center; box-shadow: 0 10px 30px rgba(20,16,44,.06); position: sticky; top: 12px; }
.bs-letter { font-size: 6em; font-weight: 800; line-height: 1; color: var(--c); letter-spacing: .02em; }
.bs-kind { font-size: .9em; font-weight: 700; color: var(--c); margin: .3em 0 .2em; }
.bs-emoji { font-size: 5.5em; line-height: 1.15; }
.bs-emoji.big { font-size: 7em; text-align: center; }
.bs-word { font-size: 2.6em; font-weight: 800; color: var(--ink); }
.bs-word em { font-style: normal; color: var(--c); }
.bs-note { margin: .3em 0 0; color: var(--muted); font-size: .9em; }
.bs-nav { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }
.bs-round { font: inherit; font-size: 2em; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.bs-big { font: inherit; font-size: 1.15em; font-weight: 800; min-height: 64px; padding: 0 28px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; cursor: pointer; }

/* Ойындар */
.bs-sub { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 10px; }
.bs-sub button { font: inherit; font-size: .95em; font-weight: 700; min-height: 52px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.bs-sub button[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.bs-play { position: relative; display: grid; justify-items: center; gap: 18px; }
.bs-stars { display: flex; gap: 8px; }
.bs-stars i { width: 26px; height: 26px; border-radius: 50%; background: #e9ecef; }
.bs-stars i.now { background: #ffe8a1; box-shadow: 0 0 0 3px #fcc419; }
.bs-stars i.on { background: #fcc419; }
.bs-stars i.miss { background: #ffc9c9; }
.bs-show { font: inherit; font-size: 8em; font-weight: 800; line-height: 1; min-width: 2.4em; padding: .1em .3em; border-radius: .25em; border: 3px dashed #ced4da; background: #fff; color: #495057; cursor: pointer; transition: color .2s, border-color .2s; }
.bs-show.t-v, .bs-show.t-c, .bs-show.t-h, .bs-show.t-sf { color: var(--c); border-color: var(--c); border-style: solid; }
.bs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: min(820px, 100%); }
.bs-two button { font: inherit; font-size: 1.8em; font-weight: 800; min-height: 2.6em; border-radius: .6em; border: 0; background: var(--c); color: #fff; cursor: pointer; box-shadow: inset 0 -.15em 0 rgba(0,0,0,.18); }
.bs-two button.ok, .bs-opts button.ok { box-shadow: 0 0 0 .18em #fff, 0 0 0 .34em #2f9e44; }
.bs-bad { animation: bsshake .4s ease; }
@keyframes bsshake { 20%, 60% { transform: translateX(-10px); } 40%, 80% { transform: translateX(10px); } }
.bs-slots { display: flex; gap: 12px; }
.bs-slots span { min-width: 3.4em; height: 2.4em; display: grid; place-items: center; font-size: 1.8em; font-weight: 800; border-radius: .4em; border: 3px dashed #b2f2bb; background: #fff; color: #2b8a3e; }
.bs-slots span.on { border-style: solid; border-color: #2f9e44; background: #ebfbee; }
.bs-slots.done span { background: #2f9e44; color: #fff; }
.bs-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.bs-chips button { font: inherit; font-size: 1.8em; font-weight: 800; min-width: 3.4em; min-height: 2.2em; padding: 0 .5em; border-radius: .4em; border: 0; background: #2f9e44; color: #fff; cursor: pointer; box-shadow: inset 0 -.15em 0 rgba(0,0,0,.18); }
.bs-chips button:disabled { visibility: hidden; }
.bs-objs { display: flex; flex-wrap: wrap; gap: .1em; justify-content: center; font-size: 3.4em; max-width: 12em; line-height: 1.2; }
.bs-objs.many i { font-style: normal; cursor: pointer; border-radius: .2em; transition: background .2s; }
.bs-objs.many i.on { background: #fff3bf; }
.bs-sum { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.bs-sum .bs-objs { max-width: 5em; font-size: 2.8em; }
.bs-sum > b { font-size: 3em; color: #495057; }
.bs-q { min-width: 1.4em; text-align: center; color: #f08c00 !important; }
.bs-opts { display: flex; gap: 18px; }
.bs-opts button { font: inherit; font-size: 2.6em; font-weight: 800; width: 2.4em; height: 2.4em; border-radius: .5em; border: 0; background: #f08c00; color: #fff; cursor: pointer; box-shadow: inset 0 -.12em 0 rgba(0,0,0,.18); }
.bs-done { text-align: center; padding: 30px; }
.bs-done b { font-size: 4em; }
.bs-done h2 { font-size: 2em; margin: .4em 0 .8em; }
@media (max-width: 900px) { .bs-abc { grid-template-columns: 1fr; } .bs-tabs { grid-template-columns: 1fr 1fr; } .bs-tabs button { font-size: 16px; } }
@media (max-width: 600px) { .bs-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .bs-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 12px; gap: 8px; } .bs-tabs button { font-size: 16px; min-height: 52px; } .bs-main { padding: 12px; } }
