:root {
  color-scheme: dark;
  --bg: #000;
  --panel: rgba(0, 0, 0, 0.86);
  --panel-strong: rgba(11, 12, 15, 0.94);
  --panel-soft: rgba(255, 247, 226, 0.07);
  --line: #2b3247;
  --line-soft: rgba(255, 255, 255, 0.13);
  --text: #fff;
  --muted: #b0b0b0;
  --dimmed: #6b6b6b;
  --gold: #e0b84d;
  --gold-light: #f0d88e;
  --gold-deep: #c79522;
  --blue: #4a90d9;
  --blue-light: #6aa8f0;
  --danger: #e74c3c;
  --mint: #42c6a4;
  --radius-xl: 30px / 26px;
  --radius-lg: 24px / 21px;
  --radius-md: 19px / 17px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.7);
  --gold-shadow: 0 18px 42px rgba(224, 184, 77, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(74, 144, 217, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(224, 184, 77, 0.08), transparent 42%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.app-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 16px;
  min-height: 100vh;
  padding: 16px;
}

.topbar,
.control-strip,
.side-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
}

.brand,
.room-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 240, 183, 0.52);
  border-radius: 17px / 15px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: #141004;
  font-weight: 800;
  box-shadow: var(--gold-shadow);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 1.18rem;
  letter-spacing: 0;
}

h2 {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.field {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.75rem;
}

.field input {
  width: 170px;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  outline: none;
}

.field input:focus {
  border-color: rgba(224, 184, 77, 0.72);
  box-shadow: 0 0 0 3px rgba(224, 184, 77, 0.16);
}

.primary-button,
.text-button,
.danger-button,
.icon-button,
.round-button {
  min-height: 44px;
  border-radius: var(--radius-md);
  color: var(--text);
}

.primary-button {
  padding: 0 18px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(74, 144, 217, 0.24);
}

.primary-button:hover {
  background: linear-gradient(135deg, #80b8f4, #4a90d9);
}

.icon-button,
.round-button {
  display: grid;
  place-items: center;
  background: var(--panel-strong);
  border: 1px solid var(--line-soft);
}

.icon-button {
  width: 46px;
}

.round-button {
  width: 52px;
  height: 52px;
  border-radius: 22px / 19px;
}

.round-button.active {
  background: rgba(74, 144, 217, 0.2);
  border-color: rgba(106, 168, 240, 0.58);
  color: var(--blue-light);
  box-shadow: 0 14px 34px rgba(74, 144, 217, 0.14);
}

.round-button.off {
  background: var(--danger);
  border-color: transparent;
}

svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
}

.note-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 8;
  display: grid;
  justify-items: start;
  min-width: 122px;
  padding: 10px 16px 12px;
  border: 1px solid rgba(255, 240, 183, 0.34);
  border-radius: 26px / 22px;
  background: rgba(0, 0, 0, 0.42);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.42);
  color: var(--text);
  pointer-events: none;
  backdrop-filter: blur(22px) saturate(1.4);
}

.note-overlay span {
  color: var(--muted);
  font-size: 0.34rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.note-overlay strong {
  margin-top: 2px;
  color: var(--gold-light);
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  line-height: 0.92;
  font-variant-numeric: tabular-nums;
}

.note-overlay em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.39rem;
  font-style: normal;
}

.video-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 247, 226, 0.05), transparent 42%),
    #030303;
  box-shadow: var(--shadow);
}

.video-tile[role="button"] {
  cursor: pointer;
}

.video-tile:focus-visible {
  outline: 3px solid rgba(224, 184, 77, 0.58);
  outline-offset: 3px;
}

.remote-tile {
  min-height: 460px;
}

.local-tile {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(260px, 30vw);
  aspect-ratio: 4 / 3;
  z-index: 5;
}

.local-tile[data-orientation="portrait"] {
  width: min(190px, 22vw);
  aspect-ratio: 3 / 4;
}

