:root {
  --bg: #101112;
  --surface: #18191b;
  --soft: #202123;
  --text: #f3f3ee;
  --muted: #93958f;
  --line: #ffffff12;
  --yellow: #f6cf32;
  --shadow: 0 18px 70px #0003;
  color-scheme: dark;
  font-family: Manrope, Arial, sans-serif;
}
html[data-theme="light"] {
  --bg: #f5f5f1;
  --surface: #fff;
  --soft: #efefea;
  --text: #20211f;
  --muted: #797b73;
  --line: #00000010;
  --shadow: 0 18px 70px #32331c08;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--text);
  border-radius: 10px;
  padding: 11px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  line-height: 1.4;
  font-weight: 650;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
button:hover,
.button:hover {
  background: color-mix(in srgb, var(--text) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--text) 22%, transparent);
}
button:active,
.button:active {
  transform: translateY(1px);
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
.primary,
button.primary,
.button.primary {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #181a13;
}
.primary:hover {
  background: #ffe275;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}
.icon-button {
  width: 38px;
  height: 38px;
  padding: 9px;
  background: transparent;
}
.muted {
  color: var(--muted);
}
.eyebrow {
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.22em;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: 30px;
  letter-spacing: -1.2px;
  line-height: 1.3;
  font-weight: 750;
  margin-bottom: 10px;
}
h2 {
  font-size: 17px;
  letter-spacing: -0.5px;
}
h3 {
  font-size: 14px;
}
p {
  color: var(--muted);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-mark {
  width: 37px;
  height: 43px;
  display: grid;
  place-items: center;
}
.brand-mark img {
  object-fit: contain;
}
.brand-word {
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -1.4px;
  line-height: 1;
}
.brand-word small {
  display: block;
  letter-spacing: 4px;
  font-size: 8px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 8px;
}
.platform-logo {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
.shell {
  padding-left: 246px;
  min-height: 100vh;
  transition: padding 0.25s;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 246px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px;
  z-index: 30;
  transition:
    width 0.25s,
    transform 0.25s;
}
.sidebar > .brand {
  margin: 0 12px 38px;
}
.nav-caption {
  margin: 0 14px 12px;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.sidebar nav {
  display: grid;
  gap: 5px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 550;
  font-size: 12px;
}
.nav-link:hover {
  background: var(--soft);
  color: var(--text);
}
.nav-link.active {
  background: linear-gradient(120deg, #f6cf3215, #f6cf3206);
  border-color: #f6cf3226;
  color: var(--yellow);
}
html[data-theme="light"] .nav-link.active {
  color: #786000;
}
.nav-link.active:after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  margin-left: auto;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 25px;
}
.sidebar-tip {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px;
  margin: 0 3px 18px;
  background: linear-gradient(140deg, #f6cf3209, transparent);
}
.sidebar-tip .icon {
  color: var(--yellow);
  margin-bottom: 8px;
}
.sidebar-tip strong {
  display: block;
  font-size: 11px;
}
.sidebar-tip p {
  font-size: 10px;
  line-height: 1.8;
  margin: 6px 0 12px;
}
.sidebar-tip a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
}
.sidebar-bottom > button {
  width: 100%;
  border: 0;
  background: transparent;
  justify-content: flex-start;
  color: var(--muted);
  font-size: 12px;
}
.topbar {
  height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 38px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-left > span {
  font-size: 11px;
  color: var(--muted);
}
.topbar-left > span b {
  color: var(--text);
  font-weight: 600;
  margin-left: 12px;
}
.topbar-right {
  gap: 10px;
}
.topbar-store {
  font-size: 10px;
  color: var(--muted);
  margin-right: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.topbar-store .icon {
  width: 13px;
}
.avatar {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background: linear-gradient(140deg, #a59664, #35382c);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 750;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.topbar-user {
  display: flex;
  gap: 10px;
  align-items: center;
  border-left: 1px solid var(--line);
  padding-left: 16px;
  margin-left: 6px;
}
.topbar-user strong {
  font-size: 11px;
  display: block;
}
.topbar-user small {
  color: var(--muted);
  font-size: 9px;
}
.content {
  max-width: 1540px;
  margin: auto;
  padding: 34px 38px 45px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.page-heading p {
  margin-bottom: 0;
  font-size: 12px;
}
.page-heading .eyebrow {
  display: block;
  margin-bottom: 9px;
}
.actions {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
}
.panel-body {
  padding: 24px;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.panel-heading h2 {
  margin: 0;
}
.panel-heading a {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.panel-heading a .icon {
  width: 13px;
}
.hero {
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 88% 100%, #f6cf3215, transparent 65%),
    var(--surface);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 253px;
  margin-bottom: 23px;
  overflow: hidden;
}
.hero-copy {
  padding: 31px 34px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow {
  color: #b5a562;
}
.hero h2 {
  font-size: 29px;
  line-height: 1.35;
  letter-spacing: -1.3px;
  max-width: 400px;
  margin: 14px 0 12px;
}
.hero h2 em {
  font-style: normal;
  color: var(--yellow);
}
html[data-theme="light"] .hero h2 em {
  color: #927200;
}
.hero p {
  font-size: 11px;
  max-width: 330px;
  margin-bottom: 21px;
}
.hero-visual {
  position: relative;
  min-height: 245px;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 39px,
      #88888809 40px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 39px,
      #88888809 40px
    );
  overflow: hidden;
}
.orbit {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #8882;
  border-radius: 50%;
  transform: rotate(-20deg) scaleX(0.8);
}
.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  inset: 30px;
  border: 1px solid #8882;
  border-radius: 50%;
}
.orbit:after {
  inset: 65px;
}
.glass-tile {
  width: 235px;
  padding: 25px;
  border: 1px solid #ffffff29;
  border-radius: 20px;
  background: linear-gradient(130deg, #ffffff12, #ffffff03);
  backdrop-filter: blur(16px);
  box-shadow:
    20px 25px 45px #0003,
    inset 0 1px #fff2;
  transform: rotate(-8deg);
  animation: float 7s ease-in-out infinite;
}
.glass-tile > .brand {
  justify-content: center;
  transform: scale(0.85);
}
.glass-tile .mini-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 30px;
  margin: 20px auto 4px;
}
.mini-wave i {
  width: 3px;
  height: 9px;
  border-radius: 3px;
  background: var(--yellow);
  animation: wave 1s ease-in-out infinite alternate;
}
.mini-wave i:nth-child(2n) {
  height: 22px;
  animation-delay: -0.5s;
}
.mini-wave i:nth-child(3n) {
  height: 15px;
  animation-delay: -0.2s;
}
.glass-tile > small {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 2px;
}
.on-air {
  position: absolute;
  top: 35px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}
.on-air:before,
.status-dot:before {
  content: "";
  width: 5px;
  height: 5px;
  background: #c5d5a1;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px #c5d5a111;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
  margin-bottom: 27px;
}
.metric {
  padding: 20px 23px;
  display: flex;
  align-items: center;
  gap: 17px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.metric-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border-radius: 12px;
  color: var(--muted);
}
.metric strong {
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -1px;
}
.metric p {
  font-size: 10px;
  margin: 2px 0 0;
}
.metric small {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 23px;
}
.dashboard-grid .preview-host {
  height: 230px;
  border-radius: 12px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b3c391;
  border: 1px solid #b3c39125;
  background: #b3c3910c;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 9px;
}
.status.off {
  color: var(--muted);
  background: var(--soft);
  border-color: var(--line);
}
.status .status-dot:before {
  width: 4px;
  height: 4px;
  box-shadow: none;
}
.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 15px;
}
.preview-footer p {
  font-size: 10px;
  margin: 0;
}
.activity {
  display: flex;
  gap: 11px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.activity:last-child {
  border: 0;
}
.activity > .icon {
  width: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.activity strong {
  font-size: 11px;
  font-weight: 550;
  display: block;
}
.activity small {
  font-size: 9px;
  color: var(--muted);
}
.empty {
  padding: 35px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty > .icon {
  width: 30px;
  height: 30px;
  display: block;
  margin: 0 auto 15px;
  opacity: 0.5;
}
.empty h3 {
  color: var(--text);
  margin-bottom: 6px;
}
.empty p {
  max-width: 380px;
  margin: 0 auto 18px;
}
.quick-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 23px;
  padding: 22px 26px;
  gap: 20px;
}
.quick-guide > div {
  display: flex;
  align-items: center;
  gap: 17px;
}
.quick-guide .icon {
  color: var(--muted);
}
.quick-guide h3 {
  margin: 0 0 3px;
}
.quick-guide p {
  font-size: 10px;
  margin: 0;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 15px;
}
.section-title h2 {
  margin: 0;
}
.section-title span {
  font-size: 10px;
  color: var(--muted);
}
.widget-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.widget-card {
  transition:
    transform 0.25s,
    border-color 0.25s;
  min-width: 0;
}
.widget-card:hover {
  transform: translateY(-3px);
  border-color: #f6cf3238;
}
.widget-card > .preview-host {
  height: 185px;
  border-bottom: 1px solid var(--line);
}
.widget-card-body {
  padding: 20px;
}
.widget-card h3 {
  font-size: 13px;
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}
.widget-card p {
  font-size: 10px;
  min-height: 33px;
  margin-bottom: 16px;
}
.widget-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
  margin-bottom: 17px;
}
.widget-card .actions {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 7px;
}
.widget-card .actions button {
  font-size: 10px;
  padding: 10px;
}
.widget-card .actions button .icon {
  width: 15px;
  height: 15px;
}
.widget-card .actions .icon-button {
  width: 35px;
  height: 35px;
}
.widget-card .manage {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}
.manage button {
  font-size: 9px;
  padding: 6px 9px;
  background: transparent;
}
.widget-token {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 14px 0;
}
.widget-token input {
  font-size: 10px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 16px;
}
.toolbar input {
  max-width: 330px;
}
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  color: var(--text);
  padding: 12px 13px;
  outline: none;
  min-width: 0;
  transition: border-color 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #f6cf3280;
}
input::placeholder {
  color: color-mix(in srgb, var(--muted) 65%, transparent);
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--yellow);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
label {
  font-size: 11px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}
.full {
  grid-column: 1/-1;
}
.form-message {
  font-size: 11px;
  border-radius: 8px;
  padding: 12px;
  background: #f6cf3210;
  color: var(--text);
  line-height: 1.8;
  margin: 16px 0;
  white-space: pre-line;
}
.form-message:empty {
  display: none;
}
.form-message.error {
  color: #edb3a4;
  background: #c9574610;
}
.password-field {
  position: relative;
}
.password-field input {
  padding-right: 48px !important;
}
.password-field button {
  position: absolute;
  right: 6px;
  top: 5px;
  background: transparent;
  border: 0;
  padding: 8px;
  height: 33px;
  width: 33px;
  color: var(--muted);
}
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.platform-choice {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 9px;
  cursor: pointer;
  color: var(--muted);
  transition:
    border-color 0.25s,
    background 0.25s;
}
.platform-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.platform-choice:has(input:checked) {
  border-color: var(--yellow);
  background: #f6cf3209;
  color: var(--text);
  box-shadow: 0 0 0 2px #f6cf3210;
  animation: border-in 0.4s ease;
}
.platform-choice:has(input:focus-visible) {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.platform-choice .platform-logo {
  width: 21px;
  height: 21px;
}
.check-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  line-height: 1.7;
}
.check-label a {
  text-decoration: underline;
  color: var(--text);
}
.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.auth-aside {
  padding: 42px 55px;
  background:
    radial-gradient(ellipse at 20% 70%, #f6cf320c, transparent 65%),
    var(--surface);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.auth-art {
  margin: auto 0;
  position: relative;
  padding: 45px 0;
}
.auth-art .eyebrow {
  color: #c2b473;
}
.auth-art h1 {
  font-size: clamp(36px, 4vw, 62px);
  max-width: 520px;
  letter-spacing: -2.8px;
  margin: 19px 0;
}
.auth-art h1 em {
  font-style: normal;
  color: var(--yellow);
}
.auth-art > p {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.9;
}
.auth-composition {
  height: 230px;
  margin-top: 38px;
  position: relative;
  display: grid;
  place-items: center;
}
.auth-composition .glass-tile {
  width: 270px;
  padding: 30px;
}
.auth-composition .orbit {
  width: 350px;
  height: 350px;
  transform: rotate(-25deg) scaleY(0.6);
}
.floating-tag {
  position: absolute;
  bottom: 22px;
  right: 5px;
  border: 1px solid var(--line);
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--surface);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow);
}
.floating-tag .icon {
  width: 13px;
  color: var(--yellow);
}
.auth-aside footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 9px;
}
.auth-main {
  display: grid;
  align-content: center;
  padding: 42px 9%;
  position: relative;
}
.auth-theme {
  position: absolute;
  right: 28px;
  top: 24px;
}
.auth-main .eyebrow {
  margin-bottom: 10px;
}
.auth-main h2 {
  font-size: 26px;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.auth-main > p {
  font-size: 11px;
  margin-bottom: 25px;
}
.auth-main form > .primary {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
}
.auth-main .form-grid {
  gap: 13px 15px;
}
.auth-main input:not([type="checkbox"]):not([type="radio"]) {
  padding: 11px 12px;
}
.auth-main .check-label {
  margin-top: 18px;
}
.auth-links {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin-top: 23px;
}
.auth-links a {
  color: var(--text);
  font-weight: 650;
  margin-left: 5px;
}
.auth-small-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  margin-top: 15px;
}
.auth-small-links .check-label {
  margin: 0;
}
.connect-notice {
  border: 1px solid var(--line);
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-size: 11px;
}
.connect-notice a {
  margin-top: 10px;
  font-size: 11px;
}
.username-status {
  font-size: 9px;
  min-height: 14px;
}
.username-status.taken {
  color: #f0a08c;
}
.studio {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 24px;
  align-items: start;
}
.studio-controls {
  padding: 23px;
  max-height: calc(100vh - 210px);
  overflow: auto;
  scrollbar-width: thin;
}
.studio-controls h3 {
  border-top: 1px solid var(--line);
  padding-top: 21px;
  margin-top: 23px;
  font-size: 11px;
}
.studio-controls label {
  margin-bottom: 15px;
  font-size: 10px;
}
.studio-controls .form-grid {
  gap: 12px;
}
.studio-controls .check-label {
  display: flex;
}
.studio-controls .check-label input {
  margin: 0;
}
.studio-controls input[type="range"] {
  padding: 0;
  accent-color: var(--yellow);
}
.studio-preview {
  position: sticky;
  top: 105px;
  padding: 24px;
}
.preview-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.preview-tools span {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.preview-tools .icon {
  width: 13px;
}
.studio-stage {
  border-radius: 12px;
  border: 1px solid var(--line);
}
.studio-preview .form-message {
  font-size: 10px;
}
.studio-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 22px;
}
.studio-notes p {
  font-size: 10px;
  margin: 6px 0;
}
.studio-notes strong {
  font-size: 10px;
}
.studio-products {
  max-height: 180px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
}
.studio-products .check-label {
  margin-bottom: 10px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.guide-step {
  padding: 28px;
}
.step-number {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  border: 1px solid #f6cf3240;
  background: #f6cf3210;
  color: var(--yellow);
  border-radius: 10px;
  font-size: 12px;
  margin-bottom: 20px;
}
.guide-step h2 {
  font-size: 16px;
}
.guide-step p {
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
}
.guide-step code {
  color: var(--text);
  background: var(--soft);
  padding: 2px 5px;
  border-radius: 4px;
}
.settings-layout {
  max-width: 800px;
  display: grid;
  gap: 23px;
}
.settings-layout form > .actions {
  margin-top: 22px;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 27px;
}
.profile-card .avatar {
  width: 68px;
  height: 68px;
  font-size: 22px;
}
.profile-card h2 {
  margin: 0 0 4px;
  font-size: 20px;
}
.profile-card p {
  margin: 0;
  font-size: 11px;
}
.profile-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
}
.support-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 23px;
}
.support-grid h2 {
  font-size: 21px;
  margin-bottom: 12px;
}
.support-grid p {
  font-size: 12px;
  line-height: 1.9;
}
.support-grid .button {
  margin-top: 15px;
}
details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 12px;
}
details p {
  margin: 13px 0 0;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(90vw, 520px);
  padding: 15px 23px;
  background: var(--surface);
  border: 1px solid #f6cf3250;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-size: 12px;
}
#toast.error {
  border-color: #d1786250;
}
dialog {
  max-width: 450px;
  width: calc(100% - 36px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  padding: 28px;
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: #0008;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 19px;
}
dialog p {
  font-size: 12px;
  line-height: 1.9;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 24px;
}
.initial-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 12px;
}
.shell.collapsed {
  padding-left: 82px;
}
.collapsed .sidebar {
  width: 82px;
  padding-left: 14px;
  padding-right: 14px;
}
.collapsed .sidebar .brand-word,
.collapsed .sidebar .nav-link span,
.collapsed .sidebar .nav-link:after,
.collapsed .sidebar .nav-caption,
.collapsed .sidebar-tip,
.collapsed .sidebar-bottom button span {
  display: none;
}
.collapsed .sidebar > .brand {
  margin-left: 7px;
  margin-bottom: 40px;
}
.collapsed .nav-link {
  padding: 13px;
  justify-content: center;
}
.collapsed .sidebar-bottom > button {
  padding: 13px;
  justify-content: center;
}
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.card-topline > span {
  font-size: 9px;
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateY(-9px) rotate(-5deg);
  }
}
@keyframes wave {
  to {
    transform: scaleY(0.4);
    opacity: 0.45;
  }
}
@keyframes border-in {
  from {
    box-shadow: 0 0 0 5px #f6cf3200;
  }
  to {
    box-shadow: 0 0 0 2px #f6cf3210;
  }
}
@media (min-width: 1600px) {
  .content {
    padding-top: 42px;
  }
  .hero {
    min-height: 280px;
  }
  .hero-copy {
    padding: 36px 40px;
  }
  .hero h2 {
    font-size: 34px;
  }
  .widget-card > .preview-host {
    height: 220px;
  }
}
@media (max-width: 1200px) {
  .shell {
    padding-left: 218px;
  }
  .sidebar {
    width: 218px;
    padding: 25px 13px;
  }
  .topbar {
    padding: 0 25px;
  }
  .content {
    padding: 28px 25px;
  }
  .widget-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio {
    grid-template-columns: 300px 1fr;
    gap: 18px;
  }
  .studio-preview {
    padding: 17px;
  }
  .auth-aside {
    padding: 35px;
  }
  .auth-main {
    padding: 55px 7%;
  }
  .hero h2 {
    font-size: 25px;
  }
  .dashboard-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .metric {
    padding: 17px 15px;
    gap: 12px;
  }
  .metric small {
    display: none;
  }
}
@media (max-width: 900px) {
  .shell,
  .shell.collapsed {
    padding-left: 0;
  }
  .sidebar,
  .collapsed .sidebar {
    width: 246px;
    transform: translateX(-100%);
  }
  .shell.mobile-open .sidebar {
    transform: translateX(0);
    box-shadow: 20px 0 100px #0008;
  }
  .collapsed .sidebar .brand-word,
  .collapsed .sidebar .nav-link span,
  .collapsed .sidebar .nav-caption,
  .collapsed .sidebar-tip,
  .collapsed .sidebar-bottom button span {
    display: revert;
  }
  .collapsed .nav-link {
    justify-content: flex-start;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .auth {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .auth-aside {
    padding: 28px;
  }
  .auth-art h1 {
    font-size: 37px;
    letter-spacing: -1.7px;
  }
  .auth-art > p {
    font-size: 11px;
  }
  .auth-main {
    padding: 60px 26px 35px;
  }
  .auth-main .form-grid {
    gap: 12px;
  }
  .platform-choice {
    gap: 6px;
    font-size: 10px;
  }
  .auth-composition .glass-tile {
    width: 215px;
  }
  .studio {
    grid-template-columns: 280px 1fr;
  }
  .studio-notes {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .topbar {
    height: 68px;
    padding: 0 17px;
  }
  .topbar-left {
    gap: 8px;
  }
  .topbar-left > span {
    font-size: 10px;
  }
  .topbar-store,
  .topbar-user > div:last-child {
    display: none;
  }
  .topbar-user {
    padding-left: 9px;
  }
  .topbar-right {
    gap: 3px;
  }
  .content {
    padding: 25px 17px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 23px;
  }
  h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .page-heading .button {
    font-size: 10px;
    padding: 11px 13px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 25px;
  }
  .hero h2 {
    font-size: 29px;
    max-width: 300px;
  }
  .hero-visual {
    min-height: 180px;
  }
  .hero-visual .glass-tile {
    width: 205px;
    padding: 18px;
  }
  .on-air {
    top: 15px;
    right: 20px;
  }
  .metrics {
    gap: 8px;
  }
  .metric {
    padding: 15px 9px;
    display: block;
  }
  .metric-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    border-radius: 8px;
  }
  .metric-icon .icon {
    width: 16px;
  }
  .metric strong {
    font-size: 25px;
  }
  .metric p {
    font-size: 9px;
  }
  .widget-grid {
    grid-template-columns: 1fr;
  }
  .widget-card > .preview-host {
    height: 210px;
  }
  .panel-body {
    padding: 20px;
  }
  .quick-guide {
    align-items: flex-start;
    flex-direction: column;
    padding: 21px;
  }
  .quick-guide > div {
    align-items: flex-start;
  }
  .auth {
    display: block;
  }
  .auth-aside {
    padding: 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .auth-aside > .brand .brand-word {
    font-size: 23px;
  }
  .auth-art {
    padding: 22px 0 0;
  }
  .auth-art h1 {
    font-size: 32px;
    margin: 10px 0;
  }
  .auth-art > p {
    max-width: 380px;
    font-size: 10px;
    margin-bottom: 0;
  }
  .auth-composition,
  .auth-aside footer,
  .auth-art > .eyebrow {
    display: none;
  }
  .auth-main {
    padding: 33px 24px;
  }
  .auth-theme {
    top: 25px;
    right: 23px;
    position: fixed;
    z-index: 5;
    background: var(--surface);
  }
  .auth-main h2 {
    font-size: 24px;
  }
  .studio {
    display: flex;
    flex-direction: column-reverse;
  }
  .studio-controls,
  .studio-preview {
    width: 100%;
    max-height: none;
    position: static;
  }
  .studio-stage {
    height: 250px;
  }
  .studio-notes {
    grid-template-columns: 1fr 1fr;
  }
  .studio-preview {
    padding: 18px;
  }
  .guide-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .guide-step {
    padding: 23px;
  }
  .form-grid {
    gap: 14px;
  }
  .profile-platform {
    margin-left: 0;
  }
  .profile-card {
    flex-wrap: wrap;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar input {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
