/* Shared studio finish. Layout, typography, game boards and canvas sizes are retained. */
@layer personalization {
html[data-studio][data-appearance][data-theme] body .site > .screen:not(#home) {
  background:var(--concept-page)!important;color:var(--concept-text)!important;
}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) :is(.card,.cloud-card,.social-access-card,.access-gate,.guest-access,.game-mode-picker,.radio-panel,.radio-player,.radio-station) {
  background:var(--concept-surface)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;
  border-radius:13px!important;box-shadow:var(--concept-shadow)!important;filter:none!important;
}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) .section-banner {
  background:var(--concept-surface)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;box-shadow:var(--concept-shadow)!important;
}
html[data-studio][data-appearance][data-theme=dark] body .site .screen:not(#home) .section-banner {
  background:radial-gradient(ellipse at 50% 0,color-mix(in srgb,var(--concept-accent) 13%,transparent),transparent 75%),var(--concept-surface)!important;
}
html[data-studio][data-appearance][data-theme] body .site .section-banner :is(h1,h2,p) {color:var(--concept-text)!important;text-shadow:none!important}
html[data-studio][data-appearance][data-theme] body .site .section-banner p {color:var(--concept-muted)!important}
html[data-studio][data-appearance][data-theme] body .site .section-banner .section-banner-tags > span {
  background:var(--concept-subtle)!important;color:var(--concept-accent)!important;border-color:var(--concept-line)!important;box-shadow:none!important;
}
html[data-studio][data-appearance][data-theme] body .site [data-studio-art] {
  position:relative!important;background:none!important;color:var(--concept-accent)!important;filter:none!important;text-shadow:none!important;
}
[data-studio-art] > .studio-legacy-art {display:contents;visibility:hidden}
[data-studio-art] > .studio-banner-art {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;
  fill:none!important;stroke:currentColor!important;stroke-width:1.35!important;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;
}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) :is(.cloud-login,.cloud-profile-top,.security-panel,.security-note,.guest-session-panel,.notice,.friend,.cloud-friend,.friend-list-panel,.friend-chat-panel,.friend-dm-messages,.chat-card-top,.messages,.composer,.chat-more-panel,.queue-details,.package-summary,.package-reason,.package-feedback,.admin-reference,.admin-privileges,.admin-toolbar,.admin-stat,.admin-user,.admin-panel,.admin-operation-panel,.radio-now-playing) {
  background:var(--concept-subtle)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;box-shadow:none!important;
}
html[data-studio][data-appearance][data-theme] body .site #socialAccessPage .social-access-panel {background:var(--concept-surface)!important;border-color:var(--concept-line)!important;box-shadow:var(--concept-shadow)!important}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) :is(h1,h2,h3,h4,label,.cloud-profile-name,.profile-name,.chat-person strong,.section-title-pill) {
  color:var(--concept-text)!important;text-shadow:none!important;
}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) :is(.cloud-login-description,.cloud-caption,.cloud-note,.cloud-form-help,.profile-help,.security-note,.auth-note,.dating-note,.radio-source,.radio-status,.section-caption,.chat-status-row,.chat-person small,.friend-dm-note,.friend-dm-empty,.package-fine,.package-lead,.admin-help,.muted) {
  color:var(--concept-muted)!important;text-shadow:none!important;
}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]),select,textarea) {
  background:var(--concept-field)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;border-radius:9px!important;box-shadow:none!important;
}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) :is(input,textarea)::placeholder {color:var(--concept-muted)!important;opacity:1}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) :is(button.primary,.big,.cloud-login-submit) {
  background:var(--concept-primary)!important;color:var(--concept-primary-ink)!important;border-color:var(--concept-primary)!important;
  border-radius:8px!important;box-shadow:inset 0 1px 0 #ffffff14!important;text-shadow:none!important;filter:none!important;
}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) :is(button.secondary,.security-tabs button,.account-auth-tabs button,.package-tabs button,.admin-tab) {
  background:var(--concept-subtle)!important;color:var(--concept-accent)!important;border-color:var(--concept-line)!important;
  border-radius:8px!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;
}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) :is(.account-auth-tabs,.security-tabs,.package-tabs) button[aria-pressed=true],
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) .admin-tab[aria-selected=true] {
  background:var(--concept-accent-soft)!important;color:var(--concept-accent)!important;border-color:var(--concept-accent)!important;outline-color:var(--concept-accent)!important;
}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) :is(button.text-link,a) {color:var(--concept-accent)!important;text-shadow:none!important;filter:none!important}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) :is(button,input,select,textarea,a):focus-visible {outline:2px solid var(--concept-accent)!important;outline-offset:3px!important}
html[data-studio][data-appearance][data-theme] body :is(.site,dialog) input[type=range] {accent-color:var(--concept-accent)!important}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) :is(.dating-table,.package-table,.admin-table) {background:var(--concept-surface)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) :is(.dating-table,.package-table,.admin-table) :is(td,th) {border-color:var(--concept-line)!important;color:var(--concept-text)!important}
html[data-studio][data-appearance][data-theme] body .site .screen:not(#home) :is(.dating-table,.package-table,.admin-table) thead th {background:var(--concept-subtle)!important;color:var(--concept-muted)!important}
html[data-studio][data-appearance][data-theme] body .site #dating :is(.dating-table-scroll,.dating-table tbody tr) {background:var(--concept-subtle)!important;border-color:var(--concept-line)!important}
html[data-studio][data-appearance][data-theme] body .site #dating .dating-table tbody td {background:transparent!important;border-color:var(--concept-line)!important}
html[data-studio][data-appearance][data-theme] body .site #dating .dating-table td::before {color:var(--concept-muted)!important}
html[data-studio][data-appearance][data-theme] body .site #admin :is(.admin-monitor-item,.admin-detail,.admin-search,.admin-user-history,.admin-audit,.admin-security,.admin-monitoring,.admin-facts,.admin-confirm,.admin-delete-toolbar,.ops-card,.ops-row) {background:var(--concept-subtle)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;box-shadow:none!important}
html[data-studio][data-appearance][data-theme] body .site #admin .admin-user[aria-pressed=true] {background:var(--concept-accent-soft)!important;border-color:var(--concept-accent)!important}
html[data-studio][data-appearance][data-theme] body .site #packages {
  --package-accent:var(--concept-accent)!important;--package-soft:var(--concept-subtle)!important;
  --package-selected:var(--concept-accent-soft)!important;--package-selected-ink:var(--concept-text)!important;
  --package-muted:var(--concept-muted)!important;--package-card-bg:var(--concept-surface)!important;
}
html[data-studio][data-appearance][data-theme] body .site #packages :is(.package-highlight-icon,.package-price strong) {color:var(--concept-accent)!important}
html[data-studio][data-appearance][data-theme] body :is(.site .screen:not(#home),dialog) button:is(.primary,.secondary):disabled {
  background:var(--concept-subtle)!important;color:var(--concept-muted)!important;border-color:var(--concept-line)!important;box-shadow:none!important;opacity:.65!important;
}
html[data-studio][data-appearance][data-theme] body dialog {background:var(--concept-surface)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;box-shadow:0 20px 70px #0005!important}
html[data-studio][data-appearance][data-theme] body dialog::backdrop {background:#10151bb3!important;backdrop-filter:blur(4px)}
html[data-studio][data-appearance][data-theme] body dialog :is(h2,h3,strong,label) {color:var(--concept-text)!important;text-shadow:none!important}
html[data-studio][data-appearance][data-theme] body dialog :is(.friend-dm-head,.friend-dm-messages,.friend-dm-form,.dating-profile-detail,.history-toolbar) {border-color:var(--concept-line)!important}
html[data-studio][data-appearance][data-theme] body dialog :is(.friend-dm-head,.friend-dm-form) {background:var(--concept-subtle)!important;color:var(--concept-text)!important;box-shadow:none!important}
html[data-studio][data-appearance][data-theme] body dialog#friendDmDialog #friendDmClose {border-radius:50%!important}
html[data-studio][data-appearance][data-theme] body dialog .friend-dm-messages {background:var(--concept-subtle)!important}
html[data-studio][data-appearance][data-theme] body :is(dialog,.site) :is(.friend-dm-bubble,.message) {background:var(--concept-surface)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;box-shadow:none!important}
html[data-studio][data-appearance][data-theme] body :is(dialog,.site) :is(.friend-dm-bubble--mine,.message.mine) {background:var(--concept-accent-soft)!important;color:var(--concept-text)!important}
html[data-studio][data-appearance][data-theme] body :is(dialog,.site) .friend-dm-bubble small {color:var(--concept-muted)!important}
html[data-studio][data-appearance][data-theme] body :is(dialog,.site .screen:not(#home)) :is(.danger,.security-delete-warning,.delete-final-step,.account-field-error,.account-form-status.error,.friend-dm-error:not(:empty),[role=alert]) {color:#b62f49!important;border-color:#bc556b!important}
html[data-studio][data-appearance][data-theme=dark] body :is(dialog,.site .screen:not(#home)) :is(.danger,.security-delete-warning,.delete-final-step,.account-field-error,.account-form-status.error,.friend-dm-error:not(:empty),[role=alert]) {color:#ffabb8!important;border-color:#aa6171!important}
html[data-studio][data-appearance][data-theme] body :is(dialog,.site .screen:not(#home)) button.danger {background:color-mix(in srgb,#b62f49 10%,var(--concept-surface))!important}
html[data-studio][data-appearance][data-theme] body .site footer.footer {background:var(--concept-page)!important;color:var(--concept-muted)!important;border-color:var(--concept-line)!important;box-shadow:none!important}
html[data-studio][data-appearance][data-theme] body .site footer.footer :is(a,button) {color:var(--concept-accent)!important;border-color:var(--concept-line)!important;filter:none!important;text-shadow:none!important}
html.anonimka-static[data-studio][data-appearance][data-theme] :is(main,.wrap>header,.plan,.legal-bottom-navigation,.home-return) {background:var(--concept-surface)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important;box-shadow:var(--concept-shadow)!important}
html.anonimka-static[data-studio][data-appearance][data-theme] :is(.notice,.nav a,thead,thead th) {background:var(--concept-subtle)!important;color:var(--concept-text)!important;border-color:var(--concept-line)!important}
html.anonimka-static[data-studio][data-appearance][data-theme] :is(td,th,hr,footer,header) {border-color:var(--concept-line)!important}
html.anonimka-static[data-studio][data-appearance][data-theme] :is(h1,h2,h3,.brand,.price) {color:var(--concept-text)!important;text-shadow:none!important}
html.anonimka-static[data-studio][data-appearance][data-theme] :is(.muted,.meta,.fine,.age,footer) {color:var(--concept-muted)!important}
html.anonimka-static[data-studio][data-appearance][data-theme] a {color:var(--concept-accent)!important;box-shadow:none!important;filter:none!important;text-shadow:none!important}
html.anonimka-static[data-studio][data-appearance][data-theme] :is(.legal-bottom-navigation,.nav) a {background:var(--concept-subtle)!important;border-color:var(--concept-line)!important;border-radius:8px!important}
/* Reserve the existing control area without adding a header row. */
html.anonimka-static[data-studio][data-appearance][data-theme] header:has(>strong) {flex-wrap:nowrap!important}
html.anonimka-static[data-studio][data-appearance][data-theme] header>strong {flex:0 0 auto}
html.anonimka-static[data-studio][data-appearance][data-theme] header:has(>strong)>a {
  margin:-6px 98px -6px -6px!important;padding:6px!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
}
