@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
  --bg-primary: #f5f6fa;
  --bg-secondary: #fff;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-light: #999;
  --border-color: #e2e5ef;
  --shadow: rgba(0,0,0,0.06);
  --primary-color: #4f7df3;
  --primary-light: rgba(79,125,243,0.08);
  --primary-glow: rgba(79,125,243,0.2);
  --gradient-primary: linear-gradient(135deg, #4f7df3, #7c5cf5);
  --danger-color: #ef4444;
  --success-color: #10b981;
  --neon-color: #00e5ff;
  --neon-glow: rgba(0, 229, 255, 0.5);
  --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark-mode,
body.dark-mode {
  --bg-primary: #0c0c18;
  --bg-secondary: #161627;
  --text-primary: #eaeaf2;
  --text-secondary: #a0a0b8;
  --text-light: #8686ab;
  --border-color: #252540;
  --shadow: rgba(0,0,0,0.35);
  --primary-light: rgba(79,125,243,0.12);
  --primary-glow: rgba(79,125,243,0.3);
  --neon-color: #00e5ff;
  --neon-glow: rgba(0, 229, 255, 0.6);
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  transition: background 0.4s var(--transition), color 0.4s var(--transition);
}

body::before {
  content: '';
  position: fixed;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(79,125,243,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 36px 24px 60px;
  position: relative;
  z-index: 1;
}

/* ── Header ── */
header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}

.header-left { flex: 1; }

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 10px;
  font-weight: 600;
  padding: 4px 12px 4px 8px;
  border-radius: 20px;
  background: var(--primary-light);
  transition: all 0.25s var(--transition);
}

.home-link:hover {
  background: var(--primary-glow);
  transform: translateX(-3px);
}

.header-left h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 6px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.header-right { display: flex; align-items: center; gap: 10px; }

header button {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  font-size: 1.05rem;
  padding: 9px 12px;
  border-radius: 12px;
  transition: all 0.25s var(--transition);
  color: var(--text-primary);
  line-height: 1;
}

header button:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow);
}

/* 다크모드/도움말/전체화면/언어 아이콘 버튼 — 홈페이지와 동일한 구조 */
.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-primary);
  cursor: pointer;
  transition: all 0.25s var(--transition);
  color: var(--text-secondary);
}

.icon-btn:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  color: var(--primary-color);
  transform: none;
  box-shadow: none;
}

.theme-icon {
  width: 18px;
  height: 18px;
}

.lang-select {
  position: relative;
}

.lang-toggle {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 160px;
  padding: 6px;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  background: var(--bg-secondary);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s var(--transition);
  z-index: 200;
}

.lang-select.open .lang-toggle {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 9px 10px;
  border-radius: 8px;
  transition: all 0.2s var(--transition);
}

.lang-option:hover {
  background: var(--primary-light);
  color: var(--primary-color);
}

.lang-option.active {
  color: var(--primary-color);
}

.lang-option .lang-check {
  opacity: 0;
  color: var(--primary-color);
}

.lang-option.active .lang-check {
  opacity: 1;
}

/* ── Mode Selector ── */
.mode-selector {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 4px;
  width: fit-content;
}

.mode-btn {
  padding: 7px 20px;
  border: none;
  border-radius: 9px;
  background: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s var(--transition);
}

