/* =========================================================
   AMETIST GÜZELLİK BAKIM MERKEZİ — Ortak Stiller
   Hedef: 25-65 yaş, düşük bilişsel yük, yüksek okunabilirlik
   ========================================================= */

:root {
  /* Ametist paleti */
  --ametist-900: oklch(0.22 0.08 310);
  --ametist-800: oklch(0.32 0.12 310);
  --ametist-700: oklch(0.42 0.15 308);
  --ametist-600: oklch(0.52 0.17 305);
  --ametist-500: oklch(0.62 0.17 305);
  --ametist-400: oklch(0.74 0.12 305);
  --ametist-200: oklch(0.92 0.04 310);
  --ametist-100: oklch(0.97 0.02 310);

  /* Nötrler — sıcak kremli */
  --ink:    oklch(0.22 0.02 310);
  --ink-soft: oklch(0.38 0.02 310);
  --cream:  oklch(0.985 0.008 80);
  --cream-2: oklch(0.96 0.012 75);
  --line:   oklch(0.88 0.015 310);

  /* Vurgu — ılık altın (mor ile tamamlayıcı) */
  --gold:   oklch(0.75 0.11 80);

  /* Ölçekler */
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px oklch(0.22 0.08 310 / 0.06), 0 2px 6px oklch(0.22 0.08 310 / 0.05);
  --shadow-md: 0 4px 12px oklch(0.22 0.08 310 / 0.08), 0 12px 32px oklch(0.22 0.08 310 / 0.08);
  --shadow-lg: 0 12px 40px oklch(0.22 0.08 310 / 0.14);

  /* Tipo */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Header yüksekliği */
  --header-h: 84px;
  --mobile-bar-h: 72px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* ============ Sayfa geçiş animasyonu (yumuşak fade ~400ms) ============ */
body {
  transition: opacity 0.4s ease;
}
body.is-leaving { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  body { transition: none !important; }
  body.is-leaving { opacity: 1 !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* mobilde alttaki sabit ara-barı için boşluk */
  padding-bottom: 0;
}

@media (max-width: 760px) {
  body { padding-bottom: var(--mobile-bar-h); }
}

img, svg { display: block; max-width: 100%; }

a { color: var(--ametist-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ametist-900);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 500; }
h2 { font-size: clamp(32px, 4.5vw, 56px); }
h3 { font-size: clamp(24px, 2.5vw, 32px); }

p { margin: 0 0 1em; text-wrap: pretty; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ametist-600);
  font-weight: 600;
  margin: 0 0 16px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(0.985 0.008 80 / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  height: var(--header-h);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 100%;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand:hover { text-decoration: none; opacity: 0.85; }
.brand-mark {
  display: block;
  height: 56px;
  width: auto;
}
.brand-mark img {
  display: block;
  height: 100%;
  width: auto;
}
.site-footer .brand-mark {
  height: 64px;
}
.site-footer .brand-mark img {
  filter: brightness(0) invert(1);
}
@media (max-width: 720px) {
  .brand-mark { height: 44px; }
  .site-footer .brand-mark { height: 52px; }
}

.nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.nav a {
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  color: var(--ink);
  font-size: 16px;
}
.nav a:hover { background: var(--ametist-100); text-decoration: none; color: var(--ametist-800); }
.nav a.active { background: var(--ametist-200); color: var(--ametist-900); }

/* Header telefon butonu — HER ZAMAN görünür */
.header-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--ametist-800);
  color: #fff !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 17px;
  transition: all .2s ease;
  box-shadow: 0 4px 14px oklch(0.32 0.12 310 / 0.3);
  flex-shrink: 0;
}
.header-call:hover {
  background: var(--ametist-700);
  transform: translateY(-1px);
  text-decoration: none;
  box-shadow: 0 6px 18px oklch(0.32 0.12 310 / 0.4);
}
.header-call svg { width: 18px; height: 18px; }
.header-call .num { font-variant-numeric: tabular-nums; }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-call .num { display: none; }
  .header-call { padding: 12px 16px; margin-left: auto; }
}

/* Hamburger */
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 12px;
  cursor: pointer;
  align-items: center; justify-content: center;
  color: var(--ink);
}
.menu-btn span {
  display: block;
  width: 20px; height: 2px;
  background: currentColor;
  position: relative;
}
.menu-btn span::before, .menu-btn span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
}

