.compose-page{display:grid;gap:20px}.compose-breadcrumb{display:flex;align-items:center;gap:11px;padding:4px;color:#64748b;font-size:12px;font-weight:800}.compose-breadcrumb a{display:inline-flex;align-items:center;gap:8px;color:#94a3b8;text-decoration:none}.compose-breadcrumb a:hover{color:#fff}.compose-breadcrumb>a:first-child i{color:var(--cyan)}.compose-breadcrumb>i{font-size:9px}.compose-breadcrumb span{color:#cbd5e1}.compose-card{margin-top:0;padding:30px}.compose-head h1{margin-top:15px;color:#fff;font-size:36px;font-weight:900;letter-spacing:-.04em}.compose-head p{max-width:760px;margin-top:8px;color:#94a3b8;font-size:13px;line-height:1.65}.compose-form{display:grid;gap:20px;margin-top:28px}.compose-form[hidden],.compose-gate[hidden]{display:none}.compose-row{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);gap:16px}.compose-field{display:grid;gap:8px;color:#cbd5e1;font-size:12px;font-weight:700}.compose-field>span{display:flex;align-items:center;justify-content:space-between;gap:12px}.compose-field small{color:#64748b;font-size:10px;font-weight:600}.compose-field input,.compose-field select{width:100%;height:52px;padding:0 16px;border:1px solid rgba(255,255,255,.09);border-radius:17px;color:#fff;background:rgba(255,255,255,.04);font:500 13px Inter,sans-serif;outline:none}.compose-field input:focus,.compose-field select:focus{border-color:rgba(56,189,248,.55);box-shadow:0 0 0 3px rgba(56,189,248,.10)}.rich-editor{overflow:hidden;border:1px solid rgba(255,255,255,.09);border-radius:22px;background:rgba(255,255,255,.025)}.rich-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding:9px;border-bottom:1px solid rgba(255,255,255,.08);background:rgba(255,255,255,.025)}.rich-toolbar button{display:grid;place-items:center;width:38px;height:38px;border:1px solid transparent;border-radius:12px;color:#94a3b8;background:transparent;cursor:pointer}.rich-toolbar button:hover,.rich-toolbar button:focus-visible{color:#fff;border-color:rgba(56,189,248,.25);background:rgba(56,189,248,.07);outline:none}.toolbar-divider{width:1px;height:24px;margin:0 3px;background:rgba(255,255,255,.09)}.rich-surface{min-height:270px;padding:20px;color:#e2e8f0;font-size:14px;font-weight:500;line-height:1.75;outline:none}.rich-surface:empty::before{content:attr(data-placeholder);color:#64748b}.rich-surface p{margin:0 0 12px}.rich-surface ul,.rich-surface ol{margin:8px 0;padding-left:25px}.rich-surface blockquote{margin:12px 0;padding:10px 15px;border-left:3px solid var(--cyan);color:#cbd5e1;background:rgba(56,189,248,.05)}.rich-surface a{color:#7dd3fc;text-decoration:underline}.editor-status{display:flex;justify-content:space-between;gap:12px;padding:9px 14px;border-top:1px solid rgba(255,255,255,.07);color:#64748b;font-size:10px;font-weight:600}.tag-editor{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-height:52px;padding:7px 10px;border:1px solid rgba(255,255,255,.09);border-radius:17px;background:rgba(255,255,255,.04)}.tag-editor:focus-within{border-color:rgba(56,189,248,.55);box-shadow:0 0 0 3px rgba(56,189,248,.10)}.tag-list{display:flex;flex-wrap:wrap;gap:7px}.tag-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(56,189,248,.18);border-radius:999px;color:#bae6fd;background:rgba(56,189,248,.07);font-size:11px;font-weight:800}.tag-chip button{border:0;color:#64748b;background:none;cursor:pointer}.tag-editor>input{flex:1;min-width:190px;height:36px;padding:0 5px;border:0;background:transparent;box-shadow:none}.compose-help{color:#64748b;font-size:10px;font-weight:500}.follow-choice{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(255,255,255,.025);cursor:pointer}.follow-choice input{width:18px;height:18px;margin-top:2px;accent-color:#3b82f6}.follow-choice strong{display:block;color:#fff;font-size:13px}.follow-choice small{display:block;margin-top:4px;color:#94a3b8;font-size:11px}.compose-actions{display:flex;justify-content:flex-end;gap:10px}.compose-error:empty{display:none}.compose-error{padding:12px 14px;border:1px solid rgba(248,113,113,.22);border-radius:18px;color:#fecaca;background:rgba(248,113,113,.08);font-size:12px}.compose-gate{margin-top:25px;padding:36px;text-align:center;border:1px dashed rgba(255,255,255,.10);border-radius:24px}.compose-gate>i{color:#d8b4fe;font-size:28px}.compose-gate h2{margin-top:13px;color:#fff;font-size:20px;font-weight:900}.compose-gate p{margin:7px 0 17px;color:#94a3b8;font-size:12px}.compose-gate .site-button{width:min(320px,100%)}
@media(max-width:700px){.compose-card{padding:22px 18px}.compose-head h1{font-size:30px}.compose-row{grid-template-columns:1fr}.rich-toolbar{gap:3px}.rich-toolbar button{width:35px;height:35px}.rich-surface{min-height:230px;padding:16px}.compose-actions{flex-direction:column-reverse}.compose-actions .site-button{width:100%}.compose-breadcrumb{overflow:hidden}.compose-breadcrumb a,.compose-breadcrumb span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.compose-page,.rich-editor,.rich-surface{min-width:0}.rich-surface{overflow-wrap:anywhere}
.rich-surface ul{list-style:disc}.rich-surface ol{list-style:decimal}.rich-surface li{padding-left:3px}
.rich-surface b,.rich-surface strong{font-weight:900}
.emoji-picker{position:relative;margin-left:3px}.emoji-trigger{font-size:15px}.emoji-panel{position:absolute;z-index:80;top:calc(100% + 8px);right:0;display:grid;grid-template-columns:repeat(8,34px);gap:3px;padding:8px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:#0b111c;box-shadow:0 18px 48px rgba(0,0,0,.58)}.emoji-panel[hidden]{display:none}.rich-toolbar .emoji-panel button{width:34px;height:34px;border-radius:9px;color:inherit;font-size:19px}.rich-toolbar .emoji-panel button:hover,.rich-toolbar .emoji-panel button:focus-visible{border-color:rgba(56,189,248,.28);background:rgba(56,189,248,.09)}
.rich-toolbar button.is-active{color:#fff;border-color:rgba(56,189,248,.42);background:rgba(56,189,248,.13);box-shadow:inset 0 0 0 1px rgba(56,189,248,.08)}
.rich-surface img,.rich-topic-body img{display:block;width:auto;max-width:100%;max-height:760px;margin:18px auto;border:1px solid rgba(255,255,255,.08);border-radius:18px;object-fit:contain}.poll-builder{display:grid}.poll-builder[hidden]{display:none}.poll-fields{display:grid;gap:14px;padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:20px;background:rgba(255,255,255,.025)}.poll-fields[hidden]{display:none}.poll-heading{display:flex;align-items:center;justify-content:space-between;color:#fff;font-size:14px}.poll-heading button,.poll-option-add{border:0;color:#94a3b8;background:transparent;font:700 11px Inter,sans-serif;cursor:pointer}.poll-heading button:hover,.poll-option-add:hover{color:#fff}.poll-options{display:grid;gap:9px}.poll-option{display:grid;grid-template-columns:30px 1fr 36px;align-items:center;border:1px solid rgba(255,255,255,.08);border-radius:15px;background:rgba(255,255,255,.035)}.poll-option>span{color:#64748b;text-align:center;font-size:11px;font-weight:800}.poll-option input{height:46px!important;padding:0 4px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.poll-option button{height:36px;border:0;color:#64748b;background:transparent;cursor:pointer}.poll-option button:hover{color:#fff}.poll-option-add{justify-self:start;padding:5px}
.rich-surface{max-height:65vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.compose-field select{appearance:none;-webkit-appearance:none;padding-right:52px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e2e8f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 20px center;background-size:16px}
@media(max-width:520px){.rich-toolbar button{width:42px;height:42px}.rich-surface{max-height:55vh}.tag-editor>input{min-width:120px}.editor-status{align-items:flex-end;flex-direction:column}.compose-breadcrumb{font-size:11px}}
@media(max-width:520px){.emoji-panel{right:-8px;grid-template-columns:repeat(6,36px)}.rich-toolbar .emoji-panel button{width:36px;height:36px}}

/* Compact compose layout: keeps the working controls above the fold. */
.compose-page{gap:16px}
.compose-card{padding:24px 30px 28px}
.compose-head h1{margin:0;font-size:34px}
.compose-head p{margin-top:6px;line-height:1.55}
.compose-form{gap:16px;margin-top:20px}
@media(max-width:700px){.compose-card{padding:18px}.compose-head h1{font-size:28px}.compose-form{gap:15px;margin-top:18px}}
