/* Math Adventures – engine scenes (manipulatives). */
.scene-inner { position: absolute; inset: 0; }
.eng { position: absolute; inset: 0; }
.eng * { -webkit-user-select: none; user-select: none; }
.zb-pop { position: absolute; right: 6px; top: 6px; width: clamp(70px, 14%, 120px); z-index: 30; animation: zb-in .6s var(--ease-pop) both; pointer-events: none; }
.zb-pop > svg { width: 100%; height: auto; filter: drop-shadow(0 4px 0 rgba(36, 38, 59, .5)); }
.zb-pop.is-happy { animation: zb-happy 1.2s ease both; }
@keyframes zb-in { from { transform: translateX(80px) rotate(200deg) scale(.4); opacity: 0; } }
@keyframes zb-happy { 50% { transform: rotate(360deg) scale(1.1); } to { transform: rotate(720deg) scale(.8); } }
.goal-n { font-size: 1.5em; color: var(--glow); }
.rings { display: inline-flex; gap: 5px; }
.rings i { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #7D82A8; }
.rings i.on { border-color: var(--glow); box-shadow: 0 0 10px 2px rgba(255, 229, 138, .8); background: rgba(255, 229, 138, .35); }
.badge-pop { position: fixed; left: 50%; top: 18%; transform: translateX(-50%); z-index: 7600; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 18px 12px; background: #FFF6E3; border: 4px solid var(--ink); border-radius: 24px; box-shadow: 0 6px 0 var(--ink); font-size: 1.2rem; animation: tk-modal-in .4s var(--ease-pop) both; pointer-events: none; }
.badge-pop svg { width: 110px; height: auto; }
.badge-pop.tk-out { animation: tk-fade-out .3s ease both; }

/* ---------------------------------------------------------------- fireflies + jars */
.ff { position: absolute; width: var(--ff, 40px); height: var(--ff, 40px); z-index: 4; cursor: grab; touch-action: none; }
.ff > svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ff-swarm .ff { animation: ff-drift 3.2s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ff-swarm .ff.is-new { animation: ff-new .5s ease-out both, ff-drift 3.2s ease-in-out .5s infinite; }
@keyframes ff-drift { 25% { translate: 4px -6px; } 50% { translate: -3px -2px; } 75% { translate: 3px 5px; } }
@keyframes ff-new { from { opacity: 0; transform: scale(.3); } }
.ff .ff-glow { animation: ff-glow 1.6s ease-in-out infinite alternate; }
@keyframes ff-glow { to { opacity: .85; } }
.ff-swarm { position: absolute; border-radius: 30px; background: radial-gradient(ellipse at center, rgba(255, 229, 138, .22), rgba(255, 229, 138, 0) 70%); }
.ff-swarm .ff.tk-dragging { animation: none; }
.jar { position: absolute; border: 4px solid var(--ink); border-radius: 18% 18% 22% 22% / 26% 26% 30% 30%; background: linear-gradient(180deg, rgba(232, 251, 248, .55), rgba(190, 240, 232, .4)); box-shadow: 0 6px 0 rgba(36, 38, 59, .55), inset 0 0 0 5px rgba(255, 255, 255, .25); transition: box-shadow .3s; }
.jar::after { content: ""; position: absolute; left: 7%; top: 18%; width: 4%; height: 56%; border-radius: 4px; background: rgba(255, 255, 255, .55); pointer-events: none; }
.jar-lid { position: absolute; left: 14%; right: 14%; top: -13%; height: 13%; background: var(--pv1); border: 4px solid var(--ink); border-radius: 10px 10px 4px 4px; }
.jar-grid { position: absolute; left: 6%; right: 6%; top: 12%; bottom: 10%; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4%; }
.jar-slot { position: relative; display: flex; align-items: center; justify-content: center; border: 2.5px dashed rgba(36, 38, 59, .38); border-radius: 50%; aspect-ratio: 1; align-self: center; justify-self: center; width: min(100%, var(--slot, 50px)); }
.jar-slot:nth-child(5) { margin-right: 0; }
.jar-grid .jar-slot:nth-child(-n+5) { border-color: rgba(36, 38, 59, .45); }
.jar-slot .slot-n { position: absolute; font-weight: 1000; font-size: calc(var(--slot, 50px) * .36); color: rgba(36, 38, 59, .32); opacity: 0; transition: opacity .3s; }
.show-n .jar-slot .slot-n { opacity: 1; }
.jar-slot > .ff { position: absolute; left: 50%; top: 50%; margin: calc(var(--ff, 40px) / -2) 0 0 calc(var(--ff, 40px) / -2); cursor: pointer; z-index: 2; }
.jar-slot > .ff.is-fixed { cursor: default; }
.jar.is-full { box-shadow: 0 6px 0 rgba(36, 38, 59, .55), 0 0 26px 6px rgba(255, 229, 138, .55); }
.jar.is-glow { box-shadow: 0 6px 0 rgba(36, 38, 59, .55), 0 0 34px 12px rgba(255, 229, 138, .9); }
.jar.tk-drop-ok { box-shadow: 0 6px 0 rgba(36, 38, 59, .55), 0 0 0 6px rgba(255, 197, 61, .7); }
.jar.tk-drop-over { box-shadow: 0 6px 0 rgba(36, 38, 59, .55), 0 0 0 9px var(--sun), 0 0 28px 8px rgba(255, 229, 138, .9); }
.jar.is-model { background: linear-gradient(180deg, rgba(255, 246, 227, .7), rgba(255, 229, 138, .35)); }
.ff.is-added > svg { filter: drop-shadow(0 0 8px #FF9636); }
.jar-cloth { position: absolute; z-index: 6; border: 4px solid var(--ink); border-radius: 20px; background: repeating-linear-gradient(45deg, #E8505B 0 14px, #FFF3D6 14px 28px); box-shadow: 0 6px 0 rgba(36, 38, 59, .55); transform-origin: 50% 0; transition: transform .45s cubic-bezier(.4, 1.4, .5, 1); }
.jar-cloth.is-up { transform: scaleY(.06) translateY(-40px); }
.eye-btn { position: absolute; z-index: 7; width: 60px; height: 60px; border-radius: 50%; border: 4px solid var(--ink); background: var(--sun); box-shadow: 0 4px 0 var(--ink); display: flex; align-items: center; justify-content: center; padding: 8px; cursor: pointer; }
.eye-btn svg { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- lasso net */
.net-field { position: absolute; touch-action: none; cursor: crosshair; border-radius: 24px; background: radial-gradient(ellipse at 50% 60%, rgba(255, 229, 138, .14), rgba(255, 229, 138, 0) 70%); }
.net-field:focus-visible { outline: 4px solid var(--orange); }
.net-field .ff { pointer-events: none; animation: ff-drift 3.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
.net-lasso { position: absolute; pointer-events: none; z-index: 8; overflow: visible; }
.lasso-path { fill: rgba(255, 229, 138, .18); stroke: #FFE58A; stroke-width: 5; stroke-dasharray: 10 8; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255, 197, 61, .9)); transition: opacity .45s; }
.lasso-path.is-done { opacity: 0; }
.net-shelf { position: absolute; display: flex; align-items: flex-end; flex-wrap: wrap; align-content: flex-end; gap: 4px; padding: 6px 10px 10px; background: linear-gradient(180deg, transparent 0 calc(100% - 16px), #A86A38 calc(100% - 16px)); border-bottom: 4px solid var(--ink); }
.net-shelf-lbl { position: absolute; left: 10px; top: 0; font-weight: 1000; color: #FFE58A; font-size: 1rem; text-shadow: 0 2px 0 var(--ink); }
.net-full { display: flex; flex-wrap: wrap; gap: 4px; align-items: flex-end; }
.net-full-jar { width: clamp(26px, 4vw, 40px); }
.net-full-jar svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 6px rgba(255, 229, 138, .8)); }
.net-full.show-ten .net-full-jar { position: relative; }
.net-full.show-ten .net-full-jar::after { content: "10"; position: absolute; left: 50%; top: -18px; transform: translateX(-50%); font-weight: 1000; font-size: 14px; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.net-jar .jar-slot > .ff { --ff: calc(var(--slot, 40px) * .92); }
.net-grab { position: absolute; z-index: 9; min-height: 56px; }

/* ---------------------------------------------------------------- place-value dock */
.dock { position: absolute; display: flex; gap: 8px; padding: 6px 4px 4px; }
.dock.is-glow .dock-col { box-shadow: 0 5px 0 rgba(36, 38, 59, .6), 0 0 26px 6px rgba(255, 229, 138, .8); }
.dock-col { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; border: 3px solid var(--ink); border-radius: 18px; background: linear-gradient(180deg, var(--pvs) 0%, rgba(255, 246, 227, .9) 70%); box-shadow: 0 5px 0 rgba(36, 38, 59, .6); transition: box-shadow .25s; }
.dock-col.tk-drop-ok { box-shadow: 0 5px 0 rgba(36, 38, 59, .6), 0 0 0 5px rgba(255, 197, 61, .7); }
.dock-col.tk-drop-over { box-shadow: 0 5px 0 rgba(36, 38, 59, .6), 0 0 0 8px var(--sun); }
.dock-col.is-over { border-color: var(--orange); }
.col-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 3px 4px; border-bottom: 3px solid var(--ink); background: var(--pvc); border-radius: 14px 14px 0 0; font-weight: 1000; font-size: 1.1rem; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.col-head .art-pvicon { width: 24px; height: 24px; background: #fff; border-radius: 50%; border: 2px solid var(--ink); }
.col-head .col-n { min-width: 0; font-size: 1rem; }
.col-head .col-n:not(:empty)::before { content: "· "; }
.col-body { position: relative; flex: 1 1 auto; min-height: 0; }
.col-foot { flex: 0 0 auto; display: flex; gap: 4px; justify-content: center; padding: 3px; min-height: 8px; }
.pack-btn, .open-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 2px 10px; border: 3px solid var(--ink); border-radius: 14px; background: var(--sun); box-shadow: 0 3px 0 var(--ink); font-weight: 1000; font-size: .95rem; cursor: pointer; animation: tk-call 2.4s ease-in-out infinite; }
.open-btn { background: #fff; animation: none; }
.pack-btn svg { width: 22px; height: 22px; }
.pv-piece { position: absolute; cursor: grab; z-index: 2; touch-action: none; }
.pv-piece > svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 0 rgba(36, 38, 59, .45)); }
.pv-piece.is-over > svg { filter: drop-shadow(0 0 6px #FF9636); }
.pv-src { position: relative; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; padding: 6px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 0 4px 0 var(--ink); cursor: grab; touch-action: none; }
.pv-src > svg { max-width: 100%; max-height: 100%; }
.pv-src.is-empty { opacity: .35; filter: grayscale(1); }
.pv-src .src-left:not(:empty) { position: absolute; right: -8px; top: -8px; min-width: 26px; height: 26px; border-radius: 13px; background: var(--tomato); color: #fff; font-weight: 1000; font-size: .9rem; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center; }
[data-layout="short"] .pv-src { width: 56px; height: 56px; }
.barge { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; padding: 8px; }
.barge-hull { position: relative; width: 92%; height: 54px; margin-top: -6px; background: #FF6B5A; border: 4px solid var(--ink); border-radius: 6px 6px 50% 50% / 6px 6px 100% 100%; box-shadow: 0 5px 0 rgba(36, 38, 59, .5); display: flex; justify-content: center; gap: 18%; align-items: center; margin-bottom: 14px; }
.barge-hull i { width: 12px; height: 12px; border-radius: 50%; background: #FFF6E3; border: 2px solid var(--ink); }
.barge-groups { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: flex-end; max-width: 100%; min-height: 60px; }
.barge-group { display: flex; flex-wrap: wrap; gap: 2px; max-width: 150px; padding: 6px; border: 3px solid var(--ink); border-radius: 14px; background: #FFF6E3; box-shadow: 0 4px 0 var(--ink); cursor: grab; touch-action: none; min-width: 56px; min-height: 56px; align-content: center; justify-content: center; }
.barge-group .bg-piece { width: 24px; height: 24px; display: inline-flex; }
.barge-group.pv1 .bg-piece { width: 15px; height: 27px; }
.barge-group.pv3 .bg-piece { width: 36px; height: 20px; }
.barge-group .bg-piece svg { width: 100%; height: 100%; }
.barge.is-empty .barge-hull { opacity: .4; }
.unload-all { position: relative; z-index: 2; min-height: 52px; }
.basket-zone { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 10px; border: 4px solid var(--ink); border-radius: 22px 22px 40px 40px; background: repeating-linear-gradient(0deg, #C98952 0 12px, #B57A45 12px 14px); box-shadow: 0 6px 0 rgba(36, 38, 59, .55); }
.basket-zone.tk-drop-ok { box-shadow: 0 6px 0 rgba(36, 38, 59, .55), 0 0 0 6px rgba(255, 197, 61, .7); }
.basket-zone.tk-drop-over { box-shadow: 0 6px 0 rgba(36, 38, 59, .55), 0 0 0 9px var(--sun); }
.basket-ghosts, .basket-real { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; align-content: flex-end; width: 100%; }
.basket-ghosts { position: absolute; left: 10px; right: 10px; top: 10px; bottom: 44px; align-content: flex-start; opacity: .9; }
.ghost-piece, .basket-piece { width: 30px; height: 30px; display: inline-flex; }
.ghost-piece.pv1, .basket-piece.pv1 { width: 18px; height: 32px; }
.ghost-piece.pv3, .basket-piece.pv3 { width: 44px; height: 24px; }
.ghost-piece svg, .basket-piece svg { width: 100%; height: 100%; }
.ghost-piece { opacity: .5; filter: grayscale(1) brightness(1.8); outline: 2px dashed rgba(255, 255, 255, .8); outline-offset: 1px; border-radius: 6px; }
.ghost-piece.is-filled { opacity: .12; }
.basket-real { position: relative; z-index: 2; min-height: 34px; }
.basket-piece { cursor: pointer; }
.basket-lbl { position: absolute; top: -16px; right: 10px; font-weight: 1000; font-size: 1.4rem; color: #fff; text-shadow: 0 2px 0 var(--ink), 0 0 6px var(--ink); }
.basket-zone.is-done { box-shadow: 0 6px 0 rgba(36, 38, 59, .55), 0 0 26px 8px rgba(255, 229, 138, .9); }
.pv-digits i { font-style: normal; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.basket-isk { position: absolute; right: 4px; top: -30px; width: 56px; pointer-events: none; }
.basket-isk svg { width: 100%; height: auto; }

/* ---------------------------------------------------------------- creek */
.creek-water { position: absolute; left: -10px; right: -10px; background: linear-gradient(180deg, #3BA7D9, #2C8FC4); border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); box-shadow: inset 0 8px 0 rgba(159, 227, 242, .5); }
.creek-water::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255, 255, 255, .25) 46px 70px, transparent 70px 110px); mask: linear-gradient(180deg, transparent 30%, #000 45%, transparent 60%); -webkit-mask: linear-gradient(180deg, transparent 30%, #000 45%, transparent 60%); animation: river 5s linear infinite; }
@keyframes river { to { background-position: 110px 0; } }
.creek-stones { position: absolute; inset: 0; }
.creek-stone { position: absolute; padding: 0; border: 0; background: none; cursor: pointer; }
.creek-stone > svg { width: 100%; height: 100%; display: block; overflow: visible; }
.creek-stone .stone-n { position: absolute; left: 50%; top: 104%; transform: translateX(-50%); font-weight: 1000; font-size: clamp(15px, 2.2vw, 22px); color: #fff; text-shadow: 0 2px 0 var(--ink), 2px 0 0 var(--ink), -2px 0 0 var(--ink), 0 -2px 0 var(--ink); white-space: nowrap; pointer-events: none; }
.creek-stone.is-gold .stone-n { color: #FFE58A; }
.creek-arc { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 6; overflow: visible; }
.creek-goat { position: absolute; z-index: 7; cursor: grab; touch-action: none; transform-origin: 50% 100%; }
.creek-goat > svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 4px 0 rgba(36, 38, 59, .45)); }
.creek-goat.is-crouch > svg { transform: scale(1.06, .9); transform-origin: 50% 100%; }
.creek-goat.is-rest::after { content: ""; position: absolute; right: -6px; top: 4px; width: 26px; height: 18px; border-radius: 50%; background: #fff; opacity: .85; animation: puff .9s ease-out both; }
@keyframes puff { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4) translate(10px, -10px); opacity: 0; } }
.creek-goat.is-wet > svg { filter: drop-shadow(0 0 8px #3BA7D9); }
.creek-goat.is-ghost { opacity: .45; pointer-events: none; filter: grayscale(1); z-index: 5; }
.creek-goat.is-ghost.is-wrong { opacity: .2; }
.creek-goat:focus-visible { outline: 4px solid var(--orange); border-radius: 12px; }
.creek-fly { position: absolute; z-index: 5; pointer-events: none; animation: flyhover 1.4s ease-in-out infinite alternate; }
.creek-fly > svg { width: 100%; height: auto; display: block; }
.creek-fly-lbl { position: absolute; left: 50%; top: -24px; transform: translateX(-50%); font-weight: 1000; font-size: 18px; background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 0 6px; white-space: nowrap; }
.creek-fly.is-off { opacity: .55; }
.creek-fly.is-caught { animation: flyaway 1s ease-in both; }
@keyframes flyhover { to { transform: translateY(-8px) rotate(4deg); } }
@keyframes flyaway { to { transform: translate(60px, -120px) rotate(30deg); opacity: 0; } }
.creek-edge { position: absolute; z-index: 5; font-weight: 1000; font-size: 1.2rem; color: #fff; background: rgba(36, 38, 59, .6); border-radius: 12px; padding: 2px 10px; }
.creek-counter { position: absolute; left: 10px; display: none; min-width: 54px; height: 54px; border-radius: 50%; background: #FFF6E3; border: 4px solid var(--ink); font-weight: 1000; font-size: 1.6rem; align-items: center; justify-content: center; box-shadow: 0 4px 0 var(--ink); z-index: 8; }
.creek-counter.is-on { display: flex; }
.creek-splash { position: absolute; width: 80px; height: 30px; border-radius: 50%; border: 4px solid #9FE3F2; z-index: 4; pointer-events: none; animation: ripple .7s ease-out both; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.creek-goat.is-happy > svg { animation: goat-happy .5s ease 2; }
@keyframes goat-happy { 50% { transform: translateY(-10px); } }
.step-chip { min-width: 64px; min-height: 64px; padding: 4px 10px; border: 3px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 4px 0 var(--ink); font-size: 1.5rem; font-weight: 1000; cursor: pointer; }
.step-chip[aria-pressed="true"] { background: var(--sun); transform: translateY(-3px); box-shadow: 0 7px 0 var(--ink); }
.chip-lbl { font-weight: 1000; font-size: 1rem; }
.creek-jump { min-height: 64px; font-size: 1.3rem; }
.creek-jump[disabled] { opacity: .45; }
[data-layout="short"] .step-chip, [data-layout="short"] .creek-jump { min-width: 56px; min-height: 56px; font-size: 1.2rem; }
.eng-creek { overflow: hidden; border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #CFF3FA 0%, #E6F9FF 30%, #B8E07A 30%, #A6D46A 100%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); }
.eng-creek::before { content: ""; position: absolute; left: 6%; top: 8%; width: 70px; height: 70px; border-radius: 50%; background: #FFE58A; border: 4px solid var(--ink); opacity: .9; }
.eng-creek::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: radial-gradient(circle at 10% 100%, #6CC04A 0 30%, transparent 31%), radial-gradient(circle at 85% 110%, #6CC04A 0 28%, transparent 29%); pointer-events: none; }
.creek-stone > svg { position: absolute; left: 0; top: 30%; width: 100%; height: 56%; }
.creek-stone .stone-n { top: 82%; }

/* ---------------------------------------------------------------- estimation flag */
.eng-flag { overflow: hidden; border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #CFF3FA 0%, #E6F9FF 40%, #B8E07A 40%, #9ED36A 100%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); }
.flag-line { position: absolute; height: 44px; cursor: pointer; z-index: 2; }
.flag-line::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 12px; border-radius: 6px; background: #8A5A3C; border: 3px solid var(--ink); }
.flag-line:focus-visible { outline: 4px solid var(--orange); border-radius: 10px; }
.flag-marks { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.fm { position: absolute; width: 4px; height: 26px; margin: -13px 0 0 -2px; background: var(--ink); border-radius: 2px; }
.fm.is-tick { height: 16px; margin-top: -8px; width: 3px; opacity: .6; }
.fm.is-q { background: var(--orange); height: 22px; margin-top: -11px; }
.fm.is-mid { background: var(--orange); height: 34px; margin-top: -17px; width: 5px; }
.fm-n { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); font-weight: 1000; font-size: clamp(16px, 2.3vw, 24px); white-space: nowrap; background: #FFF6E3; border: 3px solid var(--ink); border-radius: 10px; padding: 0 6px; }
.fm.is-mid .fm-n { background: #FFE3C2; top: 34px; }
.flag-stone { position: absolute; z-index: 1; }
.flag-stone svg { width: 100%; height: auto; display: block; }
.flag-holder { position: absolute; width: calc(var(--fw) * 1.2); height: calc(var(--fw) * 1.5); border: 3px dashed rgba(36, 38, 59, .4); border-radius: 16px; }
.flag-flag { position: absolute; width: var(--fw, 56px); z-index: 8; cursor: grab; touch-action: none; transition: left .25s ease, top .25s ease; min-height: 56px; }
.flag-flag.is-drag { transition: none; cursor: grabbing; filter: drop-shadow(0 8px 6px rgba(0, 0, 0, .3)); }
.flag-flag > svg { width: 100%; height: auto; display: block; }
.flag-flag.is-ghost { opacity: .4; pointer-events: none; filter: grayscale(.5); animation: hint-pulse 1s ease-in-out infinite; }
.flag-goat { position: absolute; z-index: 6; pointer-events: none; }
.flag-goat > svg { width: 100%; height: auto; display: block; }
.flag-truth { position: absolute; width: 44px; height: 60px; z-index: 7; opacity: 0; pointer-events: none; }
.flag-truth::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 6px; height: 40px; margin-left: -3px; background: #FFC53D; border: 2px solid var(--ink); border-radius: 3px; }
.flag-truth span { position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-weight: 1000; background: #FFE58A; border: 3px solid var(--ink); border-radius: 10px; padding: 0 6px; white-space: nowrap; }
.flag-truth.is-up { opacity: 1; animation: rise .6s var(--ease-pop) both; }
@keyframes rise { from { transform: translateY(30px); opacity: 0; } }
.eng-flag::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%; background: linear-gradient(180deg, #3BA7D9, #2C8FC4); border-top: 4px solid var(--ink); z-index: 0; }

/* ---------------------------------------------------------------- sequence path */
.eng-path { display: flex; align-items: center; justify-content: center; border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #E6F9FF 0 22%, #3BA7D9 22% 78%, #B8E07A 78%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); }
.path-row { display: grid; gap: 14px 10px; justify-content: center; }
.path-cell { width: var(--ps, 80px); height: var(--ps, 80px); border-radius: 50%; display: flex; align-items: center; justify-content: center; position: relative; }
.path-cell.is-gap { border: 4px dashed #fff; background: rgba(255, 255, 255, .2); }
.path-cell.is-gap.tk-drop-ok { background: rgba(255, 229, 138, .45); }
.path-cell.is-gap.tk-drop-over { background: rgba(255, 229, 138, .8); border-color: var(--sun); }
.path-stone { width: var(--ps, 80px); height: var(--ps, 80px); border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%; background: #B8B2A7; border: 4px solid var(--ink); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .12), 0 4px 0 rgba(36, 38, 59, .5); display: flex; align-items: center; justify-content: center; font-size: calc(var(--ps, 80px) * .34); font-weight: 1000; color: var(--ink); }
.path-stone b { background: rgba(255, 255, 255, .7); border-radius: 10px; padding: 0 .2em; }
.path-stone.is-loose { width: 72px; height: 72px; font-size: 1.45rem; cursor: grab; background: #D6D0C4; }
.path-cell .path-stone.is-loose, .path-cell .path-stone.is-new { width: var(--ps, 80px); height: var(--ps, 80px); font-size: calc(var(--ps, 80px) * .34); }
.path-stone.is-new { background: #FFC53D; animation: tk-dropped .45s var(--ease-pop); }
.path-arrows { position: absolute; inset: 0; pointer-events: none; }
.path-step { position: absolute; transform: translate(-50%, -50%); font-weight: 1000; font-size: 1.1rem; color: #fff; background: var(--orange); border: 2px solid var(--ink); border-radius: 10px; padding: 0 6px; }
.eng-path.is-support .path-cell:not(.is-gap) .path-stone { box-shadow: 0 0 14px 4px rgba(255, 229, 138, .9), 0 4px 0 rgba(36, 38, 59, .5); }
.path-goat { position: absolute; z-index: 6; opacity: 0; pointer-events: none; }
.path-goat.is-on { opacity: 1; }
.path-goat svg { width: 100%; height: auto; }
[data-layout="short"] .path-stone.is-loose { width: 58px; height: 58px; font-size: 1.2rem; }

/* ---------------------------------------------------------------- balance scale */
.eng-scale { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #FFE7C4 0%, #FFD9A8 62%, #E7B67A 62%, #D9A36A 100%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); }
.scale-frame { position: absolute; left: 0; top: 0; pointer-events: none; z-index: 1; }
.scale-pan { position: absolute; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.pan-items { display: flex; flex-wrap: wrap-reverse; justify-content: center; align-items: flex-end; gap: 2px; width: 92%; min-height: calc(var(--is, 48px) * 1.2); padding-bottom: 2px; }
.pan-dish { width: 100%; height: 26px; border: 4px solid var(--ink); border-top-width: 3px; border-radius: 0 0 50% 50% / 0 0 100% 100%; background: linear-gradient(180deg, #FFE7A3, #D9A93B); box-shadow: 0 4px 0 rgba(36, 38, 59, .4); }
.scale-pan.tk-drop-ok .pan-dish { box-shadow: 0 4px 0 rgba(36, 38, 59, .4), 0 0 0 6px rgba(255, 197, 61, .7); }
.scale-pan.tk-drop-over .pan-dish { box-shadow: 0 4px 0 rgba(36, 38, 59, .4), 0 0 0 9px var(--sun); }
.scale-pan.is-locked { cursor: pointer; }
.scale-item { position: relative; width: var(--is, 48px); height: calc(var(--is, 48px) * .82); cursor: grab; touch-action: none; display: flex; align-items: flex-end; justify-content: center; }
.scale-item > svg { width: 100%; height: 100%; display: block; overflow: visible; }
.scale-item.k-cube, .scale-item.k-apple { width: calc(var(--is, 48px) * .7); height: calc(var(--is, 48px) * .74); }
.scale-item.k-jar, .scale-item.k-item { width: calc(var(--is, 48px) * 1.1); height: calc(var(--is, 48px) * 1.22); }
.scale-item.k-bag { width: calc(var(--is, 48px) * 1.15); height: calc(var(--is, 48px) * 1.25); }
.scale-item.k-bag.is-open > svg { filter: drop-shadow(0 0 10px #FFE58A); }
.scale-item.k-card { width: auto; height: auto; }
.scale-item.is-fixed { cursor: default; }
.scale-card { font-weight: 1000; font-size: clamp(18px, 2.4vw, 30px); background: #FFF6E3; border: 4px solid var(--ink); border-radius: 14px; padding: 4px 12px; box-shadow: 0 4px 0 rgba(36, 38, 59, .5); white-space: nowrap; }
.scale-src { width: 64px; height: 64px; display: flex; align-items: flex-end; justify-content: center; padding: 3px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 0 4px 0 var(--ink); cursor: grab; touch-action: none; }
.scale-src > svg { width: 100%; height: 100%; }
[data-layout="short"] .scale-src { width: 56px; height: 56px; }
.scale-bunting { position: absolute; left: 0; right: 0; top: 0; height: 40px; z-index: 0; background: repeating-linear-gradient(90deg, transparent 0 4px, transparent 4px 40px), conic-gradient(from 135deg at 50% 0, #7B5CFA 0 90deg, transparent 90deg) 0 0 / 40px 30px repeat-x; opacity: .45; transition: opacity .3s, filter .3s; }
.scale-bunting.is-lit { opacity: 1; filter: drop-shadow(0 0 8px #FFE58A); }
.scale-bear { position: absolute; z-index: 2; pointer-events: none; }
.scale-bear svg { width: 100%; height: auto; }
.scale-bear.is-clap svg { animation: goat-happy .3s ease 3; }
.eng-scale.is-level::after { content: ""; position: absolute; left: 50%; top: 4%; width: 120px; height: 120px; margin-left: -60px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 229, 138, .8), transparent 70%); pointer-events: none; z-index: 0; }
.split-btn { position: absolute; z-index: 20; min-height: 52px; }
.scale-peg { position: absolute; z-index: 6; width: 24px; height: 64px; padding: 0; border: 3px solid var(--ink); border-radius: 8px; background: linear-gradient(90deg, #C98952, #8E5B33); cursor: pointer; transition: transform .4s var(--ease-pop), opacity .4s; min-width: 44px; background-clip: content-box; }
.scale-peg::before { content: ""; position: absolute; left: 50%; top: -12px; width: 30px; height: 14px; margin-left: -15px; border-radius: 7px; background: #A86A38; border: 3px solid var(--ink); }
.scale-peg.is-out { transform: translateY(-80px) rotate(20deg); opacity: 0; pointer-events: none; }
.sign-slot { position: absolute; z-index: 5; width: 80px; height: 80px; border: 4px dashed var(--ink); border-radius: 18px; background: rgba(255, 255, 255, .6); display: flex; align-items: center; justify-content: center; }
.sign-slot.tk-drop-ok { background: rgba(255, 229, 138, .7); }
.sign-tile { width: 72px; height: 72px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 0 4px 0 var(--ink); padding: 4px; cursor: grab; touch-action: none; }
.sign-tile svg { width: 100%; height: 100%; }
.sign-slot .sign-tile { position: absolute; left: 0; top: 0; }
.scale-eq { position: absolute; z-index: 5; min-width: 68px; min-height: 68px; font-size: 2rem; }
.scale-plate { position: absolute; z-index: 4; height: 84px; display: flex; align-items: flex-end; justify-content: center; border-bottom: 10px solid #fff; border-radius: 0 0 50% 50% / 0 0 30% 30%; box-shadow: 0 4px 0 var(--ink); }
.scale-plate .plate-items { display: flex; flex-wrap: wrap-reverse; justify-content: center; gap: 2px; width: 100%; min-height: 60px; align-items: flex-end; }
.scale-plate.tk-drop-ok { background: rgba(255, 229, 138, .4); }

/* ---------------------------------------------------------------- market */
.eng-market { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #BDEBFF 0 30%, #F2DDB0 30%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); overflow: visible; --coin: 52px; }
.mk-awning { position: absolute; left: 0; right: 0; top: 0; height: 13%; min-height: 34px; border-radius: 20px 20px 0 0; background: repeating-linear-gradient(90deg, #E8505B 0 40px, #FFF3D6 40px 80px); border-bottom: 4px solid var(--ink); }
.mk-awning::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 14px; background: radial-gradient(circle at 20px 0, #E8505B 0 12px, transparent 13px) 0 0 / 80px 14px repeat-x, radial-gradient(circle at 60px 0, #FFF3D6 0 12px, transparent 13px) 0 0 / 80px 14px repeat-x; }
.mk-counter { position: absolute; left: 0; right: 0; top: 46%; height: 12%; background: #C98952; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.mk-stall { position: absolute; left: 8px; right: 8px; top: 15%; height: 42%; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; z-index: 2; }
.mk-stall.is-hidden { visibility: hidden; }
.mk-dinka { flex: 0 0 auto; width: clamp(64px, 13%, 120px); align-self: flex-end; }
.mk-dinka svg { width: 100%; height: auto; display: block; }
.mk-goods { flex: 1 1 auto; min-width: 0; display: flex; gap: 8px; align-items: flex-end; justify-content: center; flex-wrap: wrap; }
.mk-good { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0; border: 0; background: none; font: inherit; }
.mk-item { width: clamp(44px, 7vw, 74px); }
.mk-item svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 3px 0 rgba(36, 38, 59, .4)); }
.mk-good .art-tag { width: clamp(70px, 9vw, 100px); height: auto; }
.mk-pick { cursor: pointer; border-radius: 16px; padding: 4px; border: 3px solid transparent; }
.mk-pick[aria-pressed="true"] { border-color: var(--ink); background: rgba(255, 229, 138, .8); box-shadow: 0 4px 0 var(--ink); }
.mk-goods.is-wrapped .mk-item { animation: wrap .5s ease both; }
@keyframes wrap { 50% { transform: scale(.8) rotate(-8deg); } }
.mk-tray { position: relative; flex: 0 1 auto; width: clamp(150px, 30%, 320px); min-height: calc(var(--coin) * 1.6); padding: 8px 10px 14px; border: 4px solid var(--ink); border-radius: 50%/30%; background: radial-gradient(ellipse at 50% 40%, #FFF6E3, #E9D3A6); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); display: flex; align-items: center; justify-content: center; }
.mk-tray.tk-drop-ok { box-shadow: 0 5px 0 rgba(36, 38, 59, .5), 0 0 0 6px rgba(255, 197, 61, .7); }
.mk-tray.tk-drop-over { box-shadow: 0 5px 0 rgba(36, 38, 59, .5), 0 0 0 9px var(--sun); }
.mk-tray.is-paw { border-radius: 26px; background: #FFE3C2; }
.mk-tray.is-budget { pointer-events: none; }
.mk-tray-items { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; align-items: center; }
.mk-total { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); font-weight: 1000; font-size: 1.1rem; background: #fff; border: 3px solid var(--ink); border-radius: 10px; padding: 0 8px; white-space: nowrap; }
.mk-total:empty { display: none; }
.mk-bell { flex: 0 0 auto; width: 68px; height: 68px; border: 4px solid var(--ink); border-radius: 50%; background: #FFF6E3; box-shadow: 0 4px 0 var(--ink); padding: 6px; cursor: pointer; align-self: flex-end; margin-bottom: 4px; }
.mk-bell:active { transform: rotate(-12deg); }
.mk-bell svg { width: 100%; height: 100%; }
.mk-money { position: relative; cursor: pointer; flex: 0 0 auto; }
.mk-money.is-coin { width: calc(var(--coin) * .9); height: calc(var(--coin) * .9); }
.mk-money.is-note { width: calc(var(--coin) * 1.6); height: calc(var(--coin) * .9); }
.mk-money svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 0 rgba(36, 38, 59, .45)); }
.mk-src { cursor: grab; touch-action: none; display: flex; align-items: center; justify-content: center; }
.mk-src.is-coin { width: 64px; height: 64px; }
.mk-src.is-note { width: 96px; height: 60px; }
.mk-src svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 0 rgba(36, 38, 59, .45)); }
[data-layout="short"] .mk-src.is-coin { width: 54px; height: 54px; }
[data-layout="short"] .mk-src.is-note { width: 84px; height: 50px; }
.mk-below { position: absolute; left: 8px; right: 8px; top: 62%; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mk-track { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: center; font-weight: 1000; font-size: clamp(16px, 2.2vw, 24px); }
.mk-track .tk-pt { background: #fff; border: 3px solid var(--ink); border-radius: 12px; padding: 0 8px; }
.mk-track .tk-pt.is-start { background: #FFE3C2; }
.mk-track .tk-step { color: #17A565; }
.mk-track .tk-goal { color: var(--ink-2); }
.mk-customer { position: absolute; right: 10px; top: 16%; width: clamp(70px, 12%, 110px); z-index: 3; }
.mk-customer > svg { width: 100%; height: auto; display: block; }
.mk-paid { position: absolute; left: -46px; bottom: -10px; width: 64px; }
.mk-paid svg { width: 100%; height: auto; }
.mk-customer.is-happy > svg { animation: goat-happy .4s ease 3; }
.eng-market:has(.mk-customer) .mk-bell { margin-right: clamp(80px, 14%, 120px); }
.mk-offer { width: 90px; animation: tk-float 2s ease-in-out infinite; }
.mk-offer svg { width: 100%; height: auto; }
.mk-piggy { position: absolute; left: 10px; top: 12%; width: clamp(90px, 18%, 150px); z-index: 2; }
.mk-piggy svg { width: 100%; height: auto; }
.mk-pile { position: absolute; left: 22%; right: 10px; top: 14%; height: 44%; display: flex; flex-wrap: wrap; gap: 4px; align-content: center; justify-content: center; z-index: 3; }
.mk-loose { transform: rotate(var(--r, 0deg)); cursor: grab; touch-action: none; }
.mk-slots { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; align-items: stretch; width: 100%; height: 100%; }
.mk-slot { flex: 1 1 0; min-width: 64px; max-width: 170px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 4px; border: 3px dashed var(--ink); border-radius: 16px; background: rgba(255, 255, 255, .55); }
.mk-slot.tk-drop-ok { background: rgba(255, 229, 138, .6); }
.mk-slot-lbl { width: 46px; height: 32px; display: flex; align-items: center; justify-content: center; }
.mk-slot-lbl svg { max-width: 100%; max-height: 100%; }
.mk-slot-items { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 2px; justify-content: center; align-content: flex-start; --coin: 40px; }
.mk-slot-sum { font-weight: 1000; font-size: 1.1rem; }
.mk-list { display: flex; flex-direction: column; gap: 2px; padding: 6px 10px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 var(--ink); transform: rotate(-2deg); }
.mk-list-h { font-size: .95rem; }
.mk-list-row { display: flex; align-items: center; gap: 6px; font-weight: 1000; font-size: 1.1rem; }
.mk-list-row svg { width: 32px; height: 32px; }
.mk-list.is-support { box-shadow: 0 4px 0 var(--ink), 0 0 0 6px rgba(255, 150, 54, .6); }
.mk-shelf { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 6px; background: #A86A38; border: 3px solid var(--ink); border-radius: 12px; }
.mk-shelf-item { display: flex; flex-direction: column; align-items: center; cursor: grab; touch-action: none; min-width: 56px; }
.mk-shelf-item .mk-item { width: 52px; }
.mk-shelf-item .art-tag { width: 70px; height: auto; }
.mk-basket { position: absolute; right: 10px; top: 16%; width: clamp(110px, 22%, 190px); z-index: 3; }
.mk-basket > svg { width: 100%; height: auto; display: block; }
.mk-basket-items { position: absolute; left: 10%; right: 10%; top: 0; height: 50%; display: flex; flex-wrap: wrap-reverse; gap: 2px; align-content: flex-start; justify-content: center; }
.mk-bitem { width: 34px; height: 34px; cursor: pointer; }
.mk-bitem svg { width: 100%; height: 100%; }
.mk-basket.tk-drop-ok > svg { filter: drop-shadow(0 0 10px #FFC53D); }
.eng-market.is-narrow .mk-stall { flex-wrap: wrap; height: 46%; top: 13%; align-content: flex-end; }
.eng-market.is-narrow .mk-dinka { width: 64px; }
.eng-market.is-narrow .mk-tray { width: 58%; }
.eng-market.is-narrow .mk-counter { top: 50%; }
.eng-market.is-narrow .mk-below { top: 64%; }
.eng-market.no-below { background: linear-gradient(180deg, #BDEBFF 0 34%, #F2DDB0 34%); }
.eng-market.no-below .mk-stall { top: 20%; height: 60%; }
.eng-market.no-below .mk-counter { top: 64%; height: 16%; }
.eng-market.no-below .mk-item { width: clamp(56px, 10vw, 96px); }
.eng-market.no-below .mk-tray { min-height: calc(var(--coin) * 2.6); }
.eng-market.no-below.is-narrow .mk-stall { top: 16%; height: 64%; }
.eng-market.no-below.is-narrow .mk-counter { top: 70%; }
.eng-market.no-below.is-narrow .mk-tray { width: 64%; }
.eng-market.is-list .mk-tray, .eng-market.is-list .mk-bell { visibility: hidden; }

/* ---------------------------------------------------------------- garden */
.eng-garden { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #BDEBFF 0 18%, #3DBE6B 18%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); }
.gd-bed { position: absolute; display: grid; border: 4px solid var(--ink); border-radius: 8px; background: #8A5A3C; box-shadow: 0 5px 0 rgba(36, 38, 59, .5); touch-action: none; cursor: crosshair; }
.gd-bed:focus-visible { outline: 4px solid var(--orange); outline-offset: 3px; }
.gd-cell { width: var(--cell); height: var(--cell); background: #A87148; border: 1px solid rgba(36, 38, 59, .25); display: flex; align-items: center; justify-content: center; position: relative; }
.gd-cell.is-alt { background: #9A6440; }
.gd-cell > svg { width: 92%; height: 92%; pointer-events: none; }
.gd-cell.is-sel { background: #FFE3A1; }
.gd-cell.is-sel.is-alt { background: #FFD884; }
.gd-cell.is-corner, .gd-cell.is-cursor { box-shadow: inset 0 0 0 3px var(--orange); }
.gd-cell.is-count { background: #C9E7B0; }
.gd-bed.is-bands { background: repeating-linear-gradient(0deg, #9A6440 0 6px, #A87148 6px 12px); }
.gd-bed.is-bands::after { content: ""; position: absolute; inset: 6px; background: radial-gradient(circle, #2F9E6B 0 3px, transparent 4px) 0 0 / 14px 12px; opacity: .8; pointer-events: none; }
.gd-label { position: absolute; transform: translate(-50%, -100%); z-index: 6; font-weight: 1000; font-size: clamp(18px, 2.4vw, 26px); background: #FFF6E3; border: 3px solid var(--ink); border-radius: 12px; padding: 0 10px; white-space: nowrap; pointer-events: none; max-width: 96%; overflow: hidden; text-overflow: ellipsis; }
.gd-rowlbl { position: absolute; transform: translateY(-50%); font-weight: 1000; font-size: 14px; color: #fff; text-shadow: 0 2px 0 var(--ink); pointer-events: none; }
.gd-rabbit { position: absolute; z-index: 2; pointer-events: none; }
.gd-rabbit svg { width: 100%; height: auto; }
.gd-thumbs { position: absolute; right: 8px; top: 8px; display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.gd-thumbs[hidden] { display: none; }
.gd-thumb { background: #FFF6E3; border: 3px solid var(--ink); border-radius: 12px; padding: 2px 10px; font-size: 1.1rem; box-shadow: 0 3px 0 var(--ink); }
.gd-counter { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; gap: 4px; background: #FFF6E3; border: 3px solid var(--ink); border-radius: 14px; padding: 2px 10px; font-size: 1.5rem; z-index: 5; }
.gd-counter[hidden] { display: none; }
.gd-sprout { width: 32px; height: 32px; }
.gd-sprout svg { width: 100%; height: 100%; }
.gd-path { position: absolute; z-index: 4; background: repeating-linear-gradient(90deg, #D6D0C4 0 16px, #B8B2A7 16px 20px); border: 3px solid var(--ink); border-radius: 9px; cursor: grab; touch-action: none; opacity: .75; }
.gd-path.is-h { left: -10px; right: -10px; height: 18px; }
.gd-path.is-v { top: -10px; bottom: -10px; width: 18px; background: repeating-linear-gradient(0deg, #D6D0C4 0 16px, #B8B2A7 16px 20px); }
.gd-path.is-set { opacity: 1; box-shadow: 0 0 0 4px rgba(255, 229, 138, .8); }
.gd-path::after { content: ""; position: absolute; inset: -14px; }
.gd-dim { position: absolute; transform: translate(-50%, -50%); font-weight: 1000; font-size: 1.1rem; background: #fff; border: 2px solid var(--ink); border-radius: 8px; padding: 0 6px; pointer-events: none; z-index: 5; }
.gd-tool { min-width: 64px; min-height: 64px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 6px 10px; border: 3px solid var(--ink); border-radius: 18px; background: #fff; box-shadow: 0 4px 0 var(--ink); font-weight: 1000; cursor: pointer; }
.gd-tool > svg { width: 44px; height: 40px; }
.gd-rot > svg { width: 30px; height: 30px; }
[data-layout="short"] .gd-tool { min-width: 56px; min-height: 56px; }
.gd-bed { box-sizing: content-box; }

/* ---------------------------------------------------------------- harvest */
.eng-harvest { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #BDEBFF 0 22%, #3DBE6B 22% 26%, #8A5A3C 26% 46%, #3DBE6B 46%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); display: flex; flex-direction: column; align-items: center; justify-content: space-around; padding: 8px 8px 8px; }
.hv-pile { position: relative; display: flex; gap: 14px; align-items: flex-end; justify-content: center; min-height: 30%; max-width: 78%; z-index: 3; }
.hv-pile[data-n]::after { content: attr(data-n); position: absolute; right: -36px; top: 0; font-weight: 1000; font-size: 1.3rem; background: #FFF6E3; border: 3px solid var(--ink); border-radius: 12px; padding: 0 8px; }
.hv-stack { position: relative; display: flex; flex-wrap: wrap; max-width: calc(var(--cw) * 9); justify-content: center; align-items: flex-end; gap: 0; }
.hv-stack.u10, .hv-stack.u100 { flex-direction: column; flex-wrap: nowrap; align-items: center; }
.hv-item { width: var(--cw); height: calc(var(--cw) * 1.4); margin: -3px -2px; transform: rotate(var(--r, 0deg)); }
.hv-item.u10, .hv-item.u100 { width: calc(var(--cw) * 2); height: calc(var(--cw) * 2); margin: -18px 0 0; }
.hv-item.u10:first-child, .hv-item.u100:first-child { margin-top: 0; }
.hv-item > svg { width: 100%; height: 100%; display: block; }
.hv-item.tk-draggable { cursor: grab; z-index: 2; min-width: 40px; min-height: 40px; }
.hv-item.is-under { pointer-events: none; }
.hv-untie { margin-top: 4px; min-height: 44px; padding: 2px 10px; border: 3px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 1000; box-shadow: 0 3px 0 var(--ink); cursor: pointer; }
.hv-more { font-weight: 1000; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.hv-baskets { display: grid; gap: 10px 8px; justify-content: center; z-index: 2; }
.hv-basket { position: relative; width: var(--bw, 100px); cursor: pointer; }
.hv-basket[hidden] { display: none; }
.hv-basket > svg { width: 100%; height: auto; display: block; }
.hv-basket.tk-drop-ok > svg { filter: drop-shadow(0 0 8px #FFC53D); }
.hv-basket.tk-drop-over > svg { filter: drop-shadow(0 0 14px #FFC53D) brightness(1.08); }
.hv-basket.is-closed > svg { filter: drop-shadow(0 0 10px #FFE58A); }
.hv-basket.is-closed::after { content: "✓"; position: absolute; right: 4px; top: 0; font-weight: 1000; color: #17A565; font-size: 1.4rem; }
.hv-in { position: absolute; left: 8%; right: 8%; bottom: 66%; display: flex; flex-wrap: wrap-reverse; justify-content: center; align-items: flex-end; gap: 0; max-height: 120%; }
.hv-mini.u1 { width: calc(var(--bw) / 7); height: calc(var(--bw) / 5); margin: 0 -1px; }
.hv-mini.u10, .hv-mini.u100 { width: calc(var(--bw) / 3.2); height: calc(var(--bw) / 3.2); }
.hv-mini > svg { width: 100%; height: 100%; }
.hv-n { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font-size: 1.2rem; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.hv-sparrow { position: absolute; right: 10px; top: 6px; z-index: 3; }
.hv-sparrow svg { width: 100%; height: auto; }
.hv-sparrow.is-happy { animation: goat-happy .3s ease 4; }
.hv-rabbit { position: absolute; left: 6px; top: 6px; z-index: 1; }
.hv-rabbit svg { width: 100%; height: auto; }
.hv-rabbit.is-stomp { animation: stomp .2s ease 4; }
@keyframes stomp { 50% { transform: translateY(-8px) rotate(-4deg); } }
.hv-deal { min-height: 64px; font-size: 1.2rem; }
.hv-stack.u10, .hv-stack.u100 { flex-direction: row; flex-wrap: wrap; align-items: flex-end; max-width: calc(var(--cw) * 7); }
.hv-item.u10, .hv-item.u100 { margin: 0 -10px 0 0; }
.hv-stack .hv-untie { order: 99; width: 100%; }
.tray-box:not(:has(> :not([hidden]))) { display: none; }

/* ---------------------------------------------------------------- fence and tiles */
.eng-fence { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #BDEBFF 0 14%, #3DBE6B 14%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); }
.fc-svg { position: absolute; left: 0; top: 0; touch-action: none; }
.fc-svg:focus-visible { outline: 4px solid var(--orange); outline-offset: -6px; border-radius: 20px; }
.fc-edge { transition: stroke .2s; }
.fc-edge.is-gap { stroke: #FF9636 !important; stroke-dasharray: none !important; animation: hint-pulse 1s 2; }
.fc-hit { cursor: pointer; }
.fc-cell { cursor: pointer; }
.fc-handle { cursor: grab; }
.fc-lbl.is-info rect { fill: #FFE58A; }
.fc-lbl.is-unit rect { fill: #fff; }
.fc-rabbit { position: absolute; right: 6px; bottom: 4px; pointer-events: none; }
.fc-rabbit svg { width: 100%; height: auto; }
.fc-row[aria-pressed="true"] { background: var(--sun); }
.fc-row-ico { width: 34px; height: 12px; background: repeating-linear-gradient(90deg, #FFE3C2 0 9px, #24263B 9px 11px); border: 2px solid var(--ink); border-radius: 3px; }

/* ---------------------------------------------------------------- bakery */
.eng-bakery { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #FFE3C2 0 70%, #C98952 70%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); }
.bk-svg { position: absolute; left: 0; top: 0; touch-action: none; cursor: crosshair; }
.bk-svg:focus-visible { outline: 4px solid var(--orange); outline-offset: -6px; border-radius: 20px; }
.bk-groove { cursor: pointer; }
.bk-groove:focus-visible path { stroke: #FF9636 !important; }
.bk-chord { animation: tk-reject .42s ease 2; }
.bk-mice { position: absolute; left: 0; right: 0; bottom: 6px; height: var(--mh, 90px); display: flex; justify-content: center; align-items: flex-end; gap: 4px; padding: 0 70px; }
.bk-mouse { position: relative; flex: 0 1 calc(var(--mh) * .8); max-width: calc(var(--mh) * .8); }
.bk-mouse > svg { width: 100%; height: auto; display: block; }
.bk-plate { position: absolute; left: 6%; right: 6%; bottom: -4px; height: 10px; background: #fff; border: 2px solid var(--ink); border-radius: 50%; }
.bk-plate.is-full::after { content: ""; position: absolute; left: 30%; right: 30%; bottom: 4px; height: 12px; background: #E2483D; border: 2px solid var(--ink); border-radius: 40% 40% 10% 10%; }
.bk-mice.is-squabble .bk-mouse { animation: stomp .18s ease 6; }
.bk-mice.is-happy .bk-mouse { animation: goat-happy .4s ease 3; }
.bk-pita { position: absolute; right: 8px; bottom: 6px; pointer-events: none; }
.bk-pita svg { width: 100%; height: auto; }
.bk-wheel { display: flex; align-items: center; gap: 6px; }
.bk-wheel .dial-win { width: 58px; height: 52px; margin: 0; font-size: 30px; }
.bk-wheel .dial-btn { width: 52px; height: 52px; font-size: 1.6rem; font-weight: 1000; }
.bk-cut { min-height: 64px; font-size: 1.2rem; }
.bk-center { animation: hint-pulse 1s ease-in-out infinite; }

/* ---------------------------------------------------------------- plates */
.eng-plates { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #FFE3C2 0 52%, #C98952 52% 56%, #F6C9A7 56%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); display: flex; flex-direction: column; align-items: center; justify-content: space-evenly; padding: 6px; }
.eng-plates.is-port { justify-content: space-around; }
.eng-plates.is-row { flex-direction: row; background: linear-gradient(180deg, #FFE3C2 0 70%, #C98952 70% 74%, #F6C9A7 74%); }
.pl-counter { display: flex; align-items: flex-end; justify-content: center; gap: 18px; flex-wrap: wrap; max-width: 100%; }
.pl-guests { display: flex; align-items: flex-end; justify-content: center; gap: 12px; flex-wrap: wrap; max-width: 100%; }
.pl-pie { position: relative; width: var(--pie); height: var(--pie); }
.pl-pie.is-bar { height: calc(var(--pie) * .7); }
.pl-tin { position: absolute; inset: 2%; border-radius: 50%; background: #fff; border: 4px solid var(--ink); box-shadow: 0 5px 0 rgba(36, 38, 59, .4); }
.pl-pie.is-bar .pl-tin { border-radius: 16px; inset: 18% 0; }
.pl-layer { position: absolute; inset: 6%; }
.pl-pie > .pl-svg { position: absolute; inset: 6%; width: 88%; height: 88%; }
.pl-piece { position: absolute; inset: 0; pointer-events: none; }
.pl-piece .pl-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.pl-piece .pl-hit { pointer-events: visiblePainted; cursor: grab; }
.pl-piece.tk-dragging .pl-svg, .pl-piece.tk-selected .pl-svg { filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .3)); }
.pl-piece.tk-selected { outline: none !important; }
.pl-piece.tk-selected .pl-hit { stroke: var(--orange); stroke-width: 7; }
.pl-piece.is-eatable .pl-hit { cursor: pointer; }
.pl-piece.is-eaten { opacity: .15; filter: grayscale(1); }
.pl-unit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 1000; font-size: 1rem; color: #fff; text-shadow: 0 2px 0 var(--ink); display: flex; align-items: center; gap: 2px; pointer-events: none; }
.pl-unit i { width: 18px; height: 20px; display: inline-flex; }
.pl-unit svg { width: 100%; height: 100%; }
.pl-seat { display: flex; flex-direction: column; align-items: center; gap: 0; }
.pl-guest { width: clamp(46px, calc(var(--plate) * .42), 90px); margin-bottom: -10px; z-index: 2; }
.pl-guest svg { width: 100%; height: auto; display: block; }
.pl-guest.is-happy svg { animation: goat-happy .4s ease 3; }
.pl-plate { position: relative; width: var(--plate); height: var(--plate); }
.pl-plate.is-big { width: calc(var(--plate) * 1.2); height: calc(var(--plate) * 1.2); }
.pl-plate.is-small { width: calc(var(--plate) * .7); height: calc(var(--plate) * .7); }
.pl-dish { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #fff 0 58%, #E6F1FB 59% 70%, #fff 71%); border: 4px solid var(--ink); box-shadow: 0 5px 0 rgba(36, 38, 59, .4); }
.pl-plate > .pl-layer { inset: 12%; }
.pl-plate > .pl-svg { position: absolute; inset: 12%; width: 76%; height: 76%; pointer-events: none; }
.pl-plate.tk-drop-ok .pl-dish { box-shadow: 0 5px 0 rgba(36, 38, 59, .4), 0 0 0 6px rgba(255, 197, 61, .7); }
.pl-plate.tk-drop-over .pl-dish { box-shadow: 0 5px 0 rgba(36, 38, 59, .4), 0 0 0 9px var(--sun); }
.pl-plate.is-items > .pl-layer { display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 2px; inset: 16%; }
.pl-plate.is-items[data-n]:not([data-n=""])::after { content: attr(data-n); position: absolute; right: -6px; top: -6px; background: #fff; border: 3px solid var(--ink); border-radius: 12px; padding: 0 6px; font-weight: 1000; }
.pl-cake { width: calc(var(--plate) * .2); height: calc(var(--plate) * .18); min-width: 36px; min-height: 32px; cursor: grab; touch-action: none; }
.pl-cake svg { width: 100%; height: 100%; }
.pl-ghost { position: absolute; inset: 12%; opacity: .45; pointer-events: none; }
.pl-ghost .pl-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-ghost .pl-hit { fill: #FFE58A; }
.pl-spares { display: flex; gap: 8px; }
.pl-spare { width: 72px; height: 72px; border: 3px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 0 4px 0 var(--ink); padding: 4px; cursor: grab; touch-action: none; }
.pl-spare-in { width: 100%; height: 100%; }
.pl-spare-in svg { width: 100%; height: 100%; }
.pl-pile { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; max-width: 70%; }
.pl-straw { width: 34px; height: 38px; }
.pl-straw svg { width: 100%; height: 100%; }
.pl-straw.tk-draggable { cursor: grab; }
.pl-bowl { position: relative; width: clamp(80px, 13vw, 130px); cursor: pointer; }
.pl-bowl > svg { width: 100%; height: auto; display: block; }
.pl-bowl.tk-drop-ok > svg { filter: drop-shadow(0 0 8px #FFC53D); }
.pl-bowl.is-picked > svg { filter: drop-shadow(0 0 10px #FF9636); transform: translateY(-6px); }
.pl-in { position: absolute; left: 10%; right: 10%; bottom: 60%; display: flex; flex-wrap: wrap-reverse; justify-content: center; }
.pl-mini { width: 16px; height: 18px; }
.pl-mini svg { width: 100%; height: 100%; }
.pl-n { position: absolute; left: 50%; bottom: 10%; transform: translateX(-50%); color: #fff; text-shadow: 0 2px 0 var(--ink); font-size: 1.2rem; }
.pl-slot { position: relative; align-self: center; }
.pl-over { min-height: 60px; }

/* ---------------------------------------------------------------- stories */
.eng-story { border: 4px solid var(--ink); border-radius: 24px; background: linear-gradient(180deg, #2B2F6B 0%, #3F4A8A 100%); box-shadow: 0 5px 0 rgba(36, 38, 59, .5); display: flex; flex-direction: column; gap: 8px; padding: 8px; }
.st-comic { flex: 0 0 auto; display: flex; gap: 8px; height: clamp(64px, 22%, 130px); }
.eng-story.is-bars .st-comic { height: clamp(44px, 12%, 70px); }
.st-panel { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; background: #FFF6E3; border: 4px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 rgba(0, 0, 0, .35); transform: rotate(-1deg); overflow: hidden; font-weight: 1000; font-size: clamp(18px, 2.6vw, 30px); }
.st-panel:nth-child(2) { transform: rotate(1deg); }
.st-panel.is-q { background: #FFE58A; }
.st-icons { display: inline-flex; flex-wrap: wrap; justify-content: center; max-width: 70%; }
.st-icons i { width: calc(var(--obj) * .7); height: calc(var(--obj) * .7); display: inline-flex; }
.st-icons svg { width: 100%; height: 100%; }
.st-op { font-size: 1.4em; color: var(--tomato); }
.st-brojko { height: 90%; display: inline-flex; }
.st-brojko svg { height: 100%; width: auto; }
.st-qm { font-size: 1.8em; color: var(--ink); }
.st-stage { flex: 1 1 auto; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; }
.st-act { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 10px 80px 10px 10px; background: rgba(255, 255, 255, .08); border-radius: 16px; }
.st-act.tk-drop-ok { box-shadow: inset 0 0 0 5px rgba(255, 197, 61, .7); }
.st-row { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; align-items: flex-end; }
.st-obj { width: var(--obj); height: var(--obj); display: inline-flex; position: relative; }
.st-obj > svg { width: 100%; height: 100%; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, .35)); }
.st-obj.is-ten { width: calc(var(--obj) * 2.1); height: calc(var(--obj) * 1.1); background: #FFF6E3; border: 3px solid var(--ink); border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; }
.st-obj.is-ten b { position: absolute; right: 2px; bottom: -2px; font-size: .9rem; }
.st-ten { display: grid; grid-template-columns: repeat(5, 1fr); width: 92%; }
.st-ten i { display: inline-flex; width: 100%; aspect-ratio: 1; }
.st-ten svg { width: 100%; height: 100%; }
.st-obj.is-new { animation: tk-pop-in .35s var(--ease-pop) both; cursor: pointer; }
.st-obj.tk-draggable { cursor: grab; }
.st-obj.is-pair { filter: drop-shadow(0 0 6px #9FE3F2); }
.st-obj.is-extra { filter: drop-shadow(0 0 10px #FFE58A); animation: hint-pulse 1s 3; }
.st-src { width: 64px; height: 64px; background: #fff; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 0 4px 0 var(--ink); padding: 6px; cursor: grab; touch-action: none; }
.st-src.is-ten { width: 110px; }
.st-gone { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 72px; height: 90px; }
.st-gone svg { width: 100%; height: 100%; }
.st-gone.tk-drop-ok { filter: drop-shadow(0 0 10px #FFC53D); }
.st-pair { min-height: 64px; font-size: 1.2rem; }
.bm { width: 100%; max-width: 760px; display: flex; flex-direction: column; gap: 12px; padding: 8px; }
.bm-parts { display: flex; gap: 6px; }
.bm-parts.is-groups { flex-wrap: nowrap; }
.bm-slot { display: flex; flex-direction: column; gap: 2px; flex: var(--len, 1) 1 0; min-width: 70px; }
.bm-slot.is-count { flex: 0 0 auto; width: 160px; align-self: flex-start; }
.bm-lbl { font-weight: 1000; font-size: .85rem; color: #FFE58A; letter-spacing: .05em; }
.bm-bar { position: relative; height: clamp(44px, 9vh, 62px); border: 4px solid var(--ink); border-radius: 10px; background: #FFF6E3; box-shadow: 0 4px 0 rgba(0, 0, 0, .35); display: flex; align-items: center; justify-content: center; }
.is-whole .bm-bar { background: #FFD9A8; }
.is-part .bm-bar, .is-unit .bm-bar { background: #B7F0E8; }
.is-big .bm-bar { background: #DCD3FF; }
.is-small .bm-bar { background: #B7F0E8; }
.is-diff .bm-bar { background: repeating-linear-gradient(45deg, #FFE3A1 0 8px, #FFF6E3 8px 16px); }
.is-count .bm-bar { background: #fff; border-style: dashed; }
.bm-ghostbar { flex: 1 1 0; display: flex; flex-direction: column; justify-content: flex-end; }
.bm-ghostbar .bm-bar { background: rgba(183, 240, 232, .55); border-style: dashed; }
.bm-drop { min-width: 64px; min-height: 40px; display: flex; align-items: center; justify-content: center; }
.bm-slot.tk-drop-ok .bm-bar { box-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 0 5px rgba(255, 197, 61, .7); }
.bm-slot.tk-drop-over .bm-bar { box-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 0 0 8px var(--sun); }
.bm-tile { min-width: 64px; height: 56px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 0 4px 0 var(--ink); font-weight: 1000; font-size: 1.5rem; cursor: grab; touch-action: none; }
.bm-tile.is-q { background: repeating-linear-gradient(45deg, #FFE3A1 0 8px, #fff 8px 16px); }
.bm-tile.is-opt { background: var(--sun); min-width: 56px; }
.bm-tile.is-in { cursor: default; box-shadow: none; height: 44px; font-size: 1.3rem; }
.eq-board { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; background: var(--board); border: 6px solid var(--wood); border-radius: 14px; box-shadow: 0 5px 0 rgba(0, 0, 0, .4); flex-wrap: wrap; }
.eq-slot { min-width: 74px; height: 62px; display: inline-flex; align-items: center; justify-content: center; border: 3px dashed var(--chalk); border-radius: 12px; color: var(--chalk); font-weight: 1000; font-size: 1.8rem; padding: 0 8px; }
.eq-slot.is-op { min-width: 58px; }
.eq-slot.is-full { border-style: solid; background: rgba(255, 255, 255, .1); }
.eq-slot.tk-drop-ok { background: rgba(255, 229, 138, .25); }
.eq-eq { color: var(--chalk); font-weight: 1000; font-size: 1.8rem; }
[data-layout="short"] .bm-tile { min-width: 56px; height: 52px; font-size: 1.25rem; }
[data-layout="short"] .bm-bar { height: 40px; }

/* short landscape: the kit toggles fold into one settings button everywhere */
[data-layout="short"] .tk-compact .tk-ctl-wide { display: none; }
[data-layout="short"] .tk-compact .tk-ctl-narrow { display: inline-flex !important; }
.pa.h { display: flex; justify-content: center; }
.pa.h > svg { height: 100%; width: auto; }
.intro-dg.is-fly { animation: dg-fly 1.6s ease-out both; }
@keyframes dg-fly { from { transform: translate(0, 0) rotate(0); opacity: 0; } 30% { opacity: 1; } to { transform: translate(var(--dx), 40px) rotate(var(--r)); } }
.intro-zb { animation: zb-in 1s var(--ease-pop) both; }
.intro-bottle { animation: bottle 2.4s ease-in-out infinite; }
@keyframes bottle { 50% { transform: translateY(-8px) rotate(6deg); } }
.intro-okica { animation: bob 3.4s ease-in-out infinite; }
.ovl.saved-ovl { background: radial-gradient(circle at 50% 40%, rgba(43, 47, 107, .96), rgba(14, 20, 44, .98)); }
.saved-ovl .lh-mini { z-index: 1; }
[data-layout="short"] .avatars .pcard { width: auto; height: auto; max-height: none; }
.par-about a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; margin: 2px; border: 2px solid var(--sky); border-radius: 12px; text-decoration: none; }
[data-layout="short"] .par { grid-template-columns: 150px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding: 8px 12px; gap: 8px; }
[data-layout="short"] .par-head { grid-column: 1 / -1; }
[data-layout="short"] .par-head h1 { font-size: 1.2rem; }
[data-layout="short"] .par-head .pic-btn { width: 3rem; height: 3rem; }
[data-layout="short"] .par-sections { grid-column: 1; grid-row: 2; flex-direction: column; flex-wrap: nowrap; }
[data-layout="short"] .par-body { grid-column: 2; grid-row: 2; padding: 8px 10px; gap: 6px; }
[data-layout="short"] .par-row .lbl { min-width: 6.5em; }
[data-layout="short"] .seg button { min-height: 40px; padding: .3rem .6rem; }
[data-layout="short"] .skill { font-size: .8rem; }
[data-layout="short"] .tray-box { display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); justify-content: center; align-content: center; justify-items: center; gap: 6px; }
[data-layout="short"] .par-about { font-size: .8rem; line-height: 1.3; }
[data-layout="short"] .par-about p { margin: .2em 0; }
