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

:root {
  --bg-primary: #ffffff;
  --bg-elevated: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-hover: #f1f5f9;

  --text-primary: #090d16;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-faint: #94a3b8;

  --accent-blue: #1a73e8;
  --accent-blue-hover: #1557b0;
  --accent-blue-soft: #eff6ff;
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --accent-green-soft: #ecfdf5;
  --accent-red: #ef4444;

  --border-light: #e2e8f0;
  --border-default: #cbd5e1;

  --shadow-omnibox: 0 4px 22px -2px rgba(15, 23, 42, 0.08), 0 1px 4px rgba(15, 23, 42, 0.05);
  --shadow-omnibox-focus: 0 8px 30px -4px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
  --shadow-studio: 0 12px 36px -6px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-bento: 0 2px 10px -2px rgba(15, 23, 42, 0.04);

  --radius-pill: 9999px;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;

  --font-sans: "Google Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-primary);
  background-image: radial-gradient(min(1200px, 120vw) 420px at 50% -110px, rgba(15, 23, 42, 0.045), transparent 70%);
  background-repeat: no-repeat;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

#root,
#root > div {
  min-height: 100vh;
  min-height: 100dvh !important;
  width: 100%;
}

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.app-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-top: clamp(28px, 6vh, 64px);
  padding-bottom: max(clamp(32px, 6vh, 64px), env(safe-area-inset-bottom));
  padding-left: max(clamp(14px, 4vw, 28px), env(safe-area-inset-left));
  padding-right: max(clamp(14px, 4vw, 28px), env(safe-area-inset-right));
  flex: 1;
}

.app-container.home-centered {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(20px, 4vh, 40px);
  padding-bottom: max(clamp(32px, 9vh, 96px), env(safe-area-inset-bottom));
}

