/* ---------------------------------------------------
   FOCUMI — Premium Productivity Dashboard
   Stylesheet komplet (Fixed + Enhanced)
   Perubahan responsif: breakpoint diselaraskan dengan JS (768px),
   dan safe-area handling ditambahkan.
--------------------------------------------------- */

/* ---------------- ROOT VARIABLES ---------------- */
:root {
  --accent: #7c3aed;
  --bg: #f5f7fb;
  --card: #ffffff;
  --shadow: rgba(0,0,0,0.12);
  --radius: 20px;
}

/* Themes */
body.theme-pastel {
  --bg: #f7f5ff;
  --card: rgba(255,255,255,0.9);
  --accent: #a855f7;
}

body.theme-matrix {
  --bg: #020202;
  --card: rgba(8,8,8,0.85);
  --accent: #00ff91;
  color: #e5ffe5;
}

body.theme-glass {
  --bg: #e3f2ff;
  --card: rgba(255,255,255,0.55);
  backdrop-filter: blur(12px);
  --accent: #0ea5e9;
}

/* ---------------- GLOBAL LAYOUT ---------------- */
html, body {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Respect device safe areas (iPhone notch) */
body {
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  color: #333;
  transition: background .4s, color .4s;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* reserve space so fixed footer won't overlap content */
  padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  padding-left: env(safe-area-inset-left, 12px);
  padding-right: env(safe-area-inset-right, 12px);
  padding-top: env(safe-area-inset-top, 12px);
}

/* Brand */
.brand a {
  text-decoration: none;
  color: #020202;
  display: inline-flex;      /* ensure the logo and text align */
  align-items: center;
  gap: 8px;
}

/* small logo next to Focumi text */
.brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Parallax & Ambience */
#parallax-bg {
  position: fixed;
  inset: 0;
  z-index: -10;
  overflow: hidden;
  pointer-events: none;
}
#ambience-canvas {
  position: fixed;
  inset: 0;
  z-index: -9; /* put canvas above parallax background so particles are visible */
  pointer-events: none;
}

/* small transparent orbs used by parallax */
.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.75;
  transition: transform 0.1s linear;
  pointer-events: none;
}

/* Topbar */
.topbar {
  background: var(--card);
  padding: 12px 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 4px 20px var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 120;
}

/* Brand */
.brand {
  font-size: 20px;
  font-weight: 700;
}
.brand .beta {
  font-size: 11px;
  background: var(--accent);
  color: #fff;
  padding: 3px 7px;
  border-radius: 6px;
  margin-left: 6px;
}

/* Feature toggles / controls */
.feature-toggles {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--card);
  box-shadow: 0 2px 8px var(--shadow);
  border: none;
}
.btn-icon.active {
  background: var(--accent);
  color: #fff;
}

/* Workspace grid */
/* default desktop: 3 columns */
#workspace {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

/* responsivity */
/* large tablets / small desktops -> 2 columns */
@media (max-width: 1100px) {
  #workspace {
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
  }
}

/* align JS breakpoint (768px) with header behaviour - 2 columns or 1 depending on width */
@media (max-width: 768px) {
  #workspace {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px;
  }
}

/* small phones -> 1 column */
@media (max-width: 700px) {
  #workspace {
    grid-template-columns: 1fr;
    padding: 10px;
  }
}

/* ---------------- WIDGET ---------------- */
.widget {
  background: var(--card);
  padding: 16px;
  border-radius: 14px;
  box-shadow: 0 4px 12px var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  min-height: 64px;
  user-select: none;
  -webkit-user-select: none;
  cursor: grab;
}
.widget:active { cursor: grabbing; }

.widget[draggable="true"] { -webkit-user-drag: element; }

.widget-head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.widget-glint {
  position: absolute;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.35), transparent);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Floating effect (subtle) */
.widget:hover {
  transform: translateY(-3px);
}

/* When actively interacting (JS toggles .no-glint) we avoid rotation/glint */
.widget.no-glint { transform: none !important; }

