/* ===== BLC Arcade — shared look for the Challenges games ===== */
body.arcade-body { background-color: #0d0a26; background-image: radial-gradient(1200px 600px at 80% -10%, #3b1a7a99, transparent), radial-gradient(900px 500px at -10% 30%, #00b3c744, transparent); background-attachment: fixed; }
body.arcade-body main { color: #f2f0ff; }
.arcade { --ac: #00e5ff; --ac2: #ff3ea5; max-width: 900px; margin: 0 auto; padding: 1.2rem 1rem 3rem; font-family: 'Poppins', sans-serif; position: relative; }
.arcade * { box-sizing: border-box; }
.arcade h1, .arcade h2, .arcade h3 { font-family: 'Baloo 2', 'Poppins', sans-serif; color: #fff; margin: 0; border: 0; }
.ar-crumb { font-size: .85rem; opacity: .7; margin-bottom: .6rem; }
.ar-crumb a { color: var(--ac); }

.ar-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 1.4rem; backdrop-filter: blur(6px); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ar-hero { text-align: center; padding: 2rem 1.2rem 1.6rem; }
.ar-emoji { font-size: 4.2rem; line-height: 1; filter: drop-shadow(0 0 18px var(--ac)); animation: arFloat 3s ease-in-out infinite; }
.ar-hero h1 { font-size: clamp(2rem, 6vw, 3.2rem); background: linear-gradient(90deg, var(--ac), var(--ac2)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: .4rem 0; }
.ar-tag { font-size: 1.1rem; opacity: .9; margin: 0 0 1.1rem; }
.ar-how { list-style: none; padding: 0; margin: 0 auto 1.4rem; max-width: 520px; text-align: left; display: grid; gap: .5rem; }
.ar-how li { background: rgba(255,255,255,.07); border-radius: 14px; padding: .6rem .9rem; display: flex; gap: .7rem; align-items: center; }
.ar-how li b { color: var(--ac); }
.ar-how .n { flex: 0 0 auto; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ac); color: #0d0a26; font-weight: 800; display: grid; place-items: center; }

.ar-btn { appearance: none; border: 0; cursor: pointer; font: 700 1.15rem 'Baloo 2', 'Poppins', sans-serif; color: #0d0a26; padding: .8rem 1.8rem; border-radius: 999px; background: linear-gradient(135deg, var(--ac), #7cf7ff); box-shadow: 0 6px 0 rgba(0,0,0,.35), 0 0 22px color-mix(in srgb, var(--ac) 50%, transparent); transition: transform .12s, box-shadow .12s; }
.ar-btn:hover { transform: translateY(-2px); }
.ar-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0,0,0,.35); }
.ar-btn.alt { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); box-shadow: none; }
.ar-btn.pink { background: linear-gradient(135deg, var(--ac2), #ff9bd2); }
.ar-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.ar-btn.big { font-size: 1.5rem; padding: 1rem 2.6rem; animation: arPulse 1.6s infinite; }

/* HUD */
.ar-hud { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .8rem; }
.ar-pill { flex: 1 1 90px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: .4rem .8rem; text-align: center; }
.ar-pill small { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.ar-pill b { font: 800 1.5rem 'Baloo 2', sans-serif; color: var(--ac); }
.ar-pill.hot b { color: #ffd23f; }
.ar-timebar { height: 10px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; margin-bottom: 1rem; }
.ar-timebar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--ac2), var(--ac)); transition: width .25s linear; }
.ar-timebar.low i { background: #ff4d4d; }
.ar-stage { position: relative; min-height: 300px; }
.ar-stage.flash-good { animation: arGood .45s; }
.ar-stage.flash-bad { animation: arBad .4s; }
.ar-pop { position: absolute; pointer-events: none; font: 800 1.6rem 'Baloo 2', sans-serif; color: #ffd23f; text-shadow: 0 2px 8px #000; animation: arRise .9s forwards; z-index: 20; }
.ar-pop.neg { color: #ff6b6b; }
.ar-prompt { text-align: center; font: 700 1.2rem 'Baloo 2', sans-serif; opacity: .9; margin: 0 0 .6rem; }
.ar-big { text-align: center; font: 800 clamp(3rem, 12vw, 5.5rem)/1 'Baloo 2', sans-serif; color: #fff; text-shadow: 0 0 24px var(--ac); margin: .3rem 0 1rem; }
.ar-msg { text-align: center; min-height: 1.6rem; font-weight: 600; margin-top: .6rem; }
.ar-msg.good { color: #62ff9a; } .ar-msg.bad { color: #ff7b7b; }

/* End screen */
.ar-end { text-align: center; }
.ar-end .score { font: 800 clamp(3.5rem, 14vw, 6rem)/1 'Baloo 2', sans-serif; background: linear-gradient(90deg, var(--ac), var(--ac2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ar-end .grade { font-size: 1.3rem; margin: .2rem 0 1rem; }
.ar-tiles { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin: 1rem 0; }
.ar-tile { background: rgba(255,255,255,.08); border-radius: 14px; padding: .5rem 1rem; min-width: 100px; }
.ar-tile b { display: block; font: 800 1.4rem 'Baloo 2', sans-serif; color: var(--ac); }
.ar-tile small { opacity: .75; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; }
.ar-save { background: rgba(0,0,0,.25); border-radius: 18px; padding: 1rem; margin: 1.2rem auto; max-width: 520px; text-align: left; }
.ar-save h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.ar-save .row { display: flex; gap: .6rem; flex-wrap: wrap; }
.ar-save label { flex: 1 1 140px; font-size: .8rem; font-weight: 600; opacity: .9; }
.ar-save label.grow { flex: 2 1 200px; }
.ar-save input, .ar-save select { display: block; width: 100%; margin-top: .2rem; padding: .6rem .7rem; font: 600 1rem 'Poppins', sans-serif; border-radius: 12px; border: 2px solid rgba(255,255,255,.25); background: #1b1545; color: #fff; }
.ar-save input:focus, .ar-save select:focus { outline: 3px solid var(--ac); border-color: var(--ac); }
.ar-save .hint { font-size: .75rem; opacity: .7; margin: .5rem 0 .7rem; }
.ar-save .ar-btn { width: 100%; }
.ar-err { color: #ff8d8d; font-weight: 600; margin-top: .5rem; min-height: 1.2rem; }

/* Leaderboard */
.ar-board h3 { font-size: 1.3rem; margin: .4rem 0 .6rem; text-align: center; }
.ar-tabs { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-bottom: .8rem; }
.ar-tabs button { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: .3rem .8rem; border-radius: 99px; cursor: pointer; font: 600 .85rem 'Poppins', sans-serif; }
.ar-tabs button.on { background: var(--ac); color: #0d0a26; border-color: var(--ac); }
.ar-rows { list-style: none; padding: 0; margin: 0 auto; max-width: 520px; display: grid; gap: .35rem; text-align: left; }
.ar-rows li { display: grid; grid-template-columns: 2.4rem 1fr auto auto; gap: .6rem; align-items: center; background: rgba(255,255,255,.07); padding: .45rem .8rem; border-radius: 12px; }
.ar-rows li.me { outline: 2px solid var(--ac); background: rgba(0,229,255,.12); }
.ar-rows .rk { font: 800 1.1rem 'Baloo 2', sans-serif; text-align: center; }
.ar-rows .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar-rows .sc { font: 800 1.15rem 'Baloo 2', sans-serif; color: var(--ac); }
.ar-y { font-size: .72rem; font-weight: 800; padding: .1rem .5rem; border-radius: 99px; color: #0d0a26; }
.ar-y7 { background: #3da5ff; } .ar-y8 { background: #ff7a7a; } .ar-y9 { background: #2fd37a; } .ar-y10 { background: #ffb347; } .ar-y11 { background: #c79bff; }
.ar-empty { text-align: center; opacity: .7; padding: 1rem; }
.ar-battle { max-width: 520px; margin: 1.2rem auto 0; }
.ar-battle h4 { text-align: center; font: 700 1.05rem 'Baloo 2', sans-serif; margin: 0 0 .5rem; color: #fff; }
.ar-bar { display: grid; grid-template-columns: 4.2rem 1fr 3.6rem; align-items: center; gap: .5rem; margin: .3rem 0; font-size: .85rem; }
.ar-bar .track { height: 20px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.ar-bar .fill { height: 100%; border-radius: 99px; transition: width .8s cubic-bezier(.2,.9,.3,1); width: 0; }
.ar-bar small { opacity: .7; }
.ar-youmsg { text-align: center; font: 700 1.2rem 'Baloo 2', sans-serif; color: #ffd23f; margin: .5rem 0; }

/* Embedded save/board on older pages */
.arcade-embed { --ac: #00e5ff; --ac2: #ff3ea5; color: #f2f0ff; background: #14103a; border-radius: 20px; padding: 1.2rem; margin: 1.2rem 0; font-family: 'Poppins', sans-serif; }
.arcade-embed h3 { color: #fff; font-family: 'Baloo 2', sans-serif; }

/* Mute + confetti */
.ar-mute { position: absolute; right: .8rem; top: 0; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 99px; padding: .2rem .7rem; cursor: pointer; font-size: 1rem; }
#ar-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 999; }

@keyframes arFloat { 50% { transform: translateY(-8px) rotate(-4deg); } }
@keyframes arPulse { 50% { transform: scale(1.05); } }
@keyframes arRise { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-60px); opacity: 0; } }
@keyframes arGood { 0% { box-shadow: 0 0 0 0 rgba(98,255,154,.6); } 100% { box-shadow: 0 0 0 30px rgba(98,255,154,0); } }
@keyframes arBad { 20% { transform: translateX(-8px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-6px); } 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .arcade *, .arcade-embed * { animation: none !important; transition: none !important; } }
@media (max-width: 600px) { .ar-rows li { grid-template-columns: 2rem 1fr auto; } .ar-rows li .ar-y { display: none; } }

/* ================= Game-specific ================= */
/* Binary Blitz */
.bb-switches { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0; }
.bb-bit { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.bb-bit button { width: 64px; height: 90px; border-radius: 16px; border: 3px solid rgba(255,255,255,.3); background: #1b1545; color: #7d74b8; font: 800 2.2rem 'Baloo 2', sans-serif; cursor: pointer; transition: all .12s; }
.bb-bit button.on { background: linear-gradient(180deg, #7cf7ff, var(--ac)); color: #0d0a26; border-color: #fff; box-shadow: 0 0 22px var(--ac); transform: translateY(-4px); }
.bb-bit span { font: 700 .95rem 'Baloo 2', sans-serif; opacity: .85; }
.bb-live { text-align: center; opacity: .8; font-weight: 600; }
.bb-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; max-width: 460px; margin: 1rem auto; }
.bb-opts button { padding: 1rem; border-radius: 16px; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; font: 800 1.8rem 'Baloo 2', sans-serif; cursor: pointer; }
.bb-opts button:hover { background: rgba(255,255,255,.18); }
.bb-opts button.right { background: #1fa65a; border-color: #62ff9a; }
.bb-opts button.wrong { background: #b83a3a; border-color: #ff7b7b; }
.bb-pattern { display: flex; gap: .4rem; justify-content: center; margin: .6rem 0 1rem; }
.bb-pattern i { width: 44px; height: 56px; border-radius: 12px; display: grid; place-items: center; font: 800 1.6rem 'Baloo 2', sans-serif; font-style: normal; background: #1b1545; color: #7d74b8; border: 2px solid rgba(255,255,255,.25); }
.bb-pattern i.on { background: var(--ac); color: #0d0a26; box-shadow: 0 0 14px var(--ac); }

/* Logic Gates */
.lg-board { display: flex; align-items: center; justify-content: center; gap: 0; overflow-x: auto; padding: 1rem .4rem 1.2rem; background: rgba(0,0,0,.22); border-radius: 18px; border: 2px dashed rgba(255,255,255,.14); }
.lg-node { display: flex; align-items: center; }
.lg-kids { display: flex; flex-direction: column; gap: .8rem; align-self: stretch; justify-content: center; }
.lg-wire { width: 28px; height: 5px; background: #3c3470; border-radius: 4px; transition: background .15s, box-shadow .15s; flex: 0 0 auto; }
.lg-wire.on { background: #62ff9a; box-shadow: 0 0 10px #62ff9a; }
.lg-gate { position: relative; align-self: stretch; min-width: 104px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: .6rem .7rem; border-radius: 14px; background: #1b1545; border: 3px solid #3c3470; color: #bdb4ff; transition: all .15s; }
.lg-gate.single { align-self: center; }
.lg-gate b { font: 800 1.25rem 'Baloo 2', sans-serif; line-height: 1.1; }
.lg-gate small { font-size: .72rem; opacity: .85; margin-top: .15rem; }
.lg-gate .lg-dot { position: absolute; top: 6px; right: 7px; width: 11px; height: 11px; border-radius: 50%; background: #3c3470; transition: all .15s; }
.lg-gate.on { border-color: #62ff9a; color: #62ff9a; box-shadow: 0 0 14px rgba(98,255,154,.5); }
.lg-gate.on .lg-dot { background: #62ff9a; box-shadow: 0 0 8px #62ff9a; }
.lg-in { display: flex; flex-direction: column; align-items: center; gap: .2rem; width: 92px; padding: .5rem .4rem .45rem; border-radius: 16px; border: 3px solid #3c3470; background: #1b1545; color: #bdb4ff; cursor: pointer; transition: all .12s; }
.lg-in .lg-name { font: 800 1.5rem 'Baloo 2', sans-serif; line-height: 1; }
.lg-in small { font-size: .72rem; font-weight: 700; opacity: .9; }
.lg-sw { position: relative; width: 56px; height: 28px; border-radius: 99px; background: #3c3470; transition: background .15s; }
.lg-sw i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #bdb4ff; transition: left .15s, background .15s; }
.lg-in.on { border-color: #62ff9a; color: #62ff9a; box-shadow: 0 0 16px rgba(98,255,154,.45); }
.lg-in.on .lg-sw { background: #2fd37a; }
.lg-in.on .lg-sw i { left: 31px; background: #fff; }
.lg-in:hover { transform: translateY(-2px); }
.lg-board.tip .lg-in { animation: lgPulse 1.4s ease-in-out infinite; }
@keyframes lgPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,210,63,.0); } 50% { box-shadow: 0 0 0 6px rgba(255,210,63,.45); } }
.lg-out { display: flex; flex-direction: column; align-items: center; margin-left: .2rem; min-width: 92px; }
.lg-bulb { font-size: 4rem; line-height: 1; filter: grayscale(1) brightness(.5); transition: all .2s; }
.lg-bulb.on { filter: none; text-shadow: 0 0 40px #ffd23f; transform: scale(1.12); }
.lg-bulb-state { font: 800 .9rem 'Baloo 2', sans-serif; color: #bdb4ff; margin-top: .2rem; }
.lg-out.on .lg-bulb-state { color: #ffd23f; }
.lg-want { font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: rgba(255,210,63,.18); color: #ffd23f; border-radius: 99px; padding: .15rem .6rem; margin-top: .3rem; }
.lg-out.solved .lg-want { background: #1fa65a; color: #fff; }
.lg-goal { text-align: center; font: 800 1.4rem 'Baloo 2', sans-serif; margin-bottom: .5rem; }
.lg-goal b { color: #ffd23f; }
.lg-goal-tag { display: inline-block; font-size: .75rem; letter-spacing: .08em; background: #ffd23f; color: #2a1f00; border-radius: 99px; padding: .1rem .7rem; vertical-align: middle; margin-right: .3rem; }
.lg-tip { text-align: center; color: #ffd23f; font-weight: 700; margin-bottom: .6rem; }
.lg-key { text-align: center; font-size: .78rem; opacity: .8; margin-top: .6rem; }
.lg-key span { display: inline-block; width: 11px; height: 11px; border-radius: 50%; vertical-align: middle; }
.lg-key .k-on { background: #62ff9a; box-shadow: 0 0 6px #62ff9a; }
.lg-key .k-off { background: #3c3470; }

/* Sort It */
.si-row { display: flex; gap: .5rem; justify-content: center; align-items: flex-end; flex-wrap: nowrap; margin: 1.2rem 0; min-height: 190px; }
.si-card { flex: 1 1 0; max-width: 84px; min-width: 38px; border-radius: 14px 14px 8px 8px; border: 3px solid rgba(255,255,255,.35); background: linear-gradient(180deg, #7b5cff, #4a2fd1); color: #fff; font: 800 1.5rem 'Baloo 2', sans-serif; cursor: pointer; display: flex; align-items: flex-start; justify-content: center; padding-top: .4rem; transition: transform .2s, background .2s; }
.si-card.sel { border-color: #ffd23f; transform: translateY(-14px); box-shadow: 0 0 20px #ffd23f; }
.si-card.ok { background: linear-gradient(180deg, #38e08a, #148a50); }
.si-card:disabled { cursor: default; }
.si-info { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: .4rem; }
.si-rule { text-align: center; background: rgba(255,255,255,.08); border-radius: 14px; padding: .5rem 1rem; margin: 0 auto; max-width: 560px; }

/* Phish or Fine */
.pf-msg { background: #fff; color: #1a1a2e; border-radius: 18px; padding: 1rem 1.2rem; max-width: 560px; margin: .6rem auto 1rem; box-shadow: 0 10px 28px rgba(0,0,0,.4); animation: arPop .25s; }
@keyframes arPop { from { transform: scale(.94); opacity: 0; } }
.pf-head { display: flex; gap: .7rem; align-items: center; border-bottom: 1px solid #e3e3ef; padding-bottom: .6rem; margin-bottom: .6rem; }
.pf-ava { width: 42px; height: 42px; border-radius: 50%; background: #5b4bdb; color: #fff; display: grid; place-items: center; font-weight: 800; flex: 0 0 auto; }
.pf-from { font-weight: 700; line-height: 1.2; word-break: break-all; }
.pf-from small { display: block; font-weight: 500; color: #666; }
.pf-chan { margin-left: auto; font-size: .7rem; font-weight: 700; background: #eee; border-radius: 99px; padding: .15rem .6rem; color: #555; flex: 0 0 auto; }
.pf-subj { font-weight: 800; margin-bottom: .4rem; }
.pf-body { line-height: 1.5; white-space: pre-line; }
.pf-link { color: #1a5fd0; text-decoration: underline; word-break: break-all; }
.pf-msg.sms .pf-body, .pf-msg.dm .pf-body { background: #ecebff; border-radius: 16px; padding: .7rem .9rem; }
.pf-btns { display: flex; gap: .8rem; justify-content: center; }
.pf-btns .ar-btn { min-width: 150px; }
.pf-verdict { max-width: 560px; margin: 0 auto 1rem; border-radius: 16px; padding: .8rem 1rem; font-weight: 600; text-align: center; }
.pf-verdict.good { background: rgba(47,211,122,.2); border: 2px solid #62ff9a; }
.pf-verdict.bad { background: rgba(255,77,77,.2); border: 2px solid #ff7b7b; }
.pf-verdict b { display: block; font: 800 1.3rem 'Baloo 2', sans-serif; }

/* Mouse & Keys */
.mk-area { position: relative; height: 340px; background: rgba(0,0,0,.28); border: 2px dashed rgba(255,255,255,.2); border-radius: 18px; overflow: hidden; cursor: crosshair; }
.mk-t { position: absolute; border-radius: 50%; display: grid; place-items: center; font: 800 1rem 'Baloo 2', sans-serif; color: #0d0a26; border: 3px solid #fff; cursor: pointer; animation: arPop .15s; user-select: none; -webkit-user-select: none; }
.mk-t.click { background: #3de0ff; } .mk-t.dbl { background: #ffb347; } .mk-t.right { background: #d28bff; }
.mk-keys { display: flex; gap: .5rem; justify-content: center; margin: 1rem 0; flex-wrap: wrap; }
.mk-key { background: #fff; color: #1a1a2e; border-radius: 12px; border-bottom: 6px solid #b6b0e6; padding: .6rem 1.2rem; font: 800 2rem 'Baloo 2', sans-serif; min-width: 70px; text-align: center; }
.mk-key.hit { background: #62ff9a; }
.mk-files { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; min-height: 90px; margin-bottom: 1rem; }
.mk-file { background: #fff; color: #1a1a2e; border-radius: 12px; padding: .5rem .8rem; font-weight: 700; cursor: grab; user-select: none; touch-action: none; display: flex; gap: .4rem; align-items: center; box-shadow: 0 4px 0 rgba(0,0,0,.3); }
.mk-file.sel { outline: 3px solid #ffd23f; }
.mk-file.drag { position: fixed; z-index: 50; pointer-events: none; transform: rotate(-4deg) scale(1.08); }
.mk-folders { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .7rem; }
.mk-folder { border: 3px dashed rgba(255,255,255,.35); border-radius: 18px; padding: 1rem .5rem; text-align: center; font-weight: 700; background: rgba(255,255,255,.05); cursor: pointer; transition: all .12s; }
.mk-folder .ico { font-size: 2.4rem; display: block; }
.mk-folder.over { border-color: #ffd23f; background: rgba(255,210,63,.18); transform: scale(1.04); }
.mk-round { text-align: center; font-weight: 700; margin-bottom: .6rem; }

/* Formula Fix (Excel-style) */
.ff-q { text-align: center; font: 700 1.25rem 'Baloo 2', sans-serif; margin: 0 0 .6rem; }
.ff-q code, .ff-opt code { background: rgba(0,0,0,.35); padding: .1rem .5rem; border-radius: 8px; color: #8dffb5; font-family: Consolas, 'Courier New', monospace; font-size: 1.05em; }
.ff-sheet { margin: .4rem auto 1rem; border-collapse: collapse; background: #fff; color: #1a1a2e; font: 600 1rem Consolas, 'Courier New', monospace; box-shadow: 0 8px 22px rgba(0,0,0,.4); border-radius: 8px; overflow: hidden; }
.ff-sheet th { background: #e8efe9; color: #217346; font-weight: 700; padding: .3rem .8rem; border: 1px solid #c9d6cb; min-width: 64px; }
.ff-sheet th.rh { min-width: 34px; }
.ff-sheet td { padding: .45rem .8rem; border: 1px solid #d5ddd6; text-align: right; min-width: 70px; }
.ff-sheet td.cl { cursor: pointer; }
.ff-sheet td.cl:hover { background: #d9f2e1; outline: 2px solid #217346; outline-offset: -2px; }
.ff-sheet td.hl { background: #fff4b8; outline: 2px solid #e0a800; outline-offset: -2px; }
.ff-sheet td.bad { background: #ffd6d6; }
.ff-sheet td.good { background: #c9f7d9; }
.ff-sheet td.txt { text-align: left; font-family: 'Poppins', sans-serif; color: #333; }
.ff-bar { display: flex; max-width: 520px; margin: 0 auto .8rem; border: 2px solid #217346; border-radius: 10px; overflow: hidden; background: #fff; }
.ff-bar span { background: #217346; color: #fff; padding: .4rem .8rem; font: italic 700 1rem serif; }
.ff-bar input { flex: 1; border: 0; padding: .4rem .7rem; font: 600 1.1rem Consolas, monospace; color: #1a1a2e; background: #fff; min-width: 0; }
.ff-bar input:focus { outline: none; background: #f2fff6; }
.ff-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; max-width: 560px; margin: 0 auto; }
.ff-opt { padding: .8rem; border-radius: 14px; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; font-size: 1rem; }
.ff-opt:hover { background: rgba(255,255,255,.18); }
.ff-opt.right { background: #1fa65a; border-color: #62ff9a; }
.ff-opt.wrong { background: #b83a3a; border-color: #ff7b7b; }
.ff-kind { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .15rem .7rem; border-radius: 99px; background: #217346; color: #fff; margin-bottom: .4rem; }
