/* ═══════════════════════════════════════════
   LIBRARY PRANKS — styles.css
   happystoner5420 Games
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Bebas+Neue&family=Roboto+Condensed:wght@400;700&family=Special+Elite&display=swap');

/* ──── RESET & BASE ──── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:    #c9a84c;
  --gold2:   #ffe08a;
  --blood:   #cc2200;
  --dark:    #0a0804;
  --panel:   rgba(10,8,4,0.93);
  --accent:  #1a6b3a;
  --txt:     #e8dfc0;
  --red-hot: #ff2a00;
  --chaos1:  #1aff4e;
  --chaos2:  #ffb300;
  --chaos3:  #ff2a00;
  --npc-select: 0 0 0 3px #c9a84c, 0 0 20px #c9a84c88;
  --fury1:   #ff4400;
}

html, body {
  width: 100%; height: 100%;
  background: #000;
  color: var(--txt);
  font-family: 'Roboto Condensed', sans-serif;
  overflow: hidden;
  user-select: none;
}

/* ──── SCREENS ──── */
.screen {
  position: fixed; inset: 0;
  display: none; align-items: center; justify-content: center;
  z-index: 10;
}
.screen.active { display: flex; }

/* ──── MAIN MENU ──── */
#mainMenu {
  background: linear-gradient(160deg, #0a0804 0%, #1a1008 50%, #0d1a08 100%);
  flex-direction: column;
}

.menu-bg-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 30%, rgba(201,168,76,0.08) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(201,168,76,0.03) 38px, rgba(201,168,76,0.03) 39px),
    repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(201,168,76,0.03) 38px, rgba(201,168,76,0.03) 39px);
  pointer-events: none;
}

.menu-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 36px;
}

.logo-wrap { text-align: center; }

.logo-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,168,76,0.7), 0 2px 0 #3a2800;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.logo-sub {
  font-family: 'Special Elite', serif;
  font-size: clamp(0.9rem, 2vw, 1.3rem);
  color: var(--txt);
  opacity: 0.75;
  margin-top: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-tag {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.78rem;
  color: var(--gold);
  opacity: 0.5;
  margin-top: 4px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.main-nav {
  display: flex; flex-direction: column; gap: 14px; align-items: center;
  width: 360px;
}

.btn-menu {
  width: 100%;
  padding: 14px 28px;
  background: linear-gradient(135deg, #1e1608 0%, #2a1e0a 50%, #1e1608 100%);
  border: 1px solid var(--gold);
  border-radius: 3px;
  color: var(--gold2);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.18s ease;
  position: relative;
  overflow: hidden;
  text-shadow: 0 0 10px rgba(201,168,76,0.4);
  box-shadow: inset 0 1px 0 rgba(201,168,76,0.12), 0 4px 16px rgba(0,0,0,0.6);
}
.btn-menu::before {
  content: '';
  position: absolute; left: -100%; top: 0; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
  transition: left 0.3s ease;
}
.btn-menu:hover::before { left: 150%; }
.btn-menu:hover {
  background: linear-gradient(135deg, #2a1e08 0%, #3a2a0e 50%, #2a1e08 100%);
  border-color: var(--gold2);
  color: #fff;
  box-shadow: 0 0 20px rgba(201,168,76,0.3), 0 4px 20px rgba(0,0,0,0.8);
  transform: translateY(-1px);
}
.btn-menu:active { transform: translateY(1px); }

.menu-footer {
  font-family: 'Special Elite', serif;
  font-size: 0.72rem;
  color: var(--gold);
  opacity: 0.35;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ──── MODAL PANELS ──── */
.modal-panel {
  background: var(--panel);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 4px;
  padding: 30px 40px 40px 40px;
  max-width: 820px;
  width: 90vw;
  max-height: 82vh;
  overflow-y: auto;
  box-shadow: 0 0 60px rgba(0,0,0,0.9), inset 0 1px 0 rgba(201,168,76,0.1);
  display: flex; flex-direction: column; gap: 20px;
}
.modal-panel h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: var(--gold);
  text-align: center;
  border-bottom: 1px solid rgba(201,168,76,0.25);
  padding-bottom: 16px;
  margin-bottom: 0;
}

.htp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
  margin-bottom: 10px;
}
.htp-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 3px;
  padding: 18px;
}
.htp-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--gold2);
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.htp-block p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--txt);
  opacity: 0.85;
}

.modal-panel .btn-menu {
  margin-top: 10px;
  flex-shrink: 0;
}

