:root {
  --ink: #eafdf7;
  --muted: #9bb8b0;
  --line: rgba(97, 255, 207, 0.2);
  --panel: rgba(7, 18, 17, 0.88);
  --panel-strong: rgba(9, 28, 25, 0.94);
  --accent: #19c79f;
  --accent-strong: #0f8f73;
  --gold: #c3f46b;
  --danger: #ff7b65;
}

html {
  min-height: 100%;
  background-color: #020504;
}

body {
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 8%, rgba(35, 255, 188, 0.24), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(8, 132, 95, 0.26), transparent 30%),
    radial-gradient(circle at 54% 92%, rgba(23, 205, 151, 0.16), transparent 34%),
    linear-gradient(135deg, #020504 0%, #061110 42%, #081c18 70%, #010302 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.zy-navbar {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92vw, 1120px);
  min-height: 76px;
  margin: 1rem auto 2rem;
  padding: 0.7rem 0.8rem 0.7rem 1rem;
  border: 1px solid rgba(97, 255, 207, 0.2);
  border-radius: 1.35rem;
  background: rgba(5, 18, 16, 0.68);
  box-shadow:
    0 1rem 2.4rem rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(97, 255, 207, 0.06) inset;
  backdrop-filter: blur(18px);
  transition:
    border-color 180ms ease-in-out,
    background-color 180ms ease-in-out,
    box-shadow 180ms ease-in-out,
    transform 180ms ease-in-out;
}

.zy-navbar:hover,
.zy-navbar:focus-within {
  border-color: rgba(97, 255, 207, 0.34);
  background: rgba(7, 24, 21, 0.78);
  box-shadow:
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.4),
    0 0 28px rgba(25, 199, 159, 0.16),
    0 0 0 1px rgba(97, 255, 207, 0.1) inset;
  transform: translateY(-1px);
}

.zy-navbar-brand,
.zy-navbar-login {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  text-decoration: none;
  transition:
    border-color 180ms ease-in-out,
    background-color 180ms ease-in-out,
    color 180ms ease-in-out,
    transform 180ms ease-in-out;
}

.zy-navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.zy-navbar-user {
  max-width: 14rem;
  overflow: hidden;
  color: #d7fff4;
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zy-user-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 14rem;
  min-height: 42px;
  padding: 0 1rem;
  overflow: hidden;
  border: 1px solid rgba(97, 255, 207, 0.26);
  border-radius: 999px;
  background: rgba(2, 8, 7, 0.45);
  color: #d7fff4;
  font-size: 0.86rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zy-user-trigger:hover,
.zy-user-trigger:focus {
  border-color: rgba(97, 255, 207, 0.48);
  color: #ffffff;
}

.zy-user-dropdown {
  border: 1px solid rgba(97, 255, 207, 0.22);
  border-radius: 0.7rem;
  background: rgba(5, 18, 16, 0.98);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.zy-user-dropdown .dropdown-item {
  color: #eafdf7;
  font-weight: 700;
}

.zy-user-dropdown .dropdown-item:hover,
.zy-user-dropdown .dropdown-item:focus {
  background: rgba(25, 199, 159, 0.2);
  color: #ffffff;
}

.zy-user-dropdown .dropdown-divider {
  border-color: rgba(97, 255, 207, 0.18);
}

.zy-navbar-brand {
  gap: 0.85rem;
  color: #f5fffb;
  font-size: 1rem;
  font-weight: 900;
}

.zy-navbar-brand:hover,
.zy-navbar-brand:focus {
  color: #ffffff;
  transform: translateY(-1px);
}

.zy-navbar-logo {
  display: grid;
  width: 86px;
  height: 58px;
  border: 1px solid rgba(97, 255, 207, 0.24);
  border-radius: 0.9rem;
  background: rgba(25, 199, 159, 0.14);
  object-fit: contain;
  padding: 0;
  box-shadow: 0 0 24px rgba(25, 199, 159, 0.18);
}

.zy-navbar-login {
  justify-content: center;
  padding: 0 1.1rem;
  border: 1px solid rgba(97, 255, 207, 0.26);
  border-radius: 999px;
  background: rgba(25, 199, 159, 0.12);
  color: #eafff8;
  font-size: 0.9rem;
  font-weight: 800;
}

.zy-navbar-login:hover,
.zy-navbar-login:focus {
  border-color: var(--accent);
  background: var(--accent);
  color: #02100d;
  transform: translateY(-1px);
}

.zy-navbar-signup {
  border-color: rgba(195, 244, 107, 0.46);
  background: rgba(195, 244, 107, 0.16);
}

.zcoin-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 38px;
  padding: 0 0.8rem;
  border: 1px solid rgba(195, 244, 107, 0.44);
  border-radius: 999px;
  background: rgba(195, 244, 107, 0.13);
  color: #f4ffda;
  box-shadow: 0 0 24px rgba(195, 244, 107, 0.12);
}

.zcoin-pill__label {
  color: #cfe9ac;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zcoin-pill strong {
  color: #ffffff;
  font-size: 0.98rem;
}

.zcoin-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(12, 31, 29, 0.92), rgba(5, 13, 13, 0.88));
  box-shadow:
    0 1rem 2.4rem rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(97, 255, 207, 0.06) inset;
}

