/* Shared styles for the standard site layout. */

:root {
  --font-ui: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
  --content-max-width: 1720px;
  --content-gutter: clamp(0.75rem, 1.1vw, 1.15rem);
}

[data-theme="dark"] {
  --bg-primary: #0d0f12;
  --bg-secondary: #13161b;
  --bg-tertiary: #1a1e25;
  --bg-input: #0b0e12;
  --bg-elevated: #10141a;
  --text-primary: #e8eaf0;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent-primary: #00d6b7;
  --accent-primary-hover: #28e6c9;
  --accent-success: #42c56e;
  --accent-success-hover: #5bd584;
  --accent-warning: #f0a85f;
  --accent-danger: #ff6f69;
  --border-primary: rgba(255, 255, 255, 0.09);
  --border-secondary: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.18);
  --shadow-color: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] {
  --bg-primary: #f5f7f9;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf1f4;
  --bg-input: #ffffff;
  --bg-elevated: #ffffff;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --accent-primary: #008f7c;
  --accent-primary-hover: #087a6d;
  --accent-success: #1f8a4c;
  --accent-success-hover: #2fa35d;
  --accent-warning: #a55f12;
  --accent-danger: #c2413a;
  --border-primary: rgba(15, 23, 42, 0.12);
  --border-secondary: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.24);
  --shadow-color: rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--font-ui);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

body::selection {
  background: color-mix(in srgb, var(--accent-primary) 35%, transparent);
}

.app-shell {
  min-height: 100vh;
}

#top-nav {
  height: 3.25rem;
  background: color-mix(in srgb, var(--bg-primary) 90%, transparent);
  border-bottom: 1px solid var(--border-primary);
  backdrop-filter: blur(16px);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.98rem;
  font-weight: 600;
  white-space: nowrap;
}

.brand-mark__brace,
.brand-mark__accent {
  color: var(--accent-primary);
}

#side-menu {
  top: 3.25rem;
  left: 0;
  width: 15rem;
  height: calc(100vh - 3.25rem);
  position: fixed;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-primary);
  transition: transform 0.22s ease, visibility 0.22s ease, background-color 0.18s ease;
}

#page {
  margin-top: 3.25rem;
  margin-left: 15rem;
  min-height: calc(100vh - 3.25rem);
  padding: clamp(1rem, 2vw, 1.75rem) var(--content-gutter);
  background:
    radial-gradient(ellipse 70% 42% at 52% -20%, color-mix(in srgb, var(--accent-primary) 7%, transparent), transparent 58%),
    var(--bg-primary);
  transition: margin-left 0.22s ease, background-color 0.18s ease;
}

[data-sidebar-collapsed="true"] #side-menu {
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
}

[data-sidebar-collapsed="true"] #page {
  margin-left: 0;
}

#content-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.nav-section {
  margin: 0 0 1.15rem;
}

.nav-section-title {
  padding: 0.55rem 1rem 0.4rem;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2rem;
  margin: 0.12rem 0.5rem;
  padding: 0.42rem 0.7rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  border: 1px solid transparent;
  border-radius: 0.38rem;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border-color: var(--border-primary);
}

.nav-link.active {
  color: var(--accent-primary);
  background: color-mix(in srgb, var(--accent-primary) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent-primary) 30%, transparent);
}

.nav-link i {
  width: 1rem;
  color: currentColor;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.82;
}

.nav-link__icon-text {
  width: 1rem;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.38rem;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.theme-toggle:hover {
  color: var(--accent-primary);
  background: var(--bg-tertiary);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-toggle i {
  font-size: 0.95rem;
}

#menu-button {
  display: inline-flex;
}

[data-theme="dark"] .theme-icon-light { display: inline-block; }
[data-theme="dark"] .theme-icon-dark { display: none; }
[data-theme="light"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: inline-block; }

.lang-selector {
  position: relative;
}

.lang-dropdown {
  min-width: 9rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  box-shadow: 0 18px 45px var(--shadow-color);
  overflow: hidden;
}

.lang-option {
  display: block;
  padding: 0.55rem 0.8rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.86rem;
}

.lang-option:hover,
.lang-option.active {
  color: var(--accent-primary);
  background: var(--bg-tertiary);
}

.nav-browse {
  position: relative;
  flex: 0 0 auto;
}

.nav-browse__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.15rem;
  padding: 0 0.7rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.38rem;
  font-family: inherit;
  font-size: 0.82rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.nav-browse__button:hover,
.nav-browse__button[aria-expanded="true"] {
  color: var(--accent-primary);
  background: var(--bg-tertiary);
  border-color: var(--border-strong);
}

.nav-browse__caret {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform 0.15s ease;
}

.nav-browse__button[aria-expanded="true"] .nav-browse__caret {
  transform: rotate(180deg);
}

.nav-mega {
  position: fixed;
  top: 3.25rem;
  left: 0;
  right: 0;
  z-index: 120;
  max-height: min(70vh, 34rem);
  padding: 1rem var(--content-gutter) 1.25rem;
  overflow-y: auto;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-primary);
  box-shadow: 0 24px 45px var(--shadow-color);
}

