/* chat.css */
.client-chat-body { margin:0; background:#e9eaf2; }.client-chat { width:min(100%,430px); height:100dvh; margin:auto; background:#f4f1f9; display:flex; flex-direction:column; overflow:hidden; padding-top:env(safe-area-inset-top,0px); box-sizing:border-box; }.client-chat .chat-topbar { display:flex; align-items:center; gap:12px; min-height:56px; height:auto; padding:5px 12px; background:#fff; border-bottom:1px solid #e9e1f0; flex-shrink:0; }.client-chat .chat-topbar > div { min-width:0; flex:1; }.client-chat .chat-topbar .chat-back { display:grid; place-items:center; flex:0 0 44px; width:44px; min-height:44px; height:44px; }.client-chat .chat-topbar .chat-agent-mark { flex-shrink:0; }.chat-back { text-decoration:none; font-size:35px; line-height:1; color:#776380; width:30px; }.chat-topbar h1 { position:static; transform:none; font-size:18px; font-weight:650; margin:0; }.chat-topbar p { font-size:11px; color:#8c779b; margin:3px 0 0; }.chat-agent-mark { margin-left:auto; display:grid; place-items:center; background:linear-gradient(135deg,#d48bfc,#942cd5); color:#fff; width:38px; height:38px; border-radius:50%; font-size:13px; font-weight:700; }.chat-history { flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:18px 14px; scroll-behavior:auto; }.chat-welcome { color:#8c7798; font-size:12px; line-height:1.7; padding:13px 16px; border-radius:14px; background:#ffffffab; margin-bottom:20px; }.chat-message { display:flex; flex-direction:column; margin:0 0 18px; align-items:flex-start; }.chat-message-own { align-items:flex-end; }.chat-message-bubble { max-width:86%; min-width:45px; border:1px solid #ede4f4; border-radius:4px 16px 16px 16px; background:#fff; padding:11px 14px; box-shadow:0 2px 7px #5c357408; color:#46354f; font-size:14px; line-height:1.65; overflow:hidden; }.chat-message-own .chat-message-bubble { color:#fff; border:0; background:linear-gradient(135deg,#b64ee5,#9c30d7); border-radius:16px 4px 16px 16px; }.chat-message-text { font:inherit; color:inherit; white-space:pre-wrap; overflow-wrap:anywhere; margin:0; text-align:left; }.chat-message-bubble img,.chat-message-bubble video { display:block; max-width:100%; max-height:350px; width:auto; border-radius:8px; }.chat-message-bubble a { display:block; }.chat-message-meta { color:#998aa5; font-size:10px; margin:5px 3px 0; }.chat-order-card { min-width:160px; border-radius:9px; padding:9px 12px; background:#f5effa; color:#705185; border:1px solid #e4d1ef; }.chat-message-own .chat-order-card { color:#fff; border-color:#ffffff55; background:#ffffff15; }.chat-order-card p { font-size:12px; color:inherit; margin:4px 0; text-align:left; }.chat-order-card p:first-child { font-size:14px; font-weight:700; }.chat-compose-area { flex-shrink:0; background:#fff; border-top:1px solid #e7ddee; padding:5px 10px max(10px,env(safe-area-inset-bottom,0px)); }.chat-compose { display:flex; align-items:flex-end; gap:6px; }.chat-compose textarea { min-width:0; flex:1; background:#f5f1f8; border:1px solid #ede6f2; border-radius:12px; padding:11px 12px; resize:none; max-height:120px; min-height:44px; font:16px/1.4 system-ui,sans-serif; color:#4e3b5c; }.chat-compose button { min-height:43px; padding:5px; }.chat-plus { width:34px; flex:0 0 34px; color:#9d44ce; font-size:30px; line-height:1; }.chat-compose #chat-emoji { font-size:27px; color:#887491; }.chat-compose .chat-send { background:#a13ad9; color:#fff; border-radius:11px; font-size:13px; padding:8px 10px; min-width:49px; font-weight:600; }.chat-send:disabled { opacity:.55; }.chat-feedback { color:#9966b0; font-size:11px; line-height:1.5; padding:0 3px; min-height:5px; }.chat-feedback:not(:empty) { padding:6px 3px; }.chat-pending { display:flex; align-items:center; justify-content:space-between; gap:10px; background:#f6eefc; color:#86569f; border:1px solid #ead9f4; padding:8px 12px; border-radius:9px; margin:5px 0; font-size:12px; }.chat-pending span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }.chat-pending button { font-size:24px; color:#9768b0; }.chat-pending[hidden],.chat-add-menu[hidden] { display:none; }.chat-add-menu { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; padding:14px 10px; }.chat-add-menu button { display:grid; gap:4px; place-items:center; color:#876b99; font-size:12px; }.chat-add-menu button span { display:grid; place-items:center; background:#f5effa; border:1px solid #eee3f5; border-radius:13px; width:48px; height:48px; font-size:25px; color:#ab49de; }.chat-load-older { display:block; margin:0 auto 18px; color:#9a61b6; font-size:12px; padding:8px 12px; background:#fff; border:1px solid #e9dcef; border-radius:20px; }.chat-load-older[hidden] { display:none; }#chat-order-dialog { text-align:left; max-height:75dvh; }#chat-order-dialog h2 { font-size:20px; }#chat-order-dialog p { font-size:12px; }.chat-order-close { position:absolute; top:8px; right:8px; color:#9b7ba9; font-size:25px; width:35px; height:35px; }.chat-order-choice { display:block; width:100%; text-align:left; padding:13px; background:#f7effc; border:1px solid #e9d8f3; border-radius:10px; margin:10px 0; font-size:13px; line-height:1.7; color:#805597; }
.support-desk { display:grid; grid-template-columns:290px minmax(0,1fr); min-height:520px; height:calc(100dvh - 300px); max-height:850px; overflow:hidden; border:1px solid #e7d9f0; border-radius:16px; background:#fff; }.support-desk-list { display:flex; flex-direction:column; min-height:0; border-right:1px solid #eee5f3; }.support-desk-list-head { padding:17px; border-bottom:1px solid #eee5f3; }.support-desk-list-head h2 { font-size:18px; margin:0 0 12px; color:#735580; }.support-desk-list-head input { width:100%; font-size:14px; margin:0 0 8px; }.support-desk-list-head small { font-size:12px; color:#a08aab; }#support-desk-conversations { padding:10px; overflow:auto; flex:1; min-height:0; }.support-desk-conversation { display:block; width:100%; padding:13px; background:white; text-align:left; border-radius:11px; color:#725080; margin-bottom:7px; }.support-desk-conversation.selected { background:#f4e9fb; box-shadow:inset 3px 0 #af4ce1; }.support-desk-conversation strong { display:flex; justify-content:space-between; font-size:14px; }.support-desk-conversation p { font-size:12px; color:#9782a1; margin:5px 0; overflow-wrap:anywhere; }.support-desk-conversation small { display:block; color:#a38cae; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.support-unread:not(:empty) { padding:1px 7px; border-radius:20px; color:#fff; background:#b14bdc; font-size:11px; }.support-desk-chat { min-width:0; min-height:0; display:flex; flex-direction:column; }.support-desk-title { display:flex; align-items:center; gap:12px; justify-content:space-between; border-bottom:1px solid #eee5f3; padding:18px; color:#765286; }.support-desk-title span { font-size:12px; color:#a386b2; }.support-desk-chat .chat-history { background:#f9f5fc; }.support-desk-chat .chat-message-meta { font-size:12px; }.support-desk-compose { padding:12px 15px; border-top:1px solid #eee5f3; }.support-desk-compose textarea { width:100%; font:14px/1.6 system-ui,sans-serif; resize:none; border:1px solid #e8d8f0; background:#fcfaff; border-radius:10px; padding:10px 12px; color:#6c507a; }.support-desk-compose > div { display:flex; gap:10px; margin-top:10px; }.support-desk-compose .primary { margin-left:auto; }.support-desk-chat .chat-pending { margin:5px 15px; }@media(max-width:1000px){.support-desk { grid-template-columns:210px minmax(0,1fr); }}@media(max-width:650px){.support-desk { height:auto; min-height:75dvh; grid-template-columns:1fr; }.support-desk-list { max-height:230px; border-right:0; border-bottom:1px solid #e7d9f0; }.support-desk-chat { min-height:65dvh; max-height:80dvh; }.support-desk-title { flex-wrap:wrap; }.support-desk-compose > div { flex-wrap:wrap; }}
.chat-topbar .chat-timezone { font-size:10px; color:#a08dad; margin-top:2px; }.support-desk-zone { display:block; margin-top:5px; font-size:11px; font-weight:400; color:#a386b2; }.support-desk-settings-head { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-bottom:12px; }.support-desk-settings-head h2 { margin:0; }.support-desk-settings-head button { font-size:12px; padding:7px 10px; }.support-settings-note { background:#f7f0fc; border:1px solid #e9d9f3; padding:13px; border-radius:10px; font-size:13px; color:#886299; }.support-settings-note p { font-size:12px; }.support-settings-enabled { display:flex; align-items:center; gap:8px; margin:15px 0; }.support-settings-label { display:block; margin:15px 0 8px; }.support-settings-label textarea { width:100%; border:1px solid #e2d1ec; border-radius:10px; padding:11px; font:14px/1.7 system-ui,sans-serif; color:#694e77; background:#fcfaff; resize:vertical; }
.chat-message-text + a,.chat-message-text + video { margin-top:10px; }
.chat-agent-mark { flex-shrink:0; overflow:hidden; }.chat-agent-mark img { width:100%; height:100%; object-fit:cover; }.chat-message.chat-agent-message { position:relative; padding-left:38px; }.chat-message.chat-agent-message.chat-message-own { padding-left:0; padding-right:38px; }.chat-author-avatar { position:absolute; top:0; left:0; width:30px; height:30px; border-radius:50%; overflow:hidden; background:linear-gradient(135deg,#cf7af8,#9b31d7); color:#fff; display:grid; place-items:center; font-size:10px; font-weight:700; }.chat-message-own .chat-author-avatar { left:auto; right:0; }.chat-author-avatar img { width:100%; height:100%; object-fit:cover; }.support-avatar-settings { display:flex; align-items:center; gap:15px; margin:16px 0; }.support-avatar-settings > img { width:72px; height:72px; border-radius:50%; object-fit:cover; }.support-avatar-settings > img[hidden] { display:none; }.support-avatar-settings .support-settings-label { margin:0 0 10px; }.chat-topbar > div { min-width:0; }.chat-topbar h1 { overflow-wrap:anywhere; }
.chat-welcome-actions { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:13px 0 3px; }.chat-welcome-action { display:flex; align-items:center; justify-content:center; gap:6px; min-height:39px; padding:8px 10px; border-radius:10px; font-size:12px; font-weight:650; white-space:nowrap; }.chat-welcome-live { background:linear-gradient(135deg,#bd61e7,#9a33d4); color:white; }.chat-welcome-facebook { background:#eef3ff; border:1px solid #d7e2fc; color:#2870d5; }.chat-welcome-button-icon { font-size:17px; line-height:1; }.chat-welcome-facebook .chat-welcome-button-icon { font-family:Arial,sans-serif; font-weight:800; }.chat-welcome-actions + a { margin-top:12px; }
.support-faq-editor-dialog { width:min(96vw,1120px); max-height:92dvh; }.support-faq-editor textarea { display:block; width:100%; box-sizing:border-box; border:1px solid #e3d1ee; border-radius:10px; padding:10px 12px; resize:vertical; font:14px/1.7 system-ui,sans-serif; background:#fcfaff; color:#644a75; margin-top:8px; }.support-faq-editor label { display:block; margin:0 0 15px; font-size:13px; }.support-faq-global { display:grid; grid-template-columns:1fr 1.3fr; gap:18px; padding:14px; background:#faf6fe; border:1px solid #eee0f6; border-radius:12px; margin-bottom:18px; }.support-faq-workspace { display:grid; grid-template-columns:290px minmax(0,1fr); gap:20px; }.support-faq-workspace > aside { padding:12px; border:1px solid #eaddf2; border-radius:12px; align-self:start; }.support-faq-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:15px; color:#80568e; font-size:14px; }.support-help-topic-row { border:1px solid #eee3f5; border-radius:10px; margin-bottom:9px; padding:9px; }.support-help-topic-row.selected { background:#f6eafb; border-color:#dcb4f0; }.support-help-topic-row > button { display:block; width:100%; text-align:left; background:none; color:#845a96; font-size:13px; line-height:1.6; padding:0; overflow-wrap:anywhere; }.support-help-topic-row small { display:block; color:#a08baa; font-size:11px; }.support-help-topic-row > div { display:flex; justify-content:flex-end; gap:10px; }.support-help-topic-row > div button { background:none; color:#ad73c4; font-size:18px; padding:2px 5px; }.support-help-topic-row button:disabled { opacity:.3; }.support-help-item { padding:15px; border:1px solid #eadcf4; border-radius:12px; margin:12px 0; background:#fcfaff; }.support-help-item-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:12px; font-size:13px; color:#8a579c; }.support-help-item-head button { background:none; color:#aa7bbc; font-size:12px; padding:5px; }.support-desk-settings-head > div { display:flex; flex-wrap:wrap; gap:4px; }@media(max-width:780px){.support-faq-workspace,.support-faq-global { grid-template-columns:1fr; }.support-faq-workspace > aside { max-height:240px; overflow:auto; }}

/* Client chat only; keep the Chinese admin desk styling unchanged. */
body.client-chat-body{background:#c8c0d4}.client-chat{background:#d9d0e4}.client-chat .chat-topbar,.client-chat .chat-compose-area{background:#dfd4ea;border-color:#c5afd4}.client-chat .chat-history{background:#d9d0e4}.client-chat .chat-bubble{background:#e8e0ef;border-color:#cdbdda;color:#30213c}.client-chat .chat-message-own .chat-bubble{background:#d5b5e8;color:#382044}.client-chat #chat-input,.client-chat .chat-add-menu{background:#e8e0ef;border-color:#c7afd7;color:#36223f}.client-chat .chat-message-meta{color:#725e80}

/* Two-line agent names fit the compact bar without reducing text size. */
html[data-theme] body.client-chat-body .client-chat .chat-topbar h1{line-height:1.2;overflow-wrap:anywhere}

/* Noto Color Emoji 2.057, Unicode 18.0. License: /assets/chat-emoji-font-license.txt. */
@font-face{
 font-family:"Chat Emoji";
 src:url("/assets/chat-emoji.bf248ca0c668.woff2") format(woff2) tech(color-COLRv1);
 font-display:swap;
}
:root{--chat-emoji-family:"Chat Emoji","Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.chat-message-text,html[data-theme] .client-chat .chat-compose textarea,#admin-shell .support-desk-compose textarea{
 font-family:var(--polish-font,system-ui),var(--chat-emoji-family);
}

/* Emoji choices stay above the composer and scroll within the available space. */
.chat-emoji-panel{
 display:flex;
 flex-direction:column;
 gap:6px;
 box-sizing:border-box;
 min-width:0;
 max-height:min(320px,46dvh);
 margin:4px 0 8px;
 padding:8px;
 border:1px solid var(--polish-border,#d4c3de);
 border-radius:12px;
 background:var(--polish-raised,#f4ebfa);
 color:var(--polish-ink,#46354f);
}
.chat-emoji-panel[hidden]{display:none}
.chat-emoji-search{
 box-sizing:border-box;
 width:100%;
 min-width:0;
 min-height:38px;
 padding:6px 9px;
 border:1px solid var(--polish-border,#d4c3de);
 border-radius:8px;
 background:var(--polish-panel,#fff);
 color:inherit;
 font:16px/1.4 system-ui,sans-serif;
}
.chat-emoji-categories{
 display:flex;
 flex:none;
 gap:4px;
 overflow:auto hidden;
 padding:2px;
 scrollbar-width:thin;
}
.chat-emoji-category,.chat-emoji-choice{
 border:1px solid transparent;
 border-radius:7px;
 color:inherit;
}
.chat-emoji-category{
 min-height:34px;
 padding:3px 8px;
 font-size:12px;
 font-weight:650;
 white-space:nowrap;
}
.chat-emoji-category[aria-pressed="true"],.chat-compose #chat-emoji[aria-expanded="true"]{
 border-radius:7px;
 background:var(--polish-panel,#fff);
 color:var(--polish-accent,#844e9b);
}
.chat-emoji-category[aria-pressed="true"]{border-color:var(--polish-border,#d4c3de)}
.chat-emoji-choices{
 display:grid;
 grid-template-columns:repeat(auto-fill,minmax(40px,1fr));
 align-content:start;
 gap:2px;
 min-height:0;
 overflow:auto;
 overscroll-behavior:contain;
 padding:3px;
 scrollbar-width:thin;
}
.chat-emoji-choice{
 display:grid;
 place-items:center;
 min-height:40px;
 min-width:0;
 padding:0;
 font-size:23px;
 font-weight:400;
 line-height:1;
}
html[data-theme] .chat-emoji-panel .chat-emoji-choice,#admin-shell .chat-emoji-panel .chat-emoji-choice{
 font-family:var(--chat-emoji-family);
}
.chat-emoji-choice:hover,.chat-emoji-category:hover{background:var(--polish-panel,#fff)}
.client-chat .chat-emoji-panel :is(input,button):focus-visible{
 outline:2px solid var(--polish-accent,#844e9b);
 outline-offset:-2px;
}
.chat-emoji-notice{
 flex:none;
 margin:0;
 color:var(--polish-muted,#705185);
 font-size:12px;
 line-height:1.4;
}
.chat-emoji-notice:empty{display:none}

.chat-message-text.chat-message-emoji-only{
 font-family:var(--chat-emoji-family);
 font-size:clamp(30px,7.5vw,40px);
 line-height:1.22;
}

.support-desk-compose .chat-emoji-panel{
 max-height:min(235px,34dvh);
 margin-bottom:0;
}
.support-desk-compose .chat-emoji-search{margin-top:0}
.support-desk-compose #support-desk-emoji[aria-expanded="true"]{
 border-color:#ac70c7;
 background:#ede2f6;
}
.support-desk-chat .chat-pending img{
 flex:none;
 width:58px;
 height:48px;
 object-fit:contain;
 border-radius:5px;
}
.support-desk-chat .chat-pending span{flex:1;min-width:0}

/* community.css */
.community-document{margin:0;background:var(--polish-canvas,#F4F5F7);color:var(--polish-ink,#252A34);font-family:Arial,Helvetica,sans-serif}
:where(.community-document,#community-page,.shell-community-actions) *{box-sizing:border-box}
:where(.community-document,#community-page,.shell-community-actions) :is(button,textarea){font:inherit}
:where(.community-document,#community-page,.shell-community-actions) :is(button,a){-webkit-tap-highlight-color:transparent}
:where(.community-document,#community-page,.shell-community-actions) button{cursor:pointer;color:inherit}
:where(.community-document,#community-page,.shell-community-actions) button:disabled{opacity:.55;cursor:default}
:where(.community-document,.community,.shell-community-actions)[hidden],:where(.community-document,.community,.shell-community-actions) [hidden]{display:none!important}
.community{max-width:430px;margin:auto;min-height:100dvh;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
.feed-tools{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 14px 0}.feed-tools strong{font-size:15px}.feed-tools button,#more{min-height:44px;padding:8px 11px;border:0;border-radius:7px;background:transparent;color:var(--polish-accent,#80539A)}#status{margin:0 14px;font-size:14px;line-height:1.6;color:var(--polish-muted,#616977)}#status:empty{display:none}
html[data-theme] body .community .community-post{display:flex;margin:10px 12px 0;padding:16px 13px;gap:10px;border:1px solid var(--polish-border,#DEE1E7);border-radius:12px;background:var(--polish-panel,#fff);box-shadow:none}.post-avatar{width:38px;height:38px;object-fit:cover;border-radius:50%!important;flex:none}.post-content{min-width:0;flex:1}.post-content h3{margin:0 0 7px;color:var(--polish-ink,#252A34)!important;font-size:15px;line-height:1.45;font-weight:600;overflow-wrap:anywhere}.post-text{font-size:16px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 12px}.post-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:var(--polish-muted,#616977)}.post-meta .post-delete{min-height:44px;padding:8px;border:0;border-radius:7px;background:transparent;color:var(--polish-muted,#616977);font-size:13px}#more{display:block;margin:14px auto}
:where(.community-document,#community-dialogs) dialog{width:min(94vw,430px);max-height:90dvh;overflow:auto;padding:20px;border:1px solid var(--polish-border,#DEE1E7);border-radius:14px;background:var(--polish-panel,#fff);color:var(--polish-ink,#252A34);box-shadow:0 20px 60px #0003;text-align:start}
:where(.community-document,#community-dialogs) dialog::backdrop{background:#11182780}
.community-dialog-actions button{min-height:44px;padding:9px 12px;border:0;border-radius:8px;background:var(--polish-raised,#F0F1F4);color:var(--polish-ink,#252A34);font-size:14px}#delete-post-error,#comment-error,#report-error{font-size:14px;line-height:1.5;color:#c44246}.community-dialog-actions{display:flex;justify-content:flex-end;gap:8px}#delete-post-confirm{color:#c44246}.community-dialog-actions+p:empty{display:none}
html[data-theme] #delete-post-description{color:var(--polish-muted,#616977)}
html[data-theme="dark"] :is(#delete-post-confirm,#delete-post-error){color:#ff9299}
:where(.community-document,#community-page,.shell-community-actions) :is(button:focus-visible,a:focus-visible,textarea:focus-visible,label:focus-within){outline:2px solid var(--polish-accent,#80539A);outline-offset:3px}

html[data-theme] body #composer{
 --composer-padding:clamp(14px,4.6vw,20px);
 --composer-max-height:min(680px,calc(100vh - 28px));
 width:min(430px,calc(100% - 28px));max-width:none;max-height:var(--composer-max-height);
 padding:0;overflow:hidden;border-radius:20px;box-shadow:0 22px 64px #08071099;
}
@supports(height:100dvh){
 html[data-theme] body #composer{--composer-max-height:min(680px,calc(100dvh - 28px))}
}
html[data-theme] body #composer::backdrop{background:#090913b8;backdrop-filter:none}
#post-form{display:flex;flex-direction:column;max-height:calc(var(--composer-max-height) - 2px)}
.composer-heading{
 display:flex;flex:none;align-items:center;justify-content:space-between;gap:12px;
 padding:10px calc(var(--composer-padding) - 6px) 10px var(--composer-padding);
 border-bottom:1px solid var(--polish-border);
 background:linear-gradient(110deg,color-mix(in srgb,var(--polish-accent) 9%,var(--polish-panel)),var(--polish-panel) 80%);
}
html[data-theme] body #composer .composer-heading h2{margin:0;font-size:20px;font-weight:700;line-height:1.25;outline:none}
html[data-theme] body #composer #cancel{
 display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;
 border:0;border-radius:10px;background:transparent;color:var(--polish-muted);font-size:27px;line-height:1;
}
#composer #cancel:hover:not(:disabled){background:var(--polish-raised);color:var(--polish-ink)}
.composer-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:16px var(--composer-padding)}
.composer-identity{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.composer-identity img{flex:none;width:40px;height:40px;border-radius:50%;object-fit:cover}
.composer-identity div{min-width:0}
.composer-identity strong{display:block;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.composer-identity span{display:block;margin-top:2px;color:var(--polish-muted);font-size:12px;line-height:1.35}
.composer-editor{
 padding:10px 12px 8px;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-canvas);
}
.composer-editor:focus-within{
 border-color:var(--polish-accent);box-shadow:0 0 0 2px color-mix(in srgb,var(--polish-accent) 20%,transparent);
}
html[data-theme] body #composer #post-text{
 display:block;width:100%;resize:none;min-height:112px;padding:0;border:0;outline:none;
 background:transparent;color:var(--polish-ink);font-size:16px;line-height:1.5;
}
html[data-theme] body #composer #post-text:focus-visible{outline:none}
.composer-count{
 margin-top:6px;text-align:right;color:var(--polish-muted);font-size:12px;line-height:1.35;font-variant-numeric:tabular-nums;
}
#composer .upload-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px}
#composer .upload-actions button{
 display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:0;padding:8px 6px;
 border:1px solid var(--polish-border);border-radius:10px;background:var(--polish-raised);
 color:var(--polish-ink);font-size:13px;font-weight:650;
}
#composer .upload-actions svg{flex:none;width:18px;height:18px;color:var(--polish-accent)}
#composer .upload-actions button:hover:not(:disabled){border-color:var(--polish-accent)}
html[data-theme] body #composer .upload-note{margin:8px 0 0;color:var(--polish-muted);font-size:12px;line-height:1.45}
html[data-theme] body #composer #remove-media{min-height:44px;padding:6px 0;border:0;background:transparent;color:var(--polish-accent);font-size:13px}
.composer-footer{
 flex:none;padding:12px var(--composer-padding) 14px;border-top:1px solid var(--polish-border);background:var(--polish-panel);
}
.composer-footer p{margin:0;color:var(--polish-muted);font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.composer-footer p:not(:empty){margin-bottom:8px}
html[data-theme] body #composer #post-error{color:#ff9299;line-height:1.45}
html[data-theme="light"] body #composer #post-error{color:#ad343f}
html[data-theme] body #composer #publish{
 display:block;width:100%;min-height:46px;padding:9px 12px;border:1px solid transparent;border-radius:10px;
 background:var(--polish-primary,#80539a);color:#fff;font-size:15px;font-weight:700;
}
#composer #publish:hover:not(:disabled){filter:brightness(1.11)}
html[data-theme] body #composer #publish:disabled{
 opacity:1;border-color:var(--polish-border);background:var(--polish-raised);color:var(--polish-muted);
}
@media(max-width:360px){html[data-theme] body .community .community-post{margin-inline:10px;padding:14px 11px;gap:8px}.post-avatar{width:32px;height:32px}}

.community-identity-notice{display:flex;align-items:center;gap:10px;margin:8px 14px 0;color:var(--polish-muted,#616977)}.community-identity-notice p{flex:1;margin:0;font-size:13px;line-height:1.6}.community-identity-notice button{flex:none;min-height:44px;padding:9px 11px;border:1px solid var(--polish-border,#DEE1E7);border-radius:8px;background:var(--polish-panel,#fff);color:var(--polish-accent,#80539A);font-size:13px}

/* Community interaction layout. Content stays full width beneath each author row. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[data-theme] body .community-header,.detail-header{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:calc(56px + env(safe-area-inset-top,0px));padding:5px 12px;background:var(--polish-panel);color:var(--polish-ink);border-bottom:1px solid var(--polish-border)}
.community-header{position:sticky;top:0;z-index:4;padding-top:calc(5px + env(safe-area-inset-top,0px))!important}.community-header h1,.detail-header h2{font-size:20px;font-weight:600;line-height:1.4;margin:0;text-align:center}.community-header a,.community-header button,.detail-header button{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:9px;background:transparent;color:var(--polish-accent);text-decoration:none;font-size:30px;line-height:1}
.community-header a svg,.detail-header button svg{width:22px;height:22px}
html[data-theme] body .community .community-cover{
 --community-avatar-size:clamp(68px,19vw,78px);
 position:relative;isolation:isolate;margin:12px 12px 0;padding:0;
 border:0;border-radius:0;background:none;box-shadow:none;
}
.community-cover-frame{
 position:relative;display:grid;grid-template-columns:minmax(0,1fr);align-items:end;
 min-height:clamp(178px,53vw,220px);padding-top:62px;overflow:hidden;border-radius:15px;
 background:var(--polish-raised);outline:1px solid var(--polish-border);outline-offset:-1px;
}
.community-cover-frame:not(.has-cover,.is-measuring-cover){
 --community-avatar-size:54px;
 min-height:88px;padding-top:0;align-items:center;
}
html[data-theme] body .community .community-cover-frame:not(.has-cover,.is-measuring-cover) .community-profile{padding-inline-end:52px}
.community-cover-image{
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;
}
.community-cover-edit,.community-avatar-edit{
 position:absolute;isolation:isolate;display:grid;place-items:center;width:44px;height:44px;padding:0;
 border:0;border-radius:50%;background:transparent;color:#fff;
}
.community-cover-edit{
 z-index:1;inset:7px 7px auto auto;
}
.community-avatar-edit{
 inset:auto -6px -4px auto;
}
.community-cover-edit::before,.community-avatar-edit::before{
 position:absolute;z-index:-1;inset:4px;content:"";border:1px solid #edd7fb;
 border-radius:50%;background:var(--polish-primary,#80539a);box-shadow:0 2px 6px #25173255;
}
.community-avatar-edit::before{inset:6px}
.community-cover-edit svg{width:18px;height:18px}
.community-avatar-edit svg{width:16px;height:16px}
@media(hover:hover){
 :is(.community-cover-edit,.community-avatar-edit):hover:not(:disabled)::before{border-color:#fff;filter:brightness(1.08)}
}
:is(.community-cover-edit,.community-avatar-edit):active:not(:disabled)::before{filter:brightness(.9)}
:is(.community-cover-edit,.community-avatar-edit):focus-visible{outline-offset:-2px}
html[data-theme] body .photo-crop-dialog{width:min(91vw,422px);padding:18px;border-radius:17px}
.photo-crop-dialog h2{margin:0 0 8px;font-size:19px}
.photo-crop-dialog p{margin:8px 0;color:var(--polish-muted);font-size:13px;line-height:1.4}
.photo-crop-stage{position:relative;overflow:hidden;border-radius:10px;background:var(--polish-canvas)}
.photo-crop-stage.round-crop::after{
 position:absolute;inset:0;content:"";border:2px solid #ffffffd9;border-radius:50%;
 box-shadow:0 0 0 96px #111019a8;pointer-events:none;
}
.photo-crop-stage canvas{display:block;width:100%;height:auto;touch-action:none;cursor:grab}
.photo-crop-stage canvas:active{cursor:grabbing}
.photo-crop-dialog label{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:14px}
.photo-crop-dialog label:focus-within{outline:none}
.photo-crop-dialog input{flex:1;min-width:0;accent-color:var(--polish-accent)}
.photo-crop-dialog input:focus-visible{outline:2px solid var(--polish-accent);outline-offset:3px;border-radius:4px}
.crop-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:14px}
.crop-buttons button{min-height:44px;padding:6px 8px;border:1px solid var(--polish-border);border-radius:9px;background:var(--polish-raised);font-size:14px;font-weight:650}
.crop-buttons .crop-save{border-color:transparent;background:var(--polish-primary,#80539a);color:#fff}
html[data-theme] body .community .community-profile{
 position:relative;display:grid;grid-template-columns:var(--community-avatar-size) minmax(0,1fr);align-items:center;gap:13px;
 padding:12px 15px 14px;border:0;background:none;text-align:left;
}
.community-avatar-frame{
 position:relative;width:var(--community-avatar-size);height:var(--community-avatar-size);
}
html[data-theme] body .community .community-profile #my-avatar{
 display:block;width:100%;height:100%;border:1px solid var(--polish-border);border-radius:50%;
 background:var(--polish-raised);object-fit:cover;
}
.community-profile-name{min-width:0}
html[data-theme] body .community .community-profile-name :is(h2,p){
 color:var(--polish-ink);text-shadow:none;
}
html[data-theme] body .community .community-cover-image:not([hidden]) ~ .community-profile .community-profile-name :is(h2,p){
 color:#fff;text-shadow:0 1px 2px #130f1b,0 0 4px #130f1b,1px 0 1px #130f1b,-1px 0 1px #130f1b;
}
html[data-theme="light"] body .community .community-cover-image:not([hidden]) ~ .community-profile .community-profile-name{
 position:relative;isolation:isolate;justify-self:start;max-width:100%;
}
html[data-theme="light"] body .community .community-cover-image:not([hidden]) ~ .community-profile .community-profile-name::before{
 content:"";position:absolute;z-index:-1;inset:-5px -8px;border-radius:8px;
 background:#181220ad;pointer-events:none;
}
html[data-theme="light"] body .community .community-cover-image:not([hidden]) ~ .community-profile .community-profile-name :is(h2,p){
 text-shadow:none;
}
html[data-theme] body .community .community-profile h2{
 margin:0;font-size:18px;font-weight:700;line-height:1.25;overflow-wrap:anywhere;
}
html[data-theme] body .community .community-profile p{
 margin:4px 0 0;font-size:13px;line-height:1.4;overflow-wrap:anywhere;white-space:pre-wrap;
}
.feed-filter-bar{position:sticky;top:calc(56px + env(safe-area-inset-top,0px));z-index:3;padding:10px 12px 9px;background:var(--polish-canvas);border-bottom:1px solid var(--polish-border)}
.feed-actions{
 --feed-action-gap:8px;
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--feed-action-gap);
 max-width:360px;margin-inline:auto;
}
.feed-filters{grid-column:span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--feed-action-gap)}
.feed-actions button{
 min-width:0;min-height:44px;padding:7px 5px;border:1px solid var(--polish-border);border-radius:10px;
 background:var(--polish-panel);color:var(--polish-muted);font-size:14px;font-weight:650;line-height:1.25;text-align:center;
}
.feed-filters button[aria-selected=true]{
 background:var(--polish-raised);background:color-mix(in srgb,var(--polish-accent) 15%,var(--polish-panel));
 border-color:color-mix(in srgb,var(--polish-accent) 36%,var(--polish-border));color:var(--polish-accent);
}
.feed-actions #compose{border-color:transparent;background:var(--polish-primary,#80539a);color:#fff;font-weight:700}
.feed-actions #compose:hover:not(:disabled){filter:brightness(1.12)}
.feed-actions button:focus-visible{outline-offset:2px}
.feed-status{margin:0 14px}.feed-status #status{margin:12px 0 0;font-size:14px;color:var(--polish-muted)}.feed-status button{min-height:44px;margin-top:9px;padding:9px 11px;border:1px solid var(--polish-border);border-radius:8px;background:var(--polish-panel);color:var(--polish-accent);font-size:13px}
html[data-theme] body :is(.community,.post-detail) .community-post{display:block;margin:12px 12px 0;padding:0;gap:0;border:1px solid var(--polish-border);border-radius:12px;background:var(--polish-panel);box-shadow:none;overflow:hidden}.post-header{display:flex;align-items:center;gap:9px;padding:13px 13px 10px;min-width:0}.post-avatar{width:36px;height:36px;flex:none}.post-author{flex:1;min-width:0}.post-author h3{margin:0;color:var(--polish-ink)!important;font-size:15px!important;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.post-time{display:block;margin-top:1px;font-size:12px;line-height:1.5;color:var(--polish-muted)}
html[data-theme] body .community .post-text,html[data-theme] body .post-detail .post-text{display:block;margin:0;padding:0 13px 12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.6;color:var(--polish-ink)}
html[data-theme] body .community .post-text.is-collapsed{display:-webkit-box;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;padding-bottom:0}
html[data-theme] body .community .post-body-button{
 display:block;width:100%;padding:0;border:0;background:transparent;text-align:start;color:inherit;font:inherit;cursor:pointer;
}
.post-read-more{display:inline-block;margin:6px 0 8px;color:var(--polish-accent);font-size:14px;font-weight:650}
.post-media-single,.post-media-grid{margin:0 0 8px}
.post-media-grid{
  display:grid;width:min(100%,320px);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;
}
.post-media-grid[data-columns="2"]{width:min(100%,224px);grid-template-columns:repeat(2,minmax(0,1fr))}
.post-media-grid .post-media-preview{width:100%;aspect-ratio:1}
.post-media-grid .post-media-error{min-width:0;padding:7px 5px;font-size:12px;overflow-wrap:anywhere}
.post-media-grid .post-media-error :is(button,a){padding-inline:2px}
.post-media-grid .post-media-play{width:34px;height:34px}
.post-media-grid .post-media-play svg{width:16px;height:16px}
.post-media-preview{
  position:relative;display:block;width:min(224px,100%);aspect-ratio:4/3;margin:0;
  padding:0;overflow:hidden;border:0;border-radius:8px;
  background:var(--polish-raised,#f0f1f4);color:#fff;cursor:zoom-in;
}
.post-video-open{background:#111318;cursor:pointer}
.post-media-preview>.post-media{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.post-media-play,.post-media-expand{
  position:absolute;display:grid;place-items:center;pointer-events:none;
  background:#111318c9;color:#fff;
}
.post-media-play{
  top:50%;left:50%;transform:translate(-50%,-50%);width:42px;height:42px;
  border:1px solid #ffffff6e;border-radius:50%;
}
.post-media-play svg{width:19px;height:19px;fill:currentColor}
.post-media-expand{right:6px;bottom:6px;width:26px;height:26px;border-radius:5px}
.post-media-expand svg{width:15px;height:15px}
.post-media-error{padding:16px 13px;margin:0;color:var(--polish-muted);font-size:14px;line-height:1.5}.post-media-error button,.post-media-error a{display:inline-block;min-height:44px;padding:9px 8px;color:var(--polish-accent);border:0;background:transparent}
.draft-media-grid:not(:empty){display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px;margin:8px 0 0}
.draft-media-item{position:relative;min-width:0}
.draft-media-preview{
  position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden;padding:0;
  border:0;border-radius:7px;background:#111318;
}
.draft-media-preview :is(img,video){position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}
.draft-media-preview .post-media-play{width:30px;height:30px}
.draft-media-preview .post-media-play svg{width:15px;height:15px}
.draft-media-remove{
  position:absolute;right:2px;top:2px;display:grid;place-items:center;width:32px;height:32px;padding:0;
  border:1px solid #ffffff55;border-radius:50%;background:#111318e5;color:#fff;font-size:23px;line-height:1;
}
.post-actions{display:flex;align-items:center;gap:4px;padding:3px 7px;border-top:1px solid var(--polish-line)}.post-actions button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-height:44px;padding:8px;border:0;border-radius:8px;background:transparent;color:var(--polish-muted);font-size:14px}.post-actions svg{width:19px;height:19px;flex:none}.post-actions .post-like[aria-pressed=true]{color:var(--polish-accent)}.post-like[aria-pressed=true] svg{fill:currentColor;fill-opacity:.15}.post-action-count{font-size:13px;font-variant-numeric:tabular-nums}.post-unavailable{padding:14px;margin:0;color:var(--polish-muted);font-size:14px}
.post-menu{position:relative;align-self:flex-start;flex:none}.post-menu>summary{display:grid;place-items:center;width:44px;height:44px;margin:-7px -7px 0 0;cursor:pointer;list-style:none;border-radius:8px;color:var(--polish-muted);font-size:22px;letter-spacing:2px}.post-menu>summary::-webkit-details-marker{display:none}.post-menu-panel{position:absolute;right:0;top:38px;z-index:5;min-width:160px;padding:5px;background:var(--polish-panel);border:1px solid var(--polish-border);border-radius:9px;box-shadow:0 5px 20px #0002}.post-menu-panel button{display:block;width:100%;min-height:44px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:var(--polish-ink);font-size:14px;text-align:left}.post-menu-panel button:hover{background:var(--polish-raised)}.post-menu-panel .danger{color:#c44246}
html[data-theme] body :is(.community,.post-detail) .community-post{overflow:visible}.community-post:has(.post-menu[open]){position:relative;z-index:2}
#report-form label{display:block;font-size:14px;margin:14px 0 6px}#report-reason{width:100%;min-height:44px;padding:9px;border:1px solid var(--polish-border);border-radius:8px;background:var(--polish-raised);color:inherit;margin-bottom:18px}
html[data-theme] body dialog.post-detail{position:fixed;inset:0;margin:0 auto;width:min(100%,430px);max-width:430px;height:100dvh;max-height:100dvh;padding:0;border:0;border-radius:0;overflow:hidden;background:var(--polish-canvas)}.post-detail[open]{display:flex;flex-direction:column}.detail-header{flex:none;padding-top:calc(5px + env(safe-area-inset-top,0px));min-height:calc(56px + env(safe-area-inset-top,0px))}.detail-scroll{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;padding-bottom:16px}#post-detail-status{margin:14px;font-size:14px;color:var(--polish-muted)}#post-detail-status:empty{display:none}
.comments-section{padding:14px 12px 0}.comments-section h3{font-size:16px;font-weight:600;margin:0 0 10px}#comments-status{font-size:14px;line-height:1.6;color:var(--polish-muted)}#comments-status:empty{display:none}:is(#comments-more,#comments-retry){min-height:44px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:var(--polish-accent);font-size:13px}
.community-comment{--comment-avatar-size:30px;--comment-avatar-gap:9px;position:relative;display:flex;align-items:flex-start;gap:var(--comment-avatar-gap);padding-block:10px 6px}
.community-comment+.community-comment::before{content:"";position:absolute;inset-block-start:0;inset-inline:calc(var(--comment-avatar-size) + var(--comment-avatar-gap)) 0;border-block-start:1px solid var(--polish-border);pointer-events:none}
.comment-avatar{width:var(--comment-avatar-size);height:var(--comment-avatar-size);object-fit:cover;border-radius:50%;flex:none}
.comment-main{min-width:0;flex:1;color:var(--polish-ink)}
.comment-name{font-size:14px;font-weight:600;line-height:1.4;margin:0 0 4px;overflow-wrap:anywhere}
.comment-text{color:var(--polish-ink);font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.comment-meta{display:flex;align-items:center;justify-content:space-between;min-height:32px;gap:6px}
.comment-meta time{color:var(--polish-muted);font-size:11px}.comment-meta button{min-height:32px;padding:4px 7px;background:transparent;border:0;color:var(--polish-muted);font-size:12px}
.comment-form{flex:none;display:grid;grid-template-columns:minmax(0,1fr) 44px auto;gap:4px 8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:var(--polish-panel);border-top:1px solid var(--polish-border)}#comment-text{min-height:44px;max-height:100px;resize:vertical;padding:10px;border:1px solid var(--polish-border);border-radius:9px;background:var(--polish-raised);color:inherit;font-size:16px;line-height:1.4}#comment-send{align-self:start;min-height:44px;border:0;border-radius:9px;padding:9px 13px;background:var(--polish-primary,#80539a);color:white;font-size:14px;font-weight:600}#comment-error{grid-column:1 / -1;margin:0}.comment-count{grid-column:1 / -1;text-align:right;color:var(--polish-muted);font-size:11px}
html:has(dialog.media-viewer[open]),
body:has(dialog.media-viewer[open]){
  overflow:hidden;
  overscroll-behavior:none;
}
html[data-theme] body dialog.media-viewer{
  position:fixed;
  inset:0;
  box-sizing:border-box;
  margin:0;
  width:100%;
  max-width:none;
  height:100vh;
  height:100dvh;
  max-height:none;
  padding:calc(56px + env(safe-area-inset-top,0px))
    max(8px,env(safe-area-inset-right,0px))
    calc(8px + env(safe-area-inset-bottom,0px))
    max(8px,env(safe-area-inset-left,0px));
  border:0;
  border-radius:0;
  background:#100d16;
  color:#fbf7ff;
  color-scheme:dark;
  box-shadow:none;
  overflow:hidden;
  overscroll-behavior:contain;
}
.media-viewer[open]{
  display:grid;
  grid-template:minmax(0,1fr) auto / minmax(0,1fr);
  gap:8px;
}
.media-viewer-content{
  display:grid;
  place-items:center;
  min-width:0;
  min-height:0;
  overflow:hidden;
}
.media-viewer-track{
  position:relative;
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
}
.media-slide-preview{
  position:absolute;
  inset-block-start:0;
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
  user-select:none;
}
.media-slide-preview svg{width:32px;height:32px;color:#e4d8ef}
.media-viewer-content[data-media-kind="image"]{touch-action:none}
.media-viewer-content[data-media-kind="video"]{touch-action:pan-y}
#media-full{
  display:block;
  width:100%;
  height:100%;
  min-width:0;
  min-height:0;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}
#media-full.media-photo{
  cursor:zoom-in;
  user-select:none;
  -webkit-touch-callout:none;
}
.media-viewer-content.is-zoomed #media-full.media-photo{cursor:zoom-out}
#media-full.media-video{max-width:1200px}
.media-viewer-content.is-zoomed #media-full.media-video{object-fit:cover}
#media-close{
  position:absolute;
  z-index:1;
  top:max(6px,env(safe-area-inset-top,0px));
  right:max(8px,env(safe-area-inset-right,0px));
  font-size:28px;
  line-height:1;
}
.media-viewer-toolbar{
  display:grid;
  grid-template-columns:minmax(44px,1fr) auto minmax(44px,1fr);
  align-items:center;
  justify-self:center;
  gap:8px;
  width:min(100%,440px);
  padding:5px 8px;
  border:1px solid #382d44;
  border-radius:17px;
  background:#1e1828;
}
.media-navigation{
  display:flex;
  grid-column:2;
  align-items:center;
  gap:6px;
  color:#e4d8ef;
  font-size:13px;
  font-variant-numeric:tabular-nums;
}
#media-zoom{
  grid-column:3;
  grid-row:1;
  justify-self:end;
}
.media-viewer :is(#media-close,#media-zoom,.media-navigation button){
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  padding:0;
  border:1px solid transparent;
  border-radius:12px;
  background:#2f243d;
  color:#fbf7ff;
  touch-action:manipulation;
}
.media-viewer :is(.media-viewer-toolbar,.media-navigation,#media-zoom)[hidden]{display:none}
.media-viewer-toolbar:has(.media-navigation[hidden]){
  grid-template-columns:auto;
  justify-self:end;
  width:auto;
}
.media-viewer-toolbar:has(.media-navigation[hidden]) #media-zoom{grid-column:1}
.media-viewer-toolbar:has(.media-navigation[hidden]):has(#media-zoom[hidden]){display:none}
.media-viewer :is(#media-close,#media-zoom,.media-navigation button):disabled{
  color:#a295ad;
  opacity:.58;
  cursor:default;
}
.media-viewer #media-zoom[aria-pressed="true"]{
  border-color:#9267b3;
  background:#472f58;
}
.media-viewer #media-zoom[aria-pressed="true"] .media-zoom-plus{display:none}
@media (hover:hover){
  .media-viewer :is(#media-close,#media-zoom,.media-navigation button):not(:disabled):hover{
    background:#493456;
  }
}
.media-viewer :is(.media-navigation,#media-zoom) svg{width:20px;height:20px;pointer-events:none}
#media-position{min-width:42px;text-align:center;white-space:nowrap}
.media-viewer .post-media-error{color:#fbf7ff;text-align:center}
.media-viewer .post-media-error :is(button,a){color:#e6c4ff}
.media-viewer :is(button,a):focus-visible{outline-color:#e6c4ff}
.community-notice{position:fixed;bottom:calc(20px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);max-width:min(90vw,400px);padding:11px 15px;background:#252a34;color:white;border-radius:10px;font-size:14px;line-height:1.5;z-index:20;box-shadow:0 4px 16px #0003}.community-notice:empty{display:none}summary:focus-visible,select:focus-visible{outline:2px solid var(--polish-focus);outline-offset:3px}
@media(max-width:360px){.post-header{padding-inline:11px}.post-actions button{font-size:13px;gap:5px}}

/* A continuous feed, with one divider between posts. */
html[data-theme] body :is(.community,.post-detail) .community-post{margin:0 12px;padding:16px 0 10px;border:0;border-bottom:1px solid var(--polish-line);border-radius:0;background:transparent;box-shadow:none}
html[data-theme] body :is(.community,.post-detail) .post-header{padding:0 0 10px}
html[data-theme] body :is(.community,.post-detail) .post-text{padding-inline:0}
html[data-theme] body :is(.community,.post-detail) .post-read-more{margin-left:0;padding-left:0}
html[data-theme] body :is(.community,.post-detail) .post-actions{padding:4px 0 0;border-top:0}

.post-official-gifts{
 display:grid;gap:5px;list-style:none;margin:2px 0 0;padding:6px 10px;border-radius:8px;
 background:var(--polish-panel,#fff);
 background:color-mix(in srgb,var(--polish-accent,#80539a) 8%,var(--polish-panel,#fff));
}
.post-official-gift-image[hidden],.post-official-gift-details[hidden]{display:none}
.post-official-gift{display:flex;align-items:center;gap:8px;font-size:14px;line-height:1.45}
.post-official-gift-badge{
 flex:none;padding:3px 7px;border-radius:5px;background:#6f3aa1;color:#fff;font-size:11px;
 font-weight:700;line-height:1.2;
}
.post-author-line{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px}
.post-author h3.post-official-name{color:#e4b44c!important}
html[data-theme="light"] .post-author h3.post-official-name{color:#926115!important}
.post-official-gift-message{
 min-width:0;color:var(--polish-accent,#80539a);font-weight:650;overflow-wrap:anywhere;
}
.post-official-gift-details{display:inline-flex;align-items:center;gap:5px;margin-inline-start:5px;vertical-align:middle;white-space:nowrap}
.post-official-gift-image{display:block;width:24px;height:24px;object-fit:contain}
.post-official-gift-price{font-weight:750;font-variant-numeric:tabular-nums}

.post-comment-preview{
 margin:2px 0 0;padding:7px 11px;background:var(--polish-panel);border-radius:8px;color:var(--polish-ink);
 font-size:14px;line-height:1.45;
}
.post-comment-preview[hidden],.post-comment-preview-more[hidden]{display:none}
.post-comment-preview-list{list-style:none;margin:0;padding:0}
.post-comment-preview-toggle{
 position:relative;display:block;width:100%;padding:4px 17px 4px 0;border:0;border-radius:4px;
 background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;
}
.post-comment-preview-toggle:disabled{cursor:default;opacity:1;color:inherit}
.post-comment-preview-toggle:focus-visible{outline-offset:1px}
.post-comment-preview-toggle:not(:disabled)::after{
 content:"";position:absolute;inset:10px 4px auto auto;width:6px;height:6px;
 border:solid var(--polish-accent);border-width:0 1.5px 1.5px 0;transform:rotate(45deg);
}
.post-comment-preview-toggle[aria-expanded=true]::after{top:13px;transform:rotate(225deg)}
.post-comment-preview-text{display:block;overflow-wrap:anywhere;white-space:pre-wrap}
.post-comment-preview-toggle[aria-expanded=false] .post-comment-preview-text{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;
}
.post-comment-preview-name{color:var(--polish-accent);font-weight:700}
.post-comment-preview-more{
 display:inline-flex;align-items:center;min-height:44px;padding:4px 0;border:0;background:transparent;
 color:var(--polish-accent);font:inherit;font-weight:650;cursor:pointer;text-align:left;
}
.post-comment-preview-more:focus-visible{outline:2px solid var(--polish-accent);outline-offset:2px;border-radius:4px}


.comment-form[hidden]{display:none}
.comment-form .comment-emoji-panel{grid-column:1/-1;max-height:min(280px,45dvh);margin:0 0 4px}
#comment-emoji{
 display:grid;place-items:center;align-self:start;width:44px;min-height:44px;padding:0;
 color:var(--polish-accent);background:var(--polish-raised);border:1px solid var(--polish-border);border-radius:9px;
}
#comment-emoji[aria-expanded="true"]{background:var(--polish-panel);border-color:var(--polish-accent)}
#comment-emoji[aria-busy="true"]{cursor:wait}
#comment-emoji:focus-visible,.comment-emoji-panel :is(input,button):focus-visible{
 outline:2px solid var(--polish-accent);outline-offset:-2px;
}
.comment-emoji-panel .chat-emoji-category{background:transparent}
.comment-emoji-panel .chat-emoji-category:is(:hover,[aria-pressed="true"]),.comment-emoji-panel .chat-emoji-choice:hover{
 background:var(--polish-panel);
}
.comment-emoji-panel .chat-emoji-choice{background:transparent}
.comment-text,.post-comment-preview-text,#comment-text{font-family:var(--polish-font,system-ui),var(--chat-emoji-family)}
.community-comment.is-reply{margin-inline-start:22px}
.comment-reply-to{margin:0 0 5px;color:var(--polish-accent);font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.comment-meta-actions{display:flex;gap:3px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.comment-meta .comment-reply{color:var(--polish-accent);font-weight:600;min-height:38px}
.comment-reply-context{
 grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;
 padding:0 0 0 9px;border-inline-start:2px solid var(--polish-accent);
 color:var(--polish-accent);font-size:13px;line-height:1.35;overflow-wrap:anywhere;
}
.comment-reply-context[hidden]{display:none}
.comment-reply-context button{
 flex:none;min-width:40px;min-height:36px;padding:0;border:0;border-radius:6px;
 background:transparent;color:var(--polish-accent);font-size:20px;
}
.comment-reply-summary{min-width:0;flex:1;padding-block:3px}
.comment-reply-context #comment-reply-quote{
 display:block;width:100%;min-width:0;min-height:24px;color:var(--polish-ink);
 font-size:13px;text-align:start;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.comment-reply-context #comment-reply-quote:hover{text-decoration:underline}
.comment-meta .comment-reply:focus-visible,.comment-reply-context button:focus-visible{
 outline:2px solid var(--polish-accent);outline-offset:1px;
}


html[data-theme] body .community-header{
 grid-template-columns:minmax(44px,1fr) auto minmax(88px,1fr);
}
.community-header-actions{display:flex;justify-self:end}
.shell-community-actions{width:88px}
.shell-community-actions button{
 flex:0 0 44px;width:44px;height:44px;display:grid;place-items:center;
 padding:0;border:0;border-radius:9px;background:transparent;color:var(--polish-accent);
}
#community-page{min-height:calc(100dvh - 156px);padding-bottom:0}
.app:has(>#community-page:not([hidden])){overflow:clip}
html[data-theme] body .app:has(>#community-page:not([hidden]))>header{position:sticky;top:0;z-index:4}
@media(max-width:360px){
 html[data-theme] body .app:has(>#community-page:not([hidden]))>header{
  column-gap:4px;
  padding-inline:max(8px,env(safe-area-inset-left,0px)) max(8px,env(safe-area-inset-right,0px));
 }
 html[data-theme] body .app:has(>#community-page:not([hidden]))>header h1{max-width:none}
}
#community-page .detail-header h2{margin:0}
.community-header-actions #community-notifications-open{position:relative}
#community-notifications-open svg{width:21px;height:21px}
#community-notifications-count{
 position:absolute;top:4px;right:3px;min-width:17px;padding:3px 4px;
 border-radius:10px;background:#c83250;color:#fff;font-size:10px;font-weight:700;line-height:1;
}
#community-notifications-count[hidden]{display:none}

html[data-theme] body dialog.community-notifications{
 position:fixed;inset:0;width:min(400px,calc(100% - 36px));max-width:none;box-sizing:border-box;
 height:fit-content;max-height:70vh;max-height:70dvh;margin:auto;
 padding:0;border:1px solid var(--polish-border);border-radius:18px;
 overflow:hidden;background:var(--polish-panel);color:var(--polish-ink);box-shadow:0 20px 52px #10091752;
}
.community-notifications[open]{display:flex;flex-direction:column}
.community-notifications::backdrop{background:#100d19b3}
html[data-theme] body .community-notifications-header{
 position:relative;flex:none;display:flex;align-items:center;justify-content:space-between;gap:8px;
 height:auto;min-height:57px;padding:6px 9px 6px 16px;
 background:var(--polish-panel);border-bottom:1px solid var(--polish-border);
}
.community-notifications-header h2{margin:0;min-width:0;font-size:18px;line-height:1.25}
.community-notifications-actions{display:flex;align-items:center;gap:2px;flex:none}
#community-notifications-read-all,#community-notifications-close{
 min-height:44px;border:0;border-radius:9px;background:transparent;color:var(--polish-accent);
}
#community-notifications-read-all{padding:4px 6px;font-size:12px;font-weight:650}
#community-notifications-read-all[hidden]{display:none}
#community-notifications-close{display:grid;place-items:center;width:44px;padding:0}
#community-notifications-close svg{width:19px;height:19px}
.community-notifications-body{
 min-height:0;overflow:auto;padding:0 12px 8px;overscroll-behavior:contain;
}
@media(max-width:600px),(pointer:coarse) and (max-width:960px){
 html[data-theme] body dialog.community-notifications{
  inset:auto 0 0;width:min(100%,430px);margin:0 auto;
  border-radius:22px 22px 0 0;
 }
 .community-notifications-body{padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}
}
#community-notifications-list{list-style:none;margin:0;padding:0}
#community-notifications-status{margin:12px 4px;color:var(--polish-muted);font-size:14px;line-height:1.5}
#community-notifications-status:empty{display:none}
.community-notification+.community-notification{border-top:1px solid var(--polish-border)}
.community-notification-row{
 position:relative;display:grid;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px;
 width:100%;min-height:62px;padding:9px 4px;border:0;border-radius:7px;
 background:transparent;color:var(--polish-ink);text-align:left;cursor:pointer;
}
.community-notifications :is(button,a):focus-visible{outline:2px solid var(--polish-focus);outline-offset:-2px}
.community-notifications :is(button,a):active{background:var(--polish-raised)}
@media(hover:hover){
 .community-notifications :is(.community-notification-row,#community-notifications-close,#community-notifications-read-all):enabled:hover{background:var(--polish-raised)}
}
.community-notification-avatar{
 display:block;width:34px;height:34px;object-fit:cover;border-radius:50%;background:var(--polish-raised);
}
.community-notification-copy{display:grid;gap:3px;min-width:0}
.community-notification-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}
.community-notification-name{
 min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 font-size:14px;line-height:1.35;font-weight:700;
}
.community-notification-name.is-grouped{white-space:normal;overflow-wrap:anywhere}
.community-notification-name.is-official{color:#e4b44c}
html[data-theme="light"] .community-notification-name.is-official{color:#926115}
.community-notification-time{
 flex:none;margin:0;color:var(--polish-muted);font-size:11px;line-height:1.35;
 font-variant-numeric:tabular-nums;white-space:nowrap;
}
.community-notification-summary{
 display:flex;align-items:center;gap:5px;min-width:0;color:var(--polish-muted);
 font-size:12px;line-height:1.45;
}
.community-notification-icon{display:grid;place-items:center;flex:none;width:15px;height:15px;color:var(--polish-accent)}
.community-notification-icon svg{display:block;width:100%;height:100%}
.community-notification-description{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-notification-mail{
 display:inline-flex;align-items:center;min-height:44px;margin:-3px 4px 2px 48px;padding:0 5px;
 color:var(--polish-accent);font-size:13px;font-weight:650;
}
.community-notifications-body>button{
 min-height:44px;margin:8px 4px 0;padding:7px 10px;border:1px solid var(--polish-border);
 border-radius:8px;background:var(--polish-panel);color:var(--polish-accent);font-size:13px;
}
.community-notifications-body>button[hidden]{display:none}
#comments-newer{
 min-height:44px;padding:8px 10px;border:0;border-radius:8px;
 background:transparent;color:var(--polish-accent);font-size:13px;
}
.notification-comment-highlight .comment-bubble{
 border-radius:4px;outline:1px solid var(--polish-accent);outline-offset:4px;
}

.post-official-profile-trigger{
 position:relative;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;
 padding:0;border:0;border-radius:50%;background:transparent;
}
.post-official-profile-trigger::before{content:"";position:absolute;inset:-4px;border-radius:50%}
.post-official-profile-trigger .post-avatar{display:block}
.post-official-profile-trigger:hover .post-avatar{box-shadow:0 0 0 2px var(--polish-accent,#80539a)}
.post-official-profile-trigger:focus-visible{
 outline:2px solid var(--polish-accent,#80539a);outline-offset:3px;
}

/* post-and-earn.css */
#post-and-earn-page {
  --activity-background: #120d19;
  --activity-line: #392942;
  --activity-text: #fff7ff;
  --activity-muted: #d8c9e2;
  --activity-lilac: #e1c1ff;
  --activity-gold: #ffde93;
  --activity-primary: #7a3eca;
  --activity-secondary-border: #9870be;
  --activity-secondary-pressed: #38254f;
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--activity-background);
  color: var(--activity-text);
  font-size: 15px;
  line-height: 1.45;
}

html[data-theme="light"] #post-and-earn-page {
  --activity-background: var(--polish-canvas);
  --activity-line: var(--polish-line);
  --activity-text: var(--polish-ink);
  --activity-muted: var(--polish-muted);
  --activity-lilac: var(--polish-accent);
  --activity-gold: #805516;
  --activity-primary: var(--polish-primary);
  --activity-secondary-border: var(--polish-accent);
  --activity-secondary-pressed: #ebe1f0;
  color-scheme: light;
}

#post-and-earn-page .activity-back {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 10px 0 0;
  margin-bottom: -10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--activity-lilac);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

#post-and-earn-page .activity-back svg { width: 20px; height: 20px; }

#post-and-earn-page .activity-page {
  display: grid;
  min-width: 0;
  padding-inline: max(18px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-right));
  gap: 20px;
  padding-block: 6px 24px;
}

#post-and-earn-page .activity-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 216px;
  object-fit: cover;
  object-position: center 46%;
  border-radius: 15px 15px 0 0;
  background: color-mix(in srgb, var(--activity-background), var(--activity-lilac) 9%);
  -webkit-mask-image: linear-gradient(#000 68%, transparent);
  mask-image: linear-gradient(#000 68%, transparent);
}

#post-and-earn-page .activity-hero-copy {
  margin-top: -6px;
  padding-bottom: 3px;
}

#post-and-earn-page .activity-page :is(h2, h3, p) { margin: 0; }

#post-and-earn-page .activity-hero h2 {
  font-size: clamp(34px, 10vw, 46px);
  font-weight: 850;
  letter-spacing: -.055em;
  line-height: 1.04;
}

#post-and-earn-page .activity-hero h2 em {
  color: var(--activity-gold);
  font-style: normal;
}

#post-and-earn-page .activity-hero p {
  margin-top: 7px;
  color: var(--activity-muted);
  font-size: 15px;
}
#post-and-earn-page .activity-page section:not(.activity-hero) h2 {
  font-size: 19px;
  font-weight: 740;
  line-height: 1.28;
  letter-spacing: -.015em;
}

#post-and-earn-page .example-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

#post-and-earn-page :is(.example-row, .activity-reward) {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#post-and-earn-page .example-row {
  padding: 10px 0;
}

#post-and-earn-page .example-row + .example-row {
  border-top: 1px solid var(--activity-line);
}

#post-and-earn-page .activity-icon {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--activity-lilac);
}

#post-and-earn-page .activity-icon svg { width: 21px; height: 21px; }

#post-and-earn-page .example-row h3 {
  font-size: 15px;
  font-weight: 720;
  line-height: 1.3;
}

#post-and-earn-page :is(.example-row, .activity-reward, .activity-share) p {
  margin-top: 3px;
  color: var(--activity-muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

#post-and-earn-page .activity-reward {
  padding-top: 14px;
  border-top: 1px solid var(--activity-line);
}

#post-and-earn-page :is(.activity-reward h2, .reward-icon) {
  color: var(--activity-gold);
}

#post-and-earn-page .activity-button {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 11px;
  font: inherit;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#post-and-earn-page .create-activity-post {
  margin-top: -4px;
  border-color: #ae73f0;
  background: var(--activity-primary);
  color: #fff;
}

#post-and-earn-page .create-activity-post:active { background: #6930b5; }

#post-and-earn-page .activity-share {
  padding-top: 17px;
  border-top: 1px solid var(--activity-line);
}

#post-and-earn-page .share-activity {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 11px;
  padding-inline: 16px;
  border-color: var(--activity-secondary-border);
  border-radius: 999px;
  background: transparent;
  color: var(--activity-lilac);
}

#post-and-earn-page .share-activity:active { background: var(--activity-secondary-pressed); }

#post-and-earn-page :is(.activity-back, .activity-button):focus-visible {
  outline: 2px solid var(--activity-gold);
  outline-offset: 3px;
}

/* community-official.css */
.official-community-document{margin:0}
html[data-theme="light"] body.official-community-document{
 --polish-panel:#fff;--polish-raised:#f0f1f4;--polish-border:#dee1e7;
 --polish-ink:#252a34;--polish-muted:#616977;--polish-accent:#80539a;
 background:#e6e8ed;color:var(--polish-ink);
}
.official-community-page,.official-community-page *{box-sizing:border-box}
.official-community-page{
 --official-gutter:clamp(14px,4vw,18px);
 --official-avatar-size:clamp(54px,15.5vw,64px);
 width:min(100%,430px);min-height:100vh;min-height:100dvh;margin:0 auto;
 padding-bottom:calc(24px + env(safe-area-inset-bottom,0px));
 background:var(--polish-panel,#24232d);color:var(--polish-ink,#f2eef6);
}
#official-announcements-page{width:100%;min-height:0;padding-bottom:0}
.official-community-page>.official-community-header{
 position:relative;display:block;height:auto;padding:0;border:0;background:transparent;color:inherit;
}
.official-community-cover{
 position:relative;aspect-ratio:16 / 9;overflow:hidden;
 background:#180d23 radial-gradient(ellipse at 50% 58%,#422064,#180d23 72%);
}
#official-cover{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.official-community-cover::after{
 content:"";position:absolute;inset:0;
 background:linear-gradient(90deg,#150b20ce,#150b20ae 66%,#150b2000 96%);
}
.official-community-cover:has(#official-cover[src="/assets/official-profile-cover-v3.webp"])::after{
 background:linear-gradient(90deg,#150b203b,#150b200d 50%,transparent 68%);
}
.official-community-cover-title{
 position:absolute;z-index:1;top:max(37%,calc(61px + env(safe-area-inset-top,0px)));
 inset-inline-start:var(--official-gutter);max-width:calc(65% - var(--official-gutter));margin:0;
 transform:none;text-align:start;
 color:#fff5df;font-size:clamp(22px,5.8vw,26px);font-weight:760;letter-spacing:-.028em;line-height:1.12;
}
.official-community-cover-title span{display:block;color:#ffe4a3}
#official-back{
 position:absolute;z-index:2;top:calc(10px + env(safe-area-inset-top,0px));left:max(12px,env(safe-area-inset-left,0px));
 display:grid;place-items:center;width:44px;height:44px;border:1px solid #fff4;border-radius:50%;
 background:#160e23cf;color:#fff;text-decoration:none;-webkit-tap-highlight-color:transparent;
}
#official-back:hover{background:#251633}
#official-back:focus-visible{outline:2px solid #f5d88e;outline-offset:2px}
#official-back svg{display:block;width:24px;height:24px}
.official-community-identity{
 position:relative;display:flex;align-items:flex-start;gap:10px;
 padding:0 var(--official-gutter) 14px;
}
#official-avatar{
 display:block;flex:none;width:var(--official-avatar-size);height:var(--official-avatar-size);
 margin-top:calc(var(--official-avatar-size) * -.39);
 object-fit:cover;border:3px solid var(--polish-panel,#24232d);border-radius:14px;
 background:var(--polish-raised,#302d3b);
}
.official-community-identity-copy{min-width:0;padding-top:8px}
.official-community-name,.official-post-author{display:flex;align-items:center;flex-wrap:wrap;gap:4px 7px}
:is(#official-name,.official-post-name){color:#e4b44c}
html[data-theme="light"] :is(#official-name,.official-post-name){color:#926115}
#official-name{
 margin:0;font-size:clamp(16px,4.7vw,20px);font-weight:750;
 line-height:1.22;overflow-wrap:anywhere;
}
#official-signature{
 margin:4px 0 0;color:var(--polish-muted,#bfb5cb);font-size:13px;line-height:1.5;
 white-space:pre-wrap;overflow-wrap:anywhere;
}
#official-signature:empty,#official-status:empty,#official-retry[hidden]{display:none}
.official-post-badge{
 display:inline-flex;align-items:center;flex:none;padding:3px 7px;border-radius:5px;
 background:#6f3aa1;color:#fff;font-size:11px;font-weight:700;line-height:1.2;
}
.official-community-feed{
 padding:14px var(--official-gutter) 0;border-top:1px solid var(--polish-border,#4a4358);
}
#official-posts-title{margin:0;color:inherit;font-size:17px;font-weight:700;line-height:1.4}
#official-status{margin:14px 0 0;color:var(--polish-muted,#bfb5cb);font-size:14px;line-height:1.55}
#official-posts{margin-top:2px}
#official-posts>.official-post{
 display:flex;align-items:flex-start;gap:10px;padding:13px 0 8px;margin:0;
 border:0;border-radius:0;background:transparent;box-shadow:none;
}
#official-posts>.official-post+.official-post{border-top:1px solid var(--polish-border,#4a4358)}
.official-post-avatar{
 display:block;flex:none;width:36px;height:36px;border-radius:50%;object-fit:cover;
 background:var(--polish-raised,#302d3b);
}
.official-post-content{flex:1;min-width:0}
.official-post-author{padding:0;margin:0 0 7px;background:transparent}
.official-post-name{
 margin:0;font-size:15px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;
}
.official-post-body{
 display:block;width:100%;padding:0;border:0;background:transparent;text-align:start;
 color:inherit;font:inherit;cursor:pointer;text-decoration:none;
}
.official-post-text{
 display:block;
 margin:0 0 9px;color:inherit;font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;
}
.official-post-text.is-collapsed{
 display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:6;overflow:hidden;margin-bottom:0;
}
.official-post-media-grid{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;width:min(100%,320px);margin:7px 0 3px;
}
.official-post-media-grid[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr));width:min(100%,246px)}
.official-post-media-grid[data-columns="1"]{grid-template-columns:minmax(0,1fr);width:min(100%,224px)}
.official-post-media,.official-post-video{
 position:relative;display:grid;place-items:center;min-width:0;min-height:44px;aspect-ratio:1;overflow:hidden;
 border-radius:6px;background:var(--polish-raised,#302d3b);color:var(--polish-accent,#caa4e8);text-decoration:none;
}
button.official-post-media{width:100%;padding:0;border:0;cursor:pointer}
.official-post-media-grid[data-columns="1"] :is(.official-post-media,.official-post-video){aspect-ratio:4 / 3}
.official-post-media img{display:block;width:100%;height:100%;object-fit:cover}
.official-post-video{align-content:center;gap:5px;padding:6px;font-size:12px;text-align:center;overflow-wrap:anywhere}
.official-post-video::before{
 content:"";width:0;height:0;border-block:7px solid transparent;border-inline-start:11px solid currentColor;
}
.official-post-footer{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:0 8px}
.official-post-meta{color:var(--polish-muted,#bfb5cb);font-size:12px;line-height:1.5}
.official-post-link{
 display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;
 background:transparent;color:var(--polish-accent,#caa4e8);font:inherit;font-size:13px;font-weight:650;
 text-decoration:none;cursor:pointer;
}
.official-post-link:hover{text-decoration:underline}
.official-post-like{
 display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:44px;min-height:44px;
 padding:0 7px;border:0;border-radius:7px;background:transparent;color:var(--polish-muted,#bfb5cb);
 font:inherit;font-size:13px;font-weight:650;line-height:1.35;cursor:pointer;
 -webkit-tap-highlight-color:transparent;
}
.official-post-like svg{display:block;flex:none;width:17px;height:17px}
.official-post-like-count{font-variant-numeric:tabular-nums}
.official-post-like[aria-pressed="true"]{
 background:var(--polish-raised,#302d3b);color:var(--polish-accent,#caa4e8);
}
@media(hover:hover){.official-post-like:enabled:hover{background:var(--polish-raised,#302d3b);color:var(--polish-accent,#caa4e8)}}
.official-post-like[aria-pressed="true"] svg{fill:currentColor;fill-opacity:.2}
.official-post-like:disabled{cursor:default}
.official-post-like[aria-busy="true"]{cursor:progress}
.official-post-like-error{margin:0 0 5px;color:var(--polish-ink,#f2eef6);font-size:12px;line-height:1.5}
#official-retry{
 min-height:44px;margin-top:9px;padding:8px 12px;border:1px solid var(--polish-border,#4a4358);
 border-radius:8px;background:var(--polish-raised,#302d3b);color:var(--polish-accent,#caa4e8);font:inherit;cursor:pointer;
}
@media(max-height:480px) and (orientation:landscape){
 .official-community-cover{width:100%;height:clamp(124px,34vh,156px);height:clamp(124px,34dvh,156px)}
 #official-cover[src="/assets/official-profile-cover-v3.webp"]{
  object-fit:contain;object-position:right center;
  mask-image:linear-gradient(90deg,transparent 50%,#000 67%);
 }
 .official-community-cover-title{top:auto;bottom:14px;font-size:22px}
 .official-community-identity{padding-bottom:10px}
 .official-community-feed{padding-top:10px}
}
@media(max-width:360px){
 .official-community-name{column-gap:5px}
 .official-community-name .official-post-badge{padding-inline:4px}
 #official-posts>.official-post{gap:8px}
 .official-post-avatar{width:34px;height:34px}
}