.local-tile[data-orientation="square"] {
  width: min(220px, 26vw);
  aspect-ratio: 1;
}

.stage[data-focus="self"] .local-tile {
  position: relative;
  right: auto;
  bottom: auto;
  width: auto;
  min-height: 0;
  aspect-ratio: auto;
  z-index: 1;
}

.stage[data-focus="self"] .remote-tile {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: min(260px, 30vw);
  min-height: 0;
  aspect-ratio: 4 / 3;
  z-index: 5;
}

video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #05070a;
}

.marker-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tile-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px / 16px;
  background: rgba(0, 0, 0, 0.74);
  color: var(--text);
  backdrop-filter: blur(24px);
}

.local-tile .tile-label,
.stage[data-focus="self"] .remote-tile .tile-label {
  left: 8px;
  right: auto;
  bottom: 8px;
  max-width: calc(100% - 16px);
  gap: 6px;
  padding: 6px 8px;
  border-radius: 14px / 12px;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(18px) saturate(1.35);
}

.local-tile .tile-label strong,
.stage[data-focus="self"] .remote-tile .tile-label strong {
  display: none;
}

.tile-label span,
.tile-label strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tile-label strong {
  color: var(--muted);
  font-size: 0.78rem;
}

.control-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border-radius: var(--radius-xl);
}

.text-button {
  padding: 0 14px;
  background: var(--panel-strong);
  border: 1px solid var(--line-soft);
}

.danger-button {
  padding: 0 18px;
  background: var(--danger);
  font-weight: 700;
}

.panel-button {
  width: 100%;
}

.side-panel {
  grid-column: 2;
  grid-row: 2 / 4;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius-xl);
}

.panel-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-section.compact {
  flex: 1;
  min-height: 0;
}

.status-note {
  margin: -2px 0 2px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.toggle-row,
.range-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  min-height: 34px;
}

.range-row {
  align-items: start;
  flex-direction: column;
}

.range-row input {
  width: 100%;
  accent-color: var(--gold-light);
}

.toggle-row input {
  position: relative;
  width: 48px;
  height: 28px;
  margin: 0;
  appearance: none;
  border: 1px solid var(--line-soft);
  border-radius: 18px / 15px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: background 160ms ease, border-color 160ms ease;
}

.toggle-row input::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 9px / 8px;
  background: var(--muted);
  transition: transform 160ms ease, background 160ms ease;
}

.toggle-row input:checked {
  border-color: rgba(224, 184, 77, 0.64);
  background: rgba(224, 184, 77, 0.24);
}

.toggle-row input:checked::after {
  transform: translateX(20px);
  background: var(--gold-light);
}

.stats {
  display: grid;
  gap: 10px;
  margin: 0;
}

.stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(43, 50, 71, 0.72);
}

.stats dt {
  color: var(--muted);
}

.stats dd {
  margin: 0;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}

.event-log {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
  color: var(--muted);
  font-size: 0.86rem;
}

.event-log li {
  padding: 9px 11px;
  border: 1px solid rgba(43, 50, 71, 0.72);
  border-radius: var(--radius-md);
  background: var(--panel-soft);
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(380px, 1fr) auto auto;
  }

  .topbar,
  .room-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .room-controls {
    width: 100%;
  }

  .field,
  .field input,
  .primary-button {
    width: 100%;
  }

  .icon-button {
    width: 100%;
  }

  .side-panel {
    grid-column: 1;
    grid-row: auto;
  }

  .local-tile {
    right: 28px;
    bottom: 28px;
    width: min(220px, 42vw);
  }

  .local-tile[data-orientation="portrait"] {
    width: min(170px, 32vw);
  }

  .local-tile[data-orientation="square"] {
    width: min(190px, 36vw);
  }

  .stage[data-focus="self"] .local-tile {
    width: auto;
  }

  .stage[data-focus="self"] .remote-tile {
    right: 28px;
    bottom: 28px;
    width: min(220px, 42vw);
  }

}

