/* ==========================================================================
   Bloques visuales estilo Scratch 3.0 + Drag & Drop accesible + Avisos pedagógicos
   ========================================================================== */

.is-dragging-block,
.is-dragging-block * {
  cursor: grabbing !important;
}

.block-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0.35rem 0.25rem 0.7rem;
}

/* Marcador de destino para drag-and-drop (sin desplazar hermanos mientras se arrastra) */
.block-list[data-drop="active"]::before {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 999;
  left: calc(var(--drop-x, 0px) - 5px);
  top: calc(var(--drop-y, 0px) - 3px);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--drop-marker-color, #2563eb);
}

.block-list[data-drop="active"]::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 998;
  left: var(--drop-x, 0px);
  top: var(--drop-y, 0px);
  width: var(--drop-w, 200px);
  height: var(--drop-h, 4px);
  border-radius: 999px;
  background: var(--drop-marker-color, #2563eb);
}

@media (forced-colors: active) {
  .block-list[data-drop="active"]::before,
  .block-list[data-drop="active"]::after {
    background: Highlight;
  }
}

/* Bloque base estilo Scratch 3.0 */
.scratch-block {
  --blk-bg: #ff6680;
  --blk-border: #d93b58;
  --notch-bg: #faf9f5;
  position: relative;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.94rem;
  scroll-margin: 1rem;
  transition: filter 0.16s ease, transform 0.12s ease;
}

/* Encaje físico sin huecos entre bloques apilados */
.scratch-block + .scratch-block {
  margin-top: -2px;
}
.scratch-block + .scratch-block.shape-hat {
  margin-top: 14px;
}
.scratch-block:has(> .blk-note) {
  margin-bottom: 8px;
}

.scratch-block:has(.block-drag-handle:focus-visible) {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  border-radius: 8px;
}

.scratch-block.is-lifted {
  position: relative;
  z-index: 40;
  scale: 1.02;
  filter: drop-shadow(0 12px 22px rgba(15, 23, 42, 0.26));
  pointer-events: none;
}

.scratch-block.is-running > .blk-row {
  box-shadow: 0 0 0 4px #fde047, 0 0 18px rgba(250, 204, 21, 0.85);
  filter: brightness(1.06);
  z-index: 5;
}

/* Colores auténticos Scratch 3.0 */
.cat-event {
  --blk-bg: #ffbf00;
  --blk-border: #cc9900;
  color: #2c1e00;
}
.cat-control {
  --blk-bg: #ffab19;
  --blk-border: #cf8b17;
  color: #2b1800;
}
.cat-motion {
  --blk-bg: #4c97ff;
  --blk-border: #2c6fd1;
}
.cat-looks {
  --blk-bg: #9966ff;
  --blk-border: #7444d6;
}
.cat-sound {
  --blk-bg: #cf63cf;
  --blk-border: #a641a6;
}
.cat-custom {
  --blk-bg: #ff6680;
  --blk-border: #d93b58;
}
.cat-slot {
  --blk-bg: #fffbeb;
  --blk-border: #f59e0b;
  color: #92400e;
}

/* Fila superior del bloque con pestañas y muescas de encaje Scratch */
.blk-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.42rem;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-radius: 6px;
  padding: 0.48rem 0.62rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* Muesca superior (notch) en todos los bloques que encajan debajo de otro */
.scratch-block:not(.shape-hat) > .blk-row::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 16px;
  width: 30px;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: var(--notch-bg);
  border: 2px solid var(--blk-border);
  border-top: 0;
  pointer-events: none;
}

/* Pestaña inferior (tab) de encaje Scratch */
.scratch-block.shape-hat > .blk-row::after,
.scratch-block.shape-stack > .blk-row::after,
.scratch-block.shape-slot > .blk-row::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 16px;
  width: 30px;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-top: 0;
  z-index: 2;
  pointer-events: none;
}

