/* =========================================================
   PrivatePhotoSuite — Design System v3
   Aesthetic: Teal/Blue — Dark night + Light day themes
   Fonts: Clash Display (display) + DM Sans (body)
   ========================================================= */

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=dm-sans@300,400,500&display=swap');

/* ── Night (Dark) theme — default ────────────────────── */
:root, [data-theme="night"] {
  --bg:          #080E14;
  --bg2:         #0D1520;
  --bg3:         #111C2A;
  --surface:     #162030;
  --surface2:    #1C2A3C;
  --surface3:    #243548;

  --border:      rgba(0,212,200,.08);
  --border2:     rgba(0,212,200,.16);

  --ink:         #E8F4F8;
  --ink2:        #7BA8BB;
  --ink3:        #3D6478;

  /* Teal accent */
  --accent:        #00D4C8;
  --accent-dim:    rgba(0,212,200,.12);
  --accent-border: rgba(0,212,200,.28);
  --accent-glow:   rgba(0,212,200,.22);

  /* Keep alias so old --lime references still work */
  --lime:        var(--accent);
  --lime-dim:    var(--accent-dim);
  --lime-border: var(--accent-border);

  --red:         #FF5F57;
  --blue:        #38BDF8;
  --amber:       #FBBF24;

  --shadow:     0 1px 3px rgba(0,0,0,.6), 0 8px 32px rgba(0,0,0,.5);
  --shadow-lg:  0 4px 8px rgba(0,0,0,.7), 0 24px 64px rgba(0,0,0,.55);

  color-scheme: dark;
}

/* ── Day (Light) theme ────────────────────────────────── */
[data-theme="day"] {
  --bg:          #F0F7FA;
  --bg2:         #FFFFFF;
  --bg3:         #E8F2F7;
  --surface:     #EBF5F9;
  --surface2:    #DAECf3;
  --surface3:    #C9E3EE;

  --border:      rgba(0,140,160,.12);
  --border2:     rgba(0,140,160,.22);

  --ink:         #0A1E2A;
  --ink2:        #2D5C72;
  --ink3:        #6B9FB5;

  /* Teal accent — slightly deeper for light bg contrast */
  --accent:        #007A8C;
  --accent-dim:    rgba(0,122,140,.1);
  --accent-border: rgba(0,122,140,.25);
  --accent-glow:   rgba(0,122,140,.18);

  --lime:        var(--accent);
  --lime-dim:    var(--accent-dim);
  --lime-border: var(--accent-border);

  --red:         #D93025;
  --blue:        #0069B4;
  --amber:       #B45309;

  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 8px 32px rgba(0,0,0,.06);
  --shadow-lg:  0 4px 8px rgba(0,0,0,.1), 0 24px 64px rgba(0,0,0,.08);

  color-scheme: light;
}

/* ── Shared constants (both themes) ───────────────────── */
:root {
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --radius-xl:  22px;

  --font-display: 'Clash Display', 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --ease:       cubic-bezier(.4,0,.2,1);
  --transition: .18s var(--ease);

  --page-max: 1280px;
  --page-pad: clamp(1.25rem, 5vw, 3rem);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
img { display: block; max-width: 100%; }
p { color: var(--ink2); line-height: 1.7; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-display); color: var(--ink); line-height: 1.1; }

/* ── Layout ───────────────────────────────────────────── */
.page-wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--page-pad); }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.w-full { width: 100%; }