@media (max-width: 620px) {
  .app-shell {
    padding: 10px;
  }

  .brand {
    width: 100%;
  }

  .remote-tile {
    min-height: 390px;
  }

  .local-tile {
    right: 22px;
    bottom: 22px;
    width: 42vw;
    min-width: 138px;
  }

  .note-overlay {
    top: 12px;
    left: 12px;
    min-width: 100px;
    padding: 8px 12px 10px;
  }

  .local-tile[data-orientation="portrait"] {
    width: 34vw;
    min-width: 116px;
  }

  .local-tile[data-orientation="square"] {
    width: 38vw;
    min-width: 128px;
  }

  .stage[data-focus="self"] .local-tile {
    width: auto;
    min-width: 0;
  }

  .stage[data-focus="self"] .remote-tile {
    right: 22px;
    bottom: 22px;
    width: 42vw;
    min-width: 138px;
  }

  .control-strip {
    flex-wrap: wrap;
  }
}

.landing-page {
  overflow-x: hidden;
}

.landing-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 54px;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.landing-brand,
.nav-cta,
.primary-link,
.secondary-link {
  color: var(--text);
  text-decoration: none;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.nav-cta,
.secondary-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.54);
}

.landing-hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: 42px;
}

.eyebrow {
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(2.8rem, 7vw, 6.8rem);
  line-height: 0.92;
}

.hero-text {
  max-width: 620px;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  font-weight: 800;
  box-shadow: 0 18px 46px rgba(74, 144, 217, 0.26);
}

.primary-link.mesh-gold {
  position: relative;
  overflow: hidden;
  color: #141004;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 240, 183, 0.95), transparent 34%),
    radial-gradient(circle at 82% 28%, rgba(255, 184, 34, 0.78), transparent 30%),
    radial-gradient(circle at 44% 92%, rgba(199, 149, 34, 0.92), transparent 38%),
    linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-deep));
  border: 1px solid rgba(255, 240, 183, 0.58);
  box-shadow:
    0 18px 46px rgba(224, 184, 77, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.primary-link.mesh-gold::after {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.42) 48%, transparent 62%),
    repeating-linear-gradient(35deg, rgba(20, 16, 4, 0.1) 0 1px, transparent 1px 14px);
  opacity: 0.42;
  pointer-events: none;
}

.primary-link.mesh-gold:hover {
  background:
    radial-gradient(circle at 20% 16%, rgba(255, 248, 210, 1), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(255, 193, 67, 0.9), transparent 30%),
    radial-gradient(circle at 48% 90%, rgba(199, 149, 34, 0.98), transparent 38%),
    linear-gradient(135deg, #fff0b7, #e0b84d, #c79522);
}

.hero-device {
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 38px / 34px;
  background:
    linear-gradient(145deg, rgba(255, 247, 226, 0.08), transparent 42%),
    rgba(0, 0, 0, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.device-top {
  display: flex;
  gap: 7px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}

.device-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-soft);
}

.device-stage {
  position: relative;
  min-height: 510px;
  display: grid;
  place-items: center;
}

.voice-line,
.voice-line::before,
.voice-line::after {
  position: absolute;
  width: min(78%, 420px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--blue-light), transparent);
  box-shadow: 0 0 32px rgba(224, 184, 77, 0.36);
}

.voice-line::before,
.voice-line::after {
  content: "";
  left: 0;
}

.voice-line::before {
  transform: translateY(-42px) scaleX(0.68);
}

.voice-line::after {
  transform: translateY(42px) scaleX(0.82);
}

.voice-line.short {
  transform: translateY(116px) scaleX(0.46);
  opacity: 0.74;
}

.metric-card {
  position: absolute;
  left: 24px;
  bottom: 26px;
  display: grid;
  gap: 5px;
  width: min(260px, calc(100% - 48px));
  padding: 16px;
  border: 1px solid rgba(224, 184, 77, 0.34);
  border-radius: var(--radius-lg);
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(22px);
}