/* Forma de sombrero auténtica de Scratch (bóveda curva a la izquierda) */
.shape-hat {
  padding-top: 15px;
}
.shape-hat > .blk-row {
  border-radius: 0 8px 6px 6px;
  padding-top: 0.5rem;
}
.shape-hat > .blk-row::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -16px;
  width: min(176px, 72%);
  height: 18px;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-bottom: 0;
  border-radius: 52% 48% 0 0 / 100% 100% 0 0;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28);
  pointer-events: none;
}

/* Forma de tapa final (detener todos: sin pestaña inferior) */
.shape-cap > .blk-row {
  border-radius: 6px 6px 12px 12px;
}

/* Hueco interactivo del Nivel 1 */
.shape-slot > .blk-row {
  border-style: dashed;
  border-width: 2px;
  background: #fffbeb;
  cursor: pointer;
  min-height: 46px;
}
.shape-slot > .blk-row::before,
.shape-slot > .blk-row::after {
  border-style: dashed;
}
.shape-slot.is-selected-slot > .blk-row,
.shape-slot:hover > .blk-row {
  background: #fef3c7;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.35);
}
.shape-slot.is-selected-slot > .blk-row::after,
.shape-slot:hover > .blk-row::after {
  background: #fef3c7;
}

.scratch-block.is-filled-slot > .blk-row {
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.55);
}

/* ==========================================================================
   Bloques C (bucles) y E (condicionales si... / si no...) estilo Scratch 3.0
   ========================================================================== */
.shape-c-block > .blk-row,
.shape-e-block > .blk-row {
  border-radius: 6px 6px 6px 0;
}

/* Pestaña interior que entra dentro de la boca del bloque C / E */
.shape-c-block > .blk-row::after,
.shape-e-block > .blk-row::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 32px;
  width: 30px;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-top: 0;
  z-index: 2;
  pointer-events: none;
}

/* Boca interior con espina vertical continua de 16px */
.blk-mouth {
  position: relative;
  padding: 0 6px 6px 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 44px;
  border-radius: 0 10px 10px 0;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

/* Espina izquierda continua del bloque C / E */
.blk-mouth::before {
  content: "";
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  width: 16px;
  background: var(--blk-bg);
  border-left: 2px solid var(--blk-border);
  border-right: 2px solid var(--blk-border);
  pointer-events: none;
  z-index: 1;
}

.blk-mouth > .scratch-block:first-child {
  margin-top: -2px;
}

/* Barra intermedia "si no" con unión limpia a la espina y pestaña interior */
.blk-else-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-radius: 0 6px 6px 0;
  padding: 0.24rem 0.62rem 0.24rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 800;
}
.blk-else-bar::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--blk-bg);
  pointer-events: none;
}
.blk-else-bar::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 32px;
  width: 30px;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-top: 0;
  z-index: 2;
  pointer-events: none;
}

/* Base inferior del bloque C / E */
.blk-c-foot {
  position: relative;
  height: 24px;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-radius: 0 6px 6px 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0.65rem;
}
.blk-c-foot::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 12px;
  height: 2px;
  background: var(--blk-bg);
  pointer-events: none;
}
.blk-c-foot:not(.is-cap-foot)::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 16px;
  width: 30px;
  height: 7px;
  border-radius: 0 0 7px 7px;
  background: var(--blk-bg);
  border: 2px solid var(--blk-border);
  border-top: 0;
  z-index: 2;
  pointer-events: none;
}
.blk-c-foot.is-cap-foot {
  border-radius: 0 6px 12px 12px;
}

.blk-loop-arrow {
  font-size: 1rem;
  font-weight: 900;
  opacity: 0.9;
}

/* ==========================================================================
   Etiqueta pedagógica y resaltado de alcance al pasar el ratón por C / E
   ========================================================================== */
.blk-scope-chip {
  align-self: flex-start;
  margin: 6px 0 2px 6px;
  padding: 0.14rem 0.56rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.25;
  border: 1.5px dashed transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-color 0.16s ease, transform 0.16s ease, opacity 0.16s ease;
}
.blk-scope-chip.is-loop {
  background: rgba(254, 243, 199, 0.85);
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.45);
}
.blk-scope-chip.is-then {
  background: rgba(220, 252, 231, 0.85);
  color: #166534;
  border-color: rgba(22, 163, 74, 0.45);
}
.blk-scope-chip.is-else {
  background: rgba(255, 237, 213, 0.85);
  color: #9a3412;
  border-color: rgba(234, 88, 12, 0.45);
}