/* ── Navigation ───────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,14,20,.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
[data-theme="day"] #site-header {
  background: rgba(240,247,250,.92);
}
.nav-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--page-pad);
  height: 62px;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav-logo-mark {
  width: 32px; height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 16px; height: 16px; color: #fff; }
[data-theme="night"] .nav-logo-mark svg { color: #0A0E14; }
.nav-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .975rem;
  letter-spacing: -.02em;
  color: var(--ink);
}
.nav-logo-text em { font-style: normal; color: var(--lime); }

.nav-links { display: flex; align-items: center; gap: .1rem; flex: 1; }
.nav-link {
  padding: .42rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink2);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.active { color: var(--ink); }

/* Mega dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: .3rem;
  padding: .42rem .85rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink2);
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
  user-select: none;
}
.nav-dropdown-trigger svg { width: 13px; height: 13px; transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown-trigger { color: var(--ink); background: var(--surface); }
.nav-dropdown:hover .nav-dropdown-trigger svg { transform: rotate(180deg); }

.nav-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-xl);
  padding: 1rem;
  padding-top: 1.5rem;  /* extra top padding so the bridge overlaps cleanly */
  width: 640px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, transform .18s;
  /* 12px invisible bridge at top so mouse doesn't lose hover crossing the gap */
  margin-top: 8px;
}
/* Invisible bridge fills the gap between trigger and panel */
.nav-mega::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-mega {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .2rem;
}
.nav-mega-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .6rem .7rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-mega-item:hover { background: var(--surface); }
.nav-mega-icon {
  width: 30px; height: 30px;
  background: var(--surface2);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--lime);
}
.nav-mega-icon svg { width: 14px; height: 14px; }
.nav-mega-name { font-size: .78rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.nav-mega-sub { font-size: .68rem; color: var(--ink3); }

.nav-mega-section { padding: .35rem .7rem .25rem; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink3); }

.nav-cta { margin-left: auto; }

/* Mobile nav */
.nav-mobile-btn {
  display: none;
  align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  margin-left: auto;
}
.mobile-panel {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  overflow-y: auto;
  padding: 0 var(--page-pad) 2rem;
}
.mobile-panel.open { display: block; }
.mobile-panel-head {
  height: 62px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.mobile-section { font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink3); padding: 1.25rem 0 .5rem; }
.mobile-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .8rem 0;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink2);
  border-bottom: 1px solid var(--border);
}
.mobile-link svg { width: 16px; height: 16px; color: var(--lime); }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-mobile-btn { display: flex; }
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: -.01em;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1.5px solid var(--accent);
}
/* Night mode: teal is dark-bg compatible, white text works */
[data-theme="night"] .btn-primary { color: #000; }
.btn-primary:hover {
  background: var(--accent);
  filter: brightness(1.1);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink2);
  border: 1.5px solid var(--border2);
}
.btn-ghost:hover { border-color: var(--ink3); color: var(--ink); background: var(--surface); }

.btn-dark {
  background: var(--surface2);
  color: var(--ink);
  border: 1.5px solid var(--border2);
}
.btn-dark:hover { background: var(--surface3); border-color: var(--ink3); }

.btn-danger { background: var(--red); color: #fff; border: 1.5px solid var(--red); }
.btn-danger:hover { background: #ff5247; }

.btn-sm { padding: .42rem .85rem; font-size: .78rem; }
.btn-lg { padding: .85rem 1.9rem; font-size: .95rem; }
.btn-xl { padding: 1rem 2.4rem; font-size: 1rem; letter-spacing: -.02em; }

/* ── USP strip (on every page) ────────────────────────── */
.usp-strip {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: .6rem var(--page-pad);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(.75rem, 3vw, 3rem);
  overflow: hidden;
  white-space: nowrap;
}
.usp-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink3);
  white-space: nowrap;
  flex-shrink: 0;
}
.usp-item-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.usp-item strong { color: var(--ink2); }
/* Mobile: single line with · separators */
@media (max-width: 640px) {
  .usp-strip { gap: 0; padding: .5rem var(--page-pad); }
  .usp-item { font-size: .68rem; }
  .usp-item-dot { display: none; }
  .usp-item + .usp-item::before { content: '·'; color: var(--ink3); margin: 0 .4rem; font-weight: 400; }
}

/* ── Tool page layout wrapper ─────────────────────────── */
/* Single column, tight, centered — not full viewport width */
.tool-page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--page-pad);
}