.view-panel {
  display: none;
  width: 100%;
  animation: fadeInView 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.view-panel.active {
  display: block;
}

@keyframes fadeInView {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-header {
  text-align: center;
  margin-bottom: clamp(16px, 3vh, 26px);
}

.brand-identity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  margin-bottom: 4px;
  transition: transform 0.15s ease;
}

@media (hover: hover) {
  .brand-identity:hover {
    transform: translateY(-1px);
  }
}

.brand-name {
  font-size: clamp(2.15rem, 5.5vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #202124;
  line-height: 1.08;
}

.brand-o { color: #4285f4; }
.brand-p { color: #ea4335; }
.brand-e { color: #fbbc05; }
.brand-n { color: #4285f4; }
.brand-fetch { color: #202124; }

.page-subtitle {
  font-size: clamp(0.98rem, 2.4vw, 1.32rem);
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: -0.25px;
  margin-top: 8px;
}

.active-platform-pill {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0 auto 12px auto;
  padding: 4px 13px;
  border-radius: var(--radius-pill);
  background: var(--accent-blue-soft);
  border: 1px solid #bfdbfe;
  color: var(--accent-blue);
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 100%;
}

.active-platform-pill.visible {
  display: inline-flex;
}

.active-platform-pill button {
  background: none;
  border: none;
  color: var(--accent-blue);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  padding: 2px 4px;
}

.search-box-wrap {
  width: 100%;
  max-width: 720px;
  margin: clamp(14px, 2.5vh, 22px) auto 0 auto;
}

.google-omnibox {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  background: var(--bg-primary);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 6px 10px 6px clamp(16px, 3vw, 22px);
  box-shadow: var(--shadow-omnibox);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.google-omnibox:hover,
.google-omnibox:focus-within {
  box-shadow: var(--shadow-omnibox-focus);
  border-color: #94a3b8;
}

.detected-host-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  margin-right: 10px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.omnibox-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--text-primary);
  background: transparent;
  padding: 11px 0;
  font-family: inherit;
  min-width: 0;
  text-overflow: ellipsis;
}

.omnibox-input::placeholder {
  color: #94a3b8;
}

.omnibox-paste-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  min-height: 36px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.omnibox-paste-btn:hover {
  background: var(--bg-hover);
  border-color: var(--border-default);
  color: var(--text-primary);
}

.omnibox-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.35rem;
  line-height: 1;
  padding: 4px 8px;
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.omnibox-clear-btn:hover {
  color: var(--text-primary);
}

.omnibox-spinner {
  width: 18px;
  height: 18px;
  border: 2.2px solid rgba(15, 23, 42, 0.18);
  border-top-color: #0f172a;
  border-radius: 50%;
  margin-left: 8px;
  margin-right: 4px;
  flex-shrink: 0;
  animation: spinRing 0.7s linear infinite;
}

@keyframes spinRing {
  to {
    transform: rotate(360deg);
  }
}

.supported-sites-notice {
  text-align: center;
  font-size: clamp(0.8rem, 2.2vw, 0.86rem);
  color: var(--text-muted);
  margin-top: 13px;
  padding: 0 6px;
}

.supported-sites-notice a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease;
}

.supported-sites-notice a:hover {
  color: var(--accent-blue);
}

.diagnostics-wrap {
  width: 100%;
  max-width: 720px;
  margin: 18px auto 0 auto;
  text-align: center;
}

.progress-track {
  height: 3px;
  width: 100%;
  background: var(--bg-hover);
  border-radius: 3px;
  overflow: hidden;
  display: none;
  margin-bottom: 10px;
}

.progress-track.active {
  display: block;
}

.progress-fill {
  width: 35%;
  height: 100%;
  background: #0f172a;
  animation: indeterminateSlide 1.1s infinite ease-in-out;
}

@keyframes indeterminateSlide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.stage-status-pill {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 8px;
}

.apology-banner {
  width: 100%;
  max-width: 720px;
  margin: 12px auto 0 auto;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.88rem;
  line-height: 1.5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  overflow-wrap: anywhere;
}

.apology-banner.centered {
  justify-content: center;
  text-align: center;
}

.retry-inline-btn {
  background: #991b1b;
  color: #ffffff;
  border: none;
  border-radius: var(--radius-pill);
  min-height: 34px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.retry-inline-btn:hover {
  opacity: 0.88;
}

.skeleton-card {
  width: 100%;
  max-width: 820px;
  margin: 24px auto 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 3.5vw, 26px);
  box-shadow: var(--shadow-bento);
}

.skeleton-top {
  display: flex;
  gap: clamp(16px, 3vw, 22px);
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.skeleton-box {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmerPulse 1.3s infinite linear;
  border-radius: 10px;
}

@keyframes shimmerPulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-thumb {
  width: clamp(200px, 28vw, 236px);
  aspect-ratio: 16 / 9;
  height: auto;
  flex-shrink: 0;
}

.skeleton-lines {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-rows {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inspector-card {
  width: 100%;
  max-width: 820px;
  margin: 24px auto 0 auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-studio);
  padding: clamp(16px, 3.5vw, 26px);
  text-align: left;
}

.inspector-top {
  display: flex;
  gap: clamp(16px, 3vw, 22px);
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

.media-artwork {
  position: relative;
  width: clamp(200px, 28vw, 236px);
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.media-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px;
  text-align: center;
}

.media-duration-pill {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}

.media-summary-col {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.media-heading {
  font-size: clamp(1.02rem, 2.2vw, 1.16rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.38;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.media-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.meta-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.meta-pill.verified {
  background: var(--accent-green-soft);
  border-color: #a7f3d0;
  color: #065f46;
}

.primary-action-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.stream-select {
  flex: 1 1 200px;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-subtle);
  font-family: inherit;
  outline: none;
  cursor: pointer;
}

.stream-select:focus {
  border-color: #0f172a;
}

.btn-download-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.28);
  transition: all 0.15s ease;
}

.btn-download-main:hover {
  background: linear-gradient(180deg, #059669 0%, #047857 100%);
}

.format-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.format-tabs-group {
  display: inline-flex;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}

.format-tabs-group::-webkit-scrollbar {
  display: none;
}

.format-tab-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  min-height: 32px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.format-tab-btn:hover {
  color: var(--text-primary);
}

.format-tab-btn.active {
  background: #0f172a;
  color: #ffffff;
}

.refresh-streams-btn {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  min-height: 34px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.refresh-streams-btn:hover {
  border-color: var(--border-default);
  color: var(--text-primary);
  background: var(--bg-subtle);
}

.stream-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 16px 0 10px 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.stream-bento-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stream-bento-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  background: var(--bg-subtle);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.stream-bento-row:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}

.stream-row-left {
  display: flex;
  align-items: center;
  gap: 8px 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.stream-format-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.res-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
}

.res-tag.uhd {
  background: #fef3c7;
  color: #b45309;
}

.res-tag.audio-tag {
  background: #e2e8f0;
  color: #1e293b;
}

.stream-spec-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.size-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: #065f46;
  background: var(--accent-green-soft);
  padding: 2px 8px;
  border-radius: 5px;
}

.table-dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent-blue);
  background: var(--accent-blue-soft);
  border: 1px solid #dbeafe;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.table-dl-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
}

.table-dl-btn.audio-dl-btn {
  background: #ffffff;
  border-color: var(--border-default);
  color: var(--text-primary);
}

.table-dl-btn.audio-dl-btn:hover {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #ffffff;
}

.category-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px auto 24px auto;
  max-width: 760px;
}

.cat-filter-pill {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  min-height: 36px;
  padding: 6px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.cat-filter-pill:hover {
  border-color: var(--border-default);
  color: var(--text-primary);
}

.cat-filter-pill.active {
  background: var(--text-primary);
  color: #ffffff;
  border-color: var(--text-primary);
}

.sites-section {
  margin-top: 10px;
}

.sites-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 860px;
  margin: 0 auto 18px auto;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.sites-section-title {
  font-size: clamp(0.95rem, 2.4vw, 1.04rem);
  font-weight: 700;
  color: var(--text-primary);
}

.sites-count-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.unified-sites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(185px, 100%), 1fr));
  gap: clamp(10px, 2vw, 16px);
  max-width: 860px;
  margin: 0 auto;
}

.site-grid-item {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 46px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 11px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  transition: all 0.15s ease;
  cursor: pointer;
  overflow: hidden;
}

@media (hover: hover) {
  .site-grid-item:hover {
    background-color: var(--bg-subtle);
    border-color: #93c5fd;
    color: var(--accent-blue);
    transform: translateY(-1px);
  }
}

.site-grid-item span.site-label-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-icon-badge {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.62rem;
  font-weight: 700;
  color: #ffffff;
  background: #263238;
  flex-shrink: 0;
  text-transform: uppercase;
}

.site-icon-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.site-icon-badge.fb { background: #1877f2; }
.site-icon-badge.ig { background: #e4405f; }
.site-icon-badge.yt { background: #ff0000; }
.site-icon-badge.tt { background: #111111; }
.site-icon-badge.blue { background: #0066dc; }
.site-icon-badge.sky { background: #1ab7ea; }
.site-icon-badge.vk { background: #0077ff; }
.site-icon-badge.dark { background: #18181b; }
.site-icon-badge.orange { background: #ff4500; }
.site-icon-badge.red { background: #e60023; }
.site-icon-badge.slate { background: #334155; }
.site-icon-badge.green { background: #16a34a; }
.site-icon-badge.purple { background: #7c3aed; }

@media (max-width: 720px) {
  .inspector-top,
  .skeleton-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .media-artwork,
  .skeleton-thumb {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .primary-action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .stream-select,
  .btn-download-main {
    width: 100%;
    flex: none;
  }

  .format-tabs-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .format-tabs-group {
    width: 100%;
    justify-content: space-between;
  }

  .format-tab-btn {
    flex: 1;
    text-align: center;
    padding: 5px 10px;
  }

  .refresh-streams-btn {
    align-self: flex-end;
  }

  .stream-bento-row {
    flex-direction: column;
    align-items: stretch;
  }

  .table-dl-btn {
    width: 100%;
    min-height: 40px;
  }

  .apology-banner {
    flex-direction: column;
    text-align: center;
  }

  .retry-inline-btn {
    width: 100%;
    min-height: 38px;
  }
}

@media (max-width: 420px) {
  .detected-host-tag {
    display: none;
  }

  .google-omnibox {
    padding: 5px 8px 5px 14px;
    min-height: 50px;
  }

  .omnibox-paste-btn {
    padding: 5px 12px;
    font-size: 0.78rem;
  }

  .stream-group-header span:last-child {
    display: none;
  }
}

@media (max-height: 540px) {
  .app-container.home-centered {
    padding-top: 16px;
    padding-bottom: 20px;
  }

  .brand-header {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}