:root {
    --sky: #e0f4ff;
    --cloud: #ffffff;
    --coral: #ff6b6b;
    --mint: #4ecdc4;
    --sun: #ffd93d;
    --lavender: #c589e8;
    --byte-blue: #4a90d9;
    --byte-dark: #2c5f8a;
    --grass: #6bcb77;
    --bg-grad: linear-gradient(160deg, #bde0fe 0%, #d8b4fe 50%, #ffd6a5 100%);
    --card-bg: rgba(255,255,255,0.88);
    --shadow: 0 8px 32px rgba(80,40,120,0.13);
    --radius: 28px;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }

  body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-grad);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
  }

  /* Floating decorative blobs */
  .blob {
    position: fixed;
    border-radius: 50%;
    opacity: 0.18;
    pointer-events: none;
    animation: floatBlob 8s ease-in-out infinite;
    z-index: 0;
  }
  .blob-1 { width: 300px; height: 300px; background: #ff6b6b; top: -80px; left: -80px; animation-delay: 0s; }
  .blob-2 { width: 200px; height: 200px; background: #4ecdc4; bottom: 50px; right: -60px; animation-delay: 3s; }
  .blob-3 { width: 150px; height: 150px; background: #ffd93d; bottom: 200px; left: 50px; animation-delay: 1.5s; }
  @keyframes floatBlob {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
  }

  /* Stars in background */
  .star {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    font-size: 22px;
    animation: twinkle 3s ease-in-out infinite;
    opacity: 0.4;
  }
  @keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.8; transform: scale(1.2) rotate(10deg); }
  }

  #app {
    position: relative;
    z-index: 1;
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 16px 60px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  /* ── HEADER ── */
  header {
    text-align: center;
    padding: 10px 0;
  }
  header h1 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(28px, 6vw, 46px);
    color: var(--byte-dark);
    text-shadow: 3px 3px 0 rgba(255,255,255,0.6);
    letter-spacing: 1px;
    line-height: 1.1;
  }
  header h1 span { color: var(--coral); }

  /* ── PROGRESS BAR ── */
  .progress-wrap {
    background: rgba(255,255,255,0.6);
    border-radius: 50px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
  }
  .progress-label {
    font-weight: 800;
    font-size: 14px;
    color: var(--byte-dark);
    white-space: nowrap;
  }
  .progress-bar-outer {
    flex: 1;
    height: 14px;
    background: rgba(200,200,255,0.4);
    border-radius: 50px;
    overflow: hidden;
  }
  .progress-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--mint), var(--lavender));
    border-radius: 50px;
    transition: width 0.5s cubic-bezier(.34,1.56,.64,1);
  }
  .stars-count {
    font-family: 'Fredoka One', cursive;
    font-size: 18px;
    color: var(--sun);
    text-shadow: 1px 1px 0 #c97d00;
  }

  /* ── MAIN PANEL ── */
  .main-panel {
    background: var(--card-bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 28px 24px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    backdrop-filter: blur(10px);
    border: 2.5px solid rgba(255,255,255,0.7);
    position: relative;
    overflow: hidden;
  }
  .main-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--coral), var(--lavender), var(--mint), var(--sun));
  }

  /* ── BYTE MASCOT ── */
  .byte-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    width: 130px;
  }
  .byte-svg-wrap {
    width: 110px;
    height: 130px;
    position: relative;
  }
  .byte-svg-wrap svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 6px 12px rgba(74,144,217,0.3));
  }

  /* Byte idle bounce */
  .byte-body-g { animation: byteIdle 2.2s ease-in-out infinite; transform-origin: 50% 80%; }
  @keyframes byteIdle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
  /* Byte happy dance */
  .byte-happy .byte-body-g { animation: byteHappy 0.3s ease-in-out infinite; }
  @keyframes byteHappy {
    0%, 100% { transform: rotate(-4deg) translateY(0); }
    50% { transform: rotate(4deg) translateY(-4px); }
  }
  /* Byte shake (error) */
  .byte-error .byte-svg-wrap { animation: byteShake 0.4s ease; }
  @keyframes byteShake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
  }

  /* Eye blink */
  .byte-eye { animation: eyeBlink 4s ease-in-out infinite; }
  .byte-eye:nth-child(2) { animation-delay: 0.1s; }
  @keyframes eyeBlink {
    0%, 90%, 100% { transform: scaleY(1); }
    95% { transform: scaleY(0.05); }
  }

  /* Speech bubble */
  .byte-bubble {
    background: white;
    border-radius: 18px;
    padding: 10px 13px;
    font-size: 13px;
    font-weight: 700;
    color: var(--byte-dark);
    text-align: center;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    border: 2px solid var(--byte-blue);
    position: relative;
    line-height: 1.35;
    max-width: 120px;
    animation: bubblePop 0.3s cubic-bezier(.34,1.56,.64,1);
  }
  .byte-bubble::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--byte-blue);
  }
  .byte-bubble::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: white;
  }
  @keyframes bubblePop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }

  /* ── GAME COL ── */
  .game-col { flex: 1; display: flex; flex-direction: column; gap: 18px; }

  /* Level badge */
  .level-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--lavender), var(--byte-blue));
    color: white;
    font-family: 'Fredoka One', cursive;
    font-size: 15px;
    padding: 5px 16px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(100,60,180,0.25);
  }

  /* Sentence display */
  .sentence-display {
    background: linear-gradient(135deg, #f0f9ff, #e8f4ff);
    border-radius: 18px;
    padding: 18px 20px;
    border: 2px solid rgba(74,144,217,0.2);
    position: relative;
  }
  .sentence-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--byte-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .sentence-chars {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: baseline;
    line-height: 1;
  }
  .char-box {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(22px, 4vw, 30px);
    color: #b0bec5;
    transition: all 0.15s;
    position: relative;
    padding: 0 1px;
    display: inline-block;
  }
  .char-box.typed { color: var(--mint); }
  .char-box.current {
    color: var(--coral);
    animation: charPulse 0.8s ease-in-out infinite;
  }
  .char-box.current::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--coral);
    border-radius: 2px;
    animation: charPulse 0.8s ease-in-out infinite;
  }
  .char-box.space { width: 14px; }
  .char-box.wrong-flash {
    color: var(--coral);
    animation: wrongFlash 0.35s ease;
  }
  @keyframes charPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  @keyframes wrongFlash {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); color: var(--coral); }
  }

  /* Audio button */
  .audio-btn {
    display: flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--sun), #ffb347);
    border: none;
    border-radius: 50px;
    padding: 9px 18px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: #6b3a00;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(255,170,0,0.3);
    transition: transform 0.15s, box-shadow 0.15s;
    align-self: flex-start;
  }
  .audio-btn:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 6px 18px rgba(255,170,0,0.4); }
  .audio-btn:active { transform: scale(0.97); }
  .audio-btn.playing { animation: audioPulse 0.6s ease-in-out infinite; }
  @keyframes audioPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(255,170,0,0.3); }
    50% { box-shadow: 0 4px 24px rgba(255,170,0,0.7); }
  }

  /* ── INPUT AREA ── */
  .input-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .input-label {
    font-size: 12px;
    font-weight: 800;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  .typing-input-wrap {
    position: relative;
  }
  #typing-input {
    width: 100%;
    padding: 16px 56px 16px 20px;
    border-radius: 16px;
    border: 3px solid rgba(74,144,217,0.3);
    background: white;
    font-family: 'Fredoka One', cursive;
    font-size: clamp(18px, 3.5vw, 24px);
    color: var(--byte-dark);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
  }
  #typing-input:focus {
    border-color: var(--byte-blue);
    box-shadow: 0 0 0 4px rgba(74,144,217,0.15), inset 0 2px 6px rgba(0,0,0,0.04);
  }
  #typing-input.correct { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(78,205,196,0.2); }
  #typing-input.incorrect { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(255,107,107,0.2); animation: inputShake 0.3s ease; }
  @keyframes inputShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
  }
  .input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    pointer-events: none;
    transition: all 0.2s;
  }

  /* ── NEXT KEY HINT ── */
  .next-key {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    border: 2px dashed rgba(74,144,217,0.3);
  }
  .next-key-label {
    font-size: 13px;
    font-weight: 700;
    color: #888;
  }
  .key-badge {
    font-family: 'Fredoka One', cursive;
    font-size: 20px;
    background: linear-gradient(135deg, var(--coral), #ff8e53);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 0 rgba(180,50,50,0.3);
    animation: keyBounce 0.8s ease-in-out infinite;
  }
  @keyframes keyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
  }
  .key-badge.space-key {
    font-size: 13px;
    width: auto;
    padding: 0 12px;
    background: linear-gradient(135deg, var(--lavender), #a855f7);
  }

  /* ── BUTTONS ROW ── */
  .btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 15px;
    border: none;
    border-radius: 50px;
    padding: 10px 22px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(0.96); }
  .btn-primary {
    background: linear-gradient(135deg, var(--byte-blue), var(--lavender));
    color: white;
    box-shadow: 0 4px 14px rgba(74,144,217,0.35);
  }
  .btn-secondary {
    background: rgba(255,255,255,0.8);
    color: var(--byte-dark);
    border: 2px solid rgba(74,144,217,0.25);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  }
  .btn-skip {
    background: linear-gradient(135deg, #f9c74f, #f8961e);
    color: white;
    box-shadow: 0 4px 14px rgba(249,199,79,0.4);
  }
  .btn:disabled { opacity: 0.5; pointer-events: none; }

  /* ── LEVEL SELECTOR ── */
  .level-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  .level-btn {
    font-family: 'Fredoka One', cursive;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 2.5px solid rgba(74,144,217,0.3);
    background: rgba(255,255,255,0.7);
    color: var(--byte-dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .level-btn:hover { border-color: var(--byte-blue); background: white; transform: translateY(-1px); }
  .level-btn.active {
    background: linear-gradient(135deg, var(--byte-blue), var(--lavender));
    color: white;
    border-color: transparent;
    box-shadow: 0 3px 10px rgba(74,144,217,0.35);
  }
  .level-btn.done { background: linear-gradient(135deg, var(--mint), #27ae60); color: white; border-color: transparent; }

  /* ── CELEBRATION OVERLAY ── */
  #celebration {
    position: fixed;
    inset: 0;
    background: rgba(200,150,255,0.15);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  #celebration.show { opacity: 1; pointer-events: all; }
  .celebration-card {
    background: white;
    border-radius: 32px;
    padding: 40px 50px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(100,50,200,0.25);
    border: 4px solid var(--sun);
    transform: scale(0.7);
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
    max-width: 380px;
    width: 90%;
  }
  #celebration.show .celebration-card { transform: scale(1); }
  .celebration-emoji { font-size: 64px; animation: celebBounce 0.6s ease-in-out infinite; }
  @keyframes celebBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
  }
  .celebration-title {
    font-family: 'Fredoka One', cursive;
    font-size: 32px;
    color: var(--byte-dark);
    margin: 12px 0 6px;
  }
  .celebration-msg {
    font-size: 16px;
    color: #666;
    font-weight: 600;
  }
  .celebration-stars { font-size: 36px; margin: 14px 0; letter-spacing: 6px; }
  .celebration-next {
    margin-top: 22px;
    background: linear-gradient(135deg, var(--coral), #ff8e53);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 14px 32px;
    font-family: 'Fredoka One', cursive;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
    transition: transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .celebration-next:hover { transform: scale(1.05); }

  /* ── CONFETTI PARTICLES ── */
  .confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 99;
    animation: confettiFall linear forwards;
  }
  @keyframes confettiFall {
    0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
  }

  /* ── MINI SCORE PANEL ── */
  .mini-scores {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  .score-chip {
    background: rgba(255,255,255,0.8);
    border-radius: 50px;
    padding: 7px 16px;
    font-family: 'Fredoka One', cursive;
    font-size: 16px;
    color: var(--byte-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid rgba(255,255,255,0.9);
  }

  /* ── INTRO SCREEN ── */
  #intro-screen {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-grad);
  }
  .intro-card {
    background: white;
    border-radius: 36px;
    padding: 40px;
    text-align: center;
    max-width: 460px;
    width: 92%;
    box-shadow: 0 20px 60px rgba(100,50,200,0.2);
    border: 3px solid rgba(255,255,255,0.8);
    animation: introSlide 0.5s cubic-bezier(.34,1.56,.64,1);
  }
  @keyframes introSlide {
    from { transform: translateY(40px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
  }
  .intro-card h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 36px;
    color: var(--byte-dark);
    margin: 16px 0 8px;
  }
  .intro-card p {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    line-height: 1.55;
    margin-bottom: 6px;
  }
  .intro-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 18px 0;
    text-align: left;
  }
  .intro-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f6ff;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: var(--byte-dark);
  }
  .intro-start {
    background: linear-gradient(135deg, var(--byte-blue), var(--lavender));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-family: 'Fredoka One', cursive;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(74,144,217,0.4);
    transition: transform 0.15s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .intro-start:hover { transform: scale(1.03); }

  /* ── FINISH SCREEN ── */
  #finish-screen {
    display: none;
    text-align: center;
    padding: 40px 20px;
    animation: introSlide 0.5s ease forwards;
  }
  #finish-screen.show { display: block; }
  #finish-screen h2 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(28px, 6vw, 42px);
    color: var(--byte-dark);
    margin: 16px 0;
  }

  /* ── UTILITY ── */
  .hidden { display: none !important; }

  @media (max-width: 600px) {
    .main-panel { flex-direction: column; align-items: center; }
    .byte-col { width: 100%; flex-direction: row; justify-content: center; align-items: flex-start; }
    .byte-bubble { max-width: 180px; }
  }


.header-tools{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  margin-top:10px;
}
.tool-btn{
  border:none;
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
  box-shadow: var(--shadow);
  background:white;
  color: var(--byte-dark);
  transition: transform .08s ease, opacity .2s ease;
}
.tool-btn:active{ transform: scale(0.98); }
.tool-btn.danger{
  background: #fff1f1;
  color: #b42318;
}
.intro-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
}
.intro-start.secondary{
  background: white;
  color: var(--byte-dark);
  border: 3px solid rgba(74,144,217,.25);
}
body.teacher-mode .star,
body.teacher-mode #celebration,
body.teacher-mode .blob,
body.teacher-mode .floaty{
  animation: none !important;
}
body.teacher-mode .confetti{
  display:none !important;
}



/* Certificado (fim do jogo) */
.cert-box{
  max-width:420px;
  margin: 0 auto 18px;
  background: rgba(255,255,255,.9);
  border-radius: 24px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.cert-row{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
}
.cert-label{
  font-weight:900;
  color: var(--byte-dark);
}
.cert-input{
  border: 3px solid rgba(74,144,217,.25);
  border-radius: 18px;
  padding: 10px 12px;
  font-weight:800;
  font-size:16px;
  outline:none;
  min-width: 220px;
}
.cert-input:focus{
  border-color: rgba(74,144,217,.55);
}
.cert-note{
  margin: 10px 0 0;
  font-size: 12px;
  color: #777;
  font-weight: 700;
}



/* ──────────────────────────────────────────────
   Painel do Professor (modal)
────────────────────────────────────────────── */
.modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 9999;
}
.modal.open{ display:flex; }
.modal-card{
  width: min(720px, 100%);
  background: white;
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 12px;
}
.modal-title{
  font-weight: 1000;
  color: var(--byte-dark);
  font-size: 22px;
}
.modal-sub{
  margin-top: 2px;
  color:#666;
  font-weight: 700;
  font-size: 13px;
}
.modal-close{
  border:none;
  background: rgba(0,0,0,.05);
  border-radius: 999px;
  padding: 10px 12px;
  cursor:pointer;
  font-weight: 900;
}
.modal-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 14px;
}
@media (max-width: 560px){
  .modal-grid{ grid-template-columns: 1fr; }
}
.toggle{
  display:flex;
  gap: 10px;
  align-items:center;
  background: rgba(224,244,255,.55);
  border-radius: 18px;
  padding: 12px 12px;
  font-weight: 900;
  color: #24465f;
}
.toggle input{ width: 20px; height: 20px; }
.modal-section{
  background: rgba(255,255,255,.7);
  border-radius: 18px;
  padding: 12px;
  border: 2px solid rgba(44,95,138,.12);
}
.field{ margin: 10px 0; }
.field-label{
  display:block;
  font-weight: 900;
  color: var(--byte-dark);
  margin-bottom: 6px;
}
.field-input{
  width: 100%;
  border: 3px solid rgba(74,144,217,.25);
  border-radius: 18px;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 15px;
  outline:none;
}
.field-input:focus{ border-color: rgba(74,144,217,.55); }
.modal-actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 14px;
}

/* Letra maior (sala) */
body.big-font .sentence-chars{ font-size: 34px; }
body.big-font .typing-input-wrap input{ font-size: 22px; }
body.big-font .byte-bubble{ font-size: 16px; }
.gaveta-footer {
  position: fixed;
  bottom: 10px;
  right: 15px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0.6;
  z-index: 9999;
}

 /* ── FOOTER ── */
  footer {
.gaveta-footer a {
  text-decoration: none;
  color: #2c5f8a;
}

.gaveta-footer a:hover {
  opacity: 1;
}