/* ── Tool page hero header — centered ─────────────────── */
.tool-header {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.tool-header::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 100%;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, var(--accent-dim), transparent 65%);
  pointer-events: none;
}
.tool-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  border-radius: 99px;
  padding: .28rem .85rem;
  font-size: .67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--lime);
  margin-bottom: 1rem;
  position: relative;
}
.tool-header h1 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  letter-spacing: -.05em;
  line-height: .95;
  margin-bottom: .75rem;
  position: relative;
}
.tool-tagline {
  font-size: .9rem;
  color: var(--ink2);
  max-width: 480px;
  margin: .85rem auto 0;
  line-height: 1.65;
  position: relative;
}
.tool-usp-row {
  display: flex;
  flex-wrap: nowrap;           /* force single line */
  gap: .4rem;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: auto;            /* scroll if truly too tight */
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: .25rem;
}
.tool-usp-row::-webkit-scrollbar { display: none; }
.tool-usp-chip {
  display: flex; align-items: center; gap: .35rem;
  padding: .28rem .75rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 99px;
  font-size: .7rem; font-weight: 600; color: var(--ink2);
  white-space: nowrap;
  flex-shrink: 0;
}
.tool-usp-chip::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
/* Mobile: smaller chips */
@media (max-width: 640px) {
  .tool-usp-chip { font-size: .65rem; padding: .22rem .6rem; }
}

/* ── Tool card (main interface) ─────────────────────────
   Constrained width, centered, not full-bleed
   ────────────────────────────────────────────────────── */
.tool-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 100%;
  margin: 1.75rem 0 0;
}
.tool-card-body {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.tool-card-body:last-child { border-bottom: none; }
.editor-actions {
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  background: var(--surface);
}

/* ── Upload zone ──────────────────────────────────────── */
.upload-zone {
  border: 1.5px dashed var(--border2);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  background: var(--bg3);
}
.upload-zone::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse 50% 35% at 50% 0%, var(--accent-dim), transparent);
  pointer-events: none;
}
.upload-zone:hover, .upload-zone.drag-over {
  border-color: var(--lime);
  background: var(--accent-dim);
}
.upload-zone__input { display: none; }
.upload-zone__icon {
  width: 52px; height: 52px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--lime);
  transition: border-color var(--transition), background var(--transition);
}
.upload-zone:hover .upload-zone__icon { border-color: var(--lime-border); background: var(--lime-dim); }
.upload-zone__icon svg { width: 22px; height: 22px; }
.upload-zone__title {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 600;
  color: var(--ink);
  margin-bottom: .4rem;
}
.upload-zone__sub { font-size: .82rem; color: var(--ink3); margin-bottom: 1.1rem; }
.upload-zone__chips { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.1rem; }
.upload-zone__chip {
  padding: .25rem .65rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: .7rem; font-weight: 600; color: var(--ink3);
}
.upload-zone__privacy {
  font-size: .72rem; color: var(--ink3);
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.upload-zone__privacy::before {
  content: ''; width: 5px; height: 5px; background: var(--lime); border-radius: 50%;
}

/* ── Form elements ────────────────────────────────────── */
.form-group { margin-bottom: 1.2rem; }
.form-label {
  display: block;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink3);
  margin-bottom: .45rem;
}
.form-input, .form-select {
  width: 100%;
  padding: .6rem .85rem;
  background: var(--surface);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
textarea.form-input { resize: vertical; min-height: 80px; }

/* Toggle buttons */
.toggle-group {
  display: flex;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border2);
  overflow: hidden;
}
.toggle-btn {
  flex: 1;
  padding: .48rem .65rem;
  font-size: .76rem; font-weight: 600;
  color: var(--ink3);
  background: transparent;
  transition: all var(--transition);
  white-space: nowrap;
  border: none; cursor: pointer;
}
.toggle-btn + .toggle-btn { border-left: 1px solid var(--border2); }
.toggle-btn.active { background: var(--accent); color: #fff; }
[data-theme="night"] .toggle-btn.active { color: #000; }
.toggle-btn:hover:not(.active) { background: var(--surface); color: var(--ink); }

/* Sliders */
.slider-row { display: flex; align-items: center; gap: .75rem; }
.slider-row input[type="range"] {
  flex: 1; height: 3px;
  -webkit-appearance: none; appearance: none;
  background: var(--surface3); border-radius: 2px; outline: none; cursor: pointer;
}
.slider-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px; height: 15px;
  border-radius: 50%; background: var(--lime); cursor: pointer;
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.slider-val { font-size: .78rem; font-weight: 700; color: var(--lime); min-width: 28px; text-align: right; font-family: var(--font-display); }

/* File list */
.file-list { display: flex; flex-direction: column; gap: .4rem; }
.file-item {
  display: flex; align-items: center; gap: .7rem;
  padding: .55rem .7rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.file-thumb { width: 34px; height: 34px; object-fit: cover; border-radius: 5px; flex-shrink: 0; }
.file-info { flex: 1; min-width: 0; }
.file-name { font-size: .78rem; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-size { font-size: .68rem; color: var(--ink3); }
.file-remove { padding: .25rem; border-radius: 4px; color: var(--ink3); background: none; border: none; cursor: pointer; transition: all var(--transition); }
.file-remove:hover { color: var(--red); background: rgba(255,59,48,.1); }

/* Savings badge */
.savings-badge {
  padding: .18rem .55rem;
  background: var(--accent-dim);
  border: 1px solid var(--lime-border);
  border-radius: 99px;
  font-size: .68rem; font-weight: 700; color: var(--lime);
}

/* Capacity bar */
.capacity-bar-wrap { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.capacity-bar { flex: 1; height: 3px; background: var(--surface3); border-radius: 2px; overflow: hidden; }
.capacity-bar-fill { height: 100%; background: var(--lime); border-radius: 2px; transition: width .3s; }
.capacity-label { font-size: .72rem; color: var(--ink3); font-weight: 600; white-space: nowrap; }

/* ── SEO content — rich styled section ───────────────── */
.seo-section {
  max-width: 860px;
  margin: 2.5rem auto 0;
  padding: 3.5rem 0 6rem;
  border-top: 1px solid var(--border);
}

/* Section title row */
.seo-section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  letter-spacing: -.035em;
  color: var(--ink);
  margin-bottom: .5rem;
}
.seo-section-sub {
  font-size: .875rem;
  color: var(--ink3);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

/* Feature highlights grid */
.seo-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.seo-feature {
  background: var(--bg2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: background var(--transition);
}
.seo-feature:hover { background: var(--surface); }
.seo-feature-icon {
  width: 36px; height: 36px;
  background: var(--lime-dim);
  border: 1px solid var(--lime-border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--lime);
  flex-shrink: 0;
}
.seo-feature-icon svg { width: 16px; height: 16px; }
.seo-feature-title { font-size: .875rem; font-weight: 700; color: var(--ink); font-family: var(--font-display); letter-spacing: -.01em; }
.seo-feature-body { font-size: .8rem; color: var(--ink3); line-height: 1.6; }

/* Comparison table — "us vs them" */
.seo-compare {
  margin-bottom: 2.5rem;
}
.seo-compare-title {
  font-size: .65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .12em; color: var(--lime);
  margin-bottom: 1rem;
}
.seo-compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.seo-compare-table th {
  padding: .75rem 1rem;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  text-align: left;
  background: var(--surface);
  color: var(--ink3);
}
.seo-compare-table th:first-child { color: var(--ink2); }
.seo-compare-table th.col-us { color: var(--lime); background: var(--accent-dim); border-bottom: 1px solid var(--lime-border); }
.seo-compare-table td {
  padding: .75rem 1rem;
  font-size: .82rem;
  border-top: 1px solid var(--border);
  color: var(--ink2);
  vertical-align: top;
}
.seo-compare-table td:first-child { font-weight: 600; color: var(--ink); }
.seo-compare-table td.col-us { background: var(--accent-dim); color: var(--ink); font-weight: 600; }
.seo-compare-table td.col-them { color: var(--ink3); }
.check { color: var(--lime); font-weight: 700; }
.cross { color: var(--red); }

/* FAQ */
.faq-section { margin-bottom: 2.5rem; }
.faq-section-label {
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--lime); margin-bottom: 1rem;
}
.faq-accordion { display: flex; flex-direction: column; gap: .35rem; }
.faq-accordion details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-accordion summary {
  padding: .85rem 1rem;
  font-size: .85rem; font-weight: 600;
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink); user-select: none;
}
.faq-accordion summary::after { content: '+'; font-size: 1rem; color: var(--lime); font-family: var(--font-display); line-height: 1; }
.faq-accordion details[open] summary::after { content: '−'; }
.faq-accordion details p { padding: 0 1rem 1rem; font-size: .82rem; color: var(--ink3); line-height: 1.65; }

/* Guide CTA strip */
.seo-guide-cta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  gap: 1rem;
  flex-wrap: wrap;
}
.seo-guide-cta-text { font-size: .82rem; color: var(--ink2); }
.seo-guide-cta-text strong { color: var(--ink); }

/* Legacy compat */
.seo-content { max-width: 720px; margin: 0 auto; padding: 3rem 0 5rem; }
.seo-content h2 { font-size: 1.1rem; margin-bottom: .65rem; margin-top: 1.75rem; letter-spacing: -.025em; }
.seo-content h2:first-child { margin-top: 0; }
.seo-content p { font-size: .875rem; margin-bottom: .7rem; }

/* ── Breadcrumb ───────────────────────────────────────── */
.breadcrumb { padding: 1.25rem 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; list-style: none; }
.breadcrumb li { font-size: .72rem; color: var(--ink3); }
.breadcrumb li a { color: var(--ink3); transition: color var(--transition); }
.breadcrumb li a:hover { color: var(--lime); }
.breadcrumb li + li::before { content: '/'; margin-right: .3rem; }

/* ── Toast ────────────────────────────────────────────── */
#toast-container { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; display: flex; flex-direction: column-reverse; gap: .5rem; }
.toast {
  display: flex; align-items: center; gap: .55rem;
  padding: .65rem 1rem;
  border-radius: var(--radius);
  font-size: .78rem; font-weight: 600;
  box-shadow: var(--shadow-lg);
  animation: slideUp .2s var(--ease);
  min-width: 200px; max-width: 320px;
}
.toast-success { background: var(--accent); color: #fff; }
[data-theme="night"] .toast-success { color: #000; }
.toast-error { background: #160808; border: 1px solid rgba(255,59,48,.35); color: var(--red); }
.toast-info { background: var(--surface2); border: 1px solid var(--border2); color: var(--ink); }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ── Cookie banner ────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem;
  z-index: 9998; max-width: 360px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  display: none;
}
.cookie-banner.visible { display: block; animation: slideUp .25s var(--ease); }
.cookie-banner p { font-size: .78rem; margin-bottom: 1rem; }
.cookie-banner-actions { display: flex; gap: .5rem; }

/* ── Footer ───────────────────────────────────────────── */
#site-footer { border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 3rem var(--page-pad) 2rem;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
}
.footer-tagline { font-size: .8rem; color: var(--ink3); line-height: 1.65; max-width: 210px; margin: .75rem 0 1rem; }
.footer-usp-list { display: flex; flex-direction: column; gap: .35rem; }
.footer-usp-item { display: flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 600; color: var(--ink3); }
.footer-usp-item::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); flex-shrink: 0; }
.footer-col-title { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--ink3); margin-bottom: .85rem; }
.footer-links { display: flex; flex-direction: column; gap: .45rem; }
.footer-links a { font-size: .8rem; color: var(--ink3); transition: color var(--transition); }
.footer-links a:hover { color: var(--lime); }
.footer-bottom {
  max-width: var(--page-max); margin: 0 auto;
  padding: 1.1rem var(--page-pad);
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { font-size: .72rem; color: var(--ink3); }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

/* ── Spinner ──────────────────────────────────────────── */
.spinner { width: 30px; height: 30px; border: 2.5px solid var(--surface3); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Tab group ────────────────────────────────────────── */
.tab-group { display: flex; border-bottom: 1px solid var(--border); }
.tab-btn {
  padding: .55rem 1rem;
  font-size: .78rem; font-weight: 600;
  color: var(--ink3);
  background: none; border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer; margin-bottom: -1px;
  transition: all var(--transition); white-space: nowrap;
}
.tab-btn.active { color: var(--lime); border-bottom-color: var(--lime); }
.tab-btn:hover:not(.active) { color: var(--ink); }

/* ── Editor layout ────────────────────────────────────── */
.editor-layout { display: grid; grid-template-columns: 270px 1fr; }
.editor-sidebar { border-right: 1px solid var(--border); padding: 1.25rem; overflow-y: auto; max-height: 600px; }
.editor-main { background: var(--bg3); display: flex; align-items: center; justify-content: center; padding: 1.5rem; min-height: 280px; }
.sidebar-section { margin-bottom: 1.4rem; }
.sidebar-section-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink3); margin-bottom: .65rem; }
@media (max-width: 640px) {
  .editor-layout { grid-template-columns: 1fr; }
  .editor-sidebar { border-right: none; border-bottom: 1px solid var(--border); max-height: none; }
}

/* ── Compare slider ───────────────────────────────────── */
.compare-wrap { position: relative; display: inline-block; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: none; }
.compare-wrap canvas { display: block; }
.compare-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--lime); pointer-events: none; }
.compare-handle {
  position: absolute; top: 50%;
  width: 34px; height: 34px;
  background: var(--lime); border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; color: #000;
  box-shadow: 0 2px 12px var(--accent-glow);
}