/* ---------------- TOAST ---------------- */
.focumi-toast {
  position: fixed;
  top: calc(22px + env(safe-area-inset-top, 0px));
  right: calc(22px + env(safe-area-inset-right, 0px));
  background: var(--accent);
  color: white;
  padding: 10px 16px;
  border-radius: 12px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all .25s ease;
  z-index: 99999;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.focumi-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------- TO-DO ---------------- */
.todo-item {
  box-shadow: 0 3px 10px var(--shadow);
  border-radius: 12px;
}

/* ---------------- POMODORO ---------------- */
.pomo-display {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
}

/* pomodoro templates area */
.pomo-templates {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.pomo-templates button {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.9);
  cursor: pointer;
}
.pomo-templates button.active { background: var(--accent); color: #fff; }

/* inline custom controls */
#pomoCustom input[type="number"] {
  -moz-appearance: textfield;
}
#pomoCustom .form-control-sm {
  padding: .25rem .5rem;
  font-size: .85rem;
  border-radius: 8px;
}

/* ---------------- NOTES ---------------- */
.notes-area {
  position: relative;
  min-height: 220px;
  background: rgba(0,0,0,0.03);
  border-radius: 12px;
  padding: 10px;
  overflow: hidden;
}

/* note cards */
.note-card {
  position: absolute;
  min-width: 120px;
  min-height: 80px;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--shadow);
  cursor: grab;
  touch-action: none;
}
.note-card:active { cursor: grabbing; }

/* The editable text should be selectable and focusable even though parent widgets disable user-select.
   We force pointer-events and user-select to allow editing (fix for "notes cannot be edited"). */
.note-card .note-text {
  min-height: 48px;
  outline: none;
  user-select: text !important;
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  pointer-events: auto !important;
  caret-color: var(--accent);
}

/* ---------------- WHEEL ---------------- */
.wheel-wrap {
  width: 240px;
  height: 240px;
  margin: 0 auto;
}
#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 6px 20px var(--shadow);
}

/* ---------------- MOOD TRACKER ---------------- */
.modal-mood-btn {
  font-size: 20px;
  border-radius: 10px;
}

/* ---------------- DASHBOARD ---------------- */
#dashboard strong {
  font-size: 22px;
}

/* ---------------- CALENDAR (NEW) ---------------- */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.calendar-weekdays {
  display: contents;
}
.calendar-cell {
  min-height: 72px;
  background: rgba(0,0,0,0.03);
  border-radius: 8px;
  padding: 6px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}
.calendar-cell.other-month { opacity: 0.35; }
.calendar-day-num {
  font-size: 13px;
  font-weight: 600;
}
.event-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
  margin-right: 4px;
}
.calendar-weekday-label {
  font-size: 12px;
  text-align: center;
  opacity: 0.6;
}

/* ---------------- PLANNER (removed timeline styles kept safe) ---------------- */

/* ---------------- PLANNER (TIMELINE BACKUP) ---------------- */
.timeline { display: none; }

/* ---------------- FOCUS ROOM ---------------- */
.focus-room {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(10px);
  display: none;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.focus-inner {
  background: var(--card);
  padding: 30px 40px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 20px var(--shadow);
}

.focus-timer {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
}

/* ---------------- MOOD MODAL ---------------- */
/* Base: modal covers viewport and should center content.
   Note: jQuery's fadeIn/fadeOut applies inline display:block.
   To guarantee centered flex layout without modifying JS,
   we detect inline display:block/flex and force display:flex. */
#moodModal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.32);
  display: none; /* initial hidden, JS will show */
  z-index: 6000;
  justify-content: center;
  align-items: center;
}

/* when JS (jQuery) sets inline "display: block" we override to flex */
#moodModal[style*="display:block"],
#moodModal[style*="display: block"],
#moodModal[style*="display:flex"],
#moodModal[style*="display: flex"] {
  display: flex !important;
}

/* modal content sizing: use max-width to ensure correct sizing on small screens */
#moodModal .modal-content {
  background: var(--card);
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  text-align: center;
  width: 360px;
  max-width: calc(100% - 40px);
  box-sizing: border-box;
}

/* small centered mood modal variant keeps a slightly smaller footprint,
   but still constrained by max-width above for mobile */