/* ──── CREDITS ──── */
.credits-panel { align-items: center; }
.credits-scroll {
  display: flex; flex-direction: column; gap: 20px; width: 100%;
}
.credits-block { text-align: center; }
.credits-role {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
}
.credits-name {
  font-family: 'Special Elite', serif;
  font-size: 1.2rem;
  color: var(--txt);
  margin-top: 2px;
}
.credits-easter {
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.3;
  letter-spacing: 0.2em;
  text-align: center;
  margin-top: 10px;
}

/* ══════════════════════════════════════════
   GAME SCREEN
══════════════════════════════════════════ */
#gameScreen {
  display: none;
  flex-direction: column;
  align-items: stretch;
  background: #000;
  padding: 0;
}
#gameScreen.active { display: flex; }

/* ──── HUD ──── */
#hud {
  position: relative; z-index: 50;
  background: linear-gradient(180deg, rgba(10,8,4,0.98) 0%, rgba(10,8,4,0.85) 100%);
  border-bottom: 1px solid rgba(201,168,76,0.3);
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 20px;
  min-height: 60px;
  flex-shrink: 0;
}

.hud-left, .hud-right { display: flex; align-items: center; gap: 14px; }
.hud-center { flex: 1; text-align: center; }

.hud-item { display: flex; align-items: center; gap: 8px; }

.hud-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.8;
}

.chaos-bar-wrap {
  width: 140px; height: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 2px;
  overflow: hidden;
}
.chaos-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--chaos1), var(--chaos2), var(--chaos3));
  transition: width 0.4s ease;
  box-shadow: 0 0 8px currentColor;
}

.hud-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--gold2);
  min-width: 40px;
}

.prank-msg {
  font-family: 'Special Elite', serif;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  min-height: 22px;
  transition: opacity 0.3s;
  padding: 0 10px;
}

.fury-item { flex-direction: column; align-items: flex-end; gap: 4px; }
.fury-pips { display: flex; gap: 6px; }
.pip {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255,68,0,0.3);
  background: rgba(255,68,0,0.05);
  transition: all 0.3s;
}
.pip.lit {
  border-color: var(--fury1);
  background: var(--fury1);
  box-shadow: 0 0 10px var(--fury1);
}

.btn-hud {
  padding: 6px 14px;
  background: rgba(10,8,4,0.8);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 2px;
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.15s;
}
.btn-hud:hover { border-color: var(--gold2); color: #fff; }

/* ──── LIBRARY SCENE ──── */
#libraryScene {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: #060402;
}

#libraryBg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.88) contrast(1.05);
}

/* ──── NPC LAYER ──── */
#npcLayer {
  position: absolute; inset: 0;
  pointer-events: none;
}

.npc-wrap {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  pointer-events: all;
  cursor: pointer;
  transition: transform 0.15s;
}
.npc-wrap:hover { transform: scale(1.04) translateY(-2px); z-index: 20; }
.npc-wrap.selected .npc-img {
  box-shadow: var(--npc-select) !important;
  filter: brightness(1.1);
}

.npc-img {
  width: 100%;
  height: auto;
  border-radius: 4px 4px 0 0;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.7);
  transition: box-shadow 0.2s, filter 0.2s;
  border-bottom: 2px solid rgba(201,168,76,0.2);
}

.npc-label {
  background: rgba(10,8,4,0.88);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 0 0 3px 3px;
  padding: 2px 7px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--gold);
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ──── LIBRARIAN ──── */
.librarian-wrap {
  cursor: default !important;
  z-index: 30;
}
.librarian-wrap:hover { transform: none !important; }
.librarian-img {
  border: 2px solid rgba(204,34,0,0.5) !important;
  box-shadow: 0 0 20px rgba(204,34,0,0.35) !important;
}
.lib-label {
  border-color: rgba(204,34,0,0.5) !important;
  color: #ff8866 !important;
}

/* ──── SPEECH BUBBLES ──── */
.speech-bubble {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%; transform: translateX(-50%);
  background: #fffde7;
  color: #1a0a00;
  border: 2px solid #c9a84c;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: 'Special Elite', serif;
  font-size: 0.8rem;
  line-height: 1.4;
  white-space: nowrap;
  max-width: 220px;
  white-space: normal;
  text-align: center;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0,0,0,0.7);
  pointer-events: none;
  animation: bubblePop 0.2s ease;
}
.speech-bubble::after {
  content: '';
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #c9a84c;
}
.speech-bubble.hidden { display: none; }