/* ── Badge compat ─────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .7rem;
  border-radius: 99px;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
}
.badge--edit    { background: rgba(10,132,255,.12); border: 1px solid rgba(10,132,255,.28); color: var(--blue); }
.badge--convert { background: rgba(255,159,10,.1); border: 1px solid rgba(255,159,10,.25); color: var(--amber); }
.badge--privacy { background: var(--lime-dim); border: 1px solid var(--lime-border); color: var(--lime); }
.badge--create  { background: rgba(255,59,48,.1); border: 1px solid rgba(255,59,48,.22); color: var(--red); }
.badge--utility { background: var(--surface2); border: 1px solid var(--border2); color: var(--ink2); }

/* trust-chip compat */
.trust-chip { display: inline-flex; align-items: center; gap: .35rem; padding: .28rem .65rem; background: var(--surface); border: 1px solid var(--border2); border-radius: 99px; font-size: .7rem; font-weight: 600; color: var(--ink2); }
.trust-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { padding: .22rem .6rem; background: var(--surface2); border: 1px solid var(--border); border-radius: 99px; font-size: .68rem; font-weight: 600; color: var(--ink3); }

/* ── Tool grid (all-tools page) ───────────────────────── */
.tools-category { margin-bottom: 3rem; }
.tools-category-label {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink3);
}
.tools-category-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.tool-tile {
  background: var(--bg2);
  padding: 1.35rem;
  display: flex; flex-direction: column; gap: .65rem;
  text-decoration: none;
  position: relative;
  transition: background var(--transition);
}
.tool-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 0% 0%, var(--accent-dim), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.tool-tile:hover { background: var(--surface); }
.tool-tile:hover::after { opacity: 1; }
.tool-tile-icon {
  width: 38px; height: 38px;
  border: 1px solid var(--border2);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface2);
  color: var(--lime);
  position: relative; z-index: 1;
  transition: border-color var(--transition);
}
.tool-tile:hover .tool-tile-icon { border-color: var(--lime-border); }
.tool-tile-icon svg { width: 16px; height: 16px; }
.tool-tile-name { font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--ink); line-height: 1.25; position: relative; z-index: 1; }
.tool-tile-desc { font-size: .72rem; color: var(--ink3); line-height: 1.5; flex: 1; position: relative; z-index: 1; }
.tool-tile-arrow { font-size: .68rem; font-weight: 700; color: var(--ink3); position: relative; z-index: 1; letter-spacing: .02em; transition: color var(--transition); }
.tool-tile:hover .tool-tile-arrow { color: var(--lime); }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 640px) {
  .tool-card-body { padding: 1.1rem; }
  .editor-actions { padding: .9rem 1.1rem; }
  .upload-zone { padding: 2rem 1rem; }
  .tool-header { padding: 2rem 0 1.75rem; }
  .tool-header h1 { font-size: 1.75rem; }
  .seo-features { grid-template-columns: 1fr; }
  .seo-compare-table { font-size: .72rem; }
  .seo-compare-table th, .seo-compare-table td { padding: .55rem .65rem; }
  .tool-card { border-radius: var(--radius-lg); }
  .seo-section { padding: 2.5rem 0 4rem; }
}