.mode-btn.active {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* ── Style Selector ── */
.style-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.style-btn {
  padding: 8px 16px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-secondary);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.style-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.style-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

/* ── Timer Section ── */
.timer-section {
  background: var(--bg-secondary);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 8px var(--shadow);
  margin-bottom: 20px;
}

/* ── Display Area ── */
.display-area {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.timer-display {
  display: none;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.timer-display.active {
  display: flex;
}

/* ── 네온 색상 선택 ── */
.neon-colors {
  gap: 10px;
  justify-content: center;
  margin-bottom: 16px;
}

.neon-color-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.neon-color-btn:hover {
  transform: scale(1.15);
}

.neon-color-btn.active {
  border-color: var(--text-primary);
  box-shadow: 0 0 10px var(--neon-glow);
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════
   Style 1: 아날로그
   ═══════════════════════════════════════════════ */
.style-analog {
  flex-direction: column;
  align-items: center;
}

#analog-canvas {
  width: 240px;
  height: 240px;
}

/* ═══════════════════════════════════════════════
   Style 3: 미니멀
   ═══════════════════════════════════════════════ */
.style-minimal {
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

.minimal-time {
  font-size: 5rem;
  font-weight: 200;
  color: var(--text-primary);
  letter-spacing: 4px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.minimal-label {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
  letter-spacing: 12px;
  text-indent: 12px;
}

/* ═══════════════════════════════════════════════
   Style 4: 네온
   ═══════════════════════════════════════════════ */
.style-neon {
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

.neon-time {
  display: flex;
  align-items: center;
  gap: 6px;
}

.neon-digit {
  font-family: 'Courier New', monospace;
  font-size: 5rem;
  font-weight: 700;
  color: var(--neon-color);
  text-shadow:
    0 0 7px var(--neon-glow),
    0 0 20px var(--neon-glow),
    0 0 42px var(--neon-glow),
    0 0 80px rgba(0, 229, 255, 0.2);
  line-height: 1;
  min-width: 110px;
  text-align: center;
}

.neon-sep {
  font-family: 'Courier New', monospace;
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--neon-color);
  text-shadow:
    0 0 7px var(--neon-glow),
    0 0 20px var(--neon-glow),
    0 0 42px var(--neon-glow);
  line-height: 1;
  animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ═══════════════════════════════════════════════
   Style 5: 원형 프로그레스
   ═══════════════════════════════════════════════ */
.style-circular {
  position: relative;
  width: 220px;
  height: 220px;
}

.circular-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circular-bg {
  fill: none;
  stroke: var(--border-color);
  stroke-width: 8;
}

.circular-progress {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.3s ease;
}

.circular-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.circular-time {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.circular-label {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ── Stopwatch Centiseconds ── */
.sw-cs {
  font-size: 1em;
  font-weight: 300;
  color: var(--text-secondary);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  vertical-align: baseline;
  margin-left: 1px;
}

.neon-cs {
  font-family: 'Courier New', monospace;
  font-size: 5rem;
  font-weight: 700;
  color: var(--neon-color);
  opacity: 0.65;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 0 7px var(--neon-glow),
    0 0 20px var(--neon-glow);
}

/* ── Presets ── */
.presets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.preset-group {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.preset-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  min-width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.preset-btn {
  padding: 5px 13px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  background: var(--bg-primary);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

.preset-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: var(--bg-secondary);
}

/* ── Input Section ── */
.input-section {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.input-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.input-group input {
  width: 70px;
  padding: 10px;
  font-size: 1.2rem;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: border-color 0.2s;
  /* 브라우저 기본 스피너 숨김 */
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.input-group input::-webkit-inner-spin-button,
.input-group input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.input-group input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── Controls ── */
.controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.btn {
  border: none;
  border-radius: 10px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-primary);
  color: var(--text-secondary);
}

.btn:hover:not(:disabled) {
  background: var(--border-color);
}

.btn:active:not(:disabled) {
  transform: scale(0.96);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: #3a63d4;
}

/* ── Hint Bar ── */
.hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.73rem;
  color: var(--text-light);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hint-sep {
  opacity: 0.4;
}

/* ── Progress Bar ── */
.progress-bar {
  height: 8px;
  background: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  width: 100%;
  border-radius: 10px;
  transition: width 0.3s linear;
}

/* ── Options ── */
.options {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 2px 8px var(--shadow);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

/* ── Timer end flash ── */
@keyframes timerEnd {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.timer-ended .digital-segment,
.timer-ended .digital-colon {
  animation: timerEnd 0.5s ease 3;
}

.timer-ended .neon-digit,
.timer-ended .neon-sep {
  animation: timerEnd 0.5s ease 3;
}

.timer-ended .minimal-time {
  animation: timerEnd 0.5s ease 3;
}

.timer-ended .circular-time {
  animation: timerEnd 0.5s ease 3;
}

/* ── Modal ── */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: fadeBg 0.2s ease;
  padding: 20px;
}

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

.modal-box {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-radius: 20px;
  padding: 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalIn 0.35s var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.modal-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

@keyframes modalIn {
  from { transform: translateY(24px) scale(0.95); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-box h2 {
  margin-bottom: 18px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.shortcuts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.shortcut-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  padding: 8px 12px;
  background: var(--bg-primary);
  border-radius: 10px;
  transition: background 0.2s;
}

.shortcut-item:hover {
  background: var(--primary-light);
}

.shortcut-item kbd {
  background: var(--gradient-primary);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: 'Inter', monospace;
  box-shadow: 0 2px 6px var(--primary-glow);
  letter-spacing: 0.3px;
}

.shortcut-item span {
  color: var(--text-secondary);
  font-weight: 500;
}

.modal-close-btn {
  width: 100%;
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 3px 10px var(--primary-glow);
}

.modal-close-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--primary-glow);
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 1px solid var(--border-color);
  animation: toastIn 0.35s var(--transition);
}

@keyframes toastIn {
  from { transform: translateX(-50%) translateY(16px); opacity: 0; }
  to   { transform: translateX(-50%) translateY(0); opacity: 1; }
}

/* ── Fullscreen Exit Button ── */
.fullscreen-exit-btn {
  display: none;
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 500;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.3;
  transition: opacity 0.25s;
}

.fullscreen-exit-btn:hover {
  opacity: 1;
}

body.fullscreen-mode .fullscreen-exit-btn {
  display: block;
}

/* ── Fullscreen Mode ── */
body.fullscreen-mode {
  overflow: hidden;
}

body.fullscreen-mode::before {
  display: none;
}

body.fullscreen-mode .container {
  max-width: 100vw;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.fullscreen-mode header,
body.fullscreen-mode .mode-selector,
body.fullscreen-mode .style-selector,
body.fullscreen-mode #neon-colors,
body.fullscreen-mode .presets,
body.fullscreen-mode .input-section,
body.fullscreen-mode .controls,
body.fullscreen-mode .progress-bar,
body.fullscreen-mode .options,
body.fullscreen-mode .seo-content {
  display: none !important;
}

body.fullscreen-mode .timer-section {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

body.fullscreen-mode .display-area {
  min-height: unset;
  margin: 0;
  width: 100vw;
  height: 100vh;
}

body.fullscreen-mode .minimal-time {
  font-size: clamp(4rem, 22vw, 30rem);
}

body.fullscreen-mode .minimal-label {
  font-size: clamp(0.7rem, 1.8vw, 1.5rem);
  letter-spacing: clamp(6px, 1.5vw, 20px);
  text-indent: clamp(6px, 1.5vw, 20px);
}

body.fullscreen-mode .neon-digit {
  font-size: clamp(4rem, 20vw, 28rem);
  min-width: unset;
}

body.fullscreen-mode .neon-sep {
  font-size: clamp(3.5rem, 18vw, 25rem);
}

body.fullscreen-mode .neon-cs {
  font-size: clamp(4rem, 20vw, 28rem);
}

body.fullscreen-mode .style-circular {
  width: clamp(200px, 55vmin, 500px);
  height: clamp(200px, 55vmin, 500px);
}

body.fullscreen-mode .circular-time {
  font-size: clamp(2rem, 10vmin, 8rem);
}

body.fullscreen-mode .circular-label {
  font-size: clamp(0.7rem, 2vmin, 1.2rem);
}

body.fullscreen-mode #analog-canvas {
  width: clamp(200px, 55vmin, 500px) !important;
  height: clamp(200px, 55vmin, 500px) !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 6px; }

::selection {
  background: var(--primary-glow);
  color: var(--text-primary);
}

*:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .container {
    padding: 24px 16px 50px;
  }

  .lang-toggle { min-width: 140px; right: -4px; }
  .lang-option { padding: 8px 8px; font-size: 0.8rem; }

  .timer-section {
    padding: 24px 16px;
  }

  .display-area {
    min-height: 160px;
  }

  .digital-segment {
    font-size: 3rem;
    min-width: 75px;
  }

  .digital-colon {
    font-size: 2.8rem;
  }

  .digital-time {
    padding: 16px 20px;
  }

  .minimal-time {
    font-size: 3.5rem;
  }

  .neon-digit {
    font-size: 3.5rem;
    min-width: 75px;
  }

  .neon-sep {
    font-size: 3rem;
  }

  .neon-cs {
    font-size: 3.5rem;
  }

  .style-circular {
    width: 180px;
    height: 180px;
  }

  .circular-time {
    font-size: 2.2rem;
  }

  #analog-canvas {
    width: 200px;
    height: 200px;
  }

  .input-group input {
    width: 60px;
    font-size: 1rem;
  }

  .controls {
    flex-wrap: wrap;
  }

  .btn {
    flex: 1;
    min-width: 90px;
  }

  .header-left h1 {
    font-size: 1.5rem;
  }

  .style-selector {
    gap: 4px;
  }

  .style-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .presets {
    gap: 8px;
  }

  .preset-group-label {
    min-width: 24px;
    font-size: 0.63rem;
  }

  .hint-bar {
    font-size: 0.68rem;
    gap: 5px;
  }

  .preset-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
  }
}

/* 모바일 가로 스크롤 방지 — 배경 장식(fixed blob)이 뷰포트 밖으로 넘쳐도 가로 스크롤이 생기지 않게 한다 */
html { overflow-x: hidden; }
