:root{--st-font-system:"Plus Jakarta Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;--st-red:#a31c1b;--st-red2:#a31c1b;--st-bg:#f4f5f7;--st-surface:#fff;--st-surface2:#f8f8f9;--st-text:#171717;--st-muted:#6f7178;--st-border:#e5e6e8;--st-shadow:0 12px 35px rgba(0,0,0,.07);--st-radius:18px;--st-success:#138a47;--st-warn:#bc7200}html[data-st-theme=dark]{--st-bg:#171717;--st-surface:#1f1f1f;--st-surface2:#262626;--st-text:#f7f7f8;--st-muted:#aaaab1;--st-border:#363636;--st-shadow:0 14px 42px rgba(0,0,0,.35)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--st-bg);color:var(--st-text);font-family:var(--st-font-system);transition:background .2s,color .2s}button, input, select, textarea{font:inherit}a{color:inherit;text-decoration:none}.st-muted{color:var(--st-muted)}.st-text-link{color:var(--st-red-text);font-weight:600}.st-topbar{height:68px;position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:24px;padding:0 24px;background:color-mix(in srgb,var(--st-surface) 92%,transparent);backdrop-filter:blur(18px);border-bottom:1px solid var(--st-border)}.st-brand{display:inline-flex;align-items:center;justify-content:center;gap:0;white-space:nowrap}.st-brand-logo{display:block;width:40px;height:40px;object-fit:contain}.st-search{display:flex;align-items:center;gap:8px;min-width:190px;max-width:360px;flex:1;padding:0 12px;height:42px;border-radius:13px;background:var(--st-surface2);border:1px solid var(--st-border)}.st-search input{border:0;outline:0;background:transparent;color:var(--st-text);min-width:0;width:100%}.st-topnav{display:flex;gap:20px;margin:auto}.st-topnav a{color:var(--st-muted);font-weight:600}.st-topnav a:hover{color:var(--st-red-text)}.st-top-actions{display:flex;align-items:center;gap:8px}.st-icon-btn{position:relative;width:42px;height:42px;border-radius:50%;border:1px solid var(--st-border);background:var(--st-surface2);color:var(--st-text);cursor:pointer;display:inline-grid;place-items:center}.st-notify-btn span{position:absolute;right:-4px;top:-5px;background:var(--st-red);color:white;font-size:12px;min-width:18px;height:18px;border-radius:99px;display:none;place-items:center;padding:0 4px}.st-user-chip{display:flex;align-items:center;gap:8px;font-weight:600}.st-user-chip img{border-radius:50%;object-fit:cover}.st-shell{max-width:1500px;margin:0 auto;padding:24px}.st-layout{display:grid;grid-template-columns:220px minmax(0,760px) 300px;gap:24px;align-items:start}.st-sidebar{position:sticky;top:92px;display:flex;flex-direction:column;gap:8px}.st-sidebar a{display:flex;align-items:center;gap:12px;padding:12px 16px;border-radius:13px;font-weight:600;color:var(--st-muted)}.st-sidebar a:hover, .st-sidebar a.active{background:var(--st-surface);color:var(--st-text);box-shadow:var(--st-shadow)}.st-nav-icon{width:24px;text-align:center;font-size:17px}.st-feedcol{display:flex;flex-direction:column;gap:16px;min-width:0}.st-rightbar{position:sticky;top:92px;display:flex;flex-direction:column;gap:16px}.st-card, .st-composer, .st-live-stage, .st-chat-panel, .st-content-card, .st-auth-card, .st-mod-panel{background:var(--st-surface);border:1px solid var(--st-border);border-radius:var(--st-radius);box-shadow:var(--st-shadow)}.st-card{padding:16px}.st-card h3{margin:8px 0}.st-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.st-search-section{margin-top:16px}.st-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 16px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface);color:var(--st-text);font-weight:700;cursor:pointer;transition:.15s transform,.15s background,.15s border-color}.st-btn:hover:not(:disabled){transform:translateY(-1px);border-color:color-mix(in srgb,var(--st-red) 40%,var(--st-border))}.st-btn-primary{background:var(--st-red);border-color:var(--st-red);color:#fff}.st-btn-soft{background:var(--st-surface2)}.st-btn-danger{background:#8b1817;border-color:#8b1817;color:white}.st-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}.st-kicker{color:var(--st-red-text);font-weight:700;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase}.st-section-title, .st-pagehead{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:0 4px}.st-pagehead h1, .st-section-title h2{margin:.12rem 0}.st-pagehead.compact{align-items:center;padding:0}.st-pagehead.compact h2{margin:0}.st-composer{padding:16px}.st-composer-head{display:flex;gap:12px}.st-composer-head img{border-radius:50%;object-fit:cover}.st-composer textarea{width:100%;min-height:76px;resize:vertical;border:0;outline:0;border-radius:14px;padding:16px;background:var(--st-surface2);color:var(--st-text)}.st-composer-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;color:var(--st-muted);font-size:15px}.st-composer-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.st-composer select, .st-upload-label{border:1px solid var(--st-border);background:var(--st-surface2);color:var(--st-text);border-radius:10px;padding:8px 8px;font-weight:600}.st-upload-label{cursor:pointer}.st-post{padding:0;overflow:hidden}.st-post-inner{padding:16px}.st-post-head{display:flex;align-items:center;gap:12px}.st-post-head img{border-radius:50%;object-fit:cover}.st-post-head .meta{color:var(--st-muted);font-size:13px}.st-post-head-main{min-width:0;flex:1}.st-post-menu{border:0;background:transparent;color:var(--st-muted);font-size:20px;cursor:pointer}.st-official{display:inline-flex;padding:4px 8px;margin-left:8px;border-radius:999px;background:var(--st-red);color:#fff;font-size:12px;font-weight:700}.st-kind{display:inline-flex;padding:4px 8px;margin-left:4px;border-radius:999px;background:var(--st-surface2);color:var(--st-muted);font-size:12px;font-weight:700;text-transform:uppercase}.st-post-body{padding:16px 0;font-size:17px;line-height:1.55;overflow-wrap:anywhere}.st-post-media img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:var(--st-surface2)}.st-post-media video{display:block;width:100%;height:auto;max-height:none;background:#000}.st-post-stats{display:flex;justify-content:space-between;padding:8px 16px;color:var(--st-muted);font-size:13px}.st-post-actions{display:flex;gap:4px;border-top:1px solid var(--st-border);padding:4px 12px}.st-post-actions button{flex:1;border:0;background:transparent;color:var(--st-muted);font-weight:600;padding:8px 8px;cursor:pointer;border-radius:9px}.st-post-actions button:hover, .st-post-actions button.active{background:var(--st-surface2);color:var(--st-red-text)}.st-reaction-strip{display:flex;gap:4px;flex-wrap:wrap;padding:0 16px 8px}.st-reaction-strip button{border:1px solid var(--st-border);background:var(--st-surface2);border-radius:99px;padding:4px 8px;cursor:pointer}.st-comments{padding:0 16px 16px;border-top:1px solid var(--st-border)}.st-comment{display:flex;gap:8px;margin-top:12px}.st-comment img{border-radius:50%;width:34px;height:34px;object-fit:cover}.st-comment-bubble{background:var(--st-surface2);border-radius:13px;padding:8px 12px;flex:1}.st-comment-bubble strong{font-size:13px}.st-comment-form{display:flex;gap:8px;margin-top:12px}.st-comment-form input{flex:1;min-width:0}.st-load-more{width:100%}.st-live-home-card{overflow:hidden;border:1px solid color-mix(in srgb,var(--st-red) 52%,var(--st-border));border-radius:22px;background:linear-gradient(135deg,var(--st-surface),color-mix(in srgb,var(--st-red) 8%,var(--st-surface)));box-shadow:var(--st-shadow)}.st-live-cover{aspect-ratio:16/7;background:#171717 center/cover no-repeat;display:grid;place-items:center;color:#fff;font-size:17px;font-weight:700}.st-live-info{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}.st-live-badge{color:var(--st-red-text);font-weight:700}.st-live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:var(--st-red);box-shadow:0 0 0 5px color-mix(in srgb,var(--st-red) 15%,transparent)}.st-mini-user{display:flex;align-items:center;gap:8px;margin:12px 0}.st-mini-user img{width:38px;height:38px;border-radius:50%;object-fit:cover}.st-guest-hero{min-height:70vh;display:grid;grid-template-columns:1.4fr .8fr;gap:28px;align-items:center}.st-guest-hero h1{font-size:clamp(3rem,7vw,6.5rem);letter-spacing:-.06em;line-height:.9;margin:.25em 0}.st-guest-hero p{font-size:17px;color:var(--st-muted);max-width:650px}.st-hero-actions{display:flex;gap:8px}.st-hero-card{padding:28px;border-radius:28px;background:radial-gradient(circle at top right,#4a0d0c,#06110c 55%);color:#fff;min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;box-shadow:var(--st-shadow)}.st-auth-card{max-width:640px;margin:36px auto;padding:32px}.st-form{display:flex;flex-direction:column;gap:16px}.st-form label{display:flex;flex-direction:column;gap:8px;font-weight:600}.st-form input, .st-form textarea, .st-form select, .st-comment-form input, .st-message-form input, .st-chat-form input{border:1px solid var(--st-border);border-radius:11px;background:var(--st-surface2);color:var(--st-text);padding:12px 12px;outline:0}.st-form textarea{min-height:100px;resize:vertical}.st-two{display:grid;grid-template-columns:1fr 1fr;gap:12px}.st-honeypot{position:absolute!important;left:-99999px!important}.st-profile-hero{overflow:hidden;padding:0}.st-profile-cover{height:260px;background:linear-gradient(135deg,#171717,#7a1514) center/cover no-repeat}.st-profile-main{padding:0 24px 24px;display:flex;gap:20px;align-items:flex-end;margin-top:-64px}.st-profile-main img{width:132px;height:132px;border-radius:50%;object-fit:cover;border:6px solid var(--st-surface);background:var(--st-surface)}.st-profile-text{padding-top:72px;flex:1}.st-profile-text h1{margin:0}.st-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-left:auto;padding-bottom:8px}.st-profile-stats{display:flex;gap:20px;color:var(--st-muted);font-weight:600}.st-profile-stats b{color:var(--st-text)}.st-profile-bio{margin-top:8px}.st-profile-edit{margin-top:16px}.st-profile-upload-row{display:flex;gap:8px}.st-member-card{display:flex;align-items:center;gap:12px}.st-member-card img{width:64px;height:64px;border-radius:50%;object-fit:cover}.st-member-card .st-member-info{min-width:0;flex:1}.st-member-card h3{margin:0}.st-member-actions{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}.st-group-card-cover{height:120px;border-radius:14px;background:linear-gradient(135deg,#171717,#7a1514) center/cover no-repeat;margin:-2px -2px 12px}.st-group-head{overflow:hidden;padding:0}.st-group-cover{height:230px;background:linear-gradient(135deg,#171717,#6e1312) center/cover no-repeat}.st-group-info{padding:20px}.st-group-info h1{margin:.1rem 0}.st-group-actions{display:flex;gap:8px;flex-wrap:wrap}.st-group-members{margin-top:16px}.st-member-request{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--st-border)}.st-member-request img{width:38px;height:38px;border-radius:50%}.st-modal{border:1px solid var(--st-border);border-radius:18px;background:var(--st-surface);color:var(--st-text);padding:24px;width:min(560px,calc(100% - 28px));box-shadow:0 25px 90px rgba(0,0,0,.35)}.st-modal::backdrop{background:rgba(0,0,0,.6)}.st-modal-actions{display:flex;justify-content:flex-end;gap:8px}.st-messages-layout{display:grid;grid-template-columns:290px 1fr;height:calc(100vh - 116px);min-height:600px;border:1px solid var(--st-border);border-radius:var(--st-radius);overflow:hidden;background:var(--st-surface);box-shadow:var(--st-shadow)}.st-conversation-list{border-right:1px solid var(--st-border);overflow:auto}.st-conversation-list>.st-pagehead{padding:16px;border-bottom:1px solid var(--st-border);position:sticky;top:0;background:var(--st-surface);z-index:2}.st-conversation-item{display:flex;gap:8px;padding:12px;border-bottom:1px solid var(--st-border);cursor:pointer}.st-conversation-item:hover, .st-conversation-item.active{background:var(--st-surface2)}.st-conversation-item img{width:46px;height:46px;border-radius:50%;object-fit:cover}.st-conversation-item-main{min-width:0;flex:1}.st-conversation-item-main strong, .st-conversation-item-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-unread{display:grid;place-items:center;min-width:20px;height:20px;border-radius:99px;background:var(--st-red);color:#fff;font-size:12px}.st-conversation{display:flex;flex-direction:column;min-width:0}.st-conversation-head{padding:16px;border-bottom:1px solid var(--st-border);font-weight:700}.st-private-messages{flex:1;overflow:auto;padding:16px}.st-private-message{display:flex;gap:8px;margin:8px 0;align-items:flex-end}.st-private-message.mine{justify-content:flex-end}.st-private-message img{width:30px;height:30px;border-radius:50%}.st-message-bubble{max-width:72%;border-radius:16px;padding:8px 12px;background:var(--st-surface2)}.st-private-message.mine .st-message-bubble{background:var(--st-red);color:#fff}.st-message-bubble img{width:auto;max-width:100%;height:auto;border-radius:10px;margin-top:8px}.st-message-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--st-border)}.st-message-form input{flex:1;min-width:0}.st-notification{display:flex;gap:12px;align-items:flex-start;margin-bottom:8px}.st-notification.unread{border-left:4px solid var(--st-red)}.st-notification img{width:42px;height:42px;border-radius:50%}.st-reels{display:flex;flex-direction:column;gap:20px;align-items:center}.st-reel{width:min(100%,540px);background:#050505;color:#fff;border-radius:22px;overflow:hidden;position:relative}.st-reel video, .st-reel img{display:block;width:100%;max-height:80vh;object-fit:contain}.st-reel-overlay{padding:16px}.st-live-shell{max-width:1600px}.st-live-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:16px}.st-live-stage{overflow:hidden}.st-live-player{aspect-ratio:16/9;background:#050505;display:grid;place-items:center}.st-live-player iframe, .st-live-player video{width:100%;height:100%;border:0}.st-player-placeholder{color:#fff;text-align:center;padding:20px}.st-live-meta{padding:16px}.st-live-meta h1{margin:4px 0}.st-live-meta-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.st-live-counters{display:flex;gap:8px;align-items:center}.st-live-counters>span, .st-heart-btn{border:1px solid var(--st-border);border-radius:99px;padding:8px 12px;background:var(--st-surface2);color:var(--st-text);font-weight:700}.st-heart-btn{cursor:pointer;color:var(--st-red-text)}.st-live-actions{display:flex;flex-direction:column;gap:16px;margin-top:16px}.st-action{padding:16px;background:var(--st-surface);border:1px solid var(--st-border);border-radius:16px;box-shadow:var(--st-shadow)}.st-purchase{display:flex;align-items:center;justify-content:space-between;gap:16px;border-color:color-mix(in srgb,var(--st-red) 45%,var(--st-border))}.st-price{font-size:20px;font-weight:700}.st-poll-options{display:flex;flex-wrap:wrap;gap:8px}.st-poll-option{min-width:140px;flex:1}.st-result{margin-top:12px}.st-result-row{display:grid;grid-template-columns:130px 1fr 64px;gap:8px;align-items:center;font-size:15px;margin:8px 0}.st-result-bar{height:10px;border-radius:99px;background:var(--st-border);overflow:hidden}.st-result-fill{height:100%;background:var(--st-red);border-radius:99px}.st-chat-panel{height:calc(100vh - 116px);position:sticky;top:92px;display:flex;flex-direction:column;overflow:hidden}.st-chat-panel header{display:flex;justify-content:space-between;padding:16px;border-bottom:1px solid var(--st-border)}.st-chat-panel header small{display:block;color:var(--st-muted);margin-top:4px}.st-chat-messages{flex:1;overflow:auto;padding:16px}.st-chat-msg{display:flex;gap:8px;margin:8px 0;line-height:1.35}.st-chat-msg img{width:30px;height:30px;border-radius:50%;object-fit:cover}.st-chat-msg-body{flex:1}.st-chat-msg-body strong{margin-right:8px}.st-chat-mod{display:flex;gap:4px;margin-top:4px}.st-chat-mod button{border:0;background:transparent;color:var(--st-red-text);padding:0;font-size:12px;cursor:pointer}.st-chat-form{display:flex;gap:8px;padding:12px;border-top:1px solid var(--st-border)}.st-chat-form input{min-width:0;flex:1}.st-mod-panel{margin-top:16px;padding:16px}.st-mod-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.st-mod-tabs button{border:1px solid var(--st-border);background:var(--st-surface2);color:var(--st-text);border-radius:10px;padding:8px 12px;font-weight:600;cursor:pointer}.st-mod-tabs button.active{background:var(--st-red);color:white;border-color:var(--st-red)}.st-claim-row{display:grid;grid-template-columns:1.2fr 1.2fr .6fr .8fr;gap:8px;padding:8px 0;border-bottom:1px solid var(--st-border);align-items:center}.st-content-card{padding:28px;max-width:900px;margin:32px auto}.st-footer{max-width:1500px;margin:40px auto 0;padding:24px;display:flex;justify-content:space-between;gap:20px;color:var(--st-muted);border-top:1px solid var(--st-border)}.st-toast{position:fixed;right:20px;bottom:20px;z-index:999;padding:16px 16px;border-radius:12px;background:#171717;color:#fff;box-shadow:var(--st-shadow);max-width:min(430px,calc(100% - 40px))}.st-empty{text-align:center;color:var(--st-muted);padding:32px}.st-success{color:var(--st-success)}.st-error{color:var(--st-red-text)}@media (max-width:1180px){.st-layout{grid-template-columns:80px minmax(0,1fr)}.st-sidebar a span:last-child{display:none}.st-sidebar a{justify-content:center}.st-rightbar{display:none}.st-live-layout{grid-template-columns:1fr}.st-chat-panel{position:relative;top:auto;height:520px}.st-topnav{display:none}.st-search{max-width:none}.st-profile-actions{margin-left:0}.st-profile-main{flex-wrap:wrap}}@media (max-width:760px){.st-shell{padding:12px}.st-topbar{padding:0 12px;height:62px}.st-brand>span:last-child, .st-user-chip span, .st-search{display:none}.st-layout{display:block}.st-sidebar{position:fixed;bottom:0;left:0;right:0;top:auto;z-index:100;display:grid;grid-template-columns:repeat(8,1fr);padding:8px;background:var(--st-surface);border-top:1px solid var(--st-border);overflow:auto}.st-sidebar a{padding:8px}.st-feedcol{padding-bottom:80px}.st-guest-hero{grid-template-columns:1fr}.st-guest-hero h1{font-size:3.5rem}.st-hero-card{min-height:190px}.st-live-info{align-items:flex-start;flex-direction:column}.st-purchase{align-items:flex-start;flex-direction:column}.st-purchase .st-btn{width:100%}.st-card-grid{grid-template-columns:1fr}.st-two{grid-template-columns:1fr}.st-profile-cover{height:180px}.st-profile-main{margin-top:-48px;padding:0 16px 16px}.st-profile-main img{width:100px;height:100px}.st-profile-text{padding-top:52px}.st-profile-actions{width:100%;padding:0}.st-messages-layout{grid-template-columns:1fr;height:auto;min-height:0}.st-conversation-list{max-height:280px;border-right:0;border-bottom:1px solid var(--st-border)}.st-conversation{min-height:520px}.st-live-layout{display:block}.st-chat-panel{margin-top:16px}.st-result-row{grid-template-columns:90px 1fr 55px}.st-live-meta-row{flex-direction:column}.st-footer{padding-bottom:88px;flex-direction:column}.st-claim-row{grid-template-columns:1fr 1fr}}

/* Feed photos: fixed feed width, natural variable height, never crop the image. */
.st-post-media{width:100%;overflow:hidden;background:var(--st-surface2);text-align:center}
.st-post-media img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;background:transparent}
.st-post-media video{display:block;width:100%;max-height:78vh;object-fit:contain;background:#000}

/* Extended profile editor */
.st-avatar-wrap{position:relative;flex:0 0 auto}.st-avatar-wrap>img{display:block}.st-profile-photo-btn{border:1px solid rgba(255,255,255,.28);background:rgba(10,10,12,.78);color:#fff;border-radius:12px;padding:8px 12px;font-weight:700;cursor:pointer;backdrop-filter:blur(8px);box-shadow:0 8px 25px rgba(0,0,0,.2)}.st-cover-edit{position:absolute;right:18px;bottom:18px}.st-profile-cover{position:relative}.st-avatar-edit{position:absolute;right:2px;bottom:8px;width:40px;height:40px;border-radius:50%;padding:0;display:grid;place-items:center}.st-profile-headline{font-weight:600;color:var(--st-muted);margin:4px 0 8px}.st-profile-meta-line{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}.st-profile-tiers{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.st-profile-tier{display:inline-flex;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--st-red) 11%,var(--st-surface2));border:1px solid color-mix(in srgb,var(--st-red) 28%,var(--st-border));font-size:12px;font-weight:700}.st-profile-columns{display:grid;grid-template-columns:minmax(260px,320px) minmax(0,1fr);gap:16px;align-items:start}.st-profile-columns>div:first-child{display:flex;flex-direction:column;gap:16px}.st-profile-about{margin:0}.st-profile-details{display:flex;flex-direction:column;gap:4px;margin-top:8px}.st-profile-detail{display:flex;align-items:flex-start;gap:8px;padding:8px 0;min-width:0}.st-profile-detail-icon{width:26px;height:26px;display:grid;place-items:center;flex:0 0 26px;border-radius:9px;background:var(--st-surface2);color:var(--st-red-text);font-weight:700}.st-profile-detail div{min-width:0}.st-profile-detail small, .st-profile-detail strong{display:block;overflow-wrap:anywhere}.st-profile-detail strong{font-size:15px}.st-profile-link:hover strong{color:var(--st-red-text)}.st-profile-socials{border-top:1px solid var(--st-border);margin-top:8px;padding-top:8px}.st-profile-interests{border-top:1px solid var(--st-border);margin-top:8px;padding-top:8px}.st-interest-block{margin:8px 0}.st-interest-block p{margin:4px 0;white-space:pre-wrap}.st-profile-friend-grid{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}.st-profile-friend-grid .st-member-card{box-shadow:none;padding:8px;border-radius:13px;background:var(--st-surface2)}.st-profile-friend-grid .st-member-actions{display:none}.st-profile-friend-grid .st-member-card img{width:48px;height:48px}.st-profile-settings{margin-top:16px;padding:0;overflow:hidden;border-color:color-mix(in srgb,var(--st-red) 28%,var(--st-border))}.st-profile-settings-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px;border-bottom:1px solid var(--st-border)}.st-profile-settings-head h2{margin:4px 0}.st-profile-settings-head p{margin:.25rem 0 0}.st-profile-settings-layout{display:grid;grid-template-columns:210px minmax(0,1fr);min-height:560px}.st-profile-settings-nav{padding:16px;border-right:1px solid var(--st-border);background:var(--st-surface2);display:flex;flex-direction:column;gap:4px}.st-profile-settings-nav button{border:0;background:transparent;color:var(--st-muted);text-align:left;padding:12px 12px;border-radius:11px;font-weight:600;cursor:pointer}.st-profile-settings-nav button:hover, .st-profile-settings-nav button.active{background:var(--st-surface);color:var(--st-red-text);box-shadow:0 5px 18px rgba(0,0,0,.05)}.st-profile-settings-form{padding:24px;min-width:0}.st-profile-settings-form>section h3{margin-top:0}.st-profile-settings-form>section h4{margin:24px 0 8px}.st-profile-photo-editor{position:relative;margin-bottom:16px}.st-cover-editor-preview{height:230px;border-radius:18px;background:linear-gradient(135deg,#171717,#7a1514) center/cover no-repeat;border:1px solid var(--st-border);display:flex;align-items:flex-start;justify-content:flex-end;padding:12px;color:#fff;font-weight:700}.st-avatar-editor-preview{position:relative;width:max-content;margin:-64px 0 0 24px;text-align:center}.st-avatar-editor-preview img{display:block;width:128px;height:128px;border-radius:50%;object-fit:cover;background:var(--st-surface2);border:6px solid var(--st-surface)}.st-avatar-editor-preview span{display:inline-block;margin-top:4px;font-size:12px;font-weight:600}.st-profile-upload-actions{display:flex;gap:8px;flex-wrap:wrap}.st-readonly-field{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2)}.st-readonly-field span{font-size:.75rem;color:var(--st-muted)}.st-privacy-row{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:16px;padding:12px 4px;border-bottom:1px solid var(--st-border)}.st-privacy-row input{width:20px;height:20px;accent-color:var(--st-red)}.st-profile-savebar{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px -24px -24px;padding:16px 24px;background:color-mix(in srgb,var(--st-surface) 92%,transparent);backdrop-filter:blur(12px);border-top:1px solid var(--st-border);z-index:4}
@media (max-width:980px){.st-profile-columns{grid-template-columns:1fr}.st-profile-settings-layout{grid-template-columns:1fr}.st-profile-settings-nav{border-right:0;border-bottom:1px solid var(--st-border);flex-direction:row;overflow:auto;position:sticky;top:62px;z-index:5}.st-profile-settings-nav button{white-space:nowrap}.st-profile-friend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.st-cover-edit{right:10px;bottom:10px;font-size:12px}.st-profile-settings-head{padding:16px}.st-profile-settings-form{padding:16px}.st-profile-savebar{margin:20px -16px -16px;padding:12px 16px;flex-direction:column;align-items:stretch}.st-profile-savebar .st-btn{width:100%}.st-cover-editor-preview{height:170px}.st-profile-friend-grid{grid-template-columns:1fr}.st-profile-columns{gap:12px}}

/* Shin Tomo 1.2 - profilo pubblico canonico e badge */
.st-profile-badges-card{margin:0}.st-profile-badges{display:flex;flex-direction:column;gap:8px;margin-top:12px}.st-profile-badge{--badge-accent:var(--st-red);display:flex;align-items:center;gap:8px;padding:8px;border:1px solid color-mix(in srgb,var(--badge-accent) 30%,var(--st-border));border-radius:14px;background:color-mix(in srgb,var(--badge-accent) 7%,var(--st-surface2))}.st-profile-badge>img, .st-profile-badge-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:grid;place-items:center;object-fit:contain;background:color-mix(in srgb,var(--badge-accent) 14%,var(--st-surface));color:var(--badge-accent);font-size:20px;font-weight:700}.st-profile-badge span:last-child{min-width:0}.st-profile-badge strong, .st-profile-badge small{display:block}.st-profile-badge small{color:var(--st-muted);margin-top:2px}.st-profile-hero{overflow:hidden}.st-profile-cover{background-color:#171717;background-position:center;background-size:cover}.st-profile-main>.st-avatar-wrap>img{width:132px;height:132px;border-radius:50%;object-fit:cover;border:6px solid var(--st-surface);background:var(--st-surface2)}

/* Shin Tomo 1.3 - reactions, inline comments and profile media lightbox */
:root{--st-reaction-count:#60636b}
html[data-st-theme=dark]{--st-reaction-count:#a5a6ae}
.st-reaction-strip button{display:inline-flex;align-items:center;gap:4px;color:var(--st-text)}
.st-reaction-strip button.active{border-color:color-mix(in srgb,var(--st-red) 52%,var(--st-border));background:color-mix(in srgb,var(--st-red) 10%,var(--st-surface2))}
.st-reaction-emoji{line-height:1}
.st-reaction-count{color:var(--st-reaction-count);font-weight:600;font-variant-numeric:tabular-nums}
.st-reaction-strip button.active .st-reaction-count{color:var(--st-red-text)}
.st-comments-count{appearance:none;border:0;background:transparent;color:var(--st-muted);padding:2px 0;cursor:pointer;font:inherit}
.st-comments-count:hover, .st-comments-count.active{color:var(--st-red-text);text-decoration:underline;text-underline-offset:3px}
.st-post-actions button[aria-expanded=true]{background:var(--st-surface2);color:var(--st-red-text)}
.st-comments:not([hidden]){animation:st-comments-open .16s ease-out}
@keyframes st-comments-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.st-profile-media-clickable{position:relative;cursor:zoom-in;outline:none}
.st-profile-media-clickable:focus-visible{box-shadow:inset 0 0 0 3px var(--st-red)}
.st-profile-media-clickable::after{content:"⛶";position:absolute;right:12px;top:12px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.66);color:#fff;font-size:17px;opacity:0;transform:scale(.92);transition:.15s opacity,.15s transform;pointer-events:none}
.st-profile-media-clickable:hover::after, .st-profile-media-clickable:focus-visible::after{opacity:1;transform:scale(1)}
html.st-lightbox-open, body.st-lightbox-open{overflow:hidden}
.st-media-lightbox{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;background:rgba(0,0,0,.94);padding:56px 72px 40px;isolation:isolate}
.st-media-lightbox-stage{width:100%;height:100%;min-height:0;display:flex;align-items:center;justify-content:center}
.st-media-lightbox-stage img, .st-media-lightbox-stage video{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;background:#000;box-shadow:0 18px 70px rgba(0,0,0,.45)}
.st-media-lightbox-stage video{width:min(92vw,1500px)}
.st-media-lightbox-close, .st-media-lightbox-nav{position:absolute;z-index:2;border:1px solid rgba(255,255,255,.18);background:rgba(20,20,22,.72);color:#fff;backdrop-filter:blur(10px);cursor:pointer;display:grid;place-items:center}
.st-media-lightbox-close{right:18px;top:18px;width:46px;height:46px;border-radius:50%;font-size:2rem;line-height:1}
.st-media-lightbox-nav{top:50%;width:52px;height:70px;margin-top:-36px;border-radius:16px;font-size:3rem;line-height:1}
.st-media-lightbox-nav.prev{left:16px}.st-media-lightbox-nav.next{right:16px}
.st-media-lightbox-close:hover, .st-media-lightbox-nav:hover{background:var(--st-red);border-color:var(--st-red)}
.st-media-lightbox-counter{position:absolute;bottom:14px;left:50%;transform:translateX(-50%);padding:8px 12px;border-radius:999px;background:rgba(20,20,22,.72);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(10px)}
@media (max-width:760px){.st-media-lightbox{padding:60px 8px 48px}.st-media-lightbox-nav{width:42px;height:56px;margin-top:-28px;font-size:40px}.st-media-lightbox-nav.prev{left:6px}.st-media-lightbox-nav.next{right:6px}.st-profile-media-clickable::after{opacity:1;width:34px;height:34px}}

/* --- 1.4.0 Profile layout polish --- */
.st-profile-page .st-profile-layout{grid-template-columns:220px minmax(0,1fr);gap:28px}
.st-profile-page .st-profile-viewcol{max-width:none}
.st-profile-page .st-rightbar{display:none}
.st-profile-page #st-profile{display:flex;flex-direction:column;gap:20px}
.st-profile-hero{padding:0;border-radius:24px;overflow:hidden}
.st-profile-cover{min-height:280px;aspect-ratio:16/5;background:linear-gradient(135deg,#1f1f1f,#420000);border-bottom:1px solid var(--st-border)}
.st-profile-main{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:end;gap:24px;padding:0 28px 28px;margin-top:-56px;position:relative}
.st-profile-main>.st-avatar-wrap>img{width:156px;height:156px;border:7px solid var(--st-surface);box-shadow:0 12px 30px rgba(0,0,0,.24)}
.st-avatar-wrap{align-self:end}
.st-profile-text{min-width:0;padding-top:64px}
.st-profile-text h1{margin:0;font-size:clamp(2.45rem,3.4vw,3.5rem);line-height:.96;letter-spacing:-.045em}
.st-profile-headline{font-size:15px;line-height:1.4}
.st-profile-stats{display:flex;flex-wrap:wrap;gap:24px;margin-top:16px}
.st-profile-stats span{display:flex;flex-direction:column;gap:2px;min-width:86px;color:var(--st-muted);font-weight:750}
.st-profile-stats b{font-size:1.25rem;line-height:1;color:var(--st-text)}
.st-profile-bio{margin:12px 0 0;max-width:64ch;color:var(--st-text)}
.st-profile-meta-line{align-items:center;gap:16px;margin-top:8px}
.st-profile-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;align-self:center;max-width:380px}
.st-profile-actions .st-btn{min-width:160px}
.st-profile-actions .st-btn:last-child{min-width:48px}
.st-profile-photo-btn{padding:8px 16px;border-radius:13px;background:rgba(17,17,20,.75);box-shadow:0 10px 24px rgba(0,0,0,.2)}
.st-cover-edit{right:20px;bottom:20px}
.st-avatar-edit{width:42px;height:42px;right:4px;bottom:10px}
.st-profile-columns{grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:24px}
.st-profile-columns>div:first-child, .st-profile-columns>div:last-child{display:flex;flex-direction:column;gap:16px}
.st-profile-columns .st-section-title{padding:0 4px 8px}
.st-profile-about, .st-profile-badges-card, #st-profile-friends .st-card, #st-profile-posts>.st-card, #st-profile-posts>.st-post{border-radius:20px}
.st-profile-about .st-pagehead.compact, #st-profile-friends .st-pagehead.compact{margin-bottom:8px}
.st-profile-friend-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.st-profile-friend-grid .st-member-card{padding:8px 12px;background:var(--st-surface2)}
.st-profile-friend-grid .st-member-card a:first-child{display:block;width:48px;height:48px}
.st-profile-friend-grid .st-member-card img{width:48px;height:48px}
.st-profile-friend-grid .st-member-info h3{font-size:15px;margin:.05rem 0}
.st-profile-badges{gap:8px}
.st-profile-badge{padding:12px}
.st-profile-loading{min-height:380px;display:flex;flex-direction:column;justify-content:center}
.st-profile-loading h2{font-size:2rem;letter-spacing:-.04em}

@media (max-width:1180px){.st-profile-page .st-profile-layout{grid-template-columns:80px minmax(0,1fr)}
  .st-profile-actions{max-width:320px}}

@media (max-width:980px){.st-profile-main{grid-template-columns:1fr;align-items:start;gap:16px;padding:0 24px 24px;margin-top:-48px}
  .st-profile-text{padding-top:0}
  .st-profile-actions{max-width:none;justify-content:flex-start}
  .st-profile-actions .st-btn{min-width:0}
  .st-profile-columns{grid-template-columns:1fr}}

@media (max-width:760px){.st-profile-page .st-profile-layout{display:block}
  .st-profile-hero{border-radius:20px}
  .st-profile-cover{min-height:190px;aspect-ratio:auto}
  .st-profile-main{padding:0 16px 16px;margin-top:-40px;gap:16px}
  .st-profile-main>.st-avatar-wrap>img{width:112px;height:112px;border-width:5px}
  .st-avatar-edit{width:38px;height:38px;right:-2px;bottom:4px}
  .st-profile-text{width:100%}
  .st-profile-text h1{font-size:clamp(2rem,10vw,2.8rem);line-height:1.02}
  .st-profile-stats{width:100%;justify-content:space-between;gap:12px}
  .st-profile-stats span{flex:1;min-width:0}
  .st-profile-stats b{font-size:17px}
  .st-profile-actions{display:grid;grid-template-columns:1fr;width:100%;gap:8px}
  .st-profile-actions .st-btn{width:100%;min-width:0}
  .st-cover-edit{right:10px;bottom:10px;padding:8px 8px;font-size:13px}
  .st-profile-columns{gap:16px}
  .st-profile-about, .st-profile-badges-card, #st-profile-friends .st-card, #st-profile-posts>.st-card, #st-profile-posts>.st-post{border-radius:18px}
  .st-profile-friend-grid{grid-template-columns:1fr}
  .st-profile-loading{min-height:250px}}

/* === Shin Tomo Profile UI refresh 1.3.2 === */
.st-profile-page-shell{max-width:1500px}
.st-profile-page-layout{grid-template-columns:220px minmax(0,1fr);align-items:start}
.st-profile-page-layout>.st-viewcol{width:100%;max-width:1080px}
.st-profile-rightbar{display:none!important}
.st-profile-hero{padding:0!important;overflow:hidden;border-radius:22px}
.st-profile-cover{height:320px;min-height:220px;background-position:center;background-size:cover}
.st-profile-main{display:grid;grid-template-columns:150px minmax(0,1fr) auto;align-items:end;gap:24px;margin-top:-76px;padding:0 28px 28px}
.st-profile-main>.st-avatar-wrap>img{width:146px;height:146px;border:6px solid var(--st-surface);box-shadow:0 10px 32px rgba(0,0,0,.22)}
.st-profile-text{min-width:0;padding-top:88px}
.st-profile-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.st-profile-name-row h1{margin:0;font-size:clamp(2rem,3vw,2.55rem);line-height:1.05;letter-spacing:-.035em;overflow-wrap:anywhere}
.st-profile-official{margin:0;flex:0 0 auto}
.st-profile-headline{margin:8px 0 8px;line-height:1.4}
.st-profile-stats{display:flex;align-items:center;gap:24px;margin-top:4px;color:var(--st-muted)}
.st-profile-stats span{display:flex;align-items:baseline;gap:4px;white-space:nowrap}
.st-profile-stats b{font-size:17px;color:var(--st-text)}
.st-profile-stats small{font-size:13px;font-weight:600;color:var(--st-muted)}
.st-profile-bio{max-width:680px;margin:12px 0 0;line-height:1.55}
.st-profile-meta-line{align-items:center}
.st-profile-actions{align-self:end;justify-content:flex-end;margin:0;padding:0 0 4px;max-width:330px}
.st-profile-actions .st-btn{min-width:150px}
.st-profile-photo-btn{transition:transform .15s ease,background .15s ease,border-color .15s ease}
.st-profile-photo-btn:hover{transform:translateY(-1px);background:rgba(10,10,12,.9);border-color:rgba(255,255,255,.5)}
.st-avatar-edit{right:3px;bottom:7px}
.st-profile-nav{display:flex;align-items:center;gap:4px;margin:16px 0 0;padding:8px;border:1px solid var(--st-border);border-radius:15px;background:var(--st-surface);box-shadow:var(--st-shadow);overflow-x:auto;scrollbar-width:none}
.st-profile-nav::-webkit-scrollbar{display:none}
.st-profile-nav button{border:0;background:transparent;color:var(--st-muted);padding:8px 16px;border-radius:10px;font-weight:700;cursor:pointer;white-space:nowrap}
.st-profile-nav button:hover{background:var(--st-surface2);color:var(--st-text)}
.st-profile-nav button.active{background:color-mix(in srgb,var(--st-red) 11%,var(--st-surface2));color:var(--st-red-text)}
.st-profile-columns{grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:20px;margin-top:16px}
.st-profile-sidebar-content{display:flex;flex-direction:column;gap:16px;min-width:0}
.st-profile-sidebar-content>.st-card, .st-profile-sidebar-content>div>.st-card{margin:0}
.st-profile-badges-card, .st-profile-about, .st-profile-sidebar-content .st-card{border-radius:18px}
.st-profile-badges-card .st-pagehead, .st-profile-about .st-pagehead{align-items:center}
.st-profile-badges-card .st-pagehead h3, .st-profile-about .st-pagehead h3{margin:0}
.st-profile-badges{gap:8px}
.st-profile-badge{padding:12px 12px}
.st-profile-post-column{min-width:0}
.st-profile-post-title{padding:0 4px 2px;align-items:center}
.st-profile-post-title h2{margin:0;font-size:24px}
#st-profile-posts{display:flex;flex-direction:column;gap:16px}
#st-profile-posts>.st-post{margin:0;border-radius:18px}

@media (min-width:981px){.st-profile-sidebar-content{position:sticky;top:88px}}

@media (max-width:1180px) and (min-width:761px){.st-profile-page-layout{grid-template-columns:80px minmax(0,1fr)}
  .st-profile-page-layout>.st-viewcol{max-width:none}
  .st-profile-cover{height:290px}
  .st-profile-main{grid-template-columns:138px minmax(0,1fr);gap:16px;margin-top:-72px;padding:0 24px 24px}
  .st-profile-main>.st-avatar-wrap>img{width:134px;height:134px}
  .st-profile-text{padding-top:80px}
  .st-profile-actions{grid-column:2;margin-top:8px;justify-content:flex-start;max-width:none}
  .st-profile-columns{grid-template-columns:minmax(260px,310px) minmax(0,1fr)}}

@media (max-width:980px){.st-profile-sidebar-content{position:static}
  .st-profile-columns{grid-template-columns:1fr}}

@media (max-width:760px){.st-profile-page-shell{padding:8px 8px 88px}
  .st-profile-page-layout{display:block}
  .st-profile-page-layout>.st-viewcol{width:100%;max-width:none;gap:8px;padding-bottom:0}
  .st-profile-hero{border-radius:18px}
  .st-profile-cover{height:178px;min-height:178px}
  .st-profile-main{display:flex;flex-direction:column;align-items:center;gap:8px;margin-top:-52px;padding:0 16px 16px;text-align:center}
  .st-profile-main>.st-avatar-wrap>img{width:108px;height:108px;border-width:5px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
  .st-avatar-edit{width:36px;height:36px;right:-2px;bottom:4px}
  .st-cover-edit{right:10px;bottom:10px;width:42px;height:42px;padding:0;border-radius:50%;display:grid;place-items:center}
  .st-cover-edit span{display:none}
  .st-profile-text{width:100%;padding:0;text-align:center}
  .st-profile-name-row{justify-content:center;gap:8px}
  .st-profile-name-row h1{font-size:32px;line-height:1.08}
  .st-profile-official{font-size:12px}
  .st-profile-headline{margin:8px auto 8px;max-width:310px;font-size:15px}
  .st-profile-stats{justify-content:center;gap:20px;margin-top:4px}
  .st-profile-stats span{display:flex;flex-direction:column;gap:0;align-items:center;line-height:1.15}
  .st-profile-stats b{font-size:15px}
  .st-profile-stats small{font-size:12px}
  .st-profile-bio{margin:8px auto 0;max-width:330px;font-size:15px}
  .st-profile-meta-line{justify-content:center;margin-top:8px}
  .st-profile-tiers{justify-content:center}
  .st-profile-actions{width:100%;max-width:360px;margin:8px auto 0;padding:0;justify-content:center}
  .st-profile-actions .st-btn{min-width:0;flex:1 1 140px}
  .st-profile-actions .st-btn:only-child{width:100%;flex-basis:100%}
  .st-profile-nav{position:sticky;top:68px;z-index:30;margin:8px 0;padding:4px;border-radius:13px;box-shadow:0 7px 25px rgba(0,0,0,.12)}
  .st-profile-nav button{flex:0 0 auto;padding:8px 12px;font-size:13px}
  .st-profile-columns{display:flex;flex-direction:column;gap:8px;margin-top:8px}
  .st-profile-post-column{order:1}
  .st-profile-sidebar-content{order:2;gap:8px}
  .st-profile-sidebar-content>.st-card, .st-profile-sidebar-content>div>.st-card{border-radius:16px;padding:16px}
  .st-profile-post-title{padding:2px 4px 0}
  .st-profile-post-title h2{font-size:20px}
  #st-profile-posts{gap:8px}
  #st-profile-posts>.st-post{border-radius:16px}
  .st-profile-badges-card .st-pagehead{display:block}
  .st-profile-badges-card .st-pagehead small{display:block;margin-top:4px}
  .st-profile-about .st-pagehead{gap:8px}
  .st-profile-about .st-pagehead .st-btn{min-height:36px;padding:0 12px}
  .st-profile-badge{padding:8px}}

@media (max-width:390px){.st-profile-page-shell{padding-left:8px;padding-right:8px}
  .st-profile-cover{height:164px;min-height:164px}
  .st-profile-main{padding-left:12px;padding-right:12px}
  .st-profile-name-row h1{font-size:24px}
  .st-profile-stats{gap:16px}
  .st-profile-nav button{padding-left:12px;padding-right:12px}}
.st-profile-page-shell, .st-profile-page-layout, .st-profile-page-layout>.st-viewcol, #st-profile, .st-profile-hero, .st-profile-columns, .st-profile-post-column{min-width:0}
@media (max-width:760px){html, body{max-width:100%;overflow-x:hidden}.st-profile-page-shell{overflow-x:clip}.st-profile-nav{max-width:100%}.st-profile-stats, .st-profile-actions, .st-profile-meta-line{max-width:100%}}

/* === Stories 9:16 + Floating Messenger 1.4.0 === */






















.st-floating-messenger{position:fixed;right:22px;bottom:18px;z-index:180;font-family:inherit}
.st-fm-launcher{position:relative;height:48px;display:flex;align-items:center;gap:8px;padding:0 16px;border:1px solid var(--st-border);border-radius:24px;background:var(--st-surface);color:var(--st-text);box-shadow:0 14px 38px rgba(0,0,0,.22);font-weight:700;cursor:pointer}
.st-fm-launcher:hover{border-color:color-mix(in srgb,var(--st-red) 45%,var(--st-border));transform:translateY(-1px)}
.st-fm-launcher-icon{font-size:17px;color:var(--st-red-text)}
.st-fm-launcher b{position:absolute;right:-5px;top:-7px;min-width:21px;height:21px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:var(--st-red);color:#fff;font-size:12px;border:2px solid var(--st-bg)}
.st-fm-panel{position:absolute;right:0;bottom:60px;width:370px;height:min(560px,calc(100vh - 105px));overflow:hidden;border:1px solid var(--st-border);border-radius:20px;background:var(--st-surface);color:var(--st-text);box-shadow:0 25px 80px rgba(0,0,0,.36)}
.st-fm-panel[hidden]{display:none!important}
.st-fm-header{height:62px;padding:0 12px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid var(--st-border);background:color-mix(in srgb,var(--st-surface) 94%,transparent)}
.st-fm-title{display:flex;align-items:center;gap:8px;min-width:0}
.st-fm-title>div{min-width:0}
.st-fm-title strong, .st-fm-title small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-fm-title strong{font-size:15px}.st-fm-title small{margin-top:1px;color:var(--st-muted);font-size:12px;font-weight:600}
.st-fm-header-actions{display:flex;gap:4px}
.st-fm-header-btn{width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--st-surface2);color:var(--st-text);font-size:20px;line-height:1;cursor:pointer}
.st-fm-header-btn:hover{background:color-mix(in srgb,var(--st-red) 10%,var(--st-surface2));color:var(--st-red-text)}
.st-fm-list-view, .st-fm-new-view, .st-fm-chat-view{height:calc(100% - 62px)}
.st-fm-list{height:100%;overflow:auto;padding:8px}
.st-fm-conversation{width:100%;display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px;border:0;border-radius:13px;background:transparent;color:var(--st-text);text-align:left;cursor:pointer}
.st-fm-conversation:hover{background:var(--st-surface2)}
.st-fm-avatar-wrap{position:relative;width:48px;height:48px}
.st-fm-avatar-wrap img{width:48px;height:48px;border-radius:50%;object-fit:cover;background:var(--st-surface2)}
.st-fm-avatar-wrap i{position:absolute;right:1px;bottom:1px;width:11px;height:11px;border-radius:50%;background:#19b45b;border:2px solid var(--st-surface)}
.st-fm-conversation-copy{min-width:0}
.st-fm-conversation-copy strong, .st-fm-conversation-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-fm-conversation-copy strong{font-size:15px}.st-fm-conversation-copy small{margin-top:4px;color:var(--st-muted);font-size:12px}
.st-fm-unread{min-width:22px;height:22px;padding:0 8px;display:grid;place-items:center;border-radius:999px;background:var(--st-red);color:#fff;font-size:12px}
.st-fm-empty{padding:28px 16px;text-align:center;color:var(--st-muted);font-size:15px}
.st-fm-search-wrap{padding:8px;border-bottom:1px solid var(--st-border)}
.st-fm-search-wrap input{width:100%;height:42px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);color:var(--st-text);padding:0 12px;outline:0}
.st-fm-search-wrap input:focus{border-color:color-mix(in srgb,var(--st-red) 55%,var(--st-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--st-red) 10%,transparent)}
.st-fm-new-view .st-fm-list{height:calc(100% - 63px)}
.st-fm-chat-view{display:grid;grid-template-rows:minmax(0,1fr) auto auto}
.st-fm-messages{overflow:auto;padding:12px 8px 8px;background:linear-gradient(180deg,color-mix(in srgb,var(--st-surface2) 50%,var(--st-surface)),var(--st-surface))}
.st-fm-message{display:flex;align-items:flex-end;gap:8px;margin:8px 0;max-width:88%}
.st-fm-message.mine{margin-left:auto;justify-content:flex-end}
.st-fm-message>img{width:28px;height:28px;flex:0 0 28px;border-radius:50%;object-fit:cover}
.st-fm-bubble{max-width:100%;padding:8px 12px;border-radius:15px 15px 15px 5px;background:var(--st-surface2);border:1px solid var(--st-border);font-size:15px;line-height:1.4;overflow-wrap:anywhere}
.st-fm-message.mine .st-fm-bubble{background:var(--st-red);border-color:var(--st-red);color:#fff;border-radius:15px 15px 5px 15px}
.st-fm-bubble>img{display:block;max-width:210px;max-height:230px;width:auto;height:auto;margin:4px 0;border-radius:10px;object-fit:contain}
.st-fm-bubble small{display:block;margin-top:4px;color:var(--st-muted);font-size:12px}
.st-fm-message.mine .st-fm-bubble small{color:rgba(255,255,255,.74)}
.st-fm-typing{min-height:22px;padding:2px 12px;color:var(--st-muted);font-size:12px}
.st-fm-form{display:grid;grid-template-columns:38px minmax(0,1fr) 40px;gap:8px;align-items:center;padding:8px;border-top:1px solid var(--st-border);background:var(--st-surface)}
.st-fm-form>input{height:39px;min-width:0;border:1px solid var(--st-border);border-radius:20px;background:var(--st-surface2);color:var(--st-text);padding:0 12px;outline:0}
.st-fm-attach, .st-fm-form>button{width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:50%;background:var(--st-surface2);color:var(--st-red-text);font-size:1.25rem;font-weight:700;cursor:pointer}
.st-fm-form>button{background:var(--st-red);color:#fff;font-size:15px}
.st-fm-form>button:disabled{opacity:.5}

@media (max-width:760px){.st-floating-messenger{right:10px;bottom:78px}
 .st-fm-launcher{width:48px;padding:0;justify-content:center}
 .st-fm-launcher-label{display:none}
 .st-fm-panel{position:fixed;left:10px;right:10px;bottom:76px;width:auto;height:min(610px,calc(100vh - 145px));border-radius:18px}}

/* === Facebook-like feed interactions 1.5.0 === */
.st-mention{color:#2d88ff;font-weight:600;text-decoration:none}.st-mention:hover{text-decoration:underline}
.st-mention-menu{position:fixed;z-index:10020;max-height:260px;overflow:auto;padding:8px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface);box-shadow:0 18px 55px rgba(0,0,0,.35)}
.st-mention-menu button{width:100%;display:flex;align-items:center;gap:8px;padding:8px;border:0;border-radius:10px;background:transparent;color:var(--st-text);text-align:left;cursor:pointer}.st-mention-menu button:hover{background:var(--st-surface2)}
.st-mention-menu img{width:38px;height:38px;border-radius:50%;object-fit:cover}.st-mention-menu span{min-width:0}.st-mention-menu strong, .st-mention-menu small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-mention-menu small{color:var(--st-muted);margin-top:2px}
.st-composer-media-preview{padding-top:8px}.st-composer-media-preview:empty{display:none}.st-composer-preview-grid{display:grid;width:100%;gap:4px;overflow:hidden;border-radius:14px;background:var(--st-border);max-height:360px}.st-composer-preview-item{position:relative;min-width:0;min-height:0;overflow:hidden;background:#171717}.st-composer-preview-item img, .st-composer-preview-item video{display:block;width:100%;height:100%;object-fit:cover}.st-composer-preview-grid.st-media-count-1{grid-template-columns:1fr;aspect-ratio:16/8}.st-composer-preview-grid.st-media-count-2{grid-template-columns:1fr 1fr;aspect-ratio:16/8}.st-composer-preview-grid.st-media-count-3{grid-template-columns:1.15fr .85fr;grid-template-rows:1fr 1fr;aspect-ratio:16/9}.st-composer-preview-grid.st-media-count-3 .st-composer-preview-item:nth-child(1){grid-row:1/3}.st-composer-preview-grid.st-media-count-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:16/10}.st-composer-preview-grid.st-media-count-5{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr 1fr;aspect-ratio:16/10}.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(1){grid-column:1/4}.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(2){grid-column:4/7}.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(3){grid-column:1/3}.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(4){grid-column:3/5}.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(5){grid-column:5/7}

/* Stories are always a vertical 9:16 tile, the uploaded media is centrally cropped. */




/* Facebook-style multi-media mosaic. A single photo still keeps its natural height. */
.st-post-media-grid{display:grid;width:100%;gap:4px;background:var(--st-border);overflow:hidden;max-height:680px}.st-post-media-item{position:relative;min-width:0;min-height:0;overflow:hidden;background:#171717}.st-post-media-item img, .st-post-media-item video{display:block;width:100%;height:100%;object-fit:cover;object-position:center}.st-post-media-item video{pointer-events:none}
.st-post-media-grid.st-media-count-2{grid-template-columns:1fr 1fr;aspect-ratio:16/9}.st-post-media-grid.st-media-count-3{grid-template-columns:1.15fr .85fr;grid-template-rows:1fr 1fr;aspect-ratio:16/10}.st-post-media-grid.st-media-count-3 .st-post-media-item:nth-child(1){grid-row:1/3}.st-post-media-grid.st-media-count-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:1/1}.st-post-media-grid.st-media-count-5{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr 1fr;aspect-ratio:16/10}.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(1){grid-column:1/4}.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(2){grid-column:4/7}.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(3){grid-column:1/3}.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(4){grid-column:3/5}.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(5){grid-column:5/7}.st-post-media-item.st-media-hidden{display:none!important}.st-media-more{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;background:rgba(0,0,0,.58);color:#fff;text-align:center;pointer-events:none}.st-media-more strong{font-size:clamp(1.8rem,5vw,3.2rem);line-height:1;font-weight:600}.st-media-more small{margin-top:8px;font-size:12px;font-weight:600}.st-media-has-more{cursor:pointer}
.st-media-video-icon{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:rgba(0,0,0,.62);color:#fff;font-size:17px;pointer-events:none}

/* Compact reaction summary + picker shown only on hover/long press. */
.st-reaction-summary{display:flex;align-items:center;min-height:23px}.st-reaction-summary>span{width:20px;height:20px;display:grid;place-items:center;margin-left:-4px;border-radius:50%;background:var(--st-surface);font-size:15px;box-shadow:0 0 0 2px var(--st-surface)}.st-reaction-summary>span:first-child{margin-left:0}.st-reaction-summary b{margin-left:8px;color:var(--st-muted);font-size:13px;font-weight:700}
.st-post-actions{overflow:visible;align-items:stretch}.st-like-wrap{position:relative;flex:1;min-width:0}.st-like-wrap>.st-like-button{width:100%;height:100%;display:flex;align-items:center;justify-content:center;gap:8px}.st-like-button .st-like-icon{font-size:17px}.st-like-button.active{color:var(--st-red-text)}
.st-reaction-picker{position:absolute;z-index:80;left:0;bottom:calc(100% + 7px);display:flex;align-items:flex-end;gap:4px;padding:8px 8px;border:1px solid color-mix(in srgb,var(--st-border) 82%,transparent);border-radius:999px;background:var(--st-surface);box-shadow:0 10px 34px rgba(0,0,0,.35);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(6px) scale(.96);transform-origin:left bottom;transition:opacity .12s,transform .12s,visibility .12s}
.st-like-wrap.open .st-reaction-picker, .st-like-wrap:focus-within .st-reaction-picker{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.st-reaction-picker::after{content:"";position:absolute;left:0;right:0;bottom:-12px;height:14px;background:transparent}.st-reaction-picker button{position:relative;width:40px;height:40px;flex:0 0 40px;padding:0!important;border:0!important;border-radius:50%!important;background:transparent!important;display:grid!important;place-items:center;overflow:visible!important;cursor:pointer;transition:transform .12s}.st-reaction-picker button:hover{transform:translateY(-7px) scale(1.3)}.st-reaction-picker button>span{font-size:24px;line-height:1}.st-reaction-picker button>small{position:absolute;bottom:calc(100% + 9px);left:50%;transform:translateX(-50%);display:none;padding:4px 8px;border-radius:7px;background:#171717;color:#fff;font-size:12px;white-space:nowrap}.st-reaction-picker button:hover>small{display:block}
.st-post-report{flex:0 0 42px!important}.st-post-save{max-width:110px}

/* Comments open as a centered popup on desktop and full-screen sheet on phones. */
html.st-comments-open, html.st-comments-open body{overflow:hidden}.st-comments-modal{width:min(720px,calc(100vw - 30px));height:min(850px,calc(100vh - 30px));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid var(--st-border);border-radius:18px;background:var(--st-surface);color:var(--st-text);box-shadow:0 30px 100px rgba(0,0,0,.62);overflow:hidden}.st-comments-modal::backdrop{background:rgba(0,0,0,.7);backdrop-filter:blur(3px)}
.st-comments-modal-shell{height:100%;display:grid;grid-template-rows:58px minmax(0,1fr) auto}.st-comments-modal-head{display:flex;align-items:center;justify-content:center;padding:0 56px;position:relative;border-bottom:1px solid var(--st-border);font-size:17px}.st-comments-modal-close{position:absolute;right:12px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:var(--st-surface2);color:var(--st-muted);font-size:24px;cursor:pointer}.st-comments-modal-close:hover{color:var(--st-text)}
.st-comments-modal-scroll{min-height:0;overflow:auto;overscroll-behavior:contain}.st-comments-post-preview{border-bottom:1px solid var(--st-border);padding-top:16px}.st-comments-post-preview>.st-post-head, .st-comments-post-preview>.st-post-body{padding-left:16px;padding-right:16px}.st-comments-post-preview>.st-post-stats{padding-left:16px;padding-right:16px}.st-comments-post-preview .st-post-media-grid, .st-comments-post-preview>.st-post-media{margin-top:8px}
.st-comments-heading{display:flex;align-items:center;justify-content:space-between;padding:16px 16px 8px;color:var(--st-muted)}.st-comments-heading strong{color:var(--st-text)}
#st-comments-modal-list{padding:4px 16px 16px}.st-comment-thread{margin-top:12px;margin-left:calc(var(--comment-level,0) * 38px)}.st-comment-thread.is-reply{position:relative}.st-comment-thread.is-reply::before{content:"";position:absolute;left:-22px;top:-8px;width:14px;height:28px;border-left:2px solid var(--st-border);border-bottom:2px solid var(--st-border);border-radius:0 0 0 10px}.st-comment{display:flex;align-items:flex-start;gap:8px;margin:0}.st-comment>a>img, .st-comment>img{width:36px;height:36px;border-radius:50%;object-fit:cover}.st-comment-main{min-width:0;max-width:min(100%,580px)}.st-comment-bubble{display:inline-block;max-width:100%;padding:8px 12px;border-radius:16px;background:var(--st-surface2);line-height:1.35}.st-comment-bubble strong{display:block;margin-bottom:2px}.st-comment-bubble>div{overflow-wrap:anywhere}.st-comment-meta{display:flex;gap:8px;align-items:center;padding:4px 8px 0;font-size:12px;color:var(--st-muted)}.st-comment-meta button{padding:0;border:0;background:transparent;color:inherit;font-size:inherit;font-weight:600;cursor:pointer}.st-comment-meta button:hover{color:var(--st-text)}
.st-comments-composer{border-top:1px solid var(--st-border);background:var(--st-surface);padding:8px 12px}.st-comments-composer form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end}.st-comments-composer textarea{width:100%;max-height:120px;resize:none;border:1px solid var(--st-border);border-radius:18px;background:var(--st-surface2);color:var(--st-text);padding:8px 12px;outline:0;line-height:1.35}.st-comments-composer textarea:focus{border-color:color-mix(in srgb,var(--st-red) 48%,var(--st-border))}.st-comment-replying{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 8px 8px;color:var(--st-muted);font-size:.75rem}.st-comment-replying button{border:0;background:transparent;color:var(--st-muted);font-size:17px;cursor:pointer}

@media (max-width:760px){.st-post-actions{padding-left:4px;padding-right:4px}.st-post-actions>button, .st-like-wrap>.st-like-button{font-size:12px;padding-left:4px;padding-right:4px}.st-post-actions>button span, .st-like-button span:last-child{display:none}.st-like-button .st-like-icon{display:inline!important;font-size:20px}.st-post-save{max-width:none}.st-post-report{flex-basis:34px!important}
 .st-reaction-picker{position:fixed;left:50%;bottom:92px;transform:translate(-50%,8px) scale(.96);transform-origin:center bottom;max-width:calc(100vw - 18px);gap:1px;padding:8px}.st-like-wrap.open .st-reaction-picker, .st-like-wrap:focus-within .st-reaction-picker{transform:translateX(-50%)}.st-reaction-picker button{width:39px;height:39px;flex-basis:39px}.st-reaction-picker button>span{font-size:24px}.st-reaction-picker button>small{display:none!important}
 .st-post-media-grid{max-height:520px}.st-post-media-grid.st-media-count-2{aspect-ratio:1/1}.st-post-media-grid.st-media-count-3{aspect-ratio:4/5}.st-post-media-grid.st-media-count-4{aspect-ratio:1/1}.st-post-media-grid.st-media-count-5{aspect-ratio:4/5}.st-composer-preview-grid{max-height:300px}.st-composer-preview-grid.st-media-count-5{aspect-ratio:4/5}
 .st-comments-modal{width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.st-comments-modal-shell{grid-template-rows:54px minmax(0,1fr) auto}.st-comments-modal-head{font-size:15px}.st-comments-modal-close{top:8px;width:36px;height:36px}.st-comments-post-preview>.st-post-head, .st-comments-post-preview>.st-post-body{padding-left:12px;padding-right:12px}.st-comments-post-preview>.st-post-stats{padding-left:12px;padding-right:12px}.st-comments-heading{padding-left:12px;padding-right:12px}#st-comments-modal-list{padding-left:8px;padding-right:8px}.st-comment-thread{margin-left:calc(var(--comment-level,0) * 24px)}.st-comment-thread.is-reply::before{left:-14px;width:9px}.st-comments-composer{padding:8px 8px calc(8px + env(safe-area-inset-bottom))}.st-comments-composer form{grid-template-columns:minmax(0,1fr) 76px}.st-comments-composer .st-btn{min-height:40px;padding:0 8px}
 .st-mention-menu{z-index:10050}}


/* === Profile cover + Facebook-like system typography 1.5.1 === */
html, body, button, input, select, textarea{font-family:var(--st-font-system)}
body{font-size:15px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
.st-brand, .st-sidebar a, .st-btn, .st-profile-nav button, .st-post-actions button{letter-spacing:0}

.st-profile-hero{isolation:isolate}
.st-profile-cover{position:relative;height:clamp(300px,27vw,390px);min-height:300px;aspect-ratio:auto!important;background-position:center 45%;background-size:cover;background-repeat:no-repeat;overflow:hidden}
.st-profile-cover:not(.has-cover){background:radial-gradient(circle at 75% 20%,rgba(163,28,27,.32),transparent 34%),linear-gradient(135deg,#27272b,#111114 58%,#380000)}
.st-profile-cover.has-cover::after{content:"";position:absolute;z-index:1;inset:auto 0 0;height:92px;background:linear-gradient(transparent,rgba(0,0,0,.34));pointer-events:none}
.st-cover-edit{z-index:3;right:18px;bottom:18px;min-height:40px;padding:0 16px;border-color:rgba(255,255,255,.28);background:rgba(18,18,20,.82);color:#fff;font-weight:700;box-shadow:0 5px 18px rgba(0,0,0,.28);backdrop-filter:blur(10px)}
.st-cover-edit:hover:not(:disabled){background:rgba(18,18,20,.96);border-color:rgba(255,255,255,.48)}
.st-profile-photo-btn:disabled{cursor:progress;opacity:.9}
.st-profile-photo-btn.is-loading{pointer-events:none}
.st-profile-cover.is-uploading::before{content:"";position:absolute;z-index:2;inset:0;background:rgba(0,0,0,.16);pointer-events:none}
.st-avatar-wrap.is-uploading::after{content:"";position:absolute;z-index:4;inset:0;border-radius:50%;background:rgba(0,0,0,.22);pointer-events:none}
.st-profile-main{margin-top:-72px}
.st-profile-main>.st-avatar-wrap{z-index:4}
.st-profile-main>.st-avatar-wrap>img{border-color:var(--st-surface)}
.st-profile-name-row h1{font-weight:700;letter-spacing:-.02em}
.st-profile-stats b{font-weight:700}.st-profile-stats small{font-weight:600}
.st-profile-actions .st-btn, .st-profile-nav button{font-weight:600}

@media (max-width:1180px) and (min-width:761px){.st-profile-cover{height:clamp(275px,31vw,340px);min-height:275px}}
@media (max-width:760px){.st-profile-cover{height:220px;min-height:220px;background-position:center center}
 .st-profile-main{margin-top:-56px}
 .st-cover-edit{right:10px;bottom:10px;width:auto;height:38px;min-height:38px;padding:0 12px;border-radius:10px;font-size:12px;display:inline-flex;gap:8px}
 .st-cover-edit span{display:inline}
 .st-profile-name-row h1{font-weight:700;letter-spacing:-.015em}}
@media (max-width:420px){.st-profile-cover{height:198px;min-height:198px}
 .st-cover-edit{width:40px;height:40px;min-height:40px;padding:0;border-radius:50%;display:grid;place-items:center}
 .st-cover-edit span{display:none}}

/* === Facebook-style multi-media gallery 1.5.2 === */

/* === Square post media + focal point editor 1.5.3 === */
.st-post-media-single, .st-post-media-grid{
  width:100%;
  aspect-ratio:1/1!important;
  max-height:none!important;
  overflow:hidden;
  background:#171717;
}
.st-post-media-single>img, .st-post-media-single>video, .st-post-media-item>img, .st-post-media-item>video{
  display:block;
  width:100%!important;
  height:100%!important;
  max-height:none!important;
  object-fit:cover!important;
}
.st-post-media-grid.st-media-count-1{grid-template-columns:1fr;grid-template-rows:1fr}
.st-post-media-grid.st-media-count-2{grid-template-columns:1fr 1fr;grid-template-rows:1fr;aspect-ratio:1/1!important}
.st-post-media-grid.st-media-count-3{grid-template-columns:1.12fr .88fr;grid-template-rows:1fr 1fr;aspect-ratio:1/1!important}
.st-post-media-grid.st-media-count-3 .st-post-media-item:nth-child(1){grid-row:1/3}
.st-post-media-grid.st-media-count-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:1/1!important}
.st-post-media-grid.st-media-count-5{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr 1fr;aspect-ratio:1/1!important}
.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(1){grid-column:1/4}
.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(2){grid-column:4/7}
.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(3){grid-column:1/3}
.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(4){grid-column:3/5}
.st-post-media-grid.st-media-count-5 .st-post-media-item:nth-child(5){grid-column:5/7}

/* Composer preview uses the exact same 1:1 crop as the published post. */
.st-composer-preview-grid{aspect-ratio:1/1!important;max-height:none!important}
.st-composer-preview-grid.st-media-count-1{grid-template-columns:1fr;grid-template-rows:1fr;aspect-ratio:1/1!important}
.st-composer-preview-grid.st-media-count-2{grid-template-columns:1fr 1fr;grid-template-rows:1fr;aspect-ratio:1/1!important}
.st-composer-preview-grid.st-media-count-3{grid-template-columns:1.12fr .88fr;grid-template-rows:1fr 1fr;aspect-ratio:1/1!important}
.st-composer-preview-grid.st-media-count-3 .st-composer-preview-item:nth-child(1){grid-row:1/3}
.st-composer-preview-grid.st-media-count-4{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:1/1!important}
.st-composer-preview-grid.st-media-count-5{grid-template-columns:repeat(6,minmax(0,1fr));grid-template-rows:1fr 1fr;aspect-ratio:1/1!important}
.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(1){grid-column:1/4}
.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(2){grid-column:4/7}
.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(3){grid-column:1/3}
.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(4){grid-column:3/5}
.st-composer-preview-grid.st-media-count-5 .st-composer-preview-item:nth-child(5){grid-column:5/7}
.st-composer-preview-item{touch-action:none;cursor:grab;user-select:none}
.st-composer-preview-item.is-dragging{cursor:grabbing}
.st-composer-position-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 2px 0;color:var(--st-muted);font-size:13px}

.st-post-media-position-btn{font-size:15px}
.st-media-position-dialog{width:min(920px,calc(100vw - 28px));max-height:min(860px,calc(100dvh - 28px));padding:0;border:1px solid var(--st-border);border-radius:20px;background:var(--st-surface);color:var(--st-text);box-shadow:0 28px 90px rgba(0,0,0,.55)}
.st-media-position-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(3px)}
.st-media-position-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:calc(100dvh - 30px)}
.st-media-position-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--st-border)}
.st-media-position-shell>header strong, .st-media-position-shell>header small{display:block}
.st-media-position-shell>header strong{font-size:17px}.st-media-position-shell>header small{margin-top:4px;color:var(--st-muted)}
.st-media-position-shell>header button{width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:var(--st-surface2);color:var(--st-text);font-size:24px;cursor:pointer}
.st-media-position-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:16px 20px;overflow:auto}
.st-media-position-card{min-width:0;border:1px solid var(--st-border);border-radius:16px;overflow:hidden;background:var(--st-surface2)}
.st-media-position-crop{position:relative;aspect-ratio:1/1;overflow:hidden;background:#171717;touch-action:none;cursor:grab;user-select:none}
.st-media-position-crop.is-dragging{cursor:grabbing}
.st-media-position-crop>img, .st-media-position-crop>video{width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}
.st-media-position-hint{position:absolute;left:50%;bottom:9px;transform:translateX(-50%);padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.66);color:#fff;font-size:12px;font-weight:700;pointer-events:none;opacity:.82}
.st-media-position-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 8px;font-size:13px}.st-media-position-card-foot span{font-weight:700}.st-media-position-card-foot small{color:var(--st-muted);font-weight:500}.st-media-position-card-foot button{border:0;background:transparent;color:var(--st-red-text);font-weight:700;cursor:pointer}
.st-media-position-shell>footer{display:grid;grid-template-columns:auto 1fr auto auto;gap:8px;padding:12px 20px;border-top:1px solid var(--st-border);background:var(--st-surface)}

@media (max-width:760px){.st-post-media-single, .st-post-media-grid{aspect-ratio:1/1!important;max-height:none!important}
 .st-composer-preview-grid{aspect-ratio:1/1!important;max-height:none!important}
 .st-composer-position-bar{align-items:stretch;flex-direction:column}.st-composer-position-bar .st-btn{width:100%}
 .st-media-position-dialog{width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}
 .st-media-position-shell{height:100dvh;max-height:100dvh}.st-media-position-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;gap:8px}
 .st-media-position-shell>header{padding:16px 12px}.st-media-position-shell>footer{grid-template-columns:1fr 1fr;padding:8px 12px calc(10px + env(safe-area-inset-bottom))}.st-media-position-shell>footer span{display:none}.st-media-position-shell>footer .st-btn{padding-left:8px;padding-right:8px}.st-media-position-shell>footer [data-pos-reset-all]{grid-column:1/3}}

/* === Media ordering + Members directory 1.5.4 === */
.st-media-order-row{display:grid;grid-template-columns:36px auto 1fr 34px 34px;gap:8px;align-items:center;padding:8px 8px;border-bottom:1px solid var(--st-border);background:var(--st-surface)}
.st-media-order-row>button{width:34px;height:32px;border:1px solid var(--st-border);border-radius:9px;background:var(--st-surface2);color:var(--st-text);cursor:pointer;font-weight:600}
.st-media-order-row>button:disabled{opacity:.3;cursor:not-allowed}.st-media-order-handle{cursor:grab!important;font-size:17px;touch-action:none}.st-media-order-handle:active{cursor:grabbing!important}
.st-media-position-card.is-order-dragging{opacity:.46}.st-media-position-card.is-order-target{outline:3px solid var(--st-red-text);outline-offset:-3px}
.st-composer-media-number{position:absolute;top:8px;left:8px;z-index:5;display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:rgba(0,0,0,.7);color:#fff;font-size:12px;font-weight:600;pointer-events:none}
.st-members-head{align-items:flex-end}.st-members-head p{margin:4px 0 0}.st-members-status{color:var(--st-muted);font-size:15px;font-weight:600;white-space:nowrap}
.st-members-toolbar{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface);box-shadow:var(--st-shadow)}
.st-members-search-icon{color:var(--st-muted);font-size:17px}.st-members-toolbar input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--st-text);font-size:15px}.st-members-toolbar .st-icon-btn{width:34px;height:34px}
.st-members-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.st-members-grid .st-member-card{min-width:0}.st-member-you{display:inline-flex;margin-left:8px;padding:2px 8px;border-radius:999px;background:var(--st-surface2);border:1px solid var(--st-border);color:var(--st-muted);font-size:12px;vertical-align:middle}
@media (max-width:760px){.st-media-position-grid{grid-template-columns:1fr}.st-media-order-row{grid-template-columns:34px auto 1fr 34px 34px}.st-members-head{align-items:flex-start;flex-direction:column}.st-members-status{white-space:normal}.st-members-grid{grid-template-columns:1fr}.st-members-toolbar{position:sticky;top:72px;z-index:8}}

/* === Shin Tomo 1.6.0 — Groups === */
.st-group-list-card{padding:0;overflow:hidden}.st-group-list-card .st-group-card-cover{display:block;position:relative;height:150px;margin:0;border-radius:0;background:linear-gradient(135deg,#171717,#710000) center/cover no-repeat}.st-group-card-avatar{position:absolute;left:16px;bottom:-28px;z-index:2}.st-group-list-body{padding:40px 16px 16px}.st-group-list-body h3{margin:.25rem 0 8px}.st-group-list-body p{min-height:2.7em}.st-group-avatar-img, .st-group-avatar-fallback{width:112px;height:112px;border-radius:22px;border:5px solid var(--st-surface);background:var(--st-surface2);object-fit:cover;display:grid;place-items:center;font-size:2.5rem;font-weight:700;box-shadow:0 10px 32px rgba(0,0,0,.24)}.st-group-avatar-img.small, .st-group-avatar-fallback.small{width:62px;height:62px;border-radius:16px;border-width:4px;font-size:24px}.st-group-closed-chip{position:absolute;right:12px;top:12px;padding:8px 8px;border-radius:999px;background:rgba(0,0,0,.76);color:#fff;font-size:12px;font-weight:700}.st-group-hero{padding:0;overflow:hidden}.st-group-cover{height:330px;position:relative;background:linear-gradient(135deg,#171717,#6e1312) center/cover no-repeat}.st-group-cover::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.45));pointer-events:none}.st-group-cover-edit{position:absolute;right:18px;bottom:18px;z-index:3}.st-group-closed-banner{position:absolute;left:18px;top:18px;z-index:3;padding:8px 12px;border-radius:999px;background:#171717;color:#fff;font-weight:950;letter-spacing:.06em;font-size:12px}.st-group-identity{display:flex;align-items:flex-end;gap:16px;padding:0 24px 24px;position:relative}.st-group-avatar-wrap{position:relative;margin-top:-56px;z-index:4;flex:0 0 auto}.st-group-avatar-edit{position:absolute;right:-4px;bottom:4px;width:40px;height:40px;border-radius:50%;padding:0;display:grid;place-items:center}.st-group-title-block{flex:1;min-width:0;padding-top:16px}.st-group-title-block h1{font-size:clamp(1.75rem,3vw,2.55rem);letter-spacing:-.035em;margin:.12rem 0 4px}.st-group-owner-line{color:var(--st-muted);font-size:15px}.st-group-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;padding-bottom:4px}.st-owner-chip, .st-group-status-message{display:inline-flex;align-items:center;min-height:42px;padding:0 16px;border-radius:12px;background:var(--st-surface2);border:1px solid var(--st-border);font-weight:700}.st-group-tabs{display:flex;gap:4px;margin:16px 0 16px;padding:8px;background:var(--st-surface);border:1px solid var(--st-border);border-radius:16px;box-shadow:var(--st-shadow);overflow:auto;scrollbar-width:none}.st-group-tabs::-webkit-scrollbar{display:none}.st-group-tabs button{border:0;background:transparent;color:var(--st-muted);padding:12px 16px;border-radius:11px;font-weight:700;cursor:pointer;white-space:nowrap}.st-group-tabs button:hover{background:var(--st-surface2);color:var(--st-text)}.st-group-tabs button.active{background:color-mix(in srgb,var(--st-red) 15%,var(--st-surface2));color:var(--st-red-text)}.st-group-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:16px;align-items:start}.st-group-main{display:flex;flex-direction:column;gap:16px;min-width:0}.st-group-side{position:sticky;top:92px}.st-group-facts{display:flex;flex-direction:column;gap:8px;margin-top:16px;color:var(--st-muted);font-size:15px}.st-group-notice{padding:16px;color:var(--st-muted)}.st-group-composer{padding:16px}.st-group-composer-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.st-group-composer-top select{border:1px solid var(--st-border);background:var(--st-surface2);color:var(--st-text);border-radius:10px;padding:8px 8px;font-weight:600}.st-group-discussion-input{width:100%;height:44px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);color:var(--st-text);padding:0 12px;margin-bottom:8px;font-weight:600}.st-discussion-title{padding:16px 0 4px}.st-discussion-title span{display:inline-flex;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--st-red) 12%,var(--st-surface2));color:var(--st-red-text);font-size:12px;font-weight:950;text-transform:uppercase}.st-discussion-title h3{margin:8px 0 0;font-size:20px}.st-group-media-section{padding:16px}.st-group-media-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:16px;border-radius:14px;overflow:hidden}.st-group-media-tile{position:relative;aspect-ratio:1/1;overflow:hidden;background:#171717;cursor:zoom-in}.st-group-media-tile img, .st-group-media-tile video{width:100%;height:100%;object-fit:cover;display:block}.st-group-media-tile>span{position:absolute;inset:auto 8px 8px auto;width:34px;height:34px;border-radius:50%;background:rgba(0,0,0,.65);color:#fff;display:grid;place-items:center}.st-group-member-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.st-group-member-card{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface2)}.st-group-member-card img{width:54px;height:54px;border-radius:50%;object-fit:cover}.st-group-member-card span{min-width:0}.st-group-member-card strong, .st-group-member-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-group-member-card small{color:var(--st-muted);margin-top:4px}.st-group-description-long{white-space:pre-wrap;line-height:1.65}.st-group-manage-modal{width:min(900px,calc(100% - 28px));max-height:min(88vh,900px);overflow:auto;padding:0}.st-group-manage-head{position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;background:color-mix(in srgb,var(--st-surface) 94%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--st-border)}.st-group-manage-head h2{margin:.1rem 0}.st-group-settings, .st-group-admin-section, .st-group-danger-zone{padding:20px}.st-group-admin-section{border-top:1px solid var(--st-border)}.st-group-danger-zone{border-top:1px solid color-mix(in srgb,var(--st-red) 45%,var(--st-border));background:color-mix(in srgb,var(--st-red) 5%,var(--st-surface))}.st-group-danger-zone h3{color:var(--st-red-text)}.st-group-admin-members{margin-top:12px}.st-group-admin-member{display:grid;grid-template-columns:52px minmax(150px,1fr) minmax(220px,auto);gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--st-border)}.st-group-admin-member>a img{width:48px;height:48px;border-radius:50%;object-fit:cover}.st-group-admin-member-info{min-width:0}.st-group-admin-member-info strong, .st-group-admin-member-info small{display:block}.st-group-admin-member-info small{color:var(--st-muted);margin-top:4px}.st-group-admin-member-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.st-group-admin-member-actions .st-btn{min-height:36px;padding:0 12px;font-size:12px}.st-group-locked{margin-top:16px}
@media (max-width:1100px){.st-group-layout{grid-template-columns:1fr}.st-group-side{position:static}.st-group-media-wall{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.st-group-cover{height:210px}.st-group-cover-edit{right:10px;bottom:10px;font-size:.75rem;padding:0 8px}.st-group-identity{align-items:center;flex-direction:column;text-align:center;padding:0 16px 16px}.st-group-avatar-wrap{margin-top:-52px}.st-group-avatar-img, .st-group-avatar-fallback{width:104px;height:104px;border-radius:22px}.st-group-title-block{padding-top:0}.st-group-owner-line{font-size:13px}.st-group-actions{justify-content:center;width:100%}.st-group-actions .st-btn{flex:1}.st-group-tabs{margin:8px 0 16px;border-radius:13px}.st-group-tabs button{padding:8px 12px}.st-group-main{gap:12px}.st-group-composer-top{align-items:stretch;flex-direction:column}.st-group-composer-top select{width:100%}.st-group-media-wall{grid-template-columns:repeat(3,minmax(0,1fr))}.st-group-member-grid{grid-template-columns:1fr}.st-group-manage-modal{width:100%;max-width:none;max-height:100dvh;height:100dvh;border-radius:0;border:0}.st-group-manage-head{padding:16px}.st-group-settings, .st-group-admin-section, .st-group-danger-zone{padding:16px}.st-group-admin-member{grid-template-columns:44px 1fr}.st-group-admin-member>a img{width:42px;height:42px}.st-group-admin-member-actions{grid-column:1/-1;justify-content:flex-start;padding-left:56px}.st-group-admin-member-actions .st-btn{flex:1}.st-group-list-card .st-group-card-cover{height:125px}}
.st-group-page-shell{max-width:1500px}.st-group-page-layout{grid-template-columns:220px minmax(0,1fr)}.st-group-page-layout>.st-viewcol{width:100%;max-width:1180px}.st-group-rightbar{display:none!important}@media (max-width:1180px){.st-group-page-layout{grid-template-columns:80px minmax(0,1fr)}.st-group-page-layout>.st-viewcol{max-width:none}}@media (max-width:760px){.st-group-page-shell{padding:8px 8px 88px}.st-group-page-layout{display:block}.st-group-page-layout>.st-viewcol{width:100%;max-width:none;padding-bottom:0}}
.st-group-comment-closed{width:100%;padding:12px 16px;border-radius:12px;background:var(--st-surface2);color:var(--st-muted);font-weight:600;text-align:center}

/* 1.7.0 — repositionable covers + vertical Reel upload/progress */
.st-cover-actions{position:absolute;right:18px;bottom:18px;display:flex;gap:8px;align-items:center;z-index:3}.st-cover-actions .st-profile-photo-btn{position:static}.st-group-cover-actions{right:18px;bottom:18px}.st-profile-cover, .st-group-cover{background-repeat:no-repeat;background-size:cover;touch-action:none}
.st-cover-position-dialog{width:min(920px,calc(100vw - 24px));max-width:none;border:0;padding:0;background:transparent;color:var(--st-text)}.st-cover-position-dialog::backdrop{background:rgba(0,0,0,.82);backdrop-filter:blur(5px)}.st-cover-position-shell{overflow:hidden;border-radius:20px;background:var(--st-surface);border:1px solid var(--st-border);box-shadow:0 28px 90px rgba(0,0,0,.55)}.st-cover-position-shell header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--st-border)}.st-cover-position-shell header strong, .st-cover-position-shell header small{display:block}.st-cover-position-shell header small{margin-top:4px;color:var(--st-muted)}.st-cover-position-shell header button{border:0;background:var(--st-surface2);color:var(--st-text);width:38px;height:38px;border-radius:50%;font-size:24px;cursor:pointer}.st-cover-position-preview{height:clamp(260px,42vw,430px);background-size:cover;background-repeat:no-repeat;position:relative;cursor:grab;user-select:none;touch-action:none}.st-cover-position-preview.is-dragging{cursor:grabbing}.st-cover-position-preview::after{content:"";position:absolute;inset:0;background:linear-gradient(to bottom,rgba(0,0,0,.05),rgba(0,0,0,.14));pointer-events:none}.st-cover-position-preview>span{position:absolute;left:50%;top:50%;z-index:2;transform:translate(-50%,-50%);padding:8px 16px;border-radius:999px;background:rgba(0,0,0,.7);color:#fff;font-weight:600;pointer-events:none;white-space:nowrap}.st-cover-position-shell footer{display:flex;align-items:center;gap:8px;padding:16px 16px;border-top:1px solid var(--st-border)}.st-cover-position-shell footer>span{margin-right:auto}
.st-reel-upload-progress{display:flex;align-items:center;gap:16px;margin-top:16px;padding:12px 16px;border:1px solid var(--st-border);border-radius:16px;background:var(--st-surface2)}.st-reel-upload-progress[hidden]{display:none}.st-reel-upload-progress>div:last-child{min-width:0}.st-reel-upload-progress strong, .st-reel-upload-progress small{display:block}.st-reel-upload-progress small{margin-top:4px}.st-reel-progress-ring{--progress:0;position:relative;flex:0 0 58px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:conic-gradient(var(--st-red) calc(var(--progress)*1%),var(--st-border) 0)}.st-reel-progress-ring::before{content:"";position:absolute;inset:6px;border-radius:50%;background:var(--st-surface)}.st-reel-progress-ring span{position:relative;z-index:1;font-size:12px;font-weight:700}.st-reel-upload-progress.is-processing .st-reel-progress-ring{background:conic-gradient(var(--st-red) 0 24%,var(--st-border) 24% 38%,var(--st-red) 38% 62%,var(--st-border) 62% 76%,var(--st-red) 76% 100%);animation:st-reel-spin 1s linear infinite}.st-reel-upload-progress.is-processing .st-reel-progress-ring span{animation:st-reel-counterspin 1s linear infinite}.st-reel-upload-progress.is-done{border-color:color-mix(in srgb,var(--st-success) 55%,var(--st-border))}.st-reel-upload-progress.is-error{border-color:color-mix(in srgb,var(--st-red) 65%,var(--st-border))}.st-reel-upload-progress.is-error .st-reel-progress-ring{background:var(--st-red);color:#fff}@keyframes st-reel-spin{to{transform:rotate(360deg)}}@keyframes st-reel-counterspin{to{transform:rotate(-360deg)}}
.st-reels{display:flex;flex-direction:column;gap:24px;align-items:center}.st-reel{width:min(100%,480px);aspect-ratio:9/16;max-height:calc(100vh - 100px);background:#000;color:#fff;border-radius:22px;overflow:hidden;position:relative;box-shadow:var(--st-shadow)}.st-reel video, .st-reel img{display:block;width:100%;height:100%;max-height:none;object-fit:cover;background:#000}.st-reel-overlay{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:72px 16px 16px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff}.st-reel-overlay p{margin:8px 0}
@media (max-width:760px){.st-cover-actions{right:9px;bottom:9px;gap:8px}.st-cover-actions .st-profile-photo-btn{padding:8px 8px;font-size:12px}.st-cover-actions .st-profile-photo-btn span{display:none}.st-cover-position-dialog{width:100vw}.st-cover-position-shell{border-radius:18px 18px 0 0}.st-cover-position-preview{height:280px}.st-cover-position-preview>span{font-size:12px}.st-cover-position-shell footer{flex-wrap:wrap}.st-cover-position-shell footer>span{order:-1;width:100%;margin:0}.st-reel{width:100%;border-radius:0;max-height:none;min-height:calc(100dvh - 124px)}.st-reel-upload-progress{margin:12px 0 0}.st-reel-progress-ring{width:52px;height:52px;flex-basis:52px}}


/* 1.7.1 — author editing for posts and comments */
.st-post-edit-btn{font-size:17px!important}
.st-content-edit-dialog{border:0;padding:0;background:transparent;max-width:min(620px,calc(100vw - 24px));width:100%}
.st-content-edit-dialog::backdrop{background:rgba(0,0,0,.58);backdrop-filter:blur(2px)}
.st-content-edit-shell{background:var(--st-surface);color:var(--st-text);border:1px solid var(--st-border);border-radius:18px;box-shadow:0 24px 80px rgba(0,0,0,.32);overflow:hidden}
.st-content-edit-shell>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--st-border)}
.st-content-edit-shell>header strong, .st-content-edit-shell>header small{display:block}.st-content-edit-shell>header small{color:var(--st-muted);margin-top:4px;line-height:1.4}
.st-content-edit-shell>header button{width:38px;height:38px;border:0;border-radius:50%;background:var(--st-surface2);color:var(--st-text);font-size:20px;cursor:pointer}
.st-content-edit-body{padding:20px;display:flex;flex-direction:column;gap:16px}.st-content-edit-body label{display:flex;flex-direction:column;gap:8px;font-weight:600}
.st-content-edit-body input, .st-content-edit-body textarea{width:100%;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);color:var(--st-text);padding:12px 12px;outline:none;resize:vertical}
.st-content-edit-body input:focus, .st-content-edit-body textarea:focus{border-color:var(--st-red);box-shadow:0 0 0 3px color-mix(in srgb,var(--st-red) 12%,transparent)}
.st-content-edit-shell>footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 20px;border-top:1px solid var(--st-border)}
.st-comment-edit-box textarea{width:100%;min-height:76px;border:1px solid var(--st-border);border-radius:11px;background:var(--st-surface);color:var(--st-text);padding:8px 12px;resize:vertical;outline:none}
.st-comment-edit-box textarea:focus{border-color:var(--st-red)}.st-comment-edit-box>div{display:flex;justify-content:flex-end;gap:8px;margin-top:8px}.st-comment-edit-box .st-btn{min-height:34px;padding:0 12px;font-size:12px}
@media (max-width:760px){.st-content-edit-dialog{max-width:100vw;width:100vw;margin:auto 0 0}.st-content-edit-shell{border-radius:18px 18px 0 0}.st-content-edit-body{padding:16px}.st-content-edit-shell>footer{padding:12px 16px}.st-content-edit-shell>footer .st-btn{flex:1}}

/* 1.7.2 Stories: owner delete + optional YouTube music picker/player */









/* 1.7.4 - Reel composer always previews the final vertical 9:16 canvas. */
.st-composer.st-composer-reel-mode .st-composer-media-preview{display:flex;flex-direction:column;align-items:center}
.st-composer.st-composer-reel-mode .st-composer-preview-grid{width:min(280px,72vw);max-height:none!important;aspect-ratio:9/16!important;grid-template-columns:1fr!important;grid-template-rows:1fr!important;border-radius:18px;background:#080808}
.st-composer.st-composer-reel-mode .st-composer-preview-item{grid-column:1!important;grid-row:1!important;width:100%;height:100%;aspect-ratio:9/16}
.st-composer.st-composer-reel-mode .st-composer-preview-item:not(:first-child){display:none}
.st-composer.st-composer-reel-mode .st-composer-preview-item video, .st-composer.st-composer-reel-mode .st-composer-preview-item img{width:100%;height:100%;object-fit:cover;background:#000}
.st-composer.st-composer-reel-mode .st-composer-position-bar{width:min(360px,100%);justify-content:center;text-align:center}
.st-composer.st-composer-reel-mode .st-composer-position-bar span{font-weight:700;color:var(--st-muted)}
@media (max-width:760px){.st-composer.st-composer-reel-mode .st-composer-preview-grid{width:min(250px,70vw)}}
/* Reel cards in feed/comments remain portrait, unlike normal square post galleries. */
.st-post-reel-media{width:min(100%,430px);aspect-ratio:9/16;margin:0 auto;background:#000;overflow:hidden;position:relative}
.st-post-reel-media video, .st-post-reel-media img{display:block;width:100%;height:100%;object-fit:cover;background:#000}
.st-comments-post-preview .st-post-reel-media{width:min(100%,360px);border-radius:14px}
@media (max-width:760px){.st-post-reel-media{width:100%;max-height:calc(100dvh - 150px)}}
.st-composer.st-composer-reel-mode .st-composer-position-bar .st-btn{display:none}

/* 1.8.0 — Tomo Shop official page, sale CTA and support chat */
.st-shop-layout{grid-template-columns:220px minmax(0,900px) 320px}
.st-shop-hero{padding:0;overflow:hidden}
.st-shop-cover{height:330px;position:relative;background:linear-gradient(135deg,#151517,#5b0000) center/cover no-repeat}
.st-shop-cover .st-cover-actions{position:absolute;right:18px;bottom:18px;display:flex;gap:8px}
.st-shop-identity{display:flex;align-items:flex-end;gap:20px;padding:0 24px 24px;margin-top:-64px;position:relative}
.st-shop-avatar-wrap{position:relative;flex:0 0 auto}
.st-shop-avatar-wrap>img{display:block;width:132px;height:132px;border-radius:50%;object-fit:cover;border:6px solid var(--st-surface);background:var(--st-surface2)}
.st-shop-avatar-edit{position:absolute;right:0;bottom:8px;width:40px;height:40px;border-radius:50%;padding:0;display:grid;place-items:center}
.st-shop-copy{flex:1;min-width:0;padding-top:68px}.st-shop-copy p{margin:4px 0 0;color:var(--st-muted);max-width:680px}
.st-shop-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.st-shop-title h1{margin:0;font-size:2rem;line-height:1.1}
.st-shop-actions{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:8px}
.st-shop-tabs{display:flex;gap:8px;padding:8px;background:var(--st-surface);border:1px solid var(--st-border);border-radius:16px;box-shadow:var(--st-shadow)}
.st-shop-tabs button{border:0;background:transparent;color:var(--st-muted);font-weight:600;padding:8px 16px;border-radius:11px;cursor:pointer}.st-shop-tabs button.active, .st-shop-tabs button:hover{background:color-mix(in srgb,var(--st-red) 12%,var(--st-surface2));color:var(--st-red-text)}
.st-shop-stories{display:flex;flex-direction:column;gap:8px}.st-shop-no-stories{padding:24px 4px}
.st-shop-composer .st-shop-sale-settings{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding-top:12px}.st-shop-sale-settings label{font-weight:600}.st-shop-sale-settings input[type=text], .st-shop-sale-settings input:not([type]){min-width:240px;flex:1;border:1px solid var(--st-border);border-radius:10px;background:var(--st-surface2);color:var(--st-text);padding:8px 12px}
.st-shop-sale-cta{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-top:1px solid var(--st-border);background:color-mix(in srgb,var(--st-red) 5%,var(--st-surface))}.st-shop-sale-cta strong, .st-shop-sale-cta small{display:block}.st-shop-sale-cta small{color:var(--st-muted);margin-top:2px}
.st-sponsored-chip{display:inline-flex;padding:4px 8px;margin-left:8px;border-radius:999px;background:var(--st-surface2);border:1px solid color-mix(in srgb,var(--st-red) 40%,var(--st-border));color:var(--st-red-text);font-size:12px;font-weight:700}.st-post-menu.active{color:var(--st-red-text)}
.st-tomo-mini{padding:16px}.st-tomo-mini-head{display:flex;align-items:center;gap:8px;margin:8px 0}.st-tomo-mini-head img{width:38px;height:38px;border-radius:50%;object-fit:cover}.st-tomo-mini p{font-size:15px;line-height:1.4}.st-tomo-mini-media{aspect-ratio:1/1;border-radius:12px;overflow:hidden;background:#050505}.st-tomo-mini-media img, .st-tomo-mini-media video{width:100%;height:100%;object-fit:cover;display:block}.st-tomo-mini-sale{width:100%;margin-top:8px}
.st-support-dialog{border:0;padding:0;background:transparent;width:min(620px,calc(100% - 24px));max-width:none}.st-support-dialog::backdrop{background:rgba(0,0,0,.72)}
.st-support-shell{height:min(720px,86vh);display:flex;flex-direction:column;background:var(--st-surface);color:var(--st-text);border:1px solid var(--st-border);border-radius:20px;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.45)}
.st-support-shell>header{display:flex;align-items:center;justify-content:space-between;padding:16px 16px;border-bottom:1px solid var(--st-border)}.st-support-shell>header strong, .st-support-shell>header small{display:block}.st-support-shell>header small{color:var(--st-muted)}.st-support-shell>header button{border:0;background:var(--st-surface2);color:var(--st-text);width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}
.st-support-messages{flex:1;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:8px}.st-support-msg{display:flex;gap:8px;align-items:flex-end;max-width:82%}.st-support-msg.mine{align-self:flex-end;flex-direction:row-reverse}.st-support-msg>img{width:34px;height:34px;border-radius:50%;object-fit:cover}.st-support-msg>div{background:var(--st-surface2);padding:8px 12px;border-radius:15px}.st-support-msg.mine>div{background:var(--st-red);color:#fff}.st-support-msg p{margin:4px 0;white-space:pre-wrap}.st-support-msg small{opacity:.75;font-size:12px}.st-support-attachment{display:block;max-width:240px;max-height:240px;border-radius:10px;margin-top:8px;object-fit:contain}
.st-support-form{display:grid;grid-template-columns:42px 1fr auto;gap:8px;padding:12px;border-top:1px solid var(--st-border)}.st-support-form>label{display:grid;place-items:center;border:1px solid var(--st-border);border-radius:50%;cursor:pointer}.st-support-form>input{min-width:0;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);color:var(--st-text);padding:0 12px}
.st-support-inbox{display:flex;flex-direction:column;gap:4px}.st-support-inbox button{display:flex;align-items:center;gap:8px;width:100%;padding:8px;border:0;border-radius:11px;background:transparent;color:var(--st-text);text-align:left;cursor:pointer}.st-support-inbox button:hover{background:var(--st-surface2)}.st-support-inbox img{width:40px;height:40px;border-radius:50%;object-fit:cover}.st-support-inbox span{min-width:0;flex:1}.st-support-inbox strong, .st-support-inbox small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-support-inbox small{color:var(--st-muted);margin-top:2px}.st-support-inbox b{display:grid;place-items:center;min-width:21px;height:21px;border-radius:99px;background:var(--st-red);color:#fff;font-size:12px}
@media (max-width:1180px){.st-shop-layout{grid-template-columns:80px minmax(0,1fr)}.st-shop-layout>.st-rightbar{display:none}.st-shop-cover{height:300px}}
@media (max-width:760px){.st-shop-cover{height:210px}.st-shop-identity{margin-top:-48px;padding:0 16px 16px;display:grid;grid-template-columns:100px 1fr;gap:12px;align-items:end}.st-shop-avatar-wrap>img{width:100px;height:100px}.st-shop-copy{padding-top:52px}.st-shop-title h1{font-size:24px}.st-shop-actions{grid-column:1/-1;padding:0}.st-shop-actions .st-btn{flex:1}.st-shop-cover .st-cover-actions{right:8px;bottom:8px}.st-shop-tabs{overflow:auto}.st-shop-tabs button{white-space:nowrap}.st-shop-sale-cta{align-items:stretch;flex-direction:column}.st-shop-sale-cta .st-btn{width:100%}.st-support-dialog{width:100%;height:100%;margin:0;max-height:none}.st-support-shell{height:100dvh;border-radius:0;border:0}.st-support-form{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
.st-shop-manager-strip{display:flex;align-items:center;gap:8px;padding:8px 16px;border-top:1px solid var(--st-border);background:var(--st-surface2)}.st-shop-manager-strip>span{flex:1;color:var(--st-muted);font-size:12px;font-weight:600}.st-shop-manager-strip button{border:1px solid var(--st-border);background:var(--st-surface);color:var(--st-text);border-radius:9px;padding:8px 8px;font-weight:600;cursor:pointer}.st-shop-manager-strip button:hover{color:var(--st-red-text);border-color:color-mix(in srgb,var(--st-red) 35%,var(--st-border))}@media (max-width:760px){.st-shop-manager-strip{flex-wrap:wrap}.st-shop-manager-strip>span{width:100%;flex-basis:100%}.st-shop-manager-strip button{flex:1}}
.st-shop-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.st-shop-media-grid .st-post-media-item{aspect-ratio:1/1;overflow:hidden;border-radius:10px;position:relative;cursor:zoom-in;background:#050505}.st-shop-media-grid img, .st-shop-media-grid video{width:100%;height:100%;object-fit:cover;display:block}.st-support-inbox-modal{max-height:min(760px,90vh);overflow:auto}@media (max-width:760px){.st-shop-media-grid{grid-template-columns:repeat(3,1fr);gap:4px}.st-shop-media-grid .st-post-media-item{border-radius:5px}}

/* 1.8.1 - Consistent breathing room between social post cards. */
#st-feed, #st-profile-posts, #st-group-feed, #st-search-posts, #st-saved{
  display: flex;
  flex-direction: column;
  gap:16px;
}

@media (max-width: 760px){#st-feed, #st-profile-posts, #st-group-feed, #st-search-posts, #st-saved{
    gap:12px;
  }}

/* 1.8.2 - Desktop right rail scrolls independently under the pointer. */
@media (min-width:1181px){.st-rightbar{
    max-height:calc(100vh - 116px);
    overflow-y:auto;
    overflow-x:hidden;
    overscroll-behavior-y:contain;
    scrollbar-gutter:stable;
    padding-right:4px;
    margin-right:-4px;
    scrollbar-width:thin;
    scrollbar-color:color-mix(in srgb,var(--st-muted) 48%,transparent) transparent;
  }
  .st-rightbar::-webkit-scrollbar{width:7px}
  .st-rightbar::-webkit-scrollbar-track{background:transparent}
  .st-rightbar::-webkit-scrollbar-thumb{
    background:color-mix(in srgb,var(--st-muted) 42%,transparent);
    border-radius:999px;
  }
  .st-rightbar:hover::-webkit-scrollbar-thumb{
    background:color-mix(in srgb,var(--st-muted) 68%,transparent);
  }}

/* 1.9.0 - Account, access and identity verification */
.st-user-avatar-only{gap:0!important;padding:0;border-radius:50%}.st-user-avatar-only img{width:38px;height:38px;display:block;border:2px solid var(--st-border);transition:.15s transform,.15s border-color}.st-user-avatar-only:hover img{transform:scale(1.04);border-color:var(--st-red)}
.st-login-page{min-height:calc(100vh - 68px);display:grid;place-items:center;padding:28px}.st-login-card{width:min(100%,460px);background:var(--st-surface);border:1px solid var(--st-border);border-radius:24px;box-shadow:var(--st-shadow);padding:32px}.st-login-brand{display:flex;align-items:center;gap:16px;margin-bottom:16px}.st-login-brand img{width:62px;height:62px;object-fit:contain;border-radius:16px}.st-login-brand h1{margin:4px 0 0;font-size:24px}.st-login-form{margin-top:24px}.st-login-remember, .st-register-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:8px;font-weight:600!important;line-height:1.45}.st-login-remember input, .st-register-consent input{width:18px;height:18px;flex:0 0 18px;margin-top:2px;accent-color:var(--st-red)}.st-login-submit{width:100%;min-height:48px}.st-login-links{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:20px;color:var(--st-muted);font-size:15px}.st-login-links a:hover{color:var(--st-red-text)}.st-login-error{margin:16px 0;padding:12px 16px;border:1px solid color-mix(in srgb,var(--st-red) 45%,var(--st-border));background:color-mix(in srgb,var(--st-red) 8%,var(--st-surface2));border-radius:12px;color:var(--st-red-text);font-weight:700}
.st-register-card{max-width:720px}.st-register-docs{padding:16px;border:1px solid var(--st-border);border-radius:16px;background:var(--st-surface2)}.st-register-docs h3{margin:0 0 4px}.st-register-doc-upload{display:inline-flex!important;margin-top:8px}.st-register-doc-list{display:flex;flex-direction:column;gap:8px;margin-top:12px;color:var(--st-muted);font-size:15px}.st-register-doc-list span{display:flex;justify-content:space-between;gap:12px;padding:8px 8px;border-radius:10px;background:var(--st-surface);border:1px solid var(--st-border)}
.st-profile-danger-tab{color:var(--st-red-text)!important}.st-account-danger-zone{padding:16px;border:1px solid color-mix(in srgb,var(--st-red) 45%,var(--st-border));border-radius:16px;background:color-mix(in srgb,var(--st-red) 7%,var(--st-surface2))}.st-account-danger-zone h4{font-size:17px;margin:4px 0}.st-account-danger-zone p{max-width:700px;color:var(--st-muted);line-height:1.55}.st-account-delete-dialog{width:min(560px,calc(100% - 24px));border:1px solid var(--st-border);border-radius:20px;padding:0;background:var(--st-surface);color:var(--st-text);box-shadow:0 30px 100px rgba(0,0,0,.48)}.st-account-delete-dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(4px)}.st-account-delete-shell{padding:24px}.st-account-delete-shell h2{margin:4px 0 12px}.st-account-delete-shell p{line-height:1.6;color:var(--st-muted)}.st-account-delete-shell label{display:flex;flex-direction:column;gap:8px;font-weight:600;margin:16px 0}.st-account-delete-shell input[type=password]{min-height:44px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);color:var(--st-text);padding:0 12px}.st-account-delete-shell .st-register-consent{flex-direction:row!important}.st-account-delete-shell .st-modal-actions{margin-top:24px}
@media (max-width:760px){.st-login-page{min-height:calc(100vh - 62px);padding:12px}.st-login-card{padding:24px;border-radius:18px}.st-login-brand img{width:52px;height:52px}.st-login-links{flex-wrap:wrap}.st-account-delete-shell{padding:16px}.st-user-avatar-only img{width:36px;height:36px}}

/* 1.9.1 — profile/page editorial separation + secure verification frontend */
.st-verification-toolbar{display:flex;gap:8px;margin:16px 0 16px}.st-verification-toolbar input, .st-verification-toolbar select{min-height:44px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface);color:var(--st-text);padding:0 12px}.st-verification-toolbar input{flex:1;min-width:0}.st-verification-list{display:flex;flex-direction:column;gap:12px}.st-verification-card{display:flex;flex-direction:column;gap:16px}.st-verification-user{display:flex;align-items:center;justify-content:space-between;gap:12px}.st-verification-user small{display:block;color:var(--st-muted);margin-top:4px}.st-verification-chip{padding:4px 8px;border-radius:999px;font-size:.75rem;font-weight:600;background:var(--st-surface2);border:1px solid var(--st-border)}.st-verification-chip.pending{color:#d48300}.st-verification-chip.approved{color:var(--st-success)}.st-verification-docs{display:flex;gap:8px;flex-wrap:wrap}.st-verification-docs .st-btn{flex-direction:column;align-items:flex-start;height:auto;padding:8px 12px}.st-verification-docs .st-btn small{display:block;color:var(--st-muted);font-weight:600;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (max-width:760px){.st-verification-toolbar{flex-direction:column}.st-verification-user{align-items:flex-start}.st-verification-docs .st-btn{width:100%}}

/* 1.9.2 - Tomo Shop support chat: immediate loading/error states. */
.st-support-loading{min-height:170px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;color:var(--st-muted)}
.st-support-loading strong{color:var(--st-text)}
.st-support-spinner{width:34px;height:34px;border:3px solid var(--st-border);border-top-color:var(--st-red);border-radius:50%;animation:st-support-spin .75s linear infinite}
.st-support-load-error{margin:auto;max-width:430px;padding:24px;text-align:center;color:var(--st-muted)}
.st-support-load-error strong{display:block;color:var(--st-text);font-size:17px;margin-bottom:8px}.st-support-load-error p{margin:0 0 16px}
@keyframes st-support-spin{to{transform:rotate(360deg)}}

/* 1.9.3 - Group avatar/cover controls */
.st-group-settings-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.st-group-settings-media>div{display:flex;flex-direction:column;gap:8px;padding:12px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2)}@media (max-width:760px){.st-group-settings-media{grid-template-columns:1fr}}

/* 1.9.5 - Media tab profilo e gestione Salvati */
.st-profile-media-section{margin-top:16px;padding:16px}
.st-profile-media-wall{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-top:16px;border-radius:14px;overflow:hidden}
.st-profile-media-tile{position:relative;aspect-ratio:1/1;overflow:hidden;background:#080808;cursor:zoom-in}
.st-profile-media-tile img, .st-profile-media-tile video{display:block;width:100%;height:100%;object-fit:cover}
.st-profile-media-tile .st-media-video-icon{position:absolute;right:8px;bottom:8px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.68);color:#fff}
.st-profile-media-empty{grid-column:1/-1}
#st-saved{display:flex;flex-direction:column;gap:16px}
@media (max-width:980px){.st-profile-media-wall{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.st-profile-media-section{padding:12px}.st-profile-media-wall{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;border-radius:10px}#st-saved{gap:12px}}

/* 1.9.9 — private chat reliability, photo attachments and voice messages */
.st-message-form{flex-wrap:wrap;align-items:center}.st-message-form>#st-message-input{flex:1 1 220px}.st-message-form .st-message-voice.recording, .st-fm-form .st-fm-voice.recording{background:var(--st-red);border-color:var(--st-red);color:#fff;animation:stVoicePulse 1.1s ease-in-out infinite}.st-message-send-status{flex:0 0 100%;min-height:0;color:var(--st-muted);font-size:12px;padding-left:4px}.st-message-send-status:empty{display:none}.st-chat-audio{display:block;width:min(320px,100%);max-width:100%;margin:8px 0 2px}.st-chat-video{display:block;width:min(320px,100%);max-height:360px;border-radius:12px;margin:8px 0 2px;background:#000}.st-chat-image-link{display:block;margin-top:8px}.st-chat-image{display:block;max-width:min(340px,100%)!important;max-height:380px!important;width:auto!important;height:auto!important;border-radius:12px;object-fit:contain}.st-chat-file{display:inline-flex;margin-top:8px;font-weight:600;text-decoration:underline}.st-chat-load-error{text-align:center;padding:20px}.st-fm-form{grid-template-columns:38px 38px minmax(0,1fr) 40px}.st-fm-form>.st-fm-voice{background:var(--st-surface2);color:var(--st-text);font-size:15px}.st-fm-form>.st-fm-voice.recording{color:#fff}.st-fm-send-status{grid-column:1/-1;color:var(--st-muted);font-size:12px;min-height:0;padding:0 4px}.st-fm-send-status:empty{display:none}.st-fm-bubble .st-chat-audio{width:220px;max-width:100%}.st-fm-bubble .st-chat-image{max-width:210px!important;max-height:230px!important}.st-fm-bubble .st-chat-video{max-width:210px;max-height:230px}.st-private-message.mine .st-chat-file, .st-fm-message.mine .st-chat-file{color:inherit}@keyframes stVoicePulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@media (max-width:560px){.st-message-form{gap:8px}.st-message-form .st-icon-btn{width:40px;height:40px}.st-message-form>.st-btn-primary{padding:0 12px}.st-chat-audio{width:240px}.st-fm-panel{max-height:calc(100vh - 90px)}}

/* 1.9.10 — performance hotfix: chat background polling and database workload reduced. */

/* 1.9.11 — emergency performance fix: slug fast-path, lighter feed and lazy background requests. */

/* 1.9.12 — reliable deep links for moderation/shared posts */
.st-post-link-dialog{width:min(720px,calc(100vw - 24px));max-width:720px;padding:0;border:0;background:transparent;overflow:visible}
.st-post-link-dialog::backdrop{background:rgba(0,0,0,.58)}
.st-post-link-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:var(--st-card,#fff);border-radius:14px 14px 0 0;border-bottom:1px solid var(--st-border,#ddd)}
.st-post-link-body{max-height:calc(100vh - 110px);overflow:auto;background:var(--st-bg,#f0f2f5);padding:12px;border-radius:0 0 14px 14px}
.st-post-link-body .st-post{margin:0}
.st-post-target{outline:3px solid rgba(163,28,27,.35);outline-offset:2px;transition:outline-color .25s ease}


/* === Profile desktop layout hotfix 1.9.14 ===
   Pretty /membro/... routes now use page-profilo.php. These rules are a
   defensive final override against legacy profile declarations accumulated
   across earlier releases. */
@media (min-width:1181px){.st-profile-page .st-profile-layout{grid-template-columns:220px minmax(0,1fr)!important;gap:28px!important;align-items:start}
  .st-profile-page .st-profile-viewcol{width:100%;max-width:none!important;min-width:0}
  .st-profile-page .st-rightbar{display:none!important}
  .st-profile-page #st-profile{width:100%;max-width:none;min-width:0}
  .st-profile-page .st-profile-hero{width:100%;max-width:none}
  .st-profile-page .st-profile-main{grid-template-columns:150px minmax(0,1fr) minmax(300px,360px)!important;gap:24px!important;align-items:end!important}
  .st-profile-page .st-profile-text{min-width:0;width:auto}
  .st-profile-page .st-profile-actions{width:auto;max-width:360px;justify-self:end}
  .st-profile-page .st-profile-stats{flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:24px!important;width:auto!important}
  .st-profile-page .st-profile-stats span{flex-direction:row!important;align-items:baseline!important;min-width:0!important;gap:4px!important}}
.st-profile-media-section{scroll-margin-top:92px}
.st-profile-columns [data-profile-section]{scroll-margin-top:92px}

/* 1.9.16 — Native vector icon system.
   The supplied visual language is rebuilt as SVG line icons. No raster sprite,
   no dark-mode image inversion: icons inherit currentColor from the UI. */
.st-ui-icon{display:inline-block;width:1.18em;height:1.18em;min-width:1.18em;vertical-align:-.18em;overflow:visible;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;color:currentColor;opacity:.94;pointer-events:none}
.st-nav-icon{display:grid;place-items:center;width:24px;height:24px;flex:0 0 24px;font-size:15px}.st-nav-icon .st-ui-icon{width:21px;height:21px;min-width:21px}
.st-search>.st-ui-icon, .st-members-search-icon .st-ui-icon{width:20px;height:20px;min-width:20px}
.st-icon-btn>.st-ui-icon{width:21px;height:21px;min-width:21px}
.st-post-actions button>.st-ui-icon, .st-like-button>.st-ui-icon{width:20px;height:20px;min-width:20px;margin-right:4px;vertical-align:-.24em}
.st-post-report>.st-ui-icon{margin-right:0}.st-profile-photo-btn>.st-ui-icon{width:19px;height:19px;min-width:19px}
.st-fm-launcher-icon.st-ui-icon{width:19px;height:19px;min-width:19px;margin-right:4px}.st-fm-attach>.st-ui-icon, .st-fm-header-btn>.st-ui-icon{width:19px;height:19px;min-width:19px}
.st-btn>.st-ui-icon, .st-upload-label>.st-ui-icon{width:18px;height:18px;min-width:18px;margin-right:8px}

html[data-st-theme=dark] .st-ui-icon{color:currentColor;opacity:.98}
.st-btn-primary .st-ui-icon{color:#fff;opacity:1}
@media (max-width:760px){.st-nav-icon .st-ui-icon{width:20px;height:20px;min-width:20px}.st-post-actions button>.st-ui-icon, .st-like-button>.st-ui-icon{width:19px;height:19px;min-width:19px}}


/* 1.9.17 — post-management SVG icons + truly centered desktop top navigation. */
.st-post-menu{
  display:inline-grid;
  place-items:center;
  width:34px;
  height:34px;
  min-width:34px;
  padding:0;
  border-radius:9px;
  color:var(--st-muted);
  line-height:1;
}
.st-post-menu>.st-ui-icon{width:17px;height:17px;min-width:17px;margin:0}
.st-post-menu:hover{background:var(--st-surface2);color:var(--st-text)}
.st-post-delete-btn:hover{color:var(--st-red-text)}
.st-ui-edit, .st-ui-position, .st-ui-close{stroke-width:1.9}
#st-theme-toggle>.st-ui-icon{width:18px;height:18px;min-width:18px}

@media (min-width:1181px){.st-topbar{position:sticky}
  .st-topnav{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    margin:0;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:24px;
    white-space:nowrap;
  }
  .st-topnav-separator{
    color:var(--st-border);
    font-weight:400;
    font-size:17px;
    line-height:1;
    margin:0 -8px;
    user-select:none;
    pointer-events:none;
  }
  .st-topnav-shop{color:var(--st-text)}
  .st-search{flex:0 1 auto;width:min(360px,calc(50vw - 360px));margin-right:auto}
  .st-top-actions{margin-left:auto}}


/* === Reactions UX 1.9.18 === */
.st-post-stats{align-items:center;gap:12px}.st-post-stat-links{margin-left:auto;display:flex;align-items:center;gap:8px;color:var(--st-muted);font-size:13px}.st-post-stat-links button{border:0;background:transparent;color:inherit;padding:4px 0;cursor:pointer}.st-post-stat-links button:hover{text-decoration:underline;color:var(--st-text)}
.st-reaction-summary{border:0;background:transparent;padding:2px 0;cursor:pointer;color:inherit}.st-reaction-summary:hover b{text-decoration:underline;color:var(--st-text)}.st-reaction-summary-empty{min-height:23px}.st-reaction-summary b{font-weight:600}
.st-reactions-modal{width:min(560px,calc(100vw - 28px));max-height:min(720px,calc(100dvh - 28px));margin:auto;padding:0;border:1px solid var(--st-border);border-radius:18px;background:var(--st-surface);color:var(--st-text);box-shadow:0 28px 90px rgba(0,0,0,.55);overflow:hidden}.st-reactions-modal::backdrop{background:rgba(0,0,0,.62);backdrop-filter:blur(2px)}.st-reactions-shell{display:flex;flex-direction:column;max-height:min(720px,calc(100dvh - 28px))}.st-reactions-shell>header{height:58px;flex:0 0 58px;display:flex;align-items:center;justify-content:center;position:relative;padding:0 56px;border-bottom:1px solid var(--st-border)}.st-reactions-shell>header strong{font-size:17px}.st-reactions-shell>header strong span{color:var(--st-muted);font-weight:600}.st-reactions-shell>header button{position:absolute;right:12px;width:38px;height:38px;border:0;border-radius:50%;background:var(--st-surface2);color:var(--st-muted);font-size:24px;cursor:pointer}.st-reactions-tabs{display:flex;gap:2px;overflow-x:auto;padding:8px 8px 0;border-bottom:1px solid var(--st-border);scrollbar-width:none}.st-reactions-tabs::-webkit-scrollbar{display:none}.st-reactions-tabs button{flex:0 0 auto;min-height:42px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--st-muted);padding:0 12px;font-weight:700;cursor:pointer}.st-reactions-tabs button.active{color:var(--st-red-text);border-bottom-color:var(--st-red)}.st-reactions-tabs button span{font-size:17px;margin-right:4px}.st-reactions-tabs button b{font-size:13px}.st-reactions-list{min-height:120px;overflow:auto;padding:8px 12px 16px}.st-reaction-person{display:grid;grid-template-columns:48px minmax(0,1fr) 38px;align-items:center;gap:8px;padding:8px 8px;border-radius:12px}.st-reaction-person:hover{background:var(--st-surface2)}.st-reaction-person[hidden]{display:none!important}.st-reaction-person img{width:46px;height:46px;border-radius:50%;object-fit:cover}.st-reaction-person span{min-width:0}.st-reaction-person strong, .st-reaction-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-reaction-person small{margin-top:2px;color:var(--st-muted);font-size:12px}.st-reaction-person em{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:var(--st-surface2);font-size:20px;font-style:normal}.st-reactions-loading{padding:40px 20px;text-align:center;color:var(--st-muted)}
@media (max-width:760px){.st-post-stats{padding-left:12px;padding-right:12px}.st-post-stat-links{gap:8px;font-size:12px}.st-reaction-summary b{font-size:12px}.st-reactions-modal{width:100vw;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0}.st-reactions-shell{max-height:100dvh;height:100%}.st-reactions-list{flex:1}.st-reaction-person{grid-template-columns:44px minmax(0,1fr) 36px}.st-reaction-person img{width:42px;height:42px}}

/* === Reaction replace/remove UX 1.9.20 === */
.st-reaction-picker button.is-current{background:color-mix(in srgb,var(--st-red) 10%,var(--st-surface2))!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--st-red) 62%,transparent)}
.st-reaction-picker button.is-current>small{background:var(--st-red)}
.st-reaction-picker .st-reaction-remove{margin-left:4px;width:36px;height:36px;flex-basis:36px;border:1px solid var(--st-border)!important;background:var(--st-surface2)!important;color:var(--st-muted)!important}
.st-reaction-picker .st-reaction-remove>span{font-family:var(--st-font-system);font-size:24px;line-height:1;font-weight:400}
.st-reaction-picker .st-reaction-remove:hover{color:var(--st-red-text)!important;border-color:color-mix(in srgb,var(--st-red) 45%,var(--st-border))!important;transform:translateY(-4px) scale(1.08)}
@media (max-width:760px){.st-reaction-picker .st-reaction-remove{width:36px;height:36px;flex-basis:36px;margin-left:2px}}

/* === Deterministic reaction state 1.9.20 === */
.st-post[data-reaction-busy="1"] .st-like-wrap{opacity:.65;pointer-events:none}
.st-reaction-picker button:disabled, .st-like-button:disabled{cursor:progress;opacity:.7}

/* 1.9.22 — YouTube embeds in social posts. The real iframe is created only
   after Play so feed rendering stays lightweight. */
.st-youtube-embeds{display:flex;flex-direction:column;gap:8px;padding:0 0 12px;background:var(--st-surface)}
.st-youtube-embed{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#171717;border-top:1px solid var(--st-border);border-bottom:1px solid var(--st-border)}
.st-youtube-preview{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#171717;color:#fff;cursor:pointer;overflow:hidden}
.st-youtube-preview img{display:block;width:100%;height:100%;object-fit:cover;filter:none!important;transform:scale(1.002)}
.st-youtube-preview::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(0,0,0,.2));pointer-events:none}
.st-youtube-playmark{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:68px;height:48px;border-radius:14px;background:var(--st-red);color:#fff;font-size:24px;line-height:1;padding-left:4px;box-shadow:0 8px 28px rgba(0,0,0,.35)}
.st-youtube-brand{position:absolute;z-index:2;left:14px;bottom:12px;padding:4px 8px;border-radius:8px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:700;letter-spacing:.01em}
.st-youtube-open{position:absolute;z-index:3;right:10px;bottom:10px;padding:8px 8px;border-radius:9px;background:rgba(0,0,0,.76);color:#fff;font-size:12px;font-weight:700;backdrop-filter:blur(8px)}
.st-youtube-open:hover{background:rgba(0,0,0,.92);color:#fff}
.st-youtube-embed iframe{display:block;width:100%;height:100%;border:0;background:#000}
.st-comments-post-preview .st-youtube-embeds{margin-left:-16px;margin-right:-16px}
@media (max-width:760px){.st-youtube-playmark{width:58px;height:42px;border-radius:12px;font-size:20px}.st-youtube-brand{left:10px;bottom:9px}.st-youtube-open{right:8px;bottom:8px}}

/* 1.9.23 — Facebook-like rich previews for generic external links. Metadata is
   cached on the post at publish/edit time, so normal feed rendering performs
   no outbound HTTP requests. YouTube keeps its dedicated lazy player. */
.st-link-preview{display:grid;grid-template-columns:minmax(0,42%) minmax(0,1fr);min-height:150px;border-top:1px solid var(--st-border);border-bottom:1px solid var(--st-border);background:var(--st-surface2);overflow:hidden;color:var(--st-text);transition:background .15s ease}
.st-link-preview:hover{background:color-mix(in srgb,var(--st-surface2) 78%,var(--st-border))}
.st-link-preview-image{min-height:150px;background:var(--st-border);overflow:hidden}
.st-link-preview-image img{display:block;width:100%;height:100%;min-height:150px;object-fit:cover;filter:none!important}
.st-link-preview-copy{display:flex;flex-direction:column;justify-content:center;gap:8px;min-width:0;padding:16px 16px}
.st-link-preview-copy small{color:var(--st-muted);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.045em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-link-preview-copy strong{font-size:17px;line-height:1.28;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st-link-preview-copy p{margin:0;color:var(--st-muted);font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st-link-preview-copy>span{display:flex;align-items:center;gap:8px;margin-top:4px;color:var(--st-muted);font-size:.75rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-link-preview-copy>span .st-ui-icon{width:15px;height:15px;flex:0 0 15px}
.st-comments-post-preview .st-link-preview{margin-left:-16px;margin-right:-16px}
.st-post-body a:not(.st-mention){color:var(--st-red-text);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px;overflow-wrap:anywhere}
@media (max-width:620px){.st-link-preview{grid-template-columns:1fr}.st-link-preview-image{aspect-ratio:1.91/1;min-height:0}.st-link-preview-image img{min-height:0;aspect-ratio:1.91/1}.st-link-preview-copy{padding:12px 16px}.st-link-preview-copy strong{font-size:15px}}

/* 1.9.24 — live link preview inside composers */
.st-composer-link-preview{margin:8px 0 2px;overflow:hidden;border:1px solid var(--st-border);border-radius:15px;background:var(--st-surface2)}
.st-composer-link-preview[hidden]{display:none!important}
.st-composer-link-preview .st-link-preview{border:0;border-radius:0;min-height:132px}
.st-composer-link-preview .st-link-preview-image, .st-composer-link-preview .st-link-preview-image img{min-height:132px}
.st-composer-link-preview .st-youtube-embeds{padding:0;background:transparent}
.st-composer-link-preview .st-youtube-embed{border:0}
.st-composer-link-loading, .st-composer-link-fallback{display:flex;align-items:center;gap:12px;min-height:76px;padding:16px 16px;color:var(--st-text)}
.st-composer-link-loading strong, .st-composer-link-loading small, .st-composer-link-fallback strong, .st-composer-link-fallback small{display:block;min-width:0}
.st-composer-link-loading small, .st-composer-link-fallback small{margin-top:4px;color:var(--st-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(520px,70vw)}
.st-composer-preview-spinner{width:24px;height:24px;flex:0 0 24px;border:3px solid var(--st-border);border-top-color:var(--st-red);border-radius:50%;animation:stComposerPreviewSpin .8s linear infinite}
.st-composer-link-fallback>.st-ui-icon{width:24px;height:24px;flex:0 0 24px;color:var(--st-red-text)}
@keyframes stComposerPreviewSpin{to{transform:rotate(360deg)}}
@media (max-width:620px){.st-composer-link-preview .st-link-preview-image, .st-composer-link-preview .st-link-preview-image img{min-height:0}.st-composer-link-loading, .st-composer-link-fallback{padding:12px 12px}}

/* 1.9.25 — profile friends cleanup + personal composer */
.st-profile-friends-card{overflow:hidden}
.st-profile-friends-card .st-pagehead{margin-bottom:8px}
.st-profile-friend-grid{display:flex;flex-direction:column;gap:8px;margin-top:0}
.st-profile-friend-row{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:12px;padding:8px;border-radius:13px;background:var(--st-surface2);border:1px solid transparent;min-width:0;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.st-profile-friend-row:hover{background:var(--st-surface);border-color:var(--st-border);transform:translateY(-1px)}
.st-profile-friend-row>img{width:52px;height:52px;border-radius:50%;object-fit:cover;display:block}
.st-profile-friend-copy{display:block;min-width:0}
.st-profile-friend-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;line-height:1.2}
.st-profile-friend-copy small{display:block;margin-top:4px;font-size:12px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-profile-composer{margin:8px 0 16px;box-shadow:none}
.st-profile-composer .st-composer-head>img{width:46px;height:46px;flex:0 0 46px}
.st-profile-composer .st-composer-foot{align-items:flex-end}
#st-profile-posts{display:flex;flex-direction:column;gap:16px}
@media (max-width:760px){.st-profile-composer{margin:8px 0 12px}.st-profile-composer .st-composer-foot{align-items:stretch;flex-direction:column}.st-profile-composer #st-profile-post-submit{width:100%}.st-profile-friend-row{grid-template-columns:48px minmax(0,1fr)}.st-profile-friend-row>img{width:48px;height:48px}}

/* 1.9.26 — restricted Shin Tomo backend entry for content managers */
.st-topnav-manage{display:inline-flex;align-items:center;min-height:30px;padding:0 12px;border:1px solid color-mix(in srgb,var(--st-red) 48%,var(--st-border));border-radius:9px;color:var(--st-red-text)!important;background:color-mix(in srgb,var(--st-red) 7%,transparent);font-weight:700!important}
.st-topnav-manage:hover{background:color-mix(in srgb,var(--st-red) 13%,var(--st-surface2));border-color:var(--st-red)}

/* 1.9.27 — Messenger redesign: monochrome UI, clearer conversations, in-app photo lightbox */
.st-floating-messenger{right:22px;bottom:18px}
.st-fm-launcher{height:50px;padding:0 16px;border-color:var(--st-border);background:color-mix(in srgb,var(--st-surface) 96%,transparent);color:var(--st-text);box-shadow:0 16px 44px rgba(0,0,0,.18);font-weight:700;transition:transform .15s ease,border-color .15s ease,background .15s ease}
.st-fm-launcher:hover{border-color:color-mix(in srgb,var(--st-text) 22%,var(--st-border));background:var(--st-surface2);transform:translateY(-1px)}
.st-fm-launcher-icon{color:currentColor!important}
.st-fm-launcher b{right:-4px;top:-6px;min-width:20px;height:20px;background:var(--st-text);color:var(--st-surface);border-color:var(--st-bg);font-weight:600}
.st-fm-panel{width:400px;height:min(620px,calc(100vh - 104px));border-radius:24px;border-color:color-mix(in srgb,var(--st-text) 12%,var(--st-border));box-shadow:0 28px 90px rgba(0,0,0,.3)}
.st-fm-header{height:68px;padding:0 16px;border-bottom-color:var(--st-border);background:var(--st-surface)}
.st-fm-title{gap:8px}.st-fm-title strong{font-size:15px;font-weight:750}.st-fm-title small{font-size:12px;font-weight:500;color:var(--st-muted)}
.st-fm-header-avatar{width:38px;height:38px;flex:0 0 38px;border-radius:50%;object-fit:cover;background:var(--st-surface2);border:1px solid var(--st-border)}
.st-fm-header-btn{width:38px;height:38px;background:transparent;border:1px solid transparent;color:var(--st-text)}
.st-fm-header-btn:hover{background:var(--st-surface2);border-color:var(--st-border);color:var(--st-text)}
.st-fm-header-btn .st-ui-icon{width:18px;height:18px}
.st-fm-list-view, .st-fm-new-view, .st-fm-chat-view{height:calc(100% - 68px)}
.st-fm-list{padding:8px 8px 8px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--st-muted) 38%,transparent) transparent}
.st-fm-conversation{grid-template-columns:52px minmax(0,1fr) auto;gap:12px;padding:8px 8px;border-radius:16px;transition:background .12s ease}
.st-fm-conversation:hover{background:var(--st-surface2)}
.st-fm-conversation.has-unread{background:color-mix(in srgb,var(--st-text) 4%,var(--st-surface))}
.st-fm-avatar-wrap{width:52px;height:52px}.st-fm-avatar-wrap img{width:52px;height:52px}
.st-fm-avatar-wrap i{width:10px;height:10px;background:var(--st-muted);border-color:var(--st-surface)}
.st-fm-conversation-copy strong{font-size:15px;font-weight:750}.st-fm-conversation-copy small{font-size:12px;line-height:1.35;color:var(--st-muted)}
.st-fm-conversation-side{min-width:42px;display:flex;flex-direction:column;align-items:flex-end;gap:8px}.st-fm-conversation-side time{font-size:12px;color:var(--st-muted);white-space:nowrap}
.st-fm-unread{min-width:20px;height:20px;padding:0 8px;background:var(--st-text);color:var(--st-surface);font-size:12px;font-weight:600}
.st-fm-empty{height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:32px 24px;color:var(--st-muted)}.st-fm-empty strong{color:var(--st-text);font-size:15px}.st-fm-empty span{font-size:13px}
.st-fm-search-wrap{height:62px;display:flex;align-items:center;gap:8px;padding:8px 12px;border-bottom:1px solid var(--st-border);color:var(--st-muted)}
.st-fm-search-wrap>.st-ui-icon{width:18px;height:18px;flex:0 0 18px}.st-fm-search-wrap input{height:40px;border:0!important;background:transparent!important;padding:0!important;box-shadow:none!important}
.st-fm-new-view .st-fm-list{height:calc(100% - 62px)}
.st-fm-messages{padding:16px 12px 8px;background:var(--st-surface);scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--st-muted) 38%,transparent) transparent}
.st-fm-message{gap:8px;margin:8px 0;max-width:88%}.st-fm-message>img{width:30px;height:30px;flex-basis:30px}
.st-fm-bubble{padding:8px 12px;border-radius:17px 17px 17px 6px;background:var(--st-surface2);border-color:var(--st-border);font-size:15px;line-height:1.42}
.st-fm-message.mine .st-fm-bubble{background:var(--st-text);border-color:var(--st-text);color:var(--st-surface);border-radius:17px 17px 6px 17px}
.st-fm-bubble small{margin-top:4px;color:var(--st-muted)}.st-fm-message.mine .st-fm-bubble small{color:color-mix(in srgb,var(--st-surface) 72%,transparent)}
.st-fm-typing{min-height:24px;padding:4px 16px;color:var(--st-muted);font-size:12px;background:var(--st-surface)}
.st-fm-form{grid-template-columns:38px 38px minmax(0,1fr) 40px;gap:8px;padding:8px 12px 12px;border-top-color:var(--st-border);background:var(--st-surface)}
.st-fm-form>input{height:40px;border-color:var(--st-border);background:var(--st-surface2);padding:0 16px}
.st-fm-form>input:focus{border-color:color-mix(in srgb,var(--st-text) 25%,var(--st-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--st-text) 5%,transparent)}
.st-fm-attach, .st-fm-form>button{width:38px;height:38px;background:transparent;color:var(--st-text);border:1px solid transparent}
.st-fm-attach:hover, .st-fm-form>button:hover{background:var(--st-surface2);border-color:var(--st-border)}
.st-fm-form>button[type=submit]{width:40px;height:40px;background:var(--st-text);color:var(--st-surface);border-color:var(--st-text)}
.st-fm-form>button[type=submit]:hover{background:color-mix(in srgb,var(--st-text) 88%,var(--st-surface));border-color:var(--st-text)}
.st-fm-form>.st-fm-voice.recording{background:var(--st-text)!important;border-color:var(--st-text)!important;color:var(--st-surface)!important;animation:stVoicePulse 1.1s ease-in-out infinite}
.st-fm-send-status{padding:2px 4px 0;font-size:12px}

/* Full Messages page follows the same visual language. */
.st-messages-layout{grid-template-columns:320px minmax(0,1fr);border-radius:22px;border-color:color-mix(in srgb,var(--st-text) 12%,var(--st-border));box-shadow:0 20px 60px rgba(0,0,0,.12)}
.st-conversation-list{border-right-color:var(--st-border);background:var(--st-surface)}
.st-conversation-list>.st-pagehead{min-height:68px;padding:16px 16px;background:var(--st-surface)}
.st-conversation-list>.st-pagehead h2{font-size:17px}
.st-conversation-list #st-new-chat{background:transparent;border-color:transparent;color:var(--st-text)}.st-conversation-list #st-new-chat:hover{background:var(--st-surface2);border-color:var(--st-border)}
.st-conversation-item{width:100%;display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 12px;border:0;border-bottom:0;border-radius:14px;background:transparent;color:var(--st-text);text-align:left;cursor:pointer}
.st-conversation-item:hover{background:var(--st-surface2)}.st-conversation-item.active{background:color-mix(in srgb,var(--st-text) 7%,var(--st-surface))}
.st-conversation-avatar{position:relative;width:50px;height:50px}.st-conversation-avatar img{width:50px;height:50px;border-radius:50%;object-fit:cover}.st-conversation-avatar i{position:absolute;right:1px;bottom:1px;width:10px;height:10px;border-radius:50%;background:var(--st-muted);border:2px solid var(--st-surface)}
.st-conversation-item-main strong{font-size:15px;font-weight:750}.st-conversation-item-main small{margin-top:4px;color:var(--st-muted);font-size:12px}
.st-conversation-item-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.st-conversation-item-side time{font-size:12px;color:var(--st-muted);white-space:nowrap}.st-unread{background:var(--st-text);color:var(--st-surface);font-weight:600}
#st-conversation-head{min-height:68px}.st-conversation-head{min-height:68px;padding:8px 16px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--st-border)}.st-conversation-head img{width:42px;height:42px;border-radius:50%;object-fit:cover}.st-conversation-head strong, .st-conversation-head small{display:block}.st-conversation-head strong{font-size:15px}.st-conversation-head small{margin-top:2px;color:var(--st-muted);font-size:12px;font-weight:500}
.st-private-messages{padding:20px;background:var(--st-surface)}
.st-private-message{gap:8px;margin:8px 0}.st-private-message>img{width:30px;height:30px;object-fit:cover}
.st-message-bubble{max-width:min(72%,620px);padding:8px 12px;border:1px solid var(--st-border);border-radius:17px 17px 17px 6px;background:var(--st-surface2)}
.st-private-message.mine .st-message-bubble{background:var(--st-text);border-color:var(--st-text);color:var(--st-surface);border-radius:17px 17px 6px 17px}
.st-message-bubble small{display:block;margin-top:4px;color:var(--st-muted);font-size:12px}.st-private-message.mine .st-message-bubble small{color:color-mix(in srgb,var(--st-surface) 72%,transparent)}
.st-message-form{display:grid;grid-template-columns:42px 42px minmax(0,1fr) auto;gap:8px;align-items:center;padding:12px 16px;border-top-color:var(--st-border);background:var(--st-surface)}
.st-message-form>#st-message-input{height:42px;min-width:0;border-radius:22px;background:var(--st-surface2);padding:0 16px}.st-message-form>#st-message-input:focus{border-color:color-mix(in srgb,var(--st-text) 25%,var(--st-border));box-shadow:0 0 0 3px color-mix(in srgb,var(--st-text) 5%,transparent)}
.st-message-form .st-icon-btn{width:42px;height:42px;background:transparent;border-color:transparent;color:var(--st-text)}.st-message-form .st-icon-btn:hover{background:var(--st-surface2);border-color:var(--st-border)}
.st-message-form .st-message-voice.recording{background:var(--st-text)!important;border-color:var(--st-text)!important;color:var(--st-surface)!important}
.st-message-send{min-height:42px;gap:8px;background:var(--st-text)!important;border-color:var(--st-text)!important;color:var(--st-surface)!important}.st-message-send .st-ui-icon{width:17px;height:17px}
.st-message-send-status{grid-column:1/-1;padding:0 4px;font-size:12px}

/* Chat attachments open inside Shin Tomo instead of a new browser tab. */
.st-chat-image-link{display:block;margin-top:8px;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in;text-align:left;max-width:100%}
.st-chat-image-link:hover .st-chat-image{opacity:.94}
.st-chat-image{display:block;max-width:min(340px,100%)!important;max-height:380px!important;width:auto!important;height:auto!important;border-radius:13px!important;object-fit:contain;border:1px solid color-mix(in srgb,var(--st-text) 10%,transparent);transition:opacity .15s ease}
.st-fm-bubble .st-chat-image{max-width:240px!important;max-height:270px!important}
.st-chat-file{display:inline-flex;align-items:center;gap:8px;color:inherit!important;text-decoration:none}.st-chat-file:hover{text-decoration:underline}.st-chat-file .st-ui-icon{width:15px;height:15px}
.st-chat-image-lightbox{z-index:10050}.st-chat-image-lightbox .st-media-lightbox-stage img{max-width:min(1200px,94vw);max-height:88vh;object-fit:contain}.st-chat-image-lightbox .st-media-lightbox-close{display:grid;place-items:center}.st-chat-image-lightbox .st-media-lightbox-close .st-ui-icon{width:22px;height:22px}

@media (max-width:760px){.st-floating-messenger{right:10px;bottom:78px}.st-fm-panel{left:8px;right:8px;bottom:76px;width:auto;height:min(650px,calc(100dvh - 92px));border-radius:20px}.st-fm-header{height:64px}.st-fm-list-view, .st-fm-new-view, .st-fm-chat-view{height:calc(100% - 64px)}
 .st-messages-layout{grid-template-columns:1fr;border-radius:18px}.st-conversation-list{max-height:300px}.st-conversation{min-height:560px}.st-private-messages{padding:16px}.st-message-bubble{max-width:86%}.st-message-form{grid-template-columns:40px 40px minmax(0,1fr) 42px;padding:8px}.st-message-send{width:42px;padding:0}.st-message-send span{display:none}.st-message-send .st-ui-icon{width:18px;height:18px}}

/* 1.9.28 — Stories: music playback restored + lightweight reactions */













/* 1.9.29 — notifications acknowledgement, two-person groups icon, mobile navigation redesign */
.st-mobile-menu-toggle, .st-mobile-menu-panel{display:none}
.st-ui-users{stroke-width:1.85}

@media (max-width:760px){body.st-mobile-menu-open{overflow:hidden}
  .st-topbar{height:62px;padding:0 8px;gap:8px}
  .st-brand-logo{width:38px;height:38px}
  .st-top-actions{margin-left:auto;gap:4px}
  .st-top-actions>.st-icon-btn{width:38px;height:38px}
  .st-desktop-theme-toggle{display:none!important}
  .st-user-avatar-only{width:38px;height:38px;display:grid;place-items:center}
  .st-user-avatar-only img{width:34px;height:34px}
  .st-mobile-menu-toggle{display:inline-grid!important}
  .st-mobile-menu-toggle .st-ui-icon{width:20px;height:20px}

  /* The old eight-item bottom bar became crowded as the social grew. On phones
     navigation now lives in one predictable drop-down sheet from the header. */
  .st-sidebar{display:none!important}
  .st-feedcol{padding-bottom:24px}
  .st-footer{padding-bottom:28px}

  .st-mobile-menu-panel{
    position:fixed;
    z-index:1000;
    top:68px;
    right:8px;
    width:min(430px,calc(100vw - 16px));
    max-height:calc(100dvh - 78px);
    overflow:auto;
    padding:12px;
    border:1px solid var(--st-border);
    border-radius:20px;
    background:color-mix(in srgb,var(--st-surface) 97%,transparent);
    color:var(--st-text);
    box-shadow:0 26px 80px rgba(0,0,0,.34);
    backdrop-filter:blur(18px);
  }
  .st-mobile-menu-panel:not([hidden]){display:block}
  .st-mobile-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:4px 4px 12px}
  .st-mobile-menu-head strong, .st-mobile-menu-head small{display:block}
  .st-mobile-menu-head strong{font-size:17px}
  .st-mobile-menu-head small{margin-top:2px;color:var(--st-muted);font-size:12px}
  .st-mobile-menu-close{width:36px!important;height:36px!important;background:transparent}
  .st-mobile-menu-close .st-ui-icon{width:18px;height:18px}

  .st-mobile-search{height:44px;display:flex;align-items:center;gap:8px;margin:0 2px 12px;padding:0 12px;border:1px solid var(--st-border);border-radius:13px;background:var(--st-surface2);color:var(--st-muted)}
  .st-mobile-search>.st-ui-icon{width:18px;height:18px;flex:0 0 18px}
  .st-mobile-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--st-text);font:inherit}

  .st-mobile-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .st-mobile-nav a{min-width:0;min-height:52px;display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid transparent;border-radius:13px;color:var(--st-text);background:transparent;font-weight:600}
  .st-mobile-nav a:hover, .st-mobile-nav a.active{background:var(--st-surface2);border-color:var(--st-border)}
  .st-mobile-nav a>.st-ui-icon{width:21px;height:21px;flex:0 0 21px;color:var(--st-text)}
  .st-mobile-nav a>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .st-mobile-nav .st-mobile-manage{grid-column:1/-1;border-color:var(--st-border);background:var(--st-surface2)}

  .st-mobile-menu-foot{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px;padding-top:12px;border-top:1px solid var(--st-border)}
  .st-mobile-menu-action{min-height:44px;display:flex;align-items:center;justify-content:center;gap:8px;padding:0 12px;border:1px solid var(--st-border);border-radius:12px;background:transparent;color:var(--st-text);font:inherit;font-weight:600;cursor:pointer}
  .st-mobile-menu-action:hover{background:var(--st-surface2)}
  .st-mobile-menu-action>.st-ui-icon{width:18px;height:18px}

  .st-floating-messenger{bottom:14px}
  .st-fm-panel{bottom:72px}}

@media (max-width:390px){.st-mobile-nav{grid-template-columns:1fr}
  .st-mobile-nav .st-mobile-manage{grid-column:auto}
  .st-mobile-menu-panel{top:66px;max-height:calc(100dvh - 72px)}}

/* 1.9.30 — Stories use YouTube only as a hidden music engine; mobile profile avatar is centered. */




/* Never expose the legacy mini YouTube video player in Story playback. */


@media (max-width:760px){.st-profile-page .st-profile-main{
    align-items:center!important;
    text-align:center!important;
  }
  .st-profile-page .st-profile-main>.st-avatar-wrap{
    align-self:center!important;
    justify-self:center!important;
    margin-left:auto!important;
    margin-right:auto!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
  }
  .st-profile-page .st-profile-main>.st-avatar-wrap>img{
    margin-left:auto!important;
    margin-right:auto!important;
  }
  /* Keep cover controls on the edge and away from the centered avatar. */
  .st-profile-page .st-cover-actions{
    right:9px!important;
    left:auto!important;
    bottom:9px!important;
  }}

/* 1.9.31 — profile privacy, gaming accounts, group member invites, mobile profile polish */
.st-private-profile-notice{display:flex;align-items:flex-start;gap:16px;padding:24px;margin-top:4px}.st-private-profile-notice h2{margin:0 0 4px}.st-private-profile-notice p{margin:0 0 4px;line-height:1.5}.st-private-profile-icon{width:48px;height:48px;flex:0 0 48px;border-radius:50%;display:grid;place-items:center;background:var(--st-surface2);border:1px solid var(--st-border)}.st-private-profile-icon .st-ui-icon{width:22px;height:22px}
.st-profile-gaming-card{margin:0}.st-gaming-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px}.st-gaming-account{display:block;padding:12px 12px 12px;border:1px solid var(--st-border);border-radius:13px;background:var(--st-surface2);min-width:0}.st-gaming-account-platform{display:flex;align-items:center;gap:8px;min-width:0;margin-bottom:8px}.st-gaming-account-platform small{display:block;min-width:0;color:var(--st-muted);font-weight:700;letter-spacing:.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-gaming-account>strong{display:block;overflow-wrap:anywhere;font-size:15px;line-height:1.3}.st-gaming-platform-logo{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:7px;color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)}.st-gaming-platform-logo .st-ui-icon{width:15px;height:15px;min-width:15px;color:inherit;opacity:1}.st-gaming-brand-playstation{background:#006fcd}.st-gaming-brand-steam{background:#1b4871}.st-gaming-brand-gog{background:#713b8f}.st-gaming-brand-xbox{background:#107c10}.st-gaming-brand-nintendo{background:#e60012}.st-gaming-brand-epic{background:#2f2f33}.st-gaming-brand-ea{background:#e44747}.st-gaming-brand-ubisoft{background:#1477d4}.st-gaming-brand-battlenet{background:#148eff}.st-gaming-brand-riot{background:#d13639}.st-gaming-brand-discord{background:#5865f2}.st-gaming-brand-twitch{background:#9146ff}.st-gaming-brand-other{background:#65707c}.st-gaming-field-title{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-weight:700;color:var(--st-text)}.st-gaming-field-title .st-gaming-platform-logo{width:24px;height:24px;flex-basis:24px;border-radius:7px}.st-gaming-field-title .st-gaming-platform-logo .st-ui-icon{width:14px;height:14px;min-width:14px}
.st-gaming-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.st-profile-visibility-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 24px}.st-profile-visibility-choice label{display:flex!important;flex-direction:row!important;align-items:center;justify-content:space-between;gap:12px;padding:16px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface2);cursor:pointer}.st-profile-visibility-choice label:has(input:checked){border-color:color-mix(in srgb,var(--st-red) 48%,var(--st-border));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--st-red) 28%,transparent)}.st-profile-visibility-choice strong, .st-profile-visibility-choice small{display:block}.st-profile-visibility-choice small{margin-top:4px;color:var(--st-muted);line-height:1.35}.st-profile-visibility-choice input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--st-red)}
.st-group-member-tab-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.st-group-add-members-modal{width:min(620px,94vw);max-height:min(720px,90dvh);padding:0;overflow:hidden}.st-group-add-members-modal>.st-group-manage-head{padding:16px;border-bottom:1px solid var(--st-border)}.st-group-add-members-modal>.st-group-manage-head p{margin:4px 0 0}.st-group-add-search{display:flex;align-items:center;gap:8px;margin:16px 16px;padding:0 12px;height:44px;border:1px solid var(--st-border);border-radius:13px;background:var(--st-surface2)}.st-group-add-search .st-ui-icon{width:18px;height:18px;color:var(--st-muted)}.st-group-add-search input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--st-text)}.st-group-add-results{padding:0 16px 16px;max-height:480px;overflow:auto}.st-group-add-result{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 2px;border-bottom:1px solid var(--st-border)}.st-group-add-result>a{display:flex;align-items:center;gap:8px;min-width:0}.st-group-add-result img{width:44px;height:44px;border-radius:50%;object-fit:cover}.st-group-add-result strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

@media (max-width:760px){.st-profile-page-shell{padding:8px 8px 88px}
  .st-profile-page #st-profile{gap:8px}
  .st-profile-hero{border-radius:17px;box-shadow:none}
  .st-profile-cover{height:188px;min-height:188px}
  .st-profile-main{margin-top:-52px;padding:0 12px 16px;gap:8px}
  .st-profile-main>.st-avatar-wrap>img{width:106px;height:106px}
  .st-profile-name-row h1{font-size:24px}
  .st-profile-headline{font-size:13px;margin-top:4px}
  .st-profile-stats{width:100%;max-width:300px!important;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:8px auto 0;padding:8px 8px;border-top:1px solid var(--st-border);border-bottom:1px solid var(--st-border)}
  .st-profile-stats span{min-width:0!important}.st-profile-stats b{font-size:17px}.st-profile-stats small{font-size:12px}
  .st-profile-bio{font-size:15px;line-height:1.45;margin-top:8px}.st-profile-meta-line{font-size:13px;gap:8px}
  .st-profile-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));max-width:100%!important;margin-top:8px!important;gap:8px!important}.st-profile-actions .st-btn{width:100%;min-height:39px!important;padding:0 8px!important;font-size:13px}.st-profile-actions .st-btn:only-child{grid-column:1/-1}.st-profile-actions #st-profile-more{min-width:0!important}
  .st-profile-nav{top:62px;margin:8px 0 4px;padding:4px;border-radius:12px;box-shadow:none;background:color-mix(in srgb,var(--st-surface) 96%,transparent)}.st-profile-nav button{padding:8px 12px;font-size:.75rem}.st-profile-nav button:focus:not(:focus-visible){outline:none}.st-profile-nav button:focus-visible{outline:2px solid color-mix(in srgb,var(--st-red-text) 55%,transparent);outline-offset:-2px}
  .st-profile-columns{gap:8px;margin-top:4px}.st-profile-post-title{padding:4px 4px 1px}.st-profile-post-title h2{font-size:17px}
  .st-profile-composer{padding:12px;border-radius:16px;box-shadow:none}.st-profile-composer .st-composer-head{gap:8px;align-items:flex-start}.st-profile-composer .st-composer-head img{width:40px;height:40px}.st-profile-composer textarea{min-height:66px;padding:12px;font-size:13px}.st-profile-composer .st-composer-foot{display:grid;grid-template-columns:1fr;gap:8px;padding-top:8px}.st-profile-composer .st-composer-tools{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(0,1.35fr);gap:8px}.st-profile-composer select, .st-profile-composer .st-upload-label{min-width:0;width:100%;padding:8px;font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-profile-composer #st-profile-post-submit{width:100%;min-height:40px}
  #st-profile-posts{gap:8px}.st-profile-sidebar-content{gap:8px}.st-profile-sidebar-content>.st-card, .st-profile-sidebar-content>div>.st-card, .st-profile-media-section{padding:12px;border-radius:15px;box-shadow:none}.st-profile-badge{padding:8px}.st-profile-badge>img, .st-profile-badge-icon{width:36px;height:36px;flex-basis:36px}
  .st-profile-friend-grid{display:flex!important;flex-direction:column;gap:8px}.st-profile-friend-row{width:100%;padding:8px}.st-profile-friend-row img{width:46px;height:46px}.st-profile-friend-copy strong{font-size:13px}.st-profile-friend-copy small{font-size:12px}
  .st-gaming-account-grid{grid-template-columns:1fr}.st-gaming-account{padding:8px}.st-private-profile-notice{margin-top:0;padding:16px;gap:12px;border-radius:16px;box-shadow:none}.st-private-profile-icon{width:42px;height:42px;flex-basis:42px}.st-private-profile-notice h2{font-size:17px}.st-private-profile-notice p{font-size:13px}
  .st-gaming-form-grid, .st-profile-visibility-choice{grid-template-columns:1fr}.st-profile-visibility-choice{gap:8px}.st-profile-visibility-choice label{padding:12px}
  .st-group-member-tab-actions{width:100%;justify-content:flex-start}.st-group-member-tab-actions .st-btn{flex:1 1 auto}.st-group-add-members-modal{width:calc(100vw - 14px);max-height:86dvh}.st-group-add-results{max-height:58dvh}.st-group-add-result .st-btn{min-width:82px;padding:0 12px}}

.st-profile-privacy-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid var(--st-border);border-radius:999px;background:var(--st-surface2);color:var(--st-muted);font-size:12px;font-weight:700}.st-profile-privacy-chip .st-ui-icon{width:12px;height:12px}

/* 1.9.32 — MyFigureCollection profile integration */
.st-profile-mfc-section{display:flex;flex-direction:column;gap:16px;overflow:hidden}
.st-mfc-empty{display:flex;align-items:center;gap:16px;padding:8px 2px}.st-mfc-empty h3, .st-mfc-empty p{margin:.1rem 0 8px}
.st-mfc-logo{width:58px;height:58px;flex:0 0 58px;border-radius:16px;display:grid;place-items:center;border:1px solid var(--st-border);background:var(--st-surface2);font-weight:700;letter-spacing:-.05em;font-size:15px;color:var(--st-text)}
.st-mfc-account{display:grid;grid-template-columns:minmax(210px,1fr) auto auto;align-items:center;gap:16px;padding-bottom:16px;border-bottom:1px solid var(--st-border)}
.st-mfc-account-main{display:flex;align-items:center;gap:12px;min-width:0}.st-mfc-account-main h3{margin:.1rem 0;font-size:17px}.st-mfc-account-main small{display:block;margin-top:4px}
.st-mfc-counts{display:flex;gap:16px;align-items:center}.st-mfc-counts span{display:flex;flex-direction:column;align-items:center;min-width:64px}.st-mfc-counts b{font-size:17px}.st-mfc-counts small{color:var(--st-muted);font-size:12px}
.st-mfc-account-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.st-mfc-filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.st-mfc-filters::-webkit-scrollbar{display:none}.st-mfc-filters button{border:1px solid var(--st-border);background:var(--st-surface2);color:var(--st-muted);border-radius:999px;padding:8px 12px;font-weight:700;cursor:pointer;white-space:nowrap}.st-mfc-filters button span{display:inline-grid;place-items:center;min-width:20px;margin-left:4px;padding:1px 4px;border-radius:999px;background:var(--st-surface);font-size:12px}.st-mfc-filters button.active{color:var(--st-text);border-color:color-mix(in srgb,var(--st-text) 22%,var(--st-border));background:var(--st-surface)}
.st-mfc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.st-mfc-item{display:flex;min-width:0;flex-direction:column;border:1px solid var(--st-border);border-radius:15px;overflow:hidden;background:var(--st-surface2);transition:transform .15s ease,border-color .15s ease}.st-mfc-item:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--st-text) 25%,var(--st-border))}.st-mfc-item-media{aspect-ratio:1/1;background:var(--st-surface);overflow:hidden}.st-mfc-item-media img{display:block;width:100%;height:100%;object-fit:cover}.st-mfc-item-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,var(--st-surface2),var(--st-surface));color:var(--st-muted);font-weight:700;letter-spacing:.08em}
.st-mfc-item-body{display:flex;flex-direction:column;gap:4px;padding:8px;min-width:0}.st-mfc-item-body strong{font-size:15px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.st-mfc-item-body small{color:var(--st-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-mfc-status{align-self:flex-start;font-size:12px;font-weight:600;padding:4px 8px;border:1px solid var(--st-border);border-radius:999px;color:var(--st-muted);background:var(--st-surface)}
.st-mfc-pagination{display:flex;align-items:center;justify-content:center;gap:12px;padding-top:4px}.st-mfc-pagination span{color:var(--st-muted);font-weight:700}
.st-mfc-settings-head{display:flex;align-items:center;gap:16px;margin-bottom:8px}.st-mfc-settings-head h3, .st-mfc-settings-head p{margin:.05rem 0}.st-mfc-settings-actions{display:flex;gap:8px;flex-wrap:wrap}.st-mfc-settings-status{display:flex;flex-direction:column;gap:4px;padding:12px 16px;border:1px solid var(--st-border);border-radius:13px;background:var(--st-surface2)}.st-mfc-settings-status small, .st-mfc-settings-status span{color:var(--st-muted)}.st-mfc-csv-box{margin-top:8px;padding:16px;border:1px dashed var(--st-border);border-radius:14px;background:var(--st-surface2)}.st-mfc-csv-box h4{margin:0 0 8px}.st-mfc-csv-box p{margin:4px 0 12px}.st-mfc-csv-box input[type=file]{display:block;width:100%;margin-bottom:8px;padding:8px;border:1px solid var(--st-border);border-radius:10px;background:var(--st-surface);color:var(--st-text)}
@media (max-width:980px){.st-mfc-account{grid-template-columns:1fr auto}.st-mfc-counts{grid-column:1/2}.st-mfc-account-actions{grid-column:2;grid-row:1/3}.st-mfc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){.st-profile-mfc-section{border-radius:15px;padding:16px}.st-mfc-empty{align-items:flex-start}.st-mfc-logo{width:48px;height:48px;flex-basis:48px;border-radius:13px}.st-mfc-account{display:flex;flex-direction:column;align-items:stretch;gap:12px}.st-mfc-counts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.st-mfc-counts span{padding:8px 4px;border:1px solid var(--st-border);border-radius:11px;background:var(--st-surface2)}.st-mfc-account-actions{justify-content:stretch}.st-mfc-account-actions .st-btn{flex:1}.st-mfc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.st-mfc-item{border-radius:12px}.st-mfc-item-body{padding:8px}.st-mfc-item-body strong{font-size:13px}.st-mfc-settings-head{align-items:flex-start}.st-mfc-settings-actions{display:grid;grid-template-columns:1fr}.st-mfc-settings-actions .st-btn{width:100%}}
/* 1.9.33 - My Figure Collection: lista reale delle figure nel profilo */
.st-profile-mfc-section{display:flex;flex-direction:column;gap:16px}
.st-mfc-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding-bottom:2px}
.st-mfc-section-title h2{margin:.12rem 0 0;font-size:24px;letter-spacing:-.02em}
.st-mfc-list-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:4px}
.st-mfc-list-head h3, .st-mfc-list-head p{margin:0}.st-mfc-list-head p{margin-top:4px;font-size:13px}
.st-mfc-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.st-mfc-list .st-mfc-item{display:grid;grid-template-columns:96px minmax(0,1fr) 24px;align-items:center;gap:12px;min-height:98px;padding:8px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface2);overflow:hidden;transition:background .15s ease,border-color .15s ease,transform .15s ease}
.st-mfc-list .st-mfc-item:hover{transform:translateY(-1px);background:var(--st-surface);border-color:color-mix(in srgb,var(--st-text) 24%,var(--st-border))}
.st-mfc-list .st-mfc-item-media{width:96px;height:96px;aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:var(--st-surface);border:1px solid var(--st-border)}
.st-mfc-list .st-mfc-item-media img{display:block;width:100%;height:100%;object-fit:cover}
.st-mfc-list .st-mfc-item-placeholder{width:100%;height:100%;display:grid;place-items:center;color:var(--st-muted);font-size:13px;font-weight:600;background:var(--st-surface)}
.st-mfc-list .st-mfc-item-body{padding:0;gap:4px;min-width:0}
.st-mfc-list .st-mfc-item-body strong{font-size:15px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.st-mfc-item-top{display:flex;align-items:center;gap:8px}
.st-mfc-item-meta{display:flex;align-items:center;flex-wrap:wrap;gap:4px;color:var(--st-muted);font-size:12px;line-height:1.3;min-width:0}
.st-mfc-item-meta span:not(.st-mfc-dot){max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-mfc-dot{opacity:.5}
.st-mfc-item-open{display:grid;place-items:center;width:24px;height:24px;color:var(--st-muted)}.st-mfc-item-open .st-svg-icon{width:16px;height:16px}
.st-mfc-empty-list{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:24px 2px}.st-mfc-empty-list span{color:var(--st-muted)}
@media (max-width:980px){.st-mfc-list{grid-template-columns:1fr}}
@media (max-width:760px){.st-profile-mfc-section{gap:12px}.st-mfc-section-title h2{font-size:20px}
 .st-mfc-list-head{align-items:flex-end}.st-mfc-list-head .st-btn{min-height:38px;padding:0 12px;font-size:13px}
 .st-mfc-list{grid-template-columns:1fr;gap:8px}
 .st-mfc-list .st-mfc-item{grid-template-columns:78px minmax(0,1fr) 20px;gap:8px;min-height:80px;padding:8px;border-radius:12px}
 .st-mfc-list .st-mfc-item-media{width:78px;height:78px;border-radius:9px}
 .st-mfc-list .st-mfc-item-body strong{font-size:13px}.st-mfc-item-meta{font-size:12px}}

/* 1.9.36 — MyFigureCollection reliable manual import fallback */
.st-mfc-import-box{position:relative;border-style:solid}.st-mfc-import-box ol{margin:8px 0 12px;padding-left:24px;color:var(--st-text)}.st-mfc-import-box li{margin:8px 0;line-height:1.45}.st-mfc-import-box.is-required{box-shadow:0 0 0 3px color-mix(in srgb,var(--st-text) 12%,transparent);border-color:color-mix(in srgb,var(--st-text) 42%,var(--st-border))}.st-mfc-import-box .st-kicker{color:var(--st-text);opacity:.72}.st-mfc-settings-status strong+span{margin-top:2px}@media (max-width:760px){.st-mfc-import-box{padding:16px}.st-mfc-import-box .st-btn{width:100%}.st-mfc-import-box input[type=file]{font-size:13px}}

/* 1.9.42 — MFC thumbnails: bounded parallel cold loading + clean pending state */
.st-mfc-list .st-mfc-item-media img, .st-mfc-grid .st-mfc-item-media img{object-fit:contain;background:var(--st-surface)}
.st-mfc-item-media img[data-mfc-figure-image]:not([src]){visibility:hidden}
.st-mfc-item-media:has(img[data-mfc-figure-image]:not([src]))::before{content:"MFC";display:grid;place-items:center;position:absolute;inset:0;color:var(--st-muted);font-weight:600;font-size:12px;letter-spacing:.03em}

/* 1.9.43 — MFC is a real on-demand profile tab, not part of the default profile view */
.st-profile-mfc-section[hidden], .st-profile-accounts-section[hidden], .st-profile-columns[hidden], .st-profile-media-section[hidden]{display:none!important}

/* 1.9.44 — My Figure Collection: calmer spacing and clearer visual hierarchy */
.st-profile-mfc-section{
  padding:24px;
  gap:0;
  overflow:visible;
}
.st-mfc-section-title{
  align-items:flex-start;
  padding:0 0 20px;
}
.st-mfc-section-title .st-kicker{display:block;margin-bottom:8px}
.st-mfc-section-title h2{margin:0;font-size:1.5rem;line-height:1.2}
.st-mfc-account{
  grid-template-columns:minmax(280px,1fr) auto auto;
  gap:28px;
  padding:20px 0 24px;
}
.st-mfc-account-main{gap:16px}
.st-mfc-account-main h3{margin:4px 0 0;font-size:17px;line-height:1.25}
.st-mfc-account-main small{margin-top:8px;line-height:1.35}
.st-mfc-logo{width:62px;height:62px;flex-basis:62px}
.st-mfc-counts{gap:24px}
.st-mfc-counts span{min-width:70px;padding:4px 8px}
.st-mfc-counts b{font-size:20px;line-height:1.1}
.st-mfc-counts small{margin-top:4px;line-height:1.2}
.st-mfc-account-actions{gap:8px}
#st-profile-mfc-collection{
  display:flex;
  flex-direction:column;
  gap:16px;
  padding-top:24px;
}
.st-mfc-list-head{margin:0;align-items:center;min-height:44px}
.st-mfc-list-head h3{font-size:17px;line-height:1.2}
.st-mfc-list-head p{margin-top:4px;line-height:1.35}
.st-mfc-filters{gap:8px;padding:0 0 2px}
.st-mfc-filters button{min-height:40px;padding:0 16px}
.st-mfc-list{gap:16px}
.st-mfc-list .st-mfc-item{
  grid-template-columns:96px minmax(0,1fr) 28px;
  gap:16px;
  min-height:116px;
  padding:8px;
  border-radius:15px;
}
.st-mfc-list .st-mfc-item-body{gap:8px;padding:1px 0}
.st-mfc-list .st-mfc-item-body strong{font-size:15px;line-height:1.32}
.st-mfc-item-top{min-height:24px}
.st-mfc-status{padding:4px 8px;line-height:1.1}
.st-mfc-item-meta{gap:8px;font-size:12px;line-height:1.35}
.st-mfc-item-open{width:28px;height:28px}
.st-mfc-pagination{padding-top:8px}
@media (max-width:980px){.st-profile-mfc-section{padding:20px}
  .st-mfc-account{grid-template-columns:minmax(0,1fr) auto;gap:16px 24px}
  .st-mfc-counts{grid-column:1/2;justify-content:flex-start}
  .st-mfc-account-actions{grid-column:2;grid-row:1/3}
  .st-mfc-list{gap:12px}}
@media (max-width:760px){.st-profile-mfc-section{padding:16px;gap:0}
  .st-mfc-section-title{padding-bottom:16px}
  .st-mfc-section-title h2{font-size:1.25rem}
  .st-mfc-account{padding:16px 0 16px;gap:16px}
  .st-mfc-account-main{gap:12px}
  .st-mfc-logo{width:52px;height:52px;flex-basis:52px}
  .st-mfc-counts{gap:8px}
  .st-mfc-counts span{min-width:0;padding:8px 8px}
  #st-profile-mfc-collection{gap:12px;padding-top:16px}
  .st-mfc-list-head{align-items:flex-end;gap:8px}
  .st-mfc-filters{margin:0 -2px;padding:0 2px 2px}
  .st-mfc-filters button{min-height:38px;padding:0 12px}
  .st-mfc-list{gap:8px}
  .st-mfc-list .st-mfc-item{grid-template-columns:82px minmax(0,1fr) 22px;gap:12px;min-height:100px;padding:8px}
  .st-mfc-list .st-mfc-item-media{width:82px;height:82px}
  .st-mfc-list .st-mfc-item-body{gap:4px}
  .st-mfc-list .st-mfc-item-body strong{font-size:13px;line-height:1.3}}


/* 1.9.47 — account collegati are on-demand, never rendered in the default profile column */
.st-profile-accounts-section{
  margin-top:16px;
  padding:24px;
  scroll-margin-top:92px;
  overflow:hidden;
}
.st-profile-accounts-section .st-profile-gaming-card{width:100%}
.st-profile-accounts-section .st-profile-gaming-card>.st-pagehead{
  align-items:flex-end;
  margin-bottom:16px;
}
.st-profile-accounts-section .st-profile-gaming-card>.st-pagehead h2{margin:4px 0 0}
.st-profile-accounts-section .st-gaming-account-grid{margin-top:0}
@media (max-width:760px){.st-profile-accounts-section{margin-top:8px;padding:16px;border-radius:15px}
  .st-profile-accounts-section .st-profile-gaming-card>.st-pagehead{align-items:flex-start;gap:8px}
  .st-profile-accounts-section .st-profile-gaming-card>.st-pagehead .st-btn{width:auto}}

/* 1.9.48 — every profile nav item opens one exclusive sub-section */
.st-profile-tab-panels{
  margin-top:16px;
  min-width:0;
}
.st-profile-tab-panel{
  min-width:0;
  width:100%;
  scroll-margin-top:92px;
}
.st-profile-tab-panel[hidden]{display:none!important}
.st-profile-tab-panels>.st-profile-media-section, .st-profile-tab-panels>.st-profile-accounts-section, .st-profile-tab-panels>.st-profile-mfc-section{
  margin-top:0;
}
.st-profile-tab-panels>#st-profile-about>.st-profile-about, .st-profile-tab-panels>#st-profile-badges>.st-profile-badges-card, .st-profile-tab-panels>#st-profile-friends>.st-profile-friends-card{
  margin:0;
  width:100%;
}
.st-profile-tab-panels .st-profile-about, .st-profile-tab-panels .st-profile-badges-card, .st-profile-tab-panels .st-profile-friends-card{
  padding:24px;
}
.st-profile-tab-panels #st-profile-friends .st-profile-friend-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.st-profile-tab-panels #st-profile-badges .st-profile-badges{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
}
@media (max-width:760px){.st-profile-tab-panels{margin-top:8px}
  .st-profile-tab-panels .st-profile-about, .st-profile-tab-panels .st-profile-badges-card, .st-profile-tab-panels .st-profile-friends-card{padding:16px;border-radius:15px}
  .st-profile-tab-panels #st-profile-friends .st-profile-friend-grid, .st-profile-tab-panels #st-profile-badges .st-profile-badges{grid-template-columns:1fr}}


/* 1.9.49 — profile Groups tab + roomier reusable group cards */
.st-profile-groups-section{display:flex;flex-direction:column;gap:16px;scroll-margin-top:92px}
.st-profile-groups-section[hidden]{display:none!important}
.st-profile-groups-head{align-items:flex-end;padding:4px}
.st-profile-groups-head h2{margin:4px 0 2px}
.st-profile-groups-head small{display:block}
.st-profile-groups-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.st-profile-groups-grid .st-group-list-card{min-width:0}
.st-profile-groups-grid .st-group-list-body{min-width:0}
.st-profile-groups-grid .st-group-list-body h3{overflow-wrap:anywhere}
@media (max-width:760px){.st-profile-groups-section{gap:12px}
  .st-profile-groups-head{align-items:flex-start;gap:8px}
  .st-profile-groups-grid{grid-template-columns:1fr;gap:12px}}

/* 1.9.50 - profile tabs and member friendship controls */
.st-member-friend-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.st-member-friend-btn{min-height:38px;padding:0 12px}
.st-member-friend-btn.is-friend{background:color-mix(in srgb,var(--st-success) 8%,var(--st-surface));border-color:color-mix(in srgb,var(--st-success) 30%,var(--st-border));color:var(--st-success)}
@media (min-width:761px){.st-profile-nav{flex-wrap:wrap;overflow-x:visible}
  .st-profile-nav button{flex:0 0 auto}}
@media (max-width:760px){.st-profile-nav{flex-wrap:nowrap;overflow-x:auto}
  .st-member-actions{align-items:center}
  .st-member-friend-actions{width:100%}
  .st-member-friend-actions .st-btn{flex:1 1 auto}}

/* 1.9.51 - Stories: clip massimo 20 secondi */




/* 1.9.54 — Messenger-style private messages, responsive composer and message reactions. */
.st-messages-page-shell{max-width:1900px;padding:16px 16px 20px}
.st-messages-page-layout{display:block}
.st-messages-page-layout>.st-sidebar, .st-messages-page-layout>.st-rightbar{display:none!important}
.st-messages-page-layout>.st-viewcol{width:100%;min-width:0}
.st-messages-page-layout .st-floating-messenger{display:none}
.st-messages-layout{display:grid;grid-template-columns:340px minmax(420px,1fr) 300px;height:calc(100dvh - 100px);min-height:480px;max-height:calc(100dvh - 100px);overflow:hidden;border:1px solid var(--st-border);border-radius:18px;background:var(--st-surface);box-shadow:0 14px 42px rgba(0,0,0,.12)}
body.admin-bar .st-messages-layout{height:calc(100dvh - 132px);max-height:calc(100dvh - 132px)}
.st-conversation-list{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;border-right:1px solid var(--st-border);background:var(--st-surface)}
.st-messenger-list-head{padding:16px 16px 8px;background:var(--st-surface)}
.st-messenger-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.st-messenger-title-row h1{margin:0;font-size:24px;letter-spacing:-.035em}
.st-messenger-title-row #st-new-chat{width:38px;height:38px;border:0;background:var(--st-surface2)}
.st-messenger-search{height:40px;display:flex;align-items:center;gap:8px;padding:0 12px;border-radius:999px;background:var(--st-surface2);color:var(--st-muted)}.st-messenger-search .st-ui-icon{width:17px;height:17px}.st-messenger-search input{width:100%;min-width:0;border:0!important;outline:0!important;background:transparent!important;color:var(--st-text);padding:0!important;box-shadow:none!important}
.st-messenger-filters{display:flex;gap:8px;margin-top:8px;overflow-x:auto;scrollbar-width:none}.st-messenger-filters::-webkit-scrollbar{display:none}.st-messenger-filters button{flex:0 0 auto;border:0;border-radius:999px;padding:8px 12px;background:transparent;color:var(--st-muted);font-size:12px;font-weight:600;cursor:pointer}.st-messenger-filters button:hover{background:var(--st-surface2);color:var(--st-text)}.st-messenger-filters button.active{background:color-mix(in srgb,var(--st-red) 12%,var(--st-surface2));color:var(--st-red-text)}
.st-conversations-scroll{min-height:0;overflow-y:auto;padding:2px 8px 12px;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--st-muted) 35%,transparent) transparent}
.st-conversation-item{width:100%;display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:8px;padding:8px 8px;border:0;border-radius:13px;background:transparent;color:var(--st-text);text-align:left;cursor:pointer;transition:background .12s ease}.st-conversation-item:hover{background:var(--st-surface2)}.st-conversation-item.active{background:color-mix(in srgb,var(--st-red) 8%,var(--st-surface2))}.st-conversation-item.has-unread .st-conversation-item-main strong{font-weight:950}
.st-conversation-avatar, .st-conversation-avatar img{width:50px;height:50px}.st-conversation-avatar{position:relative}.st-conversation-avatar img{border-radius:50%;object-fit:cover}.st-conversation-avatar i{position:absolute;right:1px;bottom:1px;width:10px;height:10px;border-radius:50%;background:var(--st-muted);border:2px solid var(--st-surface)}
.st-conversation-item-main{min-width:0}.st-conversation-item-main strong, .st-conversation-item-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-conversation-item-main strong{font-size:15px}.st-conversation-item-main small{margin-top:4px;color:var(--st-muted);font-size:12px}.st-conversation-item-side{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.st-conversation-item-side time{font-size:12px;color:var(--st-muted);white-space:nowrap}.st-unread{display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:99px;background:var(--st-red);color:#fff;font-size:12px;font-weight:700}
.st-conversation{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;background:var(--st-surface)}
#st-conversation-head{min-height:64px}.st-conversation-head{min-height:64px;padding:8px 12px;display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--st-border);background:var(--st-surface)}.st-conversation-head-person{display:flex;align-items:center;gap:8px;min-width:0;flex:1}.st-conversation-head-person img{width:40px;height:40px;border-radius:50%;object-fit:cover}.st-conversation-head-person>div{min-width:0}.st-conversation-head-person strong, .st-conversation-head-person small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.st-conversation-head-person strong{font-size:15px}.st-conversation-head-person small{margin-top:2px;color:var(--st-muted);font-size:12px;font-weight:500}.st-conversation-head-actions{display:flex;gap:8px}.st-conversation-head-actions .st-icon-btn{width:38px;height:38px;border:0;background:transparent}.st-conversation-head-actions .st-icon-btn:hover{background:var(--st-surface2)}.st-message-mobile-back{display:none;width:36px!important;height:36px!important;border:0!important;background:transparent!important}
.st-private-messages{min-height:0;overflow-y:auto;padding:16px 16px 12px;background:var(--st-surface);scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--st-muted) 35%,transparent) transparent;overscroll-behavior:contain}
.st-messenger-empty-state{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px;text-align:center;color:var(--st-muted)}.st-messenger-empty-state>span{width:58px;height:58px;display:grid;place-items:center;border-radius:50%;background:var(--st-surface2);color:var(--st-text)}.st-messenger-empty-state>span .st-ui-icon{width:27px;height:27px}.st-messenger-empty-state strong{color:var(--st-text);font-size:15px}.st-messenger-empty-state small{max-width:280px;line-height:1.4}.st-messenger-empty-state.compact{min-height:180px;height:auto}
.st-private-message{display:flex;align-items:flex-end;gap:8px;margin:4px 0}.st-private-message.mine{justify-content:flex-end}.st-message-avatar{width:28px!important;height:28px!important;flex:0 0 28px;border-radius:50%;object-fit:cover}.st-message-stack{display:flex;flex-direction:column;align-items:flex-start;max-width:min(72%,620px);min-width:0}.st-private-message.mine .st-message-stack{align-items:flex-end}.st-message-bubble{max-width:100%;padding:8px 12px;border:0;border-radius:18px 18px 18px 5px;background:var(--st-surface2);color:var(--st-text);line-height:1.4;overflow-wrap:anywhere}.st-private-message.mine .st-message-bubble{background:var(--st-red);color:#fff;border-radius:18px 18px 5px 18px}.st-message-bubble small{display:block;margin-top:4px;color:var(--st-muted);font-size:12px}.st-private-message.mine .st-message-bubble small{color:rgba(255,255,255,.72)}
.st-message-form{position:relative;z-index:5;display:grid;grid-template-columns:40px 40px minmax(80px,1fr) 42px;gap:8px;align-items:center;padding:8px 12px 8px;border-top:1px solid var(--st-border);background:var(--st-surface)}.st-message-form.is-disabled{opacity:.65}.st-message-form>#st-message-input{height:40px;min-width:0;border:0;border-radius:999px;background:var(--st-surface2);padding:0 16px;color:var(--st-text);outline:0}.st-message-form>#st-message-input:focus{box-shadow:0 0 0 2px color-mix(in srgb,var(--st-red) 20%,transparent)}.st-message-form .st-icon-btn{width:40px;height:40px;border:0;background:transparent;color:var(--st-red-text)}.st-message-form .st-icon-btn:hover{background:var(--st-surface2)}.st-message-form .st-message-voice.recording{background:var(--st-red)!important;color:#fff!important}.st-message-send{width:42px;min-width:42px;height:40px;min-height:40px;padding:0;border-radius:50%;background:var(--st-red)!important;border-color:var(--st-red)!important;color:#fff!important}.st-message-send span{display:none}.st-message-send-status{grid-column:1/-1;min-height:0;padding:0 4px;color:var(--st-muted);font-size:12px}.st-message-send-status:empty{display:none}
.st-conversation-info{min-width:0;overflow-y:auto;border-left:1px solid var(--st-border);background:var(--st-surface)}.st-conversation-info-card{padding:24px 16px;text-align:center}.st-info-avatar{display:block;width:82px;height:82px;margin:4px auto 8px;border-radius:50%;object-fit:cover}.st-info-avatar.st-info-group{display:grid;place-items:center;background:var(--st-surface2);color:var(--st-text)}.st-info-avatar.st-info-group .st-ui-icon{width:34px;height:34px}.st-conversation-info-card h3{margin:0;font-size:15px}.st-conversation-info-card>small{display:block;margin-top:4px;color:var(--st-muted)}.st-info-action{display:flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin:16px auto 20px;padding:8px 12px;border-radius:11px;background:var(--st-surface2);font-weight:600;font-size:12px}.st-info-action .st-ui-icon{width:17px;height:17px}.st-info-section{margin-top:16px;padding-top:16px;border-top:1px solid var(--st-border);text-align:left}.st-info-section>strong{display:block;margin-bottom:8px;font-size:13px}.st-info-section p{margin:0;color:var(--st-muted);font-size:12px;line-height:1.45}.st-info-section a{display:flex;align-items:center;gap:8px;padding:8px 4px;border-radius:9px;font-size:12px}.st-info-section a:hover{background:var(--st-surface2)}.st-info-section a img{width:32px;height:32px;border-radius:50%;object-fit:cover}
/* Reactions use the same emoji set as post reactions. */
.st-message-reactions-row{position:relative;display:flex;align-items:center;gap:4px;min-height:20px;margin-top:1px;padding:0 2px}.st-private-message.mine .st-message-reactions-row, .st-fm-message.mine .st-message-reactions-row{justify-content:flex-end}.st-message-react-trigger{width:22px;height:20px;display:grid;place-items:center;padding:0;border:0;border-radius:999px;background:transparent;color:var(--st-muted);font-size:13px;line-height:1;cursor:pointer;opacity:.12;transition:opacity .12s,background .12s}.st-private-message:hover .st-message-react-trigger, .st-fm-message:hover .st-message-react-trigger, .st-message-react-trigger:focus, .st-message-react-trigger.active{opacity:.9}.st-message-react-trigger:hover{background:var(--st-surface2)}.st-message-reaction-summary{height:20px;display:flex;align-items:center;gap:1px;padding:1px 4px;border:1px solid var(--st-border);border-radius:999px;background:var(--st-surface);color:var(--st-text);font-size:12px;cursor:pointer;box-shadow:0 1px 3px rgba(0,0,0,.08)}.st-message-reaction-summary span{font-size:12px;line-height:1}.st-message-reaction-summary b{margin-left:2px;font-size:12px}.st-message-reaction-summary.has-mine{border-color:color-mix(in srgb,var(--st-red) 34%,var(--st-border))}.st-message-reaction-picker{position:absolute;z-index:40;left:0;bottom:26px;display:flex;gap:2px;padding:4px;border:1px solid var(--st-border);border-radius:999px;background:var(--st-surface);box-shadow:0 10px 32px rgba(0,0,0,.22);white-space:nowrap}.st-private-message.mine .st-message-reaction-picker, .st-fm-message.mine .st-message-reaction-picker{left:auto;right:0}.st-message-reaction-picker[hidden]{display:none}.st-message-reaction-picker button{width:30px;height:30px;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;font-size:17px;transition:transform .12s,background .12s}.st-message-reaction-picker button:hover{transform:scale(1.16);background:var(--st-surface2)}.st-message-reaction-picker button.is-current{background:color-mix(in srgb,var(--st-red) 12%,var(--st-surface2));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--st-red) 26%,transparent)}
.st-fm-message .st-message-stack{max-width:82%}.st-fm-message .st-fm-bubble{max-width:100%}.st-fm-message .st-message-reactions-row{min-height:18px}.st-fm-message .st-message-reaction-picker{bottom:23px}.st-fm-message .st-message-reaction-picker button{width:27px;height:27px;font-size:15px}
@media (max-width:1180px){.st-messages-layout{grid-template-columns:315px minmax(0,1fr)}.st-conversation-info{display:none}}
@media (max-height:720px) and (min-width:761px){.st-messages-page-shell{padding-top:8px;padding-bottom:8px}.st-messages-layout{height:calc(100dvh - 84px);max-height:calc(100dvh - 84px);min-height:360px}body.admin-bar .st-messages-layout{height:calc(100dvh - 116px);max-height:calc(100dvh - 116px)}}
@media (max-width:760px){.st-messages-page-shell{padding:0;max-width:none}.st-messages-page-layout>.st-viewcol{padding:0!important}.st-messages-layout{grid-template-columns:1fr;height:calc(100dvh - 62px);max-height:calc(100dvh - 62px);min-height:0;border:0;border-radius:0;box-shadow:none}.st-conversation-list{border:0;display:grid}.st-conversation{display:none;min-height:0;height:100%}.st-conversation-info{display:none}#st-messages-app.has-active-conversation .st-conversation-list{display:none}#st-messages-app.has-active-conversation .st-conversation{display:grid}.st-message-mobile-back{display:grid!important;flex:0 0 36px}.st-conversation-head{padding-left:8px}.st-private-messages{padding:12px 8px 8px}.st-message-stack{max-width:84%}.st-message-form{grid-template-columns:38px 38px minmax(60px,1fr) 40px;padding:8px 8px max(8px,env(safe-area-inset-bottom))}.st-message-form .st-icon-btn{width:38px;height:38px}.st-message-form>#st-message-input{height:38px}.st-message-send{width:40px;min-width:40px;height:38px;min-height:38px}.st-message-react-trigger{opacity:.65}.st-messenger-list-head{padding-top:12px}.st-conversations-scroll{padding-bottom:max(12px,env(safe-area-inset-bottom))}}
@media (max-width:390px){.st-message-form{grid-template-columns:34px 34px minmax(54px,1fr) 38px;gap:4px;padding-left:8px;padding-right:8px}.st-message-form .st-icon-btn{width:34px;height:36px}.st-message-send{width:38px;min-width:38px}.st-message-reaction-picker{max-width:calc(100vw - 24px);overflow-x:auto;scrollbar-width:none}.st-message-reaction-picker button{flex:0 0 28px}}


/* 1.9.67 — Tier artwork: exact 128px desktop / 56px mobile profile renditions. */
.st-profile-tiers{gap:12px;align-items:flex-start}
.st-profile-tier.st-profile-tier-image{display:inline-flex;flex-direction:column;align-items:center;gap:8px;padding:0;background:transparent;border:0;border-radius:0;max-width:132px}
.st-profile-tier-image picture, .st-profile-tier-image img{display:block;width:128px;height:128px}
.st-profile-tier-image img{object-fit:cover;border-radius:16px;border:1px solid var(--st-border);background:var(--st-surface2);box-shadow:0 8px 24px rgba(0,0,0,.12)}
.st-profile-tier-image small{max-width:128px;font-size:12px;font-weight:700;text-align:center;line-height:1.2;overflow-wrap:anywhere}
.st-profile-tier-fallback{align-self:center}
@media (max-width:700px){.st-profile-tier.st-profile-tier-image{max-width:60px;gap:4px}
 .st-profile-tier-image picture, .st-profile-tier-image img{width:56px;height:56px}
 .st-profile-tier-image img{border-radius:10px}
 .st-profile-tier-image small{max-width:60px;font-size:12px}}


/* =========================================================
   Shin Tomo 2.0 — Social experience refresh
   Plus Jakarta Sans · Instagram-like Stories · app navigation
   ========================================================= */
:root{
 --st-radius:16px;
 --st-shadow:0 8px 26px rgba(17,24,39,.055);
 --st-ease:cubic-bezier(.2,.75,.25,1);
}
body{font-weight:400;letter-spacing:-.008em}
strong, h1, h2, h3, h4, h5, h6{letter-spacing:-.025em}
.st-topnav a, .st-sidebar a, .st-user-chip, .st-btn, .st-post-actions button, .st-composer select, .st-upload-label, .st-form label, .st-profile-nav a{font-weight:600}
.st-kicker, .st-official, .st-kind{font-weight:700}
.st-card h3, .st-pagehead h1, .st-section-title h2{font-weight:700}
.st-muted, .meta, small{font-weight:400}
.st-card, .st-composer, .st-content-card{box-shadow:var(--st-shadow)}
.st-btn{border-radius:11px;transition:transform .16s var(--st-ease),background .16s,border-color .16s,box-shadow .16s}
.st-btn-primary{box-shadow:0 7px 16px color-mix(in srgb,var(--st-red) 18%,transparent)}
.st-topbar{box-shadow:0 1px 0 rgba(0,0,0,.015)}

/* Feed: lighter cards, more visual media */
.st-feedcol{gap:16px}
.st-post{border-radius:17px;box-shadow:0 4px 20px rgba(0,0,0,.045)}
.st-post-inner{padding:16px 16px 12px}
.st-post-head{gap:8px}
.st-post-head img{width:42px;height:42px}
.st-post-head-main>a strong{font-size:15px;font-weight:600}
.st-post-head .meta{font-size:12px;margin-top:2px}
.st-post-body{font-size:15px;line-height:1.58;padding:12px 0 4px}
.st-post-stats{padding:8px 16px 8px;font-size:13px}
.st-post-actions{padding:4px 8px;border-top-color:color-mix(in srgb,var(--st-border) 78%,transparent)}
.st-post-actions button{font-size:13px;padding:8px 8px}

/* True horizontal media carousel for multi-media posts */
.st-post-carousel{position:relative;width:100%;overflow:hidden;background:#090909;isolation:isolate}
.st-post-carousel-track{display:flex;width:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-inline:contain;touch-action:pan-x pan-y}
.st-post-carousel-track::-webkit-scrollbar{display:none}
.st-post-carousel-slide{position:relative;flex:0 0 100%;width:100%;aspect-ratio:1/1;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#090909}
.st-post-carousel-slide .st-post-media-item{width:100%;height:100%;cursor:zoom-in}
.st-post-carousel-slide .st-post-media-item img, .st-post-carousel-slide .st-post-media-item video{width:100%;height:100%;object-fit:cover}
.st-carousel-nav{position:absolute;z-index:5;top:50%;transform:translateY(-50%);width:34px;height:34px;border:0;border-radius:50%;background:rgba(12,12,14,.68);color:#fff;display:grid;place-items:center;font-size:24px;line-height:1;cursor:pointer;backdrop-filter:blur(10px);transition:opacity .15s,transform .15s}
.st-carousel-nav:hover{transform:translateY(-50%) scale(1.06)}
.st-carousel-nav:disabled{opacity:0;pointer-events:none}
.st-carousel-prev{left:10px}.st-carousel-next{right:10px}
.st-carousel-dots{position:absolute;z-index:5;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:4px;padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.28);backdrop-filter:blur(8px)}
.st-carousel-dots i{display:block;width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.5);transition:width .16s,background .16s}
.st-carousel-dots i.active{width:14px;border-radius:5px;background:#fff}
.st-carousel-count{position:absolute;z-index:5;top:10px;right:10px;padding:4px 8px;border-radius:999px;background:rgba(0,0,0,.56);color:#fff;font-size:12px;font-weight:600;backdrop-filter:blur(8px)}

/* Compact composer */
.st-composer-compact{padding:12px 16px;transition:box-shadow .18s,border-color .18s}
.st-composer-compact .st-composer-head{align-items:center}
.st-composer-compact textarea{min-height:48px;height:48px;resize:none;border-radius:999px;padding:12px 16px;background:var(--st-surface2);transition:height .2s var(--st-ease),border-radius .2s}
.st-composer-compact.is-expanded textarea{height:auto;min-height:92px;border-radius:14px;resize:vertical}
.st-composer-compact:not(.is-expanded) .st-composer-foot{display:none}
.st-composer-quick-actions{display:flex;align-items:center;gap:4px;padding:8px 0 0 52px;overflow-x:auto;scrollbar-width:none}
.st-composer-quick-actions::-webkit-scrollbar{display:none}
.st-composer-quick-actions button{border:0;background:transparent;color:var(--st-muted);display:inline-flex;align-items:center;gap:8px;padding:8px 8px;border-radius:9px;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.st-composer-quick-actions button:hover{background:var(--st-surface2);color:var(--st-text)}
.st-composer-compact.is-expanded .st-composer-quick-actions{display:none}

/* Stories 2.0 — circular tray */














/* Story sequence viewer */



























/* Story composer privacy */



/* Profile: more social, Highlights first-class */
.st-profile-page .st-profile-hero{border-radius:18px;background:var(--st-surface)}
.st-profile-cover{height:250px}
.st-profile-main{gap:16px}
.st-profile-text h1{font-weight:700;letter-spacing:-.04em}
.st-profile-text .st-muted{font-size:13px}
.st-profile-actions .st-btn{font-size:13px}







/* Explore / Discovery */
#st-discover{display:flex;flex-direction:column;gap:24px}
.st-discover-section{min-width:0}
.st-discover-section>h2, .st-discover-section>h3{margin:0 0 12px;font-size:15px;font-weight:700}
#st-discover-people{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#st-discover-people .st-member-card{margin:0;min-width:0}
#st-discover-reels{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.st-discover-reel{position:relative;aspect-ratio:9/16;border-radius:13px;overflow:hidden;background:#171717;color:#fff;display:block;isolation:isolate}
.st-discover-reel>span{position:absolute;inset:0}.st-discover-reel video, .st-discover-reel img{width:100%;height:100%;object-fit:cover}
.st-discover-reel::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78));z-index:1}
.st-discover-reel strong, .st-discover-reel small{position:absolute;z-index:2;left:9px;right:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-discover-reel strong{bottom:24px;font-size:12px}.st-discover-reel small{bottom:8px;font-size:12px;color:rgba(255,255,255,.8)}

/* Reels: vertical app-like feed */
.st-reels{width:min(100%,520px);margin:0 auto;height:calc(100dvh - 92px);overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;gap:12px;scrollbar-width:none}.st-reels::-webkit-scrollbar{display:none}
.st-reels .st-reel{flex:0 0 calc(100dvh - 100px);height:calc(100dvh - 100px);min-height:620px;width:100%;max-height:none;scroll-snap-align:center;scroll-snap-stop:always;border-radius:20px;box-shadow:none}
.st-reel-gradient{position:absolute;z-index:1;inset:30% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.74))}
.st-reel-overlay{z-index:2;padding:72px 64px 20px 16px;background:none}
.st-reel-overlay>a{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%}.st-reel-overlay>a img{width:34px;height:34px;border-radius:50%;border:1.5px solid #fff;object-fit:cover}.st-reel-overlay>a strong{font-size:13px;font-weight:600}.st-reel-overlay p{font-size:13px;line-height:1.45;max-width:90%}
.st-reel-actions{position:absolute;z-index:3;right:11px;bottom:18px;display:flex;flex-direction:column;gap:8px;align-items:center}
.st-reel-actions button{width:48px;min-height:48px;padding:4px;border:0;background:rgba(0,0,0,.23);color:#fff;border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;backdrop-filter:blur(8px);cursor:pointer}.st-reel-actions button>span{font-size:12px;font-weight:600}.st-reel-actions .st-ui-icon{width:20px;height:20px}
.st-reel-skeleton{width:100%;height:calc(100dvh - 110px);border-radius:20px;background:linear-gradient(90deg,var(--st-surface2),color-mix(in srgb,var(--st-border) 75%,var(--st-surface)),var(--st-surface2));background-size:200% 100%;animation:st-shimmer 1.4s infinite}

/* Notifications: grouped + filterable */
.st-notification-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;scrollbar-width:none}.st-notification-filters::-webkit-scrollbar{display:none}
.st-notification-filters button{white-space:nowrap;border:1px solid var(--st-border);background:var(--st-surface);color:var(--st-muted);padding:8px 12px;border-radius:999px;font-size:12px;font-weight:600;cursor:pointer}.st-notification-filters button.active{background:var(--st-text);border-color:var(--st-text);color:var(--st-surface)}
.st-notification-row.is-unread{background:color-mix(in srgb,var(--st-red) 4%,var(--st-surface));position:relative}.st-notification-row.is-unread::before{content:"";position:absolute;left:7px;top:50%;width:6px;height:6px;border-radius:50%;background:var(--st-red);transform:translateY(-50%)}
.st-notification-group-count{min-width:24px;height:24px;border-radius:999px;background:var(--st-surface2);display:grid;place-items:center;font-size:12px;font-weight:600}

/* Global search overlay */
.st-global-search-overlay{position:fixed;z-index:190;inset:68px 0 0;background:rgba(10,10,12,.25);backdrop-filter:blur(2px)}
.st-global-search-panel{width:min(580px,calc(100vw - 24px));max-height:min(680px,calc(100dvh - 92px));overflow:auto;margin:8px auto 0;background:var(--st-surface);border:1px solid var(--st-border);border-radius:18px;box-shadow:0 28px 80px rgba(0,0,0,.22);padding:12px}
.st-global-search-panel>header{display:flex;justify-content:space-between;align-items:center;padding:4px 4px 12px}.st-global-search-panel>header button{border:0;background:var(--st-surface2);color:var(--st-text);width:32px;height:32px;border-radius:50%;cursor:pointer}
.st-global-search-results{display:flex;flex-direction:column;gap:12px}.st-global-search-results section h3{margin:4px 8px 8px;color:var(--st-muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.st-global-result{display:flex;align-items:center;gap:8px;padding:8px;border-radius:11px}.st-global-result:hover{background:var(--st-surface2)}.st-global-result>img, .st-global-result-icon{width:39px;height:39px;border-radius:50%;object-fit:cover;background:var(--st-surface2);display:grid;place-items:center;flex:0 0 39px}.st-global-result>span:last-child{min-width:0}.st-global-result strong, .st-global-result small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.st-global-result strong{font-size:13px}.st-global-result small{font-size:12px;color:var(--st-muted);margin-top:2px}
.st-global-search-all{display:flex;justify-content:center;margin-top:8px;padding:8px;border-radius:11px;background:var(--st-surface2);font-size:12px;font-weight:600}

/* Skeletons / perceived performance */
@keyframes st-shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}
.st-feed-skeleton{display:flex;flex-direction:column;gap:16px}.st-skeleton-post{padding:16px;overflow:hidden}.st-skeleton-head{display:flex;align-items:center;gap:8px}.st-skeleton-head i{width:42px;height:42px;border-radius:50%}.st-skeleton-head span{width:34%;height:12px;border-radius:8px}.st-skeleton-post>b{display:block;width:82%;height:11px;margin:16px 0 8px;border-radius:8px}.st-skeleton-post>em{display:block;width:55%;height:11px;margin-bottom:16px;border-radius:8px}.st-skeleton-media{height:360px;margin:0 -16px -16px}.st-skeleton-head i, .st-skeleton-head span, .st-skeleton-post>b, .st-skeleton-post>em, .st-skeleton-media, .st-search-skeleton i{background:linear-gradient(90deg,var(--st-surface2),color-mix(in srgb,var(--st-border) 70%,var(--st-surface)),var(--st-surface2));background-size:200% 100%;animation:st-shimmer 1.35s infinite}
.st-search-skeleton{display:grid;gap:8px;padding:4px}.st-search-skeleton i{height:48px;border-radius:11px}

/* Mobile bottom navigation + create sheet */
.st-bottom-nav{display:none}
.st-create-sheet{border:0;padding:0;background:transparent;width:min(520px,100vw);margin:auto auto 0;max-width:none}.st-create-sheet::backdrop{background:rgba(0,0,0,.45);backdrop-filter:blur(4px)}
.st-create-sheet-shell{background:var(--st-surface);border:1px solid var(--st-border);border-radius:22px 22px 0 0;padding:12px 16px calc(16px + env(safe-area-inset-bottom));box-shadow:0 -18px 60px rgba(0,0,0,.18)}
.st-create-sheet-shell>header{display:flex;justify-content:space-between;align-items:center;padding:8px 4px 12px}.st-create-sheet-shell>header strong{font-size:15px}.st-create-sheet-shell>header button{width:34px;height:34px;border:0;border-radius:50%;background:var(--st-surface2);color:var(--st-text);cursor:pointer}
.st-create-sheet-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.st-create-sheet-actions button, .st-create-sheet-actions a{border:0;background:var(--st-surface2);color:var(--st-text);border-radius:14px;padding:12px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:12px;font-weight:600;cursor:pointer}.st-create-sheet-actions .st-ui-icon{width:22px;height:22px}

@media (max-width:760px){body{font-size:15px}
 .st-shell{padding:8px 8px calc(86px + env(safe-area-inset-bottom))}
 .st-topbar{height:58px;padding:0 8px}
 .st-sidebar{display:none!important}
 .st-feedcol{padding-bottom:0}
 .st-bottom-nav{position:fixed;z-index:160;left:0;right:0;bottom:0;height:calc(64px + env(safe-area-inset-bottom));padding:4px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);align-items:center;background:color-mix(in srgb,var(--st-surface) 94%,transparent);border-top:1px solid var(--st-border);backdrop-filter:blur(18px);box-shadow:0 -6px 30px rgba(0,0,0,.06)}
 .st-bottom-nav>a, .st-bottom-nav>button{border:0;background:transparent;color:var(--st-muted);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:12px;font-weight:600;min-width:0;padding:4px;cursor:pointer}.st-bottom-nav .st-ui-icon{width:21px;height:21px}.st-bottom-nav>a:hover{color:var(--st-text)}
 .st-bottom-create{width:48px!important;height:48px!important;justify-self:center;border-radius:16px!important;background:var(--st-red)!important;color:#fff!important;transform:translateY(-9px);box-shadow:0 9px 22px color-mix(in srgb,var(--st-red) 35%,transparent)}.st-bottom-create span{display:none}.st-bottom-create .st-ui-icon{width:23px;height:23px}
 .st-footer{padding-bottom:80px}
 
 
 .st-carousel-nav{display:none}.st-carousel-dots{bottom:8px}.st-carousel-count{top:8px;right:8px}
 .st-composer-quick-actions{padding-left:48px}.st-composer-quick-actions button{font-size:12px}
 .st-profile-cover{height:185px}.st-profile-main{padding:0 16px 16px}.st-profile-main>.st-avatar-wrap>img{width:102px;height:102px;border-width:4px}.st-profile-text{padding-top:48px}
 #st-discover-people{grid-template-columns:1fr}.st-discover-section{overflow:hidden}#st-discover-reels{grid-template-columns:repeat(3,minmax(0,1fr))}
 .st-reels{width:calc(100% + 20px);margin-left:-8px;height:calc(100dvh - 122px);gap:0}.st-reels .st-reel{flex-basis:calc(100dvh - 122px);height:calc(100dvh - 122px);min-height:0;border-radius:0}.st-reel-overlay{padding-bottom:24px}.st-reel-actions{bottom:22px}
 .st-global-search-overlay{inset:58px 0 64px}.st-global-search-panel{margin:0;width:100%;max-height:100%;height:100%;border:0;border-radius:0;padding:8px}
 .st-skeleton-media{height:min(92vw,460px)}}



@media (prefers-reduced-motion:reduce){.st-skeleton-head i, .st-skeleton-head span, .st-skeleton-post>b, .st-skeleton-post>em, .st-skeleton-media, .st-search-skeleton i, .st-reel-skeleton{animation:none!important}
 *{scroll-behavior:auto!important;transition-duration:.01ms!important}}
/* 2.0 selector alignment */
.st-composer-quick-actions a{border:0;background:transparent;color:var(--st-muted);display:inline-flex;align-items:center;gap:8px;padding:8px 8px;border-radius:9px;font-size:12px;font-weight:600;white-space:nowrap;cursor:pointer}
.st-composer-quick-actions a:hover{background:var(--st-surface2);color:var(--st-text)}
#st-discover>section{min-width:0;overflow:hidden}#st-discover>section>.st-section-title{margin-bottom:8px}
.st-notification.is-unread{background:color-mix(in srgb,var(--st-red) 4%,var(--st-surface));position:relative;border-left:3px solid var(--st-red)}
.st-notification-avatar-stack{position:relative;flex:0 0 42px}.st-notification-avatar-stack img{width:42px;height:42px;border-radius:50%;object-fit:cover}.st-notification-avatar-stack b{position:absolute;right:-5px;bottom:-4px;min-width:21px;height:21px;padding:0 4px;border-radius:999px;background:var(--st-text);color:var(--st-surface);border:2px solid var(--st-surface);display:grid;place-items:center;font-size:12px;font-weight:700}
.st-bottom-nav>a.active{color:var(--st-red-text)}
.st-post.is-reaction-pending .st-like-button, .st-reel.is-reaction-pending [data-reel-react]{transform:scale(.96);opacity:.82}.st-reel-actions button.active{background:rgba(163,28,27,.75)}



/* Story reaction count stays available on larger screens; the compact mobile viewer hides it. */




/* 2.0.2 — Messenger UX: avatar opens profile, chat remains a separate target. */
.st-profile-avatar-link{display:block;text-decoration:none;color:inherit;cursor:pointer;outline:0}
.st-profile-avatar-link img{transition:transform .14s ease,box-shadow .14s ease}
.st-profile-avatar-link:hover img, .st-profile-avatar-link:focus-visible img{transform:scale(1.045);box-shadow:0 0 0 3px color-mix(in srgb,var(--st-red) 24%,transparent)}
.st-profile-avatar-link:focus-visible{border-radius:50%;box-shadow:0 0 0 2px color-mix(in srgb,var(--st-red) 58%,transparent)}

.st-fm-panel.is-list{height:min(var(--st-fm-list-height,420px),calc(100dvh - 104px));min-height:260px;transition:height .16s ease}
.st-fm-panel.is-new{height:min(520px,calc(100dvh - 104px));transition:height .16s ease}
.st-fm-panel.is-chat{height:min(620px,calc(100dvh - 104px));transition:height .16s ease}
.st-fm-header-profile{width:38px;height:38px;flex:0 0 38px;border-radius:50%;overflow:visible}
.st-fm-header-profile[hidden]{display:none!important}
.st-fm-header-profile .st-fm-header-avatar{display:block;width:38px;height:38px}
.st-fm-conversation{display:grid;grid-template-columns:52px minmax(0,1fr);gap:12px;align-items:center;padding:8px 8px;border-radius:16px;cursor:default}
.st-fm-conversation:hover{background:var(--st-surface2)}
.st-fm-conversation-open{min-width:0;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px 1px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.st-fm-conversation-open:focus-visible{outline:2px solid color-mix(in srgb,var(--st-red-text) 48%,transparent);outline-offset:3px;border-radius:10px}
.st-fm-avatar-wrap{position:relative;display:block;border-radius:50%}
.st-fm-avatar-wrap i, .st-conversation-avatar i{display:none}
.st-fm-avatar-wrap i.is-online, .st-conversation-avatar i.is-online{display:block;background:#19b45b}
.st-fm-start-label{font-size:12px;font-weight:650;color:var(--st-muted);padding-left:8px;white-space:nowrap}
.st-fm-search-person:hover .st-fm-start-label{color:var(--st-text)}
.st-fm-message-avatar{display:block;flex:0 0 30px;width:30px;height:30px;border-radius:50%;align-self:flex-end}
.st-fm-message-avatar img{display:block;width:30px;height:30px;border-radius:50%;object-fit:cover}
.st-fm-message>img{display:none}

.st-conversation-item{display:grid;grid-template-columns:50px minmax(0,1fr);gap:8px;align-items:center;padding:8px 8px;cursor:default}
.st-conversation-open{min-width:0;width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:4px 0;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer;font:inherit}
.st-conversation-open:focus-visible{outline:2px solid color-mix(in srgb,var(--st-red-text) 48%,transparent);outline-offset:3px;border-radius:10px}
.st-conversation-avatar{display:block;border-radius:50%;position:relative}
.st-message-avatar-link{display:block;flex:0 0 28px;width:28px;height:28px;border-radius:50%;align-self:flex-end}
.st-message-avatar-link .st-message-avatar{display:block;width:28px!important;height:28px!important}
.st-private-message>.st-message-avatar{display:none}

@media (max-width:760px){.st-fm-panel.is-list{height:min(var(--st-fm-list-height,420px),calc(100dvh - 92px));min-height:260px}
 .st-fm-panel.is-new{height:min(520px,calc(100dvh - 92px))}
 .st-fm-panel.is-chat{height:min(650px,calc(100dvh - 92px))}
 .st-fm-conversation{grid-template-columns:50px minmax(0,1fr);padding:8px 8px}
 .st-fm-avatar-wrap, .st-fm-avatar-wrap img{width:50px;height:50px}}

/* 2.0.3 — Tier details replace public profile badges. */
.st-profile-tier{font:inherit;color:inherit;cursor:pointer;appearance:none;-webkit-appearance:none;position:relative}
.st-profile-tier-image img{transition:transform .16s var(--st-ease),box-shadow .16s var(--st-ease),border-color .16s var(--st-ease)}
.st-profile-tier:hover img, .st-profile-tier:focus-visible img, .st-profile-tier[aria-expanded="true"] img{transform:translateY(-2px);border-color:color-mix(in srgb,var(--st-red) 42%,var(--st-border));box-shadow:0 10px 28px rgba(0,0,0,.17)}
.st-profile-tier:focus-visible{outline:2px solid color-mix(in srgb,var(--st-red-text) 70%,transparent);outline-offset:5px;border-radius:14px}
.st-profile-tier-fallback{padding:8px 12px;border:1px solid var(--st-border);border-radius:999px;background:var(--st-surface2);font-weight:700}
.st-profile-tier-fallback:hover, .st-profile-tier-fallback:focus-visible, .st-profile-tier-fallback[aria-expanded="true"]{border-color:color-mix(in srgb,var(--st-red) 42%,var(--st-border));background:color-mix(in srgb,var(--st-red) 7%,var(--st-surface2))}
.st-tier-info-popover{position:fixed;z-index:100000;width:min(320px,calc(100vw - 20px));padding:12px 16px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface);color:var(--st-text);box-shadow:0 16px 46px rgba(0,0,0,.24);text-align:left;pointer-events:auto}
.st-tier-info-popover[hidden]{display:none!important}
.st-tier-info-popover strong{display:block;margin:0 0 4px;font-size:15px;font-weight:700;line-height:1.25}
.st-tier-info-popover span{display:block;color:var(--st-muted);font-size:12px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}
.st-tier-info-popover::after{content:"";position:absolute;left:50%;bottom:-6px;width:10px;height:10px;background:var(--st-surface);border-right:1px solid var(--st-border);border-bottom:1px solid var(--st-border);transform:translateX(-50%) rotate(45deg)}
.st-tier-info-popover.is-below::after{top:-6px;bottom:auto;border:0;border-left:1px solid var(--st-border);border-top:1px solid var(--st-border)}
@media (max-width:700px){.st-tier-info-popover{padding:12px 12px;border-radius:12px}.st-tier-info-popover strong{font-size:13px}.st-tier-info-popover span{font-size:12px}}

/* 2.1.1 — Mobile Messenger + Instagram-like Story editor/viewer polish. */




































.st-bottom-nav [data-mobile-messages]{position:relative}
#st-bottom-message-badge{position:absolute;top:0;right:calc(50% - 20px);min-width:17px;height:17px;padding:0 4px;border-radius:999px;background:var(--st-red);color:#fff;border:2px solid var(--st-surface);display:grid;place-items:center;font-size:12px;font-weight:700;line-height:1}
#st-bottom-message-badge[hidden]{display:none!important}

@media (max-width:760px){/* On phones the bottom-nav Messages item is the launcher. The duplicate floating
    bubble is hidden and the panel opens safely above the navigation bar. */
 .st-floating-messenger{left:0;right:0;bottom:0;pointer-events:none}
 .st-fm-launcher{display:none!important}
 .st-fm-panel{position:fixed!important;left:8px!important;right:8px!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;width:auto!important;max-width:none!important;pointer-events:auto;border-radius:18px}
 .st-fm-panel.is-list{height:min(var(--st-fm-list-height,420px),calc(100dvh - 84px - env(safe-area-inset-bottom)))!important;min-height:250px}
 .st-fm-panel.is-new{height:min(520px,calc(100dvh - 84px - env(safe-area-inset-bottom)))!important}
 .st-fm-panel.is-chat{height:min(650px,calc(100dvh - 84px - env(safe-area-inset-bottom)))!important}}

@media (max-width:390px){.st-fm-panel{left:5px!important;right:5px!important}}





@media (max-width:760px){.st-bottom-nav [data-mobile-messages].is-panel-open{color:var(--st-red-text)}}

/* 2.1.2 — Direct canvas-first Story composer */

















/* 2.1.7 — beta tester UX pass. */
.st-comments-count.has-comments{color:var(--st-red-text)!important;font-weight:700}.st-comments-count.has-comments::before{content:"";display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;margin-right:4px;vertical-align:middle}
.st-media-lightbox-close{display:grid!important;place-items:center!important;line-height:1!important;padding:0!important}.st-media-lightbox-close .st-ui-icon{width:22px;height:22px;margin:0!important;display:block}
.st-avatar-edit{display:grid!important;place-items:center!important;line-height:1}.st-avatar-edit .st-ui-icon{margin:0!important;display:block}
#st-profile.is-editing-profile>.st-profile-nav,#st-profile.is-editing-profile>.st-profile-tab-panels{display:none!important}#st-profile.is-editing-profile #st-profile-edit{display:block}.st-profile-settings-form>section{display:flex;flex-direction:column;gap:16px}.st-profile-settings-form>section[hidden]{display:none!important}.st-profile-settings-form>section>h3,.st-profile-settings-form>section>h4{margin-bottom:0}.st-profile-settings-form .st-two{gap:16px}.st-profile-settings-form label{margin:0}
.st-register-consent a{font-weight:700}.st-register-doc-list{display:flex;flex-direction:column;gap:8px}.st-register-doc-list span{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 8px;border:1px solid var(--st-border);border-radius:10px;background:var(--st-surface2)}
.st-composer-generic-progress{margin-top:12px}.st-composer-generic-progress[hidden]{display:none!important}
/* Profile image cropper: the saved file is the crop the member sees. */
.st-image-crop-dialog{border:0;padding:0;background:transparent;color:var(--st-text);width:min(680px,calc(100vw - 24px));max-width:none}.st-image-crop-dialog::backdrop{background:rgba(0,0,0,.72);backdrop-filter:blur(5px)}.st-image-crop-shell{background:var(--st-surface);border:1px solid var(--st-border);border-radius:22px;overflow:hidden;box-shadow:0 30px 90px rgba(0,0,0,.4)}.st-image-crop-shell>header{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 16px;border-bottom:1px solid var(--st-border)}.st-image-crop-shell>header strong,.st-image-crop-shell>header small{display:block}.st-image-crop-shell>header small{color:var(--st-muted);font-size:.75rem;margin-top:2px}.st-image-crop-shell>header button{width:38px;height:38px;border-radius:50%;border:1px solid var(--st-border);background:var(--st-surface2);color:var(--st-text);display:grid;place-items:center}.st-image-crop-stage{position:relative;margin:16px auto;overflow:hidden;background:#09090b;touch-action:none;user-select:none;cursor:grab;border:1px solid var(--st-border);box-shadow:0 10px 35px rgba(0,0,0,.22)}.st-image-crop-stage.is-dragging{cursor:grabbing}.st-image-crop-stage.is-avatar{width:min(440px,calc(100vw - 64px));aspect-ratio:1;border-radius:50%}.st-image-crop-stage.is-cover{width:min(620px,calc(100vw - 44px));aspect-ratio:3/1;border-radius:14px}.st-image-crop-stage img{position:absolute;left:50%;top:50%;max-width:none!important;max-height:none!important;pointer-events:none;transform-origin:center center}.st-image-crop-controls{display:flex;align-items:center;gap:8px;padding:0 16px 16px}.st-image-crop-controls input{flex:1}.st-image-crop-shell>footer{display:flex;justify-content:flex-end;gap:8px;padding:16px 16px;border-top:1px solid var(--st-border)}
@media(max-width:760px){.st-image-crop-dialog{width:100vw}.st-image-crop-shell{border-radius:18px}.st-image-crop-stage.is-avatar{width:min(78vw,420px)}.st-image-crop-stage.is-cover{width:calc(100vw - 28px)}.st-image-crop-controls{padding-inline:16px}}
.st-product-frame{display:grid;grid-template-columns:auto minmax(0,220px) 1fr;gap:12px;align-items:center;padding:12px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface2)}.st-product-frame img{width:220px;max-width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px;border:1px solid var(--st-border)}.st-product-frame small{color:var(--st-muted)}.st-mod-product-thumb{width:72px;height:42px;object-fit:cover;border-radius:8px;border:1px solid var(--st-border);flex:0 0 auto}.st-claim-row{grid-template-columns:110px 1.2fr .7fr 1.2fr .9fr .85fr}.st-claim-photo{width:96px;height:54px;object-fit:cover;border-radius:8px;border:1px solid var(--st-border)}@media(max-width:760px){.st-product-frame{grid-template-columns:1fr}.st-product-frame img{width:100%}.st-claim-row{grid-template-columns:1fr 1fr}.st-claim-row-head{display:none}}


/* Live 2.4.14: fast commercial CTA presets */
.st-cta-box{padding:12px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface2)}
.st-cta-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.st-cta-head strong{display:block;margin-top:2px}
.st-cta-presets{display:flex;gap:8px;flex-wrap:wrap}.st-cta-chip{border:1px solid var(--st-border);background:var(--st-surface);color:var(--st-text);border-radius:999px;padding:8px 12px;font-weight:700;cursor:pointer}.st-cta-chip.active{background:var(--st-red);border-color:var(--st-red);color:#fff}
.st-cta-manager{margin-top:12px;padding-top:12px;border-top:1px solid var(--st-border)}.st-cta-list{display:grid;gap:8px}.st-cta-edit{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 8px;background:var(--st-surface);border:1px solid var(--st-border);border-radius:10px}.st-cta-edit>div{display:flex;gap:4px}.st-cta-edit button{width:30px;height:30px;border:1px solid var(--st-border);border-radius:8px;background:var(--st-surface2);color:var(--st-text);cursor:pointer}.st-cta-add{display:flex;gap:8px;margin-top:8px}.st-cta-add input{min-width:0;flex:1}
.st-claim-row{grid-template-columns:96px 1.15fr .65fr .8fr 1.15fr .85fr .85fr!important}
@media(max-width:760px){.st-claim-row{grid-template-columns:1fr 1fr!important}.st-cta-head{align-items:flex-start}.st-cta-add{flex-direction:column}}

/* 2.1.15 — Live spectators are always Shin Tomo red; elapsed time stays neutral. */
#st-live-page .st-live-counters .st-live-viewer-count,
#st-live-page .st-live-counters .st-live-viewer-count b{color:#f2605f!important}
#st-live-page .st-live-counters .st-live-viewer-count .st-live-viewer-icon{color:#f2605f!important;stroke:#f2605f!important;fill:none!important}


/* 2.1.16 — Live telemetry matches the compact reference: no pills, one horizontal line. */
#st-live-page .st-live-counters{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;min-width:max-content!important;width:max-content!important;white-space:nowrap!important}
#st-live-page .st-live-counters>span,#st-live-page .st-live-counters .st-live-viewer-count,#st-live-page .st-live-counters .st-live-elapsed{display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:flex-start!important;width:auto!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;outline:0!important;white-space:nowrap!important;writing-mode:horizontal-tb!important;line-height:1!important}
#st-live-page .st-live-counters .st-live-viewer-count{flex-direction:row!important;gap:4px!important;color:#f2605f!important}
#st-live-page .st-live-counters .st-live-viewer-count b{display:inline-block!important;flex:0 0 auto!important;color:#f2605f!important;font-size:13px!important;font-weight:850!important;line-height:1!important;white-space:nowrap!important}
#st-live-page .st-live-counters .st-live-viewer-icon{display:block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;overflow:visible!important;fill:none!important;stroke:#f2605f!important;color:#f2605f!important;stroke-width:1.8!important;stroke-linecap:round!important;stroke-linejoin:round!important}
#st-live-page .st-live-counters .st-live-elapsed{color:#efeff1!important;font-size:12px!important;font-weight:750!important;font-variant-numeric:tabular-nums!important;letter-spacing:.01em!important}

/* 2.1.18 — social notification deletion + gentle incoming notification sound */
.st-notifications-head{align-items:center}.st-notifications-head .st-btn{flex:0 0 auto}
.st-notification{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;gap:0;padding:0;overflow:hidden}
.st-notification-link{display:flex;align-items:center;gap:12px;min-width:0;padding:16px 16px}.st-notification-link>div{min-width:0}
.st-notification-delete{width:44px;border:0;border-left:1px solid var(--st-border);background:transparent;color:var(--st-muted);display:grid;place-items:center;cursor:pointer}.st-notification-delete:hover{background:var(--st-surface2);color:var(--st-red-text)}.st-notification-delete .st-ui-icon{width:17px;height:17px}
@media (max-width:760px){.st-notifications-head{align-items:flex-start}.st-notifications-head .st-btn{min-height:36px;padding:0 8px;font-size:12px}.st-notification{grid-template-columns:minmax(0,1fr) 40px}.st-notification-link{padding:12px}.st-notification-delete{width:40px}}

/* 2.1.19 - Tomo Shop support inbox: Messenger-style operator workspace, provider-ready for respond.io. */
.st-support-inbox-dialog{width:min(1320px,calc(100vw - 48px));height:min(820px,calc(100dvh - 48px));max-width:none;max-height:none;margin:auto;padding:0;border:0;border-radius:20px;background:transparent;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.42)}
.st-support-inbox-dialog::backdrop{background:rgba(0,0,0,.72)}
.st-support-messenger-layout{height:100%;min-height:0;display:grid;grid-template-columns:340px minmax(420px,1fr) 300px;overflow:hidden;border:1px solid var(--st-border);border-radius:20px;background:var(--st-surface);color:var(--st-text)}
.st-support-conversation-list{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;min-height:0;overflow:hidden;border-right:1px solid var(--st-border);background:var(--st-surface)}
.st-support-conversation-list .st-messenger-title-row>div{min-width:0}.st-support-conversation-list .st-messenger-title-row h1{font-size:20px}.st-support-conversation-list .st-messenger-title-row small{display:block;margin-top:2px;color:var(--st-muted);font-size:12px;font-weight:600}
.st-support-conversation-list [data-support-inbox-close]{width:38px;height:38px;flex:0 0 38px;border:0;background:var(--st-surface2)}
.st-support-conversation{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;background:var(--st-surface)}
#st-support-thread-head{min-height:64px}.st-support-conversation #st-support-thread{min-height:0;overflow-y:auto;padding:16px 16px 12px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--st-muted) 35%,transparent) transparent}
.st-support-conversation .st-message-form{grid-template-columns:40px 40px minmax(80px,1fr) 42px}.st-support-composer-spacer{width:40px;height:40px}
#st-support-info{min-width:0;min-height:0;overflow-y:auto}.st-support-conversation .st-support-loading{height:100%;min-height:180px}
.st-support-inbox-dialog .st-support-load-error{align-self:center}.st-support-inbox-dialog .st-conversation-item{display:grid}
.st-support-inbox-dialog .st-private-message{margin:4px 0}.st-support-inbox-dialog .st-message-bubble{white-space:normal}.st-support-inbox-dialog .st-chat-image{max-width:min(340px,100%)!important;max-height:380px!important}
@media (max-width:1050px){.st-support-inbox-dialog{width:min(980px,calc(100vw - 30px))}.st-support-messenger-layout{grid-template-columns:320px minmax(0,1fr)}#st-support-info{display:none}}
@media (max-width:760px){.st-support-inbox-dialog{width:100%;height:100dvh;max-width:none;max-height:none;margin:0;border-radius:0}.st-support-messenger-layout{grid-template-columns:1fr;border:0;border-radius:0}.st-support-conversation-list{border:0;display:grid}.st-support-conversation{display:none;height:100%;min-height:0}.st-support-messenger-layout.has-active-ticket .st-support-conversation-list{display:none}.st-support-messenger-layout.has-active-ticket .st-support-conversation{display:grid}.st-support-inbox-dialog .st-message-mobile-back{display:grid!important}.st-support-conversation #st-support-thread{padding:12px 8px 8px}.st-support-conversation .st-message-form{grid-template-columns:38px 38px minmax(60px,1fr) 40px;padding:8px 8px max(8px,env(safe-area-inset-bottom))}.st-support-conversation .st-message-form .st-icon-btn{width:38px;height:38px}.st-support-composer-spacer{width:38px;height:38px}.st-support-conversation .st-message-form>#st-support-inbox-input{height:38px}.st-support-conversation .st-message-send{width:40px;min-width:40px;height:38px;min-height:38px}}
.st-support-conversation .st-message-form>#st-support-inbox-input{height:40px;min-width:0;border:0;border-radius:999px;background:var(--st-surface2);padding:0 16px;color:var(--st-text);outline:0}.st-support-conversation .st-message-form>#st-support-inbox-input:focus{box-shadow:0 0 0 2px color-mix(in srgb,var(--st-red) 20%,transparent)}

/* 2.1.20 - Private required mobile number for account/support identity. */
.st-phone-required-dialog{width:min(520px,calc(100% - 24px));border:1px solid var(--st-border);border-radius:20px;padding:0;background:var(--st-surface);color:var(--st-text);box-shadow:0 30px 100px rgba(0,0,0,.48)}
.st-phone-required-dialog::backdrop{background:rgba(0,0,0,.76);backdrop-filter:blur(4px)}
.st-phone-required-shell{display:flex;flex-direction:column;gap:12px;padding:24px}.st-phone-required-shell h2{margin:0}.st-phone-required-shell p{margin:0 0 4px;color:var(--st-muted);line-height:1.55}.st-phone-required-shell label{display:flex;flex-direction:column;gap:8px;font-weight:700}.st-phone-required-shell input{min-height:46px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);color:var(--st-text);padding:0 12px;font:inherit}.st-phone-required-shell input:focus{outline:0;border-color:var(--st-red);box-shadow:0 0 0 3px color-mix(in srgb,var(--st-red) 16%,transparent)}

/* Supporto Tomo Shop operator UI moved to Shin Tomo Help Desk plugin. */


/* 2.1.25 - Vista cliente ordini limitata a pagamento + tracking */
.st-support-customer-tabs{display:flex;gap:4px;padding:8px 12px;border-bottom:1px solid var(--st-border);background:color-mix(in srgb,var(--st-surface2) 70%,transparent)}.st-support-customer-tabs button{border:0;border-radius:9px;background:transparent;color:var(--st-muted);padding:8px 12px;font-weight:800;cursor:pointer}.st-support-customer-tabs button.active{background:var(--st-surface2);color:var(--st-text)}
.st-support-orders-panel{flex:1;overflow:auto;padding:16px;min-height:0}.st-support-orders-note{margin-bottom:8px;padding:8px 12px;border:1px solid var(--st-border);border-radius:10px;background:var(--st-surface2);color:var(--st-muted);font-size:12px}.st-support-order{padding:12px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);margin-bottom:8px}.st-support-order>strong{display:block;margin-bottom:8px}.st-support-order>div{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px;padding:4px 0;border-top:1px solid color-mix(in srgb,var(--st-border) 65%,transparent);font-size:13px}.st-support-order span{color:var(--st-muted)}.st-support-order b{overflow-wrap:anywhere}.st-support-order a{color:#8bb7ff}
[hidden][data-support-panel]{display:none!important}

/* 2.1.26 · Ordini cliente chiari */
.st-support-orders-panel{padding:0;display:flex;flex-direction:column;background:var(--st-bg);min-height:0}.st-customer-orders-dashboard{position:sticky;top:0;z-index:3;padding:12px;border-bottom:1px solid var(--st-border);background:color-mix(in srgb,var(--st-bg) 96%,transparent)}
.st-customer-order-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.st-customer-order-kpis button{appearance:none;border:1px solid var(--st-border);border-radius:11px;background:var(--st-surface2);color:var(--st-text);padding:8px;text-align:left;cursor:pointer}.st-customer-order-kpis button.active{border-color:#666d79}.st-customer-order-kpis button.active.due{border-color:#e54b55;background:color-mix(in srgb,#a31c1b 8%,var(--st-surface2))}.st-customer-order-kpis button.active.paid{border-color:#45a269;background:color-mix(in srgb,#39be68 8%,var(--st-surface2))}.st-customer-order-kpis strong,.st-customer-order-kpis span{display:block}.st-customer-order-kpis strong{font-size:15px}.st-customer-order-kpis span{margin-top:2px;color:var(--st-muted);font-size:12px}.st-customer-orders-explain{display:flex;flex-direction:column;gap:2px;margin-top:8px}.st-customer-orders-explain strong{font-size:13px}.st-customer-orders-explain span{color:var(--st-muted);font-size:12px}.st-customer-orders-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:8px}.st-customer-orders-search input{min-width:0;height:37px;border:1px solid var(--st-border);border-radius:9px;background:var(--st-surface2);color:var(--st-text);padding:0 8px;outline:0}.st-customer-orders-search button,.st-customer-orders-pagination button{border:1px solid var(--st-border);border-radius:9px;background:var(--st-surface2);color:var(--st-text);padding:0 12px;font-weight:700;cursor:pointer}.st-customer-orders-list{padding:8px 12px;overflow:auto;min-height:0}.st-support-order{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;padding:8px;margin-bottom:8px}.st-support-order.is-due{border-left:3px solid #e54b55}.st-support-order.is-paid{border-left:3px solid #45a269}.st-support-order-photo{width:64px;height:64px;border:1px solid var(--st-border);border-radius:9px;overflow:hidden;background:var(--st-surface);display:grid;place-items:center;color:var(--st-muted)}.st-support-order-photo img{width:100%;height:100%;object-fit:cover}.st-support-order-photo svg{width:22px;height:22px}.st-support-order-copy{min-width:0}.st-support-order-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.st-support-order-title strong{margin:0;font-size:13px;overflow-wrap:anywhere}.st-support-order-title>span{flex:0 0 auto;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:800}.st-support-order-title>span.paid{background:color-mix(in srgb,#39be68 14%,transparent);color:#64d58d}.st-support-order-title>span.due{background:color-mix(in srgb,#a31c1b 13%,transparent);color:#ff8c93}.st-support-order-copy>small{display:block;margin:4px 0 8px;color:var(--st-muted);font-size:12px}.st-support-order-copy>div:not(.st-support-order-title){display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;padding:4px 0;border-top:1px solid color-mix(in srgb,var(--st-border) 65%,transparent);font-size:12px}.st-support-order-copy span{color:var(--st-muted)}.st-support-order-copy b{overflow-wrap:anywhere}.st-customer-orders-pagination{display:flex;align-items:center;justify-content:center;gap:8px;padding:8px 12px 12px}.st-customer-orders-pagination button{height:32px}.st-customer-orders-pagination button:disabled{opacity:.35;cursor:default}.st-customer-orders-pagination span{color:var(--st-muted);font-size:12px}
@media(max-width:560px){.st-support-order{grid-template-columns:52px minmax(0,1fr)}.st-support-order-photo{width:52px;height:52px}.st-customer-order-kpis strong{font-size:15px}.st-customer-orders-dashboard{padding:8px}.st-customer-orders-list{padding:8px 8px}}
.st-support-order>.st-support-order-photo{display:grid;grid-template-columns:none;gap:0;padding:0;border-top:1px solid var(--st-border);font-size:inherit}.st-support-order>.st-support-order-copy{display:block;grid-template-columns:none;gap:0;padding:0;border-top:0;font-size:inherit}.st-support-order-copy .st-support-order-title span{color:inherit}
.st-customer-orders-list .st-support-order{display:block}.st-customer-orders-list .st-support-order>.st-support-order-copy{width:100%}

/* 2.1.27 · quoted/forwarded Tomo Shop support messages */
.st-support-reference{margin:8px 0 8px;padding:8px 8px;border-left:3px solid rgba(255,255,255,.45);border-radius:6px;background:rgba(0,0,0,.12);min-width:0}.st-support-reference.is-forward{border-left-color:#9ca7ff}.st-support-reference span,.st-support-reference b{display:block}.st-support-reference span{font-size:12px;font-weight:800;opacity:.72}.st-support-reference b{margin-top:2px;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}


/* === Design engineering pass 2.2.0 ===
   One motion system for the whole UI: strong ease-out curves, sub-300ms timings,
   press feedback on everything tappable, hover only on real pointers,
   enter states for overlays, and reduced-motion fallbacks that keep fades but drop movement. */
:root{
 --st-ease-out:cubic-bezier(.23,1,.32,1);
 --st-ease-in-out:cubic-bezier(.77,0,.175,1);
 --st-ease-drawer:cubic-bezier(.32,.72,0,1);
 --st-ease:var(--st-ease-out);
 --st-dur-press:140ms;
 --st-dur-fast:180ms;
 --st-dur-base:240ms;
 --st-focus-ring:0 0 0 2px var(--st-surface),0 0 0 4px color-mix(in srgb,var(--st-red) 70%,transparent);
 color-scheme:light;
}
[data-st-theme=dark]{color-scheme:dark}

/* Type and rendering */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
h1,h2,h3,.st-discussion-title h3{text-wrap:balance}
.st-post-body,.st-empty small{text-wrap:pretty}
.st-post-stats,.st-comments-count,.st-shares-count,.st-notify-btn span,#st-bottom-message-badge,.st-reaction-summary{font-variant-numeric:tabular-nums}
.st-post-head .meta{font-size:12px;color:var(--st-muted);letter-spacing:0}

/* Theme switch: swap palettes in one frame instead of every surface cross-fading at its own speed. */
html.st-theme-switching,html.st-theme-switching *,html.st-theme-switching *::before,html.st-theme-switching *::after{transition:none!important}

/* Tap targets: no grey flash, no double-tap zoom delay — our own :active state replaces both. */
button,a,label,summary,[role=button],[role=menuitem]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}

/* Focus: one consistent ring, only for keyboard users. */
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:none;box-shadow:var(--st-focus-ring)}
:where(.st-btn,.st-icon-btn,.st-post-actions button,.st-like-button,.st-sidebar a,.st-bottom-nav>a,.st-bottom-nav>button):focus-visible{box-shadow:var(--st-focus-ring)}

/* ---------- Press feedback ---------- */
.st-btn,.st-icon-btn,.st-post-actions button,.st-like-wrap>.st-like-button,.st-sidebar a,.st-mobile-nav a,.st-mobile-menu-action,
.st-bottom-nav>a,.st-bottom-nav>button,.st-create-sheet-actions button,.st-create-sheet-actions a,.st-composer-quick-actions>*,
.st-notification-filters button,.st-messenger-filters button,.st-upload-label,.st-user-chip{
 transition:transform var(--st-dur-press) var(--st-ease-out),background-color var(--st-dur-fast) ease,border-color var(--st-dur-fast) ease,color var(--st-dur-fast) ease,box-shadow var(--st-dur-fast) ease,opacity var(--st-dur-fast) ease;
}
.st-btn:active:not(:disabled),.st-icon-btn:active,.st-post-actions button:active:not(:disabled),.st-like-wrap>.st-like-button:active:not(:disabled),
.st-mobile-nav a:active,.st-mobile-menu-action:active,.st-create-sheet-actions button:active,.st-create-sheet-actions a:active,
.st-composer-quick-actions>*:active,.st-notification-filters button:active,.st-messenger-filters button:active,.st-upload-label:active,.st-user-chip:active{transform:scale(.97)}
.st-sidebar a:active,.st-bottom-nav>a:active{transform:scale(.95)}
.st-bottom-nav>.st-bottom-create:active{transform:scale(.92)}
.st-btn:disabled{transform:none}

/* Hover lift only where a real pointer exists; touch taps no longer leave buttons "stuck" raised. */
.st-btn:hover:not(:disabled){transform:none}
@media (hover:hover) and (pointer:fine){
 .st-btn:hover:not(:disabled){transform:translateY(-1px)}
 .st-btn:hover:active:not(:disabled){transform:translateY(0) scale(.97)}
 .st-icon-btn:hover{background:color-mix(in srgb,var(--st-text) 7%,var(--st-surface2))}
}
@media (hover:none){
 .st-post-actions button:hover:not(.active){background:transparent;color:var(--st-muted)}
 .st-sidebar a:hover:not(.active){background:transparent;box-shadow:none;color:var(--st-muted)}
 .st-reaction-picker button:hover{transform:none}
}

/* ---------- Post card ---------- */
.st-post-actions button{position:relative}
.st-post-actions button>.st-ui-icon,.st-like-button .st-like-icon{transform-origin:center;will-change:auto}
.st-post-save.active .st-ui-icon{fill:currentColor}
/* Optimistic state should look final, not "pending": the server confirms silently. */
.st-post.is-reaction-pending .st-like-button,.st-reel.is-reaction-pending [data-reel-react]{transform:none;opacity:1}
.st-post-head a:first-child img{transition:opacity var(--st-dur-fast) ease}
@media (hover:hover) and (pointer:fine){.st-post-head a:first-child:hover img{opacity:.88}}

/* Reaction picker: origin-aware, fast, emojis cascade in on open. */
.st-reaction-picker{transition:opacity var(--st-dur-fast) var(--st-ease-out),transform var(--st-dur-fast) var(--st-ease-out),visibility 0s linear var(--st-dur-fast)}
.st-like-wrap.open .st-reaction-picker,.st-like-wrap:focus-within .st-reaction-picker{transition:opacity var(--st-dur-fast) var(--st-ease-out),transform var(--st-dur-fast) var(--st-ease-out),visibility 0s}
.st-reaction-picker button{transition:transform var(--st-dur-fast) var(--st-ease-out),opacity var(--st-dur-fast) var(--st-ease-out)}
.st-like-wrap:not(.open):not(:focus-within) .st-reaction-picker button{opacity:0;transform:translateY(6px) scale(.9)}
.st-like-wrap.open .st-reaction-picker button:nth-child(2),.st-like-wrap:focus-within .st-reaction-picker button:nth-child(2){transition-delay:25ms}
.st-like-wrap.open .st-reaction-picker button:nth-child(3),.st-like-wrap:focus-within .st-reaction-picker button:nth-child(3){transition-delay:50ms}
.st-like-wrap.open .st-reaction-picker button:nth-child(4),.st-like-wrap:focus-within .st-reaction-picker button:nth-child(4){transition-delay:75ms}
.st-like-wrap.open .st-reaction-picker button:nth-child(5),.st-like-wrap:focus-within .st-reaction-picker button:nth-child(5){transition-delay:100ms}
.st-like-wrap.open .st-reaction-picker button:nth-child(n+6),.st-like-wrap:focus-within .st-reaction-picker button:nth-child(n+6){transition-delay:125ms}
@media (hover:hover) and (pointer:fine){
 .st-like-wrap.open .st-reaction-picker button:hover{transform:translateY(-6px) scale(1.25);transition-delay:0s}
}
.st-reaction-picker button:active{transform:scale(.9)!important;transition-delay:0s}

/* Feed entry: first screen cascades (40ms apart), later pages simply fade. */
@keyframes st-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.st-enter{animation:st-enter 320ms var(--st-ease-out) both;animation-delay:calc(var(--st-i,0) * 40ms)}

/* Media fades in as it decodes instead of popping. */
.st-post-media-item{background:var(--st-surface2)}

/* Load more: quiet, with a spinner while fetching. */
.st-load-more{min-height:46px;gap:8px;color:var(--st-muted)}
.st-load-more.is-loading{color:var(--st-text);cursor:progress;opacity:1}
.st-load-more.is-loading::before{content:"";width:15px;height:15px;border-radius:50%;border:2px solid color-mix(in srgb,var(--st-text) 18%,transparent);border-top-color:var(--st-red);animation:st-spin .6s linear infinite}
@keyframes st-spin{to{transform:rotate(360deg)}}

/* Skeleton: softer, faster sweep (a quicker shimmer reads as a faster load). */
.st-skeleton-head i,.st-skeleton-head span,.st-skeleton-post>b,.st-skeleton-post>em,.st-skeleton-media,.st-search-skeleton i{animation-duration:1.1s;animation-timing-function:linear}

/* Empty / error states: icon, headline, hint, action. */
.st-empty-state{display:flex;flex-direction:column;align-items:center;gap:8px;padding:40px 24px;text-align:center}
.st-empty-state strong{color:var(--st-text);font-size:17px}
.st-empty-state small{max-width:36ch;color:var(--st-muted);line-height:1.5}
.st-empty-state .st-btn{margin-top:8px}
.st-empty-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:4px;border-radius:50%;background:var(--st-surface2);color:var(--st-muted)}
.st-empty-icon .st-ui-icon{width:24px;height:24px}
.st-feed-error .st-empty-icon{background:color-mix(in srgb,var(--st-red) 10%,var(--st-surface2));color:var(--st-red-text)}

/* Highlight for a just-published post: fades out instead of snapping off. */
.st-post-target{transition:outline-color .6s ease}

/* ---------- Toasts ---------- */
.st-toaster{position:fixed;z-index:2000;right:20px;bottom:20px;display:flex;flex-direction:column;align-items:flex-end;gap:8px;pointer-events:none;max-width:min(420px,calc(100vw - 32px))}
.st-toaster .st-toast{position:relative;right:auto;bottom:auto;max-width:100%;pointer-events:auto;cursor:default;
 padding:12px 16px 12px 16px;border-radius:14px;background:#1f1f1f;color:#f7f7f8;font-size:15px;font-weight:600;line-height:1.4;
 border:1px solid rgba(255,255,255,.08);box-shadow:0 10px 30px rgba(0,0,0,.22),0 2px 6px rgba(0,0,0,.12);
 display:flex;align-items:center;gap:8px;
 opacity:0;transform:translateY(12px) scale(.97);
 transition:opacity 260ms var(--st-ease-out),transform 260ms var(--st-ease-out)}
.st-toaster .st-toast::before{content:"";flex:0 0 8px;height:8px;border-radius:50%;background:#8b8b93}
.st-toaster .st-toast[data-type=success]::before{background:#2bd576}
.st-toaster .st-toast[data-type=error]::before{background:var(--st-red2)}
.st-toaster .st-toast[data-mounted]{opacity:1;transform:none}
/* Exit is faster than entry: the system is responding, not presenting. */
.st-toaster .st-toast[data-leaving]{opacity:0;transform:translateY(6px) scale(.98);transition-duration:180ms}
[data-st-theme=dark] .st-toaster .st-toast{background:#f4f4f6;color:#171717;border-color:rgba(0,0,0,.06)}

/* Badges */
.st-notify-btn span,#st-bottom-message-badge{transform-origin:center}

/* ---------- Overlays ---------- */
/* Centered dialogs scale from the middle (they have no trigger anchor); sheets rise from the bottom. */
dialog.st-modal[open],dialog.st-content-edit-dialog[open],dialog.st-support-dialog[open],dialog.st-media-position-dialog[open],dialog.st-cover-position-dialog[open]{
 animation:st-dialog-in 220ms var(--st-ease-out)}
dialog.st-create-sheet[open]{animation:st-sheet-in 360ms var(--st-ease-drawer)}
dialog[open]::backdrop{animation:st-fade-in 220ms ease}
@keyframes st-dialog-in{from{opacity:0;transform:scale(.96)}to{opacity:1;transform:none}}
@keyframes st-sheet-in{from{transform:translateY(100%)}to{transform:none}}
@keyframes st-fade-in{from{opacity:0}to{opacity:1}}
@media (max-width:760px){
 dialog.st-content-edit-dialog[open]{animation:st-sheet-in 360ms var(--st-ease-drawer)}
}
.st-create-sheet-shell>header::before{content:"";position:absolute;left:50%;top:6px;width:36px;height:4px;margin-left:-16px;border-radius:99px;background:var(--st-border)}
.st-create-sheet-shell>header{position:relative}

/* Mobile menu grows out of the menu button (top-right). */
.st-mobile-menu-panel:not([hidden]){transform-origin:calc(100% - 22px) -8px;animation:st-pop-in 200ms var(--st-ease-out)}
@keyframes st-pop-in{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:none}}

/* Global search overlay */
.st-global-search-overlay:not([hidden]){animation:st-fade-in 160ms ease}
.st-global-search-overlay:not([hidden]) .st-global-search-panel{animation:st-pop-in 200ms var(--st-ease-out);transform-origin:top center}

/* ---------- Navigation ---------- */
.st-bottom-nav>a.active .st-ui-icon{transform:translateY(-1px)}
.st-bottom-nav>a .st-ui-icon{transition:transform var(--st-dur-fast) var(--st-ease-out)}
.st-sidebar a.active .st-nav-icon{color:var(--st-red-text)}
.st-topbar{transition:box-shadow var(--st-dur-base) ease}

/* ---------- Mobile ---------- */
@media (max-width:760px){
 .st-toaster{left:12px;right:12px;bottom:calc(76px + env(safe-area-inset-bottom));align-items:stretch;max-width:none}
 .st-toaster .st-toast{transform:translateY(100%);font-size:15px}
 .st-toaster .st-toast[data-mounted]{transform:none}
 .st-toaster .st-toast[data-leaving]{transform:translateY(40%)}
 .st-post-actions button{min-height:44px}
}

/* ---------- Reduced motion: keep fades that aid comprehension, drop all movement. ---------- */
@media (prefers-reduced-motion:reduce){
 .st-enter{animation:st-fade-in 200ms ease both;animation-delay:0s}
 dialog[open],dialog.st-create-sheet[open],dialog.st-content-edit-dialog[open],.st-mobile-menu-panel:not([hidden]),.st-global-search-overlay:not([hidden]) .st-global-search-panel{animation:st-fade-in 160ms ease!important}
 .st-toaster .st-toast,.st-toaster .st-toast[data-leaving]{transform:none!important}
 .st-btn:active:not(:disabled),.st-icon-btn:active,.st-post-actions button:active,.st-like-wrap>.st-like-button:active,.st-sidebar a:active,.st-bottom-nav>a:active,.st-bottom-nav>.st-bottom-create:active{transform:none}
 .st-btn:hover:not(:disabled){transform:none!important}
 .st-reaction-picker,.st-reaction-picker button,.st-like-wrap:not(.open):not(:focus-within) .st-reaction-picker button{transform:none!important;transition-delay:0s!important}
 .st-like-wrap.open .st-reaction-picker,.st-like-wrap:focus-within .st-reaction-picker{transform:none!important}
 @media (max-width:760px){.st-reaction-picker,.st-like-wrap.open .st-reaction-picker,.st-like-wrap:focus-within .st-reaction-picker{transform:translateX(-50%)!important}}
 .st-load-more.is-loading::before{animation-duration:1.4s}
 html{scroll-behavior:auto}
}


/* === 2.2.1 — fixes from the real-browser audit (390 / 768 / 1440) === */

/* Accent text on tinted chips measured 3.8:1; a deeper red ink keeps the brand hue and passes AA. */
:root{--st-red-ink:#a31c1b}
[data-st-theme=dark]{--st-red-ink:#f2605f}
.st-profile-nav button.active,.st-messenger-filters button.active,.st-topnav-manage{color:var(--st-red-ink)}

/* Desktop top bar: the nav was absolutely centred and slid under the search field once
   staff links (Supporto, Gestisci) made it wider. Keep it in the flex flow; search yields space first. */
@media (min-width:1181px){
 .st-topbar{gap:20px}
 .st-topnav{position:static;transform:none;margin:0 auto;flex:0 0 auto;gap:clamp(12px,1.35vw,22px)}
 .st-search{flex:0 1 360px;width:auto;min-width:160px;margin-right:0}
}

/* Messenger launcher showed an empty dark badge with zero unread. */
.st-fm-launcher b:empty{display:none}

/* Toasts sat on top of the floating Messaggi launcher (bottom-right) on tablet/desktop. */
@media (min-width:761px){body:has(#st-fm-launcher) .st-toaster{bottom:88px}}

/* Touch targets: 44px minimum on phones. Icon buttons grow for real; chips and text actions
   keep their look and get an invisible 44px hit area instead. */
@media (max-width:760px){
 .st-top-actions>.st-icon-btn,.st-messenger-title-row .st-icon-btn{width:44px;height:44px}
 .st-top-actions>.st-user-chip{min-width:44px;min-height:44px;display:inline-grid;place-items:center}
 .st-brand{min-height:44px;display:inline-flex;align-items:center}
 .st-composer-quick-actions>*,.st-messenger-filters button,.st-notification-filters button,.st-profile-nav button,.st-comment-meta button{position:relative}
 .st-composer-quick-actions>*::after,.st-messenger-filters button::after,.st-notification-filters button::after,.st-profile-nav button::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
 .st-comment-meta button::after{content:"";position:absolute;left:-6px;right:-6px;top:50%;height:44px;min-width:44px;transform:translateY(-50%)}
}


/* === 2.3.0 — Feed and global chrome === */

/* Contrast: muted text was 4.47:1 on the page ground; placeholders 4.3:1. A slightly deeper grey passes AA. */
:root:not([data-st-theme=dark]){--st-muted:#66686f}
input::placeholder,textarea::placeholder{color:var(--st-muted);opacity:1}
.st-topnav-manage{color:var(--st-red-ink)!important}

/* Small labels: never below 11px. */
.st-kind,.st-official,.st-sponsored-chip{font-size:12px;letter-spacing:.02em}

/* Top bar: every control at least 44x44 at every width. */
.st-brand{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.st-top-actions>.st-icon-btn{width:44px;height:44px}
.st-top-actions>.st-user-chip{min-width:44px;min-height:44px;display:inline-grid;place-items:center}
.st-search{height:44px}
.st-search input{align-self:stretch;height:100%}
.st-topnav a{display:inline-flex;align-items:center;min-height:44px}
.st-topnav a.st-topnav-manage{min-height:34px;position:relative}

/* Invisible 44px hit areas for compact controls whose visual size is part of the look. */
.st-composer-quick-actions>*,.st-messenger-filters button,.st-notification-filters button,.st-profile-nav button,
.st-comment-meta button,.st-comments-count,.st-post-menu,.st-post-head-main>a:first-child{position:relative}
.st-composer-quick-actions>*::after,.st-messenger-filters button::after,.st-notification-filters button::after,.st-profile-nav button::after,
.st-comments-count::after,.st-post-head-main>a:first-child::after,.st-topnav a.st-topnav-manage::after{
 content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
.st-comment-meta button::after,.st-post-menu::after{content:"";position:absolute;left:50%;top:50%;width:max(100%,44px);height:44px;transform:translate(-50%,-50%)}
.st-post-head>a:first-child{min-width:44px;min-height:44px;display:grid;place-items:center}
.st-post-report{flex-basis:44px!important;min-width:44px}

/* Floating "Messaggi" launcher: leave room so the last controls on a page can scroll clear of it. */
@media (min-width:761px){body:has(#st-fm-launcher) main.st-shell{padding-bottom:104px}}

/* === 2.3.1 — Feed: remaining touch targets === */
.st-post-actions>button,.st-like-wrap>.st-like-button{min-height:44px}
.st-topnav a{min-width:44px;justify-content:center}
.st-search{height:auto;min-height:44px}
.st-search input{height:44px}
.st-reaction-summary{position:relative}
.st-reaction-summary::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
.st-post-head-main>a:first-child::after{left:50%;right:auto;width:max(100%,44px);transform:translate(-50%,-50%)}
.st-btn{min-height:44px}
.st-mini-user{min-height:44px}
.st-text-link{display:inline-flex;align-items:center;min-height:44px}

/* === 2.4.0 — Posts and comments === */
.st-comments-skeleton{display:grid;gap:12px;padding:16px;border:0;background:transparent;box-shadow:none}
.st-comments-skeleton>b,.st-comments-skeleton>em{display:block;height:12px;border-radius:6px}
.st-comments-skeleton>b{width:72%}.st-comments-skeleton>em{width:48%}
.st-comments-modal-close{min-width:44px;min-height:44px}
/* Every dialog/sheet close control: 44x44 minimum. */
[data-edit-close],[data-message-reactions-close],[data-pos-close],[data-reactions-close],[data-support-close],[data-cover-close],[data-crop-close],
[data-post-link-close],#st-profile-edit-close,[data-close-group-manage],[data-close-group-add],.st-media-lightbox-close,.st-fm-header-btn,
[data-create-sheet-close],[data-search-close],[data-modal-close].st-icon-btn{min-width:44px;min-height:44px}
#st-comments-modal-input{min-height:44px}

/* === 2.5.0 — Profile + shared empty states === */
:root:not([data-st-theme=dark]){--st-success:#0f7a3d}
#st-comments-modal-form button{min-height:44px}
#st-edit-cover,#st-edit-avatar,#st-edit-profile,#st-profile-post-kind,#st-profile-post-submit{min-height:44px}
#st-edit-avatar{min-width:44px}
.st-bottom-nav>a,.st-bottom-nav>button{font-size:12px}

/* Empty states: one calm pattern everywhere (icon, centred message). Inline lists keep the plain line. */
.st-empty{text-align:center;color:var(--st-muted);line-height:1.5;text-wrap:pretty}
.st-card.st-empty:not(.st-empty-state),#st-profile .st-empty,#st-group .st-empty,#st-private-messages .st-empty,#st-conversations .st-empty,
#st-notifications .st-empty,#st-comments-modal-list .st-empty,#st-saved .st-empty:not(.st-empty-state),#st-groups .st-empty{
 display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 20px;font-size:15px}
.st-card.st-empty:not(.st-empty-state)::before,#st-profile .st-empty::before,#st-group .st-empty::before,#st-private-messages .st-empty::before,#st-conversations .st-empty::before,
#st-notifications .st-empty::before,#st-comments-modal-list .st-empty::before,#st-saved .st-empty:not(.st-empty-state)::before,#st-groups .st-empty::before{
 content:"";flex:0 0 auto;width:48px;height:48px;border-radius:50%;
 background:var(--st-surface2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8d94' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 12h-6l-2 3h-4l-2-3H2'/%3E%3Cpath d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/%3E%3C/svg%3E") center/22px no-repeat}
#st-profile p.st-empty{margin:0}
@media (max-width:760px){
 .st-profile-actions .st-btn{min-height:44px!important}
 .st-profile-composer #st-profile-post-submit{min-height:44px}
 #st-edit-cover{min-width:44px}
}
/* In-page jumps (profile tabs, post links) land below the sticky top bar instead of under it. */
html{scroll-padding-top:84px}
body.admin-bar{scroll-padding-top:116px}
html:has(body.admin-bar){scroll-padding-top:116px}
@media (max-width:760px){html{scroll-padding-top:136px}html:has(body.admin-bar){scroll-padding-top:184px}}
#st-edit-profile-about{min-height:44px}
/* Staff accounts see the WordPress toolbar (fixed, 32px / 46px): the sticky top bar now docks below it. */
@media (min-width:783px){body.admin-bar .st-topbar{top:32px}}
@media (min-width:601px) and (max-width:782px){body.admin-bar .st-topbar{top:46px}}
@media (min-width:783px){
 body.admin-bar .st-sidebar,body.admin-bar .st-rightbar,body.admin-bar .st-chat-panel,body.admin-bar .st-group-side{top:124px}
 body.admin-bar .st-profile-sidebar-content{top:120px}
}
@media (min-width:601px) and (max-width:782px){
 body.admin-bar .st-sidebar,body.admin-bar .st-rightbar,body.admin-bar .st-chat-panel,body.admin-bar .st-group-side{top:138px}
 body.admin-bar .st-profile-nav{top:114px}
}
/* Reaction picker on phones: 8 targets x 44px fit in 360px. */
@media (max-width:760px){
 .st-reaction-picker{gap:0;padding:4px}
 .st-reaction-picker button,.st-reaction-picker .st-reaction-remove{width:44px!important;height:44px!important;flex:0 0 44px!important}
}

/* === 2.6.0 — Chat === */
.st-messenger-title-row #st-new-chat,#st-new-chat{width:44px;height:44px;min-width:44px}
.st-messenger-search{min-height:44px}
.st-messenger-search input,#st-conversation-search{min-height:44px;align-self:stretch}
.st-message-form .st-icon-btn,#st-message-voice,.st-message-attach{width:44px;height:44px;min-width:44px}
#st-message-input,#st-chat-search{min-height:44px}
.st-message-form .st-message-send{min-width:44px;min-height:44px}
#st-fm-voice,.st-fm-header-btn{width:44px;height:44px;min-width:44px}
#st-fm-input{min-height:44px}
.st-fm-composer button[type=submit],#st-fm-send{min-width:44px;min-height:44px}
/* List skeleton + error */
.st-chat-skeleton{display:grid;gap:8px;padding:8px 4px}
.st-chat-skeleton span{display:flex;align-items:center;gap:12px;padding:8px 8px}
.st-chat-skeleton i{width:44px;height:44px;border-radius:50%;flex:0 0 44px}
.st-chat-skeleton b{height:12px;width:60%;border-radius:6px}
.st-chat-skeleton i,.st-chat-skeleton b{background:linear-gradient(90deg,var(--st-surface2),color-mix(in srgb,var(--st-border) 70%,var(--st-surface)),var(--st-surface2));background-size:200% 100%;animation:st-shimmer 1.1s linear infinite}
.st-chat-error small{display:block;font-size:13px}
@media (prefers-reduced-motion:reduce){.st-chat-skeleton i,.st-chat-skeleton b{animation:none}}
#st-fm-form button[type=submit]{min-width:44px;min-height:44px}

/* === 2.9.0 — Groups + forms === */
.st-form input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=hidden]),.st-form select,.st-modal input:not([type=checkbox]):not([type=radio]):not([type=file]),.st-modal select{min-height:44px}
#st-group-cover-edit,#st-group-post-kind,.st-group-tabs button{min-height:44px}
#st-group-avatar-edit{width:44px;height:44px;min-width:44px}
#st-groups .st-card a:not(.st-btn){position:relative}
#st-groups .st-card a:not(.st-btn)::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
/* Phones: the cover button sits top-right so the group avatar never covers it. */
@media (max-width:760px){.st-group-cover-actions{top:12px;bottom:auto;right:12px}}

/* === 2.9.4 — Notifications === */
.st-notifications-head #st-notifications-clear{min-height:44px!important}


/* ==========================================================================
   3.0.0 — FASE 1: fondamenta (font locali, token, navigazione, feed senza riquadri)
   Direzione: _direzione/PROPOSTA-FASE-0.md. Identità bianco/rosso/nero invariata.
   ========================================================================== */

/* Font serviti dal tema: sottoinsieme latin (italiano), solo i pesi usati.
   Inter 600 copre anche i pesi 650-950 e Jakarta 700/800 coprono i pesi intermedi,
   così i grassetti esistenti non vengono mai sintetizzati dal browser. */
@font-face{font-family:"Inter";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Inter";font-style:normal;font-weight:600 950;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:400 749;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-700-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:750 950;font-display:swap;src:url(../fonts/plus-jakarta-sans-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* Token. I nomi --st-* esistenti restano (li usa tutto il tema) ma prendono i nuovi valori. */
:root{
  --red-600:#a31c1b;--red-700:#8b1817;--ink:#171717;
  --n-50:#faf9f9;--n-100:#f2f0f0;--n-200:#e6e3e3;--n-500:#6b6567;
  --st-font-text:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --st-font-display:"Plus Jakarta Sans","Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --st-font-system:var(--st-font-text);
  --st-red:var(--red-600);--st-bg:var(--n-50);--st-surface:#fff;--st-surface2:var(--n-100);
  --st-text:var(--ink);--st-muted:var(--n-500);--st-border:var(--n-200);--st-divider:var(--n-200);
  --st-shadow:none;--st-shadow-pop:0 12px 32px rgba(23,23,23,.12),0 2px 6px rgba(23,23,23,.06);
  --st-fs-12:12px;--st-fs-13:13px;--st-fs-15:15px;--st-fs-17:17px;--st-fs-20:20px;--st-fs-24:24px;--st-fs-32:32px;
  --st-sp-1:4px;--st-sp-2:8px;--st-sp-3:12px;--st-sp-4:16px;--st-sp-6:24px;--st-sp-8:32px;--st-sp-12:48px;
  --st-r-pill:999px;--st-r-media:12px;--st-r-sheet:16px
}
html[data-st-theme=dark]{
  --st-bg:#171717;--st-surface:#1f1f1f;--st-surface2:#262626;--st-border:#363636;--st-divider:#363636;
  --st-text:#f4f4f5;--st-muted:#a6a6ad;--st-shadow:none;--st-shadow-pop:0 16px 40px rgba(0,0,0,.5)
}
body{font-family:var(--st-font-text);-webkit-font-smoothing:antialiased}
html,body,button,input,select,textarea{font-family:var(--st-font-text)}
h1,h2,h3,.st-section-title h2,.st-pagehead h1,.st-post-head-main>a>strong,.st-live-info h2{font-family:var(--st-font-display);letter-spacing:-.01em}
h1{letter-spacing:-.02em}
.st-notify-btn span,#st-top-message-badge,.st-reaction-summary,.st-post-stats,.st-comments-count,[class*="count"],[class*="price"],[class*="timer"],time{font-variant-numeric:tabular-nums}

/* Profondità: niente ombre sui contenuti, solo su ciò che galleggia */
.st-card,.st-composer,.st-content-card,.st-live-home-card,.st-hero-card,.st-profile-nav,.st-members-toolbar,.st-group-tabs,.st-reel,.st-shop-tabs,.st-post{box-shadow:none}
.st-action,.st-toast,.st-mobile-menu-panel{box-shadow:var(--st-shadow-pop)}

/* Barra in alto: Messaggi accanto alle notifiche, con badge */
.st-messages-btn{position:relative}
.st-messages-btn.active{color:var(--st-red-text);border-color:color-mix(in srgb,var(--st-red) 35%,var(--st-border))}
#st-top-message-badge{position:absolute;right:-4px;top:-5px;min-width:18px;height:18px;padding:0 4px;border-radius:var(--st-r-pill);background:var(--st-red);color:#fff;border:2px solid var(--st-surface);display:grid;place-items:center;font-size:12px;font-weight:700;line-height:1;font-style:normal}
#st-top-message-badge[hidden]{display:none}
@media (max-width:760px){
  .st-top-actions .st-user-avatar-only{display:none!important} /* il profilo è nella barra in basso */
  .st-top-actions{gap:8px}
}

/* Barra in basso: Home · Esplora · Crea · Live · Profilo */
.st-nav-live-icon{position:relative;display:inline-grid;place-items:center}
.st-nav-live-dot{position:absolute;top:-2px;right:-5px;width:9px;height:9px;border-radius:50%;background:var(--st-red);border:2px solid var(--st-surface);opacity:0;transform:scale(.4);transition:opacity 160ms var(--st-ease-out,ease),transform 160ms var(--st-ease-out,ease)}
[data-nav-live].is-live .st-nav-live-dot{opacity:1;transform:none}
.st-bottom-nav>a[data-nav-live].is-live:not(.active){color:var(--st-text)}

/* Navigazione desktop: una sola colonna a sinistra, stato attivo senza ombra */
.st-sidebar>nav{display:flex;flex-direction:column;gap:2px}
.st-sidebar a{min-height:44px;padding:8px 16px;border-radius:12px;color:var(--st-muted);font-weight:500}
.st-sidebar a.active{background:transparent;box-shadow:none;color:var(--st-text);font-weight:600}
.st-sidebar a.active .st-nav-icon{color:var(--st-red-text)}
@media (hover:hover) and (pointer:fine){.st-sidebar a:hover:not(.active){background:var(--st-surface2);color:var(--st-text)}}
.st-sidebar a[data-nav-live] .st-nav-icon{position:relative}
.st-sidebar a[data-nav-live].is-live .st-nav-icon::after{content:"";position:absolute;top:2px;right:-1px;width:8px;height:8px;border-radius:50%;background:var(--st-red);border:2px solid var(--st-bg)}
@media (max-width:1180px) and (min-width:761px){.st-sidebar a{padding:8px;justify-content:center}}

/* Colonna destra solo in Home: altrove il contenuto usa la larghezza accanto alla navigazione */
@media (min-width:1181px){
  .st-layout:not(:has(>.st-rightbar)):not(.st-live-layout){grid-template-columns:220px minmax(0,1fr)}
  .st-layout:not(:has(>.st-rightbar))>.st-viewcol{max-width:1000px}
}

/* Feed senza riquadri: un'unica superficie, post separati da linee da 1px */
.st-feedcol{gap:16px}
#st-feed:has(>.st-post),#st-saved:has(>.st-post){display:flex;flex-direction:column;gap:0;background:var(--st-surface);border:1px solid var(--st-border);border-radius:var(--st-r-sheet);overflow:clip}
#st-feed>.st-post,#st-saved>.st-post{margin:0;border:0;border-radius:0;box-shadow:none;background:transparent}
#st-feed>*+.st-post,#st-saved>*+.st-post{border-top:1px solid var(--st-divider)}
#st-feed>.st-post .st-post-body,#st-saved>.st-post .st-post-body{font-size:var(--st-fs-15);line-height:1.5}
#st-feed>.st-skeleton-post{margin:0;border-radius:0;box-shadow:none;border:0;border-bottom:1px solid var(--st-divider)}
@media (max-width:760px){
  #st-feed:has(>.st-post),#st-saved:has(>.st-post){margin-inline:-8px;border-inline:0;border-radius:0}
}

/* Azioni del post: solo icone (stile feed testuale). Le etichette restano per gli screen reader,
   prima su smartphone erano display:none e i pulsanti restavano senza nome accessibile. */
.st-post-actions>button>span{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;display:block!important}
.st-post-actions>button{position:relative}
/* Riga statistiche: nascosta se non ci sono reazioni, commenti o condivisioni */
.st-comments-count:not(.has-comments){display:none}
.st-post-stats:has(>.st-reaction-summary-empty):not(:has(.st-comments-count.has-comments)):not(:has(.st-post-stat-links>span)){display:none}


/* ==========================================================================
   3.1.0 — Rifinitura: spazi e scala tipografica (tutto il file è stato riportato
   a multipli di 4px e alla scala 12·13·15·17·20·24·32), tap target, a capo, contrasto
   ========================================================================== */

/* Testo rosso leggibile: in scuro il rosso del brand resta per i pieni, il testo usa la variante chiara */
:root{--st-red-text:var(--red-600)}
html[data-st-theme=dark]{--st-red-text:#f2605f;--st-success:#3ccf7e}
.st-kicker{color:var(--st-red-text)}
.st-text-link,.st-comments-count.has-comments{color:var(--st-red-text)}
.st-group-tabs button.active,.st-shop-tabs button.active,.st-shop-tabs button:hover{color:var(--st-red-text)}
html[data-st-theme=dark] .st-bottom-nav>a.active,html[data-st-theme=dark] .st-sidebar a.active .st-nav-icon{color:var(--st-red-text)}
.st-kicker{font-size:12px;letter-spacing:.1em;line-height:1.3}

/* Ritmo verticale unico: stessa distanza tra sezioni e tra titolo e contenuto */
.st-feedcol,.st-viewcol{gap:var(--st-sp-4)}
.st-pagehead{margin:0;gap:var(--st-sp-4);align-items:flex-end}
.st-pagehead h1,.st-section-title h2{margin:var(--st-sp-1) 0 0;line-height:1.2}
.st-pagehead p,.st-pagehead small{margin:var(--st-sp-1) 0 0}
.st-section-title{margin:var(--st-sp-2) 0 0}
.st-card{padding:var(--st-sp-4)}
.st-card>h3{margin:var(--st-sp-1) 0 var(--st-sp-2)}

/* Copertine di default: superficie piatta, niente bagliori rossi (restrizione FASE 0) */
.st-profile-cover:not(.has-cover),
.st-group-card-cover:not([style*="background-image"]),
.st-group-cover:not([style*="background-image"]),
.st-shop-cover:not([style*="background-image"]){background:#262626}

/* Tap target 44px */
.st-members-toolbar input#st-members-search{min-height:44px}
.st-members-toolbar .st-icon-btn,#st-members-search-clear{width:44px;height:44px}
.st-mobile-menu-close{width:44px!important;height:44px!important}
.st-mobile-search input,.sthd-search input{min-height:42px}
.st-composer-tools select,.st-composer-tools .st-upload-label,.st-upload-label{min-height:44px}
.st-shop-tabs button{min-height:44px;padding:0 var(--st-sp-4)}
.st-profile-photo-btn{min-height:44px}
.st-shop-avatar-edit,#st-edit-avatar{width:44px!important;height:44px!important}
/* link piccoli dentro le card: area cliccabile estesa senza spostare il layout */
.st-group-list-body>a,.st-comment-bubble>a,.st-comment>a{position:relative;display:inline-block}
.st-group-list-body>a{display:block}
.st-group-list-body>a::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
.st-comment-bubble>a::after{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:44px;transform:translateY(-50%)}
.st-comment>a::after{content:"";position:absolute;left:50%;top:50%;width:44px;height:44px;transform:translate(-50%,-50%)}

/* Etichette che non devono andare a capo */
.st-btn,.st-profile-photo-btn,#st-edit-profile,#st-edit-cover,#st-group-cover-edit,.st-shop-actions .st-btn,.st-like-button,.st-upload-label,.st-group-title-block .st-kicker{white-space:nowrap}
.st-shop-actions{flex-wrap:nowrap}
.st-shop-actions .st-btn{min-width:0;overflow:hidden;text-overflow:ellipsis}
.st-kicker{overflow-wrap:normal}
/* Mi piace: solo icona come le altre azioni, etichetta per screen reader */
.st-post-actions .st-like-button>span:not(.st-like-icon){position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.st-post-actions .st-like-button{position:relative}
/* Cover: su smartphone i pulsanti testuali diventano icone con etichetta accessibile */
@media (max-width:760px){
  .st-cover-actions .st-profile-photo-btn{font-size:0;width:44px;padding:0;justify-content:center}
  .st-cover-actions .st-profile-photo-btn .st-ui-icon{font-size:15px}
}

/* Stati vuoti dentro griglie: occupano tutta la riga invece di una colonna stretta */
:is(.st-card-grid,[class*="-grid"],[class*="-row"])>.st-empty{grid-column:1/-1;width:100%}

/* Accedi: la card non esce mai dallo schermo */
.st-login-card{max-width:100%;box-sizing:border-box}
@media (max-width:760px){.st-login-card{padding:var(--st-sp-6) var(--st-sp-4)}}

/* Live: riepilogo senza a capo nell'intestazione */
.stl-recap-head small{white-space:nowrap}



/* ==========================================================================
   3.1.1 — Ultimi punti dell'audit + Supporto per tutti
   ========================================================================== */

/* Nome nel commento: area di tocco almeno 44×44 anche per nomi corti */
.st-comment-bubble>a::after{left:50%;right:auto;width:max(100% + 8px,44px);transform:translate(-50%,-50%)}

/* Pagina Live sempre scura: la barra in basso usa testi chiari anche in tema chiaro (contrasto AA) */
body:has(#st-live-page) .st-bottom-nav>a,body:has(#st-live-page) .st-bottom-nav>button{color:#a6a6ad}
body:has(#st-live-page) .st-bottom-nav>a.active{color:#f2605f}

/* "1 membro attivo" non va a capo */
.st-pagehead.compact small{white-space:nowrap}

/* Ricerca nel menu mobile: 44px */
.st-mobile-search input{min-height:44px}

/* Contatore commenti in scuro: leggibile anche con le regole più specifiche dei pulsanti */
.st-post-stat-links>button.st-comments-count.has-comments,.st-post-stats button.st-comments-count.has-comments{color:var(--st-red-text)}

/* Badge risposte del supporto nella navigazione */
[data-nav-support]{position:relative}
.st-nav-count{display:inline-grid;place-items:center;min-width:20px;height:20px;margin-left:auto;padding:0 4px;border-radius:var(--st-r-pill);background:var(--st-red);color:#fff;font-size:12px;font-weight:700;font-style:normal;line-height:1;font-variant-numeric:tabular-nums}
@media (max-width:1180px) and (min-width:761px){.st-sidebar [data-nav-support] .st-nav-count{position:absolute;top:2px;right:2px;min-width:18px;height:18px;border:2px solid var(--st-bg)}}

/* 3.1.2 — Pagine "app" (Messaggi, Supporto): tutta la larghezza, altezza esatta, niente footer né widget flottante */
.st-layout.st-messages-page-layout>.st-viewcol{max-width:none;width:100%}
body:has(.st-messages-page-shell) .st-footer{display:none}
body:has(.st-messages-page-shell) .st-floating-messenger{display:none}
@media (min-width:761px){.st-messages-page-shell{padding:16px!important}}

/* 3.1.3 — Ultimi tap target: nome nelle card membri, elimina notifica */
.st-member-info>a{position:relative;display:inline-block}
.st-member-info>a::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}
.st-notification-delete{min-width:44px}
.st-login-links>a{position:relative;display:inline-block}
.st-login-links>a::after{content:"";position:absolute;left:0;right:0;top:50%;height:44px;transform:translateY(-50%)}

/* ==========================================================================
   3.1.4 — Moderatore: assegna un pezzo a un cliente (sempre scura, come la Live)
   ========================================================================== */
html body dialog.st-assign{--st-surface:#1f1f1f;--st-surface2:#262626;--st-border:#2f2f34;--st-text:#f4f4f5;--st-muted:#a6a6ad;
  width:min(480px,calc(100vw - 32px));max-width:none;height:auto;max-height:min(760px,calc(100dvh - 48px));margin:auto;padding:0;
  border:1px solid var(--st-border);border-radius:16px;background:var(--st-surface);color:var(--st-text);box-shadow:0 24px 64px rgba(0,0,0,.6);overflow:auto;overscroll-behavior:contain;color-scheme:dark}
dialog.st-assign::backdrop{background:rgba(0,0,0,.64)}
dialog.st-assign[open]{animation:st-assign-in .22s cubic-bezier(.23,1,.32,1)}
@keyframes st-assign-in{from{opacity:0;transform:translateY(12px)}}
.st-assign-inner{display:flex;flex-direction:column;padding:16px 16px 24px}
.st-assign-prod{display:grid;grid-template-columns:56px minmax(0,1fr) 44px;gap:12px;align-items:center;padding-bottom:16px;border-bottom:1px solid var(--st-border)}
.st-assign-prod img,.st-assign-ph{width:56px;height:56px;border-radius:12px;object-fit:cover;background:var(--st-surface2)}
.st-assign-prod strong{display:block;font-size:15px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-assign-prod span{display:block;margin-top:4px;color:var(--st-muted);font-size:13px;line-height:20px;font-variant-numeric:tabular-nums}
.st-assign-prod b{color:var(--st-text);font-weight:600}
dialog.st-assign.is-sold .st-assign-prod b{color:#f2605f}
.st-assign-x{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:var(--st-muted);cursor:pointer}
.st-assign-x:hover{background:var(--st-surface2);color:var(--st-text)}
.st-assign-x .st-ui-icon{width:20px;height:20px}
.st-assign h2{margin:20px 0 4px;font-size:20px;line-height:28px}
.st-assign-sub{margin:0 0 16px;color:var(--st-muted);font-size:15px;line-height:20px}
.st-assign-src{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;padding:4px;border-radius:12px;background:var(--st-surface2)}
.st-assign-src button{min-height:44px;border:0;border-radius:8px;background:transparent;color:var(--st-muted);font-weight:600;font-size:15px;cursor:pointer}
.st-assign-src button[aria-checked=true]{background:#2c2c31;color:var(--st-text);box-shadow:inset 0 0 0 1px #3a3a40}
.st-assign-search{display:flex;align-items:center;gap:8px;min-height:48px;margin-top:12px;padding:0 12px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2)}
.st-assign-search:focus-within{border-color:#5a5a62}
.st-assign-search:has(input:focus-visible){outline:2px solid #f2605f;outline-offset:2px}
.st-assign-search input:focus,.st-assign-search input:focus-visible{outline:0;box-shadow:none}
.st-assign-search .st-ui-icon{width:20px;height:20px;flex:none;color:var(--st-muted)}
.st-assign-search input{flex:1;min-width:0;min-height:44px;border:0;outline:0;background:transparent;color:var(--st-text);font-size:16px}
.st-assign-results{display:flex;flex-direction:column;gap:4px;margin-top:8px;min-height:48px}
.st-assign-results[aria-busy=true]{opacity:.6}
.st-assign-hint{margin:8px 4px;color:var(--st-muted);font-size:13px;line-height:20px}
.st-assign-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:56px;padding:8px 0;border-bottom:1px solid var(--st-border)}
.st-assign-row:last-child{border-bottom:0}
.st-assign-row img{width:40px;height:40px;border-radius:50%;object-fit:cover;background:var(--st-surface2)}
.st-assign-row strong{display:block;font-size:15px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-assign-row small{display:block;color:var(--st-muted);font-size:13px;line-height:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.st-assign-row .st-btn{min-height:44px;background:var(--st-surface2);border-color:var(--st-border);color:var(--st-text)}
.st-assign-quick{display:flex;flex-direction:column;gap:12px;margin-top:20px;padding-top:20px;border-top:1px solid var(--st-border)}
.st-assign-quick h3{margin:0;color:var(--st-muted);font-size:12px;line-height:16px;letter-spacing:.08em;text-transform:uppercase}
.st-assign-quick h3 span{color:var(--st-text)}
.st-assign-quick label{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:600;color:var(--st-muted)}
.st-assign-quick input{min-height:48px;padding:0 12px;border:1px solid var(--st-border);border-radius:12px;background:var(--st-surface2);color:var(--st-text);font-size:16px;outline:0}
.st-assign-quick input:focus{border-color:#5a5a62}
.st-assign-note{margin:0;color:var(--st-muted);font-size:13px;line-height:20px}
.st-assign-quick .st-btn-primary{min-height:48px;width:100%}
.st-assign .st-btn:disabled{opacity:.45}
@media (max-width:760px){
  html body dialog.st-assign{width:100%;max-width:100%;max-height:calc(100dvh - 32px);margin:auto 0 0;border-width:1px 0 0;border-radius:16px 16px 0 0}
  dialog.st-assign[open]{animation-name:st-assign-up}
  .st-assign-inner{padding:8px 16px calc(24px + env(safe-area-inset-bottom))}
  .st-assign-inner::before{content:"";align-self:center;width:40px;height:4px;margin:0 0 12px;border-radius:4px;background:#3a3a40}
}
@keyframes st-assign-up{from{transform:translateY(100%)}}
@media (prefers-reduced-motion:reduce){dialog.st-assign[open]{animation:none}}
/* Moderatore: le card acquisto vanno su una riga intera sotto il titolo, una per riga, senza scorrimento orizzontale */
body.stl-live-moderator-view #st-live-page .st-live-meta-row.stl-has-purchase{flex-wrap:wrap}
body.stl-live-moderator-view #st-live-page .st-live-meta-row>.st-live-purchases{order:3;flex:1 0 100%;flex-direction:column;gap:8px;overflow:visible;padding:0;background:none;border:0}
body.stl-live-moderator-view #st-live-page .st-live-meta-row>.st-live-purchases .st-purchase{min-width:0;width:100%;padding:12px;border-radius:12px}
body.stl-live-moderator-view #st-live-page .st-live-purchases .st-purchase .st-btn{min-height:44px;padding:0 16px}
@media (max-width:760px){body.stl-live-moderator-view #st-live-page .st-live-purchases .st-purchase{grid-template-columns:minmax(0,1fr)}}

/* 3.1.6 — Live: schede "Chat | Le mie prenotazioni" e player Twitch */
#st-live-page .st-chat-panel>header.has-tabs{justify-content:flex-start;align-items:stretch;padding:0 96px 0 8px;min-height:48px;text-align:left}
#st-live-page .st-chat-panel>header.has-tabs>div:not(.st-live-tabs):not(.stl-chat-header-tools){display:none}
#st-live-page .st-chat-panel.is-myres .stl-chat-header-tools{display:none}
#st-live-page .st-chat-panel>header.has-tabs>.st-live-tabs{display:flex;flex-direction:row;gap:4px;align-items:stretch;text-align:left}
.st-live-tabs button{position:relative;display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 12px;border:0;background:none;color:#a6a6ad;font:600 14px/1 var(--st-font-display,"Plus Jakarta Sans",sans-serif);cursor:pointer;white-space:nowrap}
.st-live-tabs button[aria-selected="true"]{color:#f4f4f5}
.st-live-tabs button[aria-selected="true"]::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;border-radius:2px;background:#a31c1b}
.st-live-tabs button:hover{color:#f4f4f5}
.st-live-tabs button:focus-visible{outline:2px solid #f2605f;outline-offset:-4px;border-radius:8px}
.st-live-tab-count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#a31c1b;color:#fff;font:700 12px/1 Inter,sans-serif}
.st-live-tab-count[hidden]{display:none}
#st-live-page .st-chat-panel.is-myres>:not(header):not(#st-live-myres){display:none!important}
#st-live-myres{flex:1 1 auto;min-height:0;overflow-y:auto;padding:12px;color:#f4f4f5;background:#0e0e10}
#st-live-myres[hidden]{display:none}
.st-myres-note{margin:0 0 12px;color:#a6a6ad;font-size:12px;line-height:1.4}
.st-myres-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.st-myres-list li{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px;border:1px solid #2a2a2e;border-radius:12px;background:#151517}
.st-myres-ph{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;overflow:hidden;background:#232327;color:#8f8f96}
.st-myres-ph img{width:100%;height:100%;object-fit:cover}
.st-myres-ph svg{width:20px;height:20px}
.st-myres-copy{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.st-myres-copy strong{max-width:100%;font-size:14px;font-weight:600;line-height:1.25;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.st-myres-price{font:700 14px/1 var(--st-font-display,"Plus Jakarta Sans",sans-serif);font-variant-numeric:tabular-nums;white-space:nowrap}
.st-myres-pill{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:999px;background:#232327;color:#e4e4e7;font-size:12px;font-weight:600;line-height:1}
.st-myres-pill::before{content:"";width:6px;height:6px;border-radius:50%;background:#a6a6ad}
.st-myres-pill.is-attesa::before{background:#f5b041}
.st-myres-pill.is-confermato::before{background:#3ccf7e}
.st-myres-pill.is-spedito::before{background:#5aa9ff}
.st-myres-pill.is-lista::before{background:#f4f4f5}
.st-myres-list li.is-cancelled strong,.st-myres-list li.is-cancelled .st-myres-price{color:#8f8f96;text-decoration:line-through}
.st-myres-foot{display:flex;justify-content:space-between;align-items:center;margin-top:12px;padding:12px 4px 0;border-top:1px solid #2a2a2e;font-size:14px;color:#a6a6ad}
.st-myres-foot b{color:#f4f4f5;font:700 16px/1 var(--st-font-display,"Plus Jakarta Sans",sans-serif)}
.st-myres-all{display:flex;align-items:center;justify-content:center;min-height:44px;margin-top:12px;border:1px solid #3a3a40;border-radius:10px;color:#f4f4f5;font-weight:600;font-size:14px;text-decoration:none}
.st-myres-all:hover{background:#262626}
.st-myres-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:32px 16px;text-align:center;color:#a6a6ad}
.st-myres-empty svg{width:28px;height:28px}
.st-myres-empty strong{color:#f4f4f5;font-size:15px}
.st-myres-empty p{margin:0;font-size:13px;line-height:1.45;max-width:260px}
.st-myres-skel{display:flex;flex-direction:column;gap:8px}
.st-myres-skel i{display:block;height:62px;border-radius:12px;background:#1a1a1d}
.st-player-note{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;padding:16px}
.st-player-note strong{font-size:15px}
.st-player-note .st-btn{min-height:44px;padding:0 20px;border-radius:10px;background:#9146ff;color:#fff;border:0;font-weight:700;text-decoration:none;display:inline-flex;align-items:center}

/* 3.1.7 — Condizioni di vendita e recesso: colonna di lettura */
.st-legal-shell{display:block}
.st-legal{max-width:720px;margin:24px auto 48px;padding:0 16px;color:var(--st-text)}
.st-legal-head{padding-bottom:24px;margin-bottom:32px;border-bottom:1px solid var(--st-border)}
.st-legal-kicker{margin:0 0 8px;color:var(--st-red-text,var(--st-red-text));font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.st-legal h1{margin:0;font:800 clamp(28px,4vw,40px)/1.15 var(--st-font-display,"Plus Jakarta Sans",sans-serif);letter-spacing:-.01em;text-wrap:balance}
.st-legal-meta{margin:12px 0 0;color:var(--st-muted);font-size:14px}
.st-legal-body{font-size:17px;line-height:1.7;max-width:68ch}
.st-legal-body h2{margin:40px 0 12px;font:700 22px/1.3 var(--st-font-display,"Plus Jakarta Sans",sans-serif)}
.st-legal-body h3{margin:28px 0 8px;font:700 18px/1.35 var(--st-font-display,"Plus Jakarta Sans",sans-serif)}
.st-legal-body p,.st-legal-body ul,.st-legal-body ol{margin:0 0 16px}
.st-legal-body ul,.st-legal-body ol{padding-left:24px}
.st-legal-body li{margin-bottom:8px}
.st-legal-body a{color:var(--st-red-text,var(--st-red-text));text-decoration:underline;text-underline-offset:2px}
.st-legal-empty{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:24px;border:1px dashed var(--st-border);border-radius:16px;background:var(--st-surface2)}
.st-legal-empty strong{font-size:16px}
.st-legal-empty p{margin:0 0 8px;color:var(--st-muted);font-size:15px;line-height:1.5}
.st-legal-empty .st-btn{min-height:44px;display:inline-flex;align-items:center;padding:0 20px;text-decoration:none}

/* 3.10.0 colori del marchio: riquadro scuro della home ospite (anche in tema chiaro) */
.st-hero-card .st-live-badge{color:#f2605f}.st-hero-card p{color:rgba(255,255,255,.74)}
/* 3.11.0 terzo colore #06110c (opzione C): pochi accenti scuri sul tema chiaro */
:root{--st-ink-green:#06110c}
:root:not([data-st-theme=dark]) .st-official{background:var(--st-ink-green);color:#fff}
:root:not([data-st-theme=dark]) .st-toast{background:var(--st-ink-green);color:#fff}
:root:not([data-st-theme=dark]) .st-footer{background:var(--st-ink-green);color:#c9d3ce;border-top:0;border-radius:16px;width:calc(100% - 32px);margin:40px auto 16px}
:root:not([data-st-theme=dark]) .st-footer a{color:#fff}

/* 3.13.0 barra delle azioni sotto i post (stile Threads/Bluesky) e menu "⋯" */
.st-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
.st-post{--st-act-ink:#4b4d55;--st-act-hover:var(--st-surface2);--st-act-like:#a31c1b}
html[data-st-theme=dark] .st-post{--st-act-ink:#c9c9cf;--st-act-like:#f2605f}
.st-actbar{display:flex;align-items:center;gap:2px;padding:2px 8px 6px;border:0;overflow:visible}
.st-actbar .st-like-wrap{position:relative;flex:0 0 auto;min-width:0}
.st-actbar .st-act,.st-actbar .st-like-wrap>.st-act,.st-actbar .str-feed-story-share,.st-actbar .st-act-count{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;height:44px;min-height:44px;min-width:44px;padding:0 10px;margin:0;border:0;border-radius:999px;background:transparent;color:var(--st-act-ink);font:inherit;font-size:14px;font-weight:600;line-height:1;letter-spacing:0;cursor:pointer;flex:0 0 auto;box-shadow:none;outline:0;-webkit-tap-highlight-color:transparent;transition:background-color var(--st-dur-fast,.14s) ease,color var(--st-dur-fast,.14s) ease}
.st-actbar .st-act>.st-ui-icon,.st-actbar .str-feed-story-share>.st-ui-icon,.st-actbar .st-like-button>.st-ui-icon{width:22px;height:22px;min-width:22px;margin:0;stroke-width:2.15;opacity:1;vertical-align:0}
.st-actbar .st-like-button .st-like-reacted{font-size:20px;line-height:1;width:22px;text-align:center}
.st-actbar .st-act-n{font-weight:600;font-variant-numeric:tabular-nums;min-width:1ch}
.st-actbar .st-act-count{min-width:44px;padding:0 6px 0 2px;margin-left:-10px;justify-content:flex-start;font-variant-numeric:tabular-nums}
.st-actbar .st-act-count[hidden]{display:none}
.st-actbar .st-act-save{margin-left:auto}
@media (hover:hover){.st-actbar .st-act:hover,.st-actbar .str-feed-story-share:hover,.st-actbar .st-act-count:hover{background:var(--st-act-hover)}.st-actbar .st-act:not(.active):hover,.st-actbar .str-feed-story-share:hover,.st-actbar .st-act-count:hover{color:var(--st-text)}}
.st-actbar .st-like-button.active{color:var(--st-act-like)}
.st-actbar .st-like-button.reaction-like .st-ui-icon{fill:currentColor}
.st-actbar .st-like-button.active:not(.reaction-like){color:var(--st-text)}
.st-actbar .st-act-save.active{color:var(--st-text)}
.st-actbar .st-act-save.active .st-ui-icon{fill:currentColor}
.st-actbar .st-act:active:not(:disabled){transform:scale(.94)}
@media (prefers-reduced-motion:reduce){.st-actbar .st-act:active:not(:disabled){transform:none}}
/* focus: anello solo da tastiera */
.st-actbar :is(button):focus,.st-post-more-btn:focus,.st-post-more-menu button:focus{outline:0;box-shadow:none}
html[data-st-input=kbd] .st-actbar :is(button):focus-visible,html[data-st-input=kbd] .st-post-more-btn:focus-visible,html[data-st-input=kbd] .st-post-more-menu button:focus-visible{outline:2px solid var(--st-act-like);outline-offset:-2px;box-shadow:none}
html:not([data-st-input]) .st-actbar :is(button):focus-visible,html:not([data-st-input]) .st-post-more-btn:focus-visible{outline:2px solid var(--st-act-like);outline-offset:-2px}
/* menu "⋯" */
.st-post-head .st-post-more-btn{width:44px;height:44px;min-width:44px;margin:-6px -10px -6px auto;display:grid;place-items:center;border:0;border-radius:999px;background:transparent;color:var(--st-act-ink);cursor:pointer}
.st-post-head .st-post-more-btn>.st-ui-icon{width:22px;height:22px;min-width:22px;margin:0;opacity:1}
.st-post-head .st-post-more-btn[aria-expanded=true],.st-post-head .st-post-more-btn:hover{background:var(--st-surface2);color:var(--st-text)}
.st-post-head .st-post-more-btn::after{display:none}
.st-post-more-menu{position:fixed;z-index:10040;min-width:220px;max-width:calc(100vw - 16px);padding:6px;border:1px solid var(--st-border);border-radius:14px;background:var(--st-surface);color:var(--st-text);box-shadow:0 12px 32px rgba(0,0,0,.18),0 2px 6px rgba(0,0,0,.08);animation:stmore .14s ease-out}
html[data-st-theme=dark] .st-post-more-menu{background:var(--st-surface2);box-shadow:0 14px 36px rgba(0,0,0,.5)}
@keyframes stmore{from{opacity:0;transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.st-post-more-menu{animation:none}}
.st-post-more-menu button{display:flex;align-items:center;gap:12px;width:100%;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:transparent;color:inherit;font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}
.st-post-more-menu button .st-ui-icon{width:20px;height:20px;min-width:20px;margin:0;stroke-width:2.1;color:var(--st-act-ink,currentColor);opacity:1}
.st-post-more-menu button:hover,.st-post-more-menu button:focus-visible{background:color-mix(in srgb,var(--st-text) 7%,transparent)}
.st-post-more-menu button.is-danger,.st-post-more-menu button.is-danger .st-ui-icon{color:#a31c1b}
html[data-st-theme=dark] .st-post-more-menu button.is-danger,html[data-st-theme=dark] .st-post-more-menu button.is-danger .st-ui-icon{color:#f2605f}
.st-post-more-menu hr{margin:4px 6px;border:0;border-top:1px solid var(--st-border)}
@media (max-width:760px){.st-actbar{padding:2px 4px 4px}.st-actbar .st-act,.st-actbar .st-like-wrap>.st-act{padding:0 9px}}
.st-post-more-menu{--st-act-ink:#4b4d55}html[data-st-theme=dark] .st-post-more-menu{--st-act-ink:#c9c9cf}

/* 3.13.6 — Fotografie proporzioni originali, mai ritagliate nei post */
.st-post-media-single{aspect-ratio:auto!important;max-height:none!important;height:auto!important;overflow:hidden}
.st-post-media-single>img,.st-post-media-single>video{height:auto!important;max-height:none!important;object-fit:contain!important;width:100%!important}
.st-post-carousel-slide{aspect-ratio:var(--st-current-image-ratio,auto)!important;min-height:0!important;height:auto!important;display:flex;align-items:center;justify-content:center}
.st-post-carousel-slide .st-post-media-item{height:100%!important;display:flex;align-items:center;justify-content:center}
.st-post-carousel-slide .st-post-media-item>img,.st-post-carousel-slide .st-post-media-item>video{object-fit:contain!important;max-height:100%!important}
.st-shop-category-field{border:1px solid var(--st-border);border-radius:12px;padding:12px;margin-top:12px}
.st-shop-category-field legend{font-weight:750;padding:0 5px}.st-shop-category-field legend small{font-weight:400;color:var(--st-muted)}
.st-shop-category-options{display:flex;flex-wrap:wrap;gap:8px}.st-shop-category-options label{display:flex;align-items:center;gap:6px;padding:7px 10px;border:1px solid var(--st-border);border-radius:100px;background:var(--st-surface2);font-size:13px;cursor:pointer}
.st-shop-category-options input{accent-color:var(--st-red)}
.st-shop-category-filter{display:flex;flex-wrap:wrap;gap:7px;margin:2px 0 16px}.st-shop-category-filter button{border:1px solid var(--st-border);border-radius:100px;padding:8px 12px;background:var(--st-surface);color:var(--st-text);cursor:pointer;font-size:13px}
.st-shop-category-filter button.active,.st-shop-category-filter button:hover{background:var(--st-red);border-color:var(--st-red);color:#fff}
.st-shop-post-categories{display:flex;flex-wrap:wrap;gap:5px;margin:7px 0 0}.st-shop-post-categories a{font-size:11px;border-radius:12px;padding:3px 8px;background:var(--st-surface2);border:1px solid var(--st-border)}
.st-post-body a.st-hashtag{color:var(--st-red-text,#da4545);font-weight:750;white-space:normal}
.st-hashtag-current{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--st-border);border-radius:14px;padding:12px 16px;margin-bottom:12px;background:var(--st-surface)}
.st-hashtag-current a{color:var(--st-red-text,#da4545)}
.st-shop-sale-settings{display:grid;grid-template-columns:1fr minmax(160px,220px);gap:8px;margin-top:12px}
.st-shop-sale-settings>label:first-child{grid-column:1/-1}.st-shop-sale-settings>input{width:100%;min-width:0}
.st-shop-stock-checkbox{display:flex!important;align-items:center;gap:8px;line-height:1.35}.st-shop-stock-field{display:flex;align-items:center;gap:8px}.st-shop-stock-field input{width:100px;min-width:0}
.st-shop-sale-cta button:disabled{cursor:not-allowed;opacity:.65}
@media(max-width:640px){.st-shop-sale-settings{grid-template-columns:1fr}.st-shop-sale-settings>label:first-child{grid-column:auto}.st-shop-stock-field{justify-content:space-between}}

/* Immagini nella galleria multimediale: niente crop forzato. */
.st-shop-media-grid .st-post-media-item img,.st-shop-media-grid .st-post-media-item video,.st-tomo-mini-media img,.st-tomo-mini-media video{object-fit:contain!important}
.st-composer-preview-grid.st-media-count-1{aspect-ratio:auto!important;height:auto!important;max-height:none!important}
.st-composer-preview-grid.st-media-count-1 .st-composer-preview-item{height:auto!important;aspect-ratio:auto!important}
.st-composer-preview-grid.st-media-count-1 .st-composer-preview-item img{object-fit:contain!important;height:auto!important;max-height:none!important}

.st-shop-add-category{margin-top:10px;font-size:12px;min-height:34px}

.st-shop-loadmore{display:block;min-width:190px;margin:15px auto 24px}
/* Gallerie Media profilo/Tomo Shop in layout masonry: l'intera foto resta visibile. */
.st-shop-media-grid,.st-profile-media-wall{display:block!important;columns:3;column-gap:6px}
.st-shop-media-grid .st-post-media-item,.st-profile-media-tile{display:block!important;width:100%;height:auto!important;aspect-ratio:auto!important;break-inside:avoid;margin:0 0 6px;border-radius:8px;overflow:hidden}
.st-shop-media-grid .st-post-media-item img,.st-shop-media-grid .st-post-media-item video,.st-profile-media-tile img,.st-profile-media-tile video{width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
.st-tomo-mini-media{aspect-ratio:auto!important;height:auto!important}
.st-tomo-mini-media img,.st-tomo-mini-media video{height:auto!important;object-fit:contain!important}
@media(min-width:1100px){.st-profile-media-wall{columns:4}}
@media(max-width:580px){.st-shop-media-grid,.st-profile-media-wall{columns:2}}

/* 3.13.13: titolo/sottotitolo Live editabili in linea dagli operatori. */
.st-live-heading .st-live-subtitle{font-size:clamp(.9rem,1.2vw,1.08rem);font-weight:600;opacity:.9;margin:4px 0 3px;line-height:1.4}
.st-live-heading .stl-title-editable{cursor:pointer;text-decoration-color:transparent;transition:text-decoration-color .15s}
.st-live-heading .stl-title-editable:hover,.st-live-heading .stl-title-editable:focus-visible{text-decoration:underline;text-decoration-style:dashed;text-underline-offset:5px;outline-offset:4px}
.stl-live-heading-editor{display:grid;grid-template-columns:minmax(200px,1fr) minmax(150px,1fr);align-items:end;gap:8px;margin:8px 0 10px}
.stl-live-heading-editor label{display:grid;gap:3px;font-size:12px;font-weight:700}
.stl-live-heading-editor input{width:100%;min-width:0;border:1px solid rgba(128,128,128,.45);border-radius:8px;background:var(--st-bg,#fff);color:inherit;padding:9px 11px;font-size:15px}
.stl-live-heading-editor .stl-heading-buttons{display:flex;gap:6px;grid-column:1/-1}
@media(max-width:760px){.stl-live-heading-editor{grid-template-columns:1fr}}