/* ── Day theme overrides ────────────────────────────────── */
[data-theme="day"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23007A8C' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
}
[data-theme="day"] body {
  background: var(--bg);
}
/* Day theme: tool-header glow uses teal tint */
[data-theme="day"] .tool-header::before {
  background: radial-gradient(ellipse 70% 80% at 50% 0%, var(--accent-dim), transparent 65%);
}
[data-theme="day"] .upload-zone::before {
  background: radial-gradient(ellipse 50% 35% at 50% 0%, var(--accent-dim), transparent);
}
[data-theme="day"] .upload-zone:hover,
[data-theme="day"] .upload-zone.drag-over {
  background: var(--accent-dim);
}
/* Day theme tab active state */
[data-theme="day"] .tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
/* Day theme faq summary + */
[data-theme="day"] .faq-accordion summary::after { color: var(--accent); }
/* Day theme tool tile hover glow */
[data-theme="day"] .tool-tile::after {
  background: radial-gradient(ellipse 80% 80% at 0% 0%, var(--accent-dim), transparent 60%);
}
[data-theme="day"] .seo-compare-table th.col-us { 
  color: var(--accent); 
  background: var(--accent-dim); 
  border-bottom: 1px solid var(--accent-border);
}
[data-theme="day"] .seo-compare-table td.col-us { 
  background: var(--accent-dim); 
}
/* Theme toggle button */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .38rem .7rem;
  border-radius: var(--radius-sm);
  background: var(--surface2);
  border: 1.5px solid var(--border2);
  color: var(--ink2);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  white-space: nowrap;
}
.theme-toggle:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-dim);
}
.theme-toggle svg { width: 14px; height: 14px; }

