/* ═══════════════════════════════════════════════════════
   VATTOO v2 — Full Width · Light/Dark · Google Sans
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&family=Google+Sans+Display:wght@400;700&family=Google+Sans+Mono:wght@400;700&display=swap');

/* ── TOKENS ── */
:root {
  --brand:        #1A73E8;
  --brand-hover:  #1557B0;
  --brand-light:  #E8F0FE;
  --brand-2:      #34A853;
  --brand-3:      #EA4335;
  --brand-4:      #FBBC04;

  --bg:           #F8F9FA;
  --surface:      #FFFFFF;
  --surface2:     #F1F3F4;
  --surface3:     #E8EAED;
  --border:       #DADCE0;

  --text:         #202124;
  --text2:        #5F6368;
  --text3:        #9AA0A6;

  --radius:       20px;
  --radius-sm:    12px;
  --radius-xs:    8px;
  --shadow-sm:    0 1px 2px rgba(60,64,67,.08), 0 2px 6px rgba(60,64,67,.06);
  --shadow:       0 1px 3px rgba(60,64,67,.10), 0 4px 12px rgba(60,64,67,.08);
  --shadow-lg:    0 8px 32px rgba(60,64,67,.12);

  --font:         'Google Sans', 'Segoe UI', sans-serif;
  --font-display: 'Google Sans Display', 'Google Sans', sans-serif;
  --font-mono:    'Google Sans Mono', 'Consolas', monospace;

  --header-h:     64px;
  --transition:   .2s cubic-bezier(.4,0,.2,1);
}

/* DARK MODE */
[data-theme="dark"] {
  --bg:       #111214;
  --surface:  #1C1E21;
  --surface2: #252729;
  --surface3: #2E3033;
  --border:   #3C4043;
  --text:     #E8EAED;
  --text2:    #9AA0A6;
  --text3:    #5F6368;
  --brand-light: #1A2D4F;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 6px rgba(0,0,0,.2);
  --shadow:    0 1px 3px rgba(0,0,0,.4), 0 4px 12px rgba(0,0,0,.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.5);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-hover); }

/* ── LAYOUT ── */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition), border-color var(--transition);
}
.header-inner {
  display: flex; align-items: center; gap: 16px;
  height: 100%;
}
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  text-decoration: none;
}
.logo-dot { color: var(--brand); }
.logo-icon {
  width: 32px; height: 32px;
  background: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

/* NAV PILLS */
.nav-main {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
  margin-left: 8px;
}
.nav-main a {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--text2);
  padding: 8px 16px;
  border-radius: 999px;
  transition: all var(--transition);
  text-decoration: none;
}
.nav-main a:hover {
  background: var(--surface2);
  color: var(--text);
}
.nav-main a.active {
  background: var(--brand-light);
  color: var(--brand);
  font-weight: 700;
}
.nav-main .nav-icon { font-size: 16px; }

/* HEADER RIGHT */
.header-right {
  margin-left: auto;
  display: flex; align-items: center; gap: 8px;
}

/* THEME TOGGLE */
.theme-toggle {
  width: 40px; height: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  color: var(--text2);
}
.theme-toggle:hover {
  background: var(--surface3);
  color: var(--text);
  transform: rotate(20deg);
}

/* MOBILE HAMBURGER */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none;
  cursor: pointer; border-radius: 50%;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: var(--text2); border-radius: 2px;
  transition: all var(--transition);
}

/* MOBILE NAV DRAWER */
.mobile-nav {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  z-index: 899;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 500;
  color: var(--text2);
  transition: all var(--transition);
  text-decoration: none;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: var(--brand-light);
  color: var(--brand);
}

/* ══════════════════════════════
   HERO TOOL AREA (full width)
══════════════════════════════ */
.tool-hero {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 40px;
}
.tool-hero-inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
.tool-main { min-width: 0; }
.tool-sidebar { min-width: 0; }

/* PAGE TITLE */
.page-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.page-sub {
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 32px;
}