.small-modal {
  width: 320px;
  max-width: calc(100% - 40px);
}

/* ---------------- FOOTER ---------------- */
/* Make footer always centered at bottom of viewport (fixed) */
.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  opacity: 0.9;
  background: transparent;
  z-index: 80;
}

/* ---------------- RESPONSIVE tweaks ---------------- */
@media(max-width: 768px) {
  .focus-inner {
    width: 92%;
    padding: 22px;
  }
  .pomo-display { font-size: 28px; }
  #workspace { gap: 12px; padding: 12px; }

  /* ensure mood modal is comfortable on small screens */
  #moodModal .modal-content,
  .small-modal {
    width: 92%;
    padding: 12px 14px;
  }
}

/* ----------------------------------------------------
   FOCUMI — Premium Widget Enhancement (overrides)
---------------------------------------------------- */

.widget {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 14px;
    margin-bottom: 12px;

    box-shadow:
        0 4px 14px rgba(0,0,0,0.10),
        inset 0 0 8px rgba(255,255,255,0.08);

    transition: all 0.22s ease;
}

.widget:hover {
    transform: translateY(-3px);
    box-shadow:
        0 10px 25px rgba(0,0,0,0.12),
        inset 0 0 14px rgba(255,255,255,0.18);
}

/* Ensure ambience and parallax don't catch pointer events; keep parallax visually behind canvas */
#parallax-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -10;
}
#ambience-canvas {
    position: fixed ;
    inset: 0 ;
    pointer-events: none ;
    z-index: -9 ;
}

/* ---------------- QUOTE CENTER MODAL (ADDED) ---------------- */
/* Modified to appear at top-center of viewport (instead of center-middle) */
.quote-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 7000;
  /* place content near top, horizontally centered */
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px; /* distance from top */
  box-sizing: border-box;
  background: rgba(0,0,0,0.18); /* slightly dim to emphasize */
}

/* Ensure the content inside the modal receives pointer events (so buttons work) */
.quote-modal .quote-content {
  pointer-events: auto;
  background: var(--card);
  color: #222;
  max-width: 720px;
  width: 92%;
  padding: 20px 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  margin: 0 auto;
  transform-origin: center top;
}

/* slightly smaller visual variant for the quote text itself */
.quote-text {
  font-size: 18px;
  line-height: 1.4;
  color: var(--accent);
  font-weight: 600;
}

/* small responsive tweak */
@media (max-width: 480px) {
  .quote-modal .quote-content { padding: 14px; }
  .quote-text { font-size: 16px; }
}

/* --------------------------------------------------------
   CUSTOM MUSIC SELECT STYLING (non-native look, still a <select>)
   - Improves appearance of the music dropdown without changing functionality.
   - Limited to #musicSelect so other selects keep native Bootstrap/browser look.
--------------------------------------------------------- */
#musicSelect {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: linear-gradient(180deg, #ffffff, #f3f6ff);
  border: 1px solid rgba(0,0,0,0.06);
  padding: .35rem .8rem;
  padding-right: 44px; /* space for custom arrow */
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(15,23,42,0.06);
  min-width: 220px;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: right 10px center;
  /* small SVG chevron (accent color) encoded inline for consistent cross-browser look */
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="%237c3aed" d="M4.5 6.5L9 11l4.5-4.5z"/></svg>');
  font-weight: 600;
}

/* ensure the select looks good in dark/matrix theme by overriding the arrow color */
body.theme-matrix #musicSelect {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18"><path fill="%2300ff91" d="M4.5 6.5L9 11l4.5-4.5z"/></svg>');
}

/* smaller variant for narrow widget widths */
#musicSelect.w-auto {
  min-width: 160px;
}

/* Option text sizing */
#musicSelect option {
  font-weight: 600;
  padding: 6px;
}

/* Ensure the custom-styled select remains accessible on mobile and keyboard */
#musicSelect:focus {
  outline: 2px solid rgba(124,58,237,0.12);
  box-shadow: 0 8px 20px rgba(124,58,237,0.08);
}

/* ---------------- QUOTE CENTER BUTTON TWEAK ---------------- */
#closeQuote { min-width: 90px; }