/* ══════════════════════════════════════════════════════════════════════
   UNIVERSAL TOOL SHELL — shared by all photo tools
   Controls panel: 360px wide. Preview: all remaining space.
   ══════════════════════════════════════════════════════════════════════ */

/* Shell used by crop/rotate/timestamp/watermark */
.tool-shell {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: 480px;
  border-top: 1px solid var(--border);
}
.tool-preview {
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  min-height: 300px;
}
.tool-controls {
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg2);
}
.tool-controls-scroll {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1.1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border2) transparent;
}
.tool-controls-scroll::-webkit-scrollbar { width: 3px; }
.tool-controls-scroll::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }

@media (max-width: 700px) {
  .tool-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tool-preview {
    min-height: calc(100vw * 0.65);
    max-height: 380px;
  }
  .tool-controls {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .tool-controls-scroll { overflow-y: visible; }
}

/* ── Universal Add Button ─────────────────────────────────────────────── */
.btn-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: 100%;
  padding: .65rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--accent-border);
  background: var(--accent-dim);
  color: var(--accent);
  cursor: pointer;
  transition: all .14s;
  font-family: var(--font-body);
}
.btn-add:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn-add svg { width: 15px; height: 15px; flex-shrink: 0; }






/* Size estimate */
.ea-size {
  font-size: .65rem;
  color: var(--ink3);
  text-align: center;
  display: block;
  margin-top: .3rem;
}

/* ── Thumb tray universal ─────────────────────────────────────────────── */
.tray-bar {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .9rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg2);
  flex-shrink: 0;
  overflow: hidden;
}
.tray-bar .thumb-tray {
  flex: 1;
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: .2rem 0;
}
.tray-bar .thumb-tray::-webkit-scrollbar { display: none; }


/* ════════════════════════════════════════════════════════════════
   UNIVERSAL DOWNLOAD BAR — full width, below canvas
   ════════════════════════════════════════════════════════════════ */

/* Outer bar — single horizontal row, full tool width */
.editor-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.4rem;
  border-top: 2px solid var(--border);
  background: var(--bg2);
  flex-shrink: 0;
}

/* ── Left side: label + segmented format tabs ──────────────── */
.dl-fmt-row {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex: 1;
  min-width: 0;
}

.dl-fmt-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
  color: var(--accent);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Segmented pill group */