.librarian-bubble {
  border-color: var(--blood) !important;
  background: #fff0ee !important;
  font-size: 0.9rem !important;
  max-width: 260px !important;
}
.librarian-bubble::after { border-top-color: var(--blood) !important; }

@keyframes bubblePop {
  0% { transform: translateX(-50%) scale(0.7); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* ──── NPC REACTION ──── */
.npc-react-anim {
  animation: npcShake 0.4s ease;
}
@keyframes npcShake {
  0%,100% { transform: translateX(0) rotate(0deg); }
  20% { transform: translateX(-6px) rotate(-3deg) scale(1.05); }
  40% { transform: translateX(6px) rotate(3deg) scale(1.05); }
  60% { transform: translateX(-4px) rotate(-2deg); }
  80% { transform: translateX(4px) rotate(2deg); }
}

.npc-hit-flash {
  animation: hitFlash 0.5s ease;
}
@keyframes hitFlash {
  0% { filter: brightness(1); }
  25% { filter: brightness(3) saturate(0); }
  50% { filter: brightness(1.5) hue-rotate(30deg); }
  100% { filter: brightness(1); }
}

/* ──── EFFECT EMOJIS ──── */
.floating-effect {
  position: absolute;
  pointer-events: none;
  font-size: 2rem;
  z-index: 200;
  animation: floatUp 1.2s ease forwards;
}
@keyframes floatUp {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  60% { opacity: 1; transform: translateY(-60px) scale(1.3); }
  100% { opacity: 0; transform: translateY(-120px) scale(0.7); }
}

/* ──── PRANK PANEL ──── */
#prankPanel {
  position: relative; z-index: 50;
  background: linear-gradient(0deg, rgba(10,8,4,1) 0%, rgba(10,8,4,0.96) 100%);
  border-top: 1px solid rgba(201,168,76,0.3);
  padding: 10px 16px 12px;
  flex-shrink: 0;
}

.prank-panel-header {
  text-align: center;
  margin-bottom: 8px;
}

#targetDisplay {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.15em;
  color: var(--gold2);
  opacity: 0.7;
}
#targetDisplay.has-target { opacity: 1; color: #fff; }

.prank-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.btn-prank {
  padding: 7px 13px;
  background: linear-gradient(135deg, #131008 0%, #1e1608 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 3px;
  color: var(--txt);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-prank:hover {
  background: linear-gradient(135deg, #2a1e08 0%, #3a2a10 100%);
  border-color: var(--gold);
  color: var(--gold2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.btn-prank:active { transform: translateY(1px); }
.btn-prank:disabled { opacity: 0.35; cursor: not-allowed; transform: none !important; }

/* ──── GAME OVER ──── */
.gameover-panel {
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 480px;
}

.go-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: var(--blood);
  text-shadow: 0 0 30px rgba(204,34,0,0.6);
}
.go-msg {
  font-family: 'Special Elite', serif;
  font-size: 1.05rem;
  color: var(--txt);
  line-height: 1.6;
  opacity: 0.85;
}
.go-score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

/* ──── FLASH OVERLAY ──── */
#flashOverlay {
  position: fixed; inset: 0; z-index: 999;
  pointer-events: none;
  opacity: 0;
}
#flashOverlay.alarm {
  background: rgba(255,30,0,0.3);
  animation: alarmFlash 0.3s ease;
}
@keyframes alarmFlash {
  0%,100% { opacity: 0; }
  50% { opacity: 1; }
}

/* ──── SCROLLBAR ──── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: rgba(255,255,255,0.02); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 3px; }

/* ──── RESPONSIVE ──── */
@media (max-width: 700px) {
  .htp-grid { grid-template-columns: 1fr; }
  .logo-title { font-size: 2rem; }
  .main-nav { width: 290px; }
  .modal-panel { 
    padding: 30px 25px; 
    max-height: 90vh;
  }
}

/* ══════════════════════════════════════════
   NOTE PASSING MODAL
══════════════════════════════════════════ */

.note-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.note-modal.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.note-modal-content {
  background: linear-gradient(145deg, #2a2218 0%, #1a1510 100%);
  border: 2px solid var(--gold);
  border-radius: 8px;
  padding: 30px;
  max-width: 650px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(201, 168, 76, 0.2);
  animation: slideIn 0.4s ease;
}

@keyframes slideIn {
  from { transform: translateY(-30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.note-header {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.3);
  padding-bottom: 15px;
}

.note-header h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.note-recipient-label {
  font-family: 'Special Elite', serif;
  font-size: 1rem;
  color: var(--txt);
}

#noteRecipient {
  color: var(--gold2);
  font-weight: bold;
}

/* ── PHOTOREALISTIC NOTE PAPER ── */
.note-paper {
  position: relative;
  background: 
    linear-gradient(to bottom, 
      #fdfbf5 0%, 
      #f9f6ed 50%, 
      #f5f1e8 100%
    );
  border-radius: 2px;
  padding: 30px 25px;
  margin: 20px 0;
  box-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.2),
    inset 0 0 100px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  min-height: 220px;
  /* Paper texture */
  background-image: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.02) 2px,
      rgba(0, 0, 0, 0.02) 3px
    ),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /><feColorMatrix type="saturate" values="0"/></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
  /* Slight tilt for realism */
  transform: rotate(-0.5deg);
}

/* ── RULED LINES ── */
.note-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 25px;
  pointer-events: none;
}

