:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #fbfcff;
  --hero-bg: #edf2fb;
  --text: #171923;
  --muted: #626b7f;
  --line: #d9deea;
  --primary: #1769e0;
  --primary-dark: #0f54b8;
  --accent: #1f9d73;
  --topbar-bg: rgba(246, 247, 251, 0.88);
  --hero-blue: rgba(23, 105, 224, 0.12);
  --hero-green: rgba(31, 157, 115, 0.16);
  --panel-glass: rgba(255, 255, 255, 0.76);
  --menu-hover: #eef4ff;
  --input-focus: rgba(23, 105, 224, 0.12);
  --delete-bg: #eef1f7;
  --shadow: 0 22px 60px rgba(24, 37, 72, 0.12);
}

body.dark-theme {
  color-scheme: dark;
  --bg: #0d111a;
  --surface: #151b27;
  --surface-soft: #101622;
  --hero-bg: #101827;
  --text: #f2f5fb;
  --muted: #a9b3c7;
  --line: #2a3345;
  --primary: #5b9dff;
  --primary-dark: #3c7fe0;
  --accent: #35d09a;
  --topbar-bg: rgba(13, 17, 26, 0.9);
  --hero-blue: rgba(91, 157, 255, 0.2);
  --hero-green: rgba(53, 208, 154, 0.14);
  --panel-glass: rgba(21, 27, 39, 0.78);
  --menu-hover: #1d2b42;
  --input-focus: rgba(91, 157, 255, 0.16);
  --delete-bg: #222c3d;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.hero-actions,
.inline-field {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
}

.menu {
  position: relative;
}

.menu-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(24, 37, 72, 0.08);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(24, 37, 72, 0.08);
}

.theme-toggle-icon {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.menu-options {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 190px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.menu-options.is-open {
  display: grid;
}

.menu-options a {
  padding: 11px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.menu-options a:hover {
  background: var(--menu-hover);
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: 620px;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, var(--hero-blue), transparent 38%),
    linear-gradient(315deg, var(--hero-green), transparent 42%),
    var(--hero-bg);
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(3rem, 7vw, 6.5rem);
}

h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.google-button,
.secondary-button,
.inline-field button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.google-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #fff;
  color: #202124;
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(32, 33, 36, 0.08);
}

.google-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--primary);
  font-weight: 800;
}

.secondary-button,
.inline-field button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--primary);
  color: #fff;
}

.secondary-button:hover,
.inline-field button:hover {
  background: var(--primary-dark);
}

.compact-link {
  min-height: 42px;
}

.login-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.status-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-glass);
  box-shadow: var(--shadow);
}

.status-panel div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.metric {
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 800;
}

.status-panel p {
  margin: 6px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.workspace {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 42px clamp(20px, 5vw, 72px) 72px;
}

.addons-section,
.portfolio-section,
.utilities-section {
  padding: 20px clamp(20px, 5vw, 72px) 72px;
}

.addons-section {
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.addons-panel {
  max-width: 860px;
}

.addons-page {
  padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 72px) 80px;
}

.utilities-page {
  padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 72px) 80px;
}

.utility-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.utility-option {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 800;
}

.utility-option.is-active {
  background: var(--primary);
  color: #fff;
}

.utility-panel {
  display: none;
}

.utility-panel.is-active {
  display: grid;
}

.sound-tool {
  grid-template-columns: minmax(230px, 0.7fr) minmax(320px, 1.15fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: start;
}

.manifest-tool {
  grid-template-columns: minmax(280px, 0.55fr) minmax(420px, 1.45fr);
  gap: 20px;
  align-items: start;
}

.camera-tool {
  grid-template-columns: minmax(300px, 0.65fr) minmax(420px, 1.35fr);
  gap: 20px;
  align-items: start;
}

.converter-tool {
  grid-template-columns: minmax(300px, 0.65fr) minmax(420px, 1.35fr);
  gap: 20px;
  align-items: start;
}

.sound-sidebar {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(24, 37, 72, 0.07);
}

.sound-form {
  display: grid;
  gap: 10px;
}

.manifest-form {
  display: grid;
  gap: 10px;
}

.sound-form label,
.import-box label,
.manifest-form label,
.sound-output label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.sound-form input,
.import-box input,
.category-control select,
.manifest-form input,
.manifest-form select,
.manifest-form textarea,
.sound-output textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  outline: none;
}

.sound-form input,
.import-box input,
.category-control select,
.manifest-form input,
.manifest-form select {
  min-height: 46px;
  padding: 0 12px;
}

.manifest-form textarea,
.manifest-output textarea {
  min-height: 120px;
  padding: 12px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.manifest-output textarea {
  width: 100%;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
}

.manifest-output-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 14px;
}

.converter-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.converter-summary div {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.converter-summary strong {
  font-size: 1.5rem;
}

.converter-summary span {
  color: var(--muted);
  font-weight: 800;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-row input {
  width: auto;
  min-height: auto;
}

.triple-field {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.triple-field.two-field {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.import-box {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.sound-output textarea {
  min-height: 160px;
  margin: 8px 0 14px;
  padding: 12px;
  resize: vertical;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.45;
}

#generatedDefinitions {
  min-height: 280px;
}

.sound-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.sound-list button {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 58px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font-weight: 800;
}

.sound-list button.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--input-focus);
}

.sound-list small {
  color: var(--muted);
  font-weight: 700;
}

.sound-preview audio {
  width: 100%;
}

.category-control {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.category-control label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.db-control {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.db-control label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.db-control div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px;
  gap: 12px;
  align-items: center;
}

.db-control input {
  width: 100%;
}

.db-control strong {
  color: var(--accent);
  text-align: right;
}

#soundCanvas {
  display: block;
  width: 100%;
  height: 220px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, var(--surface-soft), var(--hero-bg));
}

.sound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.patreon-page {
  padding-bottom: 80px;
}

.patreon-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(135deg, var(--hero-green), transparent 38%),
    linear-gradient(315deg, var(--hero-blue), transparent 42%),
    var(--hero-bg);
}