/* Açılır mobil menü */
.mobile-menu {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0;
  background: var(--cream);
  z-index: 49;
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 20px 0;
  font-size: 22px;
  color: var(--ink);
  font-family: var(--font-display);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a.active { color: var(--ametist-700); }

/* ============ WhatsApp Floating Button ============ */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0,0,0,0.12);
  z-index: 70;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.whatsapp-fab:hover {
  text-decoration: none;
  transform: scale(1.06);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55), 0 2px 6px rgba(0,0,0,0.15);
}
.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 760px) {
  .whatsapp-fab {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: calc(var(--mobile-bar-h) + 14px);
  }
  .whatsapp-fab svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-fab { animation: none; }
}

/* ============ STICKY MOBILE CALL BAR ============ */
.mobile-call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--ametist-800);
  color: #fff;
  padding: 10px 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 60;
  box-shadow: 0 -4px 20px oklch(0.22 0.08 310 / 0.25);
  height: var(--mobile-bar-h);
}
.mobile-call-bar .mc-label {
  font-size: 13px;
  opacity: 0.8;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mobile-call-bar .mc-num {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  color: #fff;
}
.mobile-call-bar .mc-info { line-height: 1.15; }
.mobile-call-bar a.mc-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  color: var(--ametist-800) !important;
  font-weight: 700;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 17px;
  min-height: 48px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mobile-call-bar a.mc-btn:hover { text-decoration: none; }

@media (max-width: 760px) {
  .mobile-call-bar { display: flex; }
}

/* ============ BUTONLAR ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  border: none;
  transition: all .2s ease;
  text-decoration: none;
  min-height: 56px;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--ametist-800);
  color: #fff;
  box-shadow: 0 6px 20px oklch(0.32 0.12 310 / 0.25);
}
.btn-primary:hover {
  background: var(--ametist-700);
  transform: translateY(-2px);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 10px 28px oklch(0.32 0.12 310 / 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--ametist-800);
  border: 1.5px solid var(--ametist-800);
}
.btn-ghost:hover {
  background: var(--ametist-100);
  text-decoration: none;
}
.btn svg { width: 20px; height: 20px; }

/* ============ SECTIONS ============ */
section {
  padding: 100px 0;
}
section.tight { padding: 64px 0; }
@media (max-width: 760px) {
  section { padding: 64px 0; }
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { font-size: 19px; color: var(--ink-soft); }

/* ============ KARTLAR ============ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ametist-400);
}

/* Grid yardımcıları */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ametist-900);
  color: oklch(0.92 0.02 310);
  padding: 72px 0 32px;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 600;
}
.site-footer a { color: oklch(0.88 0.03 310); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-big-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  color: var(--ametist-900) !important;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 22px;
  margin-top: 8px;
  box-shadow: var(--shadow-md);
  font-variant-numeric: tabular-nums;
}
.footer-big-call:hover { text-decoration: none; transform: translateY(-2px); }
.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 14px 8px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid oklch(0.55 0.08 305);
  transition: background 0.2s, border-color 0.2s;
}
.footer-ig:hover {
  text-decoration: none;
  background: oklch(0.42 0.15 303);
  border-color: oklch(0.65 0.10 305);
}
.footer-ig svg { flex-shrink: 0; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid oklch(0.4 0.08 310);
  font-size: 14px;
  color: oklch(0.78 0.04 310);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--ametist-700);
  font-weight: 400;
}
.hero-lead {
  font-size: 20px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-phone-callout {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.hero-phone-callout .pulse-dot {
  width: 10px; height: 10px;
  background: oklch(0.65 0.15 145);
  border-radius: 50%;
  box-shadow: 0 0 0 0 oklch(0.65 0.15 145 / 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 oklch(0.65 0.15 145 / 0.6); }
  70% { box-shadow: 0 0 0 10px oklch(0.65 0.15 145 / 0); }
  100% { box-shadow: 0 0 0 0 oklch(0.65 0.15 145 / 0); }
}
.hero-phone-callout .open-label {
  font-size: 13px; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase;
}
.hero-phone-callout .open-status { font-weight: 600; color: var(--ink); font-size: 15px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--ametist-200), var(--ametist-100));
  border-radius: 280px 280px 24px 24px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
}
.hero-visual .placeholder-label {
  position: absolute;
  bottom: 16px; left: 16px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px;
  color: var(--ametist-700);
  background: oklch(0.985 0.005 80 / 0.7);
  padding: 4px 10px;
  border-radius: 20px;
}
.hero-visual .soft-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.55;
}
.hero-visual .s1 { width: 340px; height: 340px; background: var(--ametist-400); top: -60px; right: -40px; }
.hero-visual .s2 { width: 240px; height: 240px; background: var(--gold); bottom: -40px; left: -40px; opacity: .35; }

