/* Circle uses the studio design language. No legacy theme or override bundle. */
@layer mechanics, foundation, components, workspace;
@layer components {
.circle-identity-dialog {width:min(480px,calc(100vw - 32px));padding:28px}
.circle-identity-form {display:grid;gap:16px}
.circle-identity-form :is(h2,p) {margin:0}
.circle-identity-form h2 {font-size:22px;line-height:1.6}
.circle-identity-form :is(p,small) {color:var(--ui-muted)}
.circle-identity-form label {display:grid;gap:8px}
.circle-identity-form input {width:100%;min-height:48px;padding:10px 12px;font:inherit;font-size:16px;border:1px solid var(--ui-line);border-radius:10px;background:var(--ui-bg);color:var(--ui-text)}
.circle-identity-form footer {display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.circle-identity-form footer :is(button,a) {min-height:44px;display:inline-flex;align-items:center}
.circle-identity-form .community-error:not(:empty) {color:var(--ui-danger)}
/* Scoped aliases also support Circle dialogs opened by older administrative pages. */
:is(.community-page,.community-dialog,.community-settings,.community-admin,.social-dashboard,.community-toast,.community-avatar-preview,.playlist-library-dialog,.playlist-prompt,.podly-persistent-player) {
 --social-panel:var(--ui-surface,#1b1b1b);--social-panel-2:var(--ui-raised,#242424);--social-line:var(--ui-line,#343434);--social-text:var(--ui-text,#f4f2f7);--social-muted:var(--ui-muted,#bcb8c3);
 --circle-surface:var(--social-panel);--circle-surface-soft:var(--ui-bg,#111111);--circle-border:var(--social-line);--circle-accent:var(--ui-accent,#bb8bff);
 --circle-blue:var(--ui-info,#75d3ef);--circle-green:var(--ui-success,#65d9b0);--circle-orange:var(--ui-action,#ff693e);--circle-red:var(--ui-danger,#ff9bac);--circle-gold:var(--ui-warning,#f4c474);
 color:var(--social-text);font-family:var(--ui-font,Vazirmatn,Tahoma,sans-serif);font-size:14px;line-height:1.85;
}
.community-page {--podly-player-height:86px;--podly-circle-nav-height:0px;--circle-nav-height:76px;background:var(--ui-bg);min-height:100dvh}
.community-page :is(main,section,article,aside,form,header,footer),.community-dialog * {min-width:0;box-sizing:border-box}
.community-page a {text-decoration:none}
.community-page :is(button,a,input,textarea,select):focus-visible,.community-dialog :focus-visible {outline:2px solid var(--circle-accent);outline-offset:4px}
.community-page :is(button,a) {touch-action:manipulation}
.community-page svg,.community-dialog svg {fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;width:22px;height:22px;flex:none}
.community-page [hidden],.community-dialog [hidden] {display:none!important}
.circle-skip-link {position:fixed;top:8px;right:16px;z-index:100;transform:translateY(-160%);padding:10px 20px;background:var(--ui-accent-fill);color:var(--ui-accent-on);border-radius:10px}
.circle-skip-link:focus {transform:none}
/* Shell */
.community-top {height:80px;padding-inline:max(24px,calc((100vw - 1240px)/2));background:var(--ui-sidebar);border-bottom:1px solid var(--ui-line);gap:16px}
.circle-header-brand {display:flex;align-items:center;gap:20px;overflow:visible;flex:initial}
.circle-header-brand>i {display:block;width:1px;height:28px;background:var(--ui-line)}
.community-top .podly-logo {display:block;width:94px;height:34px;background:url('/assets/brand/podly-white.webp') center/contain no-repeat}
:root[data-podly-theme=light] .community-top .podly-logo {filter:invert(1)}
.circle-wordmark {gap:10px;color:var(--ui-text);white-space:nowrap}
.circle-wordmark>span:last-child {display:grid;gap:0}
.circle-name {font-size:19px;font-weight:750;line-height:1.4}
.circle-wordmark small {display:block;font-size:10px;letter-spacing:.5px;color:var(--ui-muted)}
.circle-wordmark .circle-logo {width:24px;height:24px}
.community-top nav {gap:10px;flex:none}
.community-studio-link {display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:9px 16px;border:0;border-radius:0;background:transparent;color:var(--ui-text);font-size:13px;font-weight:700}
.community-top :is(.podly-theme-toggle,.circle-notification-button) {display:grid;place-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:12px;background:transparent;box-shadow:none}
.community-top nav>:is(button,a):hover {background:transparent;color:var(--ui-accent);text-decoration:none}
.community-top nav>:is(button,a):focus-visible {outline:0;color:var(--ui-accent);box-shadow:0 2px 0 var(--ui-accent)}
.community-layout,.circle-profile-page .community-layout,.circle-playlists-page .community-layout,.circle-profile-settings-page .community-layout {width:min(1240px,100%);max-width:1240px;grid-template-columns:220px minmax(0,760px);justify-content:center;gap:32px;margin:28px auto 60px;padding:0 24px}
.community-side {top:104px;padding:12px;background:var(--ui-sidebar);border:1px solid var(--ui-line);border-radius:16px}
.community-side-links {gap:6px;margin:0}
.community-side-links :is(a,button) {display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:12px;text-align:start;border:0;border-radius:10px;background:transparent;color:var(--ui-muted);font-size:14px;font-weight:500}
.community-side-links :is(a,button):hover {background:var(--ui-hover);color:var(--ui-text)}
.community-side-links a[aria-current=page] {background:var(--ui-accent-soft);color:var(--ui-accent)}
.community-side-links span {display:grid;place-items:center;width:24px;flex:none}
.circle-side-footer {display:flex;gap:18px;padding:20px 12px 8px;margin-top:16px;border-top:1px solid var(--ui-line);font-size:12px;color:var(--ui-muted)}
.circle-side-footer a {color:inherit}
.community-stream,.circle-playlists-page .community-stream,.circle-playlists-page #communityProfile {width:100%;max-width:none}
.community-feed-head {margin-bottom:20px}.community-feed-head h1,.community-feed-head h2 {font-size:24px;color:var(--ui-text)}
.community-eyebrow {font-size:12px;color:var(--ui-accent)}
.community-footer {font-size:12px;color:var(--ui-muted);padding:24px 20px 40px}
.community-footer a {color:inherit}
/* Short actions keep a single label line in narrow layouts. */
:is(.community-profile-actions,.community-dialog footer,.community-publish-form footer,.playlist-prompt footer,.playlist-library-dialog footer) :is(button,a),.community-tags button,.cover-style-filters button {white-space:nowrap;flex-shrink:0}
.community-profile-actions>* {flex-basis:auto}
/* Common surfaces and actions */
:is(.community-post,.community-profile,.community-settings section,.community-manage-card,.social-dashboard-hero,.social-dashboard-posts,.community-admin-stats article,.community-admin-tools,.community-report,.community-right-card,.community-follow-suggestions,.playlist-now,.playlist-queue,.playlist-list-card,.community-verification-admin,.admin-verification-request,.admin-verified-profile,.admin-verified-list) {background:var(--social-panel,var(--ui-surface));border:1px solid var(--social-line,var(--ui-line));border-radius:var(--ui-radius,14px);box-shadow:none}
:is(.community-page,.community-dialog,.community-settings,.community-admin,.social-dashboard) :where(button,.community-primary,.community-profile-actions a,.community-settings-head>a) {min-height:44px;padding:9px 14px;border:1px solid var(--social-line);border-radius:var(--ui-control-radius,10px);background:var(--social-panel-2);color:var(--social-text);font:inherit;font-size:13px;font-weight:550;cursor:pointer;transition:background-color .18s,border-color .18s}
:is(.community-page,.community-dialog,.community-settings,.community-admin,.social-dashboard) button:hover:not(:disabled) {border-color:var(--ui-line-strong,#626262);background:var(--ui-hover,#2b2b2b)}
:is(.community-primary,.community-dialog button[type=submit],.community-settings button[type=submit],.playlist-prompt button[type=submit],.community-publish-submit) {background:var(--ui-action,#ff693e);color:var(--ui-action-on,#21100b);border-color:transparent;font-weight:700}
:is(.community-page,.community-dialog,.community-settings) :is(.community-primary,button[type=submit]):hover:not(:disabled) {background:var(--ui-action,#ff693e);filter:brightness(1.06)}
:is(.community-page,.community-dialog,.community-settings,.community-admin) :where(input:not([type=range]):not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),textarea,select) {width:100%;min-height:46px;border:1px solid var(--ui-line-strong,#626262);border-radius:10px;background:var(--circle-surface-soft);color:var(--social-text);font:inherit;padding:10px 13px}
:is(.community-page,.community-dialog,.community-settings) :is(input[type=checkbox],input[type=radio],input[type=range]) {accent-color:var(--ui-accent-fill,#9d4edd)}
.community-page small,.community-dialog small {font-size:12px;color:var(--social-muted)}
:is(.community-error,.danger-text,[data-withdraw],[data-remove-verification]) {color:var(--ui-danger,#ff9bac)}
.community-error {background:var(--ui-danger-soft,#3c2128);border-radius:10px}
.community-success {color:var(--ui-success,#65d9b0)}
.community-page .community-verification svg,.community-dialog .community-verification svg {display:block;width:100%;height:100%;stroke-width:1.8}
.community-author-name strong,.community-profile-identity h1 {display:flex;align-items:center;gap:5px;flex-wrap:wrap}
/* Feed and media */
#communityFeed {display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:none;gap:24px;align-items:start}
.community-post {overflow:hidden;padding:0;margin:0}
.community-author {padding:18px 20px;gap:12px}
.community-author-name strong {font-size:14px;color:var(--ui-text)}
.community-author-name small {font-size:12px;color:var(--ui-muted)}
.community-author-name {min-width:0;flex:1;text-align:start;justify-items:start}
.community-author-name strong {text-align:start;line-height:1.7;overflow-wrap:anywhere}
.community-author-name small {text-align:start;unicode-bidi:plaintext;line-height:1.6}
.community-avatar {display:inline-grid;place-items:center;position:relative;flex:none;width:44px;height:44px;border-radius:50%;overflow:hidden;background:var(--ui-accent-soft);color:var(--ui-accent);font-size:18px;font-weight:700}
.community-avatar img {width:100%;height:100%;object-fit:cover}
.community-verification {display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:var(--verification-color,var(--ui-info));color:var(--ui-bg);vertical-align:middle;font-size:11px}
.community-page .community-follow {margin-inline-start:auto;background:var(--ui-accent-soft);border-color:transparent;color:var(--ui-accent);font-size:12px;white-space:nowrap}
.community-page .community-post-menu {padding:10px;width:44px;min-width:44px;border:0;background:transparent;color:var(--ui-muted)}
.community-own-badge,.community-post-tab {color:var(--ui-accent);background:var(--ui-accent-soft);border-radius:8px;padding:4px 9px;font-size:12px}
.circle-audio-stage {position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;gap:24px;min-height:270px;padding:28px;background:var(--ui-raised);color:var(--ui-text);overflow:hidden}
.circle-audio-stage::before,.circle-audio-stage::after {display:none}
.circle-audio-stage-head {display:flex;align-items:center;gap:12px;position:relative;z-index:1}
.circle-audio-stage-head>div {display:grid;gap:2px}.circle-audio-stage-head time {margin-inline-start:auto;color:var(--ui-muted);font-size:12px}
.circle-audio-stage-head small {font-size:12px;color:var(--ui-muted)}.circle-audio-stage-head strong {font-size:13px;font-weight:500}
.circle-audio-stage h3 {position:relative;z-index:1;margin:0;font-size:23px;line-height:1.8;text-align:start}
.circle-audio-stage h3 a {color:inherit}
.circle-audio-stage.has-cover {background:var(--ui-surface);padding-top:24px}
.circle-audio-stage .circle-cover {position:relative;inset:auto;width:100%;max-height:440px;object-fit:cover;opacity:1;filter:none;border-radius:12px;order:-1;cursor:zoom-in}
.circle-audio-stage.has-image-post {padding:0;min-height:0;gap:0}
.circle-image-post img {display:block;width:100%;max-height:680px;object-fit:contain}
.podly-social-player {position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;padding:14px;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface);direction:ltr}
.podly-social-player .social-play {display:grid;place-items:center;width:48px;height:48px;min-height:48px;padding:0;border-radius:50%;background:var(--ui-accent-fill);color:var(--ui-accent-on);border:0}
.podly-social-player .social-play span {display:grid;place-items:center;color:inherit;line-height:1}
.podly-social-player .social-play svg,.community-profile-tile-play svg {display:block;width:22px;height:22px;fill:currentColor;stroke:none}
.podly-social-player .social-play:disabled svg {fill:none;stroke:currentColor;stroke-width:2;animation:circle-spin 1s linear infinite}
.podly-social-player.playing {border-color:var(--ui-accent)}
.social-wave {position:relative;width:100%;height:64px;min-width:0}.social-wave canvas {display:block;width:100%;height:64px}
.social-wave input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.social-wave:focus-within {outline:2px solid var(--ui-accent);outline-offset:4px;border-radius:6px}
.social-time {color:var(--ui-muted);font-size:12px;display:flex;grid-column:2;grid-row:2}.social-speed {font-size:12px;grid-column:3;grid-row:1;padding:0;display:grid;place-items:center}
.community-post-foot {padding:12px 18px;border-top:1px solid var(--ui-line);gap:8px}
.community-reactions {gap:8px}
.community-post-foot button {background:transparent;border-color:transparent;gap:7px;color:var(--ui-muted)}
.community-post-foot button {display:inline-flex;align-items:center;justify-content:center;min-width:44px;line-height:1;font-variant-numeric:tabular-nums}
.community-post-foot button:hover:not(:disabled) {border-color:transparent;background:var(--ui-hover);color:var(--ui-text)}
.community-post-foot button svg {width:22px;height:22px;display:block}
.community-post-foot button :is(span,b) {font-size:13px;font-weight:500;line-height:1.5}
.community-post-foot [aria-pressed=true] {color:var(--ui-danger);background:var(--ui-danger-soft)}
.community-post-content {padding:0 20px 14px}.community-caption {font-size:14px;line-height:2;color:var(--ui-text);overflow-wrap:anywhere;margin:8px 0}
.community-caption a,.community-hashtag,.community-mention,.community-inline-hashtag {color:var(--ui-accent)}
.community-views {font-size:12px;color:var(--ui-muted);margin:0}
.community-tags {padding:0 20px 20px;gap:8px}.community-tags:empty {display:none}
.community-tags :is(button,span) {min-height:32px;padding:4px 10px;border:0;border-radius:8px;background:var(--ui-raised);color:var(--ui-muted);font-size:12px}
.community-tags button {display:inline-flex;align-items:center;min-height:36px}
.community-no-results,.community-empty {padding:48px 24px;background:var(--ui-surface);border:1px dashed var(--ui-line-strong);border-radius:16px;color:var(--ui-muted)}
.community-empty h3 {font-size:18px;color:var(--ui-text)}.community-empty p {max-width:420px;font-size:14px;line-height:2}
/* Profiles and settings */
.circle-profile-page #communityProfile,.circle-profile-page #communityFeed {width:100%;max-width:100%;min-width:0;margin-inline:0}
.circle-profile-page #communityProfile>.community-profile-tabs {width:100%;max-width:100%;height:auto;min-height:0;margin:20px 0 16px;padding:0 0 8px;clip-path:none;overflow-x:auto}
.circle-profile-page #communityProfile>.community-profile-tabs a {flex:0 0 auto;height:auto;min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
.circle-profile-page .community-profile-gallery-head {width:100%;max-width:100%;margin:24px 0 16px;padding:0;flex-wrap:wrap}

.community-profile {width:100%;max-width:100%;margin-inline:0;padding:0 24px 24px;overflow:hidden}
.community-profile-cover {height:auto;aspect-ratio:8/3;margin-inline:-24px;background:var(--ui-accent-soft);overflow:hidden}
.community-profile-cover img {width:100%;height:100%;object-fit:cover}
.circle-profile-page .community-profile-main {flex-wrap:wrap;align-items:flex-start;gap:16px;margin-top:0;position:relative}
.circle-profile-page .community-profile-main>.community-avatar {margin-top:-34px;flex:none}
.circle-profile-page .community-profile-identity {padding-top:14px;text-align:start;justify-items:start}
.circle-profile-page .community-profile-identity h1 {text-align:start}
.circle-profile-page .community-profile-actions {padding-top:14px}
.community-profile-main>.community-avatar {width:88px;height:88px;border:4px solid var(--ui-surface)}
.community-profile-identity h1 {font-size:24px}.community-profile-identity small {font-size:12px}
.community-profile-actions {gap:8px;flex-wrap:wrap;align-items:center;margin-inline-start:auto}
.community-profile-stats {border-top:1px solid var(--ui-line);gap:24px;padding-top:18px}.community-profile-stats button {background:transparent;border:0}
.community-profile-tabs {display:flex;border:0;border-bottom:1px solid var(--ui-line);margin:20px 0 16px;padding:0 0 8px;gap:8px}
.community-profile-tabs a {color:var(--ui-muted);font-size:14px;min-width:100px;border-radius:10px}
.community-profile-tabs a[aria-current=page] {color:var(--ui-accent);background:var(--ui-accent-soft)}
.community-profile-tabs a[aria-current=page]::after {background:var(--ui-accent)}
.community-profile-grid {width:100%;max-width:100%;direction:rtl;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.community-profile-tile {position:relative;overflow:hidden;border:1px solid var(--ui-line);border-radius:14px;background:var(--ui-surface)}
.community-profile-tile-link {display:grid;place-items:center;position:relative;aspect-ratio:1;background:var(--ui-raised);overflow:hidden;color:var(--ui-accent)}
.community-profile-tile-link :is(img,video) {width:100%;height:100%;object-fit:cover}
.community-profile-tile-play {position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:44px;height:44px;display:grid;place-items:center;background:var(--ui-overlay);color:var(--ui-accent-on);border-radius:50%}
.community-profile-tile-stats {position:absolute;inset:auto 8px 8px auto;display:inline-flex;align-items:center;gap:5px;padding:4px 8px;background:var(--ui-surface);border-radius:8px;font-size:12px;color:var(--ui-text)}
.community-profile-tile-info {padding:12px;display:flex;gap:8px;align-items:center}.community-profile-tile-info a {color:var(--ui-text);font-size:14px;flex:1;white-space:normal;line-height:1.8}
.circle-profile-page .community-profile-tile-info strong {display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:3.6em;white-space:normal;overflow:hidden;overflow-wrap:anywhere;font-weight:600}
.community-profile-gallery-head>span {font-size:12px;font-weight:400;line-height:1.9;color:var(--ui-muted)}
.community-profile-gallery-head>strong {font-size:14px;font-weight:650}
.community-profile-tile-info button {position:absolute;top:8px;left:8px;z-index:2;width:44px;height:44px;flex:none;padding:10px;border:0;border-radius:50%;background:var(--ui-surface)}
.community-profile-tile-stats svg {width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.community-profile-tile-placeholder svg {width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.5}
.community-profile-tile-play svg[data-image-icon] {fill:none;stroke:currentColor;stroke-width:1.8}
.community-settings {max-width:100%}.community-settings-head {padding:0 0 20px}.community-settings-head h2 {font-size:24px}
.community-settings-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.community-settings section {padding:24px}.community-settings h3 {font-size:18px}.community-settings label {font-size:14px;line-height:1.9}
.community-settings :is(p,small,.handle-public-url,.handle-safety-state) {font-size:12px;color:var(--ui-muted)}
.community-settings .profile-form-row {gap:16px}.community-settings textarea {min-height:120px}
.profile-avatar-current {padding:16px;background:var(--ui-raised);border-radius:12px}.profile-avatar-presets {gap:10px}
.profile-avatar-presets button {border:2px solid transparent;padding:6px;background:var(--ui-raised)}
.profile-avatar-presets button.selected {border-color:var(--ui-accent)}
.profile-avatar-drop,.profile-cover-preview {border:1px dashed var(--ui-line-strong);border-radius:14px;background:var(--ui-bg);color:var(--ui-muted)}
.profile-avatar-drop.dragging,.profile-cover-preview.dragging {border-color:var(--ui-accent);background:var(--ui-accent-soft)}
.profile-cover-preview {aspect-ratio:8/3;overflow:hidden}.profile-cover-preview img {width:100%;height:100%;object-fit:cover}
.profile-cover-card form,.profile-link-row {padding:16px;background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:12px}
.profile-link-row>button {color:var(--ui-danger);background:var(--ui-danger-soft)}
.profile-verification-card.is-verified {border-color:var(--ui-success);background:var(--ui-success-soft)}
.profile-verification-card.is-pending,.community-cover-notice {background:var(--ui-warning-soft);color:var(--ui-warning);border-radius:12px;padding:14px}
.community-category-picker {gap:8px}.community-category-picker span {padding:9px 12px;min-height:44px;border:1px solid var(--ui-line);border-radius:10px;color:var(--ui-muted);background:var(--ui-raised);font-size:13px}
.community-category-picker input:checked+span {border-color:var(--ui-accent);background:var(--ui-accent-soft);color:var(--ui-accent)}
.community-category-picker input:focus-visible+span {outline:2px solid var(--ui-accent);outline-offset:3px}
/* Dialogs, comments, discovery, and publication */
.community-dialog,.playlist-library-dialog,.playlist-prompt,.cover-preview-dialog {border:1px solid var(--ui-line-strong,#626262);border-radius:20px;background:var(--social-panel,var(--ui-surface,#1b1b1b));color:var(--social-text,var(--ui-text,#f4f2f7));box-shadow:var(--ui-shadow,0 20px 70px #0005)}
.community-dialog::backdrop,.playlist-library-dialog::backdrop,.playlist-prompt::backdrop,.cover-preview-dialog::backdrop {background:var(--ui-overlay,#08080ab8);backdrop-filter:blur(5px)}
.community-dialog {padding:24px;max-height:calc(100dvh - 32px);overscroll-behavior:contain}
.community-dialog h2 {font-size:21px}.community-dialog h3 {font-size:16px}.community-dialog p {color:var(--social-muted);font-size:14px}
.community-dialog fieldset {border:0}.community-dialog header {gap:16px}.community-dialog footer {gap:10px;flex-wrap:wrap}
.community-dialog button[data-close][aria-label],.playlist-prompt [data-dialog-close] {min-width:44px;width:44px;height:44px;padding:8px;flex:none;font-size:22px;line-height:1}
.community-dialog button[data-close][aria-label],.playlist-prompt [data-dialog-close] {border:0;background:transparent;color:var(--ui-muted)}
.community-dialog :is(.publish-profile,.community-publish-preview,.community-publish-topics,.community-comment,.community-comment-reply,.community-republish-options label,.playlist-picker-list>button) {background:var(--social-panel-2);border:1px solid var(--social-line);border-radius:12px;padding:14px}
.community-publish-form {display:grid;gap:16px}.community-publish-form label {margin:0}.community-publish-fields {gap:16px}
.community-publish-form :is(input,textarea,select) {font-size:14px}.community-publish-form textarea {min-height:120px}
.community-publish-form footer {position:sticky;bottom:0;background:var(--social-panel);padding-top:16px;border-top:1px solid var(--social-line)}
.community-publish-profile,.community-publish-head,.community-publish-summary {border-color:var(--social-line);background:var(--social-panel-2)}
.community-comments {display:grid;gap:12px}.community-comment {font-size:14px}.community-comment-form {gap:10px;padding:16px;border-top:1px solid var(--social-line);background:var(--social-panel)}
.community-dialog.community-connections-dialog {height:fit-content;padding:0;overflow:hidden}
.community-connections {height:auto;min-height:0;max-height:min(680px,calc(100dvh - 40px));grid-template-rows:auto minmax(0,1fr) auto}
.community-connections>[data-connections-list] {padding-bottom:16px}
.community-connection em {font-style:normal;color:var(--social-muted)}
.community-share-choice,.community-republish-options label,.community-share-options button {border:1px solid var(--social-line);border-radius:12px;background:var(--social-panel-2);padding:16px}
.community-dialog.circle-search-dialog {border-radius:0;border-block:0;border-inline-end:0;padding:0;background:var(--ui-surface)}
.circle-search-panel>header {border-bottom:1px solid var(--ui-line)}.circle-search-panel>header h2 {font-size:23px}
.circle-search-form {border:1px solid var(--ui-line-strong);border-radius:12px;background:var(--ui-bg)}
.circle-search-form:focus-within {border-color:var(--ui-accent);box-shadow:0 0 0 2px var(--ui-accent-soft)}
.community-dialog .circle-search-form input[type=search] {border:0;background:transparent;outline:0;box-shadow:none}
.community-dialog .circle-search-form input[type=search]:is(:focus,:focus-visible) {outline:0;box-shadow:none}
.circle-search-form button {width:44px;min-width:44px;height:44px;background:transparent;border:0}
.circle-search-results {background:var(--ui-surface);border-radius:12px;color:var(--ui-text)}
.circle-search-results :is(a,button) {color:var(--ui-text);border-radius:10px;font-size:14px}
.circle-search-results :is(a,button):hover {background:var(--ui-hover)}
.circle-search-section h3,.circle-search-section-head h3 {font-size:13px;color:var(--ui-muted);margin:16px 8px 10px}
.circle-search-account,.circle-search-post,.circle-search-tag,.circle-search-recent>button {padding:12px;gap:12px;border:0;background:transparent}
.circle-search-empty,.circle-search-loading {padding:32px 16px;text-align:center;color:var(--ui-muted)}
.circle-search-all {background:var(--ui-accent-soft);color:var(--ui-accent)}
.circle-publish-project-card {display:grid;grid-template-columns:80px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px;border:1px solid var(--ui-line);background:var(--ui-raised);border-radius:12px}
.circle-publish-project-card :is(img,video) {width:80px;height:80px;object-fit:cover;border-radius:10px}
.circle-publish-project-card h3 {font-size:14px}.circle-publish-project-card small {font-size:12px}
.community-toast {position:fixed;z-index:12000;bottom:24px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);padding:12px 18px;border:1px solid var(--social-line);border-radius:12px;background:var(--social-panel-2);box-shadow:var(--ui-shadow);font-size:14px}
.community-toast.error {color:var(--ui-danger)}.community-toast.success {color:var(--ui-success)}
.cover-preview-dialog {width:min(1000px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:16px}
.cover-preview-dialog img {display:block;width:auto;max-width:100%;max-height:calc(100dvh - 100px);object-fit:contain;margin:auto;border-radius:10px}
.cover-preview-dialog header {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.community-avatar-preview {background:var(--ui-overlay)}.community-avatar-preview img {border-radius:50%;border:1px solid var(--ui-line-strong)}
/* Header account and notifications */
.circle-user-wrap,.circle-notification-wrap {position:relative}
.circle-account-menu,.circle-notification-menu,.circle-user-menu {background:var(--ui-surface);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:16px;box-shadow:var(--ui-shadow);padding:12px}
.circle-notification-menu {width:min(380px,calc(100vw - 32px));max-height:70dvh;overflow:auto;transform:none}
.circle-notification-menu header {border-bottom:1px solid var(--ui-line);padding:8px 8px 14px}
.circle-notification-item {background:var(--ui-raised);border-radius:10px;margin-top:8px;padding:12px;gap:12px}
.circle-notification-item small {font-size:12px;line-height:1.9}.circle-notification-item>i.success {color:var(--ui-success);background:var(--ui-success-soft)}
.circle-notification-toggle,.circle-account-toggle {width:44px;height:44px;display:grid;place-items:center;padding:8px;border-radius:50%}
.circle-notification-count {position:absolute;inset:0 0 auto auto;border-radius:99px;min-width:16px;background:var(--ui-action);color:var(--ui-action-on);font-size:10px;text-align:center}
/* Playlists */
.playlist-studio {--pl-accent:var(--ui-accent);--pl-line:var(--ui-line);--pl-panel:var(--ui-surface);color:var(--ui-text);font:14px/1.85 var(--ui-font)}
.playlist-studio h1 {font-size:26px}.playlist-studio h2 {font-size:20px}.playlist-studio :is(small,p,time) {font-size:12px;color:var(--ui-muted)}
.playlist-studio-head {margin-bottom:24px}.playlist-studio-head>div>span {color:var(--ui-accent);font-size:12px}
.playlist-now {padding:24px;gap:16px 24px;background:var(--ui-surface)}
.playlist-now-backdrop,.playlist-now::after {display:none}
.playlist-player-head,.playlist-queue>header {border-bottom:1px solid var(--ui-line)}
.playlist-art,.playlist-launch-cover,.playlist-track-cover,.playlist-list-icon {background:var(--ui-accent-soft);color:var(--ui-accent);border:1px solid var(--ui-line);border-radius:12px;overflow:hidden}
.playlist-art img,.playlist-launch-cover img,.playlist-track-cover img,.playlist-list-icon img {display:block;width:100%;height:100%;object-fit:cover}
.playlist-art {border-radius:18px}.playlist-art>span {display:grid;place-items:center;width:100%;height:100%}
.playlist-art>span svg {width:48px;height:48px}
.playlist-playing-bars {background:var(--ui-overlay);border-radius:8px}.playlist-playing-bars b {background:var(--ui-accent);border-radius:3px}
.playlist-now-copy h2 {font-size:20px}.playlist-now-copy small {font-size:12px;color:var(--ui-accent)}
.playlist-studio .playlist-play,.playlist-launch-toggle {background:var(--ui-accent-fill);color:var(--ui-accent-on);border:0;border-radius:50%}
.playlist-mode-controls button[aria-pressed=true] {color:var(--ui-accent);background:var(--ui-accent-soft)}
.playlist-progress input {accent-color:var(--ui-accent-fill)}.playlist-progress div {font-size:12px;color:var(--ui-muted)}
.playlist-track {border-bottom:1px solid var(--ui-line);padding:12px;gap:12px;background:var(--ui-surface)}
.playlist-track:last-child {border-bottom:0}.playlist-track.current {background:var(--ui-accent-soft)}.playlist-track:not(.current):hover {background:var(--ui-hover)}
.playlist-track :is(strong,small) {font-size:13px}.playlist-track strong {color:var(--ui-text)}
.playlist-track button,.playlist-mode-controls button {min-width:44px;min-height:44px}
.playlist-empty {color:var(--ui-muted);font-size:14px}.playlist-empty>span {background:var(--ui-accent-soft);color:var(--ui-accent);border-radius:14px}
.playlist-library-dialog header,.playlist-library-dialog footer {padding:18px;border-color:var(--ui-line)}
.playlist-library>button {background:var(--ui-raised);color:var(--ui-text);border:1px solid var(--ui-line);border-radius:12px;font-size:14px;margin-bottom:8px;padding:14px;min-height:64px}
.playlist-library>button.active,.playlist-picker-list>button[aria-pressed=true] {background:var(--ui-accent-soft);border-color:var(--ui-accent);color:var(--ui-accent)}
.playlist-prompt {padding:24px}.playlist-prompt-head {display:flex;align-items:center;justify-content:space-between;gap:16px}.playlist-prompt-field {display:grid;gap:8px}
.playlist-prompt input {width:100%;min-height:46px;padding:12px;background:var(--ui-bg);color:var(--ui-text);border:1px solid var(--ui-line-strong);border-radius:10px}
.playlist-picker {background:var(--ui-surface);color:var(--ui-text)}.playlist-picker-head,.playlist-picker-foot {padding:20px;border-color:var(--ui-line)}
.community-dialog .playlist-picker-create button {min-width:88px;width:auto}
.community-dialog .playlist-picker-create button span {display:inline}
.playlist-picker-icon {border-radius:10px;background:var(--ui-accent-soft);color:var(--ui-accent)}
.playlist-list-card {padding:8px;gap:8px}
.community-page .playlist-list-card>button[data-list] {background:transparent;border:0;border-radius:8px;padding:8px}
.community-page .playlist-list-card>button[data-list]:hover {background:var(--ui-hover)}
.community-page .playlist-transport button,.community-page .playlist-volume button {display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;line-height:1;border-radius:50%}
.playlist-list-menu {background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:12px;box-shadow:var(--ui-shadow)}
/* Loading and follow suggestions */
:is(.playlist-skeleton,.podly-skeleton-card,.circle-search-loading i,.podly-skeleton,.image-loading) {background:var(--ui-raised);border-radius:12px}
.playlist-skeleton::after {background:linear-gradient(90deg,transparent,var(--ui-hover),transparent)}
.community-follow-suggestions {padding:20px;margin-bottom:24px}.community-follow-suggestions h3 {font-size:18px}
.community-follow-suggestions-head span {color:var(--ui-muted);font-size:12px}.community-follow-suggestions-head a {color:var(--ui-accent);font-size:12px}
.community-follow-suggestion {background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:12px;flex-basis:170px;padding:16px}
.community-follow-suggestion-avatar>.community-avatar {width:46px;height:46px}.community-follow-suggestion strong {font-size:14px;color:var(--ui-text)}
.community-follow-suggestion :is(small,em) {font-size:12px;color:var(--ui-muted);font-style:normal}.community-follow-suggestion button {width:100%;margin-top:12px;background:var(--ui-accent-soft);color:var(--ui-accent)}
/* Video is a media surface with high-contrast transport, in both interface themes. */
.circle-audio-stage.has-video,.circle-video-shell {background:var(--ui-bg);color:var(--ui-text)}
.circle-video-shell {--circle-video-accent:var(--ui-accent);direction:ltr}
.circle-video-skeleton {background:var(--ui-raised)}.circle-video-skeleton::before {background:url('/assets/brand/podly-white.webp') center/contain no-repeat}
:root[data-podly-theme=light] .circle-video-skeleton::before {filter:invert(1)}
.circle-video-controls {background:var(--ui-overlay);color:var(--ui-accent-on);opacity:1}
.community-page .circle-video-center {background:var(--ui-overlay);color:var(--ui-accent-on);border:0;border-radius:50%;padding:10px}
.circle-video-center svg {fill:currentColor;stroke:none;width:28px;height:28px}
.circle-video-seek {appearance:none;width:100%;height:28px;background:transparent;accent-color:var(--ui-accent)}
.circle-video-seek::-webkit-slider-runnable-track {height:4px;border-radius:99px;background:linear-gradient(to right,var(--ui-accent) var(--progress,0%),var(--ui-line-strong) var(--progress,0%))}
.circle-video-seek::-webkit-slider-thumb {appearance:none;width:14px;height:14px;margin-top:-5px;border-radius:50%;background:var(--ui-accent)}
.circle-video-seek::-moz-range-track {height:4px;background:var(--ui-line-strong)}.circle-video-seek::-moz-range-progress {background:var(--ui-accent)}
/* Desktop persistent transport; mobile uses the post player. */
.podly-persistent-player {--podly-player-height:86px;color:var(--ui-text);font-family:var(--ui-font)}
.podly-player-shell {border-top:1px solid var(--ui-line-strong);background:var(--ui-sidebar);box-shadow:var(--ui-shadow)}
.podly-player-art {border:1px solid var(--ui-line);border-radius:12px;background:var(--ui-accent-soft);color:var(--ui-accent)}
.podly-player-art::before,.podly-player-art::after,.podly-player-art i {border:1px solid currentColor;border-radius:50%}
.podly-player-track strong {font-size:14px}.podly-player-track small {font-size:12px;color:var(--ui-muted)}
.podly-player-controls button,.podly-player-tools button {min-width:44px;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--ui-muted);font:inherit;font-size:12px}
.podly-player-controls .podly-player-toggle {background:var(--ui-accent-fill);color:var(--ui-accent-on);border-radius:50%}
.podly-player-progress {font-size:12px}.podly-player-progress input {accent-color:var(--ui-accent-fill)}
.podly-page-shell {background:var(--ui-bg)}
/* Mobile navigation remains below dialogs and clear of the feed. */
.circle-mobile-nav,.circle-mobile-more {display:none}
@media(max-width:1000px) and (min-width:781px) {
 .community-layout,.circle-profile-page .community-layout,.circle-playlists-page .community-layout,.circle-profile-settings-page .community-layout {grid-template-columns:180px minmax(0,1fr);gap:20px;padding-inline:20px}
 .community-side {padding:8px}.community-side-links :is(a,button) {padding:10px;font-size:13px}
 .playlist-now {grid-template-columns:130px minmax(0,1fr);gap:14px}.playlist-art {width:130px}
}
@media(max-width:780px) {
 .community-page {padding-bottom:calc(var(--circle-nav-height) + 20px + env(safe-area-inset-bottom))}
 .community-top {height:68px;padding-inline:16px;gap:10px}.circle-header-brand {gap:10px}.community-top .podly-logo {width:70px;height:30px}.circle-header-brand>i {height:24px}
 .circle-name {font-size:17px}.circle-wordmark {gap:8px}.circle-wordmark small {display:none}.circle-logo {width:22px;height:22px}
 .community-top nav {gap:8px}.community-top .community-studio-link {display:none}
 .community-layout,.circle-profile-page .community-layout,.circle-playlists-page .community-layout,.circle-profile-settings-page .community-layout {display:block;width:100%;max-width:100%;padding:0 14px;margin:20px auto 0}
 .community-side {display:none}.community-stream {padding:0}.community-feed-head {margin:0 4px 16px}.community-feed-head h1,.community-feed-head h2 {font-size:22px}
 #communityFeed {gap:20px}.community-post {border-radius:16px}.community-author {padding:14px;gap:10px}.community-author-name strong {font-size:13px}
 .community-page .community-follow {padding:8px 10px}.community-page .community-post-menu {width:36px;min-width:36px;padding:6px}
 .circle-audio-stage {padding:20px 16px;gap:20px;min-height:250px}.circle-audio-stage h3 {font-size:20px}.circle-audio-stage-head time {font-size:11px}
 .podly-social-player {grid-template-columns:44px minmax(0,1fr) auto;padding:10px;gap:8px}.podly-social-player .social-play {width:44px;height:44px;min-height:44px}
 .community-post-foot {padding:10px;gap:4px}.community-reactions {gap:4px}.community-post-foot button {padding:8px;gap:5px}.community-post-content {padding:0 16px 12px}.community-tags {padding:0 16px 16px}
 .community-profile,.circle-profile-page .community-profile {width:100%;margin-inline:0;padding:0 16px 20px}.community-profile-cover,.circle-profile-page .community-profile-cover {margin-inline:-16px;aspect-ratio:8/3}
 .community-profile-identity h1 {font-size:20px}.community-profile-main>.community-avatar {width:76px;height:76px}.community-profile-main {gap:12px}
 .community-profile-actions {width:100%;margin:4px 0 0;padding:0}.community-profile-actions>* {flex:1;justify-content:center;text-align:center}
 .community-profile-tabs {margin:16px 0;padding:0 0 8px}.community-profile-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .community-settings section {padding:18px}.community-settings-layout {gap:16px}.profile-form-row {grid-template-columns:1fr}
 .community-page input,.community-page textarea,.community-dialog input,.community-dialog textarea,.playlist-prompt input {font-size:16px}
 .community-dialog {width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;border-radius:18px}
 .community-dialog.circle-search-dialog {width:100%;height:100dvh;max-height:100dvh;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);border-radius:0}
 .circle-search-panel>header {padding:20px 18px}.circle-search-form {margin:16px}.circle-search-dialog .circle-search-results {padding:8px 12px 24px}
 .circle-notification-menu {position:fixed;inset:76px 12px auto;max-height:calc(100dvh - 180px);width:auto}
 .circle-mobile-nav {position:fixed;z-index:50;inset:auto 12px max(10px,env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;width:auto;height:68px;transform:none;padding:6px;gap:4px;border:1px solid var(--ui-line-strong);border-radius:20px;background:var(--ui-sidebar);box-shadow:var(--ui-shadow)}
 .circle-mobile-nav>a,.circle-mobile-nav>button {display:grid;place-items:center;align-content:center;gap:2px;width:auto;height:54px;min-height:44px;padding:4px;border:0;border-radius:12px;background:transparent;color:var(--ui-muted);font-size:12px}
 .circle-mobile-nav span,.circle-mobile-nav button span {display:grid;place-items:center;width:24px;height:24px}.circle-mobile-nav small {font-size:11px;color:inherit;line-height:1.6}
 .circle-mobile-nav a[aria-current=page],.circle-mobile-nav button[aria-expanded=true] {background:var(--ui-accent-soft);color:var(--ui-accent)}
 .circle-mobile-nav .publish {align-content:center;background:var(--ui-action);color:var(--ui-action-on)}
 .circle-mobile-nav .publish span {width:24px;height:24px;margin:0;background:none}.circle-mobile-nav .publish small {margin:0}
 .circle-mobile-more {position:fixed;z-index:49;inset:auto 12px calc(90px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr;gap:8px;padding:12px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:16px;box-shadow:var(--ui-shadow)}
 .circle-mobile-more :is(a,button) {display:flex;gap:12px;align-items:center;min-height:48px;padding:12px;border:0;border-radius:10px;background:var(--ui-raised);color:var(--ui-text);font-size:14px}
 .circle-mobile-menu-open::before {background:var(--ui-overlay)}
 .community-toast {bottom:calc(94px + env(safe-area-inset-bottom))}
 .playlist-studio {padding-bottom:0}.playlist-studio-head {margin:0 0 20px}.playlist-studio-head h1 {font-size:22px}
 .playlist-mobile-launcher {background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:14px;padding:12px;gap:12px}
 .playlist-now.is-mobile-open,.playlist-now.is-drive-mode {background:var(--ui-bg);color:var(--ui-text);gap:12px;padding-inline:20px}
 .playlist-now.is-mobile-open .playlist-art {width:min(70vw,320px);max-height:35dvh;border-radius:20px}
 .playlist-now-copy h2 {font-size:21px}.playlist-queue {background:var(--ui-surface);border:1px solid var(--ui-line-strong);border-radius:20px 20px 0 0}
 .playlist-queue-scrim {background:var(--ui-overlay)}.playlist-queue>header {padding:16px}.playlist-track {gap:8px;grid-template-columns:20px 44px minmax(0,1fr) auto}
 .playlist-prompt {inset:auto 12px calc(90px + env(safe-area-inset-bottom));width:auto;margin:0;padding:20px}
 .community-footer {padding:28px 12px 12px}
}
@media(prefers-reduced-motion:reduce) {
 .community-page *,.community-dialog *,.playlist-library-dialog * {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
}
@layer components {
/* Waveform input and canvas share one full-width seek surface. */
.podly-social-player {grid-template-columns:48px minmax(0,1fr) 44px;grid-template-rows:auto auto;row-gap:4px}
.podly-social-player .social-play {grid-column:1;grid-row:1}
.social-wave-wrap {grid-column:2;grid-row:1}
.social-wave-wrap {position:relative;min-width:0;height:64px;direction:ltr}
.social-wave-wrap .social-wave {display:block;width:100%;height:64px;cursor:pointer}
.social-wave-wrap input[data-player-seek] {position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;direction:ltr;touch-action:pan-y;cursor:pointer}
.social-wave-wrap:focus-within {outline:2px solid var(--ui-accent);outline-offset:3px;border-radius:6px}
.social-time {display:flex;gap:5px;align-items:center;white-space:nowrap}.social-time i {font-style:normal}
.community-page .community-side-links :is(a,button) {background:transparent;border:0;color:var(--ui-muted);font-size:14px;text-align:start;padding:12px;min-height:48px}
.community-page .community-side-links a[aria-current=page] {background:var(--ui-accent-soft);color:var(--ui-accent)}
.community-page .community-side-links :is(a,button):hover {background:var(--ui-hover);color:var(--ui-text)}
.community-profile-tabs a.active {color:var(--ui-accent);background:var(--ui-accent-soft)}
.community-links-hub {padding:32px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:16px}
.community-links-owner {display:flex;gap:16px;align-items:center;margin:24px 0}.community-links-owner h1 {margin:0}
.community-links-list {display:grid;gap:12px}.community-links-list>a {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px;background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:12px;color:var(--ui-text)}
.community-links-list b,.community-links-list small {display:block}.community-links-address {display:block;margin-top:24px;text-align:center}
.circle-notification-button {position:relative;display:grid;place-items:center;width:44px;height:44px;padding:10px;border-radius:50%}
.circle-notification-button svg {width:22px;height:22px}.circle-notification-menu {position:absolute;inset:calc(100% + 12px) auto auto 0;z-index:80}
.circle-notification-list {display:grid;gap:8px;max-height:55dvh;overflow:auto}.circle-notification-item {display:flex;gap:12px;color:var(--ui-text)}
.circle-notification-item>span {display:grid;gap:4px}.circle-notification-item strong {font-size:13px}.circle-notification-item small {display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:780px){
 .podly-social-player {grid-template-columns:44px minmax(0,1fr) 44px;gap:8px}.social-time {grid-column:2;grid-row:2;justify-content:space-between}.social-speed {grid-column:3;grid-row:1;padding:8px}.social-wave-wrap,.social-wave-wrap .social-wave {height:56px}
 .podly-persistent-player,.podly-page-shell {display:none!important}
 .circle-notification-menu {position:fixed;inset:76px 12px auto;width:auto;max-height:calc(100dvh - 180px)}
 .community-page .circle-mobile-nav>button {padding:4px;background:transparent;border:0;color:var(--ui-muted);font-size:12px}
 .community-page .circle-mobile-nav>button[aria-expanded=true] {background:var(--ui-accent-soft);color:var(--ui-accent)}
}
}
@layer components {
.community-author-name {text-align:start;justify-items:stretch}
.circle-profile-settings-page #communityFeed,.circle-profile-links-page #communityFeed {display:none}
.circle-audio-stage.has-video {padding:0;gap:0;min-height:0;height:auto;aspect-ratio:var(--video-aspect,16/9)}
.circle-video-shell {height:auto;aspect-ratio:inherit;width:100%;position:relative}
.community-publish-form .community-consent.is-invalid {border:1px solid var(--ui-danger);background:var(--ui-danger-soft);border-radius:10px;padding:12px}
.community-category-picker label {position:relative}
.community-category-picker input[type=checkbox] {position:absolute;width:1px;height:1px;min-height:0;padding:0;opacity:0}
.community-category-picker input[type=checkbox]:focus-visible+span {outline:2px solid var(--ui-accent);outline-offset:3px}
.community-media-choice,.community-previous-preview,.community-media-artwork {background:var(--ui-raised);border:1px solid var(--ui-line);border-radius:12px}
.community-media-choice:has(input:checked) {background:var(--ui-accent-soft);border-color:var(--ui-accent)}
.community-page .community-top .community-studio-link {background:var(--ui-action);color:var(--ui-action-on);border:0;border-radius:10px}
.community-page .community-top .community-studio-link:hover {background:var(--ui-action);filter:brightness(1.06)}
@media(max-width:780px){
 .community-top nav .community-studio-link {display:none}
 .podly-social-player .social-time {display:flex;grid-row:2;grid-column:2;justify-self:stretch;margin:0}
 .podly-social-player .social-speed {display:grid;grid-column:3;grid-row:1}
}
}

@layer foundation {
:root:not([data-podly-design=studio]) :is(.community-dialog,.community-settings,.community-admin,.social-dashboard,.community-toast,.community-avatar-preview) {
 --ui-bg:var(--bg,#111111);--ui-sidebar:var(--panel,#161616);--ui-surface:var(--panel,#1b1b1b);--ui-raised:var(--panel2,#242424);--ui-hover:var(--panel2,#2b2b2b);
 --ui-line:var(--line,#343434);--ui-line-strong:var(--border,#626262);--ui-text:var(--text,#f4f2f7);--ui-muted:var(--muted,#bcb8c3);--ui-subtle:var(--muted,#aaa5b0);
 --ui-accent:var(--accent,#bb8bff);--ui-accent-fill:#7438b5;--ui-accent-on:#ffffff;--ui-accent-soft:#2e223d;--ui-action:#ff693e;--ui-action-on:#21100b;--ui-action-soft:#39221c;
 --ui-success:#65d9b0;--ui-success-soft:#18372c;--ui-warning:#f4c474;--ui-warning-soft:#382e1c;--ui-danger:#ff9bac;--ui-danger-soft:#3c2128;--ui-info:#75d3ef;--ui-info-soft:#18313a;
 --ui-radius:14px;--ui-control-radius:10px;--ui-font:Vazirmatn,Tahoma,sans-serif;--ui-shadow:0 20px 70px #0005;--ui-overlay:#08080ab8;
}
}
@layer components {
.community-post {content-visibility:auto;contain-intrinsic-size:auto 740px}
.profile-settings-nav a {background:var(--ui-raised);color:var(--ui-muted);border:1px solid var(--ui-line);border-radius:10px;font-size:13px;min-height:44px}
.profile-settings-nav a:hover {color:var(--ui-accent);border-color:var(--ui-accent)}
.community-page .circle-notification-button {position:relative;padding:10px}
.circle-notification-button>b {position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:var(--ui-action);color:var(--ui-action-on);font-size:10px;line-height:18px;text-align:center}
.community-dialog.circle-search-dialog {max-width:100vw;margin:0}
@media(max-width:780px){
 .community-settings .profile-link-row {grid-template-columns:minmax(0,1fr);gap:12px;padding:16px}
 .profile-link-row .profile-link-grip {display:none}
 .community-settings .profile-link-row>label {grid-column:1/-1;width:100%;margin:0}
 .community-settings .profile-link-row>button {grid-column:1;justify-self:end;width:44px}
 :is(.community-page,.community-dialog) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]),textarea,select) {font-size:16px}
 .community-dialog.circle-search-dialog {inset:0;width:100vw;max-width:100vw;margin:0}
}
}
@layer components {
.profile-avatar-current .community-avatar {width:68px;height:68px;flex:none;aspect-ratio:1}
.community-publish-loading-screen {display:grid;justify-items:center;gap:16px;padding:40px 20px;color:var(--ui-muted)}
.community-publish-loading-spinner {width:32px;height:32px;border:3px solid var(--ui-line);border-top-color:var(--ui-accent);border-radius:50%;animation:circle-spin 1s linear infinite}
@keyframes circle-spin {to{transform:rotate(360deg)}}
}
@layer components {
.community-page .podly-skeleton-card {display:grid;gap:16px;min-height:320px;padding:24px;background:var(--ui-surface);border:1px solid var(--ui-line);border-radius:16px}
.community-page .podly-skeleton {background:var(--ui-raised);border-radius:10px}
}