.nav-mega[hidden] {
  display: none;
}

.nav-mega__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  align-items: start;
  gap: 0.9rem 1.25rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.nav-mega__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border-secondary);
}

.nav-mega__title i {
  font-size: 0.7rem;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-mega__title:hover {
  color: var(--accent-primary);
}

.nav-mega__title:hover i {
  opacity: 0.85;
  transform: translateX(2px);
}

.nav-mega__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.15rem;
  padding: 0.35rem 0.55rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.83rem;
  border: 1px solid transparent;
  border-radius: 0.38rem;
}

.nav-mega__link:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border-color: var(--border-primary);
}

/* The family of the tool being read comes first in the menu and is
   marked, so its siblings are the first thing the panel offers. */
.nav-mega__column--current .nav-mega__title {
  color: var(--accent-primary);
  border-bottom-color: color-mix(in srgb, var(--accent-primary) 40%, transparent);
}

.nav-mega__column--current .nav-mega__title i {
  opacity: 0.85;
}

.nav-mega__link.is-active {
  color: var(--accent-primary);
  background: color-mix(in srgb, var(--accent-primary) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent-primary) 30%, transparent);
}

.nav-mega__icon {
  width: 1rem;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1;
  opacity: 0.82;
}

.nav-search {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 24rem;
}

.nav-search__field {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  height: 2.15rem;
  padding: 0 0.7rem;
  color: var(--text-muted);
  background: var(--bg-input);
  border: 1px solid var(--border-primary);
  border-radius: 0.38rem;
  cursor: text;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.nav-search__field:focus-within {
  border-color: color-mix(in srgb, var(--accent-primary) 45%, transparent);
}

.nav-search__field i {
  font-size: 0.8rem;
}

.nav-search__field input {
  flex: 1;
  min-width: 0;
  color: var(--text-primary);
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.85rem;
}

.nav-search__field input::-webkit-search-cancel-button {
  display: none;
}

.nav-search__kbd {
  flex: 0 0 auto;
}

.nav-search__results {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 130;
  max-height: min(60vh, 26rem);
  padding: 0.35rem;
  overflow-y: auto;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.5rem;
  box-shadow: 0 18px 45px var(--shadow-color);
}

.nav-search__results[hidden] {
  display: none;
}

.nav-search__result {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem 0.6rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 0.38rem;
}

.nav-search__result:hover,
.nav-search__result.active {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-search__result-title {
  font-size: 0.85rem;
}

.nav-search__result-meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-search__empty {
  padding: 0.65rem 0.6rem;
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 1024px) {
  .nav-browse__button .nav-browse__caret,
  .nav-search__field .nav-search__kbd {
    display: none;
  }

  .nav-browse__button {
    padding: 0 0.6rem;
  }

  /* The label names the category being read, so it survives the narrow
     bar - truncated rather than dropped. */
  .nav-browse__label {
    max-width: 7rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .nav-browse__label {
    max-width: 4.5rem;
  }
}

@media (max-width: 768px) {
  .top-nav-inner {
    gap: 0.5rem;
  }

  .nav-search {
    max-width: none;
  }

  .nav-search__field {
    padding: 0 0.5rem;
  }

  /* The bar is too narrow for a usable field, so a focused search grows
     over the rest of the top navigation. */
  [data-nav-search-active="true"] .nav-search {
    position: absolute;
    left: var(--content-gutter);
    right: var(--content-gutter);
    z-index: 140;
  }

  [data-nav-search-active="true"] .nav-search__field {
    background: var(--bg-secondary);
  }
}

.page-title {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: 0;
  margin: 0 0 1rem;
}

.page-title i {
  color: var(--accent-primary) !important;
}

.section-title {
  margin: 0 0 0.8rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
}

.label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
}

.input,
.textarea,
textarea,
input[type="text"],
input[type="search"],
input[type="number"],
input[type="datetime-local"],
select {
  width: 100%;
  color: var(--text-primary) !important;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-primary) !important;
  border-radius: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  line-height: 1.65;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.18s ease;
}

.input,
.textarea {
  padding: 0.68rem 0.82rem;
}

.input:focus,
.textarea:focus,
textarea:focus,
input[type="text"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus,
select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent-primary) 70%, transparent) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-primary) 14%, transparent);
}

