/* ATLAS BEATS — formal layer for the Studio page (v6.9.3)
   Loaded after studio.css: the same calm editorial language as the About page — thin rules, numbered kickers, Montserrat display type,
   restrained cards, no floating/gradient-text effects. Only presentation changes; every id/class the editor relies on stays. */
body.studio-page { --f-ink: #f3f1fb; --f-ink2: rgba(243, 241, 251, .72); --f-ink3: rgba(243, 241, 251, .48); --f-line: rgba(255, 255, 255, .08); --f-line2: rgba(255, 255, 255, .14); --f-card: rgba(255, 255, 255, .035); --f-card2: rgba(255, 255, 255, .06); --f-gold: #e7c98a; background: #07060d; }
body.studio-page .sh-bg-glow.a { background: radial-gradient(closest-side, rgba(124, 58, 237, .3), transparent 70%); }
body.studio-page .sh-bg-glow.b { background: radial-gradient(closest-side, rgba(59, 130, 246, .2), transparent 70%); }
body.studio-page .st-main { width: min(1180px, 100% - 40px); margin: 0 auto; gap: 0; }

/* hero → editorial split */
body.studio-page .st-hero { background: none; border: 0; border-bottom: 1px solid var(--f-line); border-radius: 0; box-shadow: none; padding: clamp(26px, 4.5vw, 56px) 0 clamp(24px, 4vw, 44px); gap: clamp(28px, 5vw, 64px); }
body.studio-page .st-hero::before { display: none; }
body.studio-page .sh-kicker { background: none; border: 0; padding: 0; border-radius: 0; font: 700 11.5px/1 'Montserrat', 'Inter', sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--f-ink3); gap: 12px; }
body.studio-page .sh-kicker .i { display: none; }
body.studio-page .sh-kicker::before { content: ''; width: 34px; height: 1px; background: linear-gradient(90deg, var(--f-gold), transparent); }
[dir=rtl] body.studio-page .sh-kicker::before { background: linear-gradient(270deg, var(--f-gold), transparent); }
[dir=rtl] body.studio-page .sh-kicker { font-family: 'Vazirmatn', 'Inter', sans-serif; letter-spacing: 0; font-size: 13px; }
body.studio-page .st-hero h1 { font: 800 clamp(38px, 5.6vw, 66px)/1.02 'Montserrat', 'Inter', sans-serif; letter-spacing: -.02em; background: none; -webkit-text-fill-color: #fff; color: #fff; }
[dir=rtl] body.studio-page .st-hero h1 { font-family: 'Vazirmatn', 'Inter', sans-serif; letter-spacing: 0; font-weight: 800; }
body.studio-page .st-hero p { font-size: 15.5px; line-height: 1.85; color: var(--f-ink2); }
body.studio-page .st-hero-stats { gap: 0; margin-top: 18px; border-top: 1px solid var(--f-line); }
body.studio-page .st-hero-stats .stat { min-width: 0; flex: 1 1 0; padding: 16px 16px 2px 0; border: 0; border-right: 1px solid var(--f-line); border-radius: 0; background: none; }
[dir=rtl] body.studio-page .st-hero-stats .stat { padding: 16px 0 2px 16px; border-right: 0; border-left: 1px solid var(--f-line); }
body.studio-page .st-hero-stats .stat:last-child { border: 0; }
body.studio-page .st-hero-stats .stat:not(:first-child) { padding-inline-start: 16px; }
body.studio-page .st-hero-stats .stat b { font: 800 clamp(24px, 3vw, 32px)/1 'Montserrat', 'Inter', sans-serif; letter-spacing: -.02em; background: none; -webkit-text-fill-color: #fff; color: #fff; font-variant-numeric: tabular-nums; }
body.studio-page .st-hero-stats .stat span { font-size: 12px; font-weight: 500; color: var(--f-ink3); margin-top: 7px; }
body.studio-page .st-hero-art canvas { animation: none !important; border-radius: 14px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .1); }
body.studio-page .st-hero-art::before { content: ''; position: absolute; inset: 10% -4% -6%; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, rgba(124, 58, 237, .3), transparent 70%), radial-gradient(50% 50% at 70% 80%, rgba(59, 130, 246, .22), transparent 70%); filter: blur(28px); z-index: -1; }

