:root {
  --ink: #0d1323;
  --cream: #fff5e8;
  --paper: #fffaf1;
  --orange: #ff6f17;
  --green: #16b466;
  --purple: #6b46e8;
  --cyan: #00c2d1;
  --gold: #ffc542;
  --shadow: 0 24px 80px rgba(5, 10, 26, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0f1f;
}

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

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.stage,
.paper-stage,
.hub {
  min-height: 100vh;
  padding: 24px;
}

.home-page {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 111, 23, 0.35), transparent 34%),
    radial-gradient(circle at 85% 18%, rgba(0, 194, 209, 0.26), transparent 30%),
    linear-gradient(135deg, #070b16, #141a2f 58%, #0a101d);
}

.hub {
  display: grid;
  align-content: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ffbc6d;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hub h1 {
  max-width: 820px;
  margin: 0 0 36px;
  color: white;
  font-size: 76px;
  line-height: 0.92;
  letter-spacing: 0;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.hub-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease;
}

.hub-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.46);
}

.hub-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
}

.hub-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
}

.hub-card small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.tomato { --accent: #ff6f61; }
.cyan { --accent: #4be4f1; }
.mint { --accent: #9cf3bc; }
.gold { --accent: #ffce4f; }
.purple { --accent: #bd5cff; }

.timer-page {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 84px),
    linear-gradient(135deg, #07101f, #111a31 54%, #07101f);
}

.timer-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  color: white;
}

.top-nav a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  font-size: 14px;
  font-weight: 800;
}

.timer-shell {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  overflow: hidden;
  width: min(1120px, 100%);
  min-height: 0;
  height: calc(100vh - 92px);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 56px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: white;
  box-shadow: var(--shadow);
}

.pomodoro-shell {
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 111, 23, 0.32), transparent 25%),
    linear-gradient(145deg, rgba(255, 83, 76, 0.18), transparent 46%),
    #11182b;
}

.work-shell {
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 194, 209, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(255, 197, 66, 0.12), transparent 48%),
    #0d1826;
}

.timer-copy {
  text-align: center;
}

.timer-copy h1,
.kpi-heading h1 {
  margin: 0;
  font-size: 68px;
  line-height: 0.94;
  letter-spacing: 0;
}

.timer-orbit {
  position: absolute;
  right: 7%;
  top: 19%;
  width: clamp(150px, 18vw, 210px);
  height: clamp(150px, 18vw, 210px);
  margin: 0;
  opacity: 0.7;
  pointer-events: none;
}

.pulse-ring,
.tomato-core {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.pulse-ring {
  border: 18px solid rgba(255, 255, 255, 0.09);
  animation: breathe 2.4s ease-in-out infinite;
}

.tomato-core {
  inset: 36px;
  background: linear-gradient(135deg, #ff735c, #ff2f5f);
  box-shadow: 0 0 70px rgba(255, 76, 76, 0.65);
}

.tomato-core::before {
  position: absolute;
  top: -20px;
  left: 56px;
  width: 46px;
  height: 28px;
  border-radius: 80% 20% 70% 30%;
  background: #24c36d;
  content: "";
  transform: rotate(-16deg);
}

.time-readout {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  font-size: 142px;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
  line-height: 0.95;
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.34);
}

.stopwatch-readout {
  font-size: 128px;
}

.progress-track {
  width: min(620px, 90%);
  height: 18px;
  margin: 18px 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffbc6d, #ff3f62);
  transition: width 220ms linear;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 4px;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-width: 120px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 950;
}

.primary-button {
  color: #111827;
  background: #fff;
}

.secondary-button,
.ghost-button {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
}

.stat-strip div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
}

.stat-strip span {
  font-size: 42px;
  font-weight: 950;
}

.stat-strip small,
.laps-panel span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.work-meter {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  width: min(560px, 86%);
  height: 58px;
  margin: 26px 0 12px;
  align-items: end;
}

.work-meter span {
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, #54effa, #1577ff);
  box-shadow: 0 0 34px rgba(84, 239, 250, 0.34);
  animation: equalize 1.2s ease-in-out infinite;
}

.work-meter span:nth-child(1) { height: 42%; animation-delay: -0.2s; }
.work-meter span:nth-child(2) { height: 78%; animation-delay: -0.4s; }
.work-meter span:nth-child(3) { height: 58%; animation-delay: -0.1s; }
.work-meter span:nth-child(4) { height: 92%; animation-delay: -0.5s; }
.work-meter span:nth-child(5) { height: 50%; animation-delay: -0.3s; }

.laps-panel {
  width: min(620px, 92%);
  margin-top: 26px;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.laps-panel ol {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  min-height: 32px;
  margin: 12px 0 0;
  padding-left: 20px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.paper-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  background:
    linear-gradient(120deg, rgba(13, 19, 35, 0.05) 0 1px, transparent 1px 70px),
    #f4f5f7;
}

.sketch-nav a {
  color: var(--ink);
  border-color: rgba(13, 19, 35, 0.18);
  background: rgba(255, 255, 255, 0.72);
}

.sketch-board {
  position: relative;
  overflow: hidden;
  width: min(1500px, 100%);
  min-height: 0;
  height: calc(100vh - 88px);
  margin: 0 auto;
  padding: 40px;
  border: 8px solid var(--ink);
  border-radius: 46px 34px 42px 30px;
  background: var(--cream);
  box-shadow: 0 22px 0 rgba(13, 19, 35, 0.1), var(--shadow);
}

.sketch-board::after {
  position: absolute;
  right: 13%;
  bottom: 34%;
  width: 360px;
  height: 14px;
  border-radius: 999px;
  background: rgba(126, 138, 158, 0.78);
  content: "";
  transform: rotate(-12deg);
}

.sketch-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  justify-content: space-between;
}