/* En Nivel 3 los chips son más discretos hasta pasar el ratón */
.block-list[data-level="3"] .blk-scope-chip {
  opacity: 0.62;
}

/* Destacado vivo del bucle: ilumina el abrazo naranja y TODO lo que se repite dentro */
.scratch-block[data-scope-highlight="loop"] {
  filter: drop-shadow(0 4px 14px rgba(217, 119, 6, 0.32));
}
.scratch-block[data-scope-highlight="loop"] > .blk-mouth-loop {
  --notch-bg: #fef3c7;
  background: rgba(254, 240, 138, 0.46);
  box-shadow: inset 0 0 0 2.5px rgba(217, 119, 6, 0.75);
}
.scratch-block[data-scope-highlight="loop"] > .blk-mouth-loop > .blk-scope-chip.is-loop {
  opacity: 1;
  background: #f59e0b;
  color: #ffffff;
  border-color: #b45309;
  border-style: solid;
  transform: translateX(2px);
}

/* Destacado vivo de condicional: rama SÍ en verde */
.scratch-block[data-scope-highlight="then"] {
  filter: drop-shadow(0 4px 14px rgba(22, 163, 74, 0.28));
}
.scratch-block[data-scope-highlight="then"] > .blk-mouth-then {
  --notch-bg: #dcfce7;
  background: rgba(187, 247, 208, 0.56);
  box-shadow: inset 0 0 0 2.5px #16a34a;
}
.scratch-block[data-scope-highlight="then"] > .blk-mouth-then > .blk-scope-chip.is-then {
  opacity: 1;
  background: #16a34a;
  color: #ffffff;
  border-color: #15803d;
  border-style: solid;
  transform: translateX(2px);
}
.scratch-block[data-scope-highlight="then"] > .blk-mouth-else {
  opacity: 0.58;
}

/* Destacado vivo de condicional: rama SI NO en naranja intenso */
.scratch-block[data-scope-highlight="else"] {
  filter: drop-shadow(0 4px 14px rgba(234, 88, 12, 0.28));
}
.scratch-block[data-scope-highlight="else"] > .blk-mouth-else {
  --notch-bg: #ffedd5;
  background: rgba(254, 215, 170, 0.58);
  box-shadow: inset 0 0 0 2.5px #ea580c;
}
.scratch-block[data-scope-highlight="else"] > .blk-mouth-else > .blk-scope-chip.is-else {
  opacity: 1;
  background: #ea580c;
  color: #ffffff;
  border-color: #c2410c;
  border-style: solid;
  transform: translateX(2px);
}
.scratch-block[data-scope-highlight="else"] > .blk-mouth-then {
  opacity: 0.58;
}

.blk-mouth-add {
  align-self: flex-start;
  margin: 4px 0 2px 6px;
  border: 1.5px dashed rgba(30, 41, 59, 0.35);
  background: rgba(255, 255, 255, 0.85);
  color: #334155;
  border-radius: 999px;
  padding: 0.18rem 0.62rem;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}
.blk-mouth-add:hover {
  background: #ffffff;
}
.blk-mouth-add.is-active-target {
  border-style: solid;
  border-color: #15803d;
  background: #dcfce7;
  color: #14532d;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.32);
}

/* ==========================================================================
   Toggletip (?) y Popover pedagógico flotante (Top Layer + Anchor Positioning)
   ========================================================================== */
.blk-help-btn {
  border: 1.5px solid rgba(15, 23, 42, 0.22);
  background: rgba(255, 255, 255, 0.42);
  color: inherit;
  border-radius: 999px;
  width: 24px;
  height: 24px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color 0.14s ease, transform 0.12s ease;
}
.blk-help-btn:is(:hover, :focus-visible, [aria-expanded="true"]) {
  background: #ffffff;
  color: #0f172a;
  border-color: #0f172a;
  transform: scale(1.06);
}