/* --------------------------------------------------------
   RESPONSIVE HEADER / MOBILE MENU STYLES
   - Hide desktop feature controls on small screens and show mobile menu
   - Breakpoint adjusted to 768px to match JS behavior
--------------------------------------------------------- */

#menuToggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 18px;
  color: inherit;
  padding: 6px;
}

/* Mobile menu (hidden by default) */
.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  left: 12px;
  background: var(--card);
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  z-index: 130;
}

/* Adjust contained layouts for mobile menu */
.mobile-menu .feature-toggles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.mobile-menu .controls {
  display: flex;
  gap: 8px;
  flex-direction: column;
}
.mobile-menu .controls .form-select {
  width: 100%;
}

/* make icons slightly larger inside mobile menu */
.mobile-menu .btn-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* show hamburger and hide desktop controls on small screens (breakpoint aligned with JS: 768px) */
@media (max-width: 768px) {
  #menuToggle { display: inline-block; }
  /* hide original desktop actions (we move them into mobile menu via JS) */
  .top-actions { display: none; }
  /* ensure header has enough space when mobile */
  .topbar { padding-right: 12px; padding-left: 12px; }
}

/* when mobile-menu visible we ensure it has good spacing on very narrow screens */
@media (max-width: 420px) {
  .mobile-menu { left: 8px; right: 8px; padding: 10px; }
}

/* --------------------------------------------------------
   CUSTOM ADJUSTMENTS FOR MOBILE WIDGET WIDTH (FIX)
   - Fixes issue where widgets appear wider than navbar/background on phones.
   - Only applies on small screens (aligned with JS breakpoint 768px).
   - Keeps original functionality untouched: only visual/lay out CSS adjustments.
--------------------------------------------------------- */

/* Important: this block placed at end so it overrides previous layout styles on small screens */
@media (max-width: 768px) {
  /* Make workspace respect safe-area and keep widgets within viewport */
  #workspace {
    /* keep padding in sync with body/topbar safe-area to visually align widgets and navbar */
    padding-left: calc(12px + env(safe-area-inset-left, 12px));
    padding-right: calc(12px + env(safe-area-inset-right, 12px));
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: visible; /* allow glint and parallax to show but prevent horizontal scroll */
  }

  /* Ensure individual widgets cannot overflow viewport and are centered to match header width */
  .widget {
    /* Allow widget to size naturally but cap width to match header/content insets.
       We center with auto margins so widgets line up with topbar and mobile menu. */
    width: auto;
    max-width: calc(100% - (24px + env(safe-area-inset-left, 12px) + env(safe-area-inset-right, 12px)));
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 12px;
    border-radius: 12px;
    /* Avoid hover scale/rotation on mobile to prevent visual overflow past navbar */
    transition: transform .18s ease, box-shadow .18s ease;
  }

  /* On phones reduce hover transformations (no scale/3D tilt) so widget visual bounds remain inside viewport */
  .widget:hover {
    transform: translateY(-3px) !important;
    box-shadow:
      0 8px 20px rgba(0,0,0,0.10),
      inset 0 0 10px rgba(255,255,255,0.12) !important;
  }

  /* Ensure topbar padding matches workspace so edges align */
  .topbar {
    padding-left: calc(12px + env(safe-area-inset-left, 12px));
    padding-right: calc(12px + env(safe-area-inset-right, 12px));
  }

  /* Keep main container from adding extra horizontal space */
  main.container-fluid {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  /* Mobile menu should align with workspace edges and safe-area insets */
  .mobile-menu {
    left: calc(12px + env(safe-area-inset-left, 8px));
    right: calc(12px + env(safe-area-inset-right, 8px));
    box-sizing: border-box;
  }

  /* Very narrow devices: add small inner padding so content doesn't touch screen edges */
  @media (max-width: 420px) {
    #workspace { padding-left: calc(8px + env(safe-area-inset-left, 8px)); padding-right: calc(8px + env(safe-area-inset-right, 8px)); }
    .widget { padding-left: 12px; padding-right: 12px; }
    .topbar { padding-left: calc(8px + env(safe-area-inset-left, 8px)); padding-right: calc(8px + env(safe-area-inset-right, 8px)); }
  }
}