.sketch-header h1 {
  margin: 0;
  font-family: "Comic Sans MS", "Marker Felt", "Trebuchet MS", cursive;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: 0;
}

.orange-stroke {
  width: min(780px, 68vw);
  height: 22px;
  margin-top: 24px;
  border-radius: 999px;
  background: var(--orange);
  transform: rotate(0.3deg);
}

.rocket-badge {
  position: relative;
  flex: 0 0 auto;
  width: clamp(140px, 16vw, 220px);
  height: clamp(140px, 16vw, 220px);
  border: 10px solid #ff863d;
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg, rgba(255, 134, 61, 0.22) 0 6px, transparent 6px 18px),
    #fff0dc;
}

.rocket-shape {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 168px;
  border: 8px solid var(--purple);
  border-radius: 55% 55% 28% 28%;
  background: #d8ccff;
  transform: translate(-50%, -50%) rotate(16deg);
}

.rocket-shape::before {
  position: absolute;
  top: 36px;
  left: 19px;
  width: 46px;
  height: 46px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: #b9dcff;
  content: "";
}

.task-label {
  display: inline-block;
  margin-top: 28px;
  padding: 18px 44px;
  border: 7px solid #006747;
  border-radius: 24px 18px 24px 18px;
  background: #b9f5cc;
  color: #00513c;
  font-family: "Comic Sans MS", "Marker Felt", "Trebuchet MS", cursive;
  font-size: 36px;
  font-weight: 900;
  transform: rotate(-0.8deg);
}

.sketch-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.sketch-task {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  min-height: 70px;
  padding: 10px 24px;
  border: 6px solid var(--ink);
  border-radius: 26px 18px 24px 22px;
  background: white;
  box-shadow: 0 7px 0 rgba(13, 19, 35, 0.1);
  transform: rotate(-0.6deg);
}

.sketch-task:nth-child(even) {
  transform: rotate(0.5deg);
}

.sketch-task:nth-child(3n) {
  transform: rotate(-0.3deg);
}

.sketch-task input {
  position: absolute;
  opacity: 0;
}

.fake-check {
  width: 46px;
  height: 46px;
  border: 6px solid currentColor;
  border-radius: 14px 12px 16px 10px;
}