.zcoin-panel h2 {
  margin: 0;
  color: #f5fffb;
  font-size: 1rem;
  font-weight: 900;
}

.zcoin-panel__eyebrow {
  margin: 0 0 0.15rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zcoin-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.zcoin-stat {
  min-height: 68px;
  padding: 0.75rem;
  border: 1px solid rgba(97, 255, 207, 0.16);
  border-radius: 0.55rem;
  background: rgba(2, 8, 7, 0.5);
}

.zcoin-stat__label {
  display: block;
  margin-bottom: 0.25rem;
  color: #8ee8d0;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zcoin-stat__value {
  color: #ffffff;
  font-size: 1rem;
}

.app-shell {
  max-width: 1180px;
}

.page-shell {
  min-height: 58vh;
}

.content-panel {
  max-width: 850px;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(12, 31, 29, 0.94), rgba(5, 13, 13, 0.91));
  box-shadow:
    0 1.35rem 3rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(97, 255, 207, 0.08) inset;
  color: var(--ink);
}

.content-panel h1 {
  margin-bottom: 1rem;
  color: #f5fffb;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
}

.content-panel h2 {
  margin: 1.75rem 0 0.65rem;
  color: var(--gold);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.content-panel p {
  color: #d5f7ef;
  font-size: 1rem;
  line-height: 1.7;
}

.content-panel a,
.zy-footer a {
  color: #9ff5dd;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease-in-out,
    text-shadow 180ms ease-in-out;
}

.content-panel a:hover,
.content-panel a:focus,
.zy-footer a:hover,
.zy-footer a:focus {
  color: #ffffff;
  text-shadow: 0 0 18px rgba(25, 199, 159, 0.36);
}

.zy-footer {
  width: min(92vw, 1120px);
  margin: 0 auto 1.5rem;
  padding: 0.85rem;
  border: 1px solid rgba(97, 255, 207, 0.16);
  border-radius: 1.15rem;
  background: rgba(5, 18, 16, 0.52);
  backdrop-filter: blur(14px);
  box-shadow:
    0 1rem 2.4rem rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(97, 255, 207, 0.05) inset;
}

.zy-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
}

.zy-footer a {
  font-size: 0.9rem;
}

.eyebrow {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(25, 199, 159, 0.44);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.display-3 {
  color: #f5fffb;
  text-shadow: 0 0 34px rgba(25, 199, 159, 0.28);
}

.status-pill {
  min-width: 92px;
  padding: 0.62rem 0.85rem;
  border-color: rgba(97, 255, 207, 0.26) !important;
  background: rgba(7, 24, 21, 0.78) !important;
  color: #d9fff4 !important;
  font-size: 0.82rem;
  box-shadow: 0 0 28px rgba(25, 199, 159, 0.18);
}

.status-pill.error {
  border-color: rgba(164, 56, 40, 0.35) !important;
  background: rgba(164, 56, 40, 0.08) !important;
  color: var(--danger) !important;
}

.generator-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid rgba(97, 255, 207, 0.22);
  border-radius: 0.75rem;
  background: rgba(2, 8, 7, 0.64);
  box-shadow:
    0 1rem 2.2rem rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(97, 255, 207, 0.06) inset;
}

