:root {
  font-family: 'Segoe UI', sans-serif;
  color-scheme: dark;
  --kick: #53fc18;
  --discord: #5865f2;
  --success: #57f287;
  --error: #ed4245;
  --warning: #fee75c;
  --muted: #949ba4;
  --ink: #f2f3f5;
  --page: #16171a;
  --surface: #202226;
  --raised: #2b2d31;
  --line: #ffffff12;
  --soft: #b5bac1;
  --radius: 14px;
}

/* Approved Gece Stüdyosu theme, live application states. */
.btn {
  text-decoration: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.5;
}
.loading-screen {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  gap: 16px;
  text-align: center;
}
.loading-screen p {
  color: var(--soft);
}
.full {
  width: 100%;
}
.nav b {
  font-weight: 500;
}
.pill.ok {
  color: var(--success);
  border-color: #57f28730;
}
.notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #53fc1808;
  border: 1px solid #53fc1830;
  border-radius: 12px;
}
.notice strong {
  font-size: 14px;
}
.notice p {
  font-size: 12px;
  color: var(--soft);
  margin-top: 6px;
  line-height: 1.6;
}
.reward-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.reward-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
}
.reward-thumbnail {
  height: 125px;
  display: grid;
  place-items: center;
  position: relative;
  background: #191b1e;
  font-size: 42px;
  color: var(--kick);
}
.reward-thumbnail span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 11px;
  color: var(--soft);
}
.reward-details {
  padding: 18px;
}
.reward-details h3 {
  font-size: 16px;
  overflow-wrap: anywhere;
}
.reward-details p {
  color: var(--soft);
  margin: 10px 0 17px;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.reward-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.volume {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: var(--soft);
  margin-top: 20px;
}
input[type='range'] {
  accent-color: var(--kick);
  min-width: 40px;
  flex: 1;
}
.empty-library {
  border: 1px dashed #ffffff20;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
}
.empty-library > span {
  display: block;
  color: var(--kick);
  font-size: 36px;
  margin-bottom: 16px;
}
.empty-library h3 {
  font-size: 18px;
}
.empty-library p {
  color: var(--soft);
  font-size: 13px;
  margin: 10px 0 22px;
  line-height: 1.6;
}
.queue-row {
  padding: 17px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}
.queue-row strong {
  display: block;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.queue-row small {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--soft);
}
.paused {
  color: var(--warning);
  font-size: 12px;
  padding: 13px 20px;
  background: #fee75c08;
}
.guide {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.guide h2 {
  font-size: 22px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.guide p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.7;
}
.guide ol {
  margin: 25px 0;
  padding-left: 23px;
  display: grid;
  gap: 17px;
  font-size: 14px;
  line-height: 1.8;
}
.guide a {
  color: var(--kick);
  text-underline-offset: 4px;
}
.guide .guide-note {
  font-size: 12px;
  margin-top: 12px;
  max-width: 900px;
}
.gemini-guide {
  margin-top: 25px;
}
.public-guide {
  padding: 0 60px 70px;
  max-width: 1450px;
  margin: auto;
  scroll-margin-top: 25px;
}
.landing-features {
  max-width: 1450px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 15px 60px 65px;
  scroll-margin-top: 25px;
}
.landing-features article > span {
  color: var(--kick);
  font-size: 11px;
  font-family: monospace;
}
.landing-features h2 {
  font-size: 20px;
  margin: 14px 0;
  letter-spacing: -0.4px;
}
.landing-features p {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.8;
}
.landing-copy .access-note {
  margin-top: 18px;
  font-size: 11px;
  max-width: 430px;
}
.landing-header a.btn {
  text-decoration: none;
  color: var(--page);
}
.check {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 13px;
  margin: 22px 0;
}
.check input {
  width: 17px;
  height: 17px;
  accent-color: var(--kick);
}
.connection-list {
  display: grid;
  gap: 20px;
  max-width: 1040px;
}
.connection-list p {
  max-width: 790px;
}
.history-row {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.history-row strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.history-row small {
  display: block;
  font-size: 11px;
  color: var(--soft);
  margin-top: 6px;
  line-height: 1.6;
}
.history-result {
  text-align: right;
}
.history-result button {
  margin-top: 8px;
}
.command-list > div {
  padding: 17px 20px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.6;
}
.command-list code {
  color: var(--kick);
  overflow-wrap: anywhere;
}
.command-list span {
  color: var(--soft);
}
.chat-output {
  min-height: 200px;
  max-height: 340px;
  overflow: auto;
  margin-top: 20px;
}
.chat-sample {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-sample.reply {
  background: #53fc1808;
}
.field input {
  min-width: 0;
}
.field small {
  display: block;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.6;
  margin-top: 7px;
  font-weight: 400;
}
.field input[type='file'] {
  padding: 11px;
}
.field input[type='file']::file-selector-button {
  border: 0;
  border-radius: 4px;
  background: var(--raised);
  color: var(--ink);
  padding: 7px 10px;
  margin-right: 10px;
}
.dialog-card {
  max-height: calc(100dvh - 40px);
  overflow: auto;
}
.dialog-card #upload-progress {
  margin-top: 15px;
  color: var(--soft);
}
.summary-panel h2 .pill {
  display: inline-block;
  margin-top: 5px;
}
@media (max-width: 1100px) {
  .reward-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 780px) {
  .notice {
    flex-direction: column;
    align-items: flex-start;
  }
  .landing-features {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px 25px 45px;
  }
  .public-guide {
    padding: 0 25px 45px;
  }
  .guide {
    padding: 22px;
  }
  .guide h2 {
    font-size: 20px;
  }
  .landing-header a.btn {
    display: inline-flex;
    font-size: 11px;
    padding: 10px;
  }
  .history-row {
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
  }
  .command-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .summary-panel {
    padding: 20px;
  }
  .state-line .spacer {
    display: none;
  }
  .stage-tools {
    line-height: 1.6;
  }
  .reward-details .topline {
    flex-wrap: wrap;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--discord);
  outline-offset: 4px;
}
button {
  border: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
a {
  color: inherit;
}
button {
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover {
  filter: brightness(1.1);
}
button:active {
  transform: translateY(1px);
}
.muted {
  color: var(--soft);
}
.tiny {
  font-size: 12px;
}
.green {
  color: var(--kick);
}
.tag {
  font-size: 11px;
  letter-spacing: 0.11em;
  font-weight: 700;
}
.wordmark {
  font-size: 22px;
  letter-spacing: -1px;
  font-weight: 800;
}
.brand-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--kick);
  margin-left: 3px;
  border-radius: 2px;
}
.pill {
  padding: 6px 9px;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
}
.btn {
  padding: 11px 16px;
  border-radius: 7px;
  background: var(--raised);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.btn.primary {
  background: var(--kick);
  color: #16171a;
}
.btn.quiet {
  background: transparent;
  border: 1px solid var(--line);
}
.btn.blue {
  background: var(--discord);
  color: white;
}
.btn.small {
  padding: 8px 11px;
  font-size: 12px;
}
.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.outline {
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wrap {
  flex-wrap: wrap;
}
.spacer {
  flex: 1;
}
.proposal {
  max-width: 1640px;
  margin: auto;
  padding: 34px 34px 52px;
}
.proposal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 35px;
}
.proposal-header .wordmark {
  margin-right: auto;
}
.caption {
  color: #b5bac1;
  font-size: 13px;
}
.proposal-intro {
  margin-bottom: 25px;
}
.proposal-intro h1 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.proposal-intro p {
  color: #b5bac1;
  font-size: 15px;
}
.choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.choice {
  border: 1px solid #ffffff19;
  border-radius: 15px;
  overflow: hidden;
  background: #202226;
}
.choice-title {
  padding: 19px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.letter {
  height: 33px;
  width: 33px;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff25;
  border-radius: 8px;
  font-weight: 700;
}
.choice-title h2 {
  font-size: 18px;
  letter-spacing: -0.4px;
}
.choice-title p {
  font-size: 12px;
  color: #b5bac1;
  margin-top: 3px;
}
.recommended {
  margin-left: auto;
  color: #53fc18;
  background: #53fc1810;
  border: 1px solid #53fc182a;
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 10px;
}
.preview-window {
  position: relative;
  width: 100%;
  height: 510px;
  overflow: hidden;
  background: #16171a;
}
.preview-window iframe {
  position: absolute;
  top: 0;
  left: 0;
  border: 0;
  width: 1060px;
  height: 800px;
  transform-origin: top left;
  pointer-events: none;
}
.choice-bottom {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.choice-bottom p {
  font-size: 12px;
  color: #b5bac1;
  line-height: 1.5;
  max-width: 360px;
}
.selected {
  margin-top: 30px;
  border: 1px solid #ffffff19;
  border-radius: 15px;
  overflow: hidden;
}
.selected-top {
  padding: 15px 20px;
  background: #202226;
  display: flex;
  gap: 12px;
  align-items: center;
}
.selected-top strong {
  font-size: 14px;
  margin-right: auto;
}
.segments {
  display: inline-flex;
  padding: 3px;
  background: #16171a;
  border-radius: 7px;
  gap: 3px;
}
.segments button {
  padding: 8px 13px;
  border-radius: 5px;
  color: #b5bac1;
  background: transparent;
  font-size: 12px;
}
.segments button.active {
  background: #313338;
  color: #f2f3f5;
}
.selected iframe {
  display: block;
  width: 100%;
  height: 810px;
  border: 0;
  background: #16171a;
}
.footnote {
  font-size: 12px;
  color: #949ba4;
  line-height: 1.7;
  margin-top: 18px;
}
.flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 22px;
  color: #b5bac1;
  font-size: 13px;
  flex-wrap: wrap;
}
.flow b {
  color: #f2f3f5;
}
body.light {
  color-scheme: light;
  --ink: #202226;
  --page: #f2f3f5;
  --surface: #fff;
  --raised: #eceef0;
  --line: #20222616;
  --soft: #63676f;
  --kick: #53fc18;
  --radius: 12px;
}
.app {
  display: grid;
  grid-template-columns: 186px 1fr;
  min-height: 100dvh;
}
.sidebar {
  padding: 29px 15px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 31px;
}
.sidebar .wordmark {
  font-size: 21px;
  padding: 0 10px;
}
.space-switch {
  padding: 13px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  width: 30px;
  height: 30px;
  background: var(--raised);
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 800;
  border-radius: 8px;
}
.space-switch strong {
  font-size: 12px;
  display: block;
}
.space-switch small {
  font-size: 10px;
  color: var(--soft);
}
.nav-label {
  padding: 0 12px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav button {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 7px;
  background: transparent;
  color: var(--soft);
  font-size: 12px;
}
.nav button.active {
  background: #53fc1810;
  color: var(--ink);
  box-shadow: inset 2px 0 0 var(--kick);
}
.nav button span {
  font-size: 16px;
  width: 18px;
  color: var(--muted);
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 17px 10px 0;
  font-size: 10px;
  color: var(--soft);
  line-height: 1.7;
}
.main {
  min-width: 0;
}
.app-header {
  height: 68px;
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  font-size: 11px;
  color: var(--soft);
}
.app-header b {
  color: var(--ink);
  font-weight: 500;
}
.app-header .pill {
  margin-left: auto;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
  margin-right: 5px;
}
.main-content {
  max-width: 1440px;
  padding: 30px;
}
.page-heading {
  margin-bottom: 25px;
}
.page-heading h1 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.page-heading p {
  font-size: 12px;
  color: var(--soft);
  line-height: 1.65;
}
.page-heading .btn {
  align-self: flex-start;
}
.state-line {
  margin-bottom: 22px;
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: var(--soft);
  align-items: center;
}
.state-line b {
  color: var(--ink);
  font-weight: 500;
}
.state-line .blue-dot {
  background: var(--discord);
}
.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel-title {
  padding: 18px 20px;
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.panel-title small {
  color: var(--soft);
  font-size: 10px;
  font-weight: 400;
}
.stage {
  height: 260px;
  position: relative;
  background: #16171a;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: #f2f3f5;
}
.stage::before {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px solid #f2f3f520;
  border-radius: 5px;
}
.stage-viewport {
  position: relative;
  text-align: center;
  padding: 30px;
  width: 100%;
}
.stage-viewport .empty-mark {
  font-size: 43px;
  color: #949ba4;
  line-height: 1;
  margin-bottom: 16px;
}
.stage-viewport h3 {
  font-size: 16px;
  margin-bottom: 8px;
  font-weight: 500;
}
.stage-viewport p {
  font-size: 10px;
  color: #949ba4;
  line-height: 1.6;
}
.stage-top {
  position: absolute;
  top: 13px;
  left: 16px;
  color: #949ba4;
  font-size: 9px;
  letter-spacing: 0.12em;
}
.stage-bottom {
  position: absolute;
  bottom: 13px;
  right: 16px;
  font-size: 9px;
  color: #949ba4;
}
.playback {
  position: absolute;
  inset: 22px;
  background: #53fc18;
  color: #16171a;
  display: none;
  place-content: center;
  text-align: center;
}
.playback.active {
  display: grid;
  animation: arrive 0.2s ease-out;
}
.playback strong {
  font-size: 53px;
  letter-spacing: -3px;
}
.playback span {
  font-size: 14px;
  margin-top: 6px;
}
.playback .play-progress {
  position: absolute;
  bottom: 0;
  height: 4px;
  background: #16171a66;
  animation: playtime 3s linear forwards;
}
.stage-tools {
  padding: 14px 17px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: var(--soft);
}
.stage-tools .btn {
  margin-left: auto;
}
.queue-empty {
  padding: 21px 20px;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.6;
  display: flex;
  gap: 11px;
}
.queue-empty strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  margin-bottom: 4px;
  font-weight: 500;
}
.panel-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.summary-panel {
  padding: 20px;
}
.summary-panel h2 {
  font-size: 13px;
  margin-bottom: 14px;
}
.summary-panel p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--soft);
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 20px 0;
}
.step {
  display: flex;
  gap: 12px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--soft);
}
.step i {
  font-style: normal;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 10px;
}
.step b {
  display: block;
  color: var(--ink);
  font-weight: 500;
}
.ai-chip {
  padding: 12px 0 15px;
  color: var(--soft);
  font-size: 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.ai-chip strong {
  color: var(--ink);
  font-size: 17px;
  display: block;
  margin-top: 5px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.chat-sample {
  padding: 11px;
  background: var(--raised);
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.7;
  margin-top: 12px;
}
.chat-sample b {
  color: var(--ink);
  display: block;
  font-size: 10px;
}
.chat-sample.reply {
  border-left: 2px solid var(--kick);
}
.reward-section {
  margin-top: 25px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-title h2 {
  font-size: 15px;
  font-weight: 600;
}
.section-title small {
  font-size: 10px;
  color: var(--soft);
}
.section-title button {
  margin-left: auto;
}
.reward-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.reward {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.reward-thumb {
  width: 43px;
  height: 43px;
  border-radius: 6px;
  background: var(--raised);
  font-size: 17px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--kick);
  font-weight: 700;
}
.light .reward-thumb {
  color: #248046;
}
.reward:nth-child(2) .reward-thumb {
  color: var(--discord);
}
.reward:nth-child(3) .reward-thumb {
  color: #ed4245;
}
.reward h3 {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 5px;
}
.reward p {
  font-size: 10px;
  color: var(--soft);
}
.demo-note {
  margin-top: 16px;
  font-size: 10px;
  color: var(--muted);
}
.light .main-content {
  max-width: 1120px;
  margin: auto;
}
.light .nav button.active {
  background: #e6f5e0;
}
.light .sidebar {
  background: #fff;
}
.light .stage {
  background: #202226;
}
.light .app-header .pill {
  background: white;
}
.landing {
  min-height: 100dvh;
  background: var(--page);
}
.landing-header {
  padding: 27px 6%;
  display: flex;
  align-items: center;
  gap: 27px;
  border-bottom: 1px solid var(--line);
}
.landing-header .wordmark {
  margin-right: auto;
}
.landing-header a {
  font-size: 12px;
  text-decoration: none;
  color: var(--soft);
}
.landing-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 78px 52px 55px;
}
.landing h1 {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -3.5px;
  margin: 23px 0 25px;
  font-weight: 750;
}
.landing h1 em {
  color: var(--kick);
  font-style: normal;
}
.light .landing h1 em {
  color: #248046;
}
.landing-copy > p {
  font-size: 15px;
  color: var(--soft);
  line-height: 1.8;
  max-width: 350px;
  margin-bottom: 28px;
}
.platforms {
  display: flex;
  gap: 15px;
  align-items: center;
  font-size: 11px;
  color: var(--soft);
}
.platforms span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.mini-flow {
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.mini-flow .stage {
  border-radius: 9px;
  height: 225px;
  margin: 20px 0;
}
.mini-flow h2 {
  font-size: 14px;
}
.mini-flow .receipt {
  padding: 14px;
  background: var(--raised);
  border-radius: 8px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.mini-flow .receipt strong {
  display: block;
  margin-bottom: 4px;
}
.mini-flow .receipt span {
  color: var(--soft);
  font-size: 10px;
}
.landing-footer {
  padding: 25px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--soft);
}
.landing-caption {
  color: var(--muted);
  font-size: 10px;
  text-align: center;
  padding: 14px;
}
.ai-page {
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.field {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--soft);
}
.field input,
.field select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: var(--page);
  color: var(--ink);
  font-size: 12px;
}
.field small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
}
.chat-box {
  padding: 20px;
}
.chat-box h2 {
  font-size: 14px;
  margin-bottom: 16px;
}
.chat-form {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}
.chat-form input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 11px;
}
.dialog {
  position: fixed;
  inset: 0;
  background: #0008;
  backdrop-filter: blur(4px);
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.dialog.open {
  display: flex;
}
.dialog-card {
  padding: 28px;
  width: 420px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.dialog-card h2 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin-bottom: 7px;
}
.dialog-card p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--soft);
  margin-bottom: 22px;
}
.dialog-card .actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 18px;
  background: var(--ink);
  color: var(--page);
  border-radius: 8px;
  font-size: 12px;
  box-shadow: 0 4px 30px #0003;
  z-index: 30;
  display: none;
  max-width: 90%;
}
.toast.show {
  display: block;
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes playtime {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (max-width: 1100px) {
  .choices {
    grid-template-columns: 1fr;
  }
  .proposal {
    max-width: 860px;
  }
  .selected iframe {
    height: 1000px;
  }
  .workspace-grid {
    grid-template-columns: 1fr 225px;
  }
  .main-content {
    padding: 25px 22px;
  }
  .reward-list {
    grid-template-columns: 1fr;
  }
  .landing-content {
    gap: 35px;
    padding: 60px 35px;
  }
  .landing h1 {
    font-size: 53px;
  }
}
@media (max-width: 780px) {
  .proposal {
    padding: 20px 14px;
  }
  .proposal-header {
    margin-bottom: 25px;
  }
  .proposal-header .caption {
    display: none;
  }
  .proposal-intro h1 {
    font-size: 25px;
  }
  .selected-top {
    flex-wrap: wrap;
  }
  .selected-top strong {
    width: 100%;
  }
  .app {
    grid-template-columns: 60px 1fr;
  }
  .sidebar {
    padding: 22px 5px;
  }
  .sidebar .wordmark {
    font-size: 0;
    padding: 0;
    text-align: center;
  }
  .sidebar .wordmark::before {
    content: 'Z';
    font-size: 24px;
  }
  .sidebar .brand-dot,
  .space-switch,
  .nav-label,
  .sidebar-bottom,
  .nav button b {
    display: none;
  }
  .nav button {
    padding: 12px;
    justify-content: center;
  }
  .nav button span {
    font-size: 19px;
  }
  .workspace-grid,
  .ai-page {
    grid-template-columns: 1fr;
  }
  .app-header {
    padding: 0 18px;
  }
  .main-content {
    padding: 25px 18px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .panel-stack {
    display: grid;
    grid-template-columns: 1fr;
  }
  .reward-list {
    grid-template-columns: 1fr;
  }
  .state-line {
    gap: 12px;
    flex-wrap: wrap;
  }
  .landing-header {
    padding: 20px;
  }
  .landing-header a {
    display: none;
  }
  .landing-content {
    grid-template-columns: 1fr;
    padding: 42px 25px;
    gap: 35px;
  }
  .landing h1 {
    font-size: 48px;
  }
  .landing-footer {
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
  }
  .flow {
    padding: 18px 0;
    gap: 10px;
    font-size: 11px;
  }
  .selected iframe {
    height: 1250px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
