.tester-studio {
  color-scheme: dark;
  --bg: #101215;
  --panel: #1c2025;
  --ink: #f8f5f0;
  --muted: #afbac2;
  --green: #ffc6a9;
  --border: #363d43;
  min-height: 100vh;
  color: var(--ink);
  background: radial-gradient(ellipse at 90% 0, #302425 0, transparent 36%), var(--bg);
}
.tester-studio a { color: inherit; }
.studio-header { border-bottom: 1px solid #343137; background: #171719; }
.studio-bar {
  width: min(100% - 48px, 1300px);
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.studio-bar .brand { white-space: nowrap; }
.studio-bar .mark { width: 39px; height: 39px; background: #43312c; }
.studio-bar nav, .studio-account { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.studio-bar nav a, .studio-account > a {
  padding: 8px 10px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 650;
  color: #c8bec1;
  border-radius: 8px;
}
.studio-bar nav a:hover, .studio-bar nav a[aria-current="page"], .studio-account > a:hover {
  background: #3b2c2d;
  color: #fff4e9;
}
.studio-account a b { color: #ffba93; }
.studio-account > .studio-avatar { background: #4a3432; color: #ffd2bd; }
.studio-main { width: min(100% - 48px, 1230px); margin: 0 auto; padding: 34px 0 76px; }
.studio-main > h1, .studio-heading h1 { font-size: clamp(2rem, 4.3vw, 3.1rem); }
.studio-hero, .studio-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 395px;
  border: 1px solid #4b4147;
  border-radius: 20px;
  display: grid;
  align-items: end;
  background: radial-gradient(ellipse at 90% 15%, #674339, transparent 70%), #23252b;
}
.studio-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 65% 52%; z-index: -2; }
.studio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #141316f5, #141316c2 32%, #14131612 78%), linear-gradient(0deg, #141316a6, transparent 58%);
}
.studio-hero-copy { max-width: 610px; padding: clamp(24px, 5.4vw, 68px); display: grid; gap: 16px; }
.studio-hero-copy h1 { font-size: clamp(2.9rem, 6.3vw, 5.65rem); letter-spacing: -.065em; line-height: .98; }
.studio-hero-copy > p:not(.studio-kicker) { font-size: clamp(.95rem, 1.8vw, 1.18rem); color: #eee0df; max-width: 42ch; }
.studio-hero-copy > small { color: #d3c6c9; }
.studio-kicker { color: #ffc4a6; font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .11em; }
.studio-hero-game { min-height: 340px; }
.studio-hero-game .studio-hero-copy h1 { font-size: clamp(2.4rem, 6vw, 4.35rem); }
.studio-intro { min-height: 245px; display: flex; flex-flow: column; align-items: start; justify-content: center; gap: 16px; padding: 38px; }
.studio-intro p { color: #ded2d4; }
.tester-studio .button {
  border-color: #66575d;
  color: #fff2eb;
  background: #29272de8;
}
.tester-studio .button:hover { background: #423339; }
.tester-studio .button.primary { background: #ffc2a3; border-color: #ffc2a3; color: #2c1712; }
.tester-studio .button.primary:hover { background: #ffad85; }
.studio-section { margin-top: 30px; }
.studio-section h2 { margin-bottom: 13px; font-size: 1.5rem; }
.studio-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(100%,240px),1fr)); gap: 16px; }
.studio-card { overflow: hidden; border: 1px solid var(--border); border-radius: 13px; background: var(--panel); text-decoration: none; }
.studio-card:hover { border-color: #e7a78e; }
.studio-card-art { height: 133px; background: radial-gradient(ellipse at 67% 24%, #694753, transparent 62%), #2e2839; }
.studio-card-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 57%; }
.studio-card-body { padding: 13px 16px; }
.studio-card-body span, .studio-bio, .studio-status, .studio-achievement p, .studio-post small { color: var(--muted); }
.studio-card-body span { font-size: .85rem; }
.studio-empty, .tester-studio .empty { padding: 18px; border: 1px dashed #524950; border-radius: 12px; color: var(--muted); background: #1c1c21; }
.studio-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.studio-heading h2 { margin: 0; }
.studio-objectives { padding: 0; display: grid; gap: 8px; list-style: none; }
.studio-objectives li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.studio-objectives li, .studio-version, .studio-post, .studio-achievement {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 11px;
  padding: 14px;
}
.studio-objectives li strong, .studio-achievement.earned span { color: #ffd0ad; }
.studio-versions { display: grid; gap: 8px; }
.studio-versions .details, .studio-post .details { color: #e1dadb; margin: 10px 0 12px; }
.studio-gallery { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,250px),1fr)); gap: 12px; }
.studio-gallery figure { margin: 0; max-width: 710px; }
.studio-gallery img { display: block; width: 100%; border-radius: 10px; }
.studio-gallery figcaption { margin: 6px 0 0; color: var(--muted); }
.studio-post { margin-bottom: 8px; }
.studio-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.studio-post .studio-bio { font-size: .84rem; overflow-wrap: anywhere; }
.studio-post.depth-1 { margin-inline-start: 16px; }
.studio-post.depth-2 { margin-inline-start: 32px; }
.studio-post.depth-3 { margin-inline-start: 48px; }
.studio-post.unread { border-color: #d69073; }
.developer-community .studio-post .details { color: var(--ink); }
.developer-community .studio-empty { background: var(--panel); border-color: var(--border); }
.studio-inbox .studio-post { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.studio-inbox .studio-post a { margin-right: auto; }
.studio-achievement span { font-size: .78rem; font-weight: 680; color: var(--muted); }
.studio-achievement h3 { margin: 6px 0; }
.tester-studio .list-card, .tester-studio .list-card:hover { color: var(--ink); background: #24252b; border-color: var(--border); }
.tester-studio .definition dt, .tester-studio .field { color: var(--muted); }
.tester-studio select { color: var(--ink); background-color: #26242a; border-color: #66575d; }
@media (max-width: 850px) {
  .studio-bar { padding-block: 9px; flex-wrap: wrap; gap: 7px 14px; }
  .studio-bar nav { order: 2; flex: 0 0 100%; }
}
@media (max-width: 560px) {
  .studio-main, .studio-bar { width: calc(100% - 26px); }
  .studio-main { padding-top: 20px; }
  .studio-account { gap: 4px; }
  .studio-bar nav { gap: 1px; }
  .studio-bar nav a { padding-inline: 7px; font-size: .82rem; }
  .studio-hero { min-height: 405px; }
  .studio-hero::after { background: linear-gradient(0deg,#141316 0,#141316b0 50%,transparent 94%); }
  .studio-hero-copy { gap: 13px; }
  .studio-hero-copy > p:not(.studio-kicker) { max-width: 30ch; }
  .studio-objectives li { align-items: start; flex-direction: column; }
  .studio-post.depth-2, .studio-post.depth-3 { margin-inline-start: 24px; }
}