.metric-card.right {
  left: auto;
  right: 24px;
  top: 28px;
  bottom: auto;
  width: 190px;
}

.metric-card strong {
  color: var(--text);
}

.metric-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-cta,
.prejoin-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(26px);
}

.landing-cta h2,
.prejoin-copy h2 {
  color: var(--text);
  font-size: 1.25rem;
  text-transform: none;
  letter-spacing: 0;
}

.landing-cta p,
.prejoin-copy p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 24px;
}

.landing-cta p {
  max-width: 560px;
}

.app-shell--lesson {
  position: relative;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  text-decoration: none;
}

.prejoin-panel {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  align-items: end;
  gap: 24px;
  padding: 22px;
}

.prejoin-copy h2 {
  margin-top: 10px;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
}

.app-shell--lesson[data-call-state="setup"] .stage,
.app-shell--lesson[data-call-state="joining"] .stage,
.app-shell--lesson[data-call-state="setup"] .control-strip,
.app-shell--lesson[data-call-state="joining"] .control-strip {
  display: none;
}

.app-shell--lesson[data-call-state="room"] .prejoin-panel {
  display: none;
}

.app-shell--lesson[data-call-state="room"][data-peer-connected="true"] {
  grid-template-rows: minmax(0, 1fr) auto;
}

.app-shell--lesson[data-call-state="room"][data-peer-connected="true"] .topbar {
  display: none;
}

.app-shell--lesson[data-call-state="joining"] .prejoin-panel {
  opacity: 0.72;
}

.app-shell--lesson .stage {
  min-height: 0;
}

.app-shell--lesson .remote-tile {
  min-height: 0;
}

.settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  background: rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(8px);
}

.app-shell--lesson .side-panel {
  position: fixed;
  top: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  width: min(390px, calc(100vw - 28px));
  display: flex;
  transform: translateX(calc(100% + 28px));
  transition: transform 180ms ease;
}

.settings-open .settings-backdrop {
  display: block;
}

.settings-open .side-panel {
  transform: translateX(0);
}

.panel-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.panel-header p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .landing-hero,
  .prejoin-panel {
    grid-template-columns: 1fr;
  }

  .landing-hero {
    min-height: auto;
    padding: 42px 0 18px;
  }

  .hero-device {
    min-height: 430px;
  }

  .device-stage {
    min-height: 380px;
  }

  .landing-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .app-shell--lesson {
    grid-template-rows: auto auto minmax(0, 1fr) auto;
  }

  .app-shell--lesson[data-call-state="room"][data-peer-connected="true"] {
    grid-template-rows: minmax(380px, 1fr) auto;
  }

  .app-shell--lesson .topbar {
    align-items: center;
    flex-direction: row;
  }

  .app-shell--lesson .room-controls {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .landing-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 10px;
  }

  .landing-nav {
    min-height: 60px;
  }

  .nav-cta {
    padding: 0 12px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 4.2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .metric-card,
  .metric-card.right {
    left: 18px;
    right: 18px;
    width: auto;
  }

  .metric-card.right {
    top: 22px;
  }

  .app-shell--lesson .topbar {
    gap: 12px;
  }

  .top-actions {
    margin-left: auto;
  }

  .app-shell--lesson .icon-button {
    width: 46px;
  }

  .prejoin-panel {
    padding: 18px;
  }

  .app-shell--lesson[data-call-state="room"] {
    min-height: 100svh;
  }

  .app-shell--lesson .stage {
    min-height: 0;
  }

  .app-shell--lesson .remote-tile {
    min-height: 0;
  }

  .app-shell--lesson .side-panel {
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: min(82svh, 680px);
    transform: translateY(calc(100% + 20px));
  }

  .settings-open .side-panel {
    transform: translateY(0);
  }
}