.fake-check.green { color: #21b864; }
.fake-check.purple { color: #6650f0; }
.fake-check.amber { color: #df8500; }

.sketch-task input:checked + .fake-check::after {
  display: block;
  width: 28px;
  height: 46px;
  margin-left: 17px;
  border: solid currentColor;
  border-width: 0 8px 8px 0;
  content: "";
  transform: rotate(42deg) translate(-2px, -12px);
}

.sketch-task strong {
  font-family: "Comic Sans MS", "Marker Felt", "Trebuchet MS", cursive;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  outline: none;
  min-width: 30px;
}

.sketch-task strong[contenteditable="true"] {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
}

.sketch-task em {
  padding: 12px 24px;
  border: 6px solid #9d421c;
  border-radius: 18px 14px 18px 14px;
  color: #8a3216;
  background: #ffbe78;
  font-family: "Comic Sans MS", "Marker Felt", "Trebuchet MS", cursive;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
  transform: rotate(-1.4deg);
}

.todo-edit,
.todo-del {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  border: 3px solid currentColor;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  font-size: 16px;
  padding: 4px 10px;
  line-height: 1;
}

.todo-edit {
  color: var(--ink);
  border-color: var(--ink);
}

.todo-del {
  color: #c0392b;
  border-color: #c0392b;
  font-size: 18px;
  padding: 4px 8px;
}

.add-todo {
  display: block;
  margin: 12px auto 0;
  width: 56px;
  height: 56px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 0 rgba(13, 19, 35, 0.1);
  transition: transform 100ms;
}

.add-todo:hover {
  transform: scale(1.1);
}

.sketch-task strong {
  font-family: "Comic Sans MS", "Marker Felt", "Trebuchet MS", cursive;
  font-size: 38px;
  letter-spacing: 0;
}

.sketch-task em {
  padding: 12px 24px;
  border: 6px solid #9d421c;
  border-radius: 18px 14px 18px 14px;
  color: #8a3216;
  background: #ffbe78;
  font-family: "Comic Sans MS", "Marker Felt", "Trebuchet MS", cursive;
  font-size: 28px;
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
  transform: rotate(-1.4deg);
}

.sketch-task.lavender {
  background: #eef2ff;
}

.sketch-task.yellow {
  background: #fff5bf;
}

.kpi-page {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 78px),
    linear-gradient(135deg, #07121d, #172116 50%, #0c101d);
}

.kpi-stage {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
}

.kpi-board {
  display: grid;
  grid-template-columns: minmax(260px, 0.76fr) 1.24fr;
  gap: 28px;
  align-self: center;
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: white;
  background:
    radial-gradient(circle at 14% 22%, rgba(255, 197, 66, 0.28), transparent 30%),
    radial-gradient(circle at 96% 80%, rgba(22, 180, 102, 0.24), transparent 28%),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.kpi-list {
  display: grid;
  gap: 12px;
}

.kpi-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 14px 22px;
  border-left: 8px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.kpi-item:nth-child(1) { --accent: #0a66c2; }
.kpi-item:nth-child(2) { --accent: #ff4d6d; }
.kpi-item:nth-child(3) { --accent: #ffbc42; }
.kpi-item:nth-child(4) { --accent: #4be4f1; }
.kpi-item:nth-child(5) { --accent: #36d681; }

.kpi-item span {
  font-size: 30px;
  font-weight: 900;
}

.kpi-item strong {
  color: var(--accent);
  font-size: 48px;
  font-variant-numeric: tabular-nums;
  font-weight: 950;
}

@keyframes breathe {
  50% {
    transform: scale(1.08);
    opacity: 0.7;
  }
}

@keyframes equalize {
  50% {
    height: 100%;
  }
}

@media (max-width: 900px) {
  .hub h1 {
    font-size: 52px;
  }

  .timer-copy h1,
  .kpi-heading h1 {
    font-size: 48px;
  }

  .time-readout {
    font-size: 96px;
  }

  .stopwatch-readout {
    font-size: 86px;
  }

  .sketch-header h1 {
    font-size: 58px;
  }

  .task-label,
  .sketch-task strong {
    font-size: 34px;
  }

  .sketch-task em,
  .kpi-item span {
    font-size: 28px;
  }

  .kpi-item strong {
    font-size: 44px;
  }

  .hub-grid,
  .kpi-board {
    grid-template-columns: 1fr;
  }

  .sketch-task {
    grid-template-columns: auto 1fr;
    padding: 18px 22px;
  }

  .sketch-task em {
    grid-column: 1 / -1;
    justify-self: end;
  }

  .rocket-badge {
    display: none;
  }
}

@media (max-height: 380px) {
  .vibe-banner {
    gap: 10px;
    padding: 4px 14px;
  }

  .vibe-banner::before {
    inset: 6px;
  }

  .vibe-copy .eyebrow {
    font-size: 14px;
  }

  .vibe-copy h1 {
    font-size: 16px;
  }

  .vibe-stack span {
    padding: 2px 8px;
    font-size: 11px;
    border-left-width: 3px;
  }
}

/* OBS neon v2: soft studio neon, inspired by purple sign lighting */
body.timer-page,
body.kpi-page,
body.todos-page {
  color: #fffdf7;
  background:
    radial-gradient(circle at 82% 18%, rgba(177, 82, 255, 0.34), transparent 34%),
    radial-gradient(circle at 8% 88%, rgba(255, 230, 0, 0.16), transparent 32%),
    linear-gradient(135deg, #090611, #17101f 44%, #050308);
}

.timer-shell,
.kpi-board,
.sketch-board {
  border: 0;
  background:
    linear-gradient(135deg, rgba(255, 232, 38, 0.08), transparent 30%),
    radial-gradient(circle at 76% 22%, rgba(184, 78, 255, 0.28), transparent 36%),
    linear-gradient(145deg, rgba(23, 13, 35, 0.94), rgba(5, 3, 9, 0.98));
  box-shadow:
    inset 0 0 0 5px #ffe817,
    inset 0 0 0 9px rgba(9, 6, 17, 0.92),
    inset 0 0 60px rgba(179, 84, 255, 0.22),
    0 0 32px rgba(255, 232, 23, 0.46),
    0 0 82px rgba(177, 82, 255, 0.42);
}

.timer-shell {
  gap: 16px;
  padding: 34px 42px;
}

.timer-page .eyebrow,
.kpi-page .eyebrow {
  color: #ffe817;
  font-size: 26px;
  letter-spacing: 0.2em;
  text-shadow:
    0 0 8px rgba(255, 232, 23, 0.96),
    0 0 22px rgba(255, 232, 23, 0.5);
}

.timer-copy h1,
.kpi-heading h1,
.sketch-header h1 {
  color: #fffdf7;
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.95),
    0 0 16px rgba(189, 92, 255, 0.9),
    0 0 42px rgba(189, 92, 255, 0.78),
    0 0 86px rgba(189, 92, 255, 0.48);
}

.timer-copy h1 {
  font-size: 82px;
}

.time-readout {
  color: #fffdf7;
  font-size: 176px;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 1),
    0 0 18px rgba(189, 92, 255, 0.95),
    0 0 52px rgba(189, 92, 255, 0.82),
    0 0 100px rgba(189, 92, 255, 0.5);
}

.stopwatch-readout {
  font-size: 156px;
}

.progress-track {
  height: 22px;
  border: 2px solid rgba(255, 232, 23, 0.88);
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 14px rgba(255, 232, 23, 0.58),
    0 0 34px rgba(189, 92, 255, 0.32);
}

.progress-fill {
  background: linear-gradient(90deg, #ffe817, #bd5cff);
  box-shadow: 0 0 24px rgba(255, 232, 23, 0.72);
}

.timer-orbit {
  right: 42px;
  top: 38px;
  width: 126px;
  height: 126px;
  opacity: 0.8;
}

.pulse-ring {
  border-color: rgba(189, 92, 255, 0.55);
  box-shadow:
    0 0 18px rgba(189, 92, 255, 0.86),
    0 0 44px rgba(189, 92, 255, 0.58);
}

.tomato-core {
  background: linear-gradient(135deg, #ffe817, #bd5cff);
  box-shadow:
    0 0 22px rgba(255, 232, 23, 0.66),
    0 0 48px rgba(189, 92, 255, 0.88);
}

.tomato-core::before {
  background: #ffe817;
  box-shadow: 0 0 16px rgba(255, 232, 23, 0.82);
}

.work-meter {
  height: 74px;
  gap: 14px;
}

.work-meter span {
  background: linear-gradient(180deg, #bd5cff, #5330ff);
  box-shadow:
    0 0 18px rgba(189, 92, 255, 0.82),
    0 0 44px rgba(189, 92, 255, 0.5);
}

.primary-button,
.secondary-button,
.ghost-button {
  border: 2px solid rgba(189, 92, 255, 0.82);
  color: #fffdf7;
  background: rgba(11, 7, 18, 0.72);
  box-shadow:
    0 0 12px rgba(189, 92, 255, 0.62),
    inset 0 0 18px rgba(189, 92, 255, 0.1);
}

.primary-button {
  border-color: #ffe817;
  color: #100814;
  background: #ffe817;
  box-shadow:
    0 0 14px rgba(255, 232, 23, 0.86),
    0 0 34px rgba(255, 232, 23, 0.42);
}

.stat-strip div,
.laps-panel {
  border-color: rgba(255, 232, 23, 0.78);
  background: rgba(11, 7, 18, 0.68);
  box-shadow:
    0 0 14px rgba(255, 232, 23, 0.34),
    0 0 34px rgba(189, 92, 255, 0.2);
}

.stat-strip span,
.laps-panel ol {
  color: #ffe817;
  text-shadow:
    0 0 10px rgba(255, 232, 23, 0.86),
    0 0 28px rgba(255, 232, 23, 0.48);
}

.kpi-board {
  gap: 12px;
  padding: 30px 34px;
}

.kpi-heading h1 {
  font-size: 94px;
}

.kpi-list {
  gap: 13px;
}

.kpi-item {
  grid-template-columns: minmax(0, 1fr) 176px;
  border-color: rgba(189, 92, 255, 0.72);
  border-left-color: #ffe817;
  background: rgba(11, 7, 18, 0.76);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 23, 0.18),
    0 0 14px rgba(189, 92, 255, 0.42),
    0 0 34px rgba(189, 92, 255, 0.22);
}

.kpi-item:nth-child(1),
.kpi-item:nth-child(2),
.kpi-item:nth-child(3),
.kpi-item:nth-child(4),
.kpi-item:nth-child(5) {
  --accent: #ffe817;
}

.kpi-item span {
  font-size: 40px;
  color: #fffdf7;
}

.kpi-item strong {
  color: #ffe817;
  font-size: 62px;
  text-shadow:
    0 0 10px rgba(255, 232, 23, 0.92),
    0 0 30px rgba(255, 232, 23, 0.54);
}

.sketch-board {
  gap: 18px;
  padding: 34px;
}

.sketch-header h1 {
  font-size: 92px;
}

.orange-stroke {
  height: 14px;
  background: #ffe817;
  box-shadow:
    0 0 12px rgba(255, 232, 23, 0.95),
    0 0 34px rgba(255, 232, 23, 0.56);
}

.sketch-list {
  gap: 14px;
}

.sketch-task,
.sketch-task.lavender,
.sketch-task.yellow {
  border-color: rgba(189, 92, 255, 0.72);
  border-left-color: #ffe817;
  background: rgba(11, 7, 18, 0.78);
  box-shadow:
    inset 0 0 0 1px rgba(255, 232, 23, 0.16),
    0 0 14px rgba(189, 92, 255, 0.48),
    0 0 40px rgba(189, 92, 255, 0.24);
}

.sketch-task:nth-child(1),
.sketch-task:nth-child(2),
.sketch-task:nth-child(3) {
  --task-accent: #ffe817;
}

.fake-check {
  border-color: #ffe817;
  color: #ffe817;
  box-shadow:
    0 0 12px rgba(255, 232, 23, 0.9),
    0 0 28px rgba(255, 232, 23, 0.46);
}

.sketch-task strong {
  color: #fffdf7;
  text-shadow:
    0 0 5px rgba(255, 255, 255, 0.82),
    0 0 18px rgba(189, 92, 255, 0.72),
    0 0 42px rgba(189, 92, 255, 0.38);
}

.sketch-task em {
  border-color: #ffe817;
  color: #100814;
  background: #ffe817;
  box-shadow:
    0 0 12px rgba(255, 232, 23, 0.84),
    0 0 32px rgba(255, 232, 23, 0.44);
}

/* Vibeselling OBS banner */
body.vibeselling-page {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: #f0f2f5;
  background: #080b14;
}

.vibe-stage {
  display: grid;
  align-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

.vibe-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  width: 100vw;
  height: auto;
  aspect-ratio: 10 / 1;
  padding: 5px 20px 5px 28px;
  background: #0e1422;
  border-left: 4px solid #c8a84e;
}

.vibe-copy {
  flex: 0 0 auto;
}

.vibe-copy .eyebrow {
  display: block;
  margin: 0 0 1px;
  color: #c8a84e;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vibe-copy h1 {
  display: block;
  margin: 0;
  color: #f0f2f5;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.vibe-stack {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  align-items: center;
}

.vibe-stack span {
  flex: 0 0 auto;
  color: #7e8a9a;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
}

.vibe-stack span:last-child {
  color: #7e8a9a;
}

@media (max-width: 900px) {
  .vibe-banner {
    padding: 4px 16px 4px 22px;
    gap: 2px;
  }

  .vibe-copy .eyebrow {
    font-size: 15px;
  }

  .vibe-copy h1 {
    font-size: 24px;
  }

  .vibe-stack {
    gap: 8px;
  }

  .vibe-stack span {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .vibe-banner {
    padding: 3px 12px 3px 18px;
    gap: 1px;
    border-left-width: 3px;
  }

  .vibe-copy .eyebrow {
    font-size: 12px;
  }

  .vibe-copy h1 {
    font-size: 18px;
  }

  .vibe-stack {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .vibe-stack span {
    font-size: 12px;
  }
}

@media (max-height: 380px) {
  .vibe-banner {
    padding: 3px 14px 3px 18px;
    gap: 1px;
  }

  .vibe-copy .eyebrow {
    font-size: 13px;
  }

  .vibe-copy h1 {
    font-size: 20px;
  }

  .vibe-stack span {
    font-size: 13px;
  }
}

.vibe-stage {
  display: grid;
  align-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
}

.vibe-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100vw;
  height: auto;
  aspect-ratio: 10 / 1;
  padding: 6px 24px;
  background:
    radial-gradient(circle at 74% 28%, rgba(0, 245, 255, 0.15), transparent 34%),
    linear-gradient(145deg, rgba(0, 136, 255, 0.06), transparent 30%),
    linear-gradient(145deg, rgba(10, 14, 26, 0.98), rgba(2, 4, 11, 0.99));
  box-shadow:
    inset 0 0 0 3px #00f5ff,
    inset 0 0 0 6px rgba(2, 4, 11, 0.92),
    inset 0 0 40px rgba(0, 245, 255, 0.18),
    0 0 20px rgba(0, 245, 255, 0.4),
    0 0 60px rgba(0, 136, 255, 0.35);
}

.vibe-banner::before {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(0, 245, 255, 0.5);
  border-radius: 4px;
  box-shadow:
    0 0 12px rgba(0, 245, 255, 0.5),
    inset 0 0 16px rgba(0, 245, 255, 0.08);
  content: "";
  pointer-events: none;
}

.vibe-copy,
.vibe-stack {
  position: relative;
  z-index: 1;
}

.vibe-copy {
  flex: 0 1 auto;
  min-width: 0;
}

.vibe-copy .eyebrow {
  display: inline;
  margin: 0 10px 0 0;
  color: #00f5ff;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow:
    0 0 6px rgba(0, 245, 255, 0.95),
    0 0 16px rgba(0, 245, 255, 0.5);
}

.vibe-copy h1 {
  display: inline;
  margin: 0;
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.95),
    0 0 12px rgba(0, 245, 255, 0.8),
    0 0 30px rgba(0, 245, 255, 0.5);
}

.vibe-stack {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.vibe-stack span {
  flex: 0 0 auto;
  padding: 4px 12px;
  border: 1px solid rgba(0, 136, 255, 0.7);
  border-left: 4px solid #00f5ff;
  border-radius: 4px;
  color: #fff;
  background: rgba(2, 4, 11, 0.7);
  box-shadow:
    inset 0 0 0 1px rgba(0, 245, 255, 0.08),
    0 0 10px rgba(0, 136, 255, 0.35),
    0 0 24px rgba(0, 136, 255, 0.15);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  text-shadow:
    0 0 3px rgba(255, 255, 255, 0.85),
    0 0 10px rgba(0, 245, 255, 0.6);
}

.vibe-stack span:last-child {
  border-color: #00f5ff;
  background: rgba(0, 245, 255, 0.08);
  text-shadow:
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(0, 245, 255, 0.65);
}

@media (max-width: 900px) {
  .vibe-banner {
    gap: 16px;
    padding: 6px 16px;
  }

  .vibe-copy .eyebrow {
    font-size: 15px;
  }

  .vibe-copy h1 {
    font-size: 18px;
  }

  .vibe-stack {
    gap: 6px;
  }

  .vibe-stack span {
    padding: 3px 8px;
    font-size: 12px;
    border-left-width: 3px;
  }
}

@media (max-width: 700px) {
  .vibe-banner {
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 12px;
  }

  .vibe-copy {
    flex: 0 0 100%;
  }

  .vibe-copy .eyebrow {
    font-size: 13px;
  }

  .vibe-copy h1 {
    font-size: 16px;
  }

  .vibe-stack {
    flex: 0 0 100%;
    margin-left: 0;
    flex-wrap: wrap;
  }

  .vibe-stack span {
    font-size: 11px;
    padding: 2px 8px;
  }
}

@media (max-width: 900px) {
  .timer-copy h1 {
    font-size: 58px;
  }

  .time-readout {
    font-size: 116px;
  }

  .stopwatch-readout {
    font-size: 98px;
  }

  .kpi-heading h1,
  .sketch-header h1 {
    font-size: 66px;
  }

  .kpi-item {
    grid-template-columns: minmax(0, 1fr) 126px;
  }

  .kpi-item span {
    font-size: 29px;
  }

  .kpi-item strong {
    font-size: 46px;
  }
}

@media (max-width: 620px) {
  .stage,
  .paper-stage,
  .hub {
    padding: 16px;
  }

  .hub h1 {
    font-size: 42px;
  }

  .timer-shell {
    height: auto;
    min-height: calc(100vh - 84px);
    padding: 28px 18px;
  }

  .sketch-board {
    height: auto;
    min-height: calc(100vh - 80px);
    border-width: 5px;
    border-radius: 28px;
  }

  .orange-stroke {
    height: 18px;
    margin-top: 28px;
  }

  .task-label {
    margin-top: 34px;
    padding: 18px 28px;
  }

  .sketch-list {
    gap: 18px;
    margin-top: 48px;
  }

  .fake-check {
    width: 46px;
    height: 46px;
    border-width: 6px;
  }
}

/* OBS overlay treatment */
body.timer-page,
body.kpi-page,
body.todos-page {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  color: #f8fbff;
  background:
    repeating-linear-gradient(0deg, rgba(0, 245, 255, 0.06) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(255, 44, 251, 0.05) 0 1px, transparent 1px 42px),
    #02040b;
}

.timer-page .stage,
.kpi-page .stage,
.todos-page .paper-stage {
  display: grid;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
}

.timer-stage,
.kpi-stage,
.paper-stage {
  grid-template-rows: 1fr;
  gap: 0;
}

.timer-shell,
.kpi-board,
.sketch-board {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  margin: 0;
  border-radius: 0;
  box-shadow:
    inset 0 0 0 6px rgba(0, 245, 255, 0.92),
    inset 0 0 42px rgba(0, 245, 255, 0.34),
    0 0 70px rgba(0, 245, 255, 0.24);
}

.timer-shell {
  display: grid;
  grid-template-rows: auto auto auto auto;
  align-content: center;
  gap: 22px;
  padding: 34px;
  border: 0;
}

.pomodoro-shell {
  background:
    linear-gradient(135deg, rgba(255, 42, 109, 0.22), transparent 42%),
    linear-gradient(315deg, rgba(0, 245, 255, 0.16), transparent 48%),
    #050712;
}

.work-shell {
  background:
    linear-gradient(135deg, rgba(0, 245, 255, 0.23), transparent 44%),
    linear-gradient(315deg, rgba(57, 255, 20, 0.13), transparent 50%),
    #030813;
}

.timer-copy {
  position: relative;
  z-index: 2;
}

.timer-page .eyebrow,
.kpi-page .eyebrow {
  margin-bottom: 6px;
  color: #00f5ff;
  font-size: 30px;
  letter-spacing: 0.16em;
  text-shadow: 0 0 12px rgba(0, 245, 255, 0.9);
}

.timer-copy h1,
.kpi-heading h1 {
  color: #ffffff;
  font-size: 76px;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.55),
    0 0 34px rgba(255, 44, 251, 0.52);
}

.time-readout {
  margin: 0;
  color: #ffffff;
  font-size: 178px;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.82),
    0 0 42px rgba(0, 245, 255, 0.9),
    0 0 76px rgba(255, 44, 251, 0.48);
}

.stopwatch-readout {
  font-size: 160px;
}

.timer-orbit {
  right: 30px;
  top: 28px;
  width: 150px;
  height: 150px;
  opacity: 0.92;
}

.pulse-ring {
  border-color: rgba(0, 245, 255, 0.42);
  box-shadow: 0 0 34px rgba(0, 245, 255, 0.72);
}

.tomato-core {
  background: linear-gradient(135deg, #ff2a6d, #ff8a00);
  box-shadow: 0 0 46px rgba(255, 42, 109, 0.95);
}

.progress-track {
  width: min(880px, 92%);
  height: 30px;
  margin: 0;
  border: 2px solid rgba(0, 245, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.36);
}

.progress-fill {
  background: linear-gradient(90deg, #39ff14, #00f5ff, #ff2cfb);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.86);
}

.control-row {
  gap: 14px;
  margin-top: 0;
}

.primary-button,
.secondary-button,
.ghost-button {
  min-width: 132px;
  min-height: 56px;
  padding: 12px 22px;
  border: 2px solid rgba(0, 245, 255, 0.72);
  color: #ffffff;
  background: rgba(3, 8, 19, 0.82);
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.42);
  font-size: 22px;
  text-transform: uppercase;
}

.primary-button {
  color: #02040b;
  background: #00f5ff;
  box-shadow: 0 0 26px rgba(0, 245, 255, 0.86);
}

.stat-strip {
  gap: 14px;
  margin-top: 0;
}

.stat-strip div {
  padding: 12px 22px;
  border: 2px solid rgba(57, 255, 20, 0.74);
  background: rgba(57, 255, 20, 0.09);
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.38);
}

.stat-strip span {
  color: #39ff14;
  font-size: 58px;
  text-shadow: 0 0 18px rgba(57, 255, 20, 0.86);
}

.stat-strip small,
.laps-panel span {
  color: #ffffff;
  font-size: 22px;
  text-transform: uppercase;
}

.work-meter {
  width: min(760px, 92%);
  height: 82px;
  margin: 0;
}

.work-meter span {
  background: linear-gradient(180deg, #00f5ff, #2d6bff);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.78);
}

.laps-panel {
  width: min(760px, 92%);
  margin-top: 0;
  padding: 14px 18px;
  border: 2px solid rgba(0, 245, 255, 0.48);
  background: rgba(3, 8, 19, 0.72);
  box-shadow: 0 0 22px rgba(0, 245, 255, 0.24);
}

.laps-panel ol {
  min-height: 24px;
  margin-top: 8px;
  color: #39ff14;
  font-size: 24px;
}

.kpi-board {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 28px;
  border: 0;
  background:
    linear-gradient(135deg, rgba(57, 255, 20, 0.13), transparent 42%),
    linear-gradient(315deg, rgba(255, 44, 251, 0.13), transparent 44%),
    #02040b;
}

.kpi-heading {
  display: block;
}

.kpi-heading h1 {
  font-size: 140px;
  line-height: 0.78;
}

.kpi-list {
  display: grid;
  grid-template-rows: repeat(5, minmax(0, 1fr));
  gap: 6px;
  min-height: 0;
}

.kpi-item {
  grid-template-columns: minmax(0, 1fr) 300px;
  min-height: 0;
  padding: 4px 28px 4px 16px;
  border: 2px solid var(--accent);
  border-left-width: 10px;
  background: rgba(3, 8, 19, 0.78);
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent) 48%, transparent);
}

.kpi-item:nth-child(1) { --accent: #00a6ff; }
.kpi-item:nth-child(2) { --accent: #ff2a6d; }
.kpi-item:nth-child(3) { --accent: #ffd400; }
.kpi-item:nth-child(4) { --accent: #00f5ff; }
.kpi-item:nth-child(5) { --accent: #39ff14; }

.kpi-item span {
  color: #ffffff;
  font-size: 54px;
  line-height: 1.02;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.42);
}

.kpi-item strong {
  text-align: right;
  font-size: 100px;
  line-height: 0.9;
  text-shadow: 0 0 20px color-mix(in srgb, var(--accent) 80%, transparent);
}

.paper-stage {
  background:
    repeating-linear-gradient(0deg, rgba(57, 255, 20, 0.055) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, rgba(0, 245, 255, 0.055) 0 1px, transparent 1px 42px),
    #02040b;
}

.sketch-board {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 22px;
  padding: 30px;
  border: 0;
  background:
    linear-gradient(135deg, rgba(0, 245, 255, 0.13), transparent 40%),
    linear-gradient(315deg, rgba(255, 44, 251, 0.12), transparent 46%),
    #02040b;
}

.sketch-board::after {
  display: none;
}

.sketch-header {
  display: block;
}

.sketch-header h1 {
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 94px;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.6),
    0 0 38px rgba(0, 245, 255, 0.78);
}

.orange-stroke {
  width: 100%;
  height: 20px;
  margin-top: 16px;
  background: linear-gradient(90deg, #39ff14, #00f5ff, #ff2cfb);
  box-shadow: 0 0 28px rgba(0, 245, 255, 0.76);
}

.sketch-list {
  display: grid;
  gap: 12px;
  min-height: 0;
  margin: 0;
}

.sketch-task,
.sketch-task.lavender,
.sketch-task.yellow {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 14px;
  align-items: center;
  min-height: 0;
  padding: 12px 18px;
  border: 3px solid var(--task-accent);
  border-left-width: 10px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(3, 8, 19, 0.82);
  box-shadow:
    0 0 26px color-mix(in srgb, var(--task-accent) 52%, transparent),
    inset 0 0 28px rgba(255, 255, 255, 0.04);
  transform: none;
}

.sketch-task:nth-child(1) { --task-accent: #39ff14; }
.sketch-task:nth-child(2) { --task-accent: #7c4dff; }
.sketch-task:nth-child(3) { --task-accent: #ffd400; }
.sketch-task:nth-child(4) { --task-accent: #00f5ff; }
.sketch-task:nth-child(5) { --task-accent: #ff2a6d; }

.fake-check {
  width: 56px;
  height: 56px;
  border: 5px solid var(--task-accent);
  border-radius: 8px;
  color: var(--task-accent);
  box-shadow: 0 0 18px color-mix(in srgb, var(--task-accent) 68%, transparent);
}

.sketch-task strong {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #ffffff;
  font-size: 48px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.42);
  outline: none;
  min-width: 30px;
}

.sketch-task strong[contenteditable="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2px 6px;
}

.sketch-task em {
  padding: 12px 18px;
  border: 2px solid #ff2a6d;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 42, 109, 0.14);
  box-shadow: 0 0 22px rgba(255, 42, 109, 0.62);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 32px;
  text-transform: uppercase;
  transform: none;
}

.todo-edit,
.todo-del {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 900;
  border: 2px solid;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
  font-size: 16px;
  padding: 4px 10px;
}

.todo-edit {
  color: #00f5ff;
  border-color: #00f5ff;
}

.todo-del {
  color: #ff2a6d;
  border-color: #ff2a6d;
  font-size: 18px;
  padding: 4px 8px;
}

.add-todo {
  display: block;
  margin: 14px auto 0;
  width: 56px;
  height: 56px;
  border: 3px solid #00f5ff;
  border-radius: 50%;
  background: rgba(3, 8, 19, 0.82);
  color: #00f5ff;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0, 245, 255, 0.42);
  transition: transform 100ms;
}

.add-todo:hover {
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .timer-shell {
    gap: 14px;
    padding: 22px;
  }

  .timer-page .eyebrow,
  .kpi-page .eyebrow {
    font-size: 22px;
  }

  .kpi-board,
  .sketch-board {
    padding: 18px;
  }

  .kpi-heading h1,
  .sketch-header h1 {
    font-size: 84px;
  }

  .kpi-item span {
    font-size: 40px;
  }

  .kpi-item strong {
    font-size: 70px;
  }

  .sketch-task,
  .sketch-task.lavender,
  .sketch-task.yellow {
    grid-template-columns: auto 1fr auto auto;
    gap: 8px;
    padding: 10px 14px;
  }

  .sketch-task strong {
    font-size: 28px;
  }

  .sketch-task em {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: 22px;
  }

  .fake-check {
    width: 36px;
    height: 36px;
    border-width: 4px;
  }

  .todo-edit, .todo-del {
    font-size: 13px;
    padding: 3px 7px;
  }

  .add-todo {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }
}

/* Readability boost for small OBS boxes */
.time-readout {
  font-size: 190px;
}

.stopwatch-readout {
  font-size: 168px;
}

.kpi-item strong {
  font-size: 120px;
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 60%, transparent);
}

.kpi-item span {
  font-size: 60px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.sketch-task strong {
  font-size: 60px;
}

.fake-check {
  width: 64px;
  height: 64px;
}

@media (max-width: 900px) {
  .time-readout {
    font-size: 122px;
  }

  .stopwatch-readout {
    font-size: 104px;
  }

  .kpi-heading h1 {
    font-size: 96px;
  }

  .kpi-item strong {
    font-size: 84px;
  }

  .kpi-item span {
    font-size: 44px;
  }

  .sketch-task strong {
    font-size: 38px;
  }
}

/* Broadcast-style Vibeselling lower third */
body.vibeselling-page {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #041916;
  color: #05070a;
}

.vibe-stage {
  display: grid;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  padding: 0;
}

.lower-third {
  display: grid;
  grid-template-columns: 32% 68%;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  border: 3px solid #001a3e;
  background: #f0f4f8;
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.9),
    0 0 28px rgba(59, 130, 246, 0.32);
}

.lower-brand {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  overflow: hidden;
  border-right: 5px solid #021020;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.1) 0 2px, transparent 2px 6px),
    linear-gradient(135deg, #3b82f6, #1e40af 54%, #041020);
  color: white;
  text-align: center;
}

.lower-brand::before {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.58), transparent 20%),
    radial-gradient(circle at 50% 42%, rgba(59, 130, 246, 0.5), transparent 31%);
  content: "";
  opacity: 0.72;
}

.brand-orbit {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(70%, 190px);
  aspect-ratio: 1;
  border: 10px solid rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow:
    inset 0 0 20px rgba(59, 130, 246, 0.75),
    0 0 22px rgba(255, 255, 255, 0.62),
    0 0 34px rgba(59, 130, 246, 0.72);
}

.brand-orbit::after {
  position: absolute;
  left: -12%;
  right: -12%;
  top: 48%;
  height: 16%;
  border-top: 8px solid white;
  border-bottom: 8px solid white;
  background: rgba(4, 16, 32, 0.72);
  content: "";
}

.brand-orbit span {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 72px;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 0 18px rgba(59, 130, 246, 0.8);
}

.lower-brand strong {
  position: relative;
  z-index: 1;
  color: white;
  font-size: min(7vw, 96px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
}

.lower-content {
  display: grid;
  grid-template-rows: 22% 54% 24%;
  min-width: 0;
}

.lower-top {
  display: flex;
  align-items: center;
  padding: 0 34px;
  color: #ffffff;
  background: linear-gradient(90deg, #2563eb, #3b82f6 52%, #1d4ed8);
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.34);
  white-space: nowrap;
}

.lower-content h1 {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0 32px;
  color: #05070a;
  background: linear-gradient(180deg, #ffffff, #e8f0fe);
  font-size: clamp(58px, 7vw, 124px);
  font-weight: 950;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.lower-bottom {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
  padding: 0 30px;
  overflow: hidden;
  color: #ffffff;
  background: #080b12;
  font-size: 34px;
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lower-bottom span {
  flex: 0 0 auto;
}

.lower-bottom span::after {
  margin-left: 22px;
  color: #3b82f6;
  content: "/";
}

.lower-bottom span:last-child::after {
  content: "";
}

@media (max-width: 1000px), (max-height: 360px) {
  .lower-third {
    grid-template-columns: 30% 70%;
  }

  .brand-orbit {
    width: min(64%, 116px);
    border-width: 7px;
  }

  .brand-orbit span {
    font-size: 44px;
  }

  .lower-brand strong {
    font-size: min(6vw, 64px);
  }

  .lower-top {
    padding: 0 18px;
    font-size: 22px;
  }

  .lower-content h1 {
    padding: 0 18px;
    font-size: clamp(34px, 7.4vw, 72px);
  }

  .lower-bottom {
    gap: 12px;
    padding: 0 18px;
    font-size: 20px;
  }

  .lower-bottom span::after {
    margin-left: 12px;
  }
}
