/* Studio reuses Feed card anatomy and generated SotiDo design tokens. */
.studio-page { margin: 0; background: var(--sotido-theme-background); color: var(--sotido-theme-text-primary); font: 16px/1.5 system-ui, sans-serif; color-scheme: dark; }
.studio-page * { box-sizing: border-box; }
.studio-page a { color: inherit; text-underline-offset: .2em; }
.studio-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 760px; padding: 18px 12px; margin: auto; }
.studio-brand { font-size: 24px; font-weight: 750; text-decoration: none; }
.studio-header nav { display: flex; flex-wrap: wrap; gap: 16px; font-size: 14px; }
.studio-header [aria-current] { color: var(--sotido-theme-accent); }
.studio-skip { position: absolute; top: -80px; }
.studio-skip:focus { top: 0; background: var(--sotido-theme-background); padding: 8px; z-index: 2; }
.studio-page h1 { font-size: clamp(28px, 5vw, 38px); line-height: 1.2; margin: 8px 0; }
.studio-page h2 { font-size: 21px; line-height: 1.3; margin: 6px 0; }
.studio-page h2 a, .studio-card h1 a { text-decoration: none; }
.studio-page p { margin: 6px 0; }
.studio-note, .studio-model, .studio-author, .studio-footer { color: var(--sotido-theme-text-secondary); }
.studio-note, .studio-author, .studio-footer { font-size: 14px; }
.studio-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 8px 0; }
.studio-page select, .studio-page button { font: inherit; }
.studio-page select { min-width: 0; flex: 1; max-width: 320px; padding: 8px 12px; color: inherit; background: var(--sotido-theme-surface); border: 1px solid var(--discover-feed-border); border-radius: 12px; }
.studio-card { overflow: hidden; }
.studio-card .discover-feed-card-body { padding: 18px; }
.studio-preview { display: grid; place-items: center; position: relative; aspect-ratio: 16/9; max-height: 360px; border-radius: 16px; margin: 14px 0; background: var(--sotido-theme-surface); overflow: hidden; }
.studio-preview > p { max-width: 28ch; text-align: center; color: var(--sotido-theme-text-secondary); padding: 12px; }
.studio-preview canvas { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.studio-preview img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.studio-card-actions, .studio-editor-actions, .studio-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.studio-page button { min-height: 40px; border: 0; border-radius: var(--sotido-radius-pill); padding: 8px 16px; background: var(--sotido-theme-surface-raised); color: inherit; cursor: pointer; }
.studio-page button.studio-primary { background: var(--sotido-theme-accent); color: var(--sotido-theme-primary-accent-text); }
.studio-page button:disabled { opacity: .6; cursor: wait; }
.studio-page :focus-visible { outline: 2px solid var(--sotido-theme-accent); outline-offset: 3px; }
.studio-page [hidden] { display: none !important; }
.studio-material { display: grid; grid-template-columns: 90px 1fr; gap: 10px; border: 0; padding: 14px 0; margin: 0; }
.studio-material legend { font-weight: 650; padding-top: 14px; }
.studio-material input { width: 100%; accent-color: var(--sotido-theme-accent); }
.studio-material input[type=color] { height: 34px; padding: 0; border: 0; }
.studio-pagination { padding: 18px 2px; }
.studio-footer { padding: 24px 0; }
@media (max-width: 420px) { .studio-header { gap: 8px; } .studio-header nav { gap: 10px; } .studio-card .discover-feed-card-body { padding: 12px; } .studio-filters select { flex-basis: 65%; } }