.input::placeholder,
.textarea::placeholder,
textarea::placeholder,
input::placeholder {
  color: var(--text-muted);
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.25rem;
  padding: 0.52rem 0.9rem;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 0.42rem;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.btn-primary {
  color: #07110f;
  background: var(--accent-primary);
  border-color: transparent;
}

.btn-primary:hover {
  background: var(--accent-primary-hover);
}

.btn-success {
  color: #07110f;
  background: var(--accent-success);
  border-color: transparent;
}

.btn-success:hover {
  background: var(--accent-success-hover);
}

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

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.card,

.info-box {
  min-width: 0;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.55rem;
  transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

/* A snippet with one long unbreakable token - a callback URL, a JWT -
   used to widen the whole page on a phone instead of wrapping. */
.info-box pre {
  min-width: 0;
  overflow-wrap: anywhere;
}

.card {
  padding: clamp(1rem, 1.5vw, 1.35rem);
}

.card:hover {
  border-color: color-mix(in srgb, var(--accent-primary) 24%, var(--border-primary));
}

.card-header {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-primary);
  font-size: 0.98rem;
  font-weight: 700;
}

.card-header i {
  color: var(--accent-primary);
}

.info-box {
  padding: 0.95rem;
}

.info-row {
  display: flex;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--border-secondary);
  font-size: 0.86rem;
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  width: 11rem;
  flex-shrink: 0;
  color: var(--text-secondary);
  font-weight: 600;
}

.info-value {
  min-width: 0;
  color: var(--text-primary);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.share-url-row {
  align-items: flex-start;
}

.share-url-display {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  max-height: 4.75rem;
  overflow: auto;
  padding: 0.52rem 0.65rem;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-secondary);
  border-radius: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  scrollbar-width: thin;
}

.input-group {
  display: flex;
  gap: 0;
}

.input-group .input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  white-space: nowrap;
}

.btn-group {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.alert-error {
  margin-bottom: 1.4rem;
  padding: 0.85rem 1rem;
  color: var(--accent-danger);
  background: color-mix(in srgb, var(--accent-danger) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent-danger) 45%, transparent);
  border-radius: 0.55rem;
  font-size: 0.88rem;
}

#toast-container {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 250px;
  padding: 0.85rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-primary);
  border-radius: 0.55rem;
  box-shadow: 0 18px 45px var(--shadow-color);
  font-size: 0.88rem;
  animation: slideIn 0.24s ease;
}

.toast.success { border-left: 3px solid var(--accent-success); }
.toast.error { border-left: 3px solid var(--accent-danger); }
.toast.info { border-left: 3px solid var(--accent-primary); }
.toast.success i { color: var(--accent-success); }
.toast.error i { color: var(--accent-danger); }
.toast.info i { color: var(--accent-primary); }

.toast-message {
  flex: 1;
  color: var(--text-primary);
}

.toast-close {
  padding: 0.25rem;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
}

.toast-close:hover {
  color: var(--text-primary);
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

.kbd {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.35rem;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 0.28rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

#site-footer {
  margin-left: 15rem;
  padding: 2rem var(--content-gutter);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-primary);
  transition: margin-left 0.22s ease, background-color 0.18s ease;
}

[data-sidebar-collapsed="true"] #site-footer {
  margin-left: 0;
}

.site-footer__inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 14rem);
  align-items: start;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.site-footer__title {
  margin: 0 0 0.75rem;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer__copy,
.site-footer__link,
.site-footer__meta {
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.65;
}

.site-footer__link {
  text-decoration: none;
}

.site-footer__link:hover {
  color: var(--accent-primary);
}

.site-footer__list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--border-primary);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.font-mono { font-family: var(--font-mono); }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mt-4 { margin-top: 1rem; }
.mr-2 { margin-right: 0.5rem; }
.gap-4 { gap: 1rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 768px) {
  #menu-button {
    display: inline-flex;
  }

  #side-menu {
    z-index: 100;
    width: min(84vw, 19rem);
    transform: translateX(-100%);
    visibility: hidden;
    pointer-events: none;
    box-shadow: none;
  }

  #side-menu.mobile-visible {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
    box-shadow: 12px 0 35px var(--shadow-color);
  }

  #page,
  #site-footer {
    margin-left: 0;
  }

  #page {
    padding: 1rem 0.75rem;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .overlay {
    display: none;
    position: fixed;
    inset: 3.25rem 0 0 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.55);
  }

  .overlay.active {
    display: block;
  }

  .info-row {
    flex-direction: column;
    gap: 0.25rem;
  }

  .info-label {
    width: auto;
  }

  .share-url-display {
    width: 100%;
  }

  .btn-group,
  .btn-group .btn {
    width: 100%;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }
}