.blk-tooltip {
  border: 0;
  padding: 0;
  background: transparent;
  overflow: visible;
  max-width: min(310px, calc(100vw - 24px));
}

/* Fallback CSS cuando el navegador carece de :popover-open */
@supports not selector(:popover-open) {
  .blk-tooltip:not(.\:popover-open):not(.is-fallback-open) {
    display: none;
  }
}

.blk-tooltip:is(:popover-open, .\:popover-open, .is-fallback-open) {
  display: block;
}

/* Posicionamiento nativo CSS Anchor Positioning (gating obligatorio con @supports) */
@supports (position-area: block-start) {
  .blk-tooltip {
    position: fixed;
    inset: auto;
    margin: 0 0 10px 0;
    position-area: block-start;
    position-try-fallbacks: flip-block;
    container-type: anchored;
  }
}

/* Fallback de coordenadas JS solo en navegadores sin CSS Anchor Positioning */
.blk-tooltip.is-js-positioned {
  position: fixed;
  inset: auto;
  margin: 0;
  z-index: 1200;
}
.blk-tooltip.is-js-positioned[data-placement="top"] {
  transform: translateY(-100%);
}

.blk-tooltip-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  padding: 0.58rem 0.82rem;
  border-radius: 12px;
  background: #0f172a;
  color: #f8fafc;
  border: 2px solid #334155;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.34);
  font-size: 0.84rem;
  line-height: 1.38;
  text-align: left;
}

.blk-tip-badge {
  color: #fde047;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.blk-tip-text {
  color: #f1f5f9;
  font-weight: 600;
}

/* Flecha direccional adaptable mediante Anchored Container Queries */
@supports (container-type: anchored) {
  .blk-tooltip-inner::before {
    content: "▼" / "";
    position: absolute;
    inset-block-end: -13px;
    inset-inline-start: 1.2rem;
    color: #0f172a;
    font-size: 0.82rem;
    line-height: 1;
    pointer-events: none;
  }

  @container anchored(fallback: flip-block) {
    .blk-tooltip-inner {
      margin-block-start: 10px;
    }
    .blk-tooltip-inner::before {
      content: "▲" / "";
      inset-block-start: -12px;
      inset-block-end: auto;
    }
  }
}

/* Flecha en fallback JS para navegadores sin anchored container queries */
.blk-tooltip.is-js-positioned[data-placement="top"] .blk-tooltip-inner::before {
  content: "▼" / "";
  position: absolute;
  bottom: -13px;
  left: 1.2rem;
  color: #0f172a;
  font-size: 0.82rem;
  line-height: 1;
  pointer-events: none;
}
.blk-tooltip.is-js-positioned[data-placement="bottom"] .blk-tooltip-inner::before {
  content: "▲" / "";
  position: absolute;
  top: -12px;
  left: 1.2rem;
  color: #0f172a;
  font-size: 0.82rem;
  line-height: 1;
  pointer-events: none;
}

/* Etiqueta pedagógica de turno en bloques esperar */
.blk-wait-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.1rem 0.52rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.22);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* Contenido interno de cada bloque */
.blk-content {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.blk-label {
  white-space: normal;
}

.blk-flag-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.92rem;
}

.blk-pill {
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1e293b;
  font-weight: 800;
  font-size: 0.86rem;
}