/* --------------------------------------------------------
   RESPONSIVE HEADER MENU LOGIC overrides (kept for compatibility)
--------------------------------------------------------- */
@media (max-width: 768px) {
  /* ensure mobile-friendly spacing of header contents when moved */
  .topbar .brand { margin-right: 8px; }
}

/* End of stylesheet */

/* =======================================================
   ADDITIONAL OVERRIDES (NEW)
   - Fokus: make Pomodoro & Music widgets properly responsive on small/mobile screens
   - Tanpa merubah Javascript atau fungsi, hanya visual/lay out.
   ======================================================= */

/* Make canvas elements responsive by default (maintain aspect by using max-width).
   Note: Chart.js and scripts set internal canvas pixel buffer; we keep CSS-only changes. */
canvas {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* Specific mobile improvements for Pomodoro and Music widgets */
@media (max-width: 480px) {
  /* Pomodoro widget: cap width, shrink display and ensure controls wrap */
  #pomodoro {
    width: 100%;
    max-width: calc(100% - (24px + env(safe-area-inset-left, 12px) + env(safe-area-inset-right, 12px)));
    box-sizing: border-box;
    padding: 12px;
  }
  #pomodoro .pomo-display {
    font-size: 26px;
    word-break: break-word;
    text-align: left;
  }
  /* Ensure controls area stacks vertically for narrow screens */
  #pomodoro .widget-body > .d-flex.align-items-center.justify-content-between {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  #pomodoro .widget-body .pomo-templates {
    width: 100%;
    justify-content: flex-start;
  }
  .pomo-templates .pomo-template {
    min-width: 64px;
    padding: 6px 8px;
    font-size: 13px;
  }
  #pomoCustom {
    flex-wrap: wrap;
    gap: 6px;
  }
  #pomoCustom input {
    width: 48%;
    min-width: 110px;
  }
  #pomoCustom button {
    width: 100%;
    margin-top: 4px;
  }
  /* Pomo stats (doughnut) scaled down */
  #pomoStats {
    max-height: 120px !important;
    height: auto !important;
  }

  /* Music widget: stack controls vertically and make select & range full-width */
  #music {
    width: 100%;
    max-width: calc(100% - (24px + env(safe-area-inset-left, 12px) + env(safe-area-inset-right, 12px)));
    box-sizing: border-box;
    padding: 12px;
  }
  #music .widget-body .d-flex.gap-2.align-items-center {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  #musicSelect {
    width: 100% !important;
    min-width: 0;
  }
  #musicPlay {
    align-self: flex-start;
  }
  #musicVol {
    width: 100% !important;
  }
  #musicEQ {
    height: 36px !important;
  }

  /* ensure wheel and other canvases won't overflow */
  #wheelCanvas, #moodChart, #dashBar, #dashPie {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Reduce padding for widgets to keep everything visible */
  .widget {
    padding: 10px !important;
  }

  /* Adjust pomodoro buttons size for tap targets */
  #pomoStart, #pomoPause, #pomoReset {
    padding: 6px 8px;
    font-size: 13px;
  }
}

/* Slightly wider small-tablet adjustments to ensure music/pomo look good on 480-767px */
@media (min-width: 481px) and (max-width: 767px) {
  #pomodoro, #music {
    max-width: calc(100% - (32px + env(safe-area-inset-left, 12px) + env(safe-area-inset-right, 12px)));
    padding: 12px;
  }
  .pomo-display { font-size: 30px; }
  #musicSelect { min-width: 180px; width: auto; }
}

/* NOTES:
   - Semua perubahan di atas hanya memodifikasi tampilan (CSS) untuk layar sempit.
   - Tidak ada perubahan pada JavaScript atau HTML yang mengubah logika, event, atau perilaku.
   - Jika ada variasi layout yang masih terasa longgar di perangkat tertentu, beri tahu ukuran layar yang dimaksud (lebar x tinggi)
     sehingga saya dapat men-tweak breakpoint atau nilai max-width lebih tepat.
*/