/* בונים את 770 */
.csg-stage[data-csg-game="boney-770"] { --b7: #9a3b2b; --b7-deep: #4a1f73; }

.b7-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.b7-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--csg-soft); color: var(--csg-ink); font-weight: 800; font-size: 15px; white-space: nowrap; }
.b7-chip--bricks { background: var(--b7); color: #fff; }
.b7-chip--bricks b { font-size: 18px; }
.b7-chip[hidden] { display: none; }
.b7-chip--pct { background: var(--b7-deep); color: #fff; }
.b7-progress { flex: 1; min-width: 120px; height: 12px; border-radius: 999px; background: var(--csg-soft); overflow: hidden; }
.b7-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #f2b632, #e08a2b); border-radius: inherit; transition: width .4s ease; }

.b7-scene { border-radius: 18px; overflow: hidden; box-shadow: 0 14px 36px rgb(43 20 70 / 20%); background: #8fc6ef; }
.b7-scene canvas { display: block; width: 100%; }

.b7-grid { display: grid; gap: 16px; grid-template-areas: "scene" "quiz" "build"; }
.b7-scene { grid-area: scene; }
.b7-quiz { grid-area: quiz; }
.b7-build { grid-area: build; }
@media (min-width: 900px) { .b7-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); grid-template-areas: "scene quiz" "build quiz"; align-items: start; } .b7-answers { grid-template-columns: 1fr !important; } }
.b7-card { background: var(--surface, #fff); border: 1px solid var(--line, #e8e5ee); border-radius: 18px; padding: 18px 20px; box-shadow: 0 8px 22px rgb(43 20 70 / 7%); }
.b7-kicker { margin: 0 0 4px; font-size: 13px; font-weight: 800; color: var(--b7); }
.b7-q { margin: 0 0 14px; font-size: clamp(19px, 4.4vw, 23px); font-weight: 800; line-height: 1.35; color: var(--csg-ink); }
.b7-answers { display: grid; gap: 10px; }
@media (min-width: 560px) { .b7-answers { grid-template-columns: 1fr 1fr; } }
.b7-ans { text-align: start; font: inherit; font-size: 16.5px; font-weight: 700; line-height: 1.35; padding: 13px 16px; border-radius: 14px; border: 2px solid var(--line, #e1dce9); background: var(--surface, #fff); color: var(--csg-ink); cursor: pointer; transition: border-color .15s, background .15s, transform .1s; }
.b7-ans:hover:not(:disabled) { border-color: var(--b7-deep); background: var(--csg-soft); }
.b7-ans:active:not(:disabled) { transform: scale(.98); }
.b7-ans:disabled { cursor: default; }
.b7-ans.is-right { border-color: #1f9d55; background: #e3f6ea; color: #13532f; }
.b7-ans.is-wrong { border-color: #d6453d; background: #fdeceb; color: #7d1f1a; }
.b7-ans.is-out { opacity: .35; text-decoration: line-through; }
.b7-feedback { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-weight: 800; }
.b7-feedback.is-right { background: #e3f6ea; color: #13532f; }
.b7-feedback.is-wrong { background: #fff3dc; color: #7a4b00; }
.b7-feedback[hidden] { display: none; }
.b7-quiz__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; min-height: 10px; }
.b7-next { font-size: 17px; padding: 11px 24px; margin-inline-start: auto; }
.b7-next[hidden], .b7-link[hidden] { display: none; }
.b7-link { border: 0; background: none; padding: 4px 0; font: inherit; font-weight: 800; color: var(--b7-deep); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.b7-link:disabled { opacity: .4; cursor: default; }

.b7-part { margin: 0 0 8px; font-size: 22px; font-weight: 800; color: var(--csg-ink); }
.b7-partbar { height: 10px; border-radius: 999px; background: var(--csg-soft); overflow: hidden; }
.b7-partbar span { display: block; height: 100%; width: 0; background: var(--b7); border-radius: inherit; transition: width .3s ease; }
.b7-partnote { margin: 8px 0 14px; font-size: 14.5px; color: var(--csg-muted); }
.b7-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.b7-row .csg-btn { font-size: 18px; padding: 12px 22px; }
.b7-row .csg-btn:disabled { opacity: .45; cursor: default; transform: none; box-shadow: 0 5px 0 #b9831a; }
.b7-parts { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font-size: 15px; }
.b7-parts li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; color: var(--csg-muted); }
.b7-parts li span { min-width: 46px; font-size: 13px; font-weight: 800; }
.b7-parts li.is-done { color: #13532f; background: #eef9f2; }
.b7-parts li.is-now { color: var(--csg-ink); background: var(--csg-soft); font-weight: 800; }
.b7-reset { margin-top: 12px; font-size: 13px; color: var(--csg-muted); }