.generator-tab {
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 0.55rem;
  background: transparent;
  color: #b9dcd3;
  font-weight: 900;
  text-transform: capitalize;
  transition:
    border-color 180ms ease-in-out,
    background-color 180ms ease-in-out,
    color 180ms ease-in-out,
    box-shadow 180ms ease-in-out;
}

.generator-tab:hover,
.generator-tab:focus {
  border-color: rgba(97, 255, 207, 0.22);
  color: #ffffff;
}

.generator-tab.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(25, 199, 159, 0.28), rgba(195, 244, 107, 0.14));
  color: #f5fffb;
  box-shadow: 0 0 24px rgba(25, 199, 159, 0.22);
}

.form-card,
.result-card,
.preview-frame {
  position: relative;
  z-index: 0;
  border-color: var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(12, 31, 29, 0.94), rgba(5, 13, 13, 0.91));
  box-shadow:
    0 1.35rem 3rem rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(97, 255, 207, 0.08) inset;
  color: var(--ink);
}

.form-card::before,
.result-card::before,
.preview-frame::before {
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border-radius: 1.3rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(25, 199, 159, 0.24), transparent 38%),
    radial-gradient(circle at 80% 100%, rgba(195, 244, 107, 0.14), transparent 42%);
  filter: blur(18px);
  opacity: 0.85;
  content: "";
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 1rem;
  font-weight: 800;
}

.section-heading span {
  color: #8ee8d0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-label {
  color: #d7fff4;
  font-size: 0.84rem;
  font-weight: 700;
}

.mode-helper {
  color: #b9dcd3;
  font-size: 0.92rem;
}

.mode-switch {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mode-switch .form-check-input {
  width: 3.25rem;
  height: 1.65rem;
  margin: 0;
  border-color: rgba(97, 255, 207, 0.28);
  background-color: rgba(2, 8, 7, 0.86);
  cursor: pointer;
}

.mode-switch .form-check-input:checked {
  border-color: var(--accent);
  background-color: var(--accent);
}

.mode-switch .form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(25, 199, 159, 0.18);
}

.mode-switch .form-check-label {
  color: #d7fff4;
  font-weight: 800;
}

.form-control,
.form-select {
  border-color: rgba(97, 255, 207, 0.22);
  border-radius: 0.5rem;
  background-color: rgba(2, 8, 7, 0.72);
  color: #ecfffa;
}

.form-control::placeholder {
  color: rgba(215, 255, 244, 0.58);
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%238ee8d0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  background-color: rgba(3, 13, 11, 0.9);
  color: #ffffff;
  box-shadow:
    0 0 0 0.25rem rgba(25, 199, 159, 0.18),
    0 0 24px rgba(25, 199, 159, 0.22);
}