.note-line {
  height: 32px;
  border-bottom: 1px solid rgba(150, 180, 220, 0.25);
  margin-bottom: 0;
}

.note-line:last-child {
  border-bottom: none;
}

/* ── LEFT MARGIN LINE ── */
.note-paper::before {
  content: '';
  position: absolute;
  left: 45px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 100, 100, 0.2);
  box-shadow: 0 0 1px rgba(255, 100, 100, 0.3);
}

/* ── HANDWRITTEN TEXT ── */
.note-handwritten {
  position: absolute;
  top: 30px;
  left: 55px;
  right: 25px;
  bottom: 30px;
  font-family: 'Indie Flower', 'Patrick Hand', 'Permanent Marker', cursive;
  font-size: 1.3rem;
  line-height: 32px;
  color: #000000;
  font-weight: 600;
  white-space: pre-wrap;
  word-wrap: break-word;
  pointer-events: none;
  z-index: 2;
  /* Handwriting effect */
  letter-spacing: 0.02em;
  text-shadow: 0.3px 0.3px 0 rgba(0, 0, 0, 0.2);
}

/* ── INVISIBLE TEXTAREA (for input) ── */
.note-input {
  position: relative;
  width: 100%;
  min-height: 160px;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Indie Flower', 'Patrick Hand', 'Permanent Marker', cursive;
  font-size: 1.3rem;
  line-height: 32px;
  color: transparent;
  caret-color: #000000;
  resize: none;
  z-index: 3;
  padding: 0 0 0 30px;
  letter-spacing: 0.02em;
}

.note-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
  font-style: italic;
}

/* ── RESPONSE SECTION ── */
.note-response-section {
  margin-top: 20px;
  animation: slideDown 0.4s ease;
}

.note-response-section.hidden {
  display: none;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.note-response-header {
  font-family: 'Special Elite', serif;
  font-size: 1rem;
  color: var(--gold2);
  margin-bottom: 10px;
  text-align: center;
}

.note-response-paper {
  background: 
    linear-gradient(to bottom, 
      #fff9e6 0%, 
      #fff5d6 50%, 
      #fff1c6 100%
    );
  border-radius: 2px;
  padding: 20px 25px;
  box-shadow: 
    0 2px 5px rgba(0, 0, 0, 0.2),
    inset 0 0 50px rgba(255, 200, 100, 0.1);
  transform: rotate(0.5deg);
  border-left: 3px solid rgba(201, 168, 76, 0.3);
}

.note-response-text {
  font-family: 'Indie Flower', 'Patrick Hand', cursive;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #000000;
  font-weight: 600;
  text-align: left;
  text-shadow: 0.3px 0.3px 0 rgba(0, 0, 0, 0.15);
}

/* ── BUTTONS ── */
.note-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

.note-buttons .btn-menu {
  flex: 1;
  max-width: 200px;
}

/* ── TIPS ── */
.note-tips {
  text-align: center;
  font-size: 0.85rem;
  color: var(--txt);
  opacity: 0.6;
  line-height: 1.5;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .note-modal-content {
    padding: 20px;
  }
  
  .note-paper {
    padding: 25px 20px;
    min-height: 180px;
  }
  
  .note-handwritten,
  .note-input {
    font-size: 1.1rem;
    line-height: 28px;
    left: 50px;
  }
  
  .note-line {
    height: 28px;
  }
  
  .note-buttons {
    flex-direction: column;
  }
  
  .note-buttons .btn-menu {
    max-width: 100%;
  }
}

/* ── IMPORT HANDWRITING FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Indie+Flower&family=Patrick+Hand&family=Permanent+Marker&display=swap');