.patreon-workspace {
  padding-top: 42px;
}

.tierlist-section {
  padding: 10px clamp(20px, 5vw, 72px) 0;
}

.tier-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  margin-top: 26px;
}

.tier-card,
.tier-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(24, 37, 72, 0.07);
}

.tier-toggle {
  cursor: pointer;
}

.tier-toggle:focus {
  outline: 3px solid var(--input-focus);
  outline-offset: 3px;
}

.tier-card {
  display: grid;
  gap: 8px;
  padding: 22px;
}

.first-place {
  min-height: 220px;
  border-color: rgba(31, 157, 115, 0.45);
}

.second-place {
  min-height: 180px;
}

.third-place {
  min-height: 160px;
}

.tier-rank {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier-card h3,
.tier-row h3 {
  margin: 0;
  font-size: 1.18rem;
}

.tier-card p,
.tier-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.tier-card strong,
.tier-row strong {
  color: var(--text);
}

.tier-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.tier-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
}

.tier-products {
  display: none;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.tier-toggle.is-open .tier-products {
  display: grid;
}

.tier-card .tier-products {
  margin-top: 12px;
}

.tier-row .tier-products {
  grid-column: 2;
}

.tier-products li {
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  font-weight: 700;
}

.tier-row > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--accent);
  font-weight: 800;
}

.addons-hero {
  max-width: 840px;
  margin-bottom: 34px;
}

.addon-zones {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.addon-zone {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-glass);
}

.zone-heading {
  margin-bottom: 18px;
}

.addon-list {
  display: grid;
  gap: 18px;
}

.addon-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(24, 37, 72, 0.07);
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.addon-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(24, 37, 72, 0.12);
}

.addon-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  background: var(--hero-bg);
}

.addon-item p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.addon-detail-main {
  padding: clamp(40px, 6vw, 76px) clamp(20px, 5vw, 72px) 80px;
}

.addon-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  margin-bottom: 34px;
}

.addon-detail-hero img {
  width: min(100%, 320px);
  justify-self: center;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.addon-price {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin: 18px 0 0;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--accent);
  font-weight: 800;
}

.addon-detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px;
  align-items: start;
}

.video-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.youtube-preview {
  position: relative;
  display: grid;
  min-height: 100%;
  color: #fff;
}

.youtube-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: brightness(0.72);
}

.youtube-preview span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  background: #ff0033;
  font-weight: 800;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.youtube-preview:hover img {
  filter: brightness(0.58);
}

.addon-copy-card {
  width: 100%;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--muted);
  line-height: 1.55;
}

.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(24, 37, 72, 0.07);
}

.portfolio-intro p,
.utilities-section p {
  max-width: 780px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.character-image {
  width: min(100%, 330px);
  justify-self: center;
  object-fit: contain;
  filter: drop-shadow(0 22px 26px rgba(24, 37, 72, 0.18));
}

.events-block {
  margin-top: 34px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.event-card {
  display: grid;
  gap: 12px;
  width: 100%;
  min-height: 280px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 32px rgba(24, 37, 72, 0.07);
}

.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(24, 37, 72, 0.12);
}

.event-card[aria-disabled="true"] {
  cursor: default;
}

.event-card[aria-disabled="true"]:hover {
  transform: none;
}

.event-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.event-card span,
.event-card small {
  padding: 0 4px;
}

.event-card small {
  margin-top: -8px;
  color: var(--muted);
  font-size: 0.88rem;
}

.utilities-section {
  border-top: 1px solid var(--line);
}

.detail-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.detail-main {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.detail-card {
  width: min(100%, 820px);
  padding: clamp(26px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-card p:last-child {
  margin-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-bottom: 24px;
  color: var(--primary);
  font-weight: 800;
}

.panel {
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 32px rgba(24, 37, 72, 0.07);
}

.panel-heading {
  margin-bottom: 24px;
}

.form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.inline-field {
  gap: 10px;
}

.inline-field input {
  width: 100%;
  min-height: 48px;
  min-width: 0;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  outline: none;
}

.inline-field input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--input-focus);
}

.saved-list {
  display: grid;
  gap: 10px;
  min-height: 48px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.saved-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 700;
}

.saved-list .empty {
  color: var(--muted);
  font-weight: 600;
}

.delete-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: var(--delete-bg);
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.delete-button:hover {
  background: #fee2e2;
  color: #b42318;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar,
  .hero,
  .patreon-hero,
  .workspace,
  .portfolio-intro,
  .event-grid,
  .addon-zones,
  .addon-item,
  .tier-podium,
  .sound-tool,
  .manifest-tool,
  .manifest-output-grid,
  .camera-tool,
  .converter-tool,
  .converter-summary,
  .addon-detail-hero,
  .addon-detail-content {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
  }

  .menu,
  .menu-button,
  .topbar-actions,
  .theme-toggle {
    width: 100%;
  }

  .menu-button,
  .theme-toggle {
    justify-content: space-between;
  }

  .topbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-options {
    left: 0;
    right: auto;
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .workspace {
    padding-top: 26px;
  }

  .addon-item img {
    max-width: 260px;
  }

  .tier-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .inline-field {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions,
  .google-button,
  .secondary-button {
    width: 100%;
  }

  .google-button,
  .secondary-button {
    justify-content: center;
  }
}