/* CLOCK FACE */
.clock-face {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px 32px;
  text-align: center;
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}
.clock-digits {
  font-family: var(--font-mono);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -3px;
  line-height: 1;
  transition: color var(--transition);
}
.clock-digits.running { color: var(--brand); }
.clock-digits.done    { color: var(--brand-3); }
.clock-digits.paused  { color: var(--brand-4); }

.clock-date {
  font-size: 15px;
  color: var(--text2);
  margin-top: 10px;
}
.clock-tz {
  font-size: 12px;
  color: var(--text3);
  margin-top: 3px;
}

/* PROGRESS BAR */
.progress-wrap {
  height: 4px;
  background: var(--surface3);
  border-radius: 2px;
  overflow: hidden;
  margin: 16px 0;
}
.progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--brand);
  transition: width .5s linear, background .3s;
}
.progress-fill.warn { background: var(--brand-4); }
.progress-fill.done { background: var(--brand-3); }

/* ── TIME INPUTS ── */
.time-inputs {
  display: flex; align-items: flex-end; justify-content: center; gap: 6px;
  margin: 20px 0 24px;
}
.t-group { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.t-group label {
  font-size: 11px; font-weight: 700;
  color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
}
.t-input {
  width: 88px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 36px; font-weight: 700;
  color: var(--text);
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 6px;
  outline: none;
  -moz-appearance: textfield;
  transition: border var(--transition), background var(--transition);
}
.t-input:focus {
  border-color: var(--brand);
  background: var(--brand-light);
}
.t-input::-webkit-outer-spin-button,
.t-input::-webkit-inner-spin-button { -webkit-appearance: none; }
.t-sep {
  font-family: var(--font-mono);
  font-size: 36px; font-weight: 700;
  color: var(--border);
  margin-bottom: 10px;
}

/* AM/PM TOGGLE */
.ampm-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 2px; }
.ampm-btn {
  padding: 8px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-xs);
  background: var(--surface2);
  font-size: 13px; font-weight: 700;
  color: var(--text2);
  cursor: pointer;
  transition: all var(--transition);
}
.ampm-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font);
  font-size: 15px; font-weight: 700;
  padding: 12px 28px;
  border-radius: 999px;
  border: none; cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: .1px;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26,115,232,.3);
}
.btn-primary:hover:not(:disabled) {
  background: var(--brand-hover);
  box-shadow: 0 4px 16px rgba(26,115,232,.4);
  transform: translateY(-1px);
}
.btn-success { background: var(--brand-2); color: #fff; }
.btn-success:hover:not(:disabled) { background: #2D9249; transform: translateY(-1px); }
.btn-danger  { background: var(--brand-3); color: #fff; }
.btn-danger:hover:not(:disabled)  { background: #D33426; transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--border);
  color: var(--text2);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-light);
}
.btn-ghost {
  background: var(--surface2);
  color: var(--text2);
  border: 1px solid var(--border);
}
.btn-ghost:hover:not(:disabled) { background: var(--surface3); color: var(--text); }
.btn-sm { font-size: 13px; padding: 8px 18px; }
.btn-lg { font-size: 17px; padding: 14px 36px; }

.btn-group {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin: 16px 0;
}

/* STATUS LINE */
.status-line {
  text-align: center;
  font-size: 13px;
  color: var(--text3);
  min-height: 20px;
  margin: 4px 0;
  font-weight: 500;
}
.status-line.success { color: var(--brand-2); }
.status-line.info    { color: var(--brand); }
.status-line.warn    { color: var(--brand-4); }

/* ── PRESETS ── */
.preset-bar {
  margin: 24px 0 0;
}
.preset-bar h3 {
  font-size: 12px; font-weight: 700;
  color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 10px;
}
.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  font-size: 13px; font-weight: 600;
  color: var(--brand);
  background: var(--brand-light);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 6px 16px;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}
.chip:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(26,115,232,.25);
}
.chip.green  { color: var(--brand-2); background: #E6F4EA; }
.chip.green:hover { background: var(--brand-2); color: #fff; }
.chip.red    { color: var(--brand-3); background: #FCE8E6; }
.chip.red:hover   { background: var(--brand-3); color: #fff; }

/* ══════════════════════════════
   SIDEBAR CARDS
══════════════════════════════ */
.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
  transition: background var(--transition), border-color var(--transition);
}
.sidebar-card h3 {
  font-size: 11px; font-weight: 700;
  color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.tool-link {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px; font-weight: 600;
  transition: all var(--transition);
  background: var(--surface2);
}
.tool-link:last-child { margin-bottom: 0; }
.tool-link:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  color: var(--brand);
}
.tool-link .tl-icon {
  width: 32px; height: 32px;
  border-radius: var(--radius-xs);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.tl-blue   { background: #E8F0FE; }
.tl-green  { background: #E6F4EA; }
.tl-red    { background: #FCE8E6; }
.tl-yellow { background: #FEF7E0; }

/* ══════════════════════════════
   CONTENT AREA
══════════════════════════════ */
.content-area {
  padding: 48px 0;
}
.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 20px;
  transition: background var(--transition), border-color var(--transition);
}
.content-card h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.content-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text);
  margin: 22px 0 8px;
}
.content-card p {
  font-size: 15px; color: var(--text2);
  margin-bottom: 14px; line-height: 1.75;
}
.content-card ul, .content-card ol {
  font-size: 15px; color: var(--text2);
  padding-left: 20px; margin-bottom: 14px;
}
.content-card li { margin-bottom: 8px; line-height: 1.7; }

/* FEATURE GRID */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px; margin: 20px 0;
}
.feat-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  transition: all var(--transition);
}
.feat-card:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}
.feat-icon { font-size: 26px; margin-bottom: 10px; }
.feat-card h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.feat-card p  { font-size: 13px; color: var(--text2); margin: 0; line-height: 1.5; }

/* QUICK LINKS GRID */
.qlinks {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px; margin: 14px 0;
}
.qlinks a {
  text-align: center;
  padding: 10px 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600;
  color: var(--text2);
  transition: all var(--transition);
  text-decoration: none;
}
.qlinks a:hover {
  background: var(--brand-light);
  border-color: var(--brand);
  color: var(--brand);
}

/* FAQ */
.faq-list { margin-top: 4px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; cursor: pointer;
  font-size: 15px; font-weight: 700;
  color: var(--text);
  user-select: none;
}
.faq-q::after {
  content: '+';
  font-size: 22px; font-weight: 400;
  color: var(--brand);
  transition: transform var(--transition);
  flex-shrink: 0; margin-left: 16px;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  display: none;
  font-size: 15px; color: var(--text2);
  line-height: 1.75;
  padding-bottom: 16px;
}
.faq-item.open .faq-a { display: block; }

/* ══════════════════════════════
   LAP TABLE (stopwatch)
══════════════════════════════ */
.lap-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 16px;
}
.lap-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.lap-table th {
  background: var(--surface2);
  padding: 10px 14px;
  text-align: left;
  font-size: 11px; font-weight: 700;
  color: var(--text3);
  text-transform: uppercase; letter-spacing: .8px;
  border-bottom: 1px solid var(--border);
}
.lap-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}
.lap-table tr:last-child td { border-bottom: none; }
.lap-best td  { color: var(--brand-2) !important; background: #E6F4EA22; }
.lap-worst td { color: var(--brand-3) !important; background: #FCE8E622; }

/* ══════════════════════════════
   WORLD CLOCK GRID
══════════════════════════════ */
.tz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px; margin: 20px 0;
}
.tz-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  transition: all var(--transition);
  cursor: default;
}
.tz-card:hover {
  border-color: var(--brand);
  background: var(--brand-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.tz-city {
  font-size: 11px; font-weight: 700;
  color: var(--text3);
  text-transform: uppercase; letter-spacing: .8px;
  margin-bottom: 6px;
}
.tz-country { font-size: 12px; color: var(--text3); }
.tz-time {
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.tz-date { font-size: 11px; color: var(--text3); margin-top: 3px; }

/* LOCAL TIME HERO */
.local-hero {
  background: linear-gradient(135deg, var(--brand) 0%, #4285F4 100%);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  margin-bottom: 20px;
  color: #fff;
}
.local-hero .lh-label {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  opacity: .8; margin-bottom: 6px;
}
.local-hero .lh-time {
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700; letter-spacing: -2px;
  line-height: 1;
}
.local-hero .lh-date { font-size: 15px; opacity: .85; margin-top: 8px; }
.local-hero .lh-tz   { font-size: 12px; opacity: .6; margin-top: 3px; }

/* ══════════════════════════════
   BREADCRUMB
══════════════════════════════ */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text3);
  padding: 16px 0 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text3); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb-sep { color: var(--border); font-size: 16px; }

/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(32,33,36,.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center; justify-content: center;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 460px; width: 90%;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  animation: pop .2s cubic-bezier(.34,1.56,.64,1);
}
@keyframes pop {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.modal h2 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
}
.modal p { font-size: 15px; color: var(--text2); margin-bottom: 28px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: var(--surface2); border: none;
  border-radius: 50%; cursor: pointer;
  font-size: 18px; color: var(--text2);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { background: var(--surface3); color: var(--text); }

/* ══════════════════════════════
   COOKIE CONSENT BANNER
══════════════════════════════ */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  padding: 16px 24px;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-bar.show { transform: translateY(0); }
.cookie-text {
  flex: 1; min-width: 260px;
  font-size: 14px; color: var(--text2);
  line-height: 1.5;
}
.cookie-text a { color: var(--brand); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 0;
  transition: background var(--transition), border-color var(--transition);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}
.footer-brand .logo { font-size: 18px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text2); line-height: 1.6; }
.footer-col h4 {
  font-size: 12px; font-weight: 700;
  color: var(--text3);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: var(--text2); transition: color var(--transition); }
.footer-col a:hover { color: var(--brand); }
.footer-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text3); flex-wrap: wrap; gap: 8px;
}

