/* Studio — 编期台气质：摄影底 + 少表格压迫 */
.studio-body {
  --st-bg: #12151a;
  --st-panel: rgba(28, 42, 56, 0.72);
  --st-ink: #e9eef2;
  --st-muted: #9aa8b5;
  --st-accent: #c4a574;
  --st-line: rgba(233, 238, 242, 0.14);
  --st-fd: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --st-fb: "Source Sans 3", "DM Sans", system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(18, 21, 26, 0.88), rgba(28, 42, 56, 0.82)),
    url("/images/albums/cinematic.webp") center / cover fixed;
  color: var(--st-ink);
  font-family: var(--st-fb);
  font-weight: 400;
}

.studio-shell {
  width: min(100% - 2rem, 72rem);
  margin: 0 auto;
}

.studio-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--st-line);
  margin-bottom: 1.5rem;
}

.studio-brand {
  font-family: var(--st-fd);
  font-size: 1.25rem;
  color: var(--st-ink);
  text-decoration: none;
}

.studio-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.studio-nav button,
.studio-btn {
  appearance: none;
  border: 1px solid var(--st-line);
  background: transparent;
  color: var(--st-muted);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.studio-nav button.on,
.studio-btn.primary {
  color: var(--st-accent);
  border-color: var(--st-accent);
}

.studio-btn.primary {
  background: color-mix(in srgb, var(--st-accent) 12%, transparent);
}

.studio-badge {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--st-accent);
  border: 1px solid var(--st-line);
  padding: 0.35rem 0.55rem;
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.studio-card {
  border: 1px solid var(--st-line);
  background: var(--st-panel);
  padding: 1.1rem 1.2rem;
}

.studio-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--st-fd);
  font-style: italic;
  font-weight: 500;
  font-size: 1.6rem;
}

.studio-card p {
  margin: 0;
  color: var(--st-muted);
  font-size: 0.9rem;
}

.studio-panel {
  border: 1px solid var(--st-line);
  background: var(--st-panel);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.studio-panel h2 {
  margin: 0 0 1rem;
  font-family: var(--st-fd);
  font-style: italic;
  font-weight: 500;
}

.studio-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.studio-table th,
.studio-table td {
  text-align: left;
  padding: 0.65rem 0.4rem;
  border-bottom: 1px solid var(--st-line);
  vertical-align: top;
}

.studio-table th {
  color: var(--st-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.studio-form label {
  display: block;
  margin: 0.75rem 0 0.3rem;
  color: var(--st-muted);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.studio-form input,
.studio-form textarea,
.studio-form select {
  width: 100%;
  box-sizing: border-box;
  background: #0c0c0b;
  border: 1px solid var(--st-line);
  color: var(--st-ink);
  font: inherit;
  padding: 0.55rem 0.65rem;
}

.studio-form textarea {
  min-height: 10rem;
  resize: vertical;
  line-height: 1.55;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.studio-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.studio-login-box {
  width: min(100%, 24rem);
  border: 1px solid var(--st-line);
  background: color-mix(in srgb, #1c2a38 82%, transparent);
  backdrop-filter: blur(16px);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.studio-card,
.studio-panel {
  backdrop-filter: blur(12px);
}

.studio-status {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border: 1px solid var(--st-line);
  color: var(--st-accent);
}

.studio-thumb {
  width: 3.5rem;
  height: 4.6rem;
  object-fit: cover;
  border: 1px solid var(--st-line);
  vertical-align: middle;
  margin-right: 0.65rem;
}

.studio-login-box h1 {
  margin: 0 0 0.5rem;
  font-family: var(--st-fd);
  font-style: italic;
  font-weight: 500;
}

.studio-hint {
  color: var(--st-muted);
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}

.studio-err {
  color: #e0a090;
  font-size: 0.85rem;
  margin: 0.5rem 0 0;
}

.studio-muted {
  color: var(--st-muted);
}

.studio-preview {
  border: 1px solid var(--st-line);
  padding: 1.5rem;
  background: #0c0c0b;
}

.studio-preview .kicker {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--st-accent);
}

.studio-preview h1 {
  font-family: var(--st-fd);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.4rem 0 0.75rem;
}

.studio-preview img.cover {
  width: 100%;
  max-height: 42vh;
  object-fit: cover;
  border: 1px solid var(--st-line);
  margin: 1rem 0;
}

.studio-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.studio-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: #1a1916;
  border: 1px solid var(--st-accent);
  color: var(--st-ink);
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  max-width: 20rem;
}

.studio-hidden {
  display: none !important;
}

@media (max-width: 700px) {
  .studio-table {
    display: block;
    overflow-x: auto;
  }
}