.hero-visual .illo {
  position: relative;
  z-index: 1;
  width: 70%;
  opacity: 0.92;
}

/* Arkadaki dekoratif alan */
.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--ametist-200), transparent 70%);
  z-index: -1;
}

/* ============ GÜVEN STRIP ============ */
.trust-strip {
  padding: 40px 0;
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip .row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.trust-strip .stat .num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--ametist-800);
  line-height: 1;
  margin-bottom: 4px;
}
.trust-strip .stat .lbl {
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
@media (max-width: 760px) {
  .trust-strip .row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ============ SERVICE CARDS ============ */
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--ametist-400);
}
.service-card .img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ametist-200), var(--ametist-100));
  position: relative;
  overflow: hidden;
}
.service-card .img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 48%, oklch(0.88 0.04 310 / 0.5) 49%, oklch(0.88 0.04 310 / 0.5) 51%, transparent 52%);
  background-size: 24px 24px;
  opacity: 0.6;
}
.service-card .img .label {
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 11px;
  color: var(--ametist-700);
  background: oklch(0.985 0.005 80 / 0.85);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 1;
}
.service-card .body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); margin-bottom: 20px; flex: 1; }
.service-card .card-link {
  font-weight: 600;
  color: var(--ametist-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ============ ICON (basit, çizgi stili) ============ */
.icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--ametist-100);
  display: grid;
  place-items: center;
  color: var(--ametist-700);
  margin-bottom: 20px;
}
.icon-circle svg { width: 28px; height: 28px; }

/* ============ CTA BIG ============ */
.cta-big {
  background: linear-gradient(135deg, var(--ametist-900), var(--ametist-700));
  color: #fff;
  text-align: center;
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}
.cta-big::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, oklch(0.65 0.18 305 / 0.4), transparent 60%);
}
.cta-big h2 { color: #fff; position: relative; }
.cta-big p { color: oklch(0.92 0.03 310); max-width: 560px; margin: 0 auto 36px; font-size: 20px; position: relative; }
.cta-big-call {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  color: var(--ametist-900) !important;
  font-weight: 700;
  padding: 24px 40px;
  border-radius: var(--radius-pill);
  font-size: clamp(26px, 3.5vw, 38px);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 20px 50px oklch(0 0 0 / 0.25);
  letter-spacing: 0.01em;
  position: relative;
  transition: all .25s ease;
}
.cta-big-call:hover {
  transform: translateY(-3px) scale(1.02);
  text-decoration: none;
  box-shadow: 0 30px 70px oklch(0 0 0 / 0.35);
}
.cta-big-call svg { width: 32px; height: 32px; flex-shrink: 0; }
.cta-big-call {
  white-space: nowrap;
}
.cta-big .open-line {
  margin-top: 20px;
  font-size: 15px;
  color: oklch(0.85 0.04 310);
  letter-spacing: 0.06em;
}

/* Mobilde tek satırda kalmasını garantile */
@media (max-width: 760px) {
  .cta-big-call {
    font-size: clamp(20px, 6.2vw, 28px);
    padding: 20px 26px;
    gap: 12px;
    white-space: nowrap;
  }
  .cta-big-call svg { width: 24px; height: 24px; }
}
@media (max-width: 380px) {
  .cta-big-call {
    font-size: 19px;
    padding: 18px 20px;
    gap: 10px;
  }
  .cta-big-call svg { width: 22px; height: 22px; }
}

/* ============ PAGE HEADER ============ */
.page-header {
  padding: 80px 0 56px;
  background: linear-gradient(180deg, var(--ametist-100), var(--cream));
  text-align: center;
}
.page-header .eyebrow { justify-content: center; }
.page-header h1 { margin-bottom: 16px; }
.page-header p { font-size: 20px; color: var(--ink-soft); max-width: 640px; margin: 0 auto; }

/* Accessibility: focus */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ametist-500);
  outline-offset: 3px;
}

/* Tweaks panel stilleri */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-family: var(--font-body);
  display: none;
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h4 {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ametist-700);
  margin: 0 0 14px;
  font-weight: 700;
}
.tweaks-row { margin-bottom: 14px; }
.tweaks-row label {
  display: block;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 6px;
  font-weight: 500;
}
.tweaks-swatches {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tweaks-swatch {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.tweaks-swatch.active { border-color: var(--ink); transform: scale(1.1); }
.tweaks-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
}
@media (max-width: 760px) {
  .tweaks-panel {
    right: 12px; left: 12px;
    bottom: calc(var(--mobile-bar-h) + 12px);
    width: auto;
  }
}