/* ══════════════════════════════
   ALARM ACTIVE INDICATOR
══════════════════════════════ */
.alarm-badge {
  display: none;
  align-items: center; gap: 8px;
  background: var(--brand-light);
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin: 12px 0;
  font-size: 14px; font-weight: 600;
  color: var(--brand);
}
.alarm-badge.show { display: flex; }
.alarm-badge .pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: .6; }
}

/* ══════════════════════════════
   SOUND SELECTOR
══════════════════════════════ */
.sound-row {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 12px 0;
  justify-content: center;
}
.sound-row label { font-size: 13px; font-weight: 700; color: var(--text2); }
.styled-select {
  padding: 8px 14px;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text);
  font-family: var(--font);
  outline: none;
  transition: border var(--transition);
  cursor: pointer;
}
.styled-select:focus { border-color: var(--brand); }

/* ══════════════════════════════
   TIMEZONE CONVERTER
══════════════════════════════ */
.tz-converter {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin: 20px 0;
}
.tz-converter h3 {
  font-size: 13px; font-weight: 700;
  color: var(--text2); margin-bottom: 14px;
}
.tz-row {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  gap: 10px; align-items: end;
}
.tz-arrow {
  text-align: center;
  font-size: 20px; color: var(--brand);
  padding-bottom: 10px;
}
.tz-result {
  margin-top: 14px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius-xs);
  border: 1px solid var(--border);
  text-align: center;
  font-family: var(--font-mono);
  font-size: 16px; font-weight: 700;
  color: var(--brand);
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 1024px) {
  .tool-hero-inner { grid-template-columns: 1fr; }
  .tool-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .nav-main { display: none; }
  .hamburger { display: flex; }
  .clock-digits { font-size: 52px; letter-spacing: -1px; }
  .t-input { width: 70px; font-size: 28px; }
  .t-sep { font-size: 28px; }
  .content-card { padding: 24px 18px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .tool-sidebar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .local-hero .lh-time { font-size: 52px; }
  .tz-row { grid-template-columns: 1fr 30px 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .clock-digits { font-size: 40px; }
  .feat-grid { grid-template-columns: 1fr; }
  .btn-lg { font-size: 15px; padding: 12px 24px; }
  .time-inputs { gap: 4px; }
  .t-input { width: 62px; font-size: 24px; padding: 8px 4px; }
  .t-sep { font-size: 24px; }
}
