/* Tablas en Flor (web). Compatible con Safari 12: sin `gap` en flex ni aspect-ratio. */
:root {
  --ink: #303d2e; --ink-soft: rgba(48, 61, 46, 0.7); --ink-faint: rgba(48, 61, 46, 0.45);
  --sky-top: #b8e0ff; --sky-bottom: #f2fae6; --grass: #8bc966; --grass-dark: #5c9e4a;
  --soil: #9e6e4a; --soil-dark: #754d30; --soil-light: #c29166; --wood: #dba366; --wood-dark: #9e6b3b;
  --water: #3b99ed; --leaf: #4da84d; --gold: #ffc72e; --cream: #fffbee; --good: #40b359; --oops: #f28c40;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overflow: hidden; }
body {
  font-family: ui-rounded, "SF Pro Rounded", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink); background: var(--sky-bottom);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
  color-scheme: light;
}
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
input { font: inherit; }
.hidden { display: none !important; }

#backdrop { position: fixed; left: 0; top: 0; right: 0; bottom: 0; background: linear-gradient(var(--sky-top), var(--sky-bottom)); z-index: 0; }
#backdrop .sun { position: absolute; right: 6%; top: 3%; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 242, 153, 1) 0%, rgba(255, 217, 77, 0) 70%); }
#backdrop .hills { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }

#app { position: relative; z-index: 1; height: 100%; overflow: hidden; padding: 16px 20px; padding-top: calc(16px + env(safe-area-inset-top)); }
.screen { height: 100%; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; -webkit-flex: 1; flex: 1; }

/* Tipografía */
.h1 { font-size: 34px; font-weight: 900; }
.h2 { font-size: 26px; font-weight: 900; }
.h3 { font-size: 21px; font-weight: 800; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }

/* Tarjetas y botones */
.card { background: var(--cream); border-radius: 26px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.12); }
.card.white { background: #fff; }
.btn { display: inline-block; font-size: 22px; font-weight: 900; color: #fff; background: var(--water); padding: 14px 24px;
  border-radius: 20px; box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18), 0 5px 8px rgba(0, 0, 0, 0.15); text-align: center;
  transition: transform 0.1s; }
.btn:active { transform: scale(0.96); }
.btn.green { background: var(--leaf); } .btn.gold { background: var(--gold); color: var(--ink); }
.btn.white { background: #fff; color: var(--ink-soft); } .btn.wood { background: var(--wood-dark); }
.btn.orange { background: var(--oops); } .btn.red { background: #e04848; }
.btn.small { font-size: 17px; padding: 10px 16px; border-radius: 16px; }
.btn.block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.5; }
.back { font-size: 19px; font-weight: 800; background: rgba(255, 255, 255, 0.92); padding: 10px 16px; border-radius: 18px; box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); }

