/* Organic Growth / supplied October 11 design tokens. */
:root{color-scheme:light;--purple:#5b4cf5;--purple-soft:#eeecff;--ink:#151a2d;--muted:#8e95a8;--ink-2:#5b6378;--line:#e7e9f0;--bg:#f4f5fa;--card:#fff;--green:#1f9254;--red:#d33a32;--gold:#5b4cf5;--panel:#fff;--navy:#141e33}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;background:var(--bg)!important;color:var(--ink)!important;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,system-ui,sans-serif;line-height:1.4;font-size:15px;padding:0;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:var(--ink);background:#f1f2f6;border:0;border-radius:14px;min-height:44px;padding:10px 14px;font-weight:600}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #5b4cf5;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}a{color:var(--purple)}h1,h2,h3,p{margin:0}h2{font-size:24px;letter-spacing:-.4px;color:var(--ink)}h3{font-size:15px}p{line-height:1.45}.hide,[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.shell{display:block!important;max-width:720px;margin:0 auto;padding:0 16px 130px;min-height:100dvh}.shell.hide{display:none!important}.shell main{min-width:0;padding:0!important;overflow:visible}.sidebar{position:fixed!important;top:auto!important;left:0!important;right:0!important;bottom:0!important;width:auto!important;height:auto!important;z-index:30;padding:0!important;background:rgba(250,250,253,.94)!important;border:0;border-top:.5px solid #d8dae3;backdrop-filter:blur(20px);box-shadow:none}.nav{max-width:720px;margin:0 auto;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;padding:5px 6px max(10px,env(safe-area-inset-bottom));overflow:visible}.nav button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px;min-height:50px;background:none!important;border:0!important;padding:4px 0;border-radius:0;color:#9a9fb0!important;font-size:10.5px;font-weight:600;white-space:nowrap;box-shadow:none!important}.nav button.active{color:var(--purple)!important}.nav svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.nav span{font-size:10.5px}.top{position:absolute;right:16px;top:max(10px,env(safe-area-inset-top));min-height:44px!important;height:44px!important;width:44px;border:0;padding:0!important;background:none;z-index:3}.shell{position:relative}.crumb,#meName,#account{display:none}.identity{display:block}.identity #meAvatar{width:44px;height:44px;padding:5px;border:0;background:transparent!important;font-size:13px}.identity #meAvatar img{width:34px;height:34px;border-radius:50%}.identity #meAvatar:has(img){background:none!important}.avatar{width:34px;height:34px;min-width:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:white!important;background:linear-gradient(135deg,#2e8bff,#5b4cf5)!important;font-size:13px;font-weight:700;flex-shrink:0;overflow:hidden;border:0}.avatar img{width:100%;height:100%;object-fit:cover}.heading{display:block!important;padding:max(14px,env(safe-area-inset-top)) 52px 12px 0;margin:0!important;min-height:66px}.heading h1{display:flex;gap:8px;align-items:center;min-height:40px;font-size:32px;line-height:1.2;font-weight:800;letter-spacing:-.6px;color:var(--ink)}body[data-view=feed] .heading h1{font-size:22px;letter-spacing:-.4px}.brand-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:linear-gradient(135deg,var(--purple),#9b5cf5);color:#fff;font-size:26px}.statusbar:empty{display:none}.statusbar{background:#fff2d2;color:#5b6378;border-radius:10px;padding:8px;font-size:13px;margin:6px -50px 0 0}.statusbar button{min-height:32px;padding:4px 8px;color:var(--purple)}#add{position:fixed;right:max(20px,calc((100vw - 720px)/2 + 20px));bottom:calc(76px + env(safe-area-inset-bottom));width:58px;height:58px;min-height:58px;border-radius:50%;z-index:25;font-size:36px;font-weight:400;line-height:1;padding:0;box-shadow:0 10px 24px #5b4cf573,0 2px 6px #0002}#installBar{display:none!important}.legal-links{display:none}.primary,.gold{background:var(--purple)!important;color:white!important;border:0;box-shadow:0 8px 18px #5b4cf54d;border-radius:15px;font-size:17px;font-weight:700;min-height:54px}.wide{display:block;width:100%;margin:16px 0}.seg{display:flex;background:#e6e7ef;border-radius:10px;padding:2px;margin:6px 0 10px;gap:0}.seg button{flex:1;min-width:0;min-height:40px;border-radius:8px;font-size:14px;font-weight:600;padding:6px 4px;color:var(--ink-2);background:none;display:flex;gap:6px;align-items:center;justify-content:center}.seg button.on{background:white;color:var(--ink);box-shadow:0 1px 3px #0003}.ct{min-width:20px;height:18px;padding:0 6px;border-radius:9px;background:var(--purple);color:white;font-size:11px;display:inline-grid;place-items:center}.seg button:not(.on) .ct{background:#c9ccda}.pfilter{display:flex;gap:4px;align-items:center;margin:0 0 12px;min-height:44px}.pf{width:40px;min-height:44px;background:none;border:0;padding:6px;font-size:13px;border-radius:20px;flex:none}.pf svg{width:24px;height:24px;display:block}.pf.on{box-shadow:inset 0 0 0 1.5px var(--purple);color:var(--purple);background:#fff}.pf:first-child{width:auto;padding:6px 12px}.pf:first-child.on{background:var(--purple);color:white}.sort{margin-left:auto;font-size:12px;color:var(--muted);white-space:nowrap}.post-card{background:white;border-radius:18px;padding:12px;margin-bottom:12px;box-shadow:0 1px 2px #141e330d,0 4px 16px #141e330a;position:relative}.post-main{display:flex;gap:12px}.thumb.preview{width:76px;min-width:76px;height:135px;min-height:135px;border-radius:12px;position:relative;overflow:hidden;aspect-ratio:auto;margin:0;background:linear-gradient(160deg,#7a6cff,#3b2d9e 60%,#141e33)!important;padding:0;display:flex;align-items:flex-end}.thumb>span{padding:8px;color:#fff9;font-size:10px}.thumb.preview img.video-thumbnail{position:absolute;width:100%;height:100%;inset:0;object-fit:cover;max-height:none;border-radius:12px;z-index:1}.thumbnail-backdrop{display:none!important}.card-copy{flex:1;min-width:0;display:flex;flex-direction:column}.author-row{display:flex;align-items:center;gap:7px;min-height:22px;font-size:13px}.avatar.tiny{width:22px;height:22px;min-width:22px;font-size:10px}.author-row time{font-size:12px;color:var(--muted)}.author-row b{overflow:hidden;text-overflow:ellipsis;max-width:110px}.more{margin:-11px -10px -11px auto;width:44px;min-width:44px;min-height:44px;border-radius:50%;color:var(--muted);padding:0;background:none}.post-card h3{font-size:15px;font-weight:700;letter-spacing:-.2px;margin:6px 0 0;line-height:1.3;overflow-wrap:anywhere}.caption{font-size:14px;line-height:19px;color:var(--ink);margin:2px 0 8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.deadline{margin-top:7px}.pill{align-self:flex-start;border-radius:20px;padding:4px 9px;min-height:24px;display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:700;line-height:16px;font-variant-numeric:tabular-nums}.pill.green{background:#e2f6ea;color:#1f9254}.pill.yellow{background:#fff2d2;color:#a86a00}.pill.red{background:#fde6e4;color:#d33a32}.rings{display:flex;gap:12px;padding-top:10px;margin-top:auto;flex-wrap:wrap}.progress-ring{width:44px;height:44px;border-radius:50%;position:relative;display:grid;place-items:center;background:conic-gradient(var(--purple) var(--progress),#e9e9f2 0);text-decoration:none;flex:none}.progress-ring:before{content:'';position:absolute;inset:3.5px;background:white;border-radius:50%}.ring-logo{position:relative;width:30px;height:30px}.ring-logo svg{width:30px;height:30px}.ring-badge{position:absolute;right:-3px;bottom:-3px;min-width:18px;height:18px;padding:0 4px;border-radius:9px;background:white;font-size:10px;font-weight:800;display:grid;place-items:center;box-shadow:0 1px 3px #0003;color:var(--ink-2)}.complete{background:var(--green)}.complete .ring-badge{background:var(--green);color:white}.empty{padding:64px 20px;text-align:center;background:none;border:0}.empty p{color:var(--ink-2);max-width:300px;margin:12px auto 16px}.caught-up{padding-top:58px}.success-halo{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,#5b4cf5,#9b5cf5);box-shadow:0 0 0 20px #eeecff,0 10px 24px #5b4cf559;display:grid;place-items:center;margin:24px auto 44px;color:white;font-size:44px}.text-button{display:block;text-align:center;background:none;border:0;color:var(--purple);font-size:15px;font-weight:600;text-decoration:none;min-height:46px;padding:12px;margin:auto}.summary-tiles{display:flex;gap:8px;margin-bottom:16px}.summary-tiles>div{flex:1;background:white;border-radius:14px;padding:14px 8px;text-align:center;min-width:0}.summary-tiles b{display:block;font-size:22px;font-weight:800;line-height:1.2}.summary-tiles span{font-size:11px;color:var(--muted);display:block;margin-top:6px}.caught-up .summary-tiles{max-width:160px;margin:24px auto}.section-label{margin:18px 4px 8px;font-size:13px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}.my-card .thumb.preview{width:60px;min-width:60px;height:107px;min-height:107px}.my-platform{display:flex;gap:8px;align-items:center;margin-top:14px}.platform-name{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:600}.platform-name svg{width:28px;height:28px;flex:none}.action-chips{margin-left:auto;display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end}.action-chips span{font-size:10px;color:var(--muted);padding:4px 6px;border-radius:20px;background:#f1f2f6}.action-chips .done{color:var(--purple);background:var(--purple-soft)}.hint{font-size:13px;color:var(--muted);line-height:18px;margin:12px 4px}.sub{color:var(--ink-2);font-size:13px;line-height:1.4}.list-card{background:white;border-radius:16px;overflow:hidden}.leader-row,.team-row{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:.5px solid var(--line);min-height:64px}.leader-row:last-child,.team-row:last-child{border:0}.grow{flex:1;min-width:0}.grow strong{font-size:15px;overflow-wrap:anywhere}.grow small,.points small{display:block;font-size:12px;color:var(--muted);overflow-wrap:anywhere}.rank-number{border-radius:50%;min-width:28px;height:28px;display:grid;place-items:center;background:#fff4d6;color:#a86a00;font-size:13px;font-weight:700}.points{text-align:right;font-variant-numeric:tabular-nums}.points b{font-size:18px}.rank-card{display:flex;gap:12px;align-items:center;background:linear-gradient(135deg,#5b4cf5,#8b5cf6);border-radius:20px;padding:18px 16px;color:white;box-shadow:0 10px 24px #5b4cf54d;margin:12px 0 24px}.rank-card .avatar{width:52px;height:52px;min-width:52px;border:2px solid #fff9}.rank-card strong{display:block;font-size:22px;line-height:1.3}.rank-card small{font-size:13px;color:#fffc}.rank-card .score-zone{margin-left:auto;background:#fff3;color:#fff;padding:5px 10px;font-size:12px;border-radius:20px}.zone-dot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-left:3px}.zone-dot.green{background:#22c55e}.zone-dot.yellow{background:#f5b300}.zone-dot.red{background:#ef4444}.zone-legend{text-align:center;font-size:11px;color:var(--muted);margin:24px 0}.rules-info{float:right;background:var(--purple-soft);color:var(--purple);border-radius:50%;width:44px;height:44px;margin-bottom:8px}.rules-info+.seg{clear:both}.team-row .avatar{width:44px;height:44px;min-width:44px;font-size:18px}.owner-tag{font-size:11px;color:var(--purple);background:var(--purple-soft);padding:4px 8px;border-radius:20px}.small-button{font-size:12px;padding:6px 12px}.list-link{display:flex;align-items:center;gap:12px;padding:14px;width:100%;text-decoration:none;color:var(--ink);background:white;border:0;border-bottom:.5px solid var(--line);border-radius:0;text-align:left;min-height:60px;font-size:16px}.list-link>span:last-child:not(.grow){margin-left:auto}.tile{background:var(--purple);color:white;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;flex:none}.tile.navy{background:#141e33}dialog{background:white;color:var(--ink);border:0;border-radius:22px;box-shadow:0 -10px 40px #0003;max-width:calc(100vw - 24px);width:500px;padding:24px;margin:auto;max-height:90dvh;overflow:auto}dialog::backdrop{background:#0a0e1e61;backdrop-filter:none}dialog h2{padding-right:28px}dialog .close{position:absolute;right:12px;top:12px;min-width:44px;height:44px;border-radius:50%;background:#eff0f5;color:var(--ink-2);font-size:22px;padding:0;z-index:2}.bottom-sheet{position:fixed;inset:auto 0 0;margin:0 auto;border-radius:22px 22px 0 0;padding:8px 20px max(24px,env(safe-area-inset-bottom));width:min(100%,540px);max-width:100%;max-height:92dvh}.grabber{width:38px;height:5px;background:#d5d7e0;border-radius:3px;margin:0 auto 20px}.return-title{display:flex;gap:12px;align-items:center;padding-right:22px}.return-title h2{font-size:20px;padding:0}.return-title .sub{margin-top:3px;font-size:13px}.platform-logo svg{width:44px;height:44px;display:block}.sheet-prompt{font-size:15px;color:var(--ink-2);margin:16px 0 10px}.switch-group{background:var(--bg);border-radius:14px;overflow:hidden}.switch-group label{display:flex;align-items:center;gap:12px;min-height:54px;padding:10px 14px;margin:0;border-bottom:.5px solid #dfe1ea;font-size:17px;font-weight:500;color:var(--ink)}.switch-group label:last-child{border:0}.action-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;color:white;flex:none}.action-liked{background:#ff2d55}.action-commented{background:#007aff}.action-shared{background:#34c759}.switch-group input{appearance:none;-webkit-appearance:none;display:block;position:relative;width:51px!important;height:31px!important;min-height:31px!important;margin:0 0 0 auto;padding:0;border:0;border-radius:20px;background:#e1e2ea;flex:none;cursor:pointer}.switch-group input:before{content:'';position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:white;box-shadow:0 2px 5px #0003;transition:transform .15s}.switch-group input:checked{background:#34c759}.switch-group input:checked:before{transform:translateX(20px)}.sheet-foot{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:14px 0 0;flex-wrap:wrap}.rule-row{display:flex;gap:12px;padding:18px 0;border-bottom:.5px solid var(--line)}.rule-row .pill{min-width:38px;min-height:42px;font-size:17px;justify-content:center}.rule-row p{font-size:14px;color:var(--ink-2);margin-top:4px}.zone-row{background:var(--bg);border-radius:12px;padding:10px 12px;margin:8px 0;font-size:14px;display:flex;justify-content:space-between}.zone-row span{color:var(--muted)}.menu-sheet{position:fixed;inset:auto;width:230px;padding:6px;border-radius:14px;margin:0;box-shadow:0 12px 40px #0004}.menu-sheet button{display:block;width:100%;background:white;border-radius:8px;text-align:left;font-weight:400;font-size:16px;min-height:46px}.menu-sheet button:hover{background:var(--bg)}.danger,.delete-post,#logout{color:var(--red)!important}.full-screen{position:fixed;inset:0;max-width:100%;width:min(100%,720px);max-height:100dvh;height:100dvh;border-radius:0;margin:0 auto;background:var(--bg);padding:calc(70px + env(safe-area-inset-top)) 16px max(40px,env(safe-area-inset-bottom));box-shadow:none}.full-screen>h2{position:absolute;top:calc(20px + env(safe-area-inset-top));left:0;right:0;text-align:center;padding:0;font-size:17px;line-height:24px;pointer-events:none}.full-screen>.close{top:calc(10px + env(safe-area-inset-top));left:8px;right:auto;border-radius:0;background:none;color:var(--purple);font-size:17px;padding:8px;min-width:64px}.full-screen input:not([type=checkbox]),.full-screen textarea{background:white;border:1px solid var(--line);border-radius:14px;padding:14px;width:100%;font-size:16px;color:var(--ink)}.full-screen label{display:block;font-size:13px;font-weight:600;color:var(--muted);margin:18px 4px 8px}.full-screen textarea{min-height:120px}.dialogactions{display:flex;gap:8px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}.profile-editor{display:flex;align-items:center;gap:14px;justify-content:center;margin:14px auto}.profile-editor .profile-avatar{width:64px;height:64px;font-size:22px}.profile-editor button{font-size:12px;padding:6px 10px;box-shadow:none}.profile-editor>div:last-child{display:flex;flex-direction:column}#accountIdentity{text-align:center;margin:12px 0 24px}#accountIdentity h2{padding:0;font-size:22px}#accountDialog section,#accountDialog>details,#accountDialog>h3,#blockedMembers{background:white;border-radius:14px;padding:14px;margin:12px 0}#accountDialog section h3{font-size:16px;margin-bottom:8px}#accountDialog .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}#accountDialog .actions button{font-size:14px;min-height:44px;box-shadow:none}#accountDialog .account-signout button{width:100%;background:white;margin:18px 0 0}.account-links{margin-top:20px}.account-links button{font-weight:500}.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(90px + env(safe-area-inset-bottom));max-width:calc(100vw - 32px);width:max-content;background:#141e33eb;color:white;border:0;border-radius:14px;padding:12px 18px;font-size:14px;z-index:1000;box-shadow:0 4px 16px #0002}.login{padding:24px;background:var(--bg);margin:10vh auto;max-width:460px}.login .brand{color:var(--purple)}.login input{background:white;border:1px solid var(--line);padding:14px;border-radius:14px;width:100%;color:var(--ink)}.login label{display:block;margin:20px 0 8px}.skeleton{display:flex;gap:12px;padding:12px;background:white;border-radius:18px;margin:12px auto;max-width:450px}.skeleton i{width:76px;height:135px;background:#e6e7ef;border-radius:12px}.skeleton div{flex:1}.skeleton b{display:block;height:15px;margin:12px 0;background:#e6e7ef;border-radius:6px}.skeleton b:last-child{width:60%}.tablewrap{overflow:auto;background:white;border-radius:14px}table{width:100%;font-size:13px;color:var(--ink)}td,th{padding:12px}.agent-activity,.railbox{background:white;color:var(--ink);border:1px solid var(--line);padding:14px;border-radius:14px;margin:12px 0}.completion-row{padding:12px 0}.completion-row small{display:block}.admin-checks{display:flex;gap:8px;flex-wrap:wrap}.admin-section{margin:24px 0 12px}.toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between}.notice{background:var(--purple-soft);color:var(--ink);padding:12px;border-radius:14px}.error{color:var(--red)}@media(max-width:359px){.sort{font-size:10px}.pfilter{gap:1px}.pf{width:36px}.rings{gap:8px}.post-main{gap:10px}.thumb.preview{width:60px;min-width:60px}.author-row{gap:4px}.author-row time{font-size:11px}.action-chips{gap:2px}.action-chips span{padding:3px;font-size:9px}.platform-name{font-size:11px;gap:4px}.rank-card{padding:14px 10px;gap:8px}.rank-card strong{font-size:20px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media(min-width:760px){.shell{padding-top:16px}.top{top:26px}.post-card{padding:16px}.thumb.preview{height:150px}.caption{-webkit-line-clamp:2}.full-screen{border-left:1px solid var(--line);border-right:1px solid var(--line)}}
.nav{width:100%;height:auto}.identity #meAvatar{background:linear-gradient(135deg,#2e8bff,#5b4cf5)!important;padding:0;min-width:34px;width:34px;height:34px;margin:5px;display:grid;place-items:center}.top{margin:0!important}.nav button{text-transform:none;letter-spacing:0}.nav span{margin:0;width:auto}.brand-mark{font-size:0}.brand-mark:after{content:'';width:14px;height:10px;border:2px solid white;border-bottom:0;border-radius:10px 10px 0 0;margin-top:5px}.full-screen~.toast{z-index:1000}.account-signout{margin-top:20px}.list-link small{font-weight:400}.login h1{font-size:32px}.login .brand{font-size:28px;font-weight:800}.login .pagehint{color:var(--muted);font-size:13px;margin-top:20px}#postDialog .close{width:auto}#accountDialog .close{width:auto}.full-screen input[type=file]{font-size:13px}.bottom-sheet .close{min-height:44px}.bottom-sheet>h2{margin:0 0 4px}.rank-card .score-zone{display:inline-block}.tablewrap td a{overflow-wrap:anywhere}
body.full-modal .sidebar,body.full-modal #add{display:none!important}.heading:has(h1:not(:empty)){position:relative}.rules-info{position:absolute;right:64px;top:max(14px,env(safe-area-inset-top));float:none;margin:0;font-size:20px}.rules-info+.seg{clear:none}.brand-mark{font-size:0!important}.identity #meAvatar{background:linear-gradient(135deg,#2e8bff,#5b4cf5)!important;padding:0;min-width:34px;width:34px;height:34px;margin:5px;display:grid;place-items:center}.bottom-sheet .close{width:44px;min-width:44px}.rank-card .score-zone{white-space:nowrap}.nav button:focus-visible{outline-offset:-3px}.sheet-foot .deadline{margin:0}@media(min-width:760px){.rules-info{top:30px}}@media(max-width:359px){.heading h1{font-size:28px}.rules-info{right:58px}}
.share-links{margin:18px 0 22px}.share-link{display:flex;align-items:center;gap:12px;padding:0 14px;min-height:60px;border-bottom:.5px solid var(--line)}.share-link:last-child{border:0}.share-link label{margin:0!important;flex:none;width:28px}.share-link label svg{width:28px;height:28px;display:block}.full-screen .share-link input{border:0;background:none;padding:16px 0;border-radius:0;font-size:14px}.cover-group{display:flex;gap:12px;padding:14px;align-items:center;margin:10px 0}.cover-group #coverPreview,.cover-placeholder{width:66px;height:117px;border-radius:12px;object-fit:cover!important;flex:none}.cover-placeholder{display:grid;place-items:center;color:white;font-size:32px;background:linear-gradient(160deg,#7a6cff,#3b2d9e)}.cover-group .cover-button{display:inline-flex;color:var(--purple);background:var(--purple-soft);padding:10px;border-radius:14px;min-height:44px;align-items:center;margin:8px 0 0!important;cursor:pointer}.cover-group #postCover{width:1px!important;height:1px;min-height:0!important;position:absolute;opacity:0;padding:0!important;overflow:hidden}.cover-group #postCover:focus-visible+*{outline:3px solid var(--purple)}.cover-group .sub{max-width:200px;margin-top:3px}.share-submit{position:absolute;top:calc(10px + env(safe-area-inset-top));right:8px;background:transparent!important;color:var(--purple)!important;box-shadow:none!important;font-size:17px;min-height:44px!important;padding:8px!important}.profile-hero{display:flex;width:64px;height:64px;margin:8px auto 0;font-size:22px}.account-group{background:white;border-radius:14px;margin:10px 0;overflow:hidden}.account-group summary{display:flex;gap:12px;align-items:center;padding:14px;min-height:60px;list-style:none;cursor:pointer;font-weight:600}.account-group summary::-webkit-details-marker{display:none}.account-group summary small{display:block;font-size:12px;font-weight:400;color:var(--muted)}.account-group summary b{margin-left:auto;color:#c2c5d0}.account-group[open] summary b{transform:rotate(90deg)}#accountDialog>.account-group{padding:0}#accountDialog .account-group section{margin:0;border-radius:0;border-top:.5px solid var(--line)}#accountDialog>details:not(.account-group){padding:16px}#accountDialog>details:not(.account-group)>summary{font-weight:600;color:var(--red)}#accountDialog>h3{margin-bottom:0}#accountDialog #blockedMembers{margin-top:0;padding-top:0}#accountDialog #openAdmin{background:white!important;color:var(--ink)!important;width:100%;box-shadow:none;border-radius:14px;text-align:left;font-size:16px;padding:16px;margin:12px 0}
.return-fallback{font-size:12px;margin:8px 0 0 auto;padding:8px;min-height:44px}.post-card{animation:card-in .18s ease-out}@keyframes card-in{from{opacity:.8;transform:translateY(3px)}to{opacity:1;transform:none}}

/* Immediate taps without double-tap zoom; pinch zoom remains accessible. */
html,body{touch-action:manipulation;background:#f4f5fa}
button,a,input,label,select,textarea,summary{touch-action:manipulation}
input,select,textarea{font-size:max(16px,1em)}
button:active,.list-link:active{filter:brightness(.94)}
.startup-brand{min-height:65dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;color:#182038}
.startup-brand img{width:76px;height:76px;border-radius:20px}.startup-brand h1{margin:0;font-size:28px}.startup-brand p{color:#777d91;margin:0}
.startup-progress{width:96px;height:4px;border-radius:8px;background:linear-gradient(90deg,#7052e8 0 40%,#e6e2f5 40%);background-size:220% 100%;animation:startup-load 1.3s ease-in-out infinite alternate}
@keyframes startup-load{to{background-position:100% 0}}@media(prefers-reduced-motion:reduce){.startup-progress{animation:none}}

/* Stable viewport: only the content pane scrolls, never navigation or safe-area headers. */
body:has(#workspace:not(.hide)){height:100dvh;overflow:hidden;overscroll-behavior:none;padding:0}
body:has(#workspace:not(.hide)) .legal-links{display:none}
#workspace.shell{height:100dvh;min-height:0;padding:env(safe-area-inset-top,0px) 16px calc(76px + env(safe-area-inset-bottom,0px));overflow:hidden}
#workspace main{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}
#workspace .heading{flex:none;padding-top:14px;min-height:66px}
#workspace .top{top:calc(10px + env(safe-area-inset-top,0px));background:var(--bg)}
#content{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:100px}
body.empty-feed #content{overflow-y:hidden;padding-bottom:0}
.empty-feed .empty{padding:20px 12px}.empty-feed .success-halo{width:68px;height:68px;margin:12px auto}
.sidebar{transform:none!important;position:fixed!important;bottom:0!important;padding-bottom:0!important}
#add.posting-closed{width:auto!important;max-width:calc(100% - 32px);height:auto!important;min-height:48px;border-radius:16px!important;padding:10px 14px!important;font-size:12px!important;line-height:1.4;opacity:1;color:var(--ink)!important;background:var(--purple-soft)!important;cursor:default}
.presence{font-weight:600;color:var(--muted)}.presence.online{color:var(--green)}
@media(max-height:620px){.empty-feed .empty{padding-top:8px}.empty-feed .empty p{font-size:13px}.empty-feed .summary-tiles{margin:10px 0}.empty-feed .success-halo{width:48px;height:48px;margin:6px auto}}

/* October 15: fixed page controls, rankings and team chat. */
html,body,#workspace,#content,#content *{touch-action:pan-x pan-y}
input,textarea,select{font-size:16px!important}
.nav{grid-template-columns:repeat(5,minmax(0,1fr))}.pfilter{display:none!important}
#postingHours{flex:none;font-size:12px;color:var(--ink-2);padding:5px 0 10px;margin:0}
.post-card.frame-mythic{border:3px solid #c14bdb;box-shadow:0 0 0 2px #f4d8ff,0 5px 20px #a43ade28}
.post-card.frame-legendary{border:3px solid #cf961f;box-shadow:0 0 0 2px #fff0bd}
.post-card.frame-epic{border:3px solid #7460d8;box-shadow:0 0 0 2px #e5dfff}
.rank-frame-label{display:block;font-size:10px;font-weight:800;color:var(--ink-2);margin:5px 0}
.thumb{position:relative}.watch-inline{position:absolute;inset:0;z-index:2;background:transparent;color:white;text-shadow:0 1px 6px #000;font-size:28px}
.video-sheet{width:min(94vw,600px);max-height:90dvh;padding:20px;border:0;border-radius:22px;background:var(--card)}.video-close{float:right}.video-platforms{display:flex;gap:8px;margin:12px 0;flex-wrap:wrap}.video-player iframe{width:100%;height:min(58dvh,560px);border:0}.video-original{display:block;padding:14px}
#chatForm{position:sticky;bottom:0;background:var(--bg);display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px 0;z-index:2}#chatText{width:100%;resize:vertical;max-height:120px}#chatError{grid-column:1/-1;color:var(--red)}
.chat-message{background:var(--card);border-radius:16px;padding:12px 16px;margin:12px 0;overflow-wrap:anywhere}.chat-message.mine{background:var(--purple-soft)}.chat-message time{display:block;color:var(--ink-2);font-size:11px}.chat-message p{white-space:pre-wrap;margin:8px 0}.chat-message button{font-size:12px;min-height:36px}
body[data-view=chat] #content{padding-bottom:0}

body[data-view=chat] #content{display:flex;flex-direction:column;overflow:hidden}#chatMessages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}#chatForm{position:static;flex:none}#chatText{border:1px solid var(--line);border-radius:14px;background:var(--card);padding:12px;color:var(--ink)}

/* Chat owns the viewport; header controls share one aligned row. */
body[data-view=chat] .sidebar{display:none!important}
body[data-view=chat] #workspace.shell{padding-bottom:env(safe-area-inset-bottom,0px)}
body[data-view=chat] #postingHours{display:none}
body[data-view=chat] #content,#chatMessages,#chatForm{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#chatForm{grid-template-columns:minmax(0,1fr) auto;padding:8px 4px;gap:8px}
#chatText{min-width:0;resize:none;margin:0;outline-offset:0}
#chatMessages{padding:0 4px;overflow-x:hidden}
#chatBack{margin:0 auto 0 0;flex:none;padding:6px 0;min-height:40px}
#chatError:empty{display:none}#chatError{margin:0;overflow-wrap:anywhere}
.chat-message{min-width:0;max-width:100%}
.identity{display:flex;align-items:center;gap:4px}
.identity .rules-info{position:static;float:none;margin:5px 0;width:34px;height:34px;min-height:34px;padding:0;flex:none}

body[data-view=rankings] .top{width:82px}
#chatError{grid-column:1 / -1}
/* Ornamental energy frames: only the perimeter is decorated. */
@property --frame-turn{syntax:'<angle>';inherits:false;initial-value:0deg}
.post-card:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic){position:relative;isolation:isolate;border:2px solid var(--frame-metal);overflow:visible;margin:18px 7px 24px;box-shadow:0 0 0 2px #18142b,0 0 13px var(--frame-glow);border-radius:20px}
.frame-admin{--frame-metal:#ffdf63;--frame-glow:#38dfcc60;--frame-colors:#ff342b,#ffdb39,#6dff56,#17e9ff,#6555ff,#ed37ff,#ff342b}
.frame-mythic{--frame-metal:#bd91ff;--frame-glow:#9a42ff70;--frame-colors:#6530ff,#fc83ff,#f0e7ff,#15efff,#5733ff,#e72aff,#6530ff}
.frame-legendary{--frame-metal:#ffc477;--frame-glow:#ff553e70;--frame-colors:#ff2929,#ff972b,#fff8bb,#f02a95,#884aff,#ffbf30,#ff2929}
.frame-epic{--frame-metal:#ffe971;--frame-glow:#efca3570;--frame-colors:#ac7808,#ffffac,#ffd727,#fff9e8,#aa790b,#ffe83c,#ac7808}
.post-card:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic)::before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:18px;padding:3px;background:conic-gradient(from var(--frame-turn),var(--frame-colors));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:frame-orbit 5s linear infinite}
.post-card:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic)::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:18px;background:conic-gradient(from var(--frame-turn),transparent 0deg 70deg,#fff 80deg,transparent 90deg 250deg,var(--frame-metal) 270deg,transparent 290deg);padding:2px;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:frame-orbit 3.8s linear infinite;filter:drop-shadow(0 0 4px var(--frame-metal))}
@keyframes frame-orbit{to{--frame-turn:360deg}}
@media(prefers-reduced-motion:reduce){.post-card::before,.post-card::after{animation:none!important}}


/* Clear platform handoff and swipe actions. */
.return-help{background:var(--bg);padding:16px;border-radius:16px;margin:12px 0}.return-help p{margin:6px 0 16px;color:var(--ink-2);font-size:15px}.platform-continue{display:block;text-align:center;text-decoration:none;margin-top:16px;padding:16px;border-radius:14px}.thumb.preview{cursor:default}.chat-swipe-hint{font-size:12px;color:var(--muted);margin:0 0 12px}.chat-swipe{position:relative;overflow:hidden;border-radius:16px;margin:12px 0;min-width:0}.chat-swipe .chat-message{position:relative;margin:0;background:#fff;transition:transform .18s ease;touch-action:pan-y}.chat-swipe .chat-message.mine{background:var(--purple-soft)}.chat-delete-action{position:absolute;inset:0 auto 0 0;width:88px;background:#c92d42!important;color:#fff!important;border:0;border-radius:0;font-size:14px;visibility:hidden}.chat-swipe.swipe-open .chat-delete-action,.chat-swipe.dragging .chat-delete-action{visibility:visible}.chat-swipe.swipe-open .chat-message{transform:translateX(88px)}.chat-swipe.dragging .chat-message{transition:none}.chat-swipe:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
/* Ornamental energy frames: only the perimeter is decorated. */
@property --frame-turn{syntax:'<angle>';inherits:false;initial-value:0deg}
.leaderboard-frame:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic){position:relative;isolation:isolate;border:2px solid var(--frame-metal);overflow:visible;margin:18px 7px 24px;box-shadow:0 0 0 2px #18142b,0 0 13px var(--frame-glow);border-radius:20px}
.frame-admin{--frame-metal:#ffdf63;--frame-glow:#38dfcc60;--frame-colors:#ff342b,#ffdb39,#6dff56,#17e9ff,#6555ff,#ed37ff,#ff342b}
.frame-mythic{--frame-metal:#bd91ff;--frame-glow:#9a42ff70;--frame-colors:#6530ff,#fc83ff,#f0e7ff,#15efff,#5733ff,#e72aff,#6530ff}
.frame-legendary{--frame-metal:#ffc477;--frame-glow:#ff553e70;--frame-colors:#ff2929,#ff972b,#fff8bb,#f02a95,#884aff,#ffbf30,#ff2929}
.frame-epic{--frame-metal:#ffe971;--frame-glow:#efca3570;--frame-colors:#ac7808,#ffffac,#ffd727,#fff9e8,#aa790b,#ffe83c,#ac7808}
.leaderboard-frame:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic)::before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:18px;padding:3px;background:conic-gradient(from var(--frame-turn),var(--frame-colors));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:frame-orbit 5s linear infinite}
.leaderboard-frame:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic)::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:18px;background:conic-gradient(from var(--frame-turn),transparent 0deg 70deg,#fff 80deg,transparent 90deg 250deg,var(--frame-metal) 270deg,transparent 290deg);padding:2px;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:frame-orbit 3.8s linear infinite;filter:drop-shadow(0 0 4px var(--frame-metal))}
@keyframes frame-orbit{to{--frame-turn:360deg}}
@media(prefers-reduced-motion:reduce){.leaderboard-frame::before,.leaderboard-frame::after{animation:none!important}}


.leaderboard-frame:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic){margin:12px 4px;border-radius:20px}.list-card:has(.leaderboard-frame){overflow:visible;background:transparent}.leader-row.leaderboard-frame{background:white;padding:16px 12px}.rank-card.leaderboard-frame strong{font-size:22px}.rank-card.leaderboard-frame{margin-bottom:20px}

/* Make the message gesture visible without exposing destructive actions. */
.chat-swipe-hint{display:flex;align-items:center;gap:12px;background:#ebe7ff;color:#3d2d88;border:1px solid #d3c9fa;border-radius:14px;padding:12px 14px;margin:12px 0 16px;font-size:13px}.chat-swipe-hint strong{display:block;font-size:14px;margin-bottom:3px}.chat-swipe-hint span:not(.swipe-direction){display:block;line-height:1.45}.swipe-direction{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:10px;background:#6547f5;color:white;font-size:26px;font-weight:700}.chat-swipe[data-chat-swipe]:not(.swipe-open) .chat-message::after{content:'Swipe right →';display:table;margin:12px 0 0 auto;border:1px solid #c6bbed;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:600;line-height:1.4;color:#51408a;background:#ffffffb8;pointer-events:none}.chat-swipe.dragging .chat-message::after{opacity:0}.chat-swipe.dragging .chat-message{user-select:none}

#platformGuide .platform-hide-tips{display:block;width:100%;margin:28px 0 8px;padding:14px 16px;min-height:48px;border:1px solid #e2b94e;border-radius:14px;background:#fff0bf;color:#634600;font-weight:700;font-size:15px;box-shadow:none}#platformGuide .platform-hide-tips[aria-pressed="true"]{background:#dff5e8;border-color:#78b895;color:#195437}

/* Chat: quiet dark surfaces, conversational bubbles, gesture-led controls. */
body[data-view=chat]{background:#0b0e18;color:#f0f1f8;color-scheme:dark;--bg:#0b0e18;--ink:#f0f1f8;--ink-2:#b9bfce;--muted:#858da3;--line:#272c3d;--purple:#8063ff;--purple-soft:#6548dc}
body[data-view=chat] .shell,body[data-view=chat] main,body[data-view=chat] .top,body[data-view=chat] .heading{background:transparent}
body[data-view=chat] .heading{margin-bottom:14px!important}body[data-view=chat] #heading{display:flex;align-items:center;gap:14px;width:100%;font-size:19px;font-weight:500;letter-spacing:.02em;padding-right:48px}body[data-view=chat] #heading small{display:block;margin-top:5px;font-size:10px;font-weight:400;letter-spacing:.04em;color:#929ab0}#chatBack{border:0;background:transparent;color:#d4d7e3;font-size:32px;line-height:1;min-width:32px;width:32px;padding:0;box-shadow:none}
body[data-view=chat] #content{padding-top:8px}body[data-view=chat] .top .identity{background:transparent}body[data-view=chat] #chatMessages{padding:8px 2px 22px;scrollbar-width:thin;scrollbar-color:#34394c transparent}
.chat-line{display:flex;align-items:flex-end;gap:8px;margin:0 0 25px;width:100%;min-width:0}.chat-line.own{flex-direction:row-reverse}.chat-message-column{max-width:82%;min-width:0}.chat-line.own .chat-message-column{max-width:84%}.chat-avatar.avatar{width:25px;height:25px;min-width:25px;flex:none;font-size:9px;margin-bottom:2px;background:#282e43}.chat-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.chat-meta{display:flex;align-items:baseline;gap:9px;margin:0 7px 7px;line-height:1.3}.chat-line.own .chat-meta{justify-content:flex-end}.chat-meta strong{font-size:10px;letter-spacing:.06em;font-weight:500;color:#a2aac0}.chat-meta time{font-size:9px;letter-spacing:.015em;color:#717b93;white-space:nowrap}
.chat-line .chat-swipe{margin:0;border-radius:18px;overflow:hidden;isolation:isolate;position:relative;min-width:80px}.chat-line .chat-message{padding:12px 15px;margin:0;background:#222735;color:#f4f4fa;border-radius:18px 18px 18px 5px;box-shadow:inset 0 1px 0 #ffffff07;transition:transform .42s cubic-bezier(.2,.9,.25,1.2);position:relative;z-index:1;touch-action:pan-y;-webkit-touch-callout:none;user-select:none}.chat-line .chat-message.mine{background:linear-gradient(115deg,#7960e8,#5b3be0);border-radius:18px 18px 5px 18px;box-shadow:inset 0 1px 0 #ffffff18,0 4px 16px #482cab20}.chat-line .chat-message p{margin:0;font-size:14px;font-weight:400;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.chat-line .chat-message small{display:block;margin-top:6px;color:#c7c3e5;font-size:10px}.chat-line .chat-message button{background:#ffffff18;color:white;min-height:30px;padding:5px 8px;margin-top:7px}.chat-line .chat-swipe .chat-message::after{content:none!important}.chat-line .chat-swipe.own[data-chat-swipe] .chat-message::before{content:'';position:absolute;left:5px;top:50%;transform:translateY(-50%);width:3px;height:18px;background:#ffffff26;border-radius:3px;pointer-events:none}.chat-line .chat-swipe.dragging .chat-message{transition:none}.chat-delete-strip{position:absolute;inset:0 auto 0 0;width:var(--pull,0px);background:#9d233b;border-radius:18px;display:flex;align-items:center;justify-content:center;color:white;overflow:hidden;transition:background .15s}.chat-delete-strip svg{flex:none;transform:scale(var(--trash-scale,.7));transition:transform .1s}.delete-ready .chat-delete-strip{background:#b32b46}.chat-swipe.chat-nudge .chat-delete-strip{width:40px}.chat-swipe.chat-nudge .chat-message{animation:chat-nudge 1.15s .45s cubic-bezier(.2,.8,.3,1) both}@keyframes chat-nudge{0%,100%{transform:translateX(0)}45%,60%{transform:translateX(40px)}82%{transform:translateX(-3px)}}
body[data-view=chat] #chatForm{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;align-items:end;background:#ffffff0c;border:1px solid #ffffff12;border-radius:28px;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);padding:6px;margin:0 0 7px;box-shadow:inset 0 1px 0 #ffffff05}body[data-view=chat] #chatText{background:transparent;border:0;border-radius:22px;color:#f0f1f8;min-height:40px;max-height:110px;padding:10px 12px;font-size:15px;line-height:20px;box-shadow:none;resize:none}body[data-view=chat] #chatText::placeholder{color:#81899f}body[data-view=chat] #chatForm>button{width:40px;height:40px;min-height:40px;border-radius:50%;padding:0;font-size:25px;font-weight:400;background:#8063ff;color:#fff;box-shadow:0 2px 10px #8063ff30}body[data-view=chat] #chatError:empty{display:none}body[data-view=chat] #chatError{margin:0;padding:0 10px;font-size:12px;color:#ffa5b5}
#chatReplyPreview{display:flex;align-items:center;gap:12px;border-left:2px solid #8063ff;padding:9px 12px;margin:0 8px 12px;color:#b9bfd1;background:#ffffff06;border-radius:0 10px 10px 0}#chatReplyPreview[hidden]{display:none}#chatReplyPreview div{min-width:0;flex:1}#chatReplyPreview strong{display:block;font-size:11px;font-weight:500;color:#b4a6ff}#chatReplyPreview span{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:4px}#chatReplyPreview button{background:transparent;color:#b9bfd1;padding:0;width:30px;min-height:30px;font-size:22px}
.chat-empty{text-align:center;color:#b9bfd1;margin:auto 20px;font-size:15px;line-height:1.8}.chat-empty span{color:#788198;font-size:13px}.chat-context-menu{width:230px;padding:7px;border:1px solid #ffffff1c;background:#252a3de6;color:#f0f1f8;border-radius:20px;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 18px 60px #0006}.chat-context-menu::backdrop{background:#080b1440;backdrop-filter:blur(4px)}.chat-context-menu button{display:block;width:100%;text-align:left;border-radius:12px;background:transparent;color:#f0f1f8;font-size:15px;font-weight:400;padding:13px 16px}.chat-context-menu button:hover{background:#ffffff0b}.chat-context-menu .danger{color:#ff8d9c!important}
#chatUndo{position:fixed;z-index:100000;left:50%;transform:translateX(-50%);bottom:calc(92px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:18px;background:#252b3cf2;color:#f0f1f8;border:1px solid #ffffff14;border-radius:999px;padding:8px 10px 8px 18px;box-shadow:0 8px 30px #0004;backdrop-filter:blur(16px);font-size:13px;white-space:nowrap}#chatUndo button{background:transparent;color:#b5a5ff;font-size:13px;min-height:36px;padding:6px 10px;font-weight:600}
@media(prefers-reduced-motion:reduce){.chat-swipe.chat-nudge .chat-message{animation:none}.chat-line .chat-message{transition:none}}

/* Grouped bubbles and a sharp message above the blurred chat. */
body[data-view=chat] #heading{position:relative;justify-content:center;padding:0 42px;min-height:44px;text-align:center}body[data-view=chat] #chatBack{position:absolute;left:0;top:0}
.chat-line.own .chat-avatar{display:none}.chat-line.own .chat-message-column{max-width:86%;margin-left:auto}.chat-line.group-continues{margin-bottom:6px}.group-avatar-hidden{visibility:hidden}.chat-avatar.avatar{margin-bottom:23px}.chat-meta strong{text-transform:uppercase;letter-spacing:.09em}
.chat-time{display:block;font-size:10px;color:#858da3;margin:6px 10px 0;line-height:1.4}.own .chat-time{text-align:right}.chat-day{display:flex;align-items:center;justify-content:center;gap:14px;margin:20px 0 24px;color:#858da3;text-transform:uppercase;font-size:10px;letter-spacing:.16em}.chat-day::before,.chat-day::after{content:'';height:1px;width:38px;background:linear-gradient(90deg,transparent,#93826166,transparent)}
dialog.chat-context-menu{position:fixed;inset:auto;margin:0;padding:0;border:0;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:auto;border-radius:0}.chat-context-menu::backdrop{background:#080b1466;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}.chat-menu-preview{background:#222735;color:#f4f4fa;border-radius:20px 20px 20px 5px;padding:12px 16px;font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;max-height:30dvh;overflow:auto}.chat-menu-preview.mine{background:linear-gradient(115deg,#7960e8,#5b3be0);border-radius:20px 20px 5px 20px}.chat-menu-actions{width:230px;max-width:100%;margin:10px 0 0 auto;background:#252a3df2;border:1px solid #ffffff1c;border-radius:18px;overflow:hidden;box-shadow:0 18px 60px #0004}.chat-context-menu .chat-menu-actions button{display:flex;align-items:center;justify-content:space-between;gap:18px;border:0;border-radius:0;margin:0;padding:14px 16px;min-height:48px}.chat-menu-actions button+button{border-top:1px solid #ffffff12!important}

/* Keep iPhone long-press selection from intercepting message actions. */
.chat-swipe,.chat-swipe .chat-message,.chat-swipe .chat-message p,.chat-context-menu,.chat-context-menu *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.chat-context-menu button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.chat-context-menu button:focus:not(:focus-visible){outline:none;box-shadow:none}
.chat-line .chat-swipe{min-width:100px}.chat-line .chat-message{padding:14px 18px;min-height:52px;box-sizing:border-box}
.chat-line .chat-message p{font-size:17px;line-height:1.5}.chat-menu-preview{font-size:17px;padding:14px 18px;min-height:52px;box-sizing:border-box}
.chat-context-menu .chat-menu-actions button{font-size:17px;min-height:54px}.chat-meta strong{font-size:11px}.chat-time{font-size:11px}
body[data-view=chat] #chatText{font-size:17px;line-height:24px;min-height:46px}body[data-view=chat] #chatForm{grid-template-columns:minmax(0,1fr) 46px}body[data-view=chat] #chatForm>button{width:46px;height:46px;min-height:46px}
#chatReplyPreview strong{font-size:13px}#chatReplyPreview span{font-size:14px}

/* Long swipe targets share the member's assigned post-frame palette. */
.chat-line .chat-message-column{width:84%;max-width:84%}.chat-line.own .chat-message-column{width:88%;max-width:88%}
.chat-line .chat-message{min-height:60px;padding:16px 20px}
.chat-line .chat-swipe .chat-message:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic)::after,.chat-menu-preview:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic)::after{content:''!important;display:block;position:absolute;inset:1px;margin:0;padding:2px;width:auto;height:auto;border:0;border-radius:inherit;background:conic-gradient(from var(--frame-turn),var(--frame-colors));-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;pointer-events:none;animation:frame-orbit 5s linear infinite;filter:drop-shadow(0 0 3px var(--frame-metal))}
.chat-line .chat-message:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic){box-shadow:inset 0 0 14px var(--frame-glow)}
.chat-menu-preview{position:relative}
.chat-avatar:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic),body[data-view=chat] #meAvatar:is(.frame-admin,.frame-mythic,.frame-legendary,.frame-epic){border:2px solid var(--frame-metal);box-shadow:0 0 10px var(--frame-glow);box-sizing:border-box}
@media(prefers-reduced-motion:reduce){.chat-line .chat-swipe .chat-message::after,.chat-menu-preview::after{animation:none!important}}

/* Compact enough to read, with a consistent swipe target for short messages. */
.chat-line .chat-message-column{width:72%;max-width:72%}.chat-line.own .chat-message-column{width:74%;max-width:74%}.group-menu-label{font-size:12px;padding:8px 12px;color:var(--muted)}

/* Compact chat bubbles retain their swipe width. */
.chat-line .chat-message,.chat-menu-preview{min-height:36px;padding:7px 14px;font-size:15px;line-height:1.35}.chat-line .chat-message p{font-size:15px;line-height:1.35}.chat-line .chat-swipe.own[data-chat-swipe] .chat-message::before{height:12px}

/* Supplied OG artwork, without the old generated mark. */
img.brand-mark{object-fit:contain;background:none;flex-shrink:0}

/* Approved gold, purple and blue crown collection. */
.frame-mythic{--frame-metal:#e7b653;--frame-glow:#e5ad4b65;--frame-colors:#86501f,#f0c46b,#fff6cf,#c88d35,#fff1aa,#b07b2f,#86501f;--rim:#c89b46;--dark:#352443;--outer:#e6c782;--tint:#faf5ff;--corner:#b48838;--gem:#9d60e8;--gem-light:#eee0ff;--gem-dark:#532b88;--avatar:#663b9e;--label:#805825}
.frame-legendary{--frame-metal:#c996f4;--frame-glow:#a85cec55;--frame-colors:#6830a3,#ce9dff,#f8e5ff,#9751cf,#e7c0ff,#8a44b5,#6830a3;--rim:#aa71d6;--dark:#30203f;--outer:#d6b4ef;--tint:#f8f0ff;--corner:#965cc1;--gem:#a45fea;--gem-light:#f0dfff;--gem-dark:#57258b;--avatar:#60358f;--label:#8544af}
.frame-epic{--frame-metal:#83c5f7;--frame-glow:#379de855;--frame-colors:#245e99,#9bd8ff,#e6faff,#439cdb,#b5e7ff,#357eb6,#245e99;--rim:#5e9dcb;--dark:#1b354e;--outer:#a3d6f6;--tint:#edf8ff;--corner:#518ebc;--gem:#399deb;--gem-light:#d4f1ff;--gem-dark:#235c93;--avatar:#285f93;--label:#337bab}


/* Shared crown geometry; Founder rainbow rules above stay unchanged. */
.crowned-frame{position:relative;isolation:isolate;border:3px solid var(--rim)!important;border-radius:20px!important;box-shadow:0 0 0 1px var(--dark),0 0 0 2px var(--outer),0 0 14px var(--frame-glow)!important}
.post-card.crowned-frame,.leader-row.crowned-frame{background:linear-gradient(125deg,#fff,#fff 45%,var(--tint))!important;color:var(--ink)}
.crowned-frame:before{inset:3px!important;border-radius:14px!important;padding:2px!important;animation-duration:6s!important}
.crowned-frame:after{inset:0!important;border-radius:17px!important;padding:3px!important;animation-duration:4.8s!important}
.crown-frame-corners{position:absolute;inset:6px;pointer-events:none;z-index:1}
.crown-frame-corners i{position:absolute;width:18px;height:18px;border-style:double;border-color:var(--corner);border-width:4px 0 0 4px;border-radius:7px 0 0}
.crown-frame-corners i:after{content:'';position:absolute;top:3px;left:3px;width:4px;height:4px;transform:rotate(45deg);background:linear-gradient(140deg,var(--gem-light),var(--gem),var(--gem-dark));border:1px solid var(--gem-light);box-shadow:0 0 4px var(--frame-glow)}
.crown-frame-corners i:nth-child(2){right:0;transform:rotate(90deg)}.crown-frame-corners i:nth-child(3){right:0;bottom:0;transform:rotate(180deg)}.crown-frame-corners i:nth-child(4){bottom:0;transform:rotate(-90deg)}
.rank-crown-icon{display:inline-block!important;width:32px!important;height:25px!important;object-fit:contain;vertical-align:middle;margin:-3px 5px -1px 0;filter:drop-shadow(0 0 3px var(--frame-glow));pointer-events:none}
.rank-frame-label{min-height:25px;line-height:25px}.leader-row .rank-crown-icon{width:24px!important;height:20px!important}
@media(prefers-reduced-motion:reduce){.crowned-frame:before,.crowned-frame:after{animation:none!important}}

[data-view="chat"]{position:relative}[data-view="chat"].has-mention::after{content:"";position:absolute;top:8px;right:calc(50% - 19px);width:9px;height:9px;border-radius:50%;background:#ff3b45;box-shadow:0 0 0 2px var(--bg,#fff)}
#chatForm{position:relative}#mentionChoices{position:absolute;bottom:calc(100% + 8px);left:0;right:0;max-height:240px;overflow:auto;padding:6px;border:1px solid #ffffff25;border-radius:18px;background:#222337;box-shadow:0 12px 35px #0005;z-index:30}#mentionChoices button{display:block;width:100%;text-align:left;padding:12px 16px;background:transparent;color:#fff;border:0;border-radius:12px;font:inherit}#mentionChoices button[aria-selected="true"]{background:#654bdf}

/* Keep the optional mention picker out of the composer grid, even when empty. */
#mentionChoices:empty{display:none}body[data-view=chat] #chatText{grid-column:1;grid-row:1;width:100%;min-width:0}body[data-view=chat] #chatForm>button[type=submit]{grid-column:2;grid-row:1}body[data-view=chat] #chatError{grid-row:2;grid-column:1/-1}

.chat-conversation-label{font-size:11px;letter-spacing:.04em;color:#929ab0;margin:0 4px 5px}#chatConversation{flex:none;width:100%;min-height:44px;margin:0 0 10px;padding:10px 14px;border:1px solid #34394c;border-radius:14px;background:#202434;color:#f0f1f8;font:inherit}

/* Clear member-based progress, with optional per-person action details. */
.teammate-progress{border-top:1px solid #eeedf5;margin-top:12px;padding-top:4px}
.teammate-progress summary{list-style:none;cursor:pointer;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;min-height:52px;padding:8px 2px}
.teammate-progress summary::-webkit-details-marker{display:none}
.teammate-progress summary:focus-visible{outline:2px solid var(--purple);outline-offset:3px;border-radius:8px}
.teammate-summary{display:flex;align-items:center;gap:8px;font-size:13px;color:#686379}
.all-finished .teammate-summary{color:#198354}
.progress-chevron{font-size:20px;line-height:1;transition:transform .15s}
.teammate-progress[open] .progress-chevron{transform:rotate(180deg)}
.teammate-details{background:#f6f5fb;border-radius:12px;padding:2px 12px 8px}
.teammate-person{padding:10px 0;border-bottom:1px solid #e7e4f0}
.teammate-person:last-child{border-bottom:0}
.teammate-person strong{font-size:13px;font-weight:600}
.teammate-actions{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:6px;font-size:12px;color:#777383}
.teammate-actions .is-done{color:#198354}
.progress-ring.complete .ring-badge{background:#198354;color:white}

/* Compact summaries; member lists live in a bounded, searchable panel. */
.teammate-progress{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.progress-overview{display:grid;gap:6px;min-width:0}
.view-progress{border:0;border-radius:10px;background:#f0edff;color:#5941d9;font:inherit;font-size:13px;font-weight:600;padding:11px 13px;cursor:pointer;white-space:nowrap}
.progress-panel{box-sizing:border-box;width:min(540px,calc(100% - 24px));max-height:min(720px,85dvh);padding:0;border:1px solid #e9e6f2;border-radius:24px;background:#fff;color:#171729;box-shadow:0 24px 80px #15112b33;overflow:hidden}
.progress-panel[open]{display:flex;flex-direction:column}
.progress-panel::backdrop{background:#17132966;backdrop-filter:blur(4px)}
.progress-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:24px 22px 16px}
.progress-panel-head p{margin:0 0 6px;color:#777285;font-size:13px}
.progress-panel-head h2{margin:0;font-size:24px;letter-spacing:-.6px}
.progress-close{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:#f4f2f8;color:#555064;font-size:26px;cursor:pointer}
.progress-controls{padding:0 22px 16px}
.progress-tabs{display:flex;gap:4px;background:#f1eff6;padding:4px;border-radius:12px;margin-bottom:12px}
.progress-tabs button{flex:1;border:0;border-radius:9px;padding:11px 4px;background:transparent;color:#706a80;font:inherit;font-size:13px;cursor:pointer}
.progress-tabs button[aria-selected=true]{background:white;color:#4f36cc;box-shadow:0 1px 4px #20123b14;font-weight:600}
#progressSearch{box-sizing:border-box;width:100%;min-width:0;border:1px solid #e4e0ed;border-radius:12px;padding:12px;background:#faf9fd;color:#171729;font:inherit;font-size:16px}
.progress-results{overflow:auto;overscroll-behavior:contain;min-height:80px;padding:0 22px;flex:1}
.progress-results .teammate-person{padding:15px 0}
.progress-results .teammate-person strong{font-size:15px;overflow-wrap:anywhere}
.progress-results .teammate-actions{margin-top:8px;font-size:13px}
.progress-empty{padding:24px 0;color:#777285;font-size:14px}
.progress-panel-footer{display:flex;align-items:center;justify-content:space-between;min-height:38px;gap:12px;padding:14px 22px;border-top:1px solid #eeebf4;font-size:13px;color:#777285}
.progress-panel button:focus-visible{outline:2px solid #6346ef;outline-offset:2px}
.progress-panel [hidden]{display:none}
@media(max-width:480px){.progress-panel{margin:auto auto 12px;max-height:85dvh}.teammate-summary{font-size:12px}.view-progress{font-size:12px;padding:10px}.progress-panel-head{padding-top:20px}}

/* Keep startup readable inside both native safe areas and browser viewports. */
body:has(#loading:not(.hide)){min-height:100dvh;box-sizing:border-box;display:flex;flex-direction:column}
body #loading:not(.hide){flex:1;padding:calc(32px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 24px max(24px, env(safe-area-inset-left));display:grid;place-items:center;min-height:65dvh;box-sizing:border-box}
#loading .startup-brand{min-height:0;text-align:center;max-width:100%;padding:24px 0}
body:has(#loading:not(.hide)) #workspaceNetwork{display:none}
#workspaceNetwork:not([hidden]){padding:calc(12px + env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left))!important;line-height:1.5!important}
body:has(#loading:not(.hide)) .site-footer{margin-top:auto;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