/* collections → section with numbered head */
body.studio-page .st-collections { padding: clamp(26px, 4vw, 44px) 0 40px; gap: 18px; }
body.studio-page .st-actions { align-items: center; gap: 10px; }
body.studio-page .sbtn { height: 44px; border-radius: 999px; background: var(--f-card); border: 1px solid var(--f-line2); color: var(--f-ink); font-weight: 600; font-size: 13.5px; letter-spacing: .01em; box-shadow: none; }
body.studio-page .sbtn:hover { background: var(--f-card2); border-color: rgba(255, 255, 255, .26); transform: translateY(-1px); }
body.studio-page .sbtn.on, body.studio-page .sbtn.primary { background: #fff; color: #0b0b12; border-color: #fff; box-shadow: none; }
body.studio-page .sbtn.accent { background: linear-gradient(135deg, var(--c1, #7c3aed), var(--c2, #3b82f6)); color: #fff; border-color: transparent; box-shadow: 0 10px 30px -12px rgba(124, 58, 237, .7); }
body.studio-page .sbtn.accent:hover { filter: saturate(1.08); box-shadow: 0 14px 34px -12px rgba(124, 58, 237, .9); }
body.studio-page .sbtn .kbd { background: rgba(255, 255, 255, .12); color: inherit; }
body.studio-page .sbtn.sm { height: 34px; border-radius: 999px; }
body.studio-page .st-actions .sbtn b, body.studio-page .st-actions .sbtn .n { font-family: 'Montserrat', 'Inter', sans-serif; }
body.studio-page .st-toolbar { padding: 14px 0 4px; border-top: 1px solid var(--f-line); }
body.studio-page .st-seg { background: var(--f-card); border-color: var(--f-line); border-radius: 999px; padding: 3px; }
body.studio-page .st-seg button { border-radius: 999px; font-weight: 600; color: var(--f-ink3); }
body.studio-page .st-seg button.on { background: #fff; color: #0b0b12; }
body.studio-page .st-pick { background: var(--f-card); border-color: var(--f-line); border-radius: 999px; }
body.studio-page .st-col-head { color: var(--f-ink2); }
body.studio-page .st-col-head b { font-family: 'Montserrat', 'Inter', sans-serif; color: #fff; }

/* cards */
body.studio-page .st-grid { gap: 16px; }
body.studio-page .st-card { padding: 12px; border-radius: 20px; background: var(--f-card); border: 1px solid var(--f-line); box-shadow: none; animation-duration: .45s; }
body.studio-page .st-card:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .22); box-shadow: 0 20px 44px -26px rgba(0, 0, 0, .9); background: var(--f-card2); }
body.studio-page .st-card::after, body.studio-page .st-card::before { display: none; }
body.studio-page .st-thumb { border-radius: 12px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
body.studio-page .st-card-meta { padding: 4px 4px 2px; }
body.studio-page .st-card-meta b { font-size: 13px; font-weight: 700; }
body.studio-page .st-card-meta span { color: var(--f-ink3); font-weight: 600; letter-spacing: .02em; }

/* editor */
body.studio-page .st-editor { border-radius: 22px; background: var(--f-card); border: 1px solid var(--f-line); box-shadow: none; }
body.studio-page .st-ed-top { border-bottom: 1px solid var(--f-line); }
body.studio-page .st-ed-title b { font-family: 'Montserrat', 'Inter', sans-serif; font-weight: 800; }
body.studio-page .st-ed-side { background: rgba(255, 255, 255, .02); border-inline-start: 1px solid var(--f-line); }
body.studio-page .ed-sec { border-bottom: 1px solid var(--f-line); }
body.studio-page .ed-sec > b, body.studio-page .ed-sec > h4, body.studio-page .ed-sec summary { font: 700 11.5px/1 'Montserrat', 'Inter', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--f-ink3); }
[dir=rtl] body.studio-page .ed-sec > b, [dir=rtl] body.studio-page .ed-sec > h4, [dir=rtl] body.studio-page .ed-sec summary { font-family: 'Vazirmatn', 'Inter', sans-serif; letter-spacing: 0; font-size: 12.5px; }
body.studio-page .ed-field input, body.studio-page .ed-field textarea, body.studio-page .ed-field select { background: rgba(255, 255, 255, .04); border: 1px solid var(--f-line2); border-radius: 12px; color: #fff; }
body.studio-page .ed-field input:focus, body.studio-page .ed-field textarea:focus { border-color: rgba(167, 139, 250, .6); box-shadow: 0 0 0 3px rgba(124, 58, 237, .18); }
body.studio-page .ed-styles button, body.studio-page .ed-formats button, body.studio-page .ed-toggle-group button { border-radius: 999px; background: var(--f-card); border: 1px solid var(--f-line); font-weight: 600; }
body.studio-page .ed-styles button.on, body.studio-page .ed-formats button.on, body.studio-page .ed-toggle-group button.on { background: #fff; color: #0b0b12; border-color: #fff; }
body.studio-page .ed-swatches button { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
body.studio-page .ed-note { color: var(--f-ink3); }
body.studio-page .ed-export { background: linear-gradient(160deg, rgba(124, 58, 237, .12), rgba(59, 130, 246, .06) 60%, transparent); }

/* admin panel on the studio page */
body.studio-page .ad-panel { border-radius: 22px; background: var(--f-card); border: 1px solid var(--f-line); box-shadow: none; }

/* footer */
body.studio-page .footer { border-top: 1px solid var(--f-line); margin-top: 10px; color: var(--f-ink3); }
body.studio-page .footer .footer-links a { border-radius: 999px; border: 1px solid var(--f-line); background: var(--f-card); color: var(--f-ink2); }

@media (max-width: 767px) {
  body.studio-page .st-main { width: min(100%, 100% - 28px); }
  body.studio-page .st-hero { padding-top: 18px; }
  body.studio-page .st-hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border-top: 0; }
  body.studio-page .st-hero-stats .stat, [dir=rtl] body.studio-page .st-hero-stats .stat { padding: 14px; border: 1px solid var(--f-line); border-radius: 14px; background: var(--f-card); }
  body.studio-page .st-hero-stats .stat:not(:first-child) { padding-inline-start: 14px; }
  body.studio-page .st-hero-art { display: none; }
}
@media (prefers-reduced-motion: reduce) { body.studio-page .sbtn, body.studio-page .st-card { transition: none; } }