.row { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.row > * + * { margin-left: 12px; }
.col { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.center { -webkit-justify-content: center; justify-content: center; -webkit-align-items: center; align-items: center; text-align: center; }
.grow { -webkit-flex: 1; flex: 1; min-width: 0; min-height: 0; }
.spacer { -webkit-flex: 1; flex: 1; }

/* Pipa */
.pipa { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.pipa .bubble { margin-left: 10px; background: #fff; border-radius: 20px; padding: 12px 18px; font-size: 19px; font-weight: 600;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); max-width: 460px; line-height: 1.3; }
.bee { -webkit-animation: bob 1.4s ease-in-out infinite alternate; animation: bob 1.4s ease-in-out infinite alternate; -webkit-flex-shrink: 0; flex-shrink: 0; }
@-webkit-keyframes bob { from { -webkit-transform: translateY(-4px); } to { -webkit-transform: translateY(4px); } }
@keyframes bob { from { transform: translateY(-4px); } to { transform: translateY(4px); } }
.bee .wing { -webkit-animation: flap 0.12s linear infinite alternate; animation: flap 0.12s linear infinite alternate; transform-origin: 50% 100%; -webkit-transform-origin: 50% 100%; }
@-webkit-keyframes flap { to { -webkit-transform: rotate(-22deg); } }
@keyframes flap { to { transform: rotate(-22deg); } }

/* Jardín */
.home { display: -webkit-flex; display: flex; height: 100%; }
.home.landscape { -webkit-flex-direction: row; flex-direction: row; -webkit-align-items: center; align-items: center; }
.home.portrait { -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.garden { background: rgba(92, 158, 74, 0.88); border-radius: 30px; padding: 1.2%; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
  display: grid; grid-template-columns: repeat(11, 1fr); grid-template-rows: repeat(11, 1fr); -webkit-flex-shrink: 0; flex-shrink: 0; }
.garden .sign { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; }
.garden .sign span { background: var(--wood); color: var(--wood-dark); font-weight: 900; border-radius: 22%; width: 82%; height: 70%;
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2); }
.garden .sign.on span { background: var(--water); color: #fff; }
.garden .corner { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; color: var(--wood-dark); font-weight: 900; }
.plot { position: relative; margin: 3.5%; border-radius: 12%; background: linear-gradient(var(--soil-light), var(--soil)); border: 1px solid rgba(117, 77, 48, 0.35); overflow: visible; }
.plot.on { border: 3px solid #fff; box-shadow: 0 0 8px #fff; }
.plot svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.plot .drop { position: absolute; right: -3px; top: -3px; width: 34%; height: 34%; background: #fff; border-radius: 50%; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; }
.plot .weed { position: absolute; left: 2px; bottom: 0; font-size: 11px; }
.plot.thirsty svg { -webkit-filter: saturate(0.45); filter: saturate(0.45); }

.panel { -webkit-flex: 1; flex: 1; max-width: 460px; margin-left: 26px; }
.home.portrait .panel { margin-left: 0; margin-top: 14px; max-width: none; width: 100%; }
.panel > * + * { margin-top: 14px; }
.home.portrait .panel > * + * { margin-top: 10px; }
.week { padding: 10px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); }
.week .day { text-align: center; margin-right: 6px; font-size: 12px; font-weight: 800; color: var(--ink-soft); }
.week .day svg { display: block; margin: 0 auto 2px; }
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 10px; }
.stat { background: rgba(255, 255, 255, 0.85); border-radius: 18px; padding: 8px 4px; text-align: center; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); }
.stat b { font-size: 24px; font-weight: 900; } .stat small { font-size: 13px; color: var(--ink-faint); font-weight: 700; }
.stat div { font-size: 14px; color: var(--ink-soft); font-weight: 700; }
.actions { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; }
.actions .btn { font-size: 19px; padding: 14px 8px; }

/* Sesión */
.topbar { -webkit-flex-shrink: 0; flex-shrink: 0; margin-bottom: 8px; }
.close { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); font-size: 22px; font-weight: 900; color: var(--ink-soft); -webkit-flex-shrink: 0; flex-shrink: 0; }
.progress { height: 24px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); overflow: hidden; }
.progress div { height: 100%; border-radius: 12px; background: linear-gradient(90deg, rgba(59, 153, 237, 0.7), var(--water)); transition: width 0.4s; min-width: 24px; }
.qcard { padding: 14px 26px; display: -webkit-inline-flex; display: inline-flex; -webkit-align-items: center; align-items: center; }
.qnum { font-size: 72px; font-weight: 900; } .qsym { font-size: 54px; font-weight: 700; color: var(--ink-faint); margin: 0 10px; }
.slot { min-width: 120px; padding: 0 12px; height: 92px; line-height: 92px; text-align: center; font-size: 64px; font-weight: 900; border-radius: 20px;
  background: #fff; border: 4px dashed rgba(59, 153, 237, 0.6); }
.slot.filled { border-style: solid; } .slot.good { border-color: var(--good); color: var(--good); border-style: solid; }
.slot.small { height: 66px; line-height: 66px; font-size: 44px; min-width: 96px; }
.keypad { display: grid; grid-template-columns: repeat(3, auto); grid-gap: 12px; -webkit-justify-content: center; justify-content: center; }
.key { width: 76px; height: 76px; border-radius: 50%; background: #fff; font-size: 34px; font-weight: 900; box-shadow: 0 4px 0 rgba(158, 107, 59, 0.35); }
.key:active { -webkit-transform: translateY(3px); transform: translateY(3px); box-shadow: 0 1px 0 rgba(158, 107, 59, 0.35); }
.key.del { background: rgba(219, 163, 102, 0.8); color: #fff; } .key.ok { background: var(--good); color: #fff; }
.focusplot { position: relative; border-radius: 16px; background: linear-gradient(var(--soil-light), var(--soil)); }
.focusplot svg.flower { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.drops { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.drops i { position: absolute; top: -10%; width: 7%; height: 10%; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: rgba(59, 153, 237, 0.85); opacity: 0; }
.drops.go i { -webkit-animation: fall 0.7s ease-in forwards; animation: fall 0.7s ease-in forwards; }
@-webkit-keyframes fall { 0% { opacity: 1; top: -10%; } 100% { opacity: 0; top: 60%; } }
@keyframes fall { 0% { opacity: 1; top: -10%; } 100% { opacity: 0; top: 60%; } }
.hint { background: #fff8d1; border-radius: 20px; padding: 14px 18px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); }
.hint .h3 { color: var(--wood-dark); }
.correct-fact { font-size: 34px; font-weight: 900; color: var(--good); }
.story { padding: 16px 20px; font-size: 23px; font-weight: 600; line-height: 1.3; max-width: 640px; }

/* Bancales */
.bed { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; }
.bed .segs { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.bed .seg { border-radius: 8px; padding: 3px; margin-bottom: 6px; }
.bed .frow { display: -webkit-flex; display: flex; }
.bed .labels { margin-left: 12px; display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; }
.bed .label { font-weight: 900; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; margin-bottom: 6px; }

/* Lecciones y otros */
.dots span { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.7); margin-left: 8px; }
.dots span.on { background: var(--leaf); }
.visualcard { background: rgba(255, 255, 255, 0.93); border-radius: 26px; padding: 18px; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1); }
.seqgrid { display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 10px; width: 100%; }
.seqgrid div { color: #fff; font-size: 34px; font-weight: 900; text-align: center; padding: 14px 0; border-radius: 16px; }
.groups { display: grid; grid-gap: 10px; }
.groups div { text-align: center; background: rgba(139, 201, 102, 0.25); border-radius: 14px; padding: 6px; font-size: 40px; }
.groups small { display: block; font-size: 17px; font-weight: 900; color: var(--ink-faint); }
.overview .line { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 3px 12px; border-radius: 10px; font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.overview .line.known { background: rgba(255, 199, 46, 0.18); } .overview .line.new { color: var(--ink-faint); }
.overview .line span { width: 100px; }
.stairs { display: -webkit-flex; display: flex; -webkit-align-items: flex-end; align-items: flex-end; -webkit-justify-content: center; justify-content: center; }
.stairs div { margin: 0 4px; text-align: center; font-weight: 900; }
.stairs i { display: block; width: 32px; border-radius: 8px; margin: 3px auto; }
.fingers { display: -webkit-flex; display: flex; -webkit-align-items: flex-end; align-items: flex-end; -webkit-justify-content: center; justify-content: center; }
.fingers div { width: 28px; margin: 0 4px; text-align: center; font-size: 14px; font-weight: 800; color: var(--ink-faint); }
.fingers i { display: block; border-radius: 14px; margin-bottom: 4px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); grid-gap: 16px; }
.trick { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; padding: 14px; text-align: left; }
.trick .plotbox { width: 80px; height: 80px; -webkit-flex-shrink: 0; flex-shrink: 0; margin-right: 14px; }
.tablegrid { display: grid; grid-template-columns: repeat(5, 1fr); grid-gap: 16px; max-width: 820px; width: 100%; }
.tablegrid button { color: #fff; border-radius: 26px; padding: 16px 0; box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15); }
.tablegrid b { display: block; font-size: 44px; font-weight: 900; } .tablegrid small { font-size: 14px; font-weight: 800; opacity: 0.9; }

/* Adultos */
.tabs { display: -webkit-flex; display: flex; background: rgba(255, 255, 255, 0.6); border-radius: 14px; padding: 3px; }
.tabs button { -webkit-flex: 1; flex: 1; padding: 9px 4px; border-radius: 11px; font-size: 16px; font-weight: 700; }
.tabs button.on { background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); }
.section { background: #fff; border-radius: 22px; padding: 18px; margin-bottom: 16px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); }
.section h3 { margin: 0 0 12px; font-size: 22px; font-weight: 900; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); grid-gap: 12px; margin-bottom: 16px; }
.kpi { background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); }
.kpi b { display: block; font-size: 28px; font-weight: 900; } .kpi span { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.heat { display: grid; grid-template-columns: repeat(11, 34px); grid-gap: 2px; font-size: 13px; font-weight: 800; }
.heat div { height: 34px; border-radius: 5px; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; font-size: 10px; }
.chip { display: inline-block; padding: 7px 12px; margin: 0 8px 8px 0; border-radius: 16px; background: rgba(242, 140, 64, 0.18); font-weight: 800; }
.setting { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; padding: 8px 0; font-size: 18px; font-weight: 600; }
.switch { width: 56px; height: 32px; border-radius: 16px; background: #ccc; position: relative; -webkit-flex-shrink: 0; flex-shrink: 0; transition: background 0.2s; }
.switch:after { content: ''; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: left 0.2s; }
.switch.on { background: var(--good); } .switch.on:after { left: 27px; }
.seg3 { display: -webkit-flex; display: flex; background: #eef0ea; border-radius: 12px; padding: 3px; }
.seg3 button { -webkit-flex: 1; flex: 1; padding: 8px; border-radius: 10px; font-size: 15px; font-weight: 700; }
.seg3 button.on { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); }
.gate-ring { width: 140px; height: 140px; }

/* Modal */
#modal { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 10; background: rgba(0, 0, 0, 0.35); display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; padding: 20px; }
#modal .sheet { background: var(--sky-bottom); border-radius: 28px; padding: 24px; max-width: 760px; width: 100%; max-height: 92%; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.name-input { font-size: 38px; font-weight: 800; text-align: center; padding: 14px; border-radius: 22px; border: 0; background: #fff; color: var(--ink); width: 100%; max-width: 420px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); outline: none; -webkit-appearance: none; }
.choice { width: 250px; height: 210px; border-radius: 30px; color: #fff; margin: 0 12px; box-shadow: 0 6px 10px rgba(0, 0, 0, 0.18); padding: 16px; }
.choice b { display: block; font-size: 25px; margin: 8px 0; } .choice span { font-size: 16px; opacity: 0.9; }
.fade-in { -webkit-animation: fadein 0.25s ease; animation: fadein 0.25s ease; }
@-webkit-keyframes fadein { from { opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }
.pop { -webkit-animation: pop 0.35s ease; animation: pop 0.35s ease; }
@-webkit-keyframes pop { 0% { -webkit-transform: scale(0.8); } 60% { -webkit-transform: scale(1.06); } }
@keyframes pop { 0% { transform: scale(0.8); } 60% { transform: scale(1.06); } }

@media (max-width: 700px) {
  .qnum { font-size: 52px; } .qsym { font-size: 40px; } .slot { height: 72px; line-height: 72px; font-size: 48px; min-width: 96px; }
  .key { width: 64px; height: 64px; font-size: 28px; } .tablegrid { grid-template-columns: repeat(3, 1fr); }
}

/* Modo pequeños */
.frames { display: -webkit-flex; display: flex; -webkit-flex-direction: column; flex-direction: column; -webkit-align-items: center; align-items: center; }
.frame { display: grid; grid-gap: 6px; padding: 8px; margin: 4px; border-radius: 16px; background: rgba(219, 163, 102, 0.25); border: 3px solid rgba(158, 107, 59, 0.35); }
.obj { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, 0.7); transition: transform 0.25s, background 0.25s; }
.obj.empty { background: rgba(255, 255, 255, 0.25); border: 2px dashed rgba(158, 107, 59, 0.3); }
.obj.lit { background: #ffe066; -webkit-transform: scale(1.18); transform: scale(1.18); }
.optbtn { width: 128px; height: 128px; margin: 0 14px; border-radius: 34px; background: #fff; font-size: 64px; font-weight: 900; box-shadow: 0 7px 0 rgba(158, 107, 59, 0.35); }
.optbtn:active { -webkit-transform: translateY(4px); transform: translateY(4px); }
.optbtn.right { background: #40b359; color: #fff; }
.optbtn.wrongpick { background: #f2b38c; color: #fff; }
@media (max-width: 700px) { .optbtn { width: 96px; height: 96px; font-size: 48px; margin: 0 8px; } }
.obj.crossed { position: relative; opacity: 0.7; background: rgba(255, 255, 255, 0.5); }
.obj.crossed:after { content: ''; position: absolute; left: 4%; right: 4%; top: 50%; height: 12%; margin-top: -6%; border-radius: 4px; background: #d33;
  -webkit-transform: rotate(-35deg); transform: rotate(-35deg); }

/* Modo peques: operaciones, letras, palabras y reloj */
.peq-eq { font-weight: 900; color: #303d2e; line-height: 1.1; white-space: nowrap; letter-spacing: 0.02em; }
.peq-ans { display: inline-block; min-width: 1.1em; padding: 0 0.15em; border-radius: 0.25em; text-align: center; color: #f28c40; background: rgba(242, 140, 64, 0.12); }
.peq-ans.shown { color: #3b99ed; background: rgba(59, 153, 237, 0.12); }
.peq-ans.right { color: #fff; background: #40b359; }
.peq-groups { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: center; justify-content: center; margin-bottom: 10px; }
.peq-group { transition: background 0.25s, -webkit-transform 0.25s, transform 0.25s; }
.peq-group.lit { background: rgba(255, 224, 102, 0.7); -webkit-transform: scale(1.06); transform: scale(1.06); }
.peq-letter { font-weight: 900; color: #e0529c; line-height: 1; }
.peq-low { color: #3b99ed; margin-left: 0.3em; }
.peq-word { font-weight: 900; color: #303d2e; line-height: 1.1; letter-spacing: 0.06em; white-space: nowrap; }
.optbtn.wide { width: auto; min-width: 128px; padding: 0 22px; font-size: 50px; }
.optbtn.emoji { font-size: 78px; }
.optbtn.letter { font-size: 76px; }
@media (max-width: 700px) { .optbtn.wide { min-width: 96px; padding: 0 12px; font-size: 36px; } .optbtn.emoji { font-size: 56px; } .optbtn.letter { font-size: 56px; } }

/* Letra escolar ligada para las minúsculas (Playwrite ES, OFL) */
@font-face { font-family: 'Escolar'; src: url('../fonts/playwrite-es.woff') format('woff'); font-weight: 400; font-display: swap; }
.esc-font { font-family: 'Escolar', cursive; font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.peq-low.esc-font { font-size: 0.85em; }
.peq-word.esc-font { letter-spacing: 0; font-size: 0.95em; }
.optbtn.letter .esc-font { font-size: 1.05em; position: relative; top: -0.08em; }
.peq-example { margin-top: 8px; color: #303d2e; }
.peq-dunno { display: block; margin: 18px auto 0; padding: 10px 26px; border-radius: 22px; background: rgba(255, 255, 255, 0.85); color: #6b5a45; font-size: 22px; font-weight: 800; box-shadow: 0 4px 0 rgba(158, 107, 59, 0.3); }
.peq-dunno:active { -webkit-transform: translateY(3px); transform: translateY(3px); }
.numline { display: -webkit-flex; display: flex; -webkit-justify-content: center; justify-content: center; margin-top: 14px; }
.numcell { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; margin: 0 3px; border-radius: 50%; background: rgba(158, 107, 59, 0.12); color: #6b5a45; font-weight: 900; transition: background 0.25s, -webkit-transform 0.25s, transform 0.25s; }
.numcell.base { background: #f28c40; color: #fff; }
.numcell.lit { background: #ffe066; color: #303d2e; -webkit-transform: scale(1.12); transform: scale(1.12); }
.numcell.ten { box-shadow: 0 0 0 4px #40b359; }
.syl.s0 { color: #e0529c; }
.syl.s1 { color: #3b99ed; }
.syldot { color: rgba(48, 61, 46, 0.35); margin: 0 0.12em; }