.blk-input {
  border: 1.5px solid rgba(15, 23, 42, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: #1e293b;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 0.18rem 0.5rem;
  min-height: 30px;
}

.blk-num {
  width: 62px;
  text-align: center;
}

.blk-text {
  width: min(260px, 100%);
}

.blk-select {
  max-width: 220px;
}

/* Condición hexagonal estilo Scratch 3.0 (azul Sensores de alto contraste) */
.blk-hex {
  display: inline-flex;
  align-items: center;
  background: #0284c7;
  padding: 2px 12px;
  clip-path: polygon(10px 0%, calc(100% - 10px) 0%, 100% 50%, calc(100% - 10px) 100%, 10px 100%, 0% 50%);
}
.blk-hex .blk-pill,
.blk-hex .blk-select {
  background: transparent;
  color: #ffffff;
  border-color: transparent;
}
.blk-hex .blk-select option {
  color: #1e293b;
}

/* Insignia de paso activo (contador de bucle) */
.blk-run-badge {
  background: #fef08a;
  color: #713f12;
  border: 1.5px solid #ca8a04;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  font-size: 0.76rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* Asa de arrastre dedicada (touch-action: none SOLO aquí) */
.block-drag-handle {
  border: 0;
  background: rgba(255, 255, 255, 0.24);
  color: inherit;
  border-radius: 6px;
  padding: 0.2rem 0.35rem;
  font-size: 0.95rem;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  min-width: 28px;
  min-height: 30px;
  flex-shrink: 0;
}
.block-drag-handle:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.45);
}

/* Botones accesibles ? / ↑ / ↓ / ✕ */
.blk-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  flex-shrink: 0;
}

.blk-ctrl-btn {
  border: 0;
  background: rgba(255, 255, 255, 0.28);
  color: inherit;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  font-weight: 900;
  font-size: 0.82rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.blk-ctrl-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.48);
}
.blk-ctrl-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}
.blk-ctrl-rm:hover {
  background: #dc2626;
  color: #ffffff;
}

/* Nota explicativa tipo post-it Scratch */
.blk-note {
  margin: 0.45rem 0 0.2rem 1.2rem;
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  background: #fef9c3;
  border: 1.5px solid #eab308;
  color: #713f12;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Bloques tocables de la paleta inferior con forma Scratch */
.palette-block {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.32rem;
  background: var(--blk-bg, #ff6680);
  color: #ffffff;
  border: 2px solid var(--blk-border, #d93b58);
  border-radius: 6px;
  padding: 0.5rem 0.82rem;
  margin: 2px 0 8px;
  min-height: 42px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 3px 0 rgba(0, 0, 0, 0.14);
  transition: transform 0.1s ease, filter 0.12s ease;
}
.palette-block:not(.shape-hat)::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 14px;
  width: 24px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: #f8fafc;
  border: 2px solid var(--blk-border, #d93b58);
  border-top: 0;
  pointer-events: none;
}
.palette-block:not(.shape-cap)::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 14px;
  width: 24px;
  height: 6px;
  border-radius: 0 0 6px 6px;
  background: var(--blk-bg, #ff6680);
  border: 2px solid var(--blk-border, #d93b58);
  border-top: 0;
  pointer-events: none;
}
.palette-block.shape-hat {
  border-radius: 18px 10px 6px 6px;
}
.palette-block.shape-cap {
  border-radius: 6px 6px 12px 12px;
}
.palette-block.shape-c-block,
.palette-block.shape-e-block {
  border-left-width: 10px;
  border-bottom-width: 7px;
}
.palette-block.cat-event,
.palette-block.cat-control {
  color: #2b1800;
}
.palette-block:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}
.palette-block:active {
  transform: translateY(1px);
}

/* Modo Lectura Fácil / Calma y pantallas táctiles: bloques y botones más amplios */
html[data-easy-read="true"] .scratch-block {
  font-size: 1.02rem;
}
html[data-easy-read="true"] .blk-row {
  padding: 0.6rem 0.78rem;
  min-block-size: 50px;
}
html[data-easy-read="true"] .palette-block {
  font-size: 0.98rem;
  padding: 0.62rem 0.95rem;
  min-block-size: 50px;
}
html[data-easy-read="true"] .blk-ctrl-btn,
html[data-easy-read="true"] .blk-help-btn {
  min-block-size: 36px;
  min-inline-size: 36px;
}
@media (pointer: coarse) {
  .blk-ctrl-btn,
  .blk-help-btn {
    min-block-size: 36px;
    min-inline-size: 36px;
  }
}
