/* style.css */
:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#20283e;background:#f6f7fb}*{box-sizing:border-box}body{margin:0;font-size:16px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a7a0ff;outline-offset:2px}.top{height:76px;background:#fff;border-bottom:1px solid #e8eaf1;display:flex;align-items:center;justify-content:space-between;padding:0 max(22px,calc((100vw - 1320px)/2));position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:11px}.logo{width:43px;height:43px;background:linear-gradient(150deg,#8074ff,#5041d9);border-radius:14px;color:#fff;display:grid;place-items:center;font-size:22px;font-weight:900;transform:rotate(-5deg);box-shadow:0 8px 18px #6657ee3b}.brand>div:last-child{display:flex;flex-direction:column}.brand strong{font-size:17px;letter-spacing:-.4px}.brand small{color:#9097a8;font-size:12px}.head-actions{display:flex;align-items:center;gap:18px}.head-actions>span{font-size:13px;color:#747d90}.main-button{border:0;background:linear-gradient(135deg,#786bff,#5c4ce2);color:#fff;border-radius:13px;padding:12px 17px;font-weight:750;box-shadow:0 10px 22px #6353ea29}.layout{max-width:1320px;margin:auto;padding:31px 22px 100px;display:grid;grid-template-columns:210px minmax(0,710px) 260px;gap:35px}.sidebar,.right{position:sticky;top:107px;height:max-content}.side-title{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#a0a6b5;padding:11px 13px}.sidebar nav{display:grid;gap:4px}.sidebar nav button{width:100%;border:0;text-align:left;background:transparent;padding:12px 14px;border-radius:13px;color:#5b6478;display:flex;align-items:center;gap:11px;font-size:14px}.sidebar nav button.active{background:#fff;color:#262e43;font-weight:750;box-shadow:0 8px 25px #252f4a0d}.sidebar nav button .symbol{width:22px;font-size:19px;text-align:center}.safety{margin-top:29px;padding:18px;border-radius:18px;background:#fff5df;border:1px solid #ffe6b1}.safety>span{font-size:24px}.safety strong{display:block;font-size:14px;margin:8px 0 5px}.safety p{font-size:12px;color:#756c5b;line-height:1.5;margin:0}.intro{display:flex;align-items:end;justify-content:space-between;margin:0 0 22px}.intro small{color:#9a9fb0;font-size:11px;font-weight:800;letter-spacing:1.3px}.intro h1{font-size:31px;letter-spacing:-1px;margin:4px 0 0}.live{font-size:12px;color:#667084;background:#fff;border:1px solid #e8eaf1;padding:8px 11px;border-radius:20px}.live i{display:inline-block;width:7px;height:7px;background:#23be9e;border-radius:50%;margin-right:5px}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e5e8f0;border-radius:15px;padding:0 15px;height:52px;color:#9ca3b3}.search span{font-size:30px;line-height:1}.search input{border:0;outline:none;flex:1;min-width:0;background:none;font-size:14px}.chips{display:flex;gap:8px;overflow:auto;padding:16px 0 20px;scrollbar-width:none}.chips button{white-space:nowrap;background:#fff;color:#677085;border:1px solid #e6e8f0;border-radius:20px;padding:8px 13px;font-size:13px}.chips button.active{background:#252d43;color:#fff;border-color:#252d43}.feed-label{display:flex;justify-content:space-between;align-items:center;color:#7a8293;font-size:13px;font-weight:700;margin-bottom:12px}.feed{display:grid;gap:14px}.card{background:#fff;border:1px solid #e8eaf1;border-radius:20px;padding:19px;display:grid;grid-template-columns:48px 1fr;gap:14px;position:relative}.card .icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;color:#fff;font-size:22px}.meta{font-size:12px;color:#9299aa;display:flex;align-items:center;gap:7px}.meta i{width:7px;height:7px;border-radius:50%;display:inline-block}.card h2{font-size:18px;letter-spacing:-.3px;margin:7px 70px 7px 0}.card p{font-size:14px;line-height:1.55;color:#626b7f;margin:0;white-space:pre-wrap}.card footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:17px}.author{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.author .avatar{width:30px;height:30px;border-radius:10px;background:#f1f2f8;color:#798095;display:grid;place-items:center}.author small{display:block;color:#d9456b;font-size:11px;font-weight:600}.actions{display:flex;gap:6px}.actions button{border:0;background:#f4f5f9;color:#737b8d;border-radius:9px;padding:7px 9px;font-size:12px}.actions button.liked{background:#fff0f4;color:#df456b}.actions button.delete{background:#fff0f2;color:#d64761}.price{position:absolute;right:19px;top:19px;padding:7px 10px;border-radius:10px;background:#efedff;color:#5749da;font-size:13px}.empty{text-align:center;background:#fff;border:1px solid #e8eaf1;border-radius:20px;padding:58px 20px;color:#798196}.empty .empty-icon{font-size:38px}.empty h2{color:#2a3247;font-size:20px;margin:12px 0 6px}.empty p{font-size:14px;margin:0}.highlight{background:#252d45;border-radius:22px;color:#fff;padding:22px;min-height:230px;position:relative;overflow:hidden}.highlight .spark{position:absolute;right:16px;top:8px;font-size:64px;color:#8e80ff}.highlight small{color:#bcb6ff;font-size:10px;letter-spacing:1.4px;font-weight:800}.highlight h2{font-size:24px;letter-spacing:-.6px;margin:27px 0 7px}.highlight p{font-size:12px;line-height:1.5;color:#c7c9d5}.highlight button{margin-top:9px;border:0;background:#fff;color:#5145d8;border-radius:10px;padding:10px 12px;font-size:12px;font-weight:800}.right-card{margin-top:16px;background:#fff;border:1px solid #e8eaf1;border-radius:21px;padding:19px}.right-card>strong{font-size:14px}.right-card>div{display:flex;gap:10px;align-items:center;margin-top:18px}.right-card b{color:#6a5af1;font-size:12px}.right-card span{color:#6e7586;font-size:12px;line-height:1.4}.bottom{display:none}.modal{position:fixed;inset:0;background:#10162b9c;backdrop-filter:blur(7px);z-index:20;display:grid;place-items:center;padding:18px}.modal[hidden],.toast[hidden]{display:none}.dialog{background:#fff;width:min(520px,100%);max-height:92vh;overflow:auto;border-radius:24px;padding:25px;position:relative;box-shadow:0 25px 70px #0a102a4a}.close{position:absolute;right:17px;top:17px;border:0;background:#f1f2f7;color:#5f687b;width:36px;height:36px;border-radius:10px;font-size:26px;line-height:1}.modal-mark{width:42px;height:42px;border-radius:13px;background:#eeeaff;color:#6655e9;display:grid;place-items:center;font-size:22px}.dialog h2{font-size:25px;letter-spacing:-.5px;margin:13px 0 4px}.dialog>p{font-size:14px;color:#82899a;margin:0 0 17px}.dialog form label{font-size:12px;color:#626a7e;font-weight:750;display:grid;gap:6px;margin-top:13px}.dialog input:not([type=checkbox]),.dialog textarea,.dialog select{width:100%;border:1px solid #dee2ed;border-radius:11px;padding:11px 12px;resize:vertical;background:#fff;color:#263047;outline:0;font-size:14px}.dialog .anon{display:flex;align-items:center;gap:10px;background:#f4f5fa;border-radius:13px;padding:13px;margin:16px 0}.anon input{accent-color:#6657ee;width:18px;height:18px}.anon span{display:flex;flex-direction:column}.anon small{font-weight:400;color:#8b92a2}.submit{width:100%;margin-top:12px}.form-error{color:#d54560;font-size:13px;min-height:15px}.comments{max-height:40vh;overflow:auto}.comment{border-bottom:1px solid #edf0f5;padding:12px 0}.comment b{font-size:12px}.comment small{color:#9aa1b0;font-size:11px;margin-left:8px}.comment p{font-size:14px;color:#424b60;margin:5px 0}.toast{position:fixed;z-index:30;bottom:25px;left:50%;transform:translateX(-50%);background:#252d43;color:#fff;border-radius:12px;padding:11px 16px;font-size:13px;box-shadow:0 12px 30px #19213944}
@media(max-width:1050px){.layout{grid-template-columns:185px minmax(0,1fr)}.right{display:none}}@media(max-width:720px){.top{height:68px;padding:0 15px}.brand small,.head-actions{display:none}.brand strong{font-size:16px}.layout{display:block;padding:21px 13px 100px}.sidebar{display:none}.intro h1{font-size:27px}.live{display:none}.card{grid-template-columns:42px 1fr;padding:15px;gap:11px}.card .icon{width:42px;height:42px;border-radius:13px;font-size:18px}.card h2{font-size:16px;margin-right:0}.card p{font-size:13px}.card footer{align-items:flex-end}.price{position:static;width:max-content;margin:8px 0 0 53px}.bottom{display:flex;position:fixed;bottom:0;left:0;right:0;height:72px;padding-bottom:env(safe-area-inset-bottom);background:#fff;border-top:1px solid #e8eaf1;z-index:10;align-items:center;justify-content:space-around}.bottom button{border:0;background:transparent;color:#9aa1b0;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:21px;line-height:1}.bottom button span{font-size:10px}.bottom button.active{color:#6253e5}.bottom .mobile-plus{width:50px;height:50px;background:#6556ed;color:#fff;border-radius:16px;transform:translateY(-9px);box-shadow:0 8px 20px #6556ed55;font-size:30px}.dialog{padding:21px}.author{font-size:11px}.actions button{padding:6px 7px}}

/* mobile.css */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
@media (max-width: 720px) {
  .dialog input:not([type=checkbox]), .dialog textarea, .dialog select,
  .search input { font-size: 16px; }
  .dialog { max-width: calc(100vw - 24px); }
  .content, .feed, .card { min-width: 0; }
  .card { overflow-wrap: anywhere; }
}

/* attachments.css */
.post-image { display: block; width: 100%; max-height: 460px; object-fit: contain; background: #f4f5fb; border-radius: 14px; margin: 14px 0; }
.post-file { display: inline-flex; max-width: 100%; overflow-wrap: anywhere; margin-top: 12px; padding: 9px 12px; border-radius: 10px; background: #eef0ff; color: #5260c9; font-size: 13px; font-weight: 700; text-decoration: none; }
.post-file:hover { background: #e2e6ff; }
.post-video { display: block; width: 100%; max-height: 480px; border-radius: 14px; background: #171b2c; margin: 14px 0; }
.inline-link { color: #6253d9; font-weight: 650; overflow-wrap: anywhere; }

/* admin-extra.css */
.admin-tools { display: flex; gap: 8px; margin: 14px 0; }
.admin-tools input, .admin-tools select { min-width: 0; border: 1px solid #dfe3ed; border-radius: 10px; padding: 10px; background: white; color: #273047; font: inherit; font-size: 13px; }
.admin-tools input { flex: 1; }
.admin-section-title { margin: 22px 0 10px; font-size: 16px; }
.admin-comments { max-height: 360px; overflow: auto; }
@media(max-width: 520px) { .admin-tools { flex-direction: column; } .admin-tools input, .admin-tools select { width: 100%; font-size: 16px; } }

/* pwa.css */
.settings-button{margin-left:14px;width:38px;height:38px;border:1px solid #dedff0;background:#fff;color:#6656df;border-radius:12px;font-size:19px;display:grid;place-items:center;transition:transform .15s,background .15s}.settings-button:hover{background:#f1efff;transform:rotate(18deg)}
.install-preview{display:flex;align-items:center;gap:10px;padding:11px;background:linear-gradient(120deg,#f1efff,#f8f9ff);border:1px solid #e6e3ff;border-radius:16px;margin:0 0 17px}.install-preview-icon{width:39px;height:39px;border-radius:11px;box-shadow:0 5px 12px #574bc333}.install-preview-caption{min-width:0;display:flex;flex:1;flex-direction:column;gap:2px}.install-preview-caption strong{font-size:12px}.install-preview-caption span{font-size:9px;color:#7e86a1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.install-preview-arrow{color:#887cea;font-size:16px}.install-preview-action{max-width:155px;border-radius:10px;padding:8px;background:#fff;color:#5c50d1;box-shadow:0 3px 12px #6a5cd41a;font-size:10px;font-weight:800;line-height:1.25}
.install-overlay{position:fixed;inset:0;z-index:60;background:#161b34ae;backdrop-filter:blur(8px);display:grid;place-items:center;padding:16px}.install-panel{position:relative;width:min(480px,100%);max-height:min(92dvh,820px);overflow:auto;padding:25px 28px 22px;border-radius:26px;background:#fff;color:#26304c;box-shadow:0 28px 80px #0f17344d}.install-close{position:absolute;right:17px;top:16px;width:33px;height:33px;border:0;border-radius:10px;background:#f2f3f9;color:#69738b;font-size:24px;line-height:1}.install-art{position:relative;width:90px;margin:0 auto 14px}.install-app-icon{width:80px;height:80px;border-radius:23px;box-shadow:0 14px 28px #5c51c44d}.install-star{position:absolute;right:0;top:-7px;color:#f9ba45;font-size:30px}.install-eyebrow{text-align:center;color:#695ae7;font-size:10px;font-weight:850;letter-spacing:2px}.install-panel h2{text-align:center;font-size:24px;line-height:1.16;margin:9px 12px 8px;letter-spacing:-.5px}.install-intro{text-align:center;font-size:13px;line-height:1.5;color:#7d8597;margin:0 4px 20px}.install-note,.install-done{border-radius:13px;background:#f0efff;color:#5548bd;padding:11px 13px;font-size:12px;line-height:1.45;margin-bottom:13px}.install-done{background:#eefaf4;color:#21815b}.install-steps{display:grid;gap:13px}.install-step{display:flex;gap:11px;align-items:flex-start}.install-number{flex:none;width:29px;height:29px;border-radius:10px;display:grid;place-items:center;background:#efedff;color:#6655d8;font-size:11px;font-weight:850}.install-step strong{font-size:13px}.install-step p{font-size:11px;line-height:1.45;color:#7d8596;margin:3px 0 0}.install-link-row{display:flex;align-items:center;gap:6px;margin:19px 0 7px;padding:6px 6px 6px 11px;background:#f6f7fb;border:1px solid #e7e9f2;border-radius:11px}.install-link{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5863a8;font-size:11px;text-decoration:none}.install-copy{flex:none;border:0;border-radius:8px;background:#e8e6ff;color:#5d50cc;font-size:11px;font-weight:800;padding:8px}.install-primary,.install-later{display:block;width:100%;border:0;border-radius:12px;padding:12px;font-size:13px;font-weight:800}.install-primary{background:#6656ed;color:white;margin-top:12px}.install-later{background:transparent;color:#82899a;margin-top:5px}.hidden{display:none!important}
@media(max-width:720px){.top{gap:8px}.settings-button{margin-left:auto;flex:none}.install-overlay{align-items:end;padding:0}.install-panel{width:100%;max-height:92dvh;border-radius:26px 26px 0 0;padding:21px 22px calc(17px + env(safe-area-inset-bottom))}.install-panel h2{font-size:22px}.install-link{font-size:10px}}

/* redesign.css */
:root{--violet:#6356e8;--ink:#202944;--muted:#7d879c;--glass:rgba(255,255,255,.74)}
html{scroll-behavior:smooth}body{min-height:100dvh;color:var(--ink);background:radial-gradient(circle at 12% -10%,#e1deff 0,transparent 38%),radial-gradient(circle at 90% 16%,#eaf4ff 0,transparent 37%),#f7f8fc}
.top{height:76px;padding:0 max(20px,calc((100vw - 760px)/2));background:rgba(255,255,255,.58);border-bottom:1px solid rgba(255,255,255,.8);backdrop-filter:blur(24px) saturate(160%);-webkit-backdrop-filter:blur(24px) saturate(160%);box-shadow:0 9px 30px #747db511}
.brand .logo{background:#6659e9 url('/icon-192.png') center/cover;color:transparent;transform:none;box-shadow:0 7px 18px #6255cf3d}.brand strong{font-weight:850;letter-spacing:-.6px}.brand small{color:#7d85a0}
.head-actions,.settings-button,.sidebar,.right{display:none!important}
.layout{display:block;width:min(760px,100%);max-width:none;padding:27px 22px 130px}.content{width:100%;min-width:0}.intro{align-items:center;margin-bottom:17px}.intro small{color:#8b87bc}.intro h1{font-size:32px;letter-spacing:-1.2px}.intro .admin-open{display:none!important}.live{background:rgba(255,255,255,.58);border-color:#ffffffc7;backdrop-filter:blur(12px)}
.search{height:54px;border:1px solid #ffffffd9;background:rgba(255,255,255,.67);box-shadow:0 8px 30px #7980aa12;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-radius:17px;transition:box-shadow .2s,transform .2s}.search:focus-within{box-shadow:0 11px 34px #6158d02c;transform:translateY(-1px)}.search input{font-size:16px;color:var(--ink)}
.chips{display:none!important}.feed-label{margin:22px 2px 13px;color:#8d93a6}.feed{gap:14px}.card{border:1px solid #ffffffeb;background:rgba(255,255,255,.79);backdrop-filter:blur(20px) saturate(150%);-webkit-backdrop-filter:blur(20px) saturate(150%);border-radius:22px;box-shadow:0 10px 36px #6d76a614;animation:card-enter .34s ease both}.card h2{color:#29304d}.card footer{min-width:0}.card .author-details{min-width:0;overflow-wrap:anywhere}.empty{background:rgba(255,255,255,.72);border:1px solid #fff;box-shadow:0 10px 35px #6d76a613;border-radius:24px}
.bottom{display:flex!important;position:fixed;z-index:15;left:50%;right:auto;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(600px,calc(100vw - 28px));height:72px;padding:6px;background:rgba(255,255,255,.75);border:1px solid #ffffffea;border-radius:24px;box-shadow:0 10px 35px #444b7e31, inset 0 1px #fff;backdrop-filter:blur(28px) saturate(190%);-webkit-backdrop-filter:blur(28px) saturate(190%);align-items:center;justify-content:space-around}
.bottom button{flex:1;min-width:0;height:58px;padding:6px 2px;border:0;border-radius:17px;background:transparent;color:#9198aa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;line-height:1;transition:background .22s,color .22s,transform .22s}.bottom button b{font-size:24px;font-weight:650;line-height:1}.bottom button span{font-size:10px;font-weight:750}.bottom button.active{color:#6254db;background:#eeeaffba}.bottom button:active{transform:scale(.91)}.bottom .mobile-plus{width:auto;height:58px;transform:none;box-shadow:none;background:linear-gradient(145deg,#8379ff,#5a4ad8);color:#fff;border-radius:17px;flex:.9}.bottom .mobile-plus b{font-size:27px}.bottom .mobile-plus span{color:#fff}
.modal{z-index:30}.dialog{border:1px solid #ffffffdd;background:rgba(255,255,255,.96);box-shadow:0 22px 70px #121a4560;backdrop-filter:blur(30px);-webkit-backdrop-filter:blur(30px)}.toast{bottom:calc(95px + env(safe-area-inset-bottom));z-index:35}
.video-feed{display:block;max-width:520px;margin:0 auto;max-height:calc(100dvh - 216px);overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none;border-radius:26px}.video-feed::-webkit-scrollbar{display:none}.video-card{height:calc(100dvh - 216px);min-height:330px;max-height:720px;scroll-snap-align:start;scroll-snap-stop:always;position:relative;overflow:hidden;border-radius:26px;background:#1d2033;margin:0 0 12px;box-shadow:0 18px 45px #2027463a}.video-player{display:block;width:100%;height:100%;object-fit:cover;background:#171b29}.video-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#12142744 0%,transparent 28%,transparent 42%,#0b0c1bbd 100%)}.video-caption{position:absolute;z-index:2;left:20px;right:100px;bottom:22px;color:#fff;text-shadow:0 1px 7px #0009}.video-caption h2{font-size:21px;line-height:1.15;letter-spacing:-.5px;margin:8px 0}.video-caption p{font-size:13px;line-height:1.42;margin:0 0 9px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap}.video-caption strong{font-size:13px}.video-caption small{display:block;font-size:10px;margin-top:4px}.video-category{display:inline-block;padding:5px 9px;border-radius:999px;background:#ffffff38;border:1px solid #ffffff55;font-size:10px;font-weight:800;backdrop-filter:blur(12px)}.video-rail{position:absolute;z-index:3;right:12px;bottom:19px;display:grid;gap:8px}.video-rail button{width:68px;min-height:48px;border:1px solid #ffffff44;background:#ffffff2a;color:#fff;border-radius:15px;backdrop-filter:blur(13px);font-size:13px;font-weight:800;text-shadow:0 1px 4px #0008}.video-rail button.liked{color:#ffb9ca}.video-rail .video-sound{font-size:10px}.video-empty{min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center}.video-empty .main-button{margin-top:18px}
.more-overlay{position:fixed;inset:0;z-index:45;background:#11182d83;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);display:flex;align-items:end;justify-content:center}.more-panel{width:min(600px,100%);max-height:82dvh;overflow:auto;background:rgba(255,255,255,.94);border:1px solid #ffffffeb;border-radius:30px 30px 0 0;padding:12px 20px calc(25px + env(safe-area-inset-bottom));box-shadow:0 -20px 60px #11183138;backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%);animation:sheet-up .3s cubic-bezier(.2,.8,.2,1)}.more-handle{width:38px;height:5px;background:#d6d8e6;border-radius:9px;margin:0 auto 17px}.more-heading{display:flex;align-items:center;justify-content:space-between;font-size:22px;font-weight:850;letter-spacing:-.6px}.more-close{width:32px;height:32px;border:0;border-radius:10px;background:#f0f1f7;color:#6d7489;font-size:23px}.more-subtitle{font-size:12px;color:#8d95a8;margin:4px 0 17px}.more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.more-item{display:flex;align-items:center;gap:10px;min-width:0;min-height:60px;border:1px solid #e8eaf4;background:#fff;border-radius:17px;padding:10px;text-align:left;color:#2c344e;box-shadow:0 5px 15px #5560900b}.more-item strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.more-icon{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;font-size:19px}.more-utility{display:grid;gap:8px;margin-top:16px;border-top:1px solid #edf0f6;padding-top:14px}.more-utility button{border:0;background:#f2f2fc;color:#5e53bd;border-radius:13px;padding:12px;text-align:left;font-size:13px;font-weight:750}
@keyframes card-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes sheet-up{from{opacity:.7;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:720px){.top{height:65px;padding:0 16px}.brand small{display:none}.brand strong{font-size:16px}.brand .logo{width:39px;height:39px;border-radius:12px}.layout{width:100%;padding:19px 15px 112px}.intro{margin-bottom:15px}.intro h1{font-size:27px}.search{height:49px}.feed-label{margin-top:18px}.card{grid-template-columns:41px minmax(0,1fr);gap:10px;padding:15px}.card h2{margin-right:0}.card footer{flex-wrap:wrap}.card .actions{margin-left:auto}.bottom{height:68px}.bottom button{height:55px}.bottom .mobile-plus{height:55px}.bottom button b{font-size:22px}.bottom button span{font-size:9px}.video-feed{max-height:calc(100dvh - 205px)}.video-card{height:calc(100dvh - 205px);min-height:320px}.video-caption{left:16px;right:88px;bottom:18px}.video-caption h2{font-size:19px}.video-rail{right:9px}.video-rail button{width:62px;min-height:45px}.dialog input:not([type=checkbox]),.dialog textarea,.dialog select{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* forum-redesign.css */
.forum-feed{display:grid;gap:13px}.forum-hero{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:18px;border-radius:24px;padding:22px 24px;background:linear-gradient(128deg,#5d52df,#8b80f5);color:#fff;box-shadow:0 15px 36px #6559ce36}.forum-hero:after{content:"";position:absolute;width:180px;height:180px;right:-54px;top:-76px;border:2px solid #ffffff35;border-radius:50%;box-shadow:0 0 0 28px #ffffff0b,0 0 0 58px #ffffff08}.forum-hero>*{position:relative;z-index:1}.forum-hero small{font-size:10px;font-weight:850;letter-spacing:1.8px;color:#dcd9ff}.forum-hero h2{font-size:23px;letter-spacing:-.5px;margin:7px 0 6px}.forum-hero p{max-width:370px;font-size:12px;line-height:1.5;color:#eceaff;margin:0}.forum-create{flex:none;border:1px solid #ffffff8a;border-radius:13px;background:#fff;color:#6153cf;padding:11px 13px;font-size:12px;font-weight:850;box-shadow:0 7px 18px #342c8c29}.forum-empty{padding:44px 20px}
.forum-topic{min-width:0;border:1px solid #fff;border-radius:22px;padding:20px;background:rgba(255,255,255,.82);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 9px 28px #5e6b9d14;animation:card-enter .32s ease both;transition:transform .18s,box-shadow .18s}.forum-topic:hover{transform:translateY(-2px);box-shadow:0 14px 33px #5e6b9d23}.forum-topic-head{display:flex;align-items:center;gap:10px}.forum-avatar{width:38px;height:38px;flex:none;border-radius:13px;background:linear-gradient(145deg,#e2dfff,#f1efff);color:#6d5add;display:grid;place-items:center;font-size:17px;font-weight:850}.forum-byline{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.forum-byline strong{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.forum-byline small{font-size:10px;color:#9aa1b2}.forum-replies{flex:none;color:#6259d0;background:#f0efff;border-radius:11px;padding:7px 9px;font-size:12px;font-weight:800}.forum-topic h2{font-size:19px;letter-spacing:-.4px;margin:16px 0 6px;overflow-wrap:anywhere}.forum-excerpt{font-size:13px;line-height:1.55;color:#6d768b;margin:0;white-space:pre-wrap;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.forum-media{display:block;width:100%;max-height:320px;object-fit:contain;border-radius:14px;background:#f3f4fa;margin-top:13px}.forum-topic video.forum-media{background:#171b2b}.forum-last{display:grid;grid-template-columns:auto 1fr;column-gap:7px;row-gap:4px;margin-top:15px;border-radius:13px;background:#f5f5fc;padding:10px 12px}.forum-last span{grid-column:1/-1;color:#8d94a8;font-size:10px;font-weight:750}.forum-last strong{font-size:11px;color:#5e55bb}.forum-last p{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;color:#697185}.forum-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:16px}.forum-actions button{border:0;border-radius:11px;background:#f1efff;color:#6154cf;padding:9px 12px;font-size:12px;font-weight:800}.forum-actions .forum-open{background:#6758e9;color:#fff}.forum-actions button.liked{color:#cf4f77;background:#fff0f5}.discussion-intro{font-size:13px;line-height:1.5;color:#626b83;background:#f5f5fd;border-radius:12px;padding:11px 13px;margin:12px 0}
@media(max-width:720px){.forum-hero{display:block;padding:20px}.forum-hero h2{font-size:21px}.forum-hero p{max-width:none}.forum-create{margin-top:14px}.forum-topic{padding:16px}.forum-topic h2{font-size:17px}.forum-media{max-height:260px}}

/* discussion.css */
.discussion-page[hidden]{display:none!important}
body.discussion-route{background:radial-gradient(circle at 10% 0%,#e9e7ff 0,transparent 36%),linear-gradient(180deg,#f8f8ff,#f3f5fb);min-height:100dvh}
body.discussion-route>.top,body.discussion-route>.layout,body.discussion-route>.bottom{display:none!important}
.discussion-page{min-height:100dvh;display:flex;flex-direction:column;animation:discussion-enter .34s cubic-bezier(.2,.8,.2,1) both}
.discussion-header{position:sticky;top:0;z-index:10;background:rgba(249,249,255,.8);border-bottom:1px solid #ffffffc7;box-shadow:0 5px 24px #5056960d;backdrop-filter:blur(24px) saturate(170%);-webkit-backdrop-filter:blur(24px) saturate(170%)}
.discussion-header-inner{height:68px;max-width:790px;margin:auto;padding:0 19px;display:flex;align-items:center;gap:13px}
.discussion-back{width:41px;height:41px;flex:none;border:1px solid #e8e7f4;border-radius:14px;background:#ffffffc9;color:#4b47a6;font-size:23px;box-shadow:0 5px 14px #7b7bb116;transition:transform .2s,background .2s,box-shadow .2s}
.discussion-back:hover{background:#fff;box-shadow:0 8px 20px #7b7bb128}.discussion-back:active{transform:scale(.9)}
.discussion-header-copy{display:grid;gap:1px;min-width:0}.discussion-header-copy strong{font-size:15px;letter-spacing:-.3px;color:#28314c}.discussion-header-copy span{font-size:11px;color:#9199ad}
.discussion-header-mark{margin-left:auto;width:34px;height:34px;border-radius:12px;background:linear-gradient(135deg,#e8e5ff,#f7f5ff);color:#6d5de7;display:grid;place-items:center;font-size:18px}
.discussion-main{width:min(100%,790px);margin:0 auto;padding:25px 19px 130px;flex:1}
.discussion-post,.discussion-replies{border:1px solid #fff;border-radius:26px;background:rgba(255,255,255,.86);box-shadow:0 15px 42px #56619217;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.discussion-post{padding:27px 30px;overflow:hidden}.discussion-post-head{display:flex;align-items:center;gap:11px}.discussion-avatar,.comment-avatar{display:grid;place-items:center;flex:none;background:linear-gradient(145deg,#e1ddff,#f5f3ff);color:#6758d9;font-weight:850}.discussion-avatar{width:43px;height:43px;border-radius:15px;font-size:18px}.discussion-byline{display:grid;gap:3px;min-width:0}.discussion-byline strong{font-size:13px;color:#29324b;overflow-wrap:anywhere}.discussion-byline small{font-size:11px;color:#8f97ab}.discussion-byline .private-author{color:#d14d73}
.discussion-post h1{font-size:clamp(25px,4vw,36px);line-height:1.14;letter-spacing:-1.2px;color:#252d46;margin:23px 0 13px;overflow-wrap:anywhere}.discussion-post>p{font-size:15px;line-height:1.7;color:#5c667e;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.discussion-post .inline-link,.discussion-link{color:#6553d4;text-decoration:none;overflow-wrap:anywhere}.discussion-link{display:block;margin-top:18px;font-size:13px;font-weight:700}.discussion-link:hover,.discussion-post .inline-link:hover{text-decoration:underline}
.discussion-media{display:block;max-width:100%;width:auto;max-height:min(46dvh,440px);object-fit:contain;margin:20px auto 0;border-radius:17px;background:#eef0f8}.discussion-post video.discussion-media{width:100%;background:#171b2b}.discussion-file{display:inline-flex;align-items:center;max-width:100%;overflow-wrap:anywhere;margin-top:18px;padding:11px 14px;border-radius:13px;background:#f0efff;color:#6153cf;font-size:13px;font-weight:700;text-decoration:none}.discussion-stats{border-top:1px solid #edf0f6;margin-top:24px;padding-top:16px;font-size:12px;font-weight:700;color:#8991a7}
.discussion-replies{margin-top:17px;padding:25px 30px 15px}.discussion-replies-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #edf0f6}.discussion-replies-heading small{font-size:10px;font-weight:850;letter-spacing:1.7px;color:#9188db}.discussion-replies-heading h2{font-size:21px;letter-spacing:-.5px;margin:4px 0 0;color:#29314a}.discussion-replies-icon{width:35px;height:35px;border-radius:12px;background:#f0efff;color:#7668df;display:grid;place-items:center;font-size:19px}.discussion-replies .comments{max-height:none;overflow:visible}.discussion-replies .comment{display:flex;gap:11px;padding:19px 0;border-bottom:1px solid #edf0f6}.discussion-replies .comment:last-child{border-bottom:0}.comment-avatar{width:34px;height:34px;border-radius:11px;font-size:14px}.comment-content{min-width:0;flex:1}.comment-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px}.discussion-replies .comment b{font-size:13px;color:#303950}.discussion-replies .comment small{font-size:11px;margin:0;color:#a2a9b9}.discussion-replies .comment p{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere;color:#576077;margin:7px 0 0}.discussion-empty,.discussion-loading{padding:27px 0;color:#8c94a8;font-size:13px;text-align:center}
.discussion-compose-wrap{position:fixed;left:0;right:0;bottom:0;z-index:9;padding:12px 19px calc(12px + env(safe-area-inset-bottom));background:rgba(249,249,255,.84);border-top:1px solid #ffffffca;backdrop-filter:blur(25px) saturate(170%);-webkit-backdrop-filter:blur(25px) saturate(170%)}.discussion-compose{max-width:752px;margin:auto}.discussion-compose>label{display:block;margin-bottom:7px;font-size:11px;font-weight:800;color:#686f89}.discussion-compose-row{display:flex;align-items:end;gap:9px}.discussion-compose textarea{flex:1;min-width:0;max-height:150px;min-height:47px;resize:vertical;border:1px solid #e2e4f1;border-radius:15px;background:#fff;padding:12px 14px;color:#29324b;font-size:16px;line-height:1.35;outline:0;box-shadow:0 5px 16px #5c679210}.discussion-compose textarea:focus{border-color:#aa9ef5;box-shadow:0 0 0 3px #7767ea1f}.discussion-send{width:47px;height:47px;flex:none;border:0;border-radius:15px;background:linear-gradient(145deg,#8275fa,#5d4bdc);color:#fff;font-size:25px;font-weight:700;box-shadow:0 8px 20px #6a5be74d;transition:transform .2s,filter .2s}.discussion-send:hover{filter:brightness(1.06)}.discussion-send:active{transform:scale(.9)}.discussion-send:disabled{opacity:.55;cursor:wait}.discussion-compose .form-error{margin-top:4px}
.card button,.forum-topic button,.bottom button,.more-item,.main-button,.discussion-file{transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s,background .2s,color .2s}.card button:active,.forum-topic button:active,.more-item:active,.main-button:active{transform:scale(.96)}.bottom button:focus-visible,.discussion-back:focus-visible,.discussion-send:focus-visible{outline:3px solid #a7a0ff;outline-offset:2px}
@keyframes discussion-enter{from{opacity:.65}to{opacity:1}}
@media(max-width:720px){.discussion-header-inner{height:62px;padding:0 15px}.discussion-main{padding:15px 13px 112px}.discussion-post{padding:20px 19px;border-radius:22px}.discussion-post h1{margin-top:19px;font-size:26px}.discussion-post>p{font-size:14px}.discussion-replies{padding:20px 19px 10px;border-radius:22px}.discussion-compose-wrap{padding:9px 13px calc(9px + env(safe-area-inset-bottom))}.discussion-compose>label{margin-bottom:5px}.discussion-compose textarea{min-height:43px}.discussion-send{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){.discussion-page,.discussion-back,.discussion-send,.card button,.forum-topic button,.bottom button,.more-item,.main-button{animation:none!important;transition:none!important}}

/* app-shell.css */
:root{--app-ink:#262b42;--app-muted:#8991a5;--app-accent:#6d5de9;--app-surface:#fff;--app-canvas:#f3f4f8}
html{scroll-behavior:smooth}
body:not(.discussion-route){background:var(--app-canvas);color:var(--app-ink)}
body:not(.discussion-route) .top{background:rgba(250,250,254,.83);border-bottom:1px solid #ffffffd4;backdrop-filter:blur(24px) saturate(165%);-webkit-backdrop-filter:blur(24px) saturate(165%)}
.top .brand .logo{box-shadow:0 7px 18px #6758d940;transform:none;border-radius:14px}
.top .brand strong{letter-spacing:-.5px}
.intro h1{letter-spacing:-1.25px}.intro small{color:#8274dc}
.search{border:1px solid #ebeaf3;background:#fff;box-shadow:0 4px 20px #53618e0d;transition:border-color .2s,box-shadow .2s,transform .2s}.search:focus-within{border-color:#b3a9f3;box-shadow:0 0 0 4px #7565e71b,0 8px 25px #53618e14}.search input{color:#29324a}
.home-overview{position:relative;min-height:202px;margin:0 0 13px;padding:26px 30px;overflow:hidden;border-radius:28px;color:#fff;background:linear-gradient(125deg,#5b5bc1 0%,#7166e8 52%,#8e85f8 100%);box-shadow:0 17px 35px #6e62d03a;isolation:isolate}
.home-overview-glow{position:absolute;z-index:-1;width:430px;height:430px;right:-130px;top:-180px;border-radius:50%;background:radial-gradient(circle,#ffffff69,transparent 64%);filter:blur(2px)}
.home-overview:after{content:"";position:absolute;z-index:-1;width:220px;height:220px;right:-69px;bottom:-126px;border:1px solid #ffffff30;border-radius:50%;box-shadow:0 0 0 32px #ffffff0d,0 0 0 72px #ffffff08}
.home-overview-copy{position:relative;z-index:1;max-width:425px}.home-kicker{display:inline-block;padding:6px 10px;border:1px solid #ffffff50;border-radius:999px;background:#ffffff24;font-size:10px;font-weight:850;letter-spacing:1.1px}.home-overview h2{font-size:clamp(24px,3vw,31px);letter-spacing:-.9px;line-height:1.1;margin:14px 0 8px}.home-overview p{max-width:360px;font-size:13px;line-height:1.5;color:#eeedff;margin:0 0 16px}.home-overview button{display:inline-flex;align-items:center;gap:17px;padding:10px 14px;border:1px solid #ffffffb8;border-radius:12px;background:#fff;color:#5d51c9;font-size:12px;font-weight:850;box-shadow:0 7px 18px #30287c30;transition:transform .2s,box-shadow .2s}.home-overview button span{font-size:18px;line-height:1}.home-overview button:hover{box-shadow:0 10px 24px #30287c48;transform:translateY(-2px)}.home-overview button:active{transform:scale(.96)}
.home-orbit{position:absolute;right:44px;top:30px;width:180px;height:155px;pointer-events:none}.home-orbit span{position:absolute;display:grid;place-items:center;border:1px solid #ffffff79;background:#ffffff32;backdrop-filter:blur(12px);box-shadow:0 12px 27px #35308725;color:#fff}.orbit-one{width:92px;height:92px;left:23px;top:13px;border-radius:29px;font-size:49px;transform:rotate(-12deg)}.orbit-two{width:59px;height:59px;right:0;top:46px;border-radius:19px;font-size:27px;transform:rotate(13deg)}.orbit-three{width:48px;height:48px;left:0;bottom:0;border-radius:16px;font-size:24px;transform:rotate(12deg)}
.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 18px}.home-shortcuts button{min-width:0;min-height:79px;display:grid;grid-template-columns:39px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-content:center;text-align:left;padding:11px 12px;border:1px solid #fff;border-radius:18px;background:#ffffffed;color:#303751;box-shadow:0 6px 22px #606b9010;transition:transform .2s,box-shadow .2s,background .2s}.home-shortcuts button:hover{transform:translateY(-2px);box-shadow:0 12px 24px #606b9020}.home-shortcuts button:active{transform:scale(.96)}.home-shortcuts .shortcut-icon{grid-row:1/3;width:39px;height:39px;display:grid;place-items:center;border-radius:13px;font-size:21px;font-weight:750}.shortcut-icon.forum{background:#efedff;color:#7062dc}.shortcut-icon.market{background:#fff1dc;color:#ed9b35}.shortcut-icon.video{background:#e9f8f8;color:#2ca5a8}.home-shortcuts strong{font-size:12px;align-self:end;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-shortcuts small{font-size:10px;color:#9aa1b0;align-self:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not([data-section="Все"]) .home-overview,body:not([data-section="Все"]) .home-shortcuts{display:none}
.feed-label{padding:0 2px;color:#6c748d}.feed-label>span:first-child{font-size:15px;font-weight:850;color:#2d3550}.feed-label #count{font-size:11px;color:#a0a7b8}
.card,.forum-topic{background:#ffffffed;border:1px solid #fff;box-shadow:0 7px 26px #58658b12;transition:transform .23s cubic-bezier(.2,.8,.2,1),box-shadow .23s}.card:hover,.forum-topic:hover{box-shadow:0 14px 32px #58658b23}.card:active,.forum-topic:active{transform:scale(.995)}
.feed{animation:feed-arrive .3s ease both}.feed[aria-busy="true"]{opacity:.5;pointer-events:none}.section-loading{height:130px;border-radius:21px;background:linear-gradient(105deg,#ffffffc4 20%,#f4f2ff 42%,#ffffffc4 64%);background-size:200% 100%;animation:app-shimmer 1.15s linear infinite}
.bottom{transition:box-shadow .2s,background .2s}.bottom button.active{font-weight:800}.bottom button b{transition:transform .23s cubic-bezier(.2,1.3,.3,1)}.bottom button.active b{transform:scale(1.12)}
@keyframes feed-arrive{from{opacity:.72;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes app-shimmer{from{background-position:100% 0}to{background-position:-100% 0}}
@media(max-width:720px){body:not(.discussion-route){background:#f3f4f8}.top{height:66px;padding:0 18px}.brand{gap:10px}.top .brand .logo{width:39px;height:39px;border-radius:13px}.top .brand strong{font-size:16px}.settings-button{width:38px;height:38px;border:0;background:#fff;box-shadow:0 3px 12px #69729a13}.layout{padding:19px 16px calc(95px + env(safe-area-inset-bottom))}.intro{align-items:center;margin:2px 0 15px}.intro small{font-size:10px;letter-spacing:1.35px}.intro h1{font-size:27px;margin-top:3px}.intro .live{display:none}.home-overview{min-height:190px;margin-bottom:10px;padding:22px;border-radius:24px}.home-overview h2{font-size:25px;max-width:235px;margin:12px 0 7px}.home-overview p{font-size:11px;max-width:228px;margin-bottom:13px}.home-overview button{font-size:11px;padding:9px 11px}.home-kicker{font-size:9px}.home-orbit{right:-25px;top:47px;transform:scale(.66);transform-origin:right top}.home-shortcuts{gap:7px;margin-bottom:16px}.home-shortcuts button{min-height:87px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:10px;border-radius:17px}.home-shortcuts .shortcut-icon{width:32px;height:32px;border-radius:10px;font-size:18px;margin-bottom:3px}.home-shortcuts strong{font-size:11px}.home-shortcuts small{font-size:9px}.search{height:48px;border-radius:16px}.feed-label{margin:18px 0 11px}.card,.forum-topic{border-radius:21px}.bottom{left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;height:calc(67px + env(safe-area-inset-bottom));padding:4px 8px calc(4px + env(safe-area-inset-bottom));border:0;border-top:1px solid #ffffffdf;border-radius:0;background:#fcfcffec;box-shadow:0 -7px 27px #555b8514;backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%)}.bottom button{height:58px;gap:4px;border-radius:12px}.bottom button.active{background:transparent;color:#6659d5}.bottom button b{font-size:23px}.bottom button span{font-size:10px}.bottom .mobile-plus{width:52px;max-width:58px;flex:.85;height:54px;border-radius:17px;transform:translateY(-8px);box-shadow:0 10px 23px #6151df4d}.bottom .mobile-plus b{font-size:25px}.bottom .mobile-plus span{font-size:9px}.toast{bottom:calc(82px + env(safe-area-inset-bottom))}.video-feed{max-height:calc(100dvh - 197px)}.video-card{height:calc(100dvh - 197px)}}
@media(max-width:360px){.home-overview{padding:18px}.home-overview h2{font-size:23px}.home-orbit{opacity:.68;right:-43px}.home-shortcuts small{display:none}.bottom button span{font-size:9px}}
@media(max-width:720px){.modal{align-items:end;justify-items:stretch;padding:0;background:#14183091}.modal .dialog{width:100%;max-width:none;max-height:94dvh;padding:24px 21px calc(22px + env(safe-area-inset-bottom));border-radius:28px 28px 0 0;box-shadow:0 -18px 60px #111b3b30;animation:app-sheet-in .32s cubic-bezier(.2,.8,.2,1) both}.modal .dialog:before{content:"";display:block;width:36px;height:5px;margin:-11px auto 17px;border-radius:99px;background:#d9dce9}.modal .dialog .close{top:21px;right:20px}.modal .dialog h2{font-size:25px}.modal .dialog form label{font-size:12px}.modal .dialog input:not([type=checkbox]),.modal .dialog textarea,.modal .dialog select{min-height:46px;border-radius:13px;font-size:16px}.modal .dialog .submit{min-height:47px;border-radius:14px}.admin-modal .dialog{max-height:94dvh}}
@keyframes app-sheet-in{from{opacity:.65;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.feed,.section-loading{animation:none!important}.card,.forum-topic,.bottom button b,.home-shortcuts button,.home-overview button{transition:none!important}}

/* liquid-glass.css */
/* Soft, translucent surfaces inspired by a native mobile tab bar. */
.bottom{display:flex!important;align-items:center;gap:9px;left:50%;right:auto;bottom:calc(10px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(640px,calc(100vw - 24px));height:72px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.bottom-main,.bottom #moreButton{position:relative;isolation:isolate;border:1px solid #ffffffed;background:linear-gradient(145deg,#ffffffd9 0%,#f7f7f9b8 58%,#e6e8edaf 100%);box-shadow:0 13px 34px #4c52772e,inset 0 1px #fff,inset 0 -1px #c6cbd15c;backdrop-filter:blur(28px) saturate(175%);-webkit-backdrop-filter:blur(28px) saturate(175%)}
.bottom-main{display:flex;align-items:center;flex:1;min-width:0;height:72px;padding:5px;border-radius:999px;overflow:hidden}
.bottom-main:before,.bottom #moreButton:before{content:"";position:absolute;z-index:-1;left:10%;right:10%;top:2px;height:35%;border-radius:inherit;background:linear-gradient(180deg,#ffffffb0,transparent);pointer-events:none}
.bottom-main button{height:61px;min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:5px 2px;border:1px solid transparent;border-radius:999px;background:transparent;color:#636b7b;box-shadow:none;transition:transform .34s cubic-bezier(.18,1.5,.38,1),background .3s,box-shadow .3s,color .3s}
.bottom-main button b{font-size:26px;font-weight:600;line-height:1;transition:transform .3s cubic-bezier(.18,1.5,.38,1),color .3s}.bottom-main button span{font-size:10px;font-weight:750;letter-spacing:.05px;line-height:1.1}
.bottom-main button.active{background:linear-gradient(150deg,#eeeef1d6,#d9dde5bb);border-color:#ffffffb8;color:#6558c9;box-shadow:inset 0 1px #fff,0 4px 12px #62688a1d}
.bottom-main button.active b{transform:scale(1.13)}
.bottom-main .mobile-plus{height:59px;max-width:none;flex:1;width:auto;transform:none;border:1px solid #9c91f7;background:linear-gradient(140deg,#8578f8,#6154dd);color:#fff;box-shadow:0 7px 18px #6658db56,inset 0 1px #ffffff64}.bottom-main .mobile-plus span{color:#fff}.bottom-main .mobile-plus b{font-size:27px}.bottom-main .mobile-plus:hover{background:linear-gradient(140deg,#9287ff,#6859e4)}
.bottom #moreButton{flex:none;width:72px;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;margin:0;padding:4px;border-radius:50%;color:#4d5364}.bottom #moreButton b{font-size:23px;line-height:1}.bottom #moreButton span{font-size:10px;font-weight:750}.bottom #moreButton.active{color:#6659d4;background:linear-gradient(145deg,#f0efffdc,#dcdaf5cb)}
.bottom button.is-pressed,.bottom button:active{transform:scale(.87)!important;box-shadow:inset 0 2px 8px #646b922b,0 4px 12px #4c527724!important}.bottom .mobile-plus.is-pressed,.bottom .mobile-plus:active{transform:scale(.9)!important}.bottom button.is-holding{animation:glass-hold .8s ease-in-out infinite alternate}
.home-overview,.card,.forum-topic,.discussion-post,.discussion-replies,.empty,.highlight,.right-card{border-radius:30px;box-shadow:0 14px 36px #56618b17,inset 0 1px #ffffffcc}
.card,.forum-topic,.discussion-post,.discussion-replies,.empty{background:linear-gradient(145deg,#ffffffed,#ffffffd9);border:1px solid #ffffffef;backdrop-filter:blur(18px) saturate(145%);-webkit-backdrop-filter:blur(18px) saturate(145%)}
.search{position:relative;overflow:hidden;border-radius:21px;background:linear-gradient(140deg,#ffffffee,#f7f8fceb);border:1px solid #fff;box-shadow:0 8px 24px #53618e13,inset 0 1px #fff;transition:transform .34s cubic-bezier(.18,1.5,.38,1),box-shadow .34s,border-color .34s}
.search:focus-within{transform:scale(1.012);border-color:#a79def;box-shadow:0 0 0 5px #7565e71b,0 12px 30px #53618e1f}.search>span{transition:transform .28s,color .28s}.search:focus-within>span{transform:scale(1.12) rotate(-10deg);color:#6b5cde}
.search.is-typing,.discussion-compose.is-typing textarea,.dialog label.is-typing input:not([type=checkbox]),.dialog label.is-typing textarea{animation:typing-light .65s ease-in-out}
.dialog{border-radius:30px}.dialog input:not([type=checkbox]),.dialog textarea,.dialog select{border-radius:16px;transition:box-shadow .26s,border-color .26s,transform .26s}.dialog input:not([type=checkbox]):focus,.dialog textarea:focus,.dialog select:focus{border-color:#a89cf1;box-shadow:0 0 0 4px #7565e71c;transform:translateY(-1px)}
.main-button,.forum-actions button,.actions button,.home-shortcuts button,.settings-button,.discussion-back,.discussion-send,.more-item,.more-utility button{transition:transform .34s cubic-bezier(.18,1.5,.38,1),box-shadow .28s,background .28s,filter .28s}
.main-button.is-pressed,.forum-actions button.is-pressed,.actions button.is-pressed,.home-shortcuts button.is-pressed,.settings-button.is-pressed,.discussion-back.is-pressed,.discussion-send.is-pressed,.more-item.is-pressed,.more-utility button.is-pressed,.home-overview button.is-pressed{transform:scale(.92)!important;filter:brightness(.98)}
.main-button.is-holding,.forum-actions button.is-holding,.actions button.is-holding,.home-shortcuts button.is-holding,.settings-button.is-holding,.discussion-back.is-holding,.discussion-send.is-holding,.more-item.is-holding,.home-overview button.is-holding{animation:glass-hold .8s ease-in-out infinite alternate}
.home-shortcuts button,.more-item{border-radius:23px;background:linear-gradient(145deg,#ffffffef,#fafbffdb);border:1px solid #fff;box-shadow:0 8px 26px #59648f15,inset 0 1px #fff}
.home-overview button,.main-button,.forum-actions .forum-open,.discussion-send{border-radius:18px}
.modal{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.modal .dialog{background:linear-gradient(145deg,#fffffff2,#f9f9ffee);backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}
@keyframes glass-hold{from{box-shadow:0 4px 12px #6255da3d,inset 0 1px #fff}to{box-shadow:0 0 0 5px #a094ec3b,0 10px 24px #6255da50,inset 0 1px #fff}}
@keyframes typing-light{0%,100%{box-shadow:0 0 0 3px #7565e712}50%{box-shadow:0 0 0 6px #7565e72a}}
@media(max-width:720px){.layout{padding-bottom:calc(115px + env(safe-area-inset-bottom))}.bottom{width:calc(100vw - 20px);height:65px;gap:7px;bottom:calc(9px + env(safe-area-inset-bottom));padding:0;border:0;border-radius:0;background:none;box-shadow:none}.bottom-main{height:65px;padding:4px}.bottom-main button{height:55px;border-radius:999px;gap:2px}.bottom-main button b{font-size:24px}.bottom-main button span{font-size:9px}.bottom-main .mobile-plus{height:54px;border-radius:999px;transform:none;box-shadow:0 5px 14px #6658db4b}.bottom-main .mobile-plus b{font-size:25px}.bottom #moreButton{width:65px;height:65px;border-radius:50%}.bottom #moreButton b{font-size:21px}.bottom #moreButton span{font-size:9px}.home-overview,.card,.forum-topic,.empty{border-radius:26px}.search{border-radius:20px}.toast{bottom:calc(88px + env(safe-area-inset-bottom))}.modal .dialog{border-radius:30px 30px 0 0}}
@media(max-width:360px){.bottom-main button b{font-size:21px}.bottom-main button span{font-size:8px}.bottom #moreButton{width:59px;height:59px}.bottom,.bottom-main{height:59px}.bottom-main button,.bottom-main .mobile-plus{height:49px}.bottom #moreButton span{font-size:8px}}
@supports not (backdrop-filter:blur(1px)){.bottom-main,.bottom #moreButton,.card,.forum-topic,.discussion-post,.discussion-replies,.empty,.modal .dialog{background:#fdfdff}.bottom-main,.bottom #moreButton{border-color:#e5e7ed}}
@media(prefers-reduced-motion:reduce){.bottom button,.bottom button b,.main-button,.forum-actions button,.actions button,.home-shortcuts button,.settings-button,.discussion-back,.discussion-send,.more-item,.search,.search>span,.dialog input,.dialog textarea,.dialog select{transition:none!important;animation:none!important}.bottom button.is-pressed,.bottom button:active,.main-button.is-pressed,.forum-actions button.is-pressed,.actions button.is-pressed,.home-shortcuts button.is-pressed,.settings-button.is-pressed,.discussion-back.is-pressed,.discussion-send.is-pressed,.more-item.is-pressed,.home-overview button.is-pressed{transform:none!important}}

/* editorial.css */
/* A restrained editorial layer over the existing app components. */
:root{--app-ink:#22283a;--app-muted:#777f92;--app-accent:#6157cb;--app-canvas:#f4f5f7}
body:not(.discussion-route){background:#f4f5f7;color:#22283a}
body:not(.discussion-route) .top{background:#ffffffed;border-bottom:1px solid #e9ebf0;box-shadow:0 4px 20px #2f35510a}
.brand strong{color:#242a3c;font-weight:800}.brand small{color:#81889a}
.layout{gap:29px}.content{min-width:0}.intro{margin-bottom:20px}.intro small{color:#6962b7;font-size:10px;letter-spacing:1.5px}.intro h1{color:#202638;font-weight:800;letter-spacing:-1.4px}.live{border:1px solid #eceef2;box-shadow:none;color:#6f7787}
.home-overview{min-height:233px;padding:30px 32px;border:1px solid #343959;border-radius:29px;background:#292e4b;box-shadow:0 14px 31px #2e345229,inset 0 1px #ffffff18;color:#fff}
.home-overview:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(125deg,#ffffff08,transparent 50%),radial-gradient(circle at 85% 20%,#7770b952,transparent 37%);pointer-events:none}.home-overview:after{content:"";position:absolute;width:340px;height:340px;right:-84px;bottom:-260px;border:1px solid #ffffff17;border-radius:50%;box-shadow:0 0 0 48px #ffffff07,0 0 0 100px #ffffff05}
.home-overview-copy{max-width:410px}.home-kicker{padding:0;border:0;border-radius:0;background:none;color:#b9b5f3;font-size:10px;letter-spacing:1.9px;font-weight:800}.home-overview h2{font-size:clamp(30px,4vw,42px);font-weight:790;letter-spacing:-1.8px;line-height:1.06;margin:19px 0 13px}.home-overview p{max-width:290px;color:#cdd1e3;font-size:13px;line-height:1.55;margin-bottom:19px}.home-overview button{gap:28px;padding:11px 16px;border:1px solid #ffffffec;border-radius:13px;background:#fff;color:#292e4b;box-shadow:0 7px 17px #11162a36;font-size:12px;font-weight:800}.home-overview button span{font-size:16px}
.home-editorial{position:absolute;right:46px;top:31px;width:175px;height:170px;padding:14px 16px;border:1px solid #ffffff3f;border-radius:22px;background:linear-gradient(145deg,#ffffff2c,#ffffff0b);box-shadow:0 18px 29px #13182d3b,inset 0 1px #ffffff72;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);transform:rotate(8deg);display:flex;flex-direction:column;justify-content:space-between}.home-editorial:before{content:"";position:absolute;inset:9px;border:1px solid #ffffff24;border-radius:16px}.home-editorial-top,.home-editorial-bottom{font-size:8px;font-weight:800;letter-spacing:1.1px;color:#d6d5ee}.home-editorial strong{font-size:72px;line-height:1;letter-spacing:-10px;font-weight:850;color:#fff}
.home-shortcuts{gap:10px;margin-bottom:20px}.home-shortcuts button{min-height:83px;grid-template-columns:41px minmax(0,1fr);grid-template-rows:18px 18px;column-gap:11px;align-content:center;padding:13px;border:1px solid #e7e9ef;border-radius:20px;background:#fff;box-shadow:0 5px 18px #3943610b}.home-shortcuts button:hover{box-shadow:0 8px 21px #3943611a}.home-shortcuts .shortcut-icon{width:40px;height:40px;border-radius:13px;font-size:20px}.shortcut-icon.forum{background:#eae9f7;color:#635ac5}.shortcut-icon.market{background:#f5efe5;color:#a6773e}.shortcut-icon.video{background:#e8f1f0;color:#398b88}.home-shortcuts strong,.home-shortcuts small{align-self:center;text-align:left}.home-shortcuts strong{font-size:12px;font-weight:760;color:#293044}.home-shortcuts small{font-size:10px;color:#848b9c}
.search{height:52px;border:1px solid #e5e8ef;border-radius:17px;background:#fff;box-shadow:0 4px 14px #3943610b}.search:focus-within{transform:none;box-shadow:0 0 0 4px #6a61ce18}.search input{font-size:14px}.search span{color:#848da1}
.feed-label{margin:23px 2px 13px}.feed-label>span:first-child{color:#293044;font-size:15px;font-weight:800}.feed-label #count{font-size:11px;color:#9097a5}
.card,.forum-topic,.empty{border:1px solid #e6e9ef;border-radius:24px;background:#fff;box-shadow:0 5px 18px #3943610c;backdrop-filter:none;-webkit-backdrop-filter:none}.card:hover,.forum-topic:hover{box-shadow:0 10px 24px #39436118}.card h2,.forum-topic h2{font-weight:760;letter-spacing:-.45px;color:#252c40}.card p,.forum-excerpt{color:#626c7e}.forum-topic{padding:19px}.forum-topic-head{gap:11px}.forum-byline strong{font-size:12px}.forum-byline small{font-size:10px;color:#9198a6}.forum-avatar{border-radius:13px;background:#eceaf9;color:#655bc5}.forum-replies{background:#f1f0fa;color:#6258c6}.forum-last{background:#f6f7fa;border:1px solid #edf0f4}.forum-actions .forum-open{background:#2d334d;color:#fff}.forum-actions button{border-radius:12px}
.forum-hero{min-height:174px;padding:26px 28px;border:1px solid #e4e6ee;border-radius:25px;background:#e9ebf1;color:#242b3e;box-shadow:none}.forum-hero:after{width:240px;height:240px;right:-50px;top:-70px;border:1px solid #a9afc538;box-shadow:0 0 0 36px #ffffff29,0 0 0 72px #ffffff18}.forum-hero small{color:#665cc1;font-size:10px;letter-spacing:1.7px}.forum-hero h2{color:#252b3d;font-size:24px;letter-spacing:-.8px;margin:13px 0 6px}.forum-hero p{max-width:360px;color:#697184;font-size:12px}.forum-create{border:1px solid #2d334d;border-radius:13px;background:#2d334d;color:#fff;box-shadow:none;white-space:nowrap}
.discussion-page{color:#252b3d}.discussion-header{background:#ffffffeb;border-color:#e9ebf0}.discussion-post,.discussion-replies{border:1px solid #e5e8ef;background:#fff;box-shadow:0 6px 23px #39436111;backdrop-filter:none;-webkit-backdrop-filter:none}.discussion-post h1{font-weight:780}.discussion-compose-wrap{background:#ffffffed;border-top:1px solid #e5e8ef}
.dialog{border:1px solid #e9ebf0}.dialog h2{letter-spacing:-.8px}.dialog .modal-mark{background:#eceaf9;color:#665bc5}
@media(max-width:720px){.layout{padding:18px 16px calc(115px + env(safe-area-inset-bottom))}.intro{margin:3px 0 16px}.intro h1{font-size:28px}.home-overview{min-height:216px;padding:24px;border-radius:25px}.home-overview h2{font-size:32px;max-width:260px;letter-spacing:-1.3px;margin:15px 0 9px}.home-overview p{font-size:12px;max-width:230px;margin-bottom:16px}.home-editorial{right:30px;top:32px;width:132px;height:142px;padding:11px;border-radius:18px;transform:rotate(9deg)}.home-editorial strong{font-size:55px;letter-spacing:-8px}.home-editorial-top,.home-editorial-bottom{font-size:6px}.home-shortcuts{gap:8px;margin-bottom:17px}.home-shortcuts button{display:grid;min-height:79px;grid-template-columns:36px minmax(0,1fr);grid-template-rows:18px 16px;column-gap:8px;align-content:center;align-items:center;padding:10px;border-radius:18px}.home-shortcuts .shortcut-icon{grid-row:1/3;width:36px;height:36px;border-radius:11px;font-size:18px;margin:0}.home-shortcuts strong{font-size:11px;align-self:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-shortcuts small{display:block;font-size:9px;align-self:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search{height:49px}.forum-hero{min-height:0;padding:22px;border-radius:23px}.forum-hero h2{font-size:22px}.forum-hero p{font-size:12px}.forum-create{margin-top:16px}.forum-topic{padding:17px}.card,.forum-topic,.empty{border-radius:22px}}
@media(max-width:480px){.home-overview{min-height:220px}.home-overview h2{font-size:29px;max-width:220px}.home-overview p{max-width:205px}.home-editorial{right:-5px;top:46px;width:102px;height:118px;opacity:.8}.home-editorial strong{font-size:43px;letter-spacing:-6px}.home-editorial-top,.home-editorial-bottom{font-size:5px}.home-shortcuts button{display:flex;min-height:96px;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px;padding:10px}.home-shortcuts .shortcut-icon{width:33px;height:33px;margin-bottom:2px}.home-shortcuts strong{font-size:10px}.home-shortcuts small{font-size:8px}.intro h1{font-size:27px}}
@media(max-width:360px){.home-editorial{opacity:.43}.home-shortcuts strong{font-size:9px}.home-shortcuts small{display:none}}

/* media-gallery.css */
.attachment-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:15px;min-width:0}
.attachment-gallery:has(>:only-child){grid-template-columns:minmax(0,1fr)}
.attachment-preview{display:block;width:100%;max-height:360px;object-fit:contain;border:1px solid #e6e8ee;border-radius:15px;background:#f1f2f6}
video.attachment-preview{background:#171b2b;min-height:190px}
.attachment-file{display:flex;align-items:center;min-width:0;min-height:54px;padding:12px 14px;border:1px solid #e6e8ee;border-radius:14px;background:#f7f7fa;color:#4e50a6;font-size:12px;font-weight:750;line-height:1.35;text-decoration:none;overflow-wrap:anywhere}
.attachment-file:hover{background:#efeff8}
.attachment-more{min-height:45px;border:1px solid #dedaf2;border-radius:13px;background:#f3f1ff;color:#6257bc;font-size:12px;font-weight:800}
.discussion-attachments .attachment-preview{max-height:440px}.forum-attachments .attachment-preview{max-height:270px}
.video-sound-prompt{position:absolute;z-index:4;left:50%;top:45%;transform:translate(-50%,-50%);max-width:210px;padding:11px 14px;border:1px solid #ffffff8a;border-radius:999px;background:#171a2a99;color:#fff;font-size:11px;font-weight:750;text-align:center;line-height:1.3;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.video-sound-prompt[hidden]{display:none}
.upload-progress{margin-top:10px;padding:11px 13px;border:1px solid #dedaef;border-radius:13px;background:#f5f3ff;color:#5851a5;font-size:12px;font-weight:750;overflow-wrap:anywhere}
.upload-progress[hidden]{display:none}
.attachment-open,.attachment-media{position:relative;display:block;width:100%;min-width:0}.attachment-open{padding:0;border:0;border-radius:15px;background:transparent;cursor:zoom-in;overflow:hidden}.attachment-open:focus-visible,.attachment-expand:focus-visible,.video-expand:focus-visible{outline:3px solid #8d80ef;outline-offset:2px}.attachment-open img{margin:0}.attachment-expand{position:absolute;right:11px;top:11px;z-index:2;display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff9c;border-radius:12px;background:#191d30ba;color:#fff;backdrop-filter:blur(8px)}.attachment-expand .ui-icon,.video-expand .ui-icon{width:20px;height:20px}.video-expand{display:grid;place-items:center}
body.media-viewer-open{overflow:hidden}.media-viewer{position:fixed;inset:0;z-index:2000;display:flex;flex-direction:column;min-width:0;min-height:0;background:#080b14;color:#fff;overscroll-behavior:contain}.media-viewer-header{display:flex;align-items:center;gap:15px;min-height:62px;padding:calc(10px + env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 10px max(18px,env(safe-area-inset-left));background:#121625}.media-viewer-name{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.media-viewer-close{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid #ffffff30;border-radius:13px;background:#ffffff14;color:#fff}.media-viewer-close .ui-icon{width:21px;height:21px}.media-viewer-content{display:grid;place-items:center;flex:1;min-height:0;min-width:0;overflow:auto;padding:12px}.media-viewer-content img,.media-viewer-content video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.media-viewer-content video{width:min(100%,1100px);max-height:100%}.media-viewer-footer{display:flex;justify-content:center;padding:12px 18px calc(14px + env(safe-area-inset-bottom));background:#121625}.media-viewer-download{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 20px;border-radius:14px;background:#7768ed;color:#fff;text-decoration:none;font-size:14px;font-weight:800}.media-viewer-download .ui-icon{width:19px;height:19px}
@media(max-width:460px){.attachment-gallery{gap:6px}.attachment-preview{max-height:260px}video.attachment-preview{min-height:145px}.attachment-file{font-size:11px;padding:10px}.forum-attachments .attachment-preview{max-height:210px}}
@media(pointer:coarse){html,body{touch-action:pan-x pan-y}input,textarea,select{font-size:16px!important}}

/* social.css */
.ui-icon{width:23px;height:23px;display:block;flex:none;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.top .settings-button{display:grid!important;width:37px;height:37px;flex:none;margin-left:7px}.top .profile-top{margin-left:auto}
.bottom-main button .ui-icon{width:24px;height:24px;transition:transform .28s cubic-bezier(.2,1.3,.3,1)}.bottom-main button.active .ui-icon{transform:scale(1.1)}.bottom #moreButton .ui-icon{width:22px;height:22px}.bottom .mobile-plus .ui-icon{width:27px;height:27px;stroke-width:2.3;color:#fff}
.home-shortcuts .ui-icon{width:21px;height:21px}.more-icon .ui-icon{width:21px;height:21px}.card .icon .ui-icon{width:23px;height:23px;color:#fff}.sidebar .symbol{width:21px;height:21px}.profile-top .ui-icon{width:20px;height:20px}.profile-top.signed-in{border-color:#d9d4f7;background:#eeecfb;color:#6258c5}
.profile-link{cursor:pointer}.profile-link:focus-visible,.profile-name:focus-visible{outline:2px solid #8175e3;outline-offset:3px}.profile-link img,.social-person-avatar img,.profile-avatar img,.avatar img,.forum-avatar img,.discussion-avatar img,.comment-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-name{display:inline;border:0;background:none;padding:0;color:inherit;font:inherit;font-weight:inherit;text-align:left;cursor:pointer}.profile-name:hover{text-decoration:underline}.author-details .profile-name{font-weight:750}.forum-byline .profile-name{font-size:12px;font-weight:800}.discussion-byline .profile-name{font-size:13px;font-weight:800}.comment-heading .profile-name{font-size:13px;font-weight:800}
.social-page[hidden]{display:none!important}body.social-route>.top,body.social-route>.layout,body.social-route>.bottom{display:none!important}body.social-route{background:#f4f5f7;color:#22283a;min-height:100dvh}
.social-header{position:sticky;top:0;z-index:10;background:#fffffff0;border-bottom:1px solid #e7e9f0;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px)}.social-header-inner{height:66px;max-width:760px;margin:auto;display:flex;align-items:center;gap:13px;padding:0 20px}.social-header button{width:40px;height:40px;border:1px solid #e7e8ee;border-radius:14px;background:#fff;color:#5555a5;font-size:23px}.social-header strong{flex:1;font-size:16px;font-weight:800}.social-header span{font-size:10px;font-weight:800;letter-spacing:1px;color:#858a9d}
.social-content{width:min(100%,760px);min-height:calc(100dvh - 66px);margin:auto;padding:24px 18px 110px}.social-loading,.social-empty{padding:22px;color:#858c9d;font-size:13px;line-height:1.5}.social-title{font-size:29px;letter-spacing:-1px;margin:6px 0 18px}.social-subtitle{font-size:12px;font-weight:850;letter-spacing:1px;color:#777f96;text-transform:uppercase;margin:26px 3px 11px}
.profile-hero{position:relative;overflow:hidden;border:1px solid #e5e8ef;border-radius:27px;background:#fff;box-shadow:0 9px 26px #3c44621a}.profile-banner{height:180px;background:linear-gradient(120deg,#29304b,#7268d1);background-size:cover;background-position:center}.profile-avatar{position:relative;display:grid;place-items:center;width:92px;height:92px;margin:-44px 0 0 26px;border:5px solid #fff;border-radius:29px;background:#e9e7f7;color:#6257c3;font-size:37px;font-weight:850;box-shadow:0 7px 20px #31385824}.profile-details{padding:11px 27px 25px}.profile-details h1{font-size:27px;letter-spacing:-.9px;margin:0 0 5px;overflow-wrap:anywhere}.profile-details p{color:#747e90;font-size:13px;line-height:1.5;margin:0;white-space:pre-wrap}.profile-summary{padding:17px 3px;color:#7e8799;font-size:12px}.profile-actions{display:flex;flex-wrap:wrap;gap:9px}.profile-actions button{min-height:44px;padding:10px 15px;border-radius:14px;font-size:12px;font-weight:800}.profile-block{border:1px solid #e6e8ee;background:#fff;color:#6f7585}
.profile-form{display:grid;gap:15px;margin-top:18px;padding:24px;border:1px solid #e5e8ef;border-radius:25px;background:#fff;box-shadow:0 7px 22px #3c44620d}.profile-form h2{font-size:20px;letter-spacing:-.5px;margin:0 0 2px}.profile-form label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#4d566a}.profile-form input,.profile-form textarea{width:100%;min-height:45px;padding:11px 12px;border:1px solid #dfe3eb;border-radius:13px;background:#fcfcfe;color:#273047;font:inherit;font-size:15px;outline:0}.profile-form input:focus,.profile-form textarea:focus{border-color:#9990e5;box-shadow:0 0 0 3px #766be61b}.profile-form input[type=file]{font-size:12px}.profile-form label small{font-size:10px;color:#9299a8;font-weight:500}.profile-form .main-button{justify-self:start;min-height:44px}
.social-search{width:100%;height:51px;padding:0 15px;border:1px solid #e3e6ee;border-radius:16px;background:#fff;box-shadow:0 5px 17px #3c44620c;font-size:16px;outline:0}.social-search:focus{border-color:#9990e5;box-shadow:0 0 0 3px #766be61b}.social-list{display:grid;gap:8px}.social-person{display:flex;align-items:center;gap:12px;width:100%;min-height:70px;padding:11px 14px;border:1px solid #e7e9ef;border-radius:19px;background:#fff;box-shadow:0 4px 14px #3c44620a;text-align:left;color:#283146;transition:transform .2s,box-shadow .2s}.social-person:hover{box-shadow:0 8px 22px #3c44621a}.social-person:active{transform:scale(.985)}.social-person-avatar{width:43px;height:43px;flex:none;display:grid;place-items:center;border-radius:15px;background:#eae8f8;color:#6459bf;font-size:18px;font-weight:800}.social-person-copy{display:grid;gap:3px;min-width:0;flex:1}.social-person-copy strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-person-copy small{font-size:11px;color:#939aab;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-chevron{font-size:23px;color:#a2a8b7}
.social-content.chat-content{display:flex;flex-direction:column;height:calc(100dvh - 66px);min-height:0;padding-bottom:0}.chat-peer{display:flex;align-items:center;gap:10px;padding:9px 5px 14px;border-bottom:1px solid #e7e9ef;cursor:pointer}.chat-peer strong{font-size:14px}.chat-messages{display:flex;flex:1;flex-direction:column;gap:9px;overflow-y:auto;min-height:0;padding:18px 2px 20px}.chat-bubble{align-self:flex-start;max-width:min(82%,520px);padding:11px 14px 7px;border:1px solid #e7e9ef;border-radius:18px 18px 18px 6px;background:#fff;box-shadow:0 3px 12px #3c44620a}.chat-bubble.mine{align-self:flex-end;background:#e9e7fb;border-color:#e0dcf9;border-radius:18px 18px 6px 18px}.chat-bubble p{font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.chat-bubble small{display:block;margin-top:4px;text-align:right;font-size:10px;color:#8b91a2}.chat-compose{display:flex;gap:9px;align-items:end;padding:13px 0 calc(13px + env(safe-area-inset-bottom));border-top:1px solid #e7e9ef;background:#f4f5f7}.chat-compose textarea{flex:1;min-height:46px;max-height:130px;resize:vertical;border:1px solid #dfe3eb;border-radius:15px;padding:11px 13px;background:#fff;font:inherit;font-size:16px;outline:0}.chat-compose textarea:focus{border-color:#9990e5}.chat-compose button{min-height:46px;border-radius:14px}.chat-compose button:disabled{opacity:.5}
@media(max-width:720px){.top .settings-button{width:34px;height:34px;margin-left:5px}.top .brand strong{font-size:14px}.social-header-inner{height:61px;padding:0 15px}.social-header span{display:none}.social-content{padding:17px 14px 100px}.profile-banner{height:150px}.profile-avatar{width:82px;height:82px;margin-top:-40px;margin-left:19px;border-radius:25px}.profile-details{padding:10px 20px 22px}.profile-details h1{font-size:23px}.profile-form{padding:18px;border-radius:21px}.social-content.chat-content{height:calc(100dvh - 61px);padding-bottom:0}.chat-bubble{max-width:87%}}
@media (hover:hover) and (pointer:fine){
  html,body,.layout,.social-page{cursor:default}
  button,a,summary,label[for],[role="button"],.profile-link,.profile-name,.chat-peer,.video-player{cursor:pointer}
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,[contenteditable="true"]{cursor:text;caret-color:#20283e}
  input[type="file"]{cursor:pointer}
  button:disabled,[aria-disabled="true"]{cursor:not-allowed}
}
.community-name-row{display:inline-flex;align-items:center;gap:5px;max-width:100%;min-width:0}.community-name-row>strong,.community-name-row>h1{min-width:0;overflow-wrap:anywhere}.community-name-row>.verified-badge{flex:none}.community-name-row>.verified-badge .ui-icon{width:19px;height:19px}.community-header .community-name-row{display:flex;align-items:center;gap:8px}.community-header .community-name-row h1{margin:0}

/* ui-updates.css */
.actions button,.forum-actions button,.admin-open,.more-utility button{display:inline-flex;align-items:center;justify-content:center;gap:7px}
.actions button .ui-icon,.forum-actions button .ui-icon,.admin-open .ui-icon,.more-utility button .ui-icon{width:17px;height:17px}
.actions button.liked .ui-icon,.forum-actions button.liked .ui-icon,.video-rail button.liked .ui-icon{fill:currentColor}
.forum-replies{display:inline-flex;align-items:center;gap:5px}.forum-replies .ui-icon{width:15px;height:15px}
.empty-icon .ui-icon{width:36px;height:36px;margin:auto;color:#6b61cf}
.search>span .ui-icon{width:19px;height:19px}.settings-button .ui-icon,.discussion-back .ui-icon,.social-header button .ui-icon{width:21px;height:21px;margin:auto}
.more-close .ui-icon,.close .ui-icon{width:20px;height:20px;margin:auto}.more-utility button .ui-icon{flex:none}
.video-rail button:has(.ui-icon){display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px}.video-rail button .ui-icon{width:21px;height:21px}.video-rail .video-expand .ui-icon{width:23px;height:23px}
.profile-details .profile-username{display:inline-block;margin:0 0 9px;color:#675bc7;font-size:13px;font-weight:750}.social-person-copy .person-username{color:#675bc7;font-weight:750}
.chat-peer-name{display:grid;gap:3px}.chat-peer-name small{font-size:11px;color:#777f96}
.profile-form .profile-anonymous-toggle{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid #dedaf6;border-radius:15px;background:#f4f2ff;color:#4f4c83;line-height:1.45}.profile-form .profile-anonymous-toggle input{width:20px;height:20px;min-height:20px;flex:none;margin:0;accent-color:#6b5bd7}.profile-form .profile-anonymous-toggle span{font-size:12px}
.admin-anonymous-mode{display:block;width:100%;margin:16px 0 10px;padding:13px 16px;border:1px solid #dcd8f3;border-radius:14px;background:#f5f3ff;color:#6257b7;text-align:left;font-size:13px;font-weight:800}.admin-anonymous-mode[aria-pressed="true"]{border-color:#b8b1ef;background:#e9e5ff;color:#4f42ad}.admin-user-search{width:100%;min-height:44px;margin:0 0 10px;padding:10px 12px;border:1px solid #dfe3ed;border-radius:11px;background:#fff;color:#273047;font:inherit;font-size:14px}.admin-users{display:grid;gap:7px;max-height:410px;overflow:auto}.admin-users .admin-row{margin:0}.admin-open-profile{border:1px solid #e3dff5;border-radius:10px;background:#f4f1ff;color:#6155b7;padding:8px 11px;font-size:11px;font-weight:800}
@media(max-width:720px){.actions button .ui-icon{width:16px;height:16px}.admin-user-search{font-size:16px}.video-rail button .ui-icon{width:20px;height:20px}}
.search-own-name{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:9px 3px 0;color:#777f96;font-size:12px}.search-copy{border:0;background:transparent;color:#6357c4;font-size:12px;font-weight:750;padding:5px 0}:root[data-theme="dark"] .search-own-name{color:#a7acc2}
.social-search-form{display:flex;gap:8px;align-items:center}.social-search-form .social-search{min-width:0;flex:1}.social-search-button{min-height:51px;flex:none;padding:11px 15px;border-radius:15px;font-size:13px}
.contact-entry{display:flex;align-items:center;gap:8px;min-width:0}.contact-entry .social-person{flex:1;min-width:0}.contact-toggle,.chat-contact-button{flex:none;min-height:42px;padding:9px 11px;border:1px solid #dedaf5;border-radius:13px;background:#f1efff;color:#5f54be;font-size:11px;font-weight:800}.chat-top{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e7e9ef}.chat-top .chat-peer{flex:1;min-width:0;border-bottom:0}.chat-actions{display:flex;align-items:center;gap:5px}.chat-delete-button,.chat-message-delete{display:grid;place-items:center;flex:none;border:0;background:transparent;color:#8e92a5;cursor:pointer}.chat-delete-button{width:38px;height:38px}.chat-message-delete{width:27px;height:27px}.chat-delete-button .ui-icon,.chat-message-delete .ui-icon{width:17px;height:17px}.chat-bubble-details{display:flex;align-items:center;justify-content:flex-end;gap:4px}.chat-bubble-details small{margin:0}.delete-choice-overlay{position:fixed;inset:0;z-index:80;display:grid;place-items:center;padding:16px;background:#1114269c;backdrop-filter:blur(8px)}.delete-choice-sheet{width:min(400px,100%);padding:23px;border:1px solid #e4e5ed;border-radius:23px;background:#fff;color:#263047;box-shadow:0 20px 60px #11142655}.delete-choice-sheet h2{font-size:20px;margin:0 0 8px}.delete-choice-sheet p{font-size:13px;line-height:1.5;color:#71798d;margin:0 0 18px}.delete-choice-actions{display:grid;gap:8px}.delete-choice-actions button{min-height:44px;border-radius:13px;font-weight:750}.delete-for-me{border:1px solid #e7d8db;background:#fff2f3;color:#b64c65}.delete-for-all{border:0;background:#b94764;color:#fff}.delete-cancel{border:0;background:#f2f3f8;color:#626b7f}:root[data-theme="dark"] .chat-top{border-color:#3c4055}:root[data-theme="dark"] .contact-toggle,:root[data-theme="dark"] .chat-contact-button,:root[data-theme="dark"] .delete-choice-sheet{background:#252838;color:#e9e4ff;border-color:#45485f}:root[data-theme="dark"] .delete-choice-sheet p{color:#aeb3c7}:root[data-theme="dark"] .delete-cancel{background:#34384e;color:#e3e3ee}
@media(max-width:480px){.chat-contact-button{padding:8px;font-size:10px}.chat-delete-button{width:33px}.contact-toggle{padding:8px;font-size:10px}.delete-choice-overlay{align-items:end;padding:0}.delete-choice-sheet{width:100%;border-radius:23px 23px 0 0;padding:22px 20px calc(20px + env(safe-area-inset-bottom))}}
.notification-setting{display:grid;gap:8px;padding:14px;border:1px solid #e2e4ed;border-radius:15px}.notification-setting strong{font-size:13px}.notification-setting p{margin:0;color:#767e91;font-size:12px;line-height:1.45}.notification-setting button{min-height:42px;border:1px solid #dcd8f1;border-radius:11px;background:#f1efff;color:#5d51b9;font-size:12px;font-weight:800}.notification-setting button:disabled{opacity:.6}
.crop-overlay{position:fixed;inset:0;z-index:110;display:grid;place-items:center;padding:14px;background:#111628bd;backdrop-filter:blur(9px)}.crop-panel{width:min(430px,100%);max-height:96dvh;overflow:auto;padding:22px;border-radius:24px;background:#fff;color:#263047;box-shadow:0 25px 70px #080b1f88}.crop-panel h2{margin:0 0 7px;font-size:22px}.crop-panel p{font-size:12px;line-height:1.45;color:#737b90}.crop-viewport{position:relative;width:min(330px,100%);margin:18px auto;overflow:hidden;border:2px solid #aca4ef;background:#23263d;touch-action:none;cursor:grab}.crop-viewport:active{cursor:grabbing}.crop-viewport.avatar{aspect-ratio:1;border-radius:28px}.crop-viewport.banner{aspect-ratio:3;border-radius:17px}.crop-viewport img{position:absolute;max-width:none;user-select:none;pointer-events:none}.crop-panel label{display:grid;gap:8px;font-size:12px;font-weight:750}.crop-panel input[type=range]{width:100%;accent-color:#6759d6}.crop-actions{display:flex;gap:9px;margin-top:18px}.crop-actions button{flex:1;min-height:45px;border-radius:12px}.crop-actions button:first-child{border:1px solid #e3e4ec;background:#f5f5f8;color:#626b7f}.crop-ready{color:#55a17b!important;font-weight:750!important}:root[data-theme="dark"] .crop-panel,:root[data-theme="dark"] .notification-setting{background:#232637;color:#f0eefb;border-color:#44475c}:root[data-theme="dark"] .crop-panel p,:root[data-theme="dark"] .notification-setting p{color:#afb2c3}
.profile-badges{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px}.profile-badges:empty{display:none}.profile-details .profile-badges{display:flex;margin:1px 0 7px}.verified-badge{display:inline-flex;align-items:center;color:#358bd3}.verified-badge .ui-icon{width:19px;height:19px;fill:#358bd3;stroke:#fff;stroke-width:1.8}.role-badge{display:inline-flex;align-items:center;padding:3px 8px;border-radius:999px;background:#ede9ff;color:#6153bd;font-size:10px;font-weight:850}.role-badge.owner{background:#fff1d6;color:#9b6c13}.verify-panel{display:grid;gap:8px;margin-top:16px;padding:18px;border:1px solid #e4e6ed;border-radius:19px;background:#fff}.verify-panel strong{font-size:14px}.verify-panel p{margin:0;color:#737c90;font-size:12px}.verify-panel textarea{width:100%;min-height:66px;padding:10px;border:1px solid #dfe2ed;border-radius:12px;resize:vertical;font:inherit;font-size:13px}.verify-apply{justify-self:start;min-height:39px;padding:9px 13px;border:0;border-radius:11px;background:#6658d8;color:#fff;font-size:12px;font-weight:800}.profile-wall{margin:22px 0}.profile-wall h2{font-size:20px;margin:0 0 12px}.profile-wall-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.profile-wall-card{min-width:0;overflow:hidden;display:flex;flex-direction:column;align-items:stretch;min-height:190px;padding:0;border:1px solid #e6e8ef;border-radius:18px;background:#fff;color:#283146;text-align:left;box-shadow:0 7px 22px #333b5b0c}.profile-wall-photo,.profile-wall-mark{width:100%;height:145px;object-fit:cover}.profile-wall-mark{display:grid;place-items:center;background:linear-gradient(135deg,#e7e3ff,#f2f5ff);color:#6c61c7}.profile-wall-mark .ui-icon{width:42px;height:42px}.profile-wall-copy{display:grid;gap:4px;padding:12px}.profile-wall-copy small{font-size:10px;color:#767f93}.profile-wall-copy strong{font-size:13px;overflow-wrap:anywhere}.profile-wall-copy span{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:11px;line-height:1.4;color:#6f788b}:root[data-theme="dark"] .verify-panel,:root[data-theme="dark"] .profile-wall-card{background:#232637;border-color:#40445a;color:#f0eefb}:root[data-theme="dark"] .verify-panel p,:root[data-theme="dark"] .profile-wall-copy span{color:#aeb3c7}
@media(max-width:480px){.profile-wall-grid{gap:8px}.profile-wall-photo,.profile-wall-mark{height:115px}.profile-wall-card{min-height:160px}}
.admin-verification-list{display:grid;gap:8px}.admin-verification-list .admin-row{align-items:flex-start}.admin-verification-actions,.admin-badge-actions{display:flex;flex-wrap:wrap;gap:6px}.admin-verification-actions button,.admin-badge-actions button,.admin-verify-grant button{min-height:34px;padding:7px 10px;border:1px solid #dedfeb;border-radius:9px;background:#f5f5fa;color:#535c72;font-size:11px;font-weight:800}.admin-verification-actions .admin-approve,.admin-verify-grant .admin-approve{background:#e8f7ef;border-color:#bce7d0;color:#267e54}.admin-verification-actions .admin-reject,.admin-verify-grant .admin-reject{background:#fff0f2;border-color:#f1cfd5;color:#b64861}.admin-badge-actions{margin-top:8px}.admin-badge-actions .badge-active{background:#eee9ff;border-color:#c9bdf5;color:#5f50b8}.admin-verify-grant{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}.admin-verify-grant input{min-width:150px;flex:1;min-height:39px;padding:8px 10px;border:1px solid #dfe2e9;border-radius:10px;font:inherit;font-size:13px}:root[data-theme="dark"] .admin-verification-actions button,:root[data-theme="dark"] .admin-badge-actions button,:root[data-theme="dark"] .admin-verify-grant button,:root[data-theme="dark"] .admin-verify-grant input{background:#303448;color:#e8e6f2;border-color:#4c5067}
.profile-name-row{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-width:0;vertical-align:middle}.profile-name-row .profile-badges{display:inline-flex!important;flex:none;margin:0!important}.profile-name-row .verified-badge .ui-icon{width:18px;height:18px}.profile-details .profile-name-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:4px}.profile-details .profile-name-row h1{margin:0}.profile-badges .custom-tag{background:#e8f1ff;color:#3369a8}.profile-details>.profile-badges{margin:3px 0 8px}.author-details>.profile-badges:empty,.forum-byline>.profile-badges:empty,.social-person-copy>.profile-badges:empty{display:none}.admin-tabs{position:sticky;top:-1px;z-index:2;display:flex;gap:5px;overflow-x:auto;margin:12px -3px 16px;padding:5px 3px 9px;background:inherit;scrollbar-width:thin}.admin-tab{flex:none;min-height:40px;padding:8px 13px;border:1px solid #e1e3ed;border-radius:12px;background:#f6f6fa;color:#596277;font-size:12px;font-weight:800;cursor:pointer}.admin-tab[aria-selected="true"]{border-color:#7466dc;background:#6859d7;color:#fff;box-shadow:0 5px 15px #6659d533}.admin-panel[hidden]{display:none!important}.admin-panel{min-height:180px;animation:card-enter .2s ease both}.admin-panel .admin-section-title{margin-top:3px}.admin-modal .admin-dialog{width:min(860px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:24px}.admin-modal .admin-row>div:first-child{flex:1}.admin-custom-tags{display:flex!important;flex-direction:row!important;flex-wrap:wrap;gap:5px;margin-top:4px}.admin-custom-tags button{padding:5px 8px;border:0;border-radius:99px;background:#e8f1ff;color:#3369a8;font-size:11px;font-weight:750;cursor:pointer}.admin-tag-form{display:flex;gap:6px;margin-top:7px}.admin-tag-form input{min-width:0;flex:1;max-width:210px;min-height:34px;padding:7px 9px;border:1px solid #dfe2e9;border-radius:9px;font:inherit;font-size:12px}.admin-tag-form button{min-height:34px;padding:7px 10px;border:1px solid #d7d3ee;border-radius:9px;background:#f2efff;color:#6658bf;font-size:11px;font-weight:800;cursor:pointer}:root[data-theme="dark"] .admin-tab,:root[data-theme="dark"] .admin-tag-form input,:root[data-theme="dark"] .admin-tag-form button{background:#303448;color:#e8e6f2;border-color:#4c5067}:root[data-theme="dark"] .admin-tab[aria-selected="true"]{background:#6b5bdd;color:#fff}@media(max-width:720px){.admin-modal .admin-dialog{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding:18px 14px}.admin-tabs{margin-right:-14px}.admin-tag-form input{font-size:16px}.admin-row .admin-open-profile{align-self:flex-start}}
.profile-presence,.profile-follow-count{display:block;font-size:12px;color:#788497;margin:4px 0}.profile-presence{color:#39a677;font-weight:750}.profile-follow{border:1px solid #c8c3f4;background:#eeeaff;color:#6054b7}.profile-hero[data-effect="aurora"]::after{content:"";pointer-events:none;position:absolute;inset:-45%;background:conic-gradient(from 0deg,transparent,#79f2de66,transparent,#a69aff66,transparent);animation:kruzo-orbit 12s linear infinite;mix-blend-mode:screen}.profile-hero[data-effect="sparkles"]::after{content:"✦       ✧       ✦       ✧";pointer-events:none;position:absolute;inset:0;display:flex;align-items:center;justify-content:space-around;color:#fff9;letter-spacing:24px;text-shadow:0 0 14px #ffd9ff;animation:kruzo-sparkle 2.4s ease-in-out infinite alternate}.profile-hero[data-effect="orbit"]{box-shadow:0 0 0 3px #7b72eb77,0 0 27px #7b72eb88}.profile-hero[data-effect="orbit"]::after{content:"";pointer-events:none;position:absolute;inset:-2px;border:3px solid transparent;border-top-color:#8dd9ff;border-right-color:#b98bff;border-radius:inherit;animation:kruzo-orbit 5s linear infinite}@keyframes kruzo-orbit{to{transform:rotate(360deg)}}@keyframes kruzo-sparkle{to{opacity:.25;transform:translateY(-8px) scale(1.06)}}.profile-hero[data-effect] .profile-details,.profile-hero[data-effect] .profile-avatar{position:relative;z-index:1}.community-create,.community-transfer,.community-compose{display:grid;gap:9px;margin:15px 0;padding:18px;border:1px solid #e2e4ee;border-radius:20px;background:#fff}.community-create h2{font-size:17px;margin:0}.community-create input,.community-create textarea,.community-create select,.community-transfer input,.community-compose textarea{width:100%;min-width:0;padding:11px 13px;border:1px solid #dfe2ec;border-radius:12px;background:#fff;color:#263047;font:inherit;font-size:14px}.community-create textarea,.community-compose textarea{min-height:85px;resize:vertical}.community-create button,.community-transfer button,.community-compose button{justify-self:start;min-height:42px;padding:9px 15px;border-radius:12px}.community-list,.community-posts{display:grid;gap:11px;margin-top:16px}.community-card,.community-post,.community-header{display:grid;gap:8px;padding:20px;border:1px solid #e5e7ef;border-radius:20px;background:#fff;color:#283047;text-align:left}.community-card{cursor:pointer}.community-card strong{font-size:18px}.community-card small,.community-header small,.community-post small{color:#797f94}.community-card span,.community-header p,.community-post p{margin:0;white-space:pre-wrap;line-height:1.5}.community-header h1{font-size:25px;margin:0}.community-post .admin-delete{justify-self:start}.community-transfer{grid-template-columns:1fr auto}.community-transfer button{border:1px solid #dfd9f2;background:#f2efff;color:#665ab9}:root[data-theme="dark"] .community-create,:root[data-theme="dark"] .community-transfer,:root[data-theme="dark"] .community-compose,:root[data-theme="dark"] .community-card,:root[data-theme="dark"] .community-post,:root[data-theme="dark"] .community-header{background:#232637;border-color:#40445a;color:#f0eefb}:root[data-theme="dark"] .community-create input,:root[data-theme="dark"] .community-create textarea,:root[data-theme="dark"] .community-create select,:root[data-theme="dark"] .community-transfer input,:root[data-theme="dark"] .community-compose textarea{background:#191b29;color:#f0eefb;border-color:#40445a}@media(max-width:550px){.community-transfer{grid-template-columns:1fr}.community-create input,.community-create textarea,.community-create select,.community-transfer input,.community-compose textarea{font-size:16px}}@media(prefers-reduced-motion:reduce){.profile-hero[data-effect]::after{animation:none}}

/* theme.css */
:root{color-scheme:light}
.brand .logo{background:#6659e9 url('/favicon.svg?v=24') center/cover;transform:none}
:root[data-theme="dark"]{color-scheme:dark;--ink:#f2f1fb;--app-ink:#f2f1fb;--app-muted:#a7acc2;--app-canvas:#11131e}
:root[data-theme="dark"] body,:root[data-theme="dark"] body:not(.discussion-route),:root[data-theme="dark"] body.social-route,:root[data-theme="dark"] body.discussion-route{background:#11131e;color:#f2f1fb}
:root[data-theme="dark"] .top,:root[data-theme="dark"] body:not(.discussion-route) .top,:root[data-theme="dark"] .social-header,:root[data-theme="dark"] .discussion-header{background:#1b1e2cf2;border-color:#343749;color:#f2f1fb}
:root[data-theme="dark"] .brand strong,:root[data-theme="dark"] .intro h1,:root[data-theme="dark"] .social-title,:root[data-theme="dark"] .profile-details h1,:root[data-theme="dark"] .card h2,:root[data-theme="dark"] .forum-card h2,:root[data-theme="dark"] .discussion-post h1{color:#f4f2ff}
:root[data-theme="dark"] .brand small,:root[data-theme="dark"] .card p,:root[data-theme="dark"] .profile-details p,:root[data-theme="dark"] .social-empty,:root[data-theme="dark"] .feed-label,:root[data-theme="dark"] .meta{color:#a7acc2}
:root[data-theme="dark"] .home-shortcuts button,:root[data-theme="dark"] .live{background:#232637;color:#e7e4f2;border-color:#373a4e;box-shadow:0 8px 24px #05061024}
:root[data-theme="dark"] .home-shortcuts strong{color:#eeeefa}:root[data-theme="dark"] .home-shortcuts small{color:#afb2c3}
:root[data-theme="dark"] .card,:root[data-theme="dark"] .forum-card,:root[data-theme="dark"] .forum-topic,:root[data-theme="dark"] .profile-hero,:root[data-theme="dark"] .profile-form,:root[data-theme="dark"] .search,:root[data-theme="dark"] .empty,:root[data-theme="dark"] .dialog,:root[data-theme="dark"] .more-panel,:root[data-theme="dark"] .discussion-post,:root[data-theme="dark"] .discussion-card,:root[data-theme="dark"] .comment,:root[data-theme="dark"] .social-person,:root[data-theme="dark"] .chat-peer,:root[data-theme="dark"] .right-card{background:#202332;color:#f0eefb;border-color:#36394d;box-shadow:0 10px 35px #07081330}
:root[data-theme="dark"] .bottom,:root[data-theme="dark"] .bottom-main,:root[data-theme="dark"] .bottom #moreButton{background:#252838ed;border-color:#45475b;color:#c5c4d4;box-shadow:0 10px 35px #0007,inset 0 1px #ffffff12}
:root[data-theme="dark"] .bottom button.active{background:#46406b;color:#dcd5ff}
:root[data-theme="dark"] .more-item,:root[data-theme="dark"] .more-utility button,:root[data-theme="dark"] .actions button,:root[data-theme="dark"] .settings-button,:root[data-theme="dark"] .social-header button,:root[data-theme="dark"] .profile-actions button,:root[data-theme="dark"] .admin-open-profile{background:#303448;color:#e3dfff;border-color:#484b61}
:root[data-theme="dark"] .search input,:root[data-theme="dark"] .profile-form input,:root[data-theme="dark"] .profile-form textarea,:root[data-theme="dark"] .dialog input:not([type=checkbox]),:root[data-theme="dark"] .dialog textarea,:root[data-theme="dark"] .dialog select,:root[data-theme="dark"] .social-search,:root[data-theme="dark"] .chat-compose textarea,:root[data-theme="dark"] .admin-user-search{background:#161925;color:#f4f2ff;border-color:#484b61}
:root[data-theme="dark"] input::placeholder,:root[data-theme="dark"] textarea::placeholder{color:#9699ac}
:root[data-theme="dark"] .profile-form label,:root[data-theme="dark"] .dialog form label,:root[data-theme="dark"] .social-person-copy strong,:root[data-theme="dark"] .comment-content,:root[data-theme="dark"] .discussion-byline{color:#e6e4f0}
:root[data-theme="dark"] .profile-anonymous-toggle,:root[data-theme="dark"] .admin-anonymous-mode,:root[data-theme="dark"] .install-note,:root[data-theme="dark"] .install-preview{background:#302c4e;color:#ded8ff;border-color:#504a79}
:root[data-theme="dark"] .install-panel{background:#202332;color:#f3f1fa}
:root[data-theme="dark"] .install-intro,:root[data-theme="dark"] .install-step p,:root[data-theme="dark"] .install-preview-caption span{color:#b6b8c9}
:root[data-theme="dark"] .install-link-row,:root[data-theme="dark"] .install-close{background:#303448;color:#f4f2ff}
:root[data-theme="dark"] .chat-bubble:not(.mine){background:#303448;color:#f3f1fb}
:root[data-theme="dark"] .theme-option[aria-pressed="true"]{background:#47416f;color:#fff}
.theme-controls{display:flex;gap:9px}.theme-option{flex:1;min-height:42px;border:1px solid #dcdfea;border-radius:13px;background:#f5f5fb;color:#555d73;font-weight:750}.theme-option[aria-pressed="true"]{background:#eae6ff;border-color:#aea6ed;color:#5548bd}.theme-setting{display:grid;gap:10px;margin:13px 0;padding:13px;border:1px solid #e3e5ee;border-radius:15px}.theme-setting>strong{font-size:12px;color:inherit}
.profile-image-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.profile-image-actions strong{font-size:12px}.profile-remove{border:1px solid #e8d6dc;border-radius:10px;background:#fff1f3;color:#b44664;padding:8px 10px;font-size:12px;font-weight:750}.profile-remove[aria-pressed="true"]{background:#be4262;color:#fff}.profile-remove:disabled{display:none}
:root[data-theme="dark"] .theme-setting{border-color:#46485c}:root[data-theme="dark"] .theme-option{background:#303448;color:#d4d4e2;border-color:#484b61}

/* profile-experience.css */
.more-panel{max-height:92dvh}.more-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.more-item{min-height:74px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 4px;text-align:center}.more-item strong{width:100%;font-size:11px}.more-icon{width:33px;height:33px;border-radius:11px;background:#eeebff;color:#6658d5}.more-icon .ui-icon{width:20px;height:20px}.more-utility{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:10px;padding-top:10px}.more-subtitle{margin-bottom:10px}
.notification-offer{position:fixed;inset:0;z-index:100;background:#15172d99;display:grid;place-items:center;padding:20px;backdrop-filter:blur(12px)}.notification-offer-card{width:min(390px,100%);padding:27px;border:1px solid #ffffffb8;border-radius:27px;background:#fff;color:#232742;box-shadow:0 24px 75px #14162b57;animation:sheet-up .32s cubic-bezier(.2,.8,.2,1)}.notification-offer-icon{width:52px;height:52px;display:grid;place-items:center;border-radius:17px;background:#eeebff;color:#6658d5}.notification-offer-icon .ui-icon{width:27px;height:27px}.notification-offer-card h2{font-size:23px;line-height:1.15;letter-spacing:-.7px;margin:18px 0 8px}.notification-offer-card p{font-size:13px;line-height:1.5;color:#73798d;margin:0 0 21px}.notification-offer-actions{display:flex;gap:9px}.notification-offer-actions button{flex:1;min-height:45px;border-radius:14px;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.notification-offer-decline{border:1px solid #e4e5ee;background:#f4f4f8;color:#62677c}.notification-offer-accept{border:1px solid #6153d6;background:#6557d7;color:#fff}
:root[data-theme="dark"] .notification-offer-card{background:#25283a;color:#f3f1ff;border-color:#44465c}:root[data-theme="dark"] .notification-offer-card p{color:#afb3c5}
.profile-banner{position:relative;overflow:hidden}.profile-banner-video{display:block;width:100%;height:100%;object-fit:cover;pointer-events:none}.profile-avatar video,.social-person-avatar video,.avatar video,.forum-avatar video,.discussion-avatar video,.comment-avatar video{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;pointer-events:none}.profile-avatar{isolation:isolate}.profile-hero[data-effect]{isolation:isolate}.profile-hero[data-effect] .profile-banner{isolation:isolate}.profile-hero[data-effect] .profile-details{z-index:2}.profile-hero[data-effect] .profile-avatar{z-index:3}
.profile-hero[data-effect]::after{display:none}
.profile-hero[data-effect="aurora"]{animation:kruzo-card-glow 5s ease-in-out infinite}.profile-hero[data-effect="aurora"] .profile-banner::after{content:"";position:absolute;inset:-50%;pointer-events:none;background:conic-gradient(from 45deg,#5c61ff77,#68e4e6aa,#f6acff88,#5c61ff77);filter:blur(20px);mix-blend-mode:screen;animation:kruzo-orbit 9s linear infinite}.profile-hero[data-effect="aurora"] .profile-avatar{box-shadow:0 0 0 3px #91ede8,0 0 22px #6ae4dfb8}
.profile-hero[data-effect="sparkles"] .profile-banner::after{content:"✦        ✧         ✦        ✧       ✦";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:31px;letter-spacing:18px;text-shadow:0 0 9px #fff,0 0 24px #ffcfff;pointer-events:none;animation:kruzo-sparkle 2.1s ease-in-out infinite alternate}.profile-hero[data-effect="sparkles"] .profile-avatar{box-shadow:0 0 0 3px #e9aeff,0 0 26px #f5bfff}.profile-hero[data-effect="sparkles"] .profile-avatar::after{content:"✦";position:absolute;top:-15px;right:-12px;color:#fff4bd;font-size:29px;text-shadow:0 0 14px #ffd884;animation:kruzo-sparkle 1.4s ease-in-out infinite alternate}
.profile-hero[data-effect="orbit"]{animation:kruzo-card-glow 4s ease-in-out infinite}.profile-hero[data-effect="orbit"] .profile-banner::after{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 15% 30%,#7bedff88,transparent 25%),radial-gradient(circle at 85% 70%,#bb84ff99,transparent 31%);animation:kruzo-banner-drift 5s ease-in-out infinite alternate}.profile-hero[data-effect="orbit"] .profile-avatar::after{content:"";position:absolute;inset:-9px;border:3px solid transparent;border-top-color:#72dfff;border-right-color:#ae85ff;border-bottom-color:#e193e9;border-radius:inherit;pointer-events:none;animation:kruzo-orbit 3.2s linear infinite}
@keyframes kruzo-card-glow{50%{box-shadow:0 0 0 2px #a89bff88,0 16px 44px #7769df7b}}@keyframes kruzo-banner-drift{to{transform:translateX(10%) scale(1.15)}}
@media(max-width:720px){.more-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.more-item{min-height:68px}.home-shortcuts{margin-top:0}}
@media(prefers-reduced-motion:reduce){.profile-hero[data-effect],.profile-hero[data-effect]::after,.profile-hero[data-effect] .profile-banner::after,.profile-hero[data-effect] .profile-avatar::after{animation:none!important}}

/* friends-effects.css */
.friends-shortcut{width:100%;min-height:50px;margin:8px 0 14px;border:1px solid #d9d5f3;border-radius:16px;background:#efedff;color:#5d50b8;font:inherit;font-weight:800;text-align:left;padding:12px 16px;cursor:pointer}.friends-strip{display:flex;gap:10px;overflow-x:auto;padding:0 0 13px;scrollbar-width:none}.friend-chip{display:grid;justify-items:center;gap:4px;min-width:68px;max-width:78px;border:0;background:none;color:inherit;font:inherit;font-size:11px;cursor:pointer}.friend-chip .social-person-avatar{width:43px;height:43px}.friend-chip span:last-child{max-width:76px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.friends-intro{margin:4px 0 16px;color:#798095;font-size:13px;line-height:1.5}.friend-entry{display:flex;align-items:center;gap:8px;border-radius:17px;background:#fff;border:1px solid #e5e7ef;margin-bottom:7px;padding:4px 8px}.friend-entry .social-person{min-width:0;flex:1;border:0;box-shadow:none;background:transparent}.friend-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.friend-actions button,.friend-entry>.friend-primary,.profile-friend{border:1px solid #dbd7f2;border-radius:12px;background:#ece9ff;color:#5e51bd;padding:9px 11px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}.friend-actions .friend-secondary{background:#f4f4f7;color:#74798c;border-color:#e8e8ee}
.share-overlay{position:fixed;inset:0;z-index:110;display:flex;align-items:end;justify-content:center;background:#11172a88;backdrop-filter:blur(8px)}.share-sheet{position:relative;width:min(500px,100%);max-height:78dvh;overflow:auto;border-radius:27px 27px 0 0;padding:25px 18px calc(22px + env(safe-area-inset-bottom));background:#fff;color:#292d42;box-shadow:0 -12px 40px #171b314d;animation:sheet-up .3s cubic-bezier(.2,.8,.2,1)}.share-sheet h2{font-size:22px;margin:4px 35px 5px 0}.share-sheet>p{color:#7c8294;font-size:13px;margin:0 0 15px}.share-close{position:absolute;right:17px;top:17px;width:32px;height:32px;border:0;border-radius:50%;background:#eef0f6;font-size:22px}.share-friends{display:grid;gap:7px;max-height:45dvh;overflow:auto}.share-friend{display:flex;align-items:center;gap:10px;width:100%;min-height:53px;padding:6px 10px;border:1px solid #e6e7ee;border-radius:14px;background:#fafaff;color:inherit;font:inherit;font-weight:700;text-align:left;cursor:pointer}.share-friend .social-person-avatar{width:37px;height:37px;flex:none}.share-friend .ui-icon{width:19px;height:19px;margin-left:auto;color:#685bd6}.share-copy{width:100%;min-height:43px;margin-top:12px;border:1px solid #dedbee;border-radius:12px;background:#f2f0ff;color:#6356c2;font:inherit;font-size:12px;font-weight:800}.chat-message-body p{white-space:pre-wrap;margin:0}.chat-message-body a{overflow-wrap:anywhere;color:inherit;text-decoration:underline}.chat-shared-open{margin-top:8px;padding:8px 11px;border:1px solid #cabfff;border-radius:11px;background:#ffffff25;color:inherit;font:inherit;font-size:12px;font-weight:800}.discussion-share{min-height:39px;margin-top:10px;padding:7px 12px;border:1px solid #d6d0ef;border-radius:12px;background:#eeeaff;color:#6253bc;font-weight:800}.admin-permissions{margin-top:11px;border:1px solid #dedcec;border-radius:14px;padding:11px;background:#f8f7ff}.admin-permissions summary{font-weight:800;cursor:pointer}.admin-permissions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:11px 0}.admin-permission{display:flex;align-items:center;gap:6px;font-size:12px}.admin-permission input{accent-color:#695bd8}.admin-permissions>.main-button{min-height:38px;font-size:12px}
:root[data-theme="dark"] .friends-shortcut,:root[data-theme="dark"] .friend-entry,:root[data-theme="dark"] .share-sheet,:root[data-theme="dark"] .admin-permissions{background:#282b3d;color:#f3f1ff;border-color:#45465b}:root[data-theme="dark"] .friend-entry .social-person,:root[data-theme="dark"] .share-friend{background:#292d40;color:#f3f1ff}
.profile-hero[data-effect="neon"]{box-shadow:0 0 0 2px #3ee2d0,0 0 26px #38d6dc84,0 16px 40px #7b61e44a;animation:kruzo-neon 2.5s ease-in-out infinite alternate}.profile-hero[data-effect="neon"] .profile-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,#46fff299 45%,#f580ff88 55%,transparent 80%);background-size:200% 100%;animation:kruzo-sweep 3s linear infinite;pointer-events:none}.profile-hero[data-effect="neon"] .profile-avatar{box-shadow:0 0 0 3px #46fff2,0 0 28px #46fff2}
.profile-hero[data-effect="prism"] .profile-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(120deg,#ff719877,#ffd86677,#6effd077,#758fff77);background-size:350% 100%;mix-blend-mode:screen;animation:kruzo-sweep 5s ease-in-out infinite alternate;pointer-events:none}.profile-hero[data-effect="prism"] .profile-avatar{box-shadow:0 0 0 4px #ff9cc8,0 0 25px #9e8dff;animation:kruzo-hue 5s linear infinite}
.profile-hero[data-effect="comet"] .profile-banner::after{content:"✦";position:absolute;left:-15%;top:15%;font-size:62px;color:#fff7d5;text-shadow:-25px 0 14px #92d9ff,-55px 0 25px #75b8ff,-90px 0 35px #91a5ff;animation:kruzo-comet 4s ease-in-out infinite;pointer-events:none}.profile-hero[data-effect="comet"] .profile-avatar{box-shadow:0 0 0 3px #9ed4ff,0 0 27px #79b4ff}
.profile-hero[data-effect="frost"] .profile-banner::after{content:"❄  ✧  ❄  ✧  ❄";position:absolute;inset:0;display:grid;place-items:center;color:#e6faff;font-size:34px;letter-spacing:14px;text-shadow:0 0 20px #bdedff;animation:kruzo-float 4s ease-in-out infinite alternate;pointer-events:none}.profile-hero[data-effect="frost"] .profile-avatar{box-shadow:0 0 0 4px #c1e9ff,0 0 25px #a9e1ff}
.profile-hero[data-effect="sunset"] .profile-banner::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 25% 75%,#ffcf7aaa,transparent 37%),linear-gradient(110deg,#ff5f8b66,#ff9d6b77,#ffc57066);background-size:180% 100%;animation:kruzo-sweep 6s ease-in-out infinite alternate;pointer-events:none}.profile-hero[data-effect="sunset"] .profile-avatar{box-shadow:0 0 0 4px #ffb586,0 0 27px #ff8c88}
.profile-hero[data-effect="pulse"]{animation:kruzo-pulse 2.8s ease-in-out infinite}.profile-hero[data-effect="pulse"] .profile-banner::after{content:"";position:absolute;inset:0;background:repeating-radial-gradient(circle at 50% 50%,transparent 0 16px,#9d98ff55 17px 19px,transparent 20px 42px);animation:kruzo-zoom 4s linear infinite;pointer-events:none}.profile-hero[data-effect="pulse"] .profile-avatar{box-shadow:0 0 0 4px #a59cff,0 0 24px #a59cff}
.profile-hero[data-effect="constellation"] .profile-banner::after{content:"✦     ·       ✧      ·     ✦    ·      ✧";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:26px;letter-spacing:13px;text-shadow:0 0 12px #fff,0 0 26px #b7a5ff;animation:kruzo-stars 5s linear infinite;pointer-events:none}.profile-hero[data-effect="constellation"] .profile-avatar{box-shadow:0 0 0 3px #e9d8ff,0 0 24px #e7caff}
.profile-hero[data-effect="waves"] .profile-banner::after{content:"";position:absolute;inset:-50% -20%;background:repeating-radial-gradient(ellipse at 30% 80%,transparent 0 20px,#8ae6ff55 22px 24px,transparent 26px 46px);animation:kruzo-waves 7s ease-in-out infinite;pointer-events:none}.profile-hero[data-effect="waves"] .profile-avatar{box-shadow:0 0 0 4px #8ae6ff,0 0 25px #7bd5f8}
@keyframes kruzo-neon{to{box-shadow:0 0 0 2px #d673ff,0 0 35px #c06bffb0,0 16px 40px #7b61e477}}@keyframes kruzo-sweep{to{background-position:200% 0}}@keyframes kruzo-hue{to{filter:hue-rotate(360deg)}}@keyframes kruzo-comet{to{left:110%;top:75%;transform:scale(.65)}}@keyframes kruzo-float{to{transform:translateY(18px);opacity:.6}}@keyframes kruzo-pulse{50%{box-shadow:0 0 0 7px #9e93ff55,0 0 32px #8c7aff88}}@keyframes kruzo-zoom{to{transform:scale(1.7)}}@keyframes kruzo-stars{to{transform:translateY(-16px);opacity:.55}}@keyframes kruzo-waves{50%{transform:translateX(12%) rotate(7deg)}}
@media(max-width:500px){.admin-permissions-grid{grid-template-columns:1fr}.friend-entry{align-items:flex-start;flex-direction:column}.friend-actions{padding:0 9px 8px}}@media(prefers-reduced-motion:reduce){.profile-hero[data-effect],.profile-hero[data-effect] .profile-banner::after,.profile-hero[data-effect] .profile-avatar{animation:none!important}}
.profile-status{display:inline-block;max-width:100%;margin:5px 0;padding:5px 9px;border-radius:999px;background:#eeebff;color:#5f51ba;font-size:11px;font-weight:800;overflow-wrap:anywhere}.profile-stories{margin:17px 0;padding:17px;border:1px solid #e4e5ef;border-radius:21px;background:#fff}.profile-stories h2{font-size:17px;margin:0 0 12px}.story-strip{display:flex;gap:9px;overflow-x:auto;min-height:110px}.story-card{position:relative;flex:none;width:90px;height:116px;overflow:hidden;padding:0;border:2px solid #a89af8;border-radius:16px;background:linear-gradient(145deg,#6958d5,#57c9cb);color:#fff;cursor:pointer}.story-card img,.story-card video{width:100%;height:100%;object-fit:cover;pointer-events:none}.story-mark{font-size:38px}.story-caption{position:absolute;left:0;right:0;bottom:0;padding:15px 5px 5px;background:linear-gradient(transparent,#1b193cb8);color:#fff;font-size:10px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-create{display:grid;gap:8px;margin-top:13px}.story-create textarea{width:100%;min-height:58px;border:1px solid #e3e4ee;border-radius:12px;padding:10px;font:inherit;resize:vertical}.story-create input{font-size:12px}.story-create button{justify-self:start;min-height:39px;padding:8px 13px}.story-viewer{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:14px;background:#070917db}.story-viewer-card{position:relative;width:min(460px,100%);max-height:90dvh;overflow:auto;padding:16px;border-radius:24px;background:#20233b;color:#fff}.story-viewer-card>small{color:#bdb9e9}.story-viewer-card p{font-size:16px;line-height:1.5;white-space:pre-wrap}.story-viewer-media{display:block;width:100%;max-height:65dvh;margin:11px 0;border-radius:14px;object-fit:contain;background:#111}.story-close{position:absolute;right:11px;top:10px;width:32px;height:32px;border:0;border-radius:50%;background:#ffffff2e;color:#fff;font-size:23px}.story-delete{padding:9px 12px;border:1px solid #ffbbce;border-radius:10px;background:#4d293b;color:#ffe1ea;font-weight:800}:root[data-theme="dark"] .profile-stories{background:#25283a;border-color:#44465b}:root[data-theme="dark"] .profile-status{background:#3b345a;color:#cbbfff}
.community-create-link{width:100%;min-height:46px;margin:10px 0 4px;border-radius:15px;font-weight:800}.community-back-link{border:0;background:none;color:#695bd2;font:inherit;font-size:13px;font-weight:800;padding:9px 0;cursor:pointer}

/* news-effects.css */
.news-hero{position:relative;overflow:hidden;border-radius:28px;background:var(--surface,#fff);border:1px solid #dad9ec;box-shadow:0 16px 42px #25245212;margin:0 0 16px}.news-cover{height:170px;background:linear-gradient(135deg,#37307c,#7467f4 58%,#9bd9df);background-size:cover;background-position:center}.news-avatar{position:relative;display:grid;place-items:center;width:78px;height:78px;margin:-39px 0 0 22px;border:5px solid var(--surface,#fff);border-radius:23px;object-fit:cover;box-shadow:0 8px 22px #1b184532}.news-avatar-fallback{background:#5d50d9;color:#fff;font-size:35px;font-weight:900}.news-meta{padding:12px 24px 22px}.news-meta h1{font-size:clamp(24px,5vw,34px);margin:6px 0}.news-meta p{margin:0 0 10px;line-height:1.5}.news-meta small{color:#7d8193}.news-kicker{color:#6957d4;font-size:11px;font-weight:850;letter-spacing:.14em}.news-join{margin:0 0 18px}.news-settings,.news-compose,.news-post{border:1px solid #e0dfeb;border-radius:22px;background:var(--surface,#fff);box-shadow:0 12px 32px #2724540b}.news-settings{margin:14px 0;overflow:hidden}.news-settings summary{cursor:pointer;padding:17px 20px;font-weight:750}.news-settings-form,.news-compose,.news-edit{display:grid;gap:12px;padding:18px}.news-settings-form input:not([type=checkbox]),.news-settings-form textarea,.news-compose textarea,.news-edit textarea{width:100%;min-width:0;border:1px solid #dcdde9;border-radius:13px;padding:12px 14px;background:var(--surface,#fff);color:inherit;font:inherit}.news-compose{margin:16px 0}.news-compose h2{margin:0;font-size:18px}.news-compose textarea,.news-edit textarea{min-height:115px;resize:vertical}.news-check{display:flex;align-items:center;gap:9px;font-size:13px}.news-settings button,.news-compose button,.news-edit button{justify-self:start}.news-list{display:grid;gap:16px;margin:20px 0}.news-post{overflow:hidden;padding:18px 20px}.news-byline{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.news-byline small{margin-left:auto;color:#8c8f9e}.news-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#fff;background:#6658df;font-weight:850}.news-photo{display:block;width:100%;max-height:560px;object-fit:contain;background:#111320;border-radius:16px;margin:16px 0}.news-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.62;margin:16px 0 4px}.news-post-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.news-post-actions button{min-height:36px;padding:7px 13px;border-radius:10px}.news-edit{padding:12px 0 0}.profile-hero[data-effect="meteor"] .profile-banner::after,.profile-hero[data-effect="nebula"] .profile-banner::after,.profile-hero[data-effect="fireflies"] .profile-banner::after,.profile-hero[data-effect="hologram"] .profile-banner::after,.profile-hero[data-effect="electric"] .profile-banner::after,.profile-hero[data-effect="blossom"] .profile-banner::after,.profile-hero[data-effect="galaxy"] .profile-banner::after,.profile-hero[data-effect="rain"] .profile-banner::after{content:"";position:absolute;inset:-15%;pointer-events:none}.profile-hero[data-effect="meteor"] .profile-banner::after{background:repeating-linear-gradient(135deg,transparent 0 38px,#d8ddffb0 39px 41px,transparent 42px 95px);animation:kruzo-meteor 3s linear infinite}.profile-hero[data-effect="nebula"] .profile-banner::after{background:radial-gradient(circle at 20% 30%,#bd78ffaa,transparent 32%),radial-gradient(circle at 74% 72%,#5ae7e0aa,transparent 38%);filter:blur(16px);animation:kruzo-nebula 7s ease-in-out infinite alternate}.profile-hero[data-effect="fireflies"] .profile-banner::after{background:radial-gradient(circle at 12% 25%,#fff49d 0 3px,transparent 5px),radial-gradient(circle at 42% 63%,#fff49d 0 3px,transparent 5px),radial-gradient(circle at 76% 32%,#fff49d 0 3px,transparent 5px),radial-gradient(circle at 89% 75%,#fff49d 0 3px,transparent 5px);filter:drop-shadow(0 0 7px #ffe57c);animation:kruzo-nebula 4s ease-in-out infinite alternate}.profile-hero[data-effect="hologram"] .profile-banner::after{background:repeating-linear-gradient(0deg,#66f5ee44 0 2px,transparent 3px 12px);animation:kruzo-meteor 5s linear infinite}.profile-hero[data-effect="electric"] .profile-banner::after{background:repeating-linear-gradient(110deg,transparent 0 65px,#80eaff99 66px 68px,transparent 69px 140px);filter:drop-shadow(0 0 10px #48cfff);animation:kruzo-meteor 2s linear infinite}.profile-hero[data-effect="blossom"] .profile-banner::after{background:radial-gradient(ellipse at 20% 10%,#ffc2e788,transparent 20%),radial-gradient(ellipse at 65% 60%,#ff96d888,transparent 23%),radial-gradient(ellipse at 88% 32%,#ffd4ea88,transparent 20%);animation:kruzo-nebula 6s ease-in-out infinite alternate}.profile-hero[data-effect="galaxy"] .profile-banner::after{background:conic-gradient(from 30deg at 50% 50%,#6b62e888,#dc83ee77,#6af3f077,#6b62e888);filter:blur(18px);animation:kruzo-orbit 12s linear infinite}.profile-hero[data-effect="rain"] .profile-banner::after{background:repeating-linear-gradient(105deg,transparent 0 18px,#bcd7ff55 19px 20px,transparent 21px 38px);animation:kruzo-meteor 2.5s linear infinite}.profile-hero[data-effect="meteor"] .profile-avatar,.profile-hero[data-effect="nebula"] .profile-avatar,.profile-hero[data-effect="fireflies"] .profile-avatar,.profile-hero[data-effect="hologram"] .profile-avatar,.profile-hero[data-effect="electric"] .profile-avatar,.profile-hero[data-effect="blossom"] .profile-avatar,.profile-hero[data-effect="galaxy"] .profile-avatar,.profile-hero[data-effect="rain"] .profile-avatar{box-shadow:0 0 0 3px #a09aff,0 0 26px #8d7fffaa}@keyframes kruzo-meteor{to{background-position:170px 190px}}@keyframes kruzo-nebula{to{transform:translate(12px,-8px) scale(1.14);opacity:.68}}:root[data-theme="dark"] .news-hero,:root[data-theme="dark"] .news-settings,:root[data-theme="dark"] .news-compose,:root[data-theme="dark"] .news-post{background:#232637;border-color:#41445a;color:#f3f1ff}:root[data-theme="dark"] .news-settings-form input:not([type=checkbox]),:root[data-theme="dark"] .news-settings-form textarea,:root[data-theme="dark"] .news-compose textarea,:root[data-theme="dark"] .news-edit textarea{background:#191b29;border-color:#41445a;color:#fff}@media(max-width:600px){.news-cover{height:138px}.news-hero{border-radius:22px}.news-post{padding:15px}.news-byline small{margin-left:0;width:100%;padding-left:44px}}@media(prefers-reduced-motion:reduce){.profile-hero[data-effect] .profile-banner::after{animation:none!important}}

/* voronezh.css */
:root{--kruzo-city:#f28c67;--kruzo-night:#29264d}
.logo,.boot-mark,.news-mark{position:relative;background:linear-gradient(145deg,#faab78,#ed7098 55%,#8065d9)!important}
.logo::before,.logo::after{content:"";position:absolute;top:-7px;width:12px;height:13px;background:#f28c84;border-radius:3px 9px 2px 2px;z-index:-1}
.logo::before{left:5px;transform:rotate(-28deg)}.logo::after{right:5px;transform:rotate(28deg) scaleX(-1)}
.home-overview{background:linear-gradient(125deg,#302657 0%,#594080 55%,#e1878e 100%)!important}
.home-editorial{background:radial-gradient(circle at 72% 18%,#ffc4a6 0 4%,transparent 5%),linear-gradient(155deg,#efacaa,#9f73c7 58%,#564076)!important}
.home-editorial strong{font-weight:950;letter-spacing:-.1em}
.home-kicker,.home-editorial-top,.home-editorial-bottom{letter-spacing:.14em}
.live i{background:#ec849e!important}.shortcut-icon.forum{color:#a25ca4!important}.shortcut-icon.market{color:#e48670!important}
.news-cover{background:linear-gradient(135deg,#302657,#9e6ab2 58%,#efac98)!important}
@media(prefers-reduced-motion:reduce){.home-editorial,.logo{animation:none!important}}

/* dating.css */
.dating-intro{padding:25px;border-radius:24px;background:linear-gradient(135deg,#372752,#875696 62%,#e5959a);color:#fff;margin-bottom:16px}.dating-intro small{font-size:11px;letter-spacing:.16em;font-weight:800}.dating-intro h1{font-size:clamp(26px,6vw,38px);margin:10px 0}.dating-intro p{max-width:570px;line-height:1.55;margin:0;color:#f5eaf5}.dating-form,.dating-card,.dating-matches{padding:20px;border:1px solid #e6ddeb;border-radius:20px;background:var(--surface,#fff);margin:16px 0;box-shadow:0 10px 28px #49345a0d}.dating-form{display:grid;gap:12px}.dating-form h2,.dating-matches h2,.dating-section-title{margin:0 0 6px;font-size:20px}.dating-form input:not([type=checkbox]),.dating-form textarea,.dating-form select{width:100%;padding:12px 14px;border-radius:12px;border:1px solid #d8d3e2;background:var(--surface,#fff);color:inherit;font:inherit}.dating-form textarea{min-height:115px;resize:vertical}.dating-consent{display:flex;gap:9px;align-items:flex-start;font-size:13px}.dating-hint{margin:0;color:#777589;font-size:12px}.dating-form button{justify-self:start}.dating-delete,.dating-skip{padding:9px 13px;border:1px solid #eadde9;border-radius:11px;background:#fff;color:#9b537d}.dating-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:14px}.dating-card{margin:0;display:grid;gap:11px}.dating-card-top{display:flex;align-items:center;gap:12px}.dating-card-top>div:last-child{display:grid;gap:3px}.dating-card-top small,.dating-interests{color:#857d91}.dating-avatar{width:62px;height:62px;flex:none;border-radius:18px;overflow:hidden}.dating-card p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5;margin:0}.dating-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.dating-actions button,.dating-telegram{min-height:39px;padding:9px 13px;border-radius:11px}.dating-telegram{display:inline-flex;align-items:center;background:#eef7ff;color:#2875a4;text-decoration:none}.dating-matches{display:grid;gap:12px}.dating-match{display:flex;align-items:center;gap:10px;padding:10px 0;border-top:1px solid #eee7ee;flex-wrap:wrap}.dating-match .dating-actions{margin-left:auto}:root[data-theme="dark"] .dating-form,:root[data-theme="dark"] .dating-card,:root[data-theme="dark"] .dating-matches{background:#232637;border-color:#42445a;color:#f4f0fb}:root[data-theme="dark"] .dating-form input:not([type=checkbox]),:root[data-theme="dark"] .dating-form textarea,:root[data-theme="dark"] .dating-form select{background:#191b29;border-color:#45455d;color:#fff}@media(max-width:530px){.dating-match .dating-actions{margin-left:0;width:100%}.dating-intro{padding:20px}.dating-form,.dating-card,.dating-matches{padding:16px}}
.dating-telegram-identity { margin: 0; padding: 11px 14px; border-radius: 14px; background: #7961ca18; font-weight: 700; overflow-wrap: anywhere; }

/* premium.css */
.premium-card { max-width: 720px; margin: 20px auto; padding: clamp(24px, 6vw, 48px); border-radius: 32px; color: #f7f4ff; background: radial-gradient(circle at 83% 8%, #a17efa 0, transparent 35%), linear-gradient(135deg, #282047, #574387 68%, #33294f); box-shadow: 0 24px 60px #24173e35; }
.premium-kicker { display: inline-block; padding: 8px 13px; border: 1px solid #ffffff55; border-radius: 100px; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.premium-card h1 { margin: 24px 0 12px; font-size: clamp(28px, 6vw, 46px); line-height: 1.1; }
.premium-card p { max-width: 560px; line-height: 1.55; }
.premium-features { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0; }
.premium-features span { padding: 9px 13px; border-radius: 100px; background: #ffffff24; }
.premium-price { display: block; margin: 12px 0 5px; font-size: 25px; }
.premium-fineprint { display: block; opacity: .78; }
.premium-card .main-button { margin-top: 24px; background: #fff; color: #34265b; }
.premium-active, .premium-unavailable { margin-top: 24px; }
.premium-badge { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 99px; color: #fff; background: linear-gradient(120deg, #7355d6, #ab76dc); font-size: 10px; font-weight: 800; letter-spacing: .06em; vertical-align: middle; }

/* chat-admin.css */
.chat-file-input{display:none}.chat-compose{flex-wrap:wrap}.chat-attach{flex:none;width:46px;height:46px;border:1px solid #dcd8ef;border-radius:14px;background:#fff;color:#6552b0;font-size:26px}.chat-picked{flex-basis:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#6f6885}.chat-picked:empty{display:none}.chat-message-body{display:grid;gap:7px}.chat-media-open{padding:0;border:0;background:transparent;cursor:pointer}.chat-media-preview{display:block;max-width:min(100%,340px);max-height:320px;border-radius:12px;object-fit:contain}.chat-file-link{display:inline-block;max-width:100%;overflow-wrap:anywhere;padding:9px 12px;border-radius:10px;background:#ffffff85;color:inherit;text-decoration:none}.profile-admin-button{border:1px solid #dad2ef;background:#eee8ff;color:#5745a5}.profile-admin-overlay{position:fixed;inset:0;z-index:120;display:grid;place-items:center;padding:16px;background:#17112399;backdrop-filter:blur(8px)}.profile-admin-panel{position:relative;width:min(520px,100%);max-height:90dvh;overflow:auto;padding:25px;border-radius:25px;background:#fff;color:#272037;box-shadow:0 25px 70px #17112355}.profile-admin-panel h2{margin:0 35px 18px 0;font-size:22px}.profile-admin-close{position:absolute;right:18px;top:14px;border:0;background:transparent;font-size:29px}.profile-admin-action{display:block;width:100%;min-height:42px;margin:7px 0;padding:9px 13px;border:1px solid #e8e4f2;border-radius:12px;background:#f8f6fd;color:#383048;text-align:left}.profile-admin-tags{display:flex;gap:8px;margin:13px 0}.profile-admin-tags input{min-width:0;flex:1;border:1px solid #ddd5ea;border-radius:11px;padding:10px}.profile-admin-tags .profile-admin-action{width:auto;margin:0}.profile-admin-tools{display:grid;gap:8px;margin-top:18px;padding:15px;border:1px solid #e7e1f2;border-radius:16px;background:#fbfaff}.profile-admin-tools h3,.profile-admin-tools p{margin:0}.profile-admin-tools p{color:#777086;font-size:12px}.profile-admin-tools select{width:100%;min-height:42px;padding:8px 10px;border:1px solid #ddd5ea;border-radius:11px;background:#fff;color:inherit}.profile-admin-danger{color:#b53d56}.profile-admin-rights{display:grid;gap:8px;margin-top:18px}.profile-admin-rights h3{margin:0}.profile-admin-rights label{display:flex;gap:8px;align-items:center}.profile-admin-rights .main-button{margin-top:8px}:root[data-theme="dark"] .profile-admin-panel{background:#242233;color:#f2eefb}:root[data-theme="dark"] .profile-admin-action,:root[data-theme="dark"] .profile-admin-tools{background:#373348;color:#f2eefb;border-color:#534d63}:root[data-theme="dark"] .profile-admin-tools select{background:#242233;border-color:#534d63;color:#f2eefb}

/* responsive.css */
/* Final responsive layer: keep every interactive surface within the viewport. */
html, body { min-width: 0; }
body { overflow-x: clip; }
button, input, textarea, select { min-width: 0; }
.layout, .content, .feed, .card, .card > div, .social-content,
.discussion-page, .discussion-main, .profile-form, .profile-hero { min-width: 0; }
.card, .forum-topic, .social-person, .profile-hero, .profile-form,
.community-card, .chat-bubble { overflow-wrap: anywhere; }
.card img, .card video, .discussion-page img, .discussion-page video,
.social-content img, .social-content video { max-width: 100%; }
.modal .dialog { max-height: calc(100dvh - 24px); overscroll-behavior: contain; }
.more-panel { max-height: calc(100dvh - env(safe-area-inset-top) - 12px); overscroll-behavior: contain; }
.more-item strong { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.16; overflow-wrap: anywhere; }
.profile-actions button, .community-create-link { white-space: normal; overflow-wrap: anywhere; }
.admin-sanction { width: 100%; min-width: 0; margin-top: 12px; padding: 12px; border: 1px solid #dedbf1; border-radius: 15px; background: #f8f7ff; }
.admin-sanction-status { margin: 0 0 9px; color: #554c89; font-size: 12px; font-weight: 800; }
.admin-sanction-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.admin-sanction-fields select, .admin-sanction-fields input { width: 100%; min-width: 0; min-height: 40px; padding: 8px 10px; border: 1px solid #dcd9ed; border-radius: 10px; background: #fff; color: #293047; font: inherit; font-size: 12px; }
.admin-sanction-fields input { grid-column: 1 / -1; }
.admin-sanction-apply { min-height: 42px; grid-column: 1 / -1; border: 0; border-radius: 11px; background: #6454d6; color: #fff; font-size: 12px; font-weight: 800; }
.post-pending { display: inline-flex; width: max-content; margin-left: 7px; padding: 3px 7px; border-radius: 999px; background: #fff1ce; color: #806019; font-size: 10px; font-weight: 800; }
.admin-feed-control { display: grid; gap: 9px; margin: 14px 0; padding: 15px; border: 1px solid #dedbf1; border-radius: 16px; background: #f8f7ff; }
.admin-feed-control strong { font-size: 14px; }
.admin-feed-control p { margin: 0; color: #6d7387; font-size: 12px; line-height: 1.4; }
.admin-feed-control select { min-height: 43px; width: 100%; padding: 9px; border: 1px solid #d9d5ed; border-radius: 11px; background: #fff; color: #292d42; font: inherit; font-size: 13px; }
.admin-feed-control button { min-height: 42px; }
:root[data-theme="dark"] .admin-feed-control { background: #2c2a40; border-color: #47425f; }
:root[data-theme="dark"] .admin-feed-control p { color: #b4b1c8; }
:root[data-theme="dark"] .admin-feed-control select { background: #222538; color: #f1efff; border-color: #55516c; }
.restriction-notice { padding: 11px max(16px, calc((100vw - 760px) / 2)); background: #fff2df; color: #774d15; font-size: 13px; line-height: 1.4; text-align: center; }
:root[data-theme="dark"] .restriction-notice { background: #463725; color: #ffe0a7; }
:root[data-theme="dark"] .admin-sanction { background: #2c2a40; border-color: #47425f; }
:root[data-theme="dark"] .admin-sanction-status { color: #d8d0ff; }
:root[data-theme="dark"] .admin-sanction-fields select, :root[data-theme="dark"] .admin-sanction-fields input { background: #222538; color: #f1efff; border-color: #55516c; }

/* Stories are compact circular moments instead of oversized thumbnail tiles. */
.profile-stories { overflow: hidden; }
.story-strip { gap: 13px; min-height: 104px; padding: 2px 1px 5px; scrollbar-width: none; }
.story-strip::-webkit-scrollbar { display: none; }
.story-card { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 5px;
  width: 78px; height: 100px; padding: 3px 0 0; overflow: visible; border: 0; border-radius: 0;
  background: transparent; color: #30344e; box-shadow: none; }
.story-card img, .story-card video, .story-card .story-mark { width: 68px; height: 68px; flex: none;
  border: 3px solid #8a74f0; border-radius: 50%; background: #7664dc; object-fit: cover; }
.story-card .story-mark { display: grid; place-items: center; color: #fff; font-size: 31px; }
.story-caption { position: static; display: block; width: 100%; padding: 0; background: none;
  color: inherit; font-size: 10px; line-height: 1.25; text-align: center; }
.story-card:active img, .story-card:active video, .story-card:active .story-mark { transform: scale(.92); }
:root[data-theme="dark"] .story-card { color: #eeeafd; }

@media (max-width: 720px) {
  .home-overview { min-height: 0; margin-bottom: 14px; padding: 17px 18px 18px; border-radius: 22px; }
  .home-overview-copy { max-width: 100%; }
  .home-overview h2 { max-width: none; margin: 8px 0 6px; font-size: clamp(22px, 6vw, 29px); line-height: 1.08; }
  .home-overview p { max-width: 36ch; margin: 0 0 12px; font-size: 12px; line-height: 1.4; }
  .home-overview button { min-height: 40px; margin: 0; }
  .home-editorial { display: none; }
  .forum-hero { min-width: 0; padding: 17px 18px; }
  .forum-hero > div { min-width: 0; }
  .forum-hero h2 { overflow-wrap: anywhere; }
  .forum-hero p { max-width: none; }
  .forum-create { min-height: 42px; max-width: 100%; white-space: normal; }
  .top { gap: 5px; padding-inline: 12px; }
  .top .brand { flex: 0 1 auto; min-width: 0; }
  .top .brand > div:last-child { min-width: 0; }
  .top .brand strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .top .settings-button { margin-left: 2px; }
  .top .profile-top { margin-left: auto; }
  .layout { padding-inline: 12px; }
  /* redesign.css centers the dock with left:50% + translateX(-50%).
     Both properties must be reset when anchoring it to mobile safe edges. */
  .bottom { left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right));
    width: auto; max-width: none; transform: none; margin: 0; }
  .bottom-main { flex: 1 1 auto; min-width: 0; }
  .bottom-main button { flex: 1 1 0; min-width: 0; padding-inline: 1px; }
  .bottom-main button span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 100%; }
  .bottom #moreButton { flex: none; }
  .more-panel { width: 100%; padding-inline: 14px; }
  .more-item { min-width: 0; }
  .modal { padding: 0; align-items: end; }
  .modal .dialog { width: 100%; max-width: 100%; max-height: calc(100dvh - env(safe-area-inset-top) - 12px);
    padding-bottom: calc(20px + env(safe-area-inset-bottom)); border-radius: 25px 25px 0 0; }
  .dialog input:not([type=checkbox]), .dialog textarea, .dialog select,
  .profile-form input:not([type=file]), .profile-form textarea,
  .story-create textarea, .chat-compose textarea,
  .admin-sanction-fields select, .admin-sanction-fields input,
  .admin-feed-control select { font-size: 16px; }
  .social-header-inner { min-width: 0; gap: 8px; padding-inline: 12px; }
  .social-header strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .social-content { width: 100%; padding-inline: 12px; }
  .profile-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .profile-actions button { width: 100%; min-height: 46px; }
  .own-profile-actions { grid-template-columns: 1fr; }
  .profile-stories { padding: 14px; }
  .story-create input[type=file] { width: 100%; max-width: 100%; }
  .chat-compose textarea { min-width: 0; }
}

@media (max-width: 380px) {
  .home-overview { padding: 15px; }
  .home-overview h2 { font-size: 22px; }
  .home-overview p { font-size: 11px; }
  .home-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-shortcuts button:last-child { grid-column: 1 / -1; }
  .home-shortcuts strong, .home-shortcuts small { display: block; white-space: normal; overflow: visible; line-height: 1.2; }
  .top { padding-inline: 9px; }
  .top .logo { width: 34px; height: 34px; flex: none; font-size: 17px; }
  .top .brand { gap: 6px; }
  .top .brand strong { font-size: 13px; }
  .top .settings-button { width: 32px; height: 32px; }
  .layout { padding-inline: 9px; }
  .bottom { left: max(5px, env(safe-area-inset-left)); right: max(5px, env(safe-area-inset-right)); gap: 4px; }
  .bottom-main { padding: 3px; }
  .bottom-main button .ui-icon { width: 20px; height: 20px; }
  .bottom .mobile-plus .ui-icon { width: 24px; height: 24px; }
  .bottom #moreButton { width: 52px; height: 52px; }
  .bottom button span { font-size: 8px; }
  .card { padding: 12px; gap: 9px; }
  .card footer { flex-wrap: wrap; align-items: center; }
  .profile-actions { grid-template-columns: 1fr; }
  .more-grid { gap: 6px; }
  .more-item { padding: 6px 3px; }
  .more-item strong { font-size: 10px; }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .layout { gap: 20px; padding-inline: 18px; }
  .top { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-card img, .story-card video, .story-card .story-mark { transition: none; }
}

/* keyboard.css */
@media (max-width: 800px) {
  input:not([type="checkbox"]):not([type="radio"]), textarea, select, [contenteditable="true"] { font-size: 16px !important; scroll-margin-block: 16px; }
}

/* gestures.css */
@media (pointer: coarse) {
  .social-page, .discussion-page {
    touch-action: pan-y;
    transform: translate3d(0, 0, 0);
    transform-origin: right center;
  }
  .social-page.swipe-back-active, .discussion-page.swipe-back-active {
    position: relative;
    z-index: 20;
    transform: translate3d(var(--swipe-back-x, 0px), 0, 0);
    box-shadow: -18px 0 42px rgba(34, 24, 79, .18);
    will-change: transform, opacity, box-shadow;
  }
  .social-page.swipe-back-settling, .discussion-page.swipe-back-settling {
    transition: transform 190ms cubic-bezier(.22, .74, .2, 1), opacity 190ms ease-out, box-shadow 190ms ease-out;
  }
  .social-page.swipe-back-commit, .discussion-page.swipe-back-commit {
    opacity: .82;
    box-shadow: -26px 0 54px rgba(34, 24, 79, .12);
    transition-duration: 230ms;
  }
  .story-strip, .friends-strip, .feed-attachments, .admin-tabs, .more-grid { touch-action: auto; }

  .more-panel, .share-sheet, .story-viewer-card, .notification-offer-card,
  .profile-admin-panel, .delete-choice-sheet, .modal > .dialog, .media-viewer {
    touch-action: pan-y;
  }
  .gesture-sheet-active {
    transform: translate3d(0, var(--gesture-sheet-y, 0px), 0) !important;
    animation: none !important;
    will-change: transform, opacity;
  }
  .gesture-sheet-settling {
    transition: transform 210ms cubic-bezier(.22, .74, .2, 1), opacity 210ms ease-out !important;
  }
  .gesture-sheet-dismiss {
    opacity: .35;
    transition-duration: 260ms !important;
  }
  .content.feed-swipe-active {
    transform: translate3d(var(--feed-swipe-x, 0px), 0, 0);
    opacity: var(--feed-swipe-opacity, 1);
    will-change: transform, opacity;
  }
  .content.feed-swipe-settling {
    transition: transform 190ms cubic-bezier(.22, .74, .2, 1), opacity 190ms ease-out;
  }
  .content.feed-swipe-enter-left { animation: feed-enter-left 270ms cubic-bezier(.22, .74, .2, 1); }
  .content.feed-swipe-enter-right { animation: feed-enter-right 270ms cubic-bezier(.22, .74, .2, 1); }
}

@keyframes feed-enter-left { from { transform:translate3d(-54px,0,0); opacity:.35 } to { transform:none; opacity:1 } }
@keyframes feed-enter-right { from { transform:translate3d(54px,0,0); opacity:.35 } to { transform:none; opacity:1 } }

@media (prefers-reduced-motion: reduce) {
  .social-page.swipe-back-settling, .discussion-page.swipe-back-settling { transition-duration: 1ms; }
  .gesture-sheet-settling { transition-duration: 1ms !important; }
  .content.feed-swipe-settling { transition-duration: 1ms; }
  .content.feed-swipe-enter-left, .content.feed-swipe-enter-right { animation-duration: 1ms; }
}

/* admin.css */
.admin-open{border:1px solid #dcd7ff;background:#eeeaff;color:#5b4cda;border-radius:12px;padding:10px 13px;font-size:13px;font-weight:800;white-space:nowrap}.side-admin{display:block;width:100%;margin-top:14px;text-align:left}.login-link{display:block;text-align:center;text-decoration:none;margin-top:22px}.login-status{font-size:13px;color:#7d8497;margin-top:15px}.admin-dialog{width:min(720px,100%)}.admin-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:20px 0}.admin-stats>div{background:#f3f1ff;border-radius:13px;padding:15px;display:flex;flex-direction:column;gap:4px}.admin-stats strong{font-size:25px;color:#5142d2}.admin-stats span{font-size:12px;color:#737b8e}.admin-create{margin-bottom:16px}.admin-list{display:grid;gap:10px}.admin-row{border:1px solid #e6e8f1;border-radius:13px;padding:14px;display:flex;gap:12px;justify-content:space-between;align-items:center}.admin-row>div{display:flex;flex-direction:column;gap:4px;min-width:0}.admin-row small{color:#8f97a8;font-size:11px}.admin-row strong{font-size:14px}.admin-row span{font-size:12px;color:#576078;overflow-wrap:anywhere}.admin-row em{font-size:11px;color:#6a59e9;font-style:normal}.admin-delete{border:0;background:#fff0f3;color:#d74563;border-radius:10px;padding:9px 11px;font-size:12px;font-weight:700}.admin-modal .dialog{max-height:90vh}.admin-modal{z-index:25}@media(max-width:720px){.intro{align-items:center;gap:10px}.intro h1{font-size:24px}.admin-open{font-size:11px;padding:9px}.admin-stats{gap:6px}.admin-stats>div{padding:10px}.admin-stats strong{font-size:20px}.admin-stats span{font-size:10px}.admin-row{align-items:flex-start;flex-direction:column}.admin-delete{align-self:flex-end}}

/* forum.css */
.forum-card{border-color:#dfe3ff}.forum-card .actions button:nth-child(2){background:#eef0ff;color:#5864d8;font-weight:750}.forum-card h2{color:#26325c}

/* author.css */
.author-details{display:flex;flex-direction:column;gap:2px}.author-details small{font-size:11px}.public-username{color:#5c50cf}.admin-disclosure{color:#7d8497}.private-author{color:#d54567}.admin-author-field small{font-weight:400;font-size:11px;color:#81889a;line-height:1.4}
