/* ACE member social shell. Real club data; no decorative interaction controls. */
:root{--bg:#fafafa;--line:#e9e9eb;--text:#171719;--dim:#737377;--mute:#838389;--tile:#f5f5f6;--gold:#791e2e}
body{background:var(--bg)}
.top{background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);padding:calc(8px + env(safe-area-inset-top)) max(16px,calc((100vw - 1040px)/2)) 8px;min-height:66px;gap:12px}
.brand-home{display:flex;align-items:center;gap:8px;min-width:0;text-align:left}
.brand-home .mk{width:35px;height:35px;border-radius:10px;overflow:hidden;background:#4a0a12}
.brand-home .mk img{width:35px;height:35px;object-fit:contain}
.brand-home b{font:600 20px/1 var(--font);letter-spacing:.02em;white-space:nowrap}
.brand-home b span{font-weight:400;font-size:17px;letter-spacing:.08em}
.top .code{display:none}.top-actions{display:flex;gap:6px;margin-left:auto;align-items:center}
.icon-btn{display:inline-flex;justify-content:center;align-items:center;width:42px;height:42px;flex:none;color:var(--text);border-radius:50%;font-size:26px}
.icon-btn svg,.tab svg{display:block;width:25px;height:25px}
.icon-btn:hover{background:#f6f6f7}.icon-btn:focus-visible,.tab:focus-visible,.story-person:focus-visible,.carousel-dots button:focus-visible{outline:2px solid #791e2e;outline-offset:3px}
.wrap{max-width:630px;padding:0 16px 100px}
.wrap:has(#v-home.on),.wrap:has(#v-reels.on){padding-left:0;padding-right:0}
.card{border-radius:16px;border:1px solid var(--line);box-shadow:none}
.tabs{max-width:none;background:rgba(255,255,255,.98);padding:5px max(4px,calc((100vw - 640px)/2)) calc(5px + env(safe-area-inset-bottom));border-top:1px solid #dedee1;gap:3px}
.tab{color:#28282b;padding:8px 0 5px;letter-spacing:0;text-transform:none;font-size:9px;display:flex;flex-direction:column;align-items:center;gap:3px;min-height:52px;border-radius:8px}
.tab.on{color:#791e2e}.tab.on svg{stroke-width:2.6}.tab:hover{background:#f5f5f6}
.home-stories.card{border:0;border-radius:0;margin:0;padding:11px 0 9px;background:#fff;border-bottom:1px solid var(--line)}
.home-section-head{padding:0 16px;min-height:18px}.home-section-head h2{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.1em;color:var(--dim)}
.story-row{gap:17px;padding:10px 16px 2px;scrollbar-width:none}.story-row::-webkit-scrollbar{display:none}
.story-person{width:67px;flex-basis:67px}.story-person .story-name{font-size:10px;line-height:1.6;color:#3b3b3f}
.member-circle-frame{border-color:#dddde1;background:#fff;padding:3px}.member-circle-frame .avatar{width:58px;height:58px}
.story-ring{background:linear-gradient(30deg,#d0a64b,#952c42,#683c83)}
.home-club-links{display:none}
.home-feed-tools{display:flex;padding:14px 16px 10px;background:#fff;align-items:center;border-bottom:1px solid var(--line)}
.home-feed-tools h2{font-size:12px;font-weight:500;color:var(--dim)}
.text-action{font-size:11px;font-weight:500;color:#791e2e;padding:4px 0}
.home-grid{display:block}.home-feed .post,.post{border:0;border-radius:0;padding:0;margin:0;background:#fff;border-bottom:1px solid var(--line);overflow:hidden;scroll-margin-top:78px}
.post .head,.home-feed .post .head{padding:12px 16px;gap:10px;min-height:66px}
.post .head .avatar{width:37px;height:37px;border:1px solid var(--line);font-size:12px}
.post .head .author-name{font-size:12px;font-weight:600;letter-spacing:0}.post .head .sb{font-size:9px;margin-top:1px;color:#79797f}
.official-badge{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;border-radius:50%;background:#791e2e;color:#fff;font-size:9px;margin-left:3px}
.post .post-more{width:34px;height:34px;margin-left:auto}.post .post-more svg{width:23px;height:23px}
.post-media{position:relative;background:#f3f3f5}
.media-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y;align-items:stretch}
.media-track::-webkit-scrollbar{display:none}
.media-slide{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;background:#f3f3f5}
.media-slide img{width:100%;height:100%;max-height:none;display:block;object-fit:contain;cursor:zoom-in;border-radius:0}
.media-slide video{display:block;width:100%;height:100%;max-height:720px;object-fit:contain;background:#171114;border-radius:0}
.carousel-count{position:absolute;right:13px;top:13px;min-width:42px;padding:5px 9px;background:rgba(18,18,20,.66);border-radius:20px;font-size:10px;color:#fff;pointer-events:none;font-weight:500}
.carousel-prev,.carousel-next{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.88);box-shadow:0 1px 7px #0002;color:#333;font-size:27px;line-height:1;display:flex;align-items:center;justify-content:center}
.carousel-prev{left:10px}.carousel-next{right:10px}
.post-engagement{display:flex;align-items:center;position:relative;min-height:50px;padding:3px 10px}
.post .acts,.home-feed .post .acts{padding:0;margin:0;gap:0;flex-wrap:nowrap;display:flex;position:relative;z-index:1}
.post .acts button{font-size:inherit;color:var(--text);font-weight:400;min-height:42px}
.post .acts button.liked{color:#d82645}.post .acts button.liked svg{fill:#d82645;stroke:#d82645}
.carousel-dots{display:flex;align-items:center;justify-content:center;gap:3px;margin-left:auto;padding:0 8px;max-width:45%;overflow:hidden}
.carousel-dots button{width:15px;height:22px;position:relative;flex:none}.carousel-dots button:after{content:'';position:absolute;width:5px;height:5px;border-radius:50%;background:#d5d5d8;left:5px;top:8px}.carousel-dots button.on:after{background:#791e2e;width:6px;height:6px}
.post-count{padding:0 16px;font-size:11px;line-height:1.7;font-weight:600}
.post .body,.home-feed .post .body{padding:0 16px;margin:5px 0 0;font-size:11.5px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}
.post .body strong{font-weight:600;margin-right:4px}.comment-link{display:block;margin:5px 0 0;padding:0 16px 17px;font-size:11px;line-height:1.7;color:#85858a;text-align:left}
.post .pinbar,.home-feed .post .pinbar{font-size:8px;letter-spacing:.12em;margin:0;padding:10px 16px 0}
.post.linked-post{outline:2px solid #791e2e;outline-offset:-2px}
.home-aside{padding:0 16px;margin-top:16px}.home-aside .card{margin-top:12px}.home-aside .h2{font-size:19px;line-height:1.5}
.home-aside .lab{font-size:9px;letter-spacing:.13em}.home-aside .meta{font-size:12px;line-height:1.8}
.view-title{padding:20px 16px 15px;background:#fff;border-bottom:1px solid var(--line)}.view-title h1{font-size:21px;font-weight:600}.view-title p{font-size:12px;color:var(--dim);margin-top:4px}
.sheet-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.sheet-title h2{font-size:19px;font-weight:600}.club-menu-item{display:flex;width:100%;padding:15px 0;align-items:center;justify-content:space-between;text-align:left;border-bottom:1px solid var(--line);font-size:14px}.club-menu-item span{color:var(--dim);font-size:20px}
.ace-install{margin:10px 12px;border-radius:12px;padding:12px}.ace-install-copy h2{font-size:12px}.ace-install-copy p{font-size:10px}.ace-install-actions{margin-top:8px}.ace-install-actions button{padding:9px 13px}
#v-comm>.row{flex-wrap:nowrap;overflow-x:auto;padding-bottom:8px;scrollbar-width:none}#v-comm>.row .chip{flex:none}
@media(min-width:900px){.wrap:has(#v-home.on){max-width:1040px;padding-left:20px;padding-right:20px}.home-stories.card{max-width:620px;margin-top:20px;border:1px solid var(--line);border-radius:12px 12px 0 0}.home-grid{display:grid;grid-template-columns:minmax(0,620px) minmax(250px,1fr);gap:28px;align-items:start}.home-feed{min-width:0}.home-feed-tools{border-left:1px solid var(--line);border-right:1px solid var(--line)}.home-feed .post{border:1px solid var(--line);border-top:0;margin:0 0 20px;border-radius:0 0 12px 12px}.home-aside{padding:0;margin:0;position:sticky;top:82px}.home-aside .card:first-child{margin-top:0}.top .code{display:inline-flex;margin-left:20px;border:none;font-size:10px;letter-spacing:.06em;color:var(--dim)}.post .body{font-size:12px}.wrap:has(#v-reels.on){max-width:620px}}
@media(max-width:380px){.brand-home b{font-size:18px}.brand-home b span{font-size:15px}.top{padding-left:12px;padding-right:12px}.story-row{gap:12px}.post .body{font-size:11px}}
@media(prefers-reduced-motion:reduce){.media-track{scroll-behavior:auto!important}}
