/* 精英数学 boards. Load after pipboard.css and pipboard-sel.css. */
.pb .pbm-story { margin: 0 0 6px; font-size: 16px }
.pb .pbm-q { margin: 8px 0 0; font-size: 17px; font-weight: 800 }
.pb .pbm-pic { max-width: 300px; margin: 4px auto 0 }
.pb .pbm-pic svg { display: block; width: 100%; height: auto }
.pb .pbm-opts { grid-template-columns: 1fr }
.pb .pbm-opts .pb-opt { padding: 7px 12px }
@media (min-width: 721px) { .pb .pbm-opts { grid-template-columns: 1fr 1fr } }
/* SO */
.pb .pbm-so { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 14px; align-items: start }
@media (max-width: 720px) { .pb .pbm-so { grid-template-columns: 1fr } }
.pb .pbm-lab svg { display: block; width: 100%; height: auto; touch-action: none; cursor: grab }
.pb .pbm-lab .tools { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 6px 0 }
.pb .pbm-lab .tools label { font-weight: 700; font-size: 14px; display: flex; gap: 6px; align-items: center }
.pb .pbm-lab .btn { font: 700 14px var(--pb-body); border-radius: 99px; padding: 5px 12px; border: 2px solid var(--pb-ink); background: #fff; color: var(--pb-ink); cursor: pointer }
.pb .pbm-lab .btn.on { background: var(--pb-ink); color: #fff }
.pb .pbm-lab .note, .pb .pbm-pa .note { font-size: 14px; color: var(--pb-soft); margin: 4px 0 }
.pb .pbm-grids { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center }
.pb .pbm-lay { margin: 0; text-align: center; width: 116px }
.pb .pbm-lay svg { display: block; width: 100%; height: auto }
.pb .pbm-lay figcaption { font-size: 13px; color: var(--pb-soft); line-height: 1.2; margin-top: 2px }
.pb .pbm-lay figcaption b { font: 22px var(--pb-hand); color: var(--pb-ink) }
.pb .pbm-cell { cursor: pointer; outline: none }
.pb .pbm-cell rect { fill: #fff; stroke: var(--pb-ink); stroke-width: 1.3 }
.pb .pbm-cell path { stroke: transparent; stroke-width: 2.2; fill: none }
.pb .pbm-cell.x rect { fill: #E3E7EE } .pb .pbm-cell.x path { stroke: #8A93A6 }
.pb .pbm-cell.c rect { fill: #F4A79E } .pb .pbm-cell.c.paint rect { fill: #B9AFF0 }
.pb .pbm-cell.bad rect { stroke: var(--pb-lie); stroke-width: 3.2 }
.pb .pbm-cell:focus-visible rect { stroke: var(--pb-lake); stroke-width: 3 }
.pb .pbm-hole { fill: #F0F2F6; stroke: #C5CFE3 }
.pb .pbm-same { font: 700 12px var(--pb-body); border: 1.5px solid var(--pb-line); background: #fff; border-radius: 99px; padding: 2px 8px; margin-top: 3px; cursor: pointer; color: var(--pb-soft) }
/* PA */
.pb .pbm-pa svg { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; touch-action: none }
.pb .pbm-pa .pa-seg { cursor: grab }
/* LO */
.pb .pbm-maker { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 4px 0 10px }
.pb .pbm-step { display: inline-flex; align-items: center; gap: 6px; font-weight: 700 }
.pb .pbm-step button { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--pb-ink); background: #fff; font: 800 18px var(--pb-body); cursor: pointer; color: var(--pb-ink) }
.pb .pbm-step b { font: 24px var(--pb-hand); min-width: 22px; text-align: center }
.pb .pbm-tbl { border-collapse: collapse; width: 100%; font-size: 16px }
.pb .pbm-tbl th { font-size: 13px; color: var(--pb-soft); text-align: left; padding: 4px 8px; border-bottom: 2px solid var(--pb-line) }
.pb .pbm-tbl td { padding: 6px 8px; border-bottom: 1px solid var(--pb-line) }
.pb .pbm-tbl tr.ok td:last-child { color: var(--pb-true); font-weight: 700 }
.pb .pbm-tbl tr.bad td { color: var(--pb-lie); text-decoration: line-through } .pb .pbm-tbl tr.bad td:last-child { text-decoration: none; font-weight: 700 }
.pb .pbm-note { font-size: 15px; margin: 8px 0 0 }
.pb .pbm-layers { display: grid; gap: 8px; align-content: start }
.pb .pbm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 2px solid var(--pb-line); border-radius: 14px; padding: 6px 12px; font-weight: 800; font-size: 17px; background: #fff }
.pb .pbm-row input { width: 84px; font: 26px var(--pb-hand); text-align: center; border: 2px solid var(--pb-ink); border-radius: 10px; padding: 2px 4px; color: var(--pb-ink) }
.pb .pbm-row.bad { border-color: var(--pb-lie); background: #FDECEA } .pb .pbm-row.bad input { border-color: var(--pb-lie); color: var(--pb-lie) }
.pb .pbm-row.ok { border-color: var(--pb-true); background: #E8F6EE }
.pb .pbm-sum { font: 26px var(--pb-hand); text-align: center; margin: 4px 0 0 }
.pb .pbm-bigpic svg { display: block; width: 100%; height: auto }
/* NP · line up the dots */
.pb .pbm-np { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start }
.pb .np-col { display: grid; gap: 8px; flex: 1 1 320px }
.pb .np-row { display: grid; grid-template-columns: 96px auto 1fr; align-items: center; gap: 10px; border: 2px solid var(--pb-line); border-radius: 14px; padding: 6px 12px; background: #fff; cursor: default }
.pb .np-row.np-t { border-style: dashed; background: #F6F8FB }
.pb .np-lab { font: 800 13px var(--pb-body); color: var(--pb-soft); text-transform: uppercase; letter-spacing: .03em }
.pb .np-num { font: 34px var(--pb-hand); display: inline-flex; align-items: center; letter-spacing: .04em; white-space: pre }
.pb .np-w, .pb .np-d, .pb .np-dot { display: inline-block; text-align: center }
.pb .np-d { width: 28px } .pb .np-dot { width: 12px }
.pb .np-d.z { color: #2E9E5B }
.pb .np-z { width: 26px; height: 34px; margin: 0 1px; border: 2px dashed var(--pb-ink); border-radius: 6px; background: #FFF7E0; cursor: pointer; vertical-align: middle }
.pb .np-z:hover, .pb .np-z:focus-visible { background: #FFE9A8 }
.pb .np-gap { display: flex; align-items: center; gap: 8px; justify-content: flex-end; font-weight: 700; color: var(--pb-soft) }
.pb .np-gap input { width: 84px; font: 24px var(--pb-hand); text-align: center; border: 2px solid var(--pb-ink); border-radius: 10px; padding: 2px 4px }
.pb .np-row.bad { border-color: var(--pb-lie); background: #FDECEA } .pb .np-row.ok { border-color: var(--pb-true); background: #E8F6EE }
.pb .np-line svg { display: block; width: 100%; max-width: 680px; margin: 10px auto 0; height: auto }
.pb .np-side:empty { display: none }
/* FM · first match */
.pb .pbm-fm { display: grid; gap: 10px }
.pb .fm-row { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 10px; border: 2px solid var(--pb-line); border-radius: 14px; padding: 8px 12px; background: #fff }
.pb .fm-tog { border-color: var(--pb-true); background: #F2FAF5 }
.pb .fm-name { font-weight: 800; line-height: 1.1 } .pb .fm-name small { display: block; font-weight: 700; color: var(--pb-soft); font-size: 13px }
.pb .fm-list { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.pb .fm-n { font: 24px var(--pb-hand); min-width: 42px; padding: 0 6px; height: 40px; border: 2px solid var(--pb-line); border-radius: 10px; background: #fff; color: var(--pb-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center }
.pb button.fm-n:hover { border-color: var(--pb-ink) }
.pb .fm-n.circ { border: 3px solid #E5524A; border-radius: 50%; background: #FFF1EF }
.pb .fm-n.bad { border-color: var(--pb-lie); background: #FDECEA }
.pb .fm-n.tog { border-color: var(--pb-true); background: #E8F6EE; cursor: default }
.pb .fm-n.late { border-color: var(--pb-lie); color: var(--pb-lie); text-decoration: line-through; cursor: default }
.pb .fm-late { font-weight: 800; color: var(--pb-lie) }
.pb .fm-add { font: 800 18px var(--pb-body); border: 2px solid var(--pb-ink); border-radius: 99px; background: var(--pb-ink); color: #fff; padding: 6px 14px; cursor: pointer }
.pb .fm-sum { font: 28px var(--pb-hand); text-align: center; margin: 4px 0 0 }
@media (max-width: 560px) { .pb .fm-row { grid-template-columns: 1fr auto } .pb .fm-list { grid-column: 1 / -1; order: 3 } }
/* UK · take the same off */
.pb .pbm-uk { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start }
@media (max-width: 720px) { .pb .pbm-uk { grid-template-columns: 1fr } }
.pb .uk-pics { display: grid; gap: 4px }
.pb .uk-card { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; border: 2px solid var(--pb-line); border-radius: 14px; padding: 8px 12px; background: #fff; transition: opacity .3s }
.pb .uk-name { font: 800 12px var(--pb-body); text-transform: uppercase; color: var(--pb-soft); width: 100% }
.pb .uk-items { display: flex; flex-wrap: wrap; gap: 4px; flex: 1 }
.pb .uk-it { position: relative; border: 2px solid transparent; border-radius: 10px; background: none; padding: 1px; cursor: default; line-height: 0 }
.pb .live .uk-it { cursor: pointer } .pb .live .uk-it:hover { border-color: var(--pb-line) }
.pb .uk-ic { width: 40px; height: 40px }
.pb .uk-it.sel { border-color: var(--pb-lake); background: #EAF3FF }
.pb .uk-it.bad { border-color: var(--pb-lie); background: #FDECEA }
.pb .uk-it.x { opacity: .35 } .pb .uk-it.x::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; border-top: 3px solid var(--pb-lie); transform: rotate(-35deg) }
.pb .uk-it.left { border-color: var(--pb-true); background: #E8F6EE }
.pb .uk-w { font: 30px var(--pb-hand); white-space: nowrap }
.pb .uk-card.empty { opacity: .6 }
.pb .uk-minus { font: 32px var(--pb-hand); text-align: center; line-height: 1 }
.pb .uk-res { font-size: 16px; margin: 6px 0 0; min-height: 1.4em }
.pb .uk-work { display: grid; gap: 8px; align-content: start }
.pb .uk-row > span:first-child { font-size: 15px }
.pb .uk-u { font-weight: 700; color: var(--pb-soft) }
/* DA · one square worth */
.pb .pbm-da { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 14px; align-items: start }
@media (max-width: 720px) { .pb .pbm-da { grid-template-columns: 1fr } }
.pb .da-pic svg { display: block; width: 100%; height: auto; background: #fff; border: 2px solid var(--pb-line); border-radius: 14px }
.pb .da-work { display: grid; gap: 8px; align-content: start }
.pb .da-work .pbm-row > span { font-size: 15px }
.pb .uk-row { display: grid; grid-template-columns: 1fr 90px 18px }
@media (max-width: 560px) { .pb .np-row { grid-template-columns: 1fr; gap: 4px } .pb .np-lab:empty { display: none } .pb .np-num { font-size: 28px } .pb .np-d { width: 22px } .pb .np-z { width: 22px } .pb .np-gap { justify-content: flex-start } }
/* touch targets at least 44px (OC 数学的经验) */
.pb .np-z { width: 30px; height: 44px }
.pb .fm-n { min-width: 46px; height: 44px }
.pb .fm-add { min-height: 44px; min-width: 56px }
.pb .uk-it { min-width: 44px; min-height: 44px }
@media (max-width: 560px) { .pb .np-z { width: 26px; height: 44px } }
/* shared "write the numbers" rows */
.pb .pbm-step-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px auto; gap: 8px }
.pb .pbm-step-row > span:first-child { font-size: 15px }
.pb .pbm-u { font-weight: 700; color: var(--pb-soft) }
.pb .pbm-two { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: start }
@media (max-width: 720px) { .pb .pbm-two { grid-template-columns: 1fr } }
.pb .pbm-fig svg { display: block; width: 100%; height: auto; max-width: 520px; margin: 0 auto }
.pb .pbm-work { display: grid; gap: 8px; align-content: start }
/* FR / CH / AN / PT */
.pb .pbm-cap { margin: 6px 0 0; font-weight: 800 }
.pb .pbm-big { font: 26px var(--pb-hand); text-align: center; margin: 20px 0 }
.pb .live .ch-ball { cursor: pointer }
.pb .ch-ball.out { opacity: .18 }
.pb .ch-ball.bad circle:first-child { stroke: var(--pb-lie); stroke-width: 4 }
.pb .ch-hand { text-align: center; font-size: 16px; margin: 4px 0 0 }
.pb .an-fig svg { max-width: 300px }
.pb .an-ctrl { display: flex; justify-content: center; margin-top: 6px }
.pb .pt-row svg { max-width: 100%; display: block; margin: 0 auto }
.pb .pt-tbl .pbm-tbl td, .pb .pt-tbl .pbm-tbl th { text-align: center; padding: 4px 8px }
.pb .an-lab { text-align: center; font: 800 16px var(--pb-body); color: #6B5BD6; margin: 2px 0 }
/* FR round pizza / cake / pie: slices slide out when taken */
.pb .fr-pie { max-width: 340px !important }
.pb .fr-sl { transition: transform .8s ease, opacity .8s ease; transform-box: view-box; transform-origin: 170px 150px }
.pb .fr-ring { animation: frRing .5s ease both }
@keyframes frRing { from { opacity: 0 } to { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .pb .fr-sl { transition: none } }
.pb .fr-pies { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; text-align: center }
/* SY symmetry: the grid to shade, with the dashed mirror lines on top */
.pb .sy-wrap { position: relative; width: max-content; margin: 6px auto }
.pb .sy-grid { display: grid; grid-template-columns: repeat(6, 50px); grid-template-rows: repeat(6, 50px); border: 3px solid var(--ink, #2B2D42); background: #FFFFFF }
.pb .sy-lines { position: absolute; inset: 3px; pointer-events: none } .pb .sy-lines svg { width: 100% !important; height: 100%; max-width: none !important; margin: 0 !important }
.pb .sy-cell { border: 1px solid #C3CAD8; background: #FFFFFF; cursor: pointer; padding: 0; min-width: 44px; min-height: 44px }
.pb .sy-cell.fixed { background: #5E6B85; cursor: default } .pb .sy-cell.on { background: #8EC5F2 }
.pb .sy-cell.good { background: #7FCB8A } .pb .sy-cell.bad { background: #F19A92 } .pb .sy-cell.hint:not(.on) { background: #FFF1A8 }
.pb .pbm-opts .pb-opt svg { display: inline-block; vertical-align: middle }
@media (max-width: 480px) { .pb .sy-grid { grid-template-columns: repeat(6, 46px); grid-template-rows: repeat(6, 46px) } }
/* WB machine row, full width */
.pb .wb-fig svg { max-width: 640px }
.pb .pbm-qfig { margin: 6px 0 } .pb .pbm-qfig svg { max-width: 300px }
.pb .sy-open { text-align: center }
/* TI: drag along the time line (rj 11-02) */
.pb .ti-tally { margin: 4px 0 6px; font-weight: 800; font-size: 18px; min-height: 26px }
.pb .ti-tally .ti-over { color: #C0392B }
.pb .ti-line { background: #FFFFFF; border: 2px solid var(--pb-line, #C9D3E6); border-radius: 14px; padding: 4px 6px }
.pb .ti-svg { display: block; width: 100%; height: auto; max-width: 760px; margin: 0 auto; touch-action: none; user-select: none; -webkit-user-select: none; cursor: grab }
.pb .ti-svg:active { cursor: grabbing }
.pb .ti-hop { cursor: grab } .pb .ti-hop:focus { outline: none; stroke: #3F7FD0; stroke-width: 5 }
.pb .ti-arclab { paint-order: stroke; stroke: #FFFFFF; stroke-width: 5px }
.pb .ti-row { display: flex; gap: 8px; margin-top: 8px }
/* WB: write straight into the machine boxes (rj 11-02) */
.pb .wb-mach { display: flex; align-items: flex-start; justify-content: center; gap: 0; padding: 30px 4px 6px; flex-wrap: nowrap }
.pb .wb-box { flex: 0 1 78px; min-width: 46px; height: 58px; border: 3px solid var(--ink, #2B2D42); border-radius: 12px; background: #FFFFFF; display: flex; align-items: center; justify-content: center; font: 900 22px Nunito, sans-serif; position: relative; transition: box-shadow .25s, background .25s, transform .15s }
.pb .wb-box.known { background: #E8F6EE; border-color: #2E9E5B }
.pb .wb-box.now { box-shadow: 0 0 0 5px #FFD63C; background: #FFFBE6 }
.pb .wb-box.done { background: #FFF6DA }
.pb .wb-box.bad { border-color: #E04A3A; animation: wbshake .4s }
@keyframes wbshake { 25% { transform: translateX(-5px) } 50% { transform: translateX(5px) } 75% { transform: translateX(-3px) } }
.pb .wb-in { width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; text-align: center; font: inherit; color: var(--ink, #2B2D42); padding: 0; outline: none }
.pb .wb-in::placeholder { color: #9AA3B8 }
.pb .wb-in:disabled { opacity: 1; -webkit-text-fill-color: #9AA3B8 }
.pb .wb-box.done .wb-in { -webkit-text-fill-color: var(--ink, #2B2D42) }
.pb .wb-cur { margin-left: 6px; color: #56607A }
.pb .wb-arrow { flex: 1 1 70px; min-width: 30px; position: relative; height: 112px; display: flex; flex-direction: column; align-items: stretch }
.pb .wb-op { position: absolute; left: 0; right: 0; top: -26px; text-align: center; font: 800 17px Nunito, sans-serif; color: #56607A; line-height: 1.1 }
.pb .wb-fw { display: block; height: 3px; background: var(--ink, #2B2D42); margin: 27px 4px 0 2px; position: relative }
.pb .wb-fw::after { content: ''; position: absolute; right: -2px; top: -6px; border: 7px solid transparent; border-left: 10px solid var(--ink, #2B2D42); border-right: 0 }
.pb .wb-undo { margin-top: 36px; text-align: center; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .35s }
.pb .wb-undo.show { opacity: 1; transform: none }
.pb .wb-undo i { display: block; height: 3px; background: #E9853A; margin: 0 2px 0 6px; position: relative }
.pb .wb-undo i::before { content: ''; position: absolute; left: -6px; top: -6px; border: 7px solid transparent; border-right: 10px solid #E9853A; border-left: 0 }
.pb .wb-undo b { display: block; margin-top: 4px; font: 900 16px Nunito, sans-serif; color: #C26414 }
@media (max-width: 520px) { .pb .wb-box { font-size: 18px; height: 50px; border-radius: 10px } .pb .wb-op { font-size: 13px } .pb .wb-undo b { font-size: 14px } .pb .wb-fw { margin-top: 23px } }
.pb .wb-mach { max-width: 780px; margin: 0 auto } .pb .wb-arrow { max-width: 140px }
@media (max-width: 520px) { .pb .wb-box { min-width: 42px } .pb .wb-arrow { min-width: 22px } .pb .wb-mach { padding-left: 0; padding-right: 0 } }
/* RA: write straight onto the bar model (rj 11-02) */
.pb .ra-model { max-width: 760px; margin: 6px auto 0; font: 800 18px Nunito, sans-serif }
.pb .ra-rows, .pb .ra-toprow { display: grid; grid-template-columns: 62px minmax(0, 1fr) 0; column-gap: 10px; row-gap: 16px; align-items: center }
.pb .ra-rows.with-bracket { grid-template-columns: 62px minmax(0, 1fr) 150px }
.pb .ra-toprow { margin-bottom: 6px } .pb .ra-rows.with-bracket ~ .ra-toprow, .pb .ra-toprow { grid-template-columns: 62px minmax(0, 1fr) 0 }
.pb .ra-name { text-align: right; font-size: 19px }
.pb .ra-area { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap }
.pb .ra-bar { display: flex; height: 46px; flex: none }
.pb .ra-cell { flex: 1; border: 2.5px solid var(--ink, #2B2D42); margin-left: -2.5px; display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden }
.pb .ra-cell:first-child { margin-left: 0 }
.pb .ra-cell em { font-style: normal; font-weight: 900; font-size: 16px; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .3s }
.pb .ra-model.filled .ra-cell em { opacity: 1; transform: none }
.pb .ra-model.counted .ra-cell { box-shadow: inset 0 0 0 2px rgba(255,255,255,.7) }
.pb .ra-slot { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 12px; white-space: nowrap; transition: box-shadow .25s, background .25s; font-size: 17px }
.pb .ra-slot.now { box-shadow: 0 0 0 4px #FFD63C; background: #FFFBE6 }
.pb .ra-slot.wait { opacity: .45 }
.pb .ra-slot.done { background: #E8F6EE }
.pb .ra-slot.bad { box-shadow: 0 0 0 4px #E04A3A; animation: wbshake .4s }
.pb .ra-in { width: 52px; height: 40px; border: 2.5px solid var(--ink, #2B2D42); border-radius: 10px; text-align: center; font: 900 20px Nunito, sans-serif; color: var(--ink, #2B2D42); background: #FFFFFF; padding: 0 }
.pb .ra-in::placeholder { color: #9AA3B8 } .pb .ra-in:disabled { background: #F2F4F8 }
.pb .ra-slot.done .ra-in { border-color: #2E9E5B; background: #FFFFFF }
.pb .ra-bracket { display: flex; align-items: center; gap: 4px; align-self: stretch; color: #C26414 }
.pb .ra-bracket i { width: 14px; align-self: stretch; border: 3px solid #C26414; border-left: 0; border-radius: 0 14px 14px 0; flex: none }
.pb .ra-bracket .ra-slot { flex-direction: column; gap: 2px; white-space: normal; text-align: center; padding: 6px }
.pb .ra-bracket b, .pb .ra-extra b { color: #C26414 }
.pb .ra-extra { text-align: center; color: #C26414 }
.pb .ra-extra i { display: block; height: 10px; border: 3px solid #C26414; border-bottom: 0; border-radius: 8px 8px 0 0; margin-top: 4px }
.pb .ra-extra .ra-slot { white-space: normal; justify-content: center }
.pb .ra-ans .ra-br { width: 10px; height: 40px; border: 3px solid #2E9E5B; border-left: 0; border-radius: 0 10px 10px 0 }
@media (max-width: 520px) { .pb .ra-model { font-size: 15px } .pb .ra-rows.with-bracket { grid-template-columns: 46px minmax(0, 1fr) 96px } .pb .ra-rows, .pb .ra-toprow { grid-template-columns: 46px minmax(0, 1fr) 0; column-gap: 6px }
  .pb .ra-name { font-size: 15px } .pb .ra-slot { font-size: 14px; padding: 3px 5px } .pb .ra-in { width: 44px; height: 36px; font-size: 17px } .pb .ra-cell em { font-size: 12px } .pb .ra-bar { height: 40px } }
.pb .ra-model { --endw: 170px } .pb .ra-area { flex-wrap: nowrap }
@media (max-width: 520px) { .pb .ra-model { --endw: 104px } }
/* write on the picture (pinSteps, rj 11-02) */
.pb .pin-fig { position: relative }
.pb .pin-layer { position: absolute; inset: 0; pointer-events: none }
.pb .pin-layer .pin { pointer-events: auto }
.pb .pin-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; margin-top: 8px }
.pb .pin { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 12px; background: #FFFFFF; border: 2px solid #C9D3E6; font: 800 16px Nunito, sans-serif; color: var(--ink, #2B2D42); transition: box-shadow .25s, background .25s, border-color .25s; white-space: nowrap; animation: pinin .35s ease-out }
@keyframes pinin { from { opacity: 0; transform: translateY(8px) } }
.pb .pin.on-pic { position: absolute; transform: translateX(-50%); z-index: 2 }
.pb .pin.on-pic { animation: none }
.pb .pin.now { box-shadow: 0 0 0 4px #FFD63C; background: #FFFBE6; border-color: var(--ink, #2B2D42) }
.pb .pin.done { background: #E8F6EE; border-color: #2E9E5B }
.pb .pin.bad { box-shadow: 0 0 0 4px #E04A3A; animation: wbshake .4s }
.pb .pin-in { width: 54px; height: 38px; border: 2.5px solid var(--ink, #2B2D42); border-radius: 9px; text-align: center; font: 900 19px Nunito, sans-serif; color: var(--ink, #2B2D42); background: #FFFFFF; padding: 0 }
.pb .pin-in::placeholder { color: #9AA3B8 }
.pb .pin.done .pin-in { border-color: #2E9E5B }
.pb .pin-u { color: #56607A; font-weight: 800 }
@media (max-width: 520px) { .pb .pin { font-size: 14px; padding: 4px 6px; white-space: normal } .pb .pin-in { width: 46px; height: 34px; font-size: 17px } }
.pb .pin.done .pin-in, .pb .pin.done .pin-in:focus { border-color: #2E9E5B }
.pb .pin-wrap .da-pic { max-width: 640px; margin: 0 auto }
.pb .pbm-row.pin-now { box-shadow: 0 0 0 4px #FFD63C; background: #FFFBE6 }
.pb .pbm-row input:disabled { background: #F2F4F8 }
.pb .pin-strip .pin-more { margin-top: 2px }

/* stars on the question card (《题目星级标准》v1.1 第八节): only stars; tap for a small note */
.pb .pb-card.pb-hasstars { position: relative }
.pb .pb-stars { position: absolute; top: 8px; right: 12px; border: 0; background: none; padding: 4px 2px; font-size: 17px; letter-spacing: 1px; color: #F2A900; cursor: pointer; line-height: 1 }
.pb .pb-stars:focus-visible { outline: 2px solid var(--pb-ink, #2B2D42); border-radius: 6px }
.pb .pb-startip { margin: 2px 0 8px auto; max-width: 300px; background: #FFFFFF; border: 2px solid var(--pb-ink, #2B2D42); border-radius: 12px; padding: 8px 12px; font-size: 14px; line-height: 1.35; box-shadow: 0 6px 18px rgba(0,0,0,.12) }
.pb .pb-startip small { display: block; margin-top: 4px; font-size: 14px; color: var(--pb-soft, #56607A) }
/* NP ★★★: the target in the small unit until it is changed (tap it) */
.pb .np-t .np-ask { display: none }
.pb .np-t.np-hidden .np-num { display: none }
.pb .np-t.np-hidden .np-ask { display: inline-flex; align-items: baseline; gap: 10px; font: 900 22px Nunito, sans-serif; color: var(--pb-ink, #2B2D42) }
.pb .np-t.np-hidden .np-ask small { font: 700 14px Nunito, sans-serif; color: var(--pb-soft, #56607A) }
.pb .np-t.np-hidden { cursor: pointer }
/* SO02 nets: the net folds into an open box (CSS 3D). Every face is a child of the face it is hinged to. */
.pb .sn-wrap { display: flex; justify-content: center; padding: 10px 0 0 }
.pb .sn-stage { position: relative; width: 100%; max-width: 520px; perspective: 1100px; perspective-origin: 50% 30%; display: flex; align-items: center; justify-content: center; overflow: visible }
.pb .sn-world { position: relative; width: 0; height: 0; transform-style: preserve-3d; transition: none }
.pb .sn-face { position: absolute; left: 0; top: 0; box-sizing: border-box; border: 2.5px solid var(--pb-ink, #2B2D42); transform-style: preserve-3d; display: flex; align-items: center; justify-content: center; cursor: pointer; backface-visibility: visible }
.pb .sn-face > span { position: absolute; font: 900 26px Nunito, sans-serif; color: var(--pb-ink, #2B2D42); pointer-events: none; backface-visibility: hidden; -webkit-backface-visibility: hidden }
.pb .sn-face > .sb { transform: rotateY(180deg) translateZ(1px) }
.pb .sn-face > .sf { transform: translateZ(1px) }
.pb .sn-face.sn-base { background: #DCE8FB !important; cursor: default }
.pb .sn-face.sn-pick { background: #FFE9A8 !important }
.pb .sn-face.sn-top { background: #BDECC8 !important }
.pb .sn-canvas { display: block; max-width: 100%; cursor: grab; border-radius: 12px }
.pb .sn-ctl { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 6px 12px 12px }
.pb .sn-lab { font: 900 16px Nunito, sans-serif; color: var(--pb-ink, #2B2D42) }
.pb .sn-slider { width: min(360px, 70%); height: 44px; accent-color: #3557A8 }

/* wt (RA02): the job drawn twice; cut the pieces smaller until the lines match (rj 11-09) */
.pb .wt-count { max-width: 680px; margin: 6px auto 4px; padding: 10px 14px; border: 2px dashed #C9D3E8; border-radius: 14px; background: #FAFCFF; font-size: 15px; line-height: 1.45 }
.pb .wt-row { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 8px; margin-top: 8px }
.pb .wt-who { font-weight: 800; font-size: 15px; line-height: 1.2 } .pb .wt-rate { display: block; font-size: 13px; font-weight: 800 }
.pb .wt-bar { width: 100%; height: auto; display: block }
.pb .wt-step { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #56607A; white-space: nowrap }
.pb .wt-pm { width: 44px; height: 44px; border: 2px solid #2B2D42; border-radius: 12px; background: #fff; font: 800 22px Nunito, sans-serif; cursor: pointer; line-height: 1 }
.pb .wt-k { min-width: 18px; text-align: center; font-size: 18px; color: #2B2D42 }
.pb .wt-res { min-height: 22px; font-weight: 700; margin-top: 8px } .pb .wt-res .no { color: #E5524A } .pb .wt-res .yes { color: #2E9E5B }
.pb .wt-quick { color: #3557A8; font-size: 14px; margin-top: 4px; font-weight: 700; min-height: 20px }
.pb .wt-quick .yes { color: #2E9E5B }
.pb .wt-jt { margin-top: 12px; padding-top: 10px; border-top: 1.5px dashed #C9D3E8 }
.pb .wt-jline { width: 100%; height: auto; display: block }
.pb .wt-jb { min-width: 96px; height: 44px; border: 2px solid; border-radius: 12px; background: #fff; font: 800 16px Nunito, sans-serif; cursor: pointer }
.pb .wt-jb:disabled { opacity: .35; cursor: default }
@media (max-width: 560px) { .pb .wt-row { grid-template-columns: 1fr; gap: 2px } .pb .wt-who { display: flex; gap: 8px; align-items: baseline } .pb .wt-rate { display: inline } .pb .wt-step, .pb .wt-jb { justify-self: end } .pb .wt-step { justify-content: flex-end } }

/* ---- PR (AN02 protractor): pick the row first ---- */
.pb .pr-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 10px; font-size: 16px }
.pb .pr-pick .pr-q { flex: 1 1 260px }
.pb .pr-row { min-height: 44px; padding: 0 18px; border: 2px solid #B25A16; color: #B25A16; background: #fff; border-radius: 12px; font: 800 16px Nunito, sans-serif; cursor: pointer }
.pb .pr-row.on { background: #B25A16; color: #fff }
.pb .pr-row:disabled:not(.on) { opacity: .35 }

/* ---- FX (FM02, rj 11-10 more hands-on): light the 3s, ring the 4s, take away the ones with both ---- */
.pb .fx-wrap { display: grid; gap: 10px }
.pb .fx-grid { width: 100%; max-width: 640px; display: block; margin: 0 auto; touch-action: manipulation }
.pb .fx-grid .fx-flash rect { animation: fxflash 1s ease-in-out infinite }
@keyframes fxflash { 50% { fill: #FF8F80 } }
.pb .fx-ctl { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center }
.pb .fx-b { min-height: 48px; padding: 0 20px; border-radius: 14px; font: 900 19px Nunito, sans-serif; cursor: pointer; border: 2px solid }
.pb .fx-a { background: #FDE7B0; border-color: #B25A16; color: #8A3F0C; min-width: 88px }
.pb .fx-bb { background: #fff; border-color: #E5524A; color: #C0392B; min-width: 88px }
.pb .fx-all { background: #fff; border-color: #8A93A8; color: #3A4256; font-size: 16px }
.pb .fx-t { background: #2E9E5B; border-color: #1F7542; color: #fff }
.pb .fx-b:disabled { opacity: .45 }
.pb .fx-tally { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font: 800 16px Nunito, sans-serif; color: #3A4256 }
.pb .fx-tally b { font-size: 20px } .pb .fx-ta b { color: #B25A16 } .pb .fx-tb b, .pb .fx-tm b { color: #C0392B } .pb .fx-tl b { color: #1F7542 }
.pb .fx-paper { background: #FFFDF5; border: 1.5px dashed #C9D3E8; border-radius: 12px; padding: 6px 14px; font: 20px 'Permanent Marker', cursive; color: #3557A8 }
.pb .fx-paper:empty { display: none } .pb .fx-paper small { display: block; font: 700 13px Nunito, sans-serif; color: #8A93A8 } .pb .fx-paper b { color: #E5524A; font-weight: 400 }
@media (max-width: 600px) { .pb .fx-b { font-size: 16px; padding: 0 12px } .pb .fx-paper { font-size: 16px } }

/* ---- AH (UK02, hands-on): one big scale ---- */
.pb .ah-wrap { display: grid; gap: 10px }
.pb .ah-cards { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center }
.pb .ah-card { display: flex; align-items: center; gap: 5px; min-height: 48px; padding: 4px 10px; border: 2px solid #3557A8; border-radius: 12px; background: #fff; font: 800 16px Nunito, sans-serif; color: #2B2D42; cursor: pointer }
.pb .ah-card.used { opacity: .45; border-style: dashed }
.pb .ah-blk { display: inline-block; padding: 3px 8px; border-radius: 7px; color: #fff; font-size: 14px }
.pb .ah-eq { margin-left: 4px }
.pb .ah-stage { position: relative; height: 250px; max-width: 620px; width: 100%; margin: 0 auto }
.pb .ah-read { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); min-width: 160px; padding: 6px 16px; border-radius: 10px; background: #1E2A3A; color: #7CF29A; font: 900 28px 'Courier New', monospace; text-align: center; white-space: nowrap }
.pb .ah-read.pop { animation: ahpop .35s }
@keyframes ahpop { 40% { transform: translateX(-50%) scale(1.12) } }
.pb .ah-pan { position: absolute; left: 2%; right: 2%; top: 190px; height: 12px; border-radius: 6px; background: #8A93A8 }
.pb .ah-base { position: absolute; left: 40%; right: 40%; top: 202px; height: 34px; background: #B8C3D6; border-radius: 0 0 10px 10px }
.pb .ah-note { position: absolute; left: 0; right: 0; top: 64px; text-align: center; font: 800 17px Nunito, sans-serif; color: #3557A8 }
.pb .ah-box { position: absolute; width: 12.5%; height: 38px; border-radius: 8px; color: #fff; font: 900 14px/38px Nunito, sans-serif; text-align: center; transition: left .5s ease, top .5s ease, opacity .4s; pointer-events: none; box-shadow: 0 2px 0 rgba(0,0,0,.18) }
.pb .ah-split { background: #3557A8; border-color: #24407E; color: #fff }
@media (max-width: 600px) { .pb .ah-box { font-size: 11px } .pb .ah-read { font-size: 22px } .pb .ah-card { font-size: 14px } }
.pb .ah-ctl { display: flex; justify-content: center; gap: 10px }
/* ---- NL (FR02, hands-on): the frog ---- */
.pb .nl-hop { background: #E8F6EE; border-color: #2E7D32; color: #1F5E2A; min-width: 110px }
.pb svg.nl-pick .nl-hit { cursor: pointer; fill: rgba(46, 158, 91, .12) }
.pb svg.nl-pick .nl-hit:hover { fill: rgba(46, 158, 91, .3) }
/* ---- PR (AN02, hands-on) ---- */
.pb .pr-fig { max-width: 560px; width: 100%; margin: 0 auto } .pb .pr-fig svg { width: 100%; display: block; user-select: none }
.pb .pr-fig .pr-tap { cursor: pointer; animation: prtap 1.2s ease-in-out infinite }
@keyframes prtap { 50% { fill: rgba(233,133,58,.45) } }
.pb .pr-step { background: #FFF1E3; border-color: #B25A16; color: #8A3F0C; min-width: 90px }

/* ---- 第八批 (hands-on) ---- */
.pb .xb-tap { fill: rgba(229, 82, 74, .14); stroke: #E5524A; stroke-width: 2; stroke-dasharray: 5 4; cursor: pointer; animation: prtap 1.2s ease-in-out infinite }
.pb .bb-shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.pb .bb-item { border: 2px solid #C9D3E8; border-radius: 14px; padding: 8px; text-align: center; background: #fff; display: grid; gap: 6px }
.pb .bb-item.cheap { border-color: #2E9E5B; background: #E8F6EE; box-shadow: 0 0 0 3px rgba(46,158,91,.25) }
.pb .bb-pic { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; min-height: 40px }
.pb .bb-pic i { width: 9px; height: 18px; border-radius: 2px; background: #F2B33D; border: 1px solid #B27A12 }
.pb .bb-name { font: 700 14px Nunito, sans-serif; color: #56607A } .pb .bb-price { font: 900 22px Nunito, sans-serif; color: #2B2D42 }
.pb .bb-one, .pb .bb-add { min-height: 44px; border-radius: 10px; font: 800 14px Nunito, sans-serif; cursor: pointer; border: 2px solid #B25A16; background: #FFF1E3; color: #8A3F0C }
.pb .bb-one.done { border-color: #1F7542; background: #fff; color: #1F7542 }
.pb .bb-add { display: none; border-color: #3557A8; background: #fff; color: #24407E } .pb .bb-shelf.shop .bb-add { display: block }
.pb .bb-cart { min-height: 54px; border: 2px dashed #C9D3E8; border-radius: 12px; padding: 6px 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.pb .bb-cart small { width: 100%; font: 700 13px Nunito, sans-serif; color: #8A93A8 } .pb .bb-cart em { color: #B8BECC }
.pb .bb-chip { min-height: 40px; padding: 0 12px; border-radius: 10px; border: 2px solid #E9853A; background: #FFF6EC; font: 800 15px Nunito, sans-serif; cursor: pointer }
.pb .oe-deck { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-height: 76px }
.pb .oe-card { width: 56px; height: 72px; border-radius: 10px; border: 3px solid #2B2D42; background: #fff; font: 900 28px Nunito, sans-serif; color: #2B2D42; cursor: pointer; transition: transform .15s }
.pb .oe-card.sel { transform: translateY(-8px); box-shadow: 0 6px 0 rgba(0,0,0,.15); border-color: #E9B300 }
.pb .oe-card.o { border-color: #E9853A; color: #B25A16 } .pb .oe-card.e { border-color: #3557A8; color: #24407E }
.pb .oe-card.shake { animation: oeshake .35s }
@keyframes oeshake { 25% { transform: translateX(-6px) } 75% { transform: translateX(6px) } }
.pb .oe-trays { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.pb .oe-tray { border: 2px dashed #C9D3E8; border-radius: 14px; padding: 6px; min-height: 100px; cursor: pointer }
.pb .oe-tray[data-t=odd] b { color: #B25A16 } .pb .oe-tray[data-t=even] b { color: #24407E }
.pb .oe-in { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px }
.pb .oe-grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center }
.pb .oe-grid table { border-collapse: collapse; font: 800 18px Nunito, sans-serif }
.pb .oe-grid th, .pb .oe-grid td { width: 52px; height: 40px; text-align: center; border: 1px solid #E0C9A6 }
.pb .oe-grid th.o { color: #B25A16; border: none } .pb .oe-grid th.e { color: #24407E; border: none } .pb .oe-grid td.on { background: #FFE2BF; color: #8A3F0C }
.pb .oe-pair { padding: 4px 10px; border-radius: 10px; background: #E8F6EE; border: 2px solid #2E9E5B; font: 800 15px Nunito, sans-serif }
@media (max-width: 600px) { .pb .bb-shelf { gap: 5px } .pb .bb-one, .pb .bb-add { font-size: 12px } .pb .oe-card { width: 46px; height: 60px; font-size: 22px } }

/* 11-12: point at the answers when the board work is done */
.pbm-opts.pbm-pickme .pb-opt:not(.wrong) { animation: pbmPick 1.4s ease-in-out infinite; }
@keyframes pbmPick { 0%, 100% { box-shadow: 0 0 0 0 rgba(46,158,91,0); } 50% { box-shadow: 0 0 0 4px rgba(46,158,91,.45); } }
.pbm-picknow { display: block; width: 100%; margin: 10px 0 4px; padding: 12px 16px; min-height: 48px; border: 2px solid #2E9E5B; border-radius: 14px;
  background: #E8F6EE; color: #1F6E40; font: 800 17px/1.3 Nunito, system-ui, sans-serif; cursor: pointer; text-align: center; }
@media (prefers-reduced-motion: reduce) { .pbm-opts.pbm-pickme .pb-opt:not(.wrong) { animation: none; box-shadow: 0 0 0 3px rgba(46,158,91,.45); } }

/* LO03: the odd/even rule, tried by the child (11-12) */
.oe-rule { margin: 10px auto; max-width: 560px; padding: 10px 14px; border: 1.5px dashed #c9d3e6; border-radius: 14px; font: 600 15px/1.4 Nunito, system-ui, sans-serif; color: #24324d; }
.oe-rrow { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 4px 0; border-top: 1px solid #eef1f7; }
.oe-rrow:first-of-type { border-top: 0; }
.oe-rk { min-width: 130px; font-weight: 800; } .oe-rk i { font-style: normal; } .oe-rk i.o { color: #C0661F; } .oe-rk i.e { color: #2E4E9E; }
.oe-rs { flex: 1; } .oe-rs .ok { color: #2E9E5B; font-weight: 900; } .oe-rs .no { color: #E5524A; font-weight: 900; }
.oe-rrow.good { background: #E8F6EE; border-radius: 10px; } .oe-try { min-width: 96px; }
.oe-rule-end { margin-top: 8px; padding: 8px 10px; background: #E8F6EE; border-radius: 10px; color: #1F6E40; }
.oe-grid td.oe-plus { font-weight: 900; color: #6b7690; text-align: center; }
@media (max-width: 520px) { .oe-rrow { flex-wrap: wrap; gap: 6px; } .oe-rk { min-width: 0; } }

/* ───── 第九批 (11-12): ST01 tf · SO03 nf · SO04 vw · SO05 vb · NP02 dc · NP03 pv · NP04 rd · PA04 rs ───── */
/* NP03 place-value chart */
.pv-chart { display: grid; gap: 6px; justify-content: center; margin: 6px auto 4px; }
.pv-row { display: grid; grid-template-columns: 56px repeat(4, 72px); gap: 8px; align-items: center; }
.pv-row > span { font: 700 14px/1 Nunito, system-ui, sans-serif; color: #6B7690; text-align: right; }
.pv-head b { text-align: center; padding: 6px 0; border-radius: 8px; background: #EEF2FA; color: #3557A8; font: 800 16px/1 Nunito, system-ui, sans-serif; }
.pv-was i { font-style: normal; text-align: center; font: 900 26px/1 Nunito, system-ui, sans-serif; color: #9AA3B5; }
.pv-was i.mv { color: #C0661F; }
.pv-d { height: 64px; border-radius: 12px; border: 2px solid #2B2D42; background: #fff; font: 900 32px/1 Nunito, system-ui, sans-serif; color: #2B2D42; cursor: pointer; }
.pv-d.sel { border-color: #E9853A; background: #FFF3E0; box-shadow: 0 0 0 3px rgba(233,133,58,.35); }
.pv-d.mv { border-color: #E9853A; color: #C0661F; border-width: 3px; }
.pv-worth em { font-style: normal; text-align: center; min-height: 38px; font: 700 13px/1.3 Nunito, system-ui, sans-serif; }
.pv-worth b { display: block; font-size: 14px; } .pv-worth b.dn { color: #B42318; } .pv-worth b.up { color: #1F7542; } .pv-worth small { color: #6B7690; }
@media (max-width: 520px) { .pv-row { grid-template-columns: 40px repeat(4, 1fr); gap: 5px; } .pv-d { height: 54px; font-size: 26px; } }

/* NP04 number line */
.rd-line { margin: 30px 18px 16px; }
.rd-axis { position: relative; height: 44px; border-bottom: 3px solid #2B2D42; }
.rd-shade { position: absolute; bottom: -14px; height: 28px; background: #D9F2E3; border-radius: 6px; }
.rd-tick { position: absolute; bottom: -22px; width: 26px; height: 44px; margin-left: -13px; border: 0; background: none; cursor: pointer; padding: 0; }
.rd-tick i { position: absolute; left: 12px; bottom: 14px; width: 2px; height: 14px; background: #2B2D42; }
.rd-tick.big i { width: 3px; height: 22px; bottom: 10px; }
.rd-tick span { position: absolute; top: 46px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 800 13px/1 Nunito, system-ui, sans-serif; color: #2B2D42; }
.rd-tick.mark i { background: #E9853A; width: 4px; height: 30px; } .rd-tick.mark span { color: #C0661F; top: -18px; }
.rd-tick:hover i { background: #3557A8; }
.rd-strip { margin: 30px auto 6px; text-align: center; } .rd-strip > small { display: block; color: #6B7690; font: 700 12px/1.4 Nunito, system-ui, sans-serif; margin-bottom: 4px; }
.rd-cells { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.rd-c { min-width: 64px; min-height: 48px; border-radius: 10px; border: 1.5px solid #C9D3E6; background: #F2F4F8; font: 800 14px/1.2 Nunito, system-ui, sans-serif; color: #2B2D42; cursor: pointer; }
.rd-c small { display: block; font-size: 11px; color: #6B7690; }
.rd-c.in { background: #D9F2E3; } .rd-c.pick { border: 3px solid #1F7542; }
.rd-small .rd-c { min-width: 30px; padding: 0 2px; font-size: 12px; }
.rd-c.both { background: #2E9E5B; color: #fff; } .rd-c.mark { outline: 3px solid #E9853A; } .rd-c.cnt { box-shadow: inset 0 -4px 0 #FFD166; }

/* PA04 rectangles */
.rs-stage { display: flex; justify-content: center; } .rs-svg { width: 100%; max-width: 560px; height: auto; }
.rs-table { display: flex; flex-direction: column; align-items: center; margin: 6px auto; }
.rs-table table { border-collapse: collapse; font: 700 15px/1 Nunito, system-ui, sans-serif; }
.rs-table th { color: #6B7690; font-size: 13px; padding: 4px 14px; }
.rs-table td { padding: 8px 14px; text-align: center; border-top: 1px solid #EEF1F7; }
.rs-r { cursor: pointer; } .rs-r:hover { background: #F2F6FD; } .rs-r.pick { background: #D9F2E3; } .rs-r.pick td { color: #1F7542; }
.rs-ask { margin-top: 6px; color: #3557A8; font: 700 14px/1.3 Nunito, system-ui, sans-serif; }

/* SO05 blocks */
.vb-stage { display: flex; justify-content: center; } .vb-svg { width: 100%; max-width: 600px; height: auto; }

/* NP02 cards + number line */
.dc-cards { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 10px; }
.dc-card { min-width: 92px; min-height: 84px; padding: 8px 10px; border-radius: 12px; border: 2px solid #2B2D42; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; font-family: Nunito, system-ui, sans-serif; }
.dc-card b { font: 900 24px/1 Nunito, system-ui, sans-serif; color: #2B2D42; }
.dc-card span { font: 800 16px/1.2 Nunito, system-ui, sans-serif; color: #C0661F; } .dc-card span small { display: block; font-size: 11px; color: #6B7690; font-weight: 700; }
.dc-card .dc-q { color: #9AA3B5; } .dc-card.on { background: #FFF8EE; } .dc-card.pick { border-color: #2E9E5B; background: #E8F6EE; }
.dc-line { margin: 18px 22px 8px; }
.dc-axis { position: relative; height: 96px; border-bottom: 3px solid #2B2D42; margin-bottom: 28px; }
.dc-axis > i { position: absolute; bottom: -6px; width: 1.5px; height: 12px; background: #2B2D42; } .dc-axis > i.big { height: 20px; bottom: -10px; width: 2.5px; }
.dc-axis > i span { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); font: 800 12px/1 Nunito, system-ui, sans-serif; color: #2B2D42; font-style: normal; }
.dc-band { position: absolute; bottom: -12px; height: 24px; background: #D9F2E3; }
.dc-pin { position: absolute; bottom: calc(6px + var(--lv) * 30px); transform: translateX(-50%); min-width: 52px; min-height: 30px; padding: 2px 6px; border-radius: 8px; border: 2px solid #E9853A; background: #fff; cursor: pointer; font-family: Nunito, system-ui, sans-serif; line-height: 1.05; }
.dc-pin b { display: block; font-size: 13px; color: #C0661F; } .dc-pin small { font-size: 10px; color: #6B7690; font-weight: 700; }
.dc-pin.pick { border-color: #2E9E5B; background: #E8F6EE; } .dc-pin.pick b { color: #1F7542; }

/* SO04 views */
.vw-view { display: block; margin: 2px auto; }
.pb-opt .vw-view, .pb-opt .nf-net { display: inline-block; vertical-align: middle; margin: 0 0 0 6px; }
.vw-qgrid { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; margin: 6px 0; font: 700 12px/1 Nunito, system-ui, sans-serif; color: #6B7690; position: relative; }
.vw-qgrid table, .vw-pg table { border-collapse: collapse; }
.vw-qgrid td { width: 34px; height: 34px; border: 1.5px solid #9AA3B5; text-align: center; font: 900 18px/1 Nunito, system-ui, sans-serif; color: #2B2D42; background: #FFF8EE; }
.vw-left { position: absolute; left: -54px; top: 50%; }
.vw-stage { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; } .vw-svg { width: 100%; max-width: 420px; height: auto; }
.vw-side { display: flex; gap: 16px; align-items: center; }
.vw-pg { display: flex; flex-direction: column; align-items: center; gap: 2px; font: 700 12px/1 Nunito, system-ui, sans-serif; color: #6B7690; }
.vw-pg td { width: 40px; height: 40px; border: 1.5px solid #9AA3B5; text-align: center; font: 900 18px/1 Nunito, system-ui, sans-serif; color: #2B2D42; background: #FFF8EE; }
.vw-pg td.top { background: #F2A65A; color: #fff; }
.vw-pg th { font: 800 14px/1 Nunito, system-ui, sans-serif; color: #3557A8; padding: 3px; }
.vw-pick { min-width: 44px; min-height: 36px; border-radius: 8px; border: 1.5px solid #3557A8; background: #fff; color: #3557A8; font: 800 12px/1 Nunito, system-ui, sans-serif; cursor: pointer; }
.vw-pick.on { background: #3557A8; color: #fff; }
.vw-out { text-align: center; } .vw-out small, .vw-need small, .vw-now small { display: block; color: #6B7690; font: 700 12px/1.3 Nunito, system-ui, sans-serif; }
.vw-build { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.vw-need, .vw-now { display: flex; flex-direction: column; gap: 10px; text-align: center; } .vw-now b.ok { color: #2E9E5B; font-size: 20px; }
.vw-cell { width: 44px; height: 44px; border: 0; background: #FFF8EE; font: 900 20px/1 Nunito, system-ui, sans-serif; color: #7A4A12; cursor: pointer; } .vw-cell.on { background: #F0C98E; }
.vw-pg td:has(.vw-cell) { padding: 0; }

/* ST01 statements */
.tf-list { display: flex; flex-direction: column; gap: 8px; margin: 4px 0 10px; }
.tf-row { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 12px; border: 1.5px solid #C9D3E6; background: #fff; font: 600 15px/1.35 Nunito, system-ui, sans-serif; color: #24324d; }
.tf-row.yes { background: #E8F6EE; border-color: #2E9E5B; } .tf-row.no { background: #FDECEA; border-color: #E5524A; }
.tf-n { font: 900 18px/1 Nunito, system-ui, sans-serif; color: #3557A8; min-width: 28px; }
.tf-t { flex: 1; } .tf-t small { display: block; margin-top: 3px; color: #4A5672; font-size: 13px; }
.tf-btns { display: flex; gap: 6px; } .tf-btns .pb-btn { min-height: 44px; min-width: 76px; }
.tf-mark { font-size: 26px; } .tf-row.yes .tf-mark { color: #2E9E5B; } .tf-row.no .tf-mark { color: #E5524A; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center; margin: 4px 0; } .tf-chips > small { width: 100%; text-align: center; color: #6B7690; font: 700 12px/1 Nunito, system-ui, sans-serif; }
.tf-chip { padding: 6px 10px; border-radius: 999px; background: #EEF2FA; color: #24324d; font: 800 13px/1 Nunito, system-ui, sans-serif; transition: opacity .3s; }
.tf-chip.out { text-decoration: line-through; text-decoration-color: #E5524A; text-decoration-thickness: 2px; opacity: .45; }
@media (max-width: 520px) { .tf-row { flex-wrap: wrap; } .tf-btns { width: 100%; } .tf-btns .pb-btn { flex: 1; } }

/* SO03 nets */
.nf-stage { display: flex; justify-content: center; }
.nf-nets { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.nf-card { padding: 8px; border-radius: 12px; border: 2px solid #C9D3E6; background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 100px; font-family: Nunito, system-ui, sans-serif; }
.nf-card > b { color: #3557A8; font-size: 16px; } .nf-card > small { color: #6B7690; font-weight: 700; font-size: 12px; }
.nf-card.ok { border-color: #2E9E5B; background: #F3FBF6; } .nf-card.bad { border-color: #E5524A; background: #FFF6F5; }
.nf-grid { display: grid; gap: 0; }
.nf-grid.sm { grid-auto-rows: 28px; }
.nf-sq { display: flex; align-items: center; justify-content: center; border: 1.5px solid #2B2D42; background: #FFF3E0; font: 800 9px/1 Nunito, system-ui, sans-serif; color: #1F7542; font-style: normal; margin: -0.75px; }
.nf-grid:not(.sm) { grid-auto-rows: 52px; } .nf-grid:not(.sm) .nf-sq { font-size: 13px; }
.nf-sq.dup { background: #FDE4E1; border-color: #E5524A; color: #B42318; }
.nf-empty { display: block; }
.nf-spot { border: 2px dashed #3557A8; background: #F2F6FD; border-radius: 8px; margin: 3px; color: #3557A8; font: 900 18px/1 Nunito, system-ui, sans-serif; cursor: pointer; }
.nf-spot.ok { background: #2E9E5B; color: #fff; border-style: solid; border-color: #1F7542; } .nf-spot.bad { background: #FDE4E1; color: #E5524A; border-color: #E5524A; }
.nf-spot small { display: block; font-size: 9px; }
/* SO03 (11-12, rj: fold it in 3D like SO02) */
.nf-3d { display: flex; justify-content: center; margin: 0 auto 4px; max-width: 560px; min-height: 300px; }
.nf-3d canvas { border-radius: 14px; background: #F4F7FC; cursor: grab; touch-action: none; }
.nf-card.sel { box-shadow: 0 0 0 3px #FFD166; border-color: #E9A23B; }
.nf-spot.sel { background: #FFE9A8; border-style: solid; border-color: #E9A23B; }

/* ===== 第十批 (rj 11-12) ===== */
/* SP · PA05 same perimeter */
.pb .sp-svg, .pb .rm-svg, .pb .cd-svg, .pb .fp-svg { width: 100%; max-width: 620px; display: block; margin: 0 auto }
.pb .sp-rope { display: grid; gap: 6px; max-width: 560px; margin: 0 auto; width: 100% }
.pb .sp-bar { display: flex; height: 26px; border-radius: 13px; background: #F1F3F8; overflow: hidden; border: 1.5px solid #D5DBE8 }
.pb .sp-u, .pb .sp-h { display: flex; align-items: center; justify-content: center; font: 800 14px Nunito, sans-serif; color: #fff; background: #E07B1F; transition: width .35s }
.pb .sp-h { background: #E07B1F; border-right: 2px dashed #fff } .pb .sp-h2 { background: #F6B26B; border-right: 0 }
.pb .sp-try .sp-u { background: #3557A8 } .pb .sp-try .sp-u.ok { background: #2E9E5B } .pb .sp-try .sp-u.over { background: #E5524A }
.pb .sp-lab { text-align: center; font: 700 15px Nunito, sans-serif; color: #3A4256 } .pb .sp-lab b { color: #B25A16; font-size: 18px }
/* OV · LO04 keep the ones on every list */
.pb .ov-rules { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center }
.pb .ov-rule { padding: 6px 12px; border-radius: 10px; background: #F1F3F8; border: 1.5px solid #D5DBE8; font: 700 15px Nunito, sans-serif; color: #3A4256 }
.pb .ov-rule.on { background: #FFF3D6; border-color: #E07B1F } .pb .ov-rule.ok { background: #E8F6EE; border-color: #2E9E5B }
.pb .ov-grid { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; max-width: 620px; margin: 0 auto; width: 100% }
.pb .ov-t { min-height: 44px; border-radius: 10px; border: 1.5px solid #D5DBE8; background: #fff; font: 800 17px Nunito, sans-serif; color: #2B2D42; cursor: pointer; position: relative; padding: 0 }
.pb .ov-t.lit { background: #FDE7B0; border-color: #B25A16 } .pb .ov-t.pass { background: #E8F6EE; border-color: #2E9E5B } .pb .ov-t.win { background: #2E9E5B; color: #fff; border-color: #1F7542 }
.pb .ov-t.out { background: #FBE3E1; border-color: #E5524A; color: #C0392B; text-decoration: line-through } .pb .ov-t.dim { opacity: .35 }
.pb .ov-t.shake, .pb .sq-in.bad { animation: pbshake .35s }
@keyframes pbshake { 25% { transform: translateX(-4px) } 75% { transform: translateX(4px) } }
@media (max-width: 600px) { .pb .ov-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) } .pb .ov-t { font-size: 15px } }
/* SQ · UK03 shape sums (also the MQ input) */
.pb .sq-rows { display: grid; gap: 8px; max-width: 560px; margin: 0 auto; width: 100% }
.pb .sq-row { min-height: 56px; border-radius: 14px; border: 2px solid #D5DBE8; background: #fff; font: 900 26px Nunito, sans-serif; color: #2B2D42; cursor: pointer; padding: 4px 14px }
.pb .sq-row.sel { border-color: #E07B1F; background: #FFF3D6 } .pb .sq-row.done { background: #E8F6EE; border-color: #2E9E5B }
.pb .sq-s { font-size: 28px } .pb .sq-v { color: #1F7542 }
.pb .sq-work { display: grid; gap: 6px; justify-items: center; font: 800 19px Nunito, sans-serif; color: #3A4256 } .pb .sq-work:empty { display: none }
.pb .sq-eq { text-align: center; line-height: 1.5 } .pb .sq-ask { display: flex; align-items: center; gap: 8px; font-size: 24px }
.pb .sq-in { width: 84px; height: 48px; font: 900 24px Nunito, sans-serif; text-align: center; border: 2.5px solid #F2C230; border-radius: 12px }
.pb .sq-in.ok { border-color: #2E9E5B; background: #E8F6EE; color: #1F7542 } .pb .sq-in.bad { border-color: #E5524A }
.pb .fx-all.on { background: #FFF3D6; border-color: #E07B1F }
/* HH · DA02 bar graph */
.pb .hh-svg { width: 100%; max-width: 560px; display: block; margin: 0 auto } .pb .hh-bar:hover { opacity: .85 }
/* MQ · PT02 magic square */
.pb .mq-svg { width: 100%; max-width: 420px; display: block; margin: 0 auto } .pb .mq-arr:hover circle { fill: #F6B26B }
/* FP · SY02 fold and punch */
.pb .fp-svg { max-width: 380px; touch-action: manipulation; cursor: crosshair }
.pb .fp-opt { display: inline-block; vertical-align: middle } .pb .fp-fig { display: grid; justify-items: center; gap: 4px } .pb .fp-fig small { font: 700 12px Nunito, sans-serif; color: #8A93A8 }
/* CD · WB02 missing digits */
.pb .cd-svg { max-width: 440px }
.cd-sum { border-collapse: collapse; font: 900 24px Nunito, sans-serif; margin: 4px 0 } .cd-sum td { width: 30px; text-align: center; padding: 0 2px } .cd-sum .cd-ans td { border-top: 3px solid #2B2D42 }
.pb .cd-pad { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center } .pb .cd-pad:empty { display: none }
.pb .cd-key { width: 52px; height: 52px; border-radius: 12px; border: 2px solid #3557A8; background: #fff; font: 900 22px Nunito, sans-serif; color: #3557A8; cursor: pointer }
.pb .cd-key:hover { background: #EAF0FF }

/* ===== 第十一批 (rj 11-14) ===== */
.pb .ff-svg, .pb .dh-svg { width: 100%; max-width: 620px; display: block; margin: 0 auto }
.pb .ck-svg { width: 100%; max-width: 320px; display: block; margin: 0 auto; touch-action: manipulation }
.pb .tm-svg { width: 100%; max-width: 260px; display: block; margin: 0 auto }
.pb .pe-svg { width: 100%; max-width: 460px; display: block; margin: 0 auto; touch-action: manipulation }
/* CN coins */
.cn-coins { display: flex; gap: 8px; align-items: center; justify-content: center; font: 900 24px Nunito, sans-serif; color: #2B2D42 }
.cn-list { margin: 8px auto; padding-left: 28px; font: 800 18px Nunito, sans-serif; color: #2B2D42; max-width: 520px } .cn-list li { margin: 3px 0 }
.cn-list span { display: inline-block; background: #F1F3F8; border: 1.5px solid #D5DBE8; border-radius: 8px; padding: 1px 8px; margin: 0 4px 0 0 }
.cn-n { text-align: center; font: 900 26px Nunito, sans-serif; color: #1F7542 }
.pb .cn-tray { display: flex; gap: 12px; justify-content: center }
.pb .cn-coin { border: 0; background: none; padding: 0; cursor: pointer; border-radius: 50% } .pb .cn-coin:active { transform: scale(.94) }
.pb .cn-purse { display: grid; gap: 6px; justify-items: center; background: #FFF6E0; border: 2px dashed #C9B48A; border-radius: 14px; padding: 10px; max-width: 560px; margin: 0 auto; width: 100% }
.pb .cn-in { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; min-height: 44px; align-items: center } .pb .cn-in i { color: #9AA3B5; font: 700 14px Nunito }
.pb .cn-pc { border: 0; background: none; padding: 0; cursor: pointer }
.pb .cn-sum { font: 900 20px Nunito, sans-serif; color: #3A4256 } .pb .cn-sum.ok { color: #1F7542 } .pb .cn-sum.over { color: #C0392B }
.pb .cn-blist { font-size: 16px }
/* UX unit chain */
.ux-chain { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px; font: 800 18px Nunito, sans-serif }
.ux-u { background: #fff; border: 2px solid #3A4256; border-radius: 10px; padding: 6px 10px; color: #2B2D42 }
.ux-ar { display: inline-flex; flex-direction: column; align-items: center; min-width: 58px; padding: 2px 6px; border-radius: 8px; color: #9AA3B5; font-size: 17px }
.ux-ar i { font-style: normal; font-size: 22px; line-height: 1 } .ux-ar.on { background: #FFF3D6; color: #B25A16 } .ux-ar.ok { color: #1F7542 }
.ux-expr { text-align: center; font: 900 28px Nunito, sans-serif; color: #1F7542; margin-top: 12px }
.pb .ux-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center } .pb .ux-chips:empty { display: none }
.pb .ux-chip { min-width: 70px; min-height: 44px; border-radius: 10px; border: 2px solid #3557A8; background: #fff; font: 900 18px Nunito, sans-serif; color: #3557A8; cursor: pointer }
.pb .ux-chip.bad { animation: pbshake .35s; border-color: #E5524A; color: #C0392B }
/* SW swaps */
.sw-rules { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font: 800 17px Nunito, sans-serif; margin-bottom: 8px } .sw-rules span { background: #FFF3D6; border: 1.5px solid #E07B1F; border-radius: 8px; padding: 3px 10px }
.sw-shelf { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 10px; background: #F5F7FB; border-radius: 12px; min-height: 52px }
.sw-t { display: inline-flex; align-items: center; justify-content: center; min-width: 56px; height: 40px; padding: 0 8px; border-radius: 20px; background: var(--c); color: #fff; font: 900 14px Nunito, sans-serif; text-shadow: 0 1px 1px rgba(0,0,0,.35) }
.sw-t.g0 { outline: 3px solid #2B2D42; outline-offset: 1px } .sw-t.g1 { outline: 3px dashed #2B2D42; outline-offset: 1px }
.sw-n { text-align: center; font: 900 20px Nunito, sans-serif; color: #2B2D42; margin-top: 6px }
.pb .sw-card { font-size: 15px }
.pb .tm-ask { font: 800 16px Nunito, sans-serif; color: #3A4256; align-self: center }
/* ===== 第十二批 (rj 11-15) ===== */
.hr-svg { width: 100%; max-width: 560px; display: block; margin: 0 auto }
.pb .hr-r:hover { filter: brightness(.95) }
/* FA factor pairs */
.fa-pic { font: 900 24px Nunito, sans-serif; color: #2B2D42; text-align: center }
.fa-pairs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center } .fa-pairs span { background: #E8EEFA; border: 2px solid #3557A8; border-radius: 10px; padding: 4px 12px; color: #3557A8 }
.fa-pairs i { flex-basis: 100%; font: 800 18px Nunito, sans-serif; color: #1F7542 }
.fa-facs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 10px }
.fa-facs span, .pb .fa-f { min-width: 44px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 20px; background: #fff; border: 2px solid #3A4256; font: 900 18px Nunito, sans-serif; color: #2B2D42; padding: 0 8px }
.fa-facs span.x, .pb .fa-f.x { text-decoration: line-through; color: #C0392B; border-color: #E5524A; background: #FDECEA }
.pb .fa-f { cursor: pointer }
.fa-n { margin-top: 10px; color: #1F7542 }
.fa-row { display: grid; grid-template-columns: 60px 1fr 90px; gap: 10px; align-items: center; font-size: 20px; padding: 4px 8px; border-radius: 10px; text-align: left }
.fa-row span { font-weight: 700; color: #3557A8 } .fa-row em { font-style: normal; color: #6B7690 } .fa-row.best { background: #E8F6EE } .fa-row.best em { color: #1F7542 }
.pb .fa-stage { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: start }
.pb .fa-stage .fa-facs { grid-column: 1 / -1 }
.pb .fa-list { display: grid; gap: 4px; font: 800 18px Nunito, sans-serif; color: #2B2D42 } .pb .fa-try.no { color: #9AA3B5; font-size: 15px } .pb .fa-met { color: #1F7542; font-size: 16px }
.pb .fa-dh { text-align: center; font: 700 14px Nunito, sans-serif; color: #6B7690 } .pb .fa-dots { width: 170px; max-width: 40vw; display: block; margin: 4px auto }
.pb .fa-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center } .pb .fa-tab { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 2px solid #3557A8; background: #fff; color: #3557A8; font: 900 17px Nunito, sans-serif; cursor: pointer }
.pb .fa-tab.on { background: #3557A8; color: #fff } .pb .fa-tab.ok:not(.on) { border-color: #1F7542; color: #1F7542 }
.pb .fa-ask, .pb .rv-ask { font: 800 16px Nunito, sans-serif; color: #3A4256; align-self: center; flex-basis: 100%; text-align: center }
/* RV swap the digits */
.rv-pic { font: 900 26px Nunito, sans-serif; color: #2B2D42; text-align: center; display: grid; gap: 12px; justify-items: center }
.rv-big { font-size: 56px; color: #3557A8 } .rv-line { font-size: 24px } .rv-line.ok { color: #1F7542 }
.rv-tries { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center }
.rv-sub { display: grid; justify-items: end; font: 900 26px 'Courier New', monospace; background: #fff; border: 2px solid #C9D3E8; border-radius: 12px; padding: 6px 14px; min-width: 90px }
.rv-sub b { border-top: 3px solid #2B2D42; color: #1F7542; min-width: 60px; text-align: right } .rv-sub.bad b { color: #9AA3B5 } .rv-sub em { font: 700 13px Nunito, sans-serif; color: #C0392B; font-style: normal }
.rv-pairs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; font-size: 20px } .rv-pairs span { border: 2px solid #C9D3E8; border-radius: 10px; padding: 2px 10px } .rv-pairs span.ok { border-color: #1F7542; color: #1F7542; background: #E8F6EE }
.rv-pairs small { font-size: 15px; color: #6B7690 }
.pb .rv-stage { display: grid; gap: 10px; justify-items: center }
.pb .rv-card { display: flex; gap: 6px } .pb .rv-card span { width: 54px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border: 3px solid #C9D3E8; border-radius: 10px; font: 900 34px Nunito, sans-serif; color: #2B2D42; background: #fff }
.pb .rv-card span.on { border-color: #E07B1F; background: #FFF3D6 }
.pb .rv-pad { display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; width: 100%; max-width: 560px } .pb .rv-key { min-height: 48px; border-radius: 10px; border: 2px solid #3557A8; background: #fff; color: #3557A8; font: 900 20px Nunito, sans-serif; cursor: pointer }
@media (max-width: 600px) { .pb .rv-pad { grid-template-columns: repeat(5, 1fr) } }
/* VN seats */
.vn-row { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 640px; margin: 0 auto }
.vn-seat { width: 40px; height: 40px; border-radius: 50%; border: 2px solid #C9D3E8; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; padding: 0; line-height: 1 }
.vn-seat i { font-style: normal } .vn-seat.a { background: #FFE9CC; border-color: #E07B1F } .vn-seat.b { background: #DCE8FB; border-color: #3557A8 }
.vn-seat.ab { background: linear-gradient(90deg, #FFE9CC 50%, #DCE8FB 50%); border-color: #1F7542; border-width: 3px } .vn-seat.z { background: #EEF0F4; color: #9AA3B5 }
.vn-seat.pk { box-shadow: 0 0 0 4px #1F7542 }
.vn-cap { text-align: center; font: 900 22px Nunito, sans-serif; color: #2B2D42; margin-top: 10px } .vn-cap b { color: #1F7542 }
.pb .vn-seat { cursor: pointer }
@media (max-width: 600px) { .vn-seat { width: 34px; height: 34px; font-size: 13px } }
/* HJ jars */
.hj-pair { display: flex; gap: 30px; justify-content: center; align-items: flex-end }
.hj-one { text-align: center } .hj-jar { width: 150px; max-width: 38vw; display: block }
.hj-cap { font: 800 16px Nunito, sans-serif; color: #6B7690 }
.hj-say { text-align: center; font: 900 22px Nunito, sans-serif; color: #2B2D42; margin-top: 8px } .hj-say b { color: #1F7542 }
/* LG line graph */
.lg-svg { width: 100%; max-width: 600px; display: block; margin: 0 auto }
.lg-cap { text-align: center; font: 900 22px Nunito, sans-serif; color: #1F7542 }
/* PY pyramid */
.py-pyr { display: grid; gap: 4px; justify-items: center }
.py-row { display: flex; gap: 4px }
.py-b { width: 70px; height: 46px; border: 2px solid #3A4256; border-radius: 6px; background: #fff; font: 900 22px Nunito, sans-serif; color: #2B2D42; padding: 0 }
.py-b.g { background: #F1F3F8 } .py-b.f { background: #E8F6EE; color: #1F7542 } .py-b.u { color: #9AA3B5 } .py-b.t { border-color: #E07B1F; border-width: 3px } .py-b.t.u { color: #E07B1F }
.py-b.new { animation: pbpop .4s }
.py-cap { text-align: center; font: 900 20px Nunito, sans-serif; color: #1F7542; margin-top: 10px }
.pb .py-b.u { cursor: pointer }
@keyframes pbpop { 0% { transform: scale(.8) } 60% { transform: scale(1.12) } 100% { transform: scale(1) } }
@media (max-width: 600px) { .py-b { width: 58px; height: 42px; font-size: 19px } }
/* GW grid walk */
.gw-svg { width: 100%; max-width: 560px; display: block; margin: 0 auto }
.gw-cnt { font: 800 20px Nunito, sans-serif; color: #2B2D42; text-align: center; display: grid; gap: 4px; margin-top: 6px } .gw-cnt .ok { color: #1F7542 }
.pb .gw-mv.used { opacity: .4 }
/* ── 第十三批 ── */
/* HT half turns */
.ht-grid { width: 230px; max-width: 60vw; display: block; margin: 0 auto }
.ht-pic { text-align: center } .ht-say { font: 900 22px Nunito, sans-serif; color: #2B2D42; margin-top: 8px; min-height: 28px } .ht-say b { color: #1F7542 }
.pb .ht-stage .ht-grid { width: 280px }
/* WM undo the steps */
.wm-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: center }
.wm-box { min-width: 64px; padding: 6px 10px; border: 3px solid #C9D3E8; border-radius: 12px; background: #fff; font: 900 24px Nunito, sans-serif; color: #9AA3B5; text-align: center; line-height: 1.1 }
.wm-box small { display: block; font: 800 12px Nunito, sans-serif; color: #6B7690 } .wm-box.kn { color: #2B2D42; border-color: #3557A8 } .wm-box.ans { border-color: #1F7542; color: #1F7542; background: #E8F6EE }
.wm-step { display: grid; justify-items: center; font: 800 16px Nunito, sans-serif; color: #3557A8; padding: 4px 6px; border-radius: 10px; border: 2px dashed #C9D3E8; background: #F7F9FD }
.wm-step em { font-style: normal; color: #E07B1F; font-weight: 900 } .wm-step.u span { text-decoration: line-through; color: #9AA3B5 } .wm-step.u { border-color: #E07B1F; background: #FFF6E6 }
/* TK taps */
.tk-pic, .pb .tk-stage { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap }
.tk-tank { width: 170px; max-width: 40vw; display: block }
.tk-r { display: grid; gap: 6px; font: 800 20px Nunito, sans-serif; color: #2B2D42 } .tk-row b { color: #3557A8 } .tk-row.out b { color: #C0392B } .tk-row.sum b, .tk-row.ans b { color: #1F7542 } .tk-row.mk { color: #6B7690; font-size: 17px }
/* SC map scales */
.sc-map { width: 100%; max-width: 560px; display: block; margin: 0 auto }
.sc-pic { display: grid; gap: 6px } .sc-say { text-align: center; font: 900 22px Nunito, sans-serif; color: #2B2D42; min-height: 28px } .sc-say b { color: #1F7542 }
/* BX packing boxes */
.bx-box { width: 100%; max-width: 380px; display: block; margin: 0 auto }
.bx-pic { display: grid; gap: 6px; justify-items: center } .bx-say { display: grid; gap: 4px; font: 800 19px Nunito, sans-serif; color: #2B2D42; text-align: center }
.bx-say b { color: #3557A8 } .bx-say s { color: #C0392B; font-size: 15px } .bx-say .off { opacity: .35 } .bx-say .ans b { color: #1F7542; font-size: 24px }
.pb .bx-edges { display: grid; gap: 8px; width: 100%; max-width: 620px; margin: 0 auto }
.pb .bx-edge { display: grid; grid-template-columns: 150px 1fr 34px auto; gap: 8px; align-items: center; font: 800 16px Nunito, sans-serif; color: #2B2D42; padding: 6px 8px; border-radius: 10px; background: #F7F9FD }
.pb .bx-edge.ok { background: #E8F6EE } .pb .bx-edge > b { font-size: 22px; color: #3557A8; text-align: center }
.pb .bx-cells { display: flex; height: 26px; border: 2px solid #3A4256; border-radius: 4px; overflow: hidden }
.pb .bx-cells i { background: #F2A33A; border-right: 2px solid #fff } .pb .bx-cells em { background: repeating-linear-gradient(45deg, #fff 0 4px, #E5524A 4px 6px) } .pb .bx-cells u { background: #fff }
@media (max-width: 600px) { .pb .bx-edge { grid-template-columns: 1fr 34px auto } .pb .bx-cells { grid-column: 1 / -1; order: 5 } }
/* FL fraction bars */
.fl-pic, .pb .fl-stage { display: grid; gap: 10px }
.fl-bar { display: grid; gap: 4px } .fl-bar.dim { opacity: .5 }
.fl-cap { font: 800 17px Nunito, sans-serif; color: #2B2D42 } .fl-cap b { color: #3557A8 }
.fl-cells { display: flex; height: 40px; border: 3px solid #3A4256; border-radius: 6px; overflow: hidden; background: #fff }
.fl-cells span { flex: 1; border-right: 2px solid #3A4256; display: flex; align-items: center; justify-content: center; font: 900 16px Nunito, sans-serif; color: #3557A8; background: #DCE8FB }
.fl-cells span:last-child { border-right: 0 } .fl-cells span.gone { background: repeating-linear-gradient(45deg, #FDECEA 0 6px, #F5B7B1 6px 9px); color: #C0392B } .fl-cells span.t { cursor: pointer }
.fl-say { text-align: center; font: 900 24px Nunito, sans-serif; color: #2B2D42 } .fl-say b { color: #1F7542 }
/* CL calendar */
.cl-week { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap }
.cl-week span { width: 64px; height: 50px; display: inline-flex; align-items: center; justify-content: center; border: 3px solid #C9D3E8; border-radius: 10px; background: #fff; font: 900 18px Nunito, sans-serif; color: #6B7690 }
.cl-week span.st { border-color: #3557A8; color: #3557A8 } .cl-week span.tr { background: #FFF3D6; border-color: #F2A33A } .cl-week span.on { background: #1F7542; border-color: #1F7542; color: #fff }
.cl-say { display: grid; gap: 4px; text-align: center; font: 800 20px Nunito, sans-serif; color: #2B2D42; margin-top: 10px } .cl-say b { color: #3557A8 } .cl-say s { color: #6B7690; font-size: 15px } .cl-say .ans b { color: #1F7542 }
.pb .cl-stage { display: grid; gap: 10px } .pb .cl-go { text-align: center; font: 800 18px Nunito, sans-serif } .pb .cl-go b { color: #E07B1F; font-size: 24px }
.pb .cl-months { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center } .pb .cl-m { min-height: 44px; padding: 0 12px; border-radius: 10px; border: 2px solid #3557A8; background: #fff; color: #3557A8; font: 800 15px Nunito, sans-serif; cursor: pointer } .pb .cl-m.ok { background: #E8F6EE; border-color: #1F7542; color: #1F7542 }
@media (max-width: 600px) { .cl-week span { width: 44px; height: 40px; font-size: 14px } }
/* MG magic squares */
.mg-sq { display: grid; justify-items: center; gap: 8px; position: relative }
.mg-g { display: grid; grid-template-columns: repeat(3, 70px); grid-template-rows: repeat(3, 70px); border: 3px solid #3A4256 }
.mg-g span { display: flex; align-items: center; justify-content: center; border: 1.5px solid #B8C0D2; background: #fff; font: 900 28px Nunito, sans-serif; color: #2B2D42 }
.mg-g span.gl { background: #FFF3D6 } .mg-g span.nw { color: #1F7542; background: #E8F6EE } .mg-g span.tg { color: #E07B1F; border: 3px solid #E07B1F }
.mg-t { font: 800 18px Nunito, sans-serif; color: #6B7690 } .mg-t b { color: #3557A8; font-size: 24px }
.mg-nums { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center } .mg-nums i { font: 900 18px Nunito, sans-serif; font-style: normal; color: #3557A8; border: 2px solid #C9D3E8; border-radius: 8px; padding: 2px 8px; background: #fff }
.mg-gw { display: flex; gap: 8px; align-items: stretch } .mg-rows { display: grid; grid-template-rows: repeat(3, 70px); align-items: center; font: 900 20px Nunito, sans-serif; color: #1F7542 }
.mg-pic { display: grid; gap: 8px; justify-items: center } .mg-say { display: grid; gap: 4px; text-align: center; font: 800 20px Nunito, sans-serif; color: #2B2D42 } .mg-say b { color: #1F7542 }
@media (max-width: 600px) { .mg-g { grid-template-columns: repeat(3, 58px); grid-template-rows: repeat(3, 58px) } .mg-rows { grid-template-rows: repeat(3, 58px) } }
/* ── 第十四批 ── */
.pb .fx-ask { width: 100%; font: 800 17px Nunito, sans-serif; color: #2B2D42; margin-bottom: 4px }
.pb .b14-stage { display: flex; justify-content: center }
/* AV averages */
.av-pic { display: grid; gap: 8px; justify-items: center }
.av-bars { position: relative; display: flex; gap: 8px; align-items: flex-end; height: 110px; padding: 0 10px; border-bottom: 3px solid #3A4256 }
.av-bars i { width: 34px; background: #9FC3F0; border-radius: 6px 6px 0 0; display: flex; align-items: flex-start; justify-content: center; font: 900 16px Nunito, sans-serif; font-style: normal; color: #fff }
.av-bars i.nw { background: #F2A33A } .av-bars em { position: absolute; left: 0; right: 0; border-top: 2px dashed #E0533D; font: 800 13px Nunito, sans-serif; font-style: normal; color: #E0533D; text-align: right }
.av-say { display: grid; gap: 3px; text-align: center; font: 800 19px Nunito, sans-serif; color: #2B2D42 } .av-say b { color: #1F7542 }
/* SD hour bar */
.sd-pic { display: grid; gap: 8px; width: 100%; max-width: 560px } .sd-cap { font: 800 18px Nunito, sans-serif; color: #2B2D42; text-align: center } .sd-cap b { color: #3557A8 }
.sd-bar { display: flex; border: 3px solid #3A4256; border-radius: 8px; overflow: hidden; height: 58px }
.sd-bar span { flex: 1; border-right: 2px solid #3A4256; display: grid; place-items: center; align-content: center; font: 800 14px Nunito, sans-serif; color: #6B7690; background: #fff } .sd-bar span:last-child { border-right: 0 }
.sd-bar span b { font-size: 17px; color: #3557A8 } .sd-bar span.on { background: #FFE7B8 } .sd-ans { text-align: center; font: 900 22px Nunito, sans-serif; color: #2B2D42 } .sd-ans b { color: #1F7542 }
/* TW dice grid */
.tw-pic { display: grid; gap: 6px; justify-items: center }
.tw-g { display: grid; grid-template-columns: repeat(7, 34px); grid-auto-rows: 30px; gap: 2px }
.tw-g span { display: grid; place-items: center; background: #fff; border: 1.5px solid #C9D3E8; border-radius: 5px; font: 800 14px Nunito, sans-serif; color: #2B2D42 }
.tw-g span.hd { background: #3557A8; color: #fff; border-color: #3557A8 } .tw-g span.hd:first-child { background: none; border: 0 } .tw-g span.on { background: #F2A33A; color: #fff; border-color: #E07B1F }
.tw-say { font: 800 18px Nunito, sans-serif; color: #2B2D42 } .tw-say b { color: #1F7542 }
/* DS digit tiles */
.ds-pic { display: grid; gap: 10px; justify-items: center } .ds-row { display: flex; gap: 6px }
.ds-row span { width: 54px; height: 64px; display: grid; place-items: center; border: 3px solid #3557A8; border-radius: 10px; background: #fff; font: 900 34px Nunito, sans-serif; color: #2B2D42 }
.ds-row span.bx { border-color: #E07B1F; color: #E07B1F; border-style: dashed } .ds-row span.ok { border-style: solid; background: #E8F6EE; color: #1F7542; border-color: #1F7542 }
.ds-say { font: 800 20px Nunito, sans-serif; color: #2B2D42 } .ds-say b { color: #3557A8 }
/* AG age bars */
.ag-pic { display: grid; gap: 8px; width: 100%; max-width: 560px } .ag-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 8px }
.ag-row > b { font: 800 16px Nunito, sans-serif; color: #2B2D42 } .ag-bar { display: flex; gap: 3px }
.ag-bar span { width: 70px; height: 34px; border-radius: 6px; background: #9FC3F0; display: grid; place-items: center; font: 900 15px Nunito, sans-serif; color: #fff } .ag-bar span.gp { background: #F2A33A }
.ag-say { font: 800 18px Nunito, sans-serif; color: #2B2D42; text-align: center } .ag-say b { color: #1F7542 }
/* TG triangles */
.tg-svg { width: 100%; max-width: 380px; display: block; margin: 0 auto } .tg-pic { width: 100% }
/* PC percentages */
.pc-pic { display: grid; gap: 8px; width: 100%; max-width: 560px } .pc-tag { justify-self: center; padding: 4px 16px; border: 3px solid #E0533D; border-radius: 10px; font: 900 22px Nunito, sans-serif; color: #E0533D; background: #fff }
.pc-bar, .pc-bar20 { display: flex; border: 3px solid #3A4256; border-radius: 6px; overflow: hidden; height: 36px; flex: 1 } .pc-bar span, .pc-bar20 span { flex: 1; border-right: 1.5px solid #C9D3E8; background: #DCE8FB; display: grid; place-items: center; font: 800 13px Nunito, sans-serif; color: #3557A8 }
.pc-bar20 span:nth-child(2n) { border-right: 2.5px solid #3A4256 } .pc-bar span.off, .pc-bar20 span.off { background: repeating-linear-gradient(45deg, #FDECEA 0 6px, #F5B7B1 6px 9px); color: #C0392B }
.pc-row { display: grid; grid-template-columns: 70px 1fr; gap: 8px; align-items: center; font: 800 16px Nunito, sans-serif } .pc-say { text-align: center; font: 800 20px Nunito, sans-serif; color: #2B2D42 } .pc-say b { color: #1F7542 }
/* ES estimate and cross out */
.es-pic { display: grid; gap: 10px; justify-items: center } .es-opts { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center }
.es-opts span { position: relative; padding: 6px 12px; border: 2px solid #C9D3E8; border-radius: 10px; background: #fff; font: 900 22px Nunito, sans-serif; color: #2B2D42 } .es-opts span i { font-style: normal; color: #6B7690; font-size: 15px; margin-right: 6px }
.es-opts span.x { color: #B8C0D2; text-decoration: line-through; text-decoration-color: #E0533D; text-decoration-thickness: 3px } .es-opts span.ok { border-color: #1F7542; background: #E8F6EE; color: #1F7542 }
.es-say { font: 800 20px Nunito, sans-serif; color: #2B2D42 }
@media (max-width: 600px) { .ag-row { grid-template-columns: 80px 1fr } .ag-bar span { width: 44px } .tw-g { grid-template-columns: repeat(7, 30px) } .ds-row span { width: 44px; height: 54px; font-size: 28px } }