.dl-fmt-tabs {
  display: flex;
  gap: 0;
  background: var(--surface3);
  border: 1.5px solid var(--border2);
  border-radius: 10px;
  padding: 3px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

/* Each tab is a ghost segment — no individual borders */
.dl-fmt-tab {
  flex: 1;
  padding: .6rem .5rem;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink3);
  cursor: pointer;
  transition: background .13s, color .13s, box-shadow .13s;
  font-family: var(--font-body);
  text-align: center;
  line-height: 1;
  min-width: 0;
  white-space: nowrap;
}

.dl-fmt-tab:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

/* Active = filled accent capsule */
.dl-fmt-tab.active {
  background: var(--accent);
  color: #000;
  font-weight: 800;
  box-shadow: 0 1px 8px var(--accent-glow);
}
[data-theme="day"] .dl-fmt-tab.active { color: #fff; }

/* Sub-hint text inside tab */
.dl-fmt-tab .tab-sub {
  display: block;
  font-size: .55rem;
  font-weight: 500;
  opacity: .7;
  margin-top: .2rem;
  letter-spacing: .01em;
}
.dl-fmt-tab.active .tab-sub { opacity: .85; }

/* ── Right side: download button + tiny reset link ─────────── */
.dl-btn-row {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
}

.btn-dl-primary {
  padding: .75rem 1.6rem;
  font-size: .9rem;
  font-weight: 800;
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  transition: filter .14s, transform .1s, box-shadow .14s;
  font-family: var(--font-body);
  line-height: 1;
  box-shadow: 0 2px 16px var(--accent-glow);
  letter-spacing: .01em;
  white-space: nowrap;
}
[data-theme="day"] .btn-dl-primary { color: #fff; }
.btn-dl-primary:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 5px 22px var(--accent-glow);
}
.btn-dl-primary:active  { transform: translateY(0); filter: brightness(.96); box-shadow: none; }
.btn-dl-primary:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-dl-primary svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Size estimate hint */
.dl-size-info {
  font-size: .6rem;
  color: var(--ink3);
  text-align: center;
  line-height: 1.3;
  white-space: nowrap;
}
.dl-size-info strong { color: var(--accent); }

/* Reset / New Photo — ghost underline link */
.ea-row {
  display: flex;
  justify-content: center;
}
.ea-row .btn,
.ea-row button {
  background: none;
  border: none;
  font-size: .62rem;
  font-weight: 600;
  color: var(--ink3);
  cursor: pointer;
  padding: .1rem .2rem;
  font-family: var(--font-body);
  letter-spacing: .02em;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: transparent;
  transition: color .12s, text-decoration-color .12s;
}
.ea-row .btn:hover,
.ea-row button:hover {
  color: var(--ink2);
  text-decoration-color: var(--ink3);
}

/* ── Mobile: stack to two rows ──────────────────────────────── */
@media (max-width: 600px) {
  .editor-actions {
    flex-direction: column;
    align-items: stretch;
    padding: .85rem 1rem 1rem;
    gap: .65rem;
  }
  .dl-fmt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
  }
  .dl-fmt-tabs { width: 100%; }
  .dl-btn-row  { width: 100%; align-items: stretch; }
  .btn-dl-primary { width: 100%; padding: .8rem 1rem; font-size: .92rem; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════
   UNIVERSAL ADD BUTTON
   ════════════════════════════════════════════════════════════════ */
.btn-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem .9rem;
  font-size: .78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px dashed var(--accent-border);
  background: var(--accent-dim);
  color: var(--accent);
  cursor: pointer;
  transition: all .14s;
  font-family: var(--font-body);
}
.btn-add:hover {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-style: solid;
  box-shadow: 0 2px 8px var(--accent-glow);
}
.btn-add svg { width: 13px; height: 13px; flex-shrink: 0; }

/* Capacity bar shared */
.capbar { height: 3px; background: var(--surface3); border-radius: 2px; margin-bottom: .3rem; overflow: hidden; }
.capbar-fill, .capfill, .capacity-bar-fill { height: 100%; background: var(--accent); border-radius: 2px; transition: width .3s; }

/* Legacy compat — old .dl-main blocks become flex col */
.dl-main { display: flex; gap: .4rem; }
.dl-fmt-wrap { position: relative; flex-shrink: 0; }
.dl-fmt-menu { display: none; }
