:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    sans-serif;
  background: #f7f8fc;
  color: #202337;
  font-size: 14px;
  font-synthesis: none;
  --purple: #6558e8;
  --ink: #24273c;
  --muted: #8990a5;
  --border: #e8eaf2;
  --green: #2b9d79;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  border: 0;
}
svg {
  vertical-align: middle;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-weight: 650;
  letter-spacing: -1px;
  font-size: 29px;
}
h2 {
  font-size: 17px;
  font-weight: 600;
}
h3 {
  font-size: 14px;
}
.muted {
  color: var(--muted);
}
.mono,
code,
pre {
  font-family: SFMono-Regular, Consolas, monospace;
}
.small {
  font-size: 12px;
}
.tiny {
  font-size: 10px;
}
.loading {
  padding: 100px;
  text-align: center;
  color: var(--muted);
}
.mode-bar {
  min-height: 32px;
  background: #fff7de;
  border-bottom: 1px solid #eee4c5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 10px;
  color: #957b3e;
  padding: 8px 16px;
  text-align: center;
}
.mode-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c6a14e;
}
.header {
  height: 76px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  gap: 20px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 750;
  font-size: 22px;
  letter-spacing: -1px;
}
.brand-icon {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--purple);
  color: white;
  font-size: 18px;
  font-weight: 700;
}
.brand small {
  font-size: 9px;
  letter-spacing: 1.5px;
  display: block;
  color: #9a9fb3;
  font-weight: 500;
  margin-top: 3px;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: 30px;
  margin-right: auto;
  color: #8d93a5;
  font-size: 12px;
}
.header-nav a.active {
  color: var(--purple);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  min-height: 38px;
  border: 1px solid #e2e5ee;
  border-radius: 7px;
  background: white;
  color: #555e78;
  font-size: 12px;
  font-weight: 550;
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(0.97);
}
.btn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
  box-shadow: 0 3px 7px #6257e818;
}
.btn.dark {
  background: #282a40;
  color: #fff;
  border-color: #282a40;
}
.btn.ghost {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.btn.danger {
  color: #bd5864;
}
.avatar {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #f0edfe;
  color: #7a69bd;
  font-size: 10px;
  display: grid;
  place-items: center;
  border: 1px solid #e5dff7;
}
.wallet-mini {
  padding: 7px 12px;
  border: 1px solid #eceaf7;
  background: #faf9fe;
  border-radius: 6px;
  display: flex;
  gap: 8px;
  align-items: center;
  color: #7d7398;
  font-size: 11px;
}
.wallet-mini strong {
  color: #615388;
  font-weight: 600;
}
.workspace {
  display: grid;
  grid-template-columns: 211px 1fr;
  min-height: calc(100vh - 108px);
}
.sidebar {
  background: #fff;
  border-right: 1px solid var(--border);
  padding: 26px 16px;
  display: flex;
  flex-direction: column;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #a8adbe;
  padding: 9px 15px 16px;
}
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.side-nav a {
  display: flex;
  gap: 11px;
  align-items: center;
  padding: 12px 15px;
  border-radius: 7px;
  color: #8b92a6;
  font-size: 12px;
}
.side-nav a.active {
  background: #efedfe;
  color: #7464d5;
  font-weight: 550;
}
.side-nav a:hover {
  background: #f7f6fc;
}
.nav-badge {
  font-size: 8px;
  padding: 3px 5px;
  border-radius: 3px;
  background: #e7e2fd;
  margin-left: auto;
}
.side-foot {
  margin-top: auto;
  padding-top: 35px;
}
.support-card {
  background: #f9f9fc;
  border: 1px solid #edf0f6;
  padding: 15px;
  border-radius: 9px;
}
.support-card strong {
  font-size: 11px;
  font-weight: 550;
  color: #788097;
}
.support-card p {
  font-size: 10px;
  color: #a0a7bb;
  line-height: 1.9;
  margin: 7px 0 10px;
}
.support-card a {
  font-size: 10px;
  color: #8678cf;
}
.side-account {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 20px;
}
.side-account > div:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.side-account strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  font-weight: 500;
  color: #687189;
}
.side-account small {
  font-size: 9px;
  color: #a1a8b9;
}
.icon-btn {
  padding: 5px;
  background: none;
  color: #939bb0;
}
.main {
  min-width: 0;
  padding: 32px 35px;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
}
.page-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.page-title p {
  font-size: 11px;
  line-height: 1.8;
  color: #969db1;
  margin-top: 9px;
}
.page-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.eyebrow {
  color: #8b80ca;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.panel-head {
  padding: 20px 23px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.panel-head h2 {
  font-size: 13px;
}
.panel-head small {
  display: block;
  margin-top: 5px;
  color: #a1a7b9;
  font-size: 10px;
  font-weight: 400;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 23px;
}
.stat {
  padding: 22px;
}
.stat-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #929ab0;
  font-size: 10px;
}
.stat-value {
  font-size: 29px;
  letter-spacing: -1.1px;
  font-weight: 600;
  margin: 18px 0 11px;
}
.stat-note {
  color: #a5aabc;
  font-size: 9px;
}
.stat-note strong {
  font-weight: 500;
  color: #9283ce;
}
.grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.get-started {
  padding: 0 23px 20px;
}
.step {
  display: flex;
  gap: 11px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f1f7;
}
.step:last-child {
  border: 0;
}
.step-no {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f1effb;
  color: #9182ca;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.step h3 {
  font-size: 11px;
  color: #6d7590;
  font-weight: 550;
  margin-bottom: 5px;
}
.step p {
  font-size: 10px;
  color: #a0a7b9;
  line-height: 1.7;
}
.step a {
  color: #8d7fd2;
}
.banner {
  padding: 19px 22px;
  background: #f0edfd;
  border: 1px solid #e4dff6;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.banner-left {
  display: flex;
  align-items: center;
  gap: 13px;
}
.banner-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: #e8e2fb;
  border: 1px solid #dfd6f4;
  color: #9a8ad2;
  border-radius: 10px;
}
.banner h3 {
  font-size: 12px;
  color: #7766a9;
  font-weight: 550;
}
.banner p {
  font-size: 10px;
  color: #9a90b4;
  line-height: 1.8;
  margin-top: 5px;
}
.banner a {
  font-size: 10px;
  color: #8973c7;
  white-space: nowrap;
}
.badge {
  font-size: 9px;
  border-radius: 4px;
  padding: 4px 7px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  background: #f1effb;
  color: #9a8ac9;
  white-space: nowrap;
}
.badge.good {
  background: #eaf7f1;
  color: #69a68d;
}
.badge.warn {
  background: #fff7e5;
  color: #ba9e5e;
}
.badge.bad {
  background: #fff0f0;
  color: #c2848c;
}
.badge.gray {
  background: #f1f3f7;
  color: #9ba3b5;
}
.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 10px;
  text-align: left;
}
th {
  font-weight: 450;
  color: #9da5b9;
  background: #fafbfe;
  padding: 12px 21px;
  border-top: 1px solid #eff1f7;
  border-bottom: 1px solid #eff1f7;
  white-space: nowrap;
}
td {
  padding: 16px 21px;
  border-bottom: 1px solid #f0f2f7;
  color: #818ba3;
  white-space: nowrap;
}
td strong {
  font-weight: 550;
  color: #69748c;
}
tr:last-child td {
  border-bottom: 0;
}
.table-footer {
  border-top: 1px solid var(--border);
  padding: 13px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a2aabd;
  font-size: 10px;
}
.empty {
  min-height: 165px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 23px;
  color: #aeb3c8;
}
.empty h3 {
  font-size: 12px;
  color: #858fa9;
  font-weight: 550;
}
.empty p {
  font-size: 10px;
  line-height: 1.9;
  max-width: 340px;
}
.text-link {
  font-size: 10px;
  color: #8b7bc7;
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.chart-wrap {
  padding: 0 23px 18px;
}
.chart {
  height: 210px;
  width: 100%;
  overflow: visible;
}
.chart line {
  stroke: #eff0f8;
  stroke-dasharray: 4 5;
}
.chart text {
  fill: #a4acc0;
  font-size: 9px;
}
.chart .area {
  fill: #f1eefc;
}
.chart .curve {
  stroke: #a297d8;
  stroke-width: 2;
  fill: none;
}
.footer {
  margin-top: 27px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #aab1c4;
  font-size: 9px;
  line-height: 1.8;
}
.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.model-card {
  padding: 23px;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.provider-icon {
  height: 33px;
  width: 33px;
  border-radius: 9px;
  background: #eeebfb;
  color: #9585c9;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 650;
}
.provider-icon.anthropic {
  background: #f9ece6;
  color: #bb9384;
}
.provider-icon.openai {
  background: #edf2f1;
  color: #76958d;
}
.model-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.model-card h2 {
  font-size: 16px;
  letter-spacing: -0.4px;
}
.model-card .model-id {
  font-size: 10px;
  color: #9da4b8;
  margin-top: 7px;
  word-break: break-all;
}
.model-card p {
  font-size: 10px;
  color: #a2aabd;
  line-height: 1.8;
}
.model-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding-top: 14px;
  border-top: 1px solid #eef0f6;
}
.model-prices small {
  font-size: 9px;
  color: #a3aabe;
  display: block;
  margin-bottom: 5px;
}
.model-prices strong {
  font-size: 15px;
  font-weight: 550;
  color: #7d87a0;
}
.model-card .btn {
  width: 100%;
  margin-top: auto;
}
.toolbar {
  padding: 17px 21px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
}
input,
select,
textarea {
  font: inherit;
  font-size: 12px;
  padding: 10px 12px;
  border: 1px solid #e0e4ef;
  border-radius: 7px;
  background: #fff;
  color: #626d88;
  min-width: 0;
}
input::placeholder,
textarea::placeholder {
  color: #adb4c8;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #dcd4ff;
  outline-offset: 1px;
}
label {
  display: block;
  font-size: 11px;
  color: #8790a8;
  margin-bottom: 17px;
}
label input,
label select,
label textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
}
label small {
  font-size: 9px;
  line-height: 1.8;
  color: #a8b0c4;
  display: block;
  margin-top: 6px;
}
textarea {
  min-height: 88px;
  resize: vertical;
  line-height: 1.8;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.notice {
  font-size: 10px;
  line-height: 1.9;
  color: #9aa3ba;
  margin: 15px 0;
}
.notice.warning {
  color: #b59b66;
}
.check {
  display: flex;
  gap: 9px;
  align-items: center;
}
.check input {
  width: auto;
  margin: 0;
}
.row-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.row-actions .btn {
  font-size: 9px;
  min-height: 28px;
  padding: 5px 9px;
}
.billing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  margin-bottom: 23px;
}
.balance-card {
  padding: 27px;
  position: relative;
  background: #2c2b46;
  color: #fff;
  border-color: #2c2b46;
}
.balance-card .balance-label {
  font-size: 11px;
  color: #b4b0d1;
}
.balance-amount {
  font-size: 42px;
  font-weight: 550;
  letter-spacing: -2px;
  margin: 25px 0 15px;
}
.balance-card .notice {
  color: #a7a3c2;
}
.balance-details {
  display: flex;
  gap: 27px;
  padding-top: 17px;
  border-top: 1px solid #46435e;
  font-size: 10px;
  color: #9f99b8;
}
.balance-details strong {
  display: block;
  color: #ded8f3;
  font-size: 13px;
  margin-bottom: 5px;
  font-weight: 450;
}
.topup {
  padding: 25px;
}
.topup h2 {
  font-size: 14px;
}
.amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 21px 0;
}
.amount-btn {
  background: #fff;
  border: 1px solid #e3e5f0;
  padding: 14px 5px;
  border-radius: 7px;
  font-size: 15px;
  color: #8991aa;
}
.amount-btn.selected {
  background: #f0edff;
  color: #8a78d5;
  border-color: #cfc4f5;
}
.topup .btn {
  width: 100%;
}
.topup .notice {
  margin-bottom: 0;
}
.panel-body {
  padding: 0 23px 23px;
}
.code {
  padding: 18px;
  border-radius: 8px;
  background: #f6f7fb;
  border: 1px solid #eceef6;
  font-size: 10px;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow: auto;
  word-break: break-word;
  color: #8991ad;
}
.play-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 22px;
}
.play-settings {
  padding: 23px;
}
.play-settings h2 {
  font-size: 13px;
  margin-bottom: 23px;
}
.chat-header {
  padding: 18px 23px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header h2 {
  font-size: 12px;
}
.messages {
  min-height: 345px;
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.welcome {
  margin: auto;
  text-align: center;
  color: #a4a7c1;
  line-height: 1.9;
}
.welcome .brand-icon {
  margin: 0 auto 19px;
  width: 39px;
  height: 39px;
}
.welcome h3 {
  font-size: 15px;
  color: #858aa8;
  font-weight: 550;
}
.welcome p {
  font-size: 11px;
  margin-top: 9px;
}
.message {
  padding: 15px 17px;
  background: #f7f8fc;
  border-radius: 8px;
  margin-bottom: 13px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  line-height: 1.9;
  color: #79819d;
}
.message.assistant {
  background: #f1eefc;
}
.message strong {
  display: block;
  letter-spacing: 1.5px;
  font-size: 8px;
  color: #aba0cf;
  margin-bottom: 7px;
}
.composer {
  padding: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.composer textarea {
  flex: 1;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.kv {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 15px 0;
  border-bottom: 1px solid #f0f2f7;
  font-size: 11px;
  color: #8e98ae;
}
.kv strong {
  font-weight: 500;
  color: #77829d;
}
.landing {
  background: #fff;
  min-height: calc(100vh - 108px);
}
.hero {
  max-width: 1240px;
  margin: auto;
  padding: 90px 45px 75px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 55px;
}
.hero .eyebrow {
  letter-spacing: 2.5px;
  font-size: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.24;
  font-weight: 650;
  letter-spacing: -3px;
  margin: 24px 0;
}
.hero h1 span {
  color: #8675e4;
}
.hero p {
  font-size: 13px;
  line-height: 2.1;
  color: #8f96af;
  max-width: 390px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin: 28px 0 20px;
}
.hero-note {
  font-size: 10px;
  color: #a9aec3;
}
.hero-art {
  min-height: 330px;
  position: relative;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #eeebff 0, white 68%);
}
.hero-art svg {
  width: 100%;
  max-width: 420px;
  height: 330px;
}
.benefits {
  max-width: 1150px;
  margin: 0 auto 60px;
  padding: 27px;
  border-top: 1px solid #eef0f7;
  border-bottom: 1px solid #eef0f7;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}
.benefit {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.benefit svg {
  color: #a297cf;
}
.benefit strong {
  display: block;
  font-size: 12px;
  color: #7b829b;
  font-weight: 550;
  margin-bottom: 8px;
}
.benefit p {
  font-size: 10px;
  line-height: 1.9;
  color: #a4abc0;
}
.landing-models {
  max-width: 1150px;
  margin: auto;
  padding: 0 20px 75px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.section-title h2 {
  font-size: 23px;
  letter-spacing: -0.8px;
}
.section-title p {
  font-size: 11px;
  color: #9ea6bd;
  margin-top: 9px;
}
.landing-footer {
  max-width: 1150px;
  margin: auto;
  padding: 25px 20px;
  border-top: 1px solid var(--border);
  color: #a4adc2;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
}
.auth-wrap {
  min-height: calc(100vh - 108px);
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at top, #f0edfd, #f8f9fd 60%);
  padding: 40px 20px;
}
.auth-card {
  width: 390px;
  max-width: 100%;
  padding: 34px;
  background: #fff;
  border: 1px solid #e6e6f1;
  border-radius: 13px;
  box-shadow: 0 15px 70px #6f60c309;
}
.auth-card .brand-icon {
  margin-bottom: 23px;
}
.auth-card h1 {
  font-size: 26px;
}
.auth-card > p {
  font-size: 11px;
  color: #a0a7bd;
  line-height: 1.9;
  margin: 12px 0 27px;
}
.auth-card .btn {
  width: 100%;
}
.auth-switch {
  font-size: 10px;
  color: #a6adc2;
  margin-top: 20px;
  text-align: center;
}
.auth-switch a {
  color: #9280d0;
}
.form-error {
  font-size: 11px;
  color: #c27f87;
  line-height: 1.8;
  margin: 12px 0;
  min-height: 18px;
}
dialog {
  border: 1px solid #e6e4f2;
  border-radius: 13px;
  box-shadow: 0 30px 100px #33334c22;
  max-width: calc(100vw - 30px);
  width: 510px;
  max-height: 90vh;
  padding: 27px;
  color: var(--ink);
}
dialog::backdrop {
  background: #28243d55;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}
.dialog-head h2 {
  font-size: 18px;
}
.dialog-actions {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
  margin-top: 24px;
}
.key-reveal {
  padding: 17px;
  background: #f8f6ff;
  border: 1px dashed #c8bdf1;
  font-family: monospace;
  word-break: break-all;
  line-height: 1.9;
  color: #8f7fc1;
  border-radius: 7px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  z-index: 100;
  padding: 13px 22px;
  border-radius: 8px;
  background: #343148;
  color: #f0eafa;
  font-size: 11px;
  box-shadow: 0 10px 40px #29233d22;
  transition: transform 0.2s;
  max-width: 90vw;
}
#toast.show {
  transform: translateX(-50%) translateY(0);
}
.request-status {
  font-size: 9px;
  padding: 6px 0;
  color: #a69ac2;
}
.toggle-filter {
  font-size: 11px;
  min-width: 200px;
}
.admin-note {
  padding: 14px 18px;
  background: #fff9e9;
  border: 1px solid #f0e5c6;
  color: #b59e68;
  font-size: 10px;
  line-height: 1.9;
  border-radius: 8px;
  margin-bottom: 20px;
}
.key-summary {
  display: flex;
  align-items: center;
  gap: 13px;
}
.notice-list {
  font-size: 11px;
  color: #8f99b3;
  line-height: 2.2;
  padding-left: 18px;
}
.hero-state {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  padding: 6px 9px;
  border-radius: 5px;
  background: #f3f0fe;
  color: #a99ad7;
}
.input-icon {
  position: relative;
}
.key-help {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  color: #b3aacd;
}
@media (min-width: 1500px) {
  .main {
    padding: 40px 45px;
  }
  .stat {
    padding: 25px;
  }
  .chart {
    height: 250px;
  }
  .header {
    padding: 0 45px;
  }
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 185px 1fr;
  }
  .main {
    padding: 28px 24px;
  }
  .header {
    padding: 0 25px;
  }
  .header-nav {
    gap: 15px;
    margin-left: 15px;
  }
  .model-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px;
  }
  .stat-value {
    font-size: 25px;
  }
  .hero {
    padding: 65px 35px;
    gap: 20px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .play-layout {
    grid-template-columns: 240px 1fr;
  }
  .billing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid {
    gap: 15px;
  }
}
@media (max-width: 850px) {
  .workspace {
    grid-template-columns: 67px 1fr;
  }
  .sidebar {
    padding: 26px 9px;
  }
  .nav-label,
  .side-nav a span,
  .nav-badge,
  .side-foot {
    display: none;
  }
  .side-nav a {
    justify-content: center;
    padding: 14px;
  }
  .header-nav {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid,
  .billing-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero-art {
    min-height: 270px;
  }
  .benefits {
    gap: 20px;
    margin-left: 25px;
    margin-right: 25px;
  }
  .play-layout {
    grid-template-columns: 1fr;
  }
  .play-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
  }
  .play-settings h2,
  .play-settings .notice {
    grid-column: 1/-1;
  }
  .hero {
    padding: 50px 30px;
    gap: 15px;
  }
  .page-title {
    align-items: flex-start;
  }
  .wallet-mini {
    font-size: 10px;
  }
  .footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 580px) {
  .header {
    height: 65px;
    padding: 0 17px;
  }
  .brand {
    font-size: 20px;
  }
  .brand small {
    display: none;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn {
    padding: 8px 11px;
    font-size: 10px;
    min-height: 33px;
  }
  .wallet-mini {
    padding: 6px 8px;
  }
  .workspace {
    min-height: calc(100vh - 97px);
  }
  .main {
    padding: 25px 15px;
  }
  .page-title {
    flex-direction: column;
    gap: 15px;
  }
  h1 {
    font-size: 25px;
  }
  .page-title p {
    font-size: 10px;
  }
  .page-actions {
    flex-wrap: wrap;
  }
  .stat-value {
    font-size: 23px;
  }
  .stat-note {
    font-size: 8px;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat {
    padding: 16px 13px;
  }
  .model-grid {
    grid-template-columns: 1fr;
  }
  .banner {
    padding: 16px;
  }
  .banner-icon {
    display: none;
  }
  .banner a {
    display: none;
  }
  .panel-head {
    padding: 19px 17px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 48px 25px 20px;
  }
  .hero h1 {
    font-size: 45px;
  }
  .hero-art {
    min-height: 250px;
  }
  .hero-art svg {
    height: 260px;
  }
  .benefits {
    grid-template-columns: 1fr;
    gap: 23px;
    margin-top: 15px;
    padding: 25px 0;
  }
  .landing-models {
    padding-bottom: 40px;
  }
  .section-title h2 {
    font-size: 22px;
  }
  .hero p {
    font-size: 12px;
  }
  .landing-footer {
    flex-direction: column;
    gap: 10px;
  }
  .play-settings {
    display: block;
  }
  .composer {
    flex-direction: column;
    align-items: stretch;
  }
  .messages {
    min-height: 270px;
  }
  .two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .table-footer {
    gap: 10px;
    flex-wrap: wrap;
  }
  .header .avatar {
    display: none;
  }
  .mode-bar {
    font-size: 9px;
  }
  .topup {
    padding: 22px;
  }
  .balance-card {
    padding: 23px;
  }
  .balance-amount {
    font-size: 37px;
  }
  .auth-card {
    padding: 28px;
  }
  .stat-note strong {
    display: block;
    margin-bottom: 3px;
  }
  .chart {
    height: 190px;
  }
}