.btn-primary.generate-button {
  min-height: 48px;
  border-color: var(--accent);
  background: linear-gradient(135deg, #19c79f, #0f8f73);
  color: #02100d;
  font-weight: 800;
  box-shadow: 0 0 26px rgba(25, 199, 159, 0.34);
}

.btn-primary.generate-button:hover,
.btn-primary.generate-button:focus {
  border-color: var(--accent-strong);
  background: linear-gradient(135deg, #27e2b7, #13a887);
  color: #020706;
}

.btn-primary.generate-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.preview-column {
  min-height: 0;
}

.preview-panel {
  position: sticky;
  top: 1.5rem;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  width: 100%;
  height: var(--preview-panel-height, auto);
  max-height: var(--preview-panel-height, none);
  min-height: 0;
  overflow: hidden;
}

.preview-panel.scene-preview {
  grid-template-rows: auto minmax(0, 1fr);
}

.preview-frame {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 1.5rem;
  background:
    radial-gradient(circle at 50% 28%, rgba(44, 255, 196, 0.18), transparent 34%),
    radial-gradient(circle at 50% 78%, rgba(195, 244, 107, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(8, 34, 29, 0.96), rgba(2, 8, 7, 0.98));
  text-align: center;
}

.preview-frame.has-image {
  min-height: 0;
  padding: 0.75rem;
}

.preview-frame img {
  display: block;
  width: min(100%, 340px);
  max-height: 640px;
  object-fit: contain;
  border: 1px solid rgba(215, 255, 244, 0.72);
  border-radius: 0.35rem;
  background: #fff;
  box-shadow:
    0 1.2rem 2.8rem rgba(0, 0, 0, 0.48),
    0 0 34px rgba(25, 199, 159, 0.24);
}

.result-card {
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}

.scene-preview .result-card {
  max-height: var(--scene-result-height, 430px);
}

.result-card .card-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.placeholder-mark {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(25, 199, 159, 0.14);
  color: #dffff7;
  font-size: 2.6rem;
  font-weight: 900;
  box-shadow:
    0 0 0 1px rgba(97, 255, 207, 0.22) inset,
    0 0 30px rgba(25, 199, 159, 0.24);
}

.preview-frame p {
  grid-column: 1;
  color: #b9dcd3;
  font-weight: 700;
}

.tagline {
  color: #b9dcd3;
  font-size: 0.95rem;
  line-height: 1.5;
}

.detail-list {
  display: grid;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow: auto;
  padding-right: 0.25rem;
  scrollbar-color: rgba(25, 199, 159, 0.78) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.detail-list::-webkit-scrollbar {
  width: 0.55rem;
}

.detail-list::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.detail-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, #27e2b7, #0f8f73);
}

.detail-list div {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.detail-list dt {
  margin-bottom: 0.25rem;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.detail-list dd {
  margin: 0;
  color: #defcf4;
  line-height: 1.5;
}

.save-image-button {
  margin-top: 1rem;
}

.error {
  color: var(--danger);
}

.zy-page-shell {
  width: min(92vw, 1120px);
  margin: 0 auto 3rem;
}

.zy-page-header {
  margin-bottom: 1.25rem;
}

.zy-eyebrow,
.zy-page-header p:first-child {
  margin: 0 0 0.35rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.zy-page-header h1 {
  margin: 0;
  color: #f6fffb;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
}

.zy-page-header p:last-child {
  max-width: 48rem;
  margin: 0.55rem 0 0;
  color: #b9dcd3;
  font-size: 1rem;
}

.zy-dashboard-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.zy-storage-alert {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 123, 101, 0.42);
  border-radius: 0.75rem;
  background: rgba(255, 123, 101, 0.12);
  color: #ffd7d0;
  font-weight: 800;
}

.zy-dashboard-summary div,
.zy-settings-panel,
.zy-empty-state,
.zy-image-card {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: linear-gradient(180deg, rgba(12, 31, 29, 0.92), rgba(5, 13, 13, 0.88));
  box-shadow:
    0 1rem 2.4rem rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(97, 255, 207, 0.06) inset;
}

.zy-dashboard-summary div {
  min-height: 86px;
  padding: 1rem;
}

.zy-dashboard-summary span {
  display: block;
  margin-bottom: 0.25rem;
  color: #8ee8d0;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zy-dashboard-summary strong {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.zy-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.zy-image-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zy-image-card img,
.zy-image-placeholder {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: rgba(2, 8, 7, 0.62);
  object-fit: contain;
}

.zy-image-placeholder {
  color: #dffff7;
  font-size: 4rem;
  font-weight: 900;
}

.zy-image-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1rem;
}

.zy-image-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zy-image-card h2,
.zy-settings-panel h2,
.zy-empty-state h2 {
  margin: 0;
  color: #f6fffb;
  font-size: 1.1rem;
  font-weight: 900;
}

.zy-image-card p,
.zy-settings-panel p,
.zy-empty-state p {
  margin: 0.45rem 0 0;
  color: #b9dcd3;
  line-height: 1.5;
}

.zy-image-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1rem;
}

.zy-card-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 5.4rem;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  border: 1px solid rgba(97, 255, 207, 0.28);
  border-radius: 0.55rem;
  background: rgba(2, 8, 7, 0.48);
  color: #eafff8;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition:
    border-color 160ms ease-in-out,
    background-color 160ms ease-in-out,
    color 160ms ease-in-out,
    transform 160ms ease-in-out;
}

.zy-card-button:hover:not(:disabled),
.zy-card-button:focus-visible:not(:disabled) {
  border-color: rgba(143, 255, 225, 0.72);
  background: rgba(25, 199, 159, 0.18);
  color: #ffffff;
  transform: translateY(-1px);
}

.zy-card-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.zy-card-button-delete {
  border-color: rgba(255, 123, 101, 0.34);
  color: #ffd7d0;
}

.zy-card-button-delete:hover:not(:disabled),
.zy-card-button-delete:focus-visible:not(:disabled) {
  border-color: rgba(255, 123, 101, 0.72);
  background: rgba(255, 123, 101, 0.16);
}

.zy-image-modal .modal-content {
  border: 1px solid rgba(97, 255, 207, 0.24);
  border-radius: 0.75rem;
  background: #061110;
  color: var(--ink);
}

.zy-image-modal .modal-header {
  border-bottom-color: rgba(97, 255, 207, 0.18);
}

.zy-image-modal .modal-title {
  color: #f6fffb;
  font-size: 1rem;
  font-weight: 900;
}

.zy-image-modal .btn-close {
  filter: invert(1) grayscale(1);
}

.zy-image-modal .modal-body {
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(2, 8, 7, 0.62);
}

.zy-image-modal img {
  display: block;
  max-width: 100%;
  max-height: min(76vh, 860px);
  object-fit: contain;
}

.zy-empty-state {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
  padding: 2rem;
}

.zy-settings-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.zy-settings-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.25rem;
}

.zy-settings-panel .form-control {
  border-color: rgba(97, 255, 207, 0.22);
  background: rgba(1, 8, 7, 0.68);
  color: #f6fffb;
}

.zy-settings-panel .form-control:focus {
  border-color: var(--accent);
  background: rgba(1, 8, 7, 0.82);
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(25, 199, 159, 0.16);
}

.zy-form-action {
  justify-self: start;
  min-width: 10rem;
}

.zy-form-status {
  min-height: 1.5rem;
  font-weight: 800;
}

.zy-danger-panel {
  border-color: rgba(255, 123, 101, 0.42);
}

.zy-danger-button {
  justify-self: start;
  border: 1px solid rgba(255, 123, 101, 0.68);
  background: rgba(255, 123, 101, 0.14);
  color: #ffd7d0;
  font-weight: 900;
}

.zy-danger-button:hover,
.zy-danger-button:focus {
  border-color: var(--danger);
  background: var(--danger);
  color: #210705;
}

@media (max-width: 1199.98px) {
  .preview-panel {
    position: static;
    grid-template-rows: none;
    height: auto;
    max-height: none;
  }

  .detail-list {
    overflow: visible;
  }
}

@media (max-width: 575.98px) {
  .zy-navbar {
    top: 0.75rem;
    width: min(94vw, 1120px);
    min-height: 66px;
    margin: 0.75rem auto 1.5rem;
    border-radius: 1.1rem;
  }

  .zy-navbar-actions {
    gap: 0.4rem;
  }

  .zy-navbar-user,
  .zcoin-pill__label {
    display: none;
  }

  .zy-user-trigger {
    max-width: 8rem;
    min-height: 38px;
    padding: 0 0.75rem;
  }

  .zy-navbar-brand {
    font-size: 0.95rem;
  }

  .zy-navbar-logo {
    width: 74px;
    height: 50px;
    border-radius: 0.75rem;
  }

  .zy-navbar-login {
    min-height: 38px;
    padding: 0 0.75rem;
  }

  .zcoin-panel {
    grid-template-columns: 1fr;
  }

  .zcoin-panel__grid {
    grid-template-columns: 1fr;
  }

  .zy-footer {
    width: min(94vw, 1120px);
    margin-bottom: 0.75rem;
  }

  .preview-frame {
    min-height: 360px;
  }

  .zy-dashboard-summary,
  .zy-settings-grid {
    grid-template-columns: 1fr;
  }
}
