:root{font-family:Arial,"Heebo",sans-serif;color:#153c33;background:#f7f8f2;font-synthesis:none;--green:#159b60;--muted:#718078}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #70d5a2;outline-offset:5px}button{color:inherit}header{height:100px;max-width:1480px;margin:auto;padding:0 50px;display:flex;align-items:center;gap:28px;border-bottom:1px solid #dfe5db}.brand{display:flex;align-items:center;gap:11px;color:inherit;text-decoration:none;font-size:23px;font-weight:800}.brand small{display:block;font-size:9px;letter-spacing:4px;margin-top:5px}.brand-icon{display:grid;place-items:center;background:#153c33;color:#dcef8a;border-radius:15px;width:46px;height:46px;font-size:29px}.header-note{color:var(--muted);font-size:13px;margin-inline-start:auto}.quiet{border:1px solid #cbd6c9;border-radius:24px;padding:10px 17px;background:transparent;font-size:12px}main{max-width:1480px;padding:0 50px;margin:auto}.hero{display:flex;align-items:center;justify-content:space-between;min-height:354px;padding:42px 48px 32px;overflow:hidden}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1px;display:flex;align-items:center;gap:7px}.eyebrow>span,.legend i,.live-label i{width:7px;height:7px;background:var(--green);border-radius:50%;display:inline-block}h1{font-size:clamp(40px,4.2vw,64px);line-height:1.03;letter-spacing:-2px;margin:18px 0}h1 em{font-style:normal;color:var(--green)}.intro{color:var(--muted);line-height:1.8;font-size:14px}.hero-art{width:360px;height:260px;position:relative;display:grid;place-items:center;margin-inline-end:100px}.orbit{position:absolute;border:1px solid #d9e1d0;border-radius:50%;width:290px;height:290px}.orbit-two{width:360px;height:360px;border-style:dashed}.record{width:202px;height:202px;border-radius:50%;background:repeating-radial-gradient(circle,#18483b 0px,#18483b 4px,#205241 5px,#18483b 6px);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#e0efa3;transform:rotate(-15deg);box-shadow:0 20px 35px #173c3323;border:10px solid #e5ebce}.record span{font-size:75px;line-height:1}.record small{font-size:9px;letter-spacing:3px;margin-top:8px}.floating-note{position:absolute;top:10px;left:5px;font-size:50px;color:#66a66b;transform:rotate(20deg)}.live-label{position:absolute;bottom:18px;right:-8px;display:flex;align-items:center;gap:8px;background:white;border:1px solid #e1e6d7;border-radius:25px;box-shadow:0 8px 24px #173c3310;padding:12px 18px;font-size:12px}.directory{margin-top:24px;background:#fff;border:1px solid #e1e7dc;border-radius:24px;padding:30px 32px 42px;min-height:370px}.directory-heading{display:flex;justify-content:space-between;align-items:center}.directory-heading .eyebrow{color:var(--muted);margin:0 0 7px}h2{font-size:27px;margin:0;letter-spacing:-.8px}.legend{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted)}.search-row{display:flex;align-items:center;gap:20px;margin:24px 0 16px}.search{display:flex;gap:10px;align-items:center;background:#f5f7f1;border:1px solid #e1e7dc;border-radius:12px;padding:0 14px;width:360px}.search span{font-size:27px}.search input{border:0;background:transparent;width:100%;padding:14px 0;outline-offset:0;font-size:13px;color:#153c33}#result-count{font-size:12px;color:var(--muted);margin-inline-start:auto}.categories{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #edf0e9;padding-bottom:23px;margin-bottom:28px}.categories button{border:1px solid #e1e7dc;background:white;padding:9px 14px;border-radius:24px;font-size:12px;white-space:nowrap}.categories button.active{background:#173f33;color:white;border-color:#173f33}.creators{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:28px 15px}.creator{display:flex;align-items:center;flex-direction:column;border:0;background:none;padding:0;min-width:0}.portrait{width:100%;max-width:92px;aspect-ratio:1;border:2px solid #dce1dc;border-radius:50%;padding:4px;position:relative;transition:transform .2s,border-color .2s}.creator:hover .portrait{transform:translateY(-4px)}.creator.unseen .portrait{border-color:#1baa67}.portrait-inner{width:100%;height:100%;display:grid;place-items:center;border-radius:50%;background:#e9eee2;overflow:hidden;color:#477453;font-size:24px;font-weight:700}.creator:nth-child(3n+2) .portrait-inner{background:#f2e8da;color:#967342}.creator:nth-child(3n+3) .portrait-inner{background:#e4eaef;color:#567489}.portrait img{width:100%;height:100%;object-fit:cover}.creator-name{font-size:12px;font-weight:700;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:10px 0 4px}.creator-category{color:var(--muted);font-size:10px;width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.status-count{position:absolute;bottom:-2px;left:-1px;border:2px solid white;background:#173f33;color:white;font-size:9px;min-width:21px;height:21px;border-radius:50%;display:grid;place-items:center}.notice{background:#eef3e4;padding:12px;border-radius:10px;font-size:13px}.empty{text-align:center;padding:45px 10px;color:var(--muted);font-size:14px}.empty>span{font-size:35px;color:#4c9670}.empty h3{color:#234e40}footer{display:flex;align-items:center;gap:25px;padding:30px 5px 40px;font-size:11px;color:var(--muted)}footer strong{color:#284d3d}footer span:last-child{margin-inline-start:auto}dialog{border:1px solid #345248;border-radius:22px;background:#102b24;color:white;padding:18px;width:min(500px,calc(100% - 24px));max-height:94dvh}dialog::backdrop{background:#071b14d9;backdrop-filter:blur(6px)}.story-top,.story-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}.story-top small{display:block;font-size:11px;color:#baccc4;margin-top:5px}dialog button{color:white;border:0;background:#ffffff13;border-radius:12px;padding:11px}#close-story{font-size:24px;padding:4px 12px}.story-progress{display:flex;gap:4px;margin:16px 0}.story-progress span{flex:1;height:3px;background:#ffffff30;border-radius:3px}.story-progress .watched{background:#b8edc5}.story-content{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:230px;max-height:66dvh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.story-content img,.story-content video{max-width:100%;max-height:58dvh;object-fit:contain;border-radius:9px}.story-content audio{width:100%}.story-content p{font-size:20px;line-height:1.6;text-align:center;padding:10px}.story-bottom{margin-top:16px;font-size:12px}.story-bottom button:disabled{opacity:.3}#story-error{font-size:12px;color:#ffd2aa}[hidden]{display:none!important}@media(max-width:760px){header{height:78px;padding:0 18px;gap:10px}.brand{font-size:18px}.brand small{font-size:8px;letter-spacing:2px}.brand-icon{width:36px;height:36px;font-size:24px}.header-note{display:none}.quiet{font-size:10px;padding:9px 12px}header .quiet{margin-inline-start:auto}main{padding:0 12px}.hero{min-height:260px;padding:27px 12px}.hero-art{width:105px;height:150px;margin:0}.record{width:110px;height:110px;border-width:6px}.record span{font-size:42px}.record small{font-size:5px;letter-spacing:1px}.orbit-one{width:145px;height:145px}.orbit-two{width:180px;height:180px}.floating-note{font-size:25px;top:0;left:-12px}.live-label{display:none}h1{font-size:39px;letter-spacing:-1.5px}.hero .eyebrow{font-size:9px}.intro{font-size:11px;line-height:1.8}.directory{padding:22px 12px 28px;border-radius:18px}h2{font-size:24px}.legend{font-size:9px}.search-row{gap:7px;margin:20px 0 13px}.search{width:auto;flex:1}.search input{font-size:12px}#result-count{font-size:10px;white-space:nowrap}.categories{flex-wrap:wrap;overflow:visible;padding-bottom:17px;margin-bottom:22px}.categories button{font-size:11px;padding:8px 12px}.creators{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 9px}.portrait{padding:3px}.portrait-inner{font-size:19px}.creator-name{font-size:10px;margin-top:8px}.creator-category{font-size:8px}.status-count{height:17px;min-width:17px;font-size:8px}.directory-heading .eyebrow{font-size:9px}footer{gap:12px;font-size:9px}footer span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.instruments{background:#f5f7f1;border:1px solid #e1e7dc;border-radius:12px;padding:14px;margin-top:-12px}.instruments button{background:transparent}.instruments button.active{background:#173f33}

/* Music Status wordmark and segmented status emblem. */
.brand{gap:12px;flex-shrink:0}.status-logo{display:block;width:64px;height:64px;flex-shrink:0}.status-logo svg{display:block;width:100%;height:100%}.brand-wordmark{font-family:"Avenir Next","Trebuchet MS",Arial,sans-serif;font-size:34px;font-weight:800;font-style:italic;letter-spacing:-1.5px;line-height:1.1;white-space:nowrap}.brand-wordmark>span{color:#159b60}
@media(max-width:760px){.brand{gap:7px}.status-logo{width:46px;height:46px}.brand-wordmark{font-size:25px;letter-spacing:-1.2px}}
@media(max-width:360px){.brand-wordmark{font-size:22px}.status-logo{width:40px;height:40px}header{padding-inline:12px}}

/* Immersive status viewer. */
#story-viewer{width:min(620px,100%);height:min(920px,96dvh);max-height:96dvh;padding:0;border:1px solid #313731;border-radius:20px;background:#090c0a;color:#fff;overflow:hidden}#story-viewer::backdrop{background:#000e;backdrop-filter:blur(8px)}.story-shell{height:100%;display:flex;flex-direction:column;padding:12px 16px 8px}.story-progress{margin:0 0 14px;gap:5px;direction:rtl;flex-shrink:0}.story-progress progress{width:0;flex:1;height:4px;border:0;appearance:none;background:#ffffff40;border-radius:5px;overflow:hidden}.story-progress progress::-webkit-progress-bar{background:#ffffff40}.story-progress progress::-webkit-progress-value{background:#fff;border-radius:5px}.story-progress progress::-moz-progress-bar{background:#fff}.story-top{gap:10px;padding-bottom:14px;flex-shrink:0}.story-avatar{height:48px;width:48px;flex-shrink:0;background:#264739;border:2px solid #90ad9b;border-radius:50%;display:grid;place-items:center;overflow:hidden;font-size:18px;font-weight:700}.story-avatar img{width:100%;height:100%;object-fit:cover}.story-identity{flex:1;min-width:0}.story-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:18px}.story-top small{font-size:12px;color:#bac0ba}.story-top button{width:36px;height:36px;padding:0;border-radius:50%;font-size:18px}.story-top #close-story{background:none;font-size:25px}.story-stage{flex:1;min-height:0;position:relative;display:flex;align-items:stretch;overflow:hidden;background:radial-gradient(ellipse at center,#19291f,#080a09);border-radius:12px}.story-content{width:100%;min-height:0;max-height:none;padding:0}.story-content img,.story-content video{max-height:100%;width:100%;min-height:0;flex:1;object-fit:contain;border-radius:0}.story-content audio{margin:24px 0}.story-content p{font-size:25px;padding:20px;line-height:1.7;margin:0}.story-content:has(video) p,.story-content:has(img) p{font-size:14px;padding:12px;max-height:100px;overflow:auto;flex-shrink:0}.story-stage #story-error{position:absolute;bottom:0;inset-inline:0;padding:12px;background:#37261deb;margin:0}.story-bottom{flex-shrink:0;gap:6px;margin:10px 0;font-size:11px}.story-bottom button{padding:9px;font-size:11px}.story-bottom #show-comments{margin-inline-end:auto;color:#bddfc8}.story-bottom #story-position{color:#b0b9b3;white-space:nowrap}#reply-form{flex-shrink:0;padding-top:8px;border-top:1px solid #ffffff20}.reply-options{display:flex;align-items:center;gap:12px;margin-bottom:9px;font-size:11px;color:#bcc9c0}.reply-options label{display:flex;align-items:center;gap:6px;white-space:nowrap}.reply-options select,.reply-options input{font:inherit;background:#ffffff0d;color:#e6ede8;border:1px solid #ffffff25;border-radius:8px;padding:8px;min-width:0}.reply-options select option{background:#17221c}.reply-options input{flex:1;width:0}.reply-compose{display:flex;align-items:center;gap:9px;border:1px solid #ffffff35;border-radius:28px;padding:6px;background:#ffffff12}.reply-compose textarea{font:inherit;font-size:14px;resize:none;flex:1;min-width:0;max-height:70px;background:transparent;color:white;border:0;padding:8px;line-height:1.4}.reply-compose button{background:none;border-radius:50%;height:36px;width:36px;padding:0;font-size:24px}.reply-compose #send-reply{background:#1b9b62;font-size:18px}#reply-hint,#reply-feedback{font-size:10px;line-height:1.5;color:#aabbaf;margin:7px 8px 0}#reply-feedback{color:#b8edc5}#comments-panel{position:absolute;inset:0;z-index:2;background:#101812f5;display:flex;flex-direction:column;padding:16px;backdrop-filter:blur(12px)}.comments-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.comments-heading h2{font-size:19px}.comments-heading button{padding:4px 12px;font-size:22px}#comments-list{overflow:auto;flex:1}.public-comment{padding:14px 0;border-bottom:1px solid #ffffff18;overflow-wrap:anywhere}.public-comment strong{font-size:13px}.public-comment time{font-size:10px;color:#94a799;margin-inline-start:10px}.public-comment p{font-size:14px;line-height:1.6;white-space:pre-wrap;margin:7px 0}.comments-empty{font-size:14px;color:#a4b8aa;line-height:1.8}
@media(max-width:760px){#story-viewer{width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0}.story-shell{padding:10px 12px max(10px,env(safe-area-inset-bottom))}.story-avatar{width:40px;height:40px}.story-identity strong{font-size:16px}.story-top{gap:7px;padding-bottom:10px}.story-content p{font-size:22px}.reply-options{gap:6px}.reply-options select{max-width:140px}}

#story-stage{touch-action:pan-y}.story-side{position:absolute;top:0;bottom:78px;width:23%;z-index:1;border:0!important;background:transparent!important;padding:0!important;display:flex;align-items:center;opacity:.7;border-radius:0!important}.story-side-right{right:0;justify-content:flex-start;padding-right:8px!important}.story-side-left{left:0;justify-content:flex-end;padding-left:8px!important}.story-side span{display:grid;place-items:center;width:34px;height:48px;border-radius:24px;background:#0005;color:#fff;font-size:22px;text-shadow:0 1px 5px #000}.story-side:hover,.story-side:focus-visible{opacity:1}.story-side:disabled{opacity:.15;cursor:default}.story-content img{user-select:none;-webkit-user-drag:none}

.story-side{direction:ltr}#story-position{direction:ltr}

/* One independent arc per status; seen arcs stay white. */
.portrait{border:0;padding:7px}.creator.unseen .portrait{border:0}.status-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.status-segment{fill:none;stroke:#1baa67;stroke-width:3;stroke-linecap:butt}.status-segment.viewed{stroke:#fff;filter:drop-shadow(0 0 .6px #9eaea3)}@media(max-width:760px){.portrait{padding:5px}}
/* Creator profiles and the visitor's horizontal favorites. */
.favorites-section{margin-top:26px;padding:22px 26px;background:#edf3e9;border:1px solid #dde7d8;border-radius:22px}.favorites-section h2{font-size:20px;margin-bottom:20px}.favorites-section h2 span{color:#c89526}.favorites-list{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:6px 4px 12px}.favorites-list .creator{flex:0 0 86px;scroll-snap-align:start}.profile-name{display:block;text-align:start;font-size:19px;font-weight:700;background:transparent!important;padding:0!important;border-radius:4px!important;cursor:pointer}.profile-name:hover{text-decoration:underline}.story-avatar{cursor:pointer}#creator-profile{background:#f7f8f2;color:#153c33;border:1px solid #dbe4d7;width:min(570px,calc(100% - 24px));max-height:92dvh;padding:0;overflow:auto;border-radius:24px}#creator-profile button{color:#153c33}#creator-profile::backdrop{background:#071b14c9}.profile-toolbar{display:flex;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid #e0e7db}.profile-toolbar button{font-size:25px;padding:2px 12px;background:#e7eee2}.profile-toolbar span{font-size:13px;color:#718078}.profile-header{text-align:center;padding:28px 24px 22px}.profile-avatar{width:128px;height:128px;display:grid;place-items:center;border-radius:50%;background:#e4ecdb;border:5px solid white;box-shadow:0 0 0 1px #d6e1d0;margin:0 auto 20px;overflow:hidden;font-size:42px;font-weight:700}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-header h2{font-size:28px;margin-bottom:9px}#profile-categories{color:#718078;font-size:13px}.profile-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:23px}#favorite-creator{border:1px solid #d8dfd2;background:white}#favorite-creator[aria-pressed=true]{background:#fff1c9;color:#745615;border-color:#e6cd85}#profile-whatsapp{display:inline-flex;align-items:center;background:#159b60;color:white;text-decoration:none;border-radius:12px;padding:11px 16px;font-size:14px}#profile-whatsapp[aria-disabled=true]{background:#e3e8df;color:#637365;cursor:default}.profile-note{font-size:12px;color:#718078;line-height:1.6}.profile-archive{padding:20px 24px 28px;background:white;border-top:1px solid #e0e7db}.profile-archive h3{margin:0;font-size:18px}#profile-statuses{display:grid;gap:8px;margin-top:16px}#creator-profile .profile-status{display:flex;align-items:center;text-align:start;gap:14px;border:1px solid #e5eade;background:#fafbf8;padding:13px}.profile-status-icon{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;border-radius:10px;background:#e6efdd;font-size:18px}.profile-status>span:last-child{min-width:0}.profile-status strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}.profile-status small{display:block;font-size:11px;color:#718078;margin-top:6px}#creator-profile button:focus-visible,#creator-profile a:focus-visible{outline:2px solid #70d5a2;outline-offset:3px}@media(max-width:760px){.favorites-section{padding:18px 14px;margin-top:18px}.favorites-list{gap:14px}.favorites-list .creator{flex-basis:64px}.favorites-section h2{font-size:18px}.profile-name{font-size:16px}#creator-profile{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.profile-status strong{max-width:calc(100vw - 135px)}.profile-avatar{width:116px;height:116px}}

/* Place arrow glyphs against the outer edges, retaining wide tap targets. */
.story-side-right{justify-content:flex-end;padding-right:2px!important}.story-side-left{justify-content:flex-start;padding-left:2px!important}
#story-stage{user-select:none;-webkit-user-select:none;cursor:grab}#story-stage.dragging{cursor:grabbing}#story-stage.dragging *{cursor:grabbing!important}#story-content{will-change:transform}#comments-panel{user-select:text;-webkit-user-select:text;cursor:auto}
.language-switch{margin-inline-start:auto;display:inline-flex;align-items:center;flex-shrink:0;gap:3px;padding:4px;border:1px solid #dbe4d6;border-radius:24px;background:#eaf0e5}.language-switch button{border:0;border-radius:20px;padding:9px 16px;background:transparent;color:#64776a;font-size:12px;font-weight:700;transition:background .15s,color .15s}.language-switch button[aria-pressed=true]{background:#174d39;color:#fff;box-shadow:0 2px 5px #153c331a}@media(max-width:760px){.language-switch{gap:2px;padding:3px}.language-switch button{padding:8px 10px;font-size:11px}header .quiet{margin-inline-start:0}}
header{justify-content:space-between}.language-switch{margin-inline-start:0}.creator-name,.profile-status strong,.story-content p{unicode-bidi:plaintext}

/* Music Status appearance controls. */
.display-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.theme-switch{display:inline-flex;align-items:center;flex-shrink:0;gap:3px;padding:4px;border:1px solid #dbe4d6;border-radius:24px;background:#eaf0e5}.theme-switch button{border:0;border-radius:20px;padding:9px 13px;background:transparent;color:#64776a;font:inherit;font-size:12px;font-weight:700;white-space:nowrap}.theme-switch button[aria-pressed=true]{background:#174d39;color:#fff;box-shadow:0 2px 5px #153c331a}html[data-theme=dark]{color-scheme:dark;background:#101b17;color:#e6eee8;--muted:#acbcb1;--line:#34483b}html[data-theme=light]{color-scheme:light}html[data-theme=dark] .theme-switch,html[data-theme=dark] .language-switch{background:#23372b;border-color:#3c5141}html[data-theme=dark] .theme-switch button,html[data-theme=dark] .language-switch button{color:#bbcdbf}html[data-theme=dark] .theme-switch button[aria-pressed=true],html[data-theme=dark] .language-switch button[aria-pressed=true]{background:#77d59e;color:#102d1d}html[data-theme=dark] .brand-wordmark{color:#e8f1e9}html[data-theme=dark] .brand-wordmark>span{color:#65d294}html[data-theme=dark] input::placeholder,html[data-theme=dark] textarea::placeholder{color:#9bae9f;opacity:1}@media(max-width:760px){.theme-switch{padding:3px}.theme-switch button{padding:8px 10px;font-size:11px}.display-controls{gap:7px}}

header{height:auto;min-height:100px;flex-wrap:wrap;padding-top:16px;padding-bottom:16px;gap:16px}html[data-theme=dark] header{border-color:#34483b}html[data-theme=dark] .directory,html[data-theme=dark] .profile-archive{background:#18271f;border-color:#34483b}html[data-theme=dark] .search{background:#23332a;border-color:#3a4f40}html[data-theme=dark] .search input{color:#edf4ef}html[data-theme=dark] .categories{border-color:#34483b}html[data-theme=dark] .categories button,html[data-theme=dark] .quiet{background:#203328;border-color:#3b5141;color:#d4e3d8}html[data-theme=dark] .categories button.active{background:#77d59e;color:#102d1d;border-color:#77d59e}html[data-theme=dark] .favorites-section,html[data-theme=dark] .notice{background:#203328;border-color:#3b5141;color:#d4e3d8}html[data-theme=dark] .empty h3,html[data-theme=dark] footer strong{color:#d4e3d8}html[data-theme=dark] #creator-profile{background:#18271f;color:#e6eee8;border-color:#34483b}html[data-theme=dark] .profile-toolbar{border-color:#34483b}html[data-theme=dark] #creator-profile button{color:#d4e3d8}html[data-theme=dark] .profile-toolbar button,html[data-theme=dark] #creator-profile .profile-status{background:#23372b;border-color:#3b5141}html[data-theme=dark] .profile-avatar{background:#284332;color:#d4e3d8;border-color:#3d5847;box-shadow:none}html[data-theme=dark] #favorite-creator{background:#23372b;border-color:#3b5141}html[data-theme=dark] #favorite-creator[aria-pressed=true]{background:#514321;color:#ffe1a0;border-color:#816c38}html[data-theme=dark] #profile-whatsapp[aria-disabled=true]{background:#263c2e;color:#aebfb2}html[data-theme=dark] .profile-status-icon{background:#34543e;color:#d4e3d8}html[data-theme=dark] .profile-note,html[data-theme=dark] #profile-categories,html[data-theme=dark] .profile-status small,html[data-theme=dark] .profile-toolbar span{color:#acbcb1}@media(max-width:760px){header{min-height:78px;padding:14px 18px;gap:12px}.display-controls{margin-inline-start:auto}}@media(max-width:540px){header .display-controls{width:100%;justify-content:flex-end}.brand-wordmark{font-size:25px}}

.reply-compose #story-like{width:auto;min-width:62px;display:flex;align-items:center;justify-content:center;gap:6px;color:#fff;border-radius:20px;flex-shrink:0;padding:0 7px}.reply-compose #story-like[aria-pressed="true"]{color:#43db91}#like-count{font-size:14px;font-variant-numeric:tabular-nums}#story-like:disabled{opacity:.7}

#story-stage{touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.story-side{bottom:0}.story-content video::-webkit-media-controls{display:none!important}

/* Compact favorites strip: the section retains its accessible translated label. */
.favorites-section{display:flex;align-items:center;gap:12px;margin-top:14px;padding:10px 14px;border-radius:16px;min-width:0}.favorites-star{color:#c89526;font-size:24px;flex-shrink:0}.favorites-list{flex:1;min-width:0;margin:0;gap:14px;padding:4px 2px}.favorites-list .creator{flex:0 0 58px}.favorites-list .creator-name{font-size:10px;margin:5px 0 0}.favorites-list .creator-category{display:none}.favorites-list .portrait-inner{font-size:18px}.favorites-list .status-count{height:17px;min-width:17px;font-size:8px}@media(max-width:760px){.favorites-section{margin-top:10px;padding:8px 10px;gap:10px}.favorites-list{gap:12px}.favorites-list .creator{flex-basis:52px}.favorites-star{font-size:22px}}

.story-content .status-link{position:relative;z-index:2;color:#77d59e;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere;cursor:pointer;direction:ltr;unicode-bidi:isolate}.story-content .status-link:focus-visible{outline:2px solid #77d59e;outline-offset:4px}

/* Quiet single-line appearance/language toolbar; branding stays unchanged. */
header .display-controls{display:flex;flex-wrap:nowrap;align-items:center;gap:10px;width:auto;max-width:100%}
html header .display-controls .theme-switch,html header .display-controls .language-switch{gap:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html header .display-controls .language-switch{border-inline-start:1px solid var(--line,#dbe4d6);padding-inline-start:8px}
html header .display-controls button{min-height:32px;padding:4px 7px;border:0;border-radius:5px;background:transparent;color:var(--muted);font-size:11px;font-weight:400;line-height:1.2;box-shadow:none;white-space:nowrap}
html header .display-controls button[aria-pressed=true]{background:transparent;color:#159b60;font-weight:700;box-shadow:inset 0 -2px #159b60}
html[data-theme=dark] header .display-controls button[aria-pressed=true]{color:#77d59e;box-shadow:inset 0 -2px #77d59e}
@media(max-width:540px){header{row-gap:5px;padding-bottom:7px}header .display-controls{width:100%;justify-content:flex-end;gap:8px}html header .display-controls button{padding:4px 6px;font-size:10px}}
html[data-theme=dark] header .display-controls button[aria-pressed=true]{background:transparent}

/* Dense mobile masthead, favorites, search and horizontally scrolling filters. */
header{flex-wrap:nowrap;min-height:68px;padding-block:8px;gap:12px}
header .display-controls{width:auto;flex-shrink:0;margin-inline-start:auto}
.favorites-section{padding:4px 10px;margin-top:8px;gap:8px;border-radius:12px}
.favorites-list{padding:2px;gap:10px}.favorites-list .creator{flex:0 0 42px}.favorites-list .creator-name{font-size:9px;margin-top:2px}.favorites-list .portrait{padding:3px}.favorites-star{font-size:19px}
.directory{padding-top:12px}.search-row{margin:0 0 10px;gap:8px}.search{border-radius:8px;padding:0 10px}.search input{padding:6px 0;font-size:12px;line-height:18px}.search span{font-size:20px}
.categories{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;gap:6px;padding-bottom:9px;margin-bottom:16px;scrollbar-width:none;overscroll-behavior-x:contain}.categories::-webkit-scrollbar{display:none}.categories button{flex:0 0 auto;padding:6px 11px;font-size:11px}.instruments{padding:8px;margin-top:-8px}
@media(max-width:760px){
 header{min-height:54px;padding:7px 10px;gap:8px}
 header .brand{gap:4px}header .status-logo{width:36px;height:36px}header .brand-wordmark{font-size:21px;letter-spacing:-1px}
 header .display-controls{width:auto;gap:5px;justify-content:flex-end}
 html header .display-controls button{padding:3px 4px;min-height:30px;font-size:9px;border-radius:0}
 html header .display-controls .language-switch{padding-inline-start:4px}
 #language-en{font-size:0}html header .display-controls #language-en{font-size:0}#language-en::after{content:'EN';font-size:9px}
 .theme-switch [data-theme-label=light],.theme-switch [data-theme-label=dark]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .theme-switch button>span[aria-hidden]{font-size:13px}
 .favorites-section{padding:4px 8px;margin-top:6px;gap:6px}.favorites-list .creator{flex-basis:38px}.favorites-list .creator-name{font-size:8px}.favorites-list .portrait-inner{font-size:14px}.favorites-list .status-count{min-width:14px;height:14px;font-size:7px}
 .directory{padding:12px 10px 20px}.search-row{margin:0 0 8px}.search input{padding:5px 0;font-size:11px}.categories{flex-wrap:nowrap;padding-bottom:8px;margin-bottom:14px}.categories button{padding:6px 10px;font-size:10px}
}
@media(max-width:370px){header{gap:4px;padding-inline:7px}header .brand-wordmark{font-size:18px}header .status-logo{width:32px;height:32px}html header .display-controls button{padding-inline:3px}}

/* Separate reactions from writing; secondary reply settings stay collapsed. */
#story-viewer .story-bottom{margin:5px 0 8px;gap:12px;min-height:34px}
#story-viewer .story-bottom #story-like{display:flex;align-items:center;justify-content:center;gap:5px;padding:3px 0;min-width:45px;background:none;color:#e4eae6;font-size:27px;border-radius:6px}
#story-viewer .story-bottom #story-like[aria-pressed=true]{color:#43db91}
#story-viewer .story-bottom #show-comments{background:none;padding:6px 0;color:#c3cec7;font-size:12px;margin-inline-end:auto}
#story-viewer .story-bottom #story-position{font-size:11px;color:#81968a}
#reply-form{border:0;padding-top:0}
#reply-form .reply-compose{border-radius:22px;padding:4px 6px;border-color:#ffffff24;background:#ffffff09;gap:8px}
#reply-form .reply-compose textarea{font-size:14px;padding:7px 10px;line-height:20px}
#reply-form #send-reply{height:32px;width:32px;flex-shrink:0;background:#189b63;font-size:16px}
#reply-settings{margin-top:5px;font-size:11px;color:#9bafa2}
#reply-settings summary{display:flex;align-items:center;gap:7px;list-style:none;cursor:pointer;width:fit-content;min-height:28px;padding:3px 8px;border-radius:6px}
#reply-settings summary::-webkit-details-marker{display:none}
#reply-settings[open] summary>span:last-child{transform:rotate(180deg)}
.reply-settings-body{padding:10px;background:#15251c;border:1px solid #ffffff16;border-radius:12px;margin-top:3px;max-height:24dvh;overflow-y:auto}
#reply-settings .reply-options{margin:0;gap:8px;flex-wrap:wrap}
#reply-settings .reply-options label{flex:1}#reply-settings select{flex:1;max-width:100%}
#reply-settings .reply-options input{flex:1 1 130px;width:auto}
#reply-settings #reply-hint{margin:8px 0 0;color:#8da394;font-size:10px;line-height:1.5}
#reply-settings summary:focus-visible{outline:2px solid #77d59e;outline-offset:2px}

#like-heart{display:block;width:28px;height:28px;flex:0 0 28px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#story-like[aria-pressed=true] #like-heart{fill:currentColor}

/* Status identity has flexible width; only icon buttons have fixed dimensions. */
#story-viewer .story-top{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding-bottom:12px;min-height:56px;flex-shrink:0}
#story-viewer .story-top .story-identity{flex:1;min-width:0;overflow:hidden}
#story-viewer #story-name{display:block;width:100%;height:auto;min-height:22px;padding:0!important;text-align:start;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;font-weight:600;line-height:1.4;border-radius:3px}
#story-viewer #story-time{display:block;font-size:11px;line-height:1.4;color:#9aaba1;margin-top:2px;white-space:nowrap}
#story-viewer .story-avatar{width:40px;height:40px;border:1px solid #ffffff36;font-size:15px}
#story-viewer #close-story,#story-viewer #mute-story{display:grid;place-items:center;flex:0 0 36px;width:36px;height:40px;padding:7px;background:transparent;border:0;border-radius:8px;color:#e6ede8}
#story-viewer #close-story svg,#story-viewer #mute-story svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
html[dir=ltr] #close-story svg{transform:rotate(180deg)}
#mute-story .sound-off{display:none}#mute-story[aria-pressed=true] .sound-off{display:block}#mute-story[aria-pressed=true] .sound-waves{display:none}
#story-viewer .story-top button:focus-visible{outline:1px solid #77d59e;outline-offset:1px}
#story-viewer #close-story:hover,#story-viewer #mute-story:hover{background:#ffffff0b}
@media(max-width:760px){#story-viewer .story-top{gap:8px;padding-bottom:10px}#story-viewer #story-name{font-size:15px}}

/* Full-height tap targets cover both halves of the media, not just the arrows. */
#story-stage .story-side{top:0;bottom:0;width:50%;height:100%;touch-action:none}
#story-stage .story-side:disabled{pointer-events:none}
#story-content video,#story-content img{pointer-events:none}
#story-content audio{position:relative;z-index:2}

#story-stage.voice-story{background:linear-gradient(160deg,#61246f,#792f88);border-radius:12px}.voice-story #story-content{padding:20px 26px;gap:20px}.voice-card{display:flex;align-items:center;direction:ltr;gap:12px;width:100%;padding:14px 12px;border-radius:18px;background:#35144440}.voice-avatar{height:44px;width:44px;flex:0 0 44px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#301438;color:#fff}.voice-avatar img{width:100%;height:100%;object-fit:cover}.voice-time{font-size:14px;color:#fff;font-variant-numeric:tabular-nums}.voice-progress{flex:1;min-width:0;height:5px;border:0;border-radius:5px;overflow:hidden;appearance:none;background:#ffffff40}.voice-progress::-webkit-progress-bar{background:#ffffff40}.voice-progress::-webkit-progress-value{background:#fff}.voice-progress::-moz-progress-bar{background:#fff}.voice-enable{position:relative;z-index:3;padding:10px 16px;border-radius:20px;background:#301438b0;font-size:13px}.voice-story .story-side{width:20%}

#story-viewer.text-story{background:var(--status-background);color:#fff}.text-story #story-stage,.text-story #story-content{background:transparent}.text-story #story-content p{box-sizing:border-box;color:var(--status-text);font-size:clamp(18px,4.6vw,24px);font-weight:400;text-align:center;line-height:1.55;width:100%;max-width:30ch;margin:0 auto;padding:0 44px;white-space:pre-wrap;overflow-wrap:anywhere;word-break:normal;unicode-bidi:plaintext;max-height:none}.text-story #story-content a{color:inherit;text-decoration:underline}.text-story #story-time,.text-story #reply-hint,.text-story #story-position{color:#ffffffc9}

/* Media fills the viewer; controls float above it without shrinking the image. */
#story-viewer.visual-story{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0;background:#000}
.visual-story .story-shell{position:relative;isolation:isolate;padding:max(10px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));pointer-events:none}
.visual-story #story-stage{position:absolute;inset:0;border-radius:0;z-index:-1;pointer-events:auto;background:#000}
.visual-story #story-content{height:100%;position:relative;display:block}
.visual-story #story-content>img,.visual-story #story-content>video{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover}
.visual-story #story-content>p{position:absolute;bottom:150px;inset-inline:12px;max-height:20vh;overflow:auto;background:#0006;border-radius:8px;text-shadow:0 1px 3px #000;pointer-events:auto}
.visual-story .story-shell:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(#0009,transparent 23%,transparent 65%,#000b)}
.visual-story .story-top,.visual-story #reply-form,.visual-story .story-bottom{pointer-events:auto}
#story-viewer.visual-story .story-bottom{margin-top:auto}
.visual-story .story-top{text-shadow:0 1px 4px #000}
.visual-story #comments-panel{z-index:5;pointer-events:auto}
.visual-story #reply-form{background:transparent}
.visual-story .reply-compose{background:#101812a6;backdrop-filter:blur(8px)}

/* Comments are a separate view in the shell, above every media layer. */
#story-viewer:has(#comments-panel:not([hidden])){background:#101812}
.story-shell:has(#comments-panel:not([hidden])){position:relative;pointer-events:auto}
.story-shell:has(#comments-panel:not([hidden]))>.story-top,.story-shell:has(#comments-panel:not([hidden]))>.story-progress,.story-shell:has(#comments-panel:not([hidden]))>.story-stage,.story-shell:has(#comments-panel:not([hidden]))>.story-bottom{display:none}
#story-viewer #comments-panel{position:relative;inset:auto;z-index:5;flex:1;min-height:0;width:100%;padding:6px 0 12px;background:#101812;backdrop-filter:none;pointer-events:auto;overflow:hidden}
#comments-panel .comments-heading{flex-shrink:0;min-height:48px;margin:0;padding:0 4px 12px;border-bottom:1px solid #ffffff20;gap:16px}
#comments-panel .comments-heading h2{font-size:18px;line-height:1.4;margin:0;letter-spacing:0;color:#f1f6f2}
#comments-panel #close-comments{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid #ffffff20;background:#ffffff09;border-radius:50%;color:white;font-size:26px;line-height:1}
#comments-list{min-height:0;overscroll-behavior:contain;padding:0 4px;touch-action:pan-y}
#comments-panel .public-comment{padding:16px 0}#comments-panel .public-comment p{margin:8px 0 0;line-height:1.6;font-size:15px}
.story-shell:has(#comments-panel:not([hidden]))>#reply-form{position:relative;z-index:6;background:#101812;padding-bottom:4px}

/* Reserve a compact footer below visual media instead of covering the video. */
#story-viewer.visual-story .story-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;gap:0;padding:0 0 env(safe-area-inset-bottom);background:#090c0a}
#story-viewer.visual-story #story-stage{position:relative;inset:auto;grid-column:1;grid-row:1 / 4;z-index:0;min-height:0;height:100%;width:100%}
#story-viewer.visual-story .story-shell:before{display:none}
#story-viewer.visual-story .story-progress{grid-column:1;grid-row:1;z-index:1;margin:max(9px,env(safe-area-inset-top)) 12px 10px}
#story-viewer.visual-story .story-top{grid-column:1;grid-row:2;z-index:1;margin:0 12px;padding-bottom:12px}
#story-viewer.visual-story .story-bottom{grid-column:1;grid-row:4;z-index:1;margin:0;padding:3px 12px;min-height:32px;background:#090c0a}
#story-viewer.visual-story #reply-form{grid-column:1;grid-row:5;z-index:1;margin:0;padding:0 12px 4px;border-top:0;background:#090c0a}
#story-viewer.visual-story #reply-settings{margin-top:0}
#story-viewer.visual-story #reply-settings summary{min-height:22px;padding:1px 7px}
#story-viewer.visual-story #story-content>p{bottom:8px;max-height:22%;margin:0}
#story-viewer.visual-story .reply-compose{background:#ffffff0c;backdrop-filter:none}
#story-viewer.visual-story .story-shell:has(#comments-panel:not([hidden])){display:flex;padding:max(10px,env(safe-area-inset-top)) 12px max(6px,env(safe-area-inset-bottom));background:#101812}
#story-viewer.visual-story .story-shell:has(#comments-panel:not([hidden]))>#reply-form{padding:6px 0 0;background:#101812}

/* Entire media surface remains a navigation target, including caption space. */
#story-stage .story-side{width:50%}
#story-content>p{pointer-events:none!important}#story-content>p a{pointer-events:auto}
#story-content{transition:transform .16s ease-out}#story-stage.dragging #story-content{transition:none}
@media(prefers-reduced-motion:reduce){#story-content{transition:none}}

/* iOS zooms focused inputs below 16px. Keep text legible without disabling zoom. */
#story-viewer textarea,#story-viewer input,#story-viewer select{font-size:16px!important;max-width:100%;min-width:0}
#reply-form,.reply-compose,.reply-options{min-width:0;max-width:100%}
.reply-compose textarea{width:0;flex:1 1 0;overflow-wrap:anywhere}
#reply-form textarea:focus-visible,#reply-form input:focus-visible,#reply-form select:focus-visible{outline:1px solid #77d59e;outline-offset:0}
html:has(#story-viewer[open]),body:has(#story-viewer[open]){overflow:hidden;overscroll-behavior:none}
@media(max-width:760px){
 #story-viewer,#story-viewer.visual-story{position:fixed;inset:auto 0 auto 0;top:var(--visible-top,0px);margin:0;width:100%;max-width:100%;height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);overflow:hidden}
 #story-viewer .story-shell{min-width:0;max-width:100%;min-height:0}
 #story-viewer .reply-settings-body{max-height:18dvh}
}

#profile-statuses{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin-top:14px}
#creator-profile .profile-status{display:block;position:relative;aspect-ratio:3/4;min-width:0;overflow:hidden;padding:0;border:0;border-radius:3px;background:var(--tile-color,#244638);color:white}
.profile-tile-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.profile-tile-text{display:flex;align-items:center;justify-content:center;height:100%;padding:12px 8px 30px;text-align:center;font-size:15px;line-height:1.5;overflow:hidden;overflow-wrap:anywhere;color:#fff}
.profile-tile-type{position:absolute;top:7px;left:7px;font-size:12px;color:white;text-shadow:0 1px 4px #000;background:#0005;padding:4px 6px;border-radius:5px}
#creator-profile .profile-status .profile-tile-date{position:absolute;bottom:0;inset-inline:0;margin:0;padding:16px 5px 6px;font-size:10px;line-height:1.4;white-space:nowrap;color:white;background:linear-gradient(transparent,#000b);text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:760px){.profile-archive{padding:18px 8px}.profile-archive h3,.profile-archive>p{padding-inline:8px}}

/* Transform animations create a stacking context: raise content above tap overlays,
   while allowing empty media areas to pass through to navigation. */
#story-stage #story-content{position:relative;z-index:2;pointer-events:none}
#story-stage #story-content .status-link,#story-stage #story-content .voice-enable{pointer-events:auto;touch-action:manipulation}
#story-viewer #story-more{flex:0 0 32px;width:32px;height:36px;padding:0;border:0;border-radius:50%;background:#0003;color:white;font:30px/1 Arial;cursor:pointer}#story-options{box-sizing:border-box;width:min(90vw,350px);padding:24px;border:1px solid #466350;border-radius:20px;background:#182b21;color:#ecf4ed;max-height:80dvh;overflow:auto}#story-options::backdrop{background:#0008}#story-options h2{font-size:18px;margin:8px 0 20px}#story-options>button:not(#close-story-options){display:block;width:100%;text-align:start;padding:15px 10px;border:0;border-bottom:1px solid #ffffff15;background:none;color:inherit;font-size:16px;cursor:pointer}#story-options #close-story-options{float:left;background:none;border:0;color:inherit;font-size:25px;cursor:pointer}#story-options p{font-size:14px;line-height:1.5}#story-options input{max-width:100%;font-size:16px}#share-profile{cursor:pointer}
/* Short captions never swallow taps; full text has its own scrollable dialog. */
#story-content>p.status-caption{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;max-height:4.8em;flex-shrink:1;margin-bottom:8px}
#story-viewer.visual-story #story-content>p.status-caption{bottom:44px;max-height:4.8em}
#story-stage #story-content .read-more{pointer-events:auto;touch-action:manipulation;position:relative;z-index:4;border:0;background:#0a161de0;color:#a1efc0;padding:8px 14px;border-radius:18px;font-size:14px;flex-shrink:0;cursor:pointer}
#story-viewer.visual-story #story-content .read-more{position:absolute;bottom:8px;inset-inline-start:12px}
#story-content .read-more[hidden]{display:none}
#full-status-text{width:min(92vw,560px);max-height:80dvh;padding:20px;overflow:auto;background:#14241b;color:#fff;overscroll-behavior:contain;touch-action:pan-y}
.full-status-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;position:sticky;top:-20px;padding:8px 0;background:#14241b;z-index:1}
.full-status-heading h2{font-size:18px}.full-status-heading button{font-size:24px;padding:4px 12px}
#full-status-content p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8;font-size:18px;user-select:text}#full-status-content a{color:#8fe6b3}
/* Direct status actions: stable icon sizes and no overflow menu. */
#story-viewer .story-top{position:relative;gap:5px}
#story-viewer .story-actions{display:flex;gap:1px;flex-shrink:0;align-items:center}
#story-viewer .story-actions button{display:grid;place-items:center;flex:0 0 34px;width:34px;height:40px;padding:7px;border:0;border-radius:14px;background:#0003;color:#fff;cursor:pointer}
#story-viewer .story-actions svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#story-viewer #favorite-story-creator[aria-pressed=true]{color:#77d59e}
#story-viewer #favorite-story-creator[aria-pressed=true] svg{fill:currentColor}
#story-viewer .story-actions button:disabled{opacity:.5}
#story-viewer #share-result{position:absolute;top:100%;inset-inline:0;margin:0;text-align:center;font-size:13px;color:white;background:#10251eed;border-radius:10px;padding:8px;z-index:5}
#story-viewer #share-result:empty{display:none}
#story-viewer #share-result input{width:100%;font-size:16px}
@media(max-width:420px){#story-viewer .story-top{gap:3px}#story-viewer .story-avatar{width:34px;height:34px;flex-basis:34px}#story-viewer #close-story,#story-viewer #mute-story{width:30px;min-width:30px;padding:4px}#story-viewer .story-identity{min-width:0;flex:1}#story-viewer #story-name{font-size:13px}}
#saved-statuses{width:min(94vw,640px);max-height:86dvh;overflow:auto;background:#14241b;padding:20px;touch-action:pan-y;overscroll-behavior:contain}#saved-statuses .saved-note{font-size:13px;line-height:1.6;color:#bad0c1}#saved-list{display:grid;gap:10px}#saved-status-preview:empty{display:none}#saved-status-preview{margin-bottom:20px;border-bottom:1px solid #ffffff20;padding-bottom:20px}#saved-status-preview img,#saved-status-preview video{display:block;max-width:100%;max-height:50dvh;margin:auto}#saved-status-preview audio{max-width:100%;width:100%}#saved-status-preview p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.7}#saved-status-preview a{color:#86e4ae}.saved-status-card{display:flex;align-items:center;gap:8px;background:#ffffff08;border-radius:12px;padding:6px}.saved-status-card .saved-open{display:flex;flex:1;min-width:0;flex-direction:column;gap:7px;text-align:start;background:none;cursor:pointer}.saved-open span{font-size:13px;overflow-wrap:anywhere}.saved-open small{font-size:11px;color:#b8cdbf}.saved-status-card .saved-remove{font-size:12px;cursor:pointer}#open-saved-statuses{white-space:nowrap}

/* Text-only statuses use the available stage instead of the media caption limit. */
#story-content>p.status-caption.standalone-text{display:block;-webkit-line-clamp:unset;max-height:none;min-height:0;flex-shrink:1}

/* Preserve the entire frame for both portrait and landscape media. */
#story-viewer.visual-story #story-stage{grid-row:3}
#story-viewer.visual-story #story-content{display:flex;flex-direction:column;min-height:0}
#story-viewer.visual-story #story-content>img,#story-viewer.visual-story #story-content>video{position:relative;inset:auto;flex:1;min-height:0;height:0;width:100%;object-fit:contain;object-position:center}
#story-viewer.visual-story #story-content>p{position:relative;inset:auto;flex-shrink:0;max-height:22%;margin:0 12px;padding:8px}
#story-viewer.visual-story #story-content>p.status-caption{position:relative;inset:auto;flex:0 0 auto;min-height:0;max-height:72px;margin:8px 12px 0;padding:0;font-size:16px;line-height:24px;text-align:start;overflow-wrap:anywhere;background:none;text-shadow:none;color:#fff}
#story-viewer.visual-story #story-content .read-more{position:relative;inset:auto;align-self:flex-start;flex:0 0 auto;margin:6px 12px 8px}

/* Latest status timestamp sits between the portrait and creator name. */
.creator-last-status{display:block;margin:6px 0 0;font-size:10px;line-height:1.3;color:var(--muted);font-weight:400;white-space:normal}.creator-last-status+.creator-name{margin-top:3px}.favorites-list .creator-last-status{font-size:8px;margin-top:3px}html[data-theme=dark] .creator-last-status{color:#acbcb1}

/* iOS focuses small inputs by zooming; keep a 16px font at every breakpoint. */
.search-row,.search{min-width:0;max-width:100%}
.search #creator-search{font-size:16px;line-height:20px;min-width:0;max-width:100%;padding:5px 0}

/* Desktop viewer: keep media and controls together instead of spanning the monitor. */
@media(min-width:761px){
 #story-viewer,#story-viewer.visual-story{position:fixed;inset:0;margin:auto;width:min(960px,calc(100vw - 64px));max-width:calc(100vw - 64px);height:calc(100dvh - 40px);max-height:1000px;border:1px solid #ffffff24;border-radius:18px;box-shadow:0 24px 90px #0008}
 #story-viewer::backdrop{background:#030705e8;backdrop-filter:blur(12px)}
 #story-viewer .story-shell{width:100%;min-width:0;min-height:0}
 #story-viewer.visual-story #story-content>img,#story-viewer.visual-story #story-content>video{align-self:stretch;max-width:none;max-height:none;object-fit:contain}
 #story-viewer .story-side span{width:42px;height:56px}
 #story-viewer.visual-story .story-top{margin-inline:18px}
 #story-viewer.visual-story .story-progress{margin-inline:18px}
 #story-viewer.visual-story .story-bottom{padding-inline:18px}
 #story-viewer.visual-story #reply-form{padding:0 18px 10px}
}
.desktop-close,.creator-jump{display:none}
#speed-badge{position:absolute;top:14px;left:50%;transform:translateX(-50%);z-index:8;padding:6px 18px;border-radius:20px;background:#000b;color:#fff;font-weight:700;pointer-events:none}
#speed-badge[hidden]{display:none}
@media(min-width:761px){
 #close-story .mobile-back{display:none}#close-story .desktop-close{display:block}
 #story-viewer .story-shell{position:relative}
 #story-viewer .creator-jump{position:absolute;top:50%;z-index:8;display:flex;align-items:center;gap:8px;max-width:150px;padding:12px;border:1px solid #ffffff40;border-radius:24px;background:#101812df;color:#fff;font-size:13px;pointer-events:auto;cursor:pointer}
 #story-viewer .creator-jump-previous{right:14px}#story-viewer .creator-jump-next{left:14px}
 #story-viewer .creator-jump:disabled{opacity:.3;cursor:default}
 #story-viewer .story-side span{visibility:hidden}
}
#story-viewer .creator-jump{direction:ltr}#story-viewer .creator-jump span{direction:rtl}
#story-viewer .story-shell:has(#comments-panel:not([hidden]))>.creator-jump{display:none}

/* Desktop creator navigation sits in reserved gutters outside the media frame. */
@media(min-width:761px){
 #story-viewer,#story-viewer.visual-story{width:min(960px,calc(100vw - 300px));max-width:calc(100vw - 300px);overflow:visible}
 #story-viewer .story-shell{border-radius:0}
 #story-viewer .creator-jump{width:132px;max-width:132px;justify-content:center;white-space:nowrap;font-size:12px}
 #story-viewer .creator-jump-previous{right:auto;left:calc(100% + 12px)}
 #story-viewer .creator-jump-next{left:auto;right:calc(100% + 12px)}
}
/* Public directory and dated archive share a responsive, scrollable browser. */
.browse-nav{display:flex;gap:10px;margin:12px 0;flex-wrap:wrap}.browse-nav button{display:flex;gap:8px;align-items:center;justify-content:center;min-height:44px;flex:1}.browse-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}
#browse-dialog{box-sizing:border-box;width:min(820px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:18px;overflow:auto;border-radius:20px}.browse-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.browse-heading h2{font-size:22px;margin:0}.browse-heading button{min-width:44px;min-height:44px}
#directory-controls{display:flex;gap:10px;margin-top:18px}#directory-controls input,#directory-controls select{min-width:0;width:50%;font-size:16px;padding:12px;border-radius:12px}#browse-results.contact-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.directory-person{display:flex;gap:12px;align-items:center;text-align:start;min-width:0;padding:12px}.directory-avatar{width:48px;height:48px;border-radius:50%;overflow:hidden;flex-shrink:0;display:grid;place-items:center}.directory-avatar img{width:100%;height:100%;object-fit:cover}.directory-person strong,.directory-person small{display:block;overflow-wrap:anywhere}.directory-person small{font-weight:400;opacity:.7;margin-top:5px}
#archive-dates{display:flex;gap:8px;overflow-x:auto;padding:14px 0;scrollbar-width:thin}#archive-dates button{flex-shrink:0;min-height:44px}#archive-dates [aria-pressed=true]{background:#178451;color:white}#browse-results.archive-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.browse-tile{position:relative;aspect-ratio:3/4;overflow:hidden;padding:0;background:#203e33;color:white}.browse-tile img{width:100%;height:100%;object-fit:cover}.browse-tile-body{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;padding:12px;font-size:16px}.browse-tile-label{position:absolute;bottom:0;inset-inline:0;background:#000b;padding:8px;font-size:12px;overflow-wrap:anywhere}
#volume-panel{position:absolute;z-index:50;top:74px;left:12px;width:min(310px,calc(100% - 24px));padding:12px;box-sizing:border-box;background:#17251ff5;color:white;border:1px solid #567163;border-radius:14px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}#volume-panel[hidden]{display:none}#story-volume{width:100%;order:4;accent-color:#65d294;direction:ltr;min-height:36px}#volume-value{margin-inline-start:auto}#close-volume{min-width:36px;min-height:36px}#volume-help{order:5}#mute-story{touch-action:none;-webkit-touch-callout:none;user-select:none}
@media(max-width:600px){#browse-results.contact-results{grid-template-columns:1fr}#browse-dialog{padding:12px}#directory-controls{flex-direction:column}#directory-controls input,#directory-controls select{width:100%;box-sizing:border-box}#browse-results.archive-results{grid-template-columns:repeat(2,minmax(0,1fr))}.browse-nav button{font-size:14px;padding:10px 6px}.browse-nav{gap:6px}.profile-actions{flex-wrap:wrap}.profile-actions>*{min-width:0}#creator-profile{box-sizing:border-box;max-width:calc(100vw - 16px)}input,textarea,select{font-size:16px}body{overflow-x:clip}}
.browse-nav button,.directory-person,#archive-dates button{background:var(--panel,#20382c);border:1px solid var(--line,#48634f);color:var(--text,#edf4ee);border-radius:12px}#directory-controls input,#directory-controls select{background:var(--panel,#20382c);color:var(--text,#edf4ee);border:1px solid var(--line,#48634f)}
@media(max-width:760px){
 header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);height:auto;gap:6px;max-width:100%;box-sizing:border-box}
 header .brand{min-width:0}header .brand-wordmark{font-size:clamp(16px,4.5vw,24px)}header .status-logo{width:32px;height:32px;flex-shrink:0}
 header .display-controls{min-width:0;max-width:100%;gap:2px;margin:0;justify-content:flex-end}html header .display-controls button{padding-inline:3px;font-size:9px}
 #open-saved-statuses,#install-app{min-width:0;width:100%;box-sizing:border-box;min-height:36px;margin:0;padding:6px}
 #install-app{font-size:11px}
 .categories{flex-wrap:wrap;overflow:visible;gap:6px}.categories button{flex:0 1 auto}
 .favorites-list .creator{flex-basis:68px}.favorites-list .creator-last-status{white-space:nowrap}.favorites-list .portrait{width:44px;height:44px;margin:auto}
 .search input{font-size:16px!important}
}
@media(max-width:480px){.creators{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 10px}.creator-name{font-size:12px}.creator-last-status{font-size:10px}.profile-header{padding:20px 12px}.profile-avatar{width:84px;height:84px}.profile-header h2{font-size:23px}.profile-actions button,.profile-actions a{font-size:13px;padding:10px}}
.member-entry{display:block;margin:10px 0 0 auto;min-height:40px}
footer .site-heading{font-size:18px;margin:8px 0}footer p{font-size:13px;line-height:1.7;max-width:620px;margin:0 auto 12px}
/* Saved statuses are a normal full-page feed, not a modal overlay. */
#home-page[hidden],#saved-statuses[hidden]{display:none!important}
header .member-entry{margin:0;min-height:36px;white-space:nowrap}
#saved-statuses{position:static;display:block;box-sizing:border-box;width:min(720px,100%);max-width:none;max-height:none;height:auto;overflow:visible;margin:0 auto;padding:20px 16px;border:0;border-radius:0;background:transparent;color:var(--text);box-shadow:none}
#saved-statuses .full-status-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}#saved-statuses .full-status-heading h2{font-size:24px}
#saved-list{display:flex;flex-direction:column;gap:24px}.saved-reel{overflow:hidden;border:1px solid var(--line,#45604e);border-radius:18px;background:var(--panel,#20382c)}.saved-reel-header{padding:12px}.saved-reel-profile{display:flex;gap:12px;align-items:center;background:transparent;color:inherit;padding:0;text-align:start;max-width:100%}.saved-reel-profile:disabled{opacity:1;cursor:default}.saved-reel-avatar{width:48px;height:48px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;overflow:hidden;background:#385a49}.saved-reel-avatar img{width:100%;height:100%;object-fit:cover}.saved-reel-identity{display:grid;gap:5px;min-width:0}.saved-reel-identity strong{overflow-wrap:anywhere}.saved-reel-identity time{font-size:12px;opacity:.75}.saved-reel-content{background:#080d0b;color:#fff}.saved-reel-content img,.saved-reel-content video{display:block;width:100%;max-height:78dvh;object-fit:contain}.saved-reel-content audio{display:block;width:calc(100% - 24px);margin:12px}.saved-reel-text{padding:16px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.saved-reel .saved-remove{margin:10px 12px;min-height:40px}
.browse-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.browse-nav button{min-width:0;flex-wrap:wrap}.browse-nav button span{font-size:24px}
@media(max-width:760px){header .member-entry{width:100%;font-size:11px}.browse-nav button{font-size:12px;gap:4px}#saved-statuses{padding:14px 8px}.saved-reel{border-radius:12px}}

/* Visible category filters and saved creator circles. */
#directory-controls{display:flex;flex-direction:column;width:100%;box-sizing:border-box}
#directory-controls input{width:100%;box-sizing:border-box;min-height:46px;font-size:16px}
.category-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}
.category-buttons button{min-width:0;min-height:44px;padding:9px 6px;white-space:normal;overflow-wrap:anywhere;font-size:14px;line-height:1.3;border-radius:12px}
.category-buttons button[aria-pressed="true"]{background:var(--accent,#168359);color:#fff}
#saved-list.saved-circles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 12px;margin-top:24px}
.saved-creator-circle{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;border:0;background:transparent;padding:6px;color:var(--text);text-align:center}
.saved-circle-avatar{width:88px;height:88px;box-sizing:border-box;border:3px solid #36bb89;border-radius:50%;padding:3px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--panel,#17352a);font-size:26px}
.saved-circle-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.saved-creator-circle strong{overflow-wrap:anywhere;font-size:15px}.saved-creator-circle small{font-size:12px;color:var(--muted)}
.saved-empty{grid-column:1/-1}.saved-back{margin:12px 0}.saved-selected-feed{width:100%}
@media(max-width:480px){#saved-list.saved-circles{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 6px}.saved-circle-avatar{width:76px;height:76px}.category-buttons{gap:6px}.category-buttons button{font-size:12px;padding:8px 3px}}

.directory-person-copy{flex:1;min-width:0}.directory-status-count{flex-shrink:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:48px;padding:7px 5px;border-radius:10px;background:var(--bg,#102019);font-size:11px;line-height:1.2}.directory-status-count b{font-size:18px;font-variant-numeric:tabular-nums}.directory-status-count span{opacity:.75}
@media(max-width:380px){.directory-person{gap:8px;padding:10px}.directory-status-count{min-width:42px;padding:6px 3px}}

#saved-statuses button{font-family:inherit;cursor:pointer;box-sizing:border-box;border:1px solid var(--line,#385748);border-radius:12px;background:var(--panel,#20382c);color:var(--text,#edf4ee);font-size:14px;line-height:1.4;padding:10px 14px;transition:background .15s}
#saved-statuses button:hover{background:var(--bg,#15271f)}
#saved-statuses button:focus-visible{outline:2px solid #70d5a2;outline-offset:3px}
#saved-statuses .full-status-heading{position:static;background:transparent;padding:0 0 16px;border-bottom:1px solid var(--line,#385748)}
#saved-statuses .full-status-heading h2{margin:0;font-size:24px}
#saved-statuses .saved-note{font-size:13px;font-weight:400;max-width:60ch;margin:16px 0 20px}
#saved-statuses .saved-reel-profile{border:0;background:transparent;padding:0;box-shadow:none}
#saved-statuses .saved-creator-circle{border:0;background:transparent;padding:6px}
#saved-statuses .category-buttons button[aria-pressed="true"]{background:#187a52;color:#fff}
#saved-statuses .saved-remove{font-size:12px;padding:8px 12px;background:transparent;min-height:36px}
.saved-reel-header{padding:16px}.saved-reel-identity strong{font-size:16px}.saved-reel-identity time{font-size:12px;font-weight:400}
.saved-reel-content [hidden]{display:none!important}.saved-media-error{padding:28px 20px;margin:0;color:#bdcfc5;font-size:14px;line-height:1.7;text-align:center}.saved-reel-text{font-size:16px;font-weight:400}

.legal-links{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;padding:24px 16px;font-size:14px}.legal-links a,.legal-page a,.member-legal a{color:inherit;text-decoration:underline;text-underline-offset:4px}.legal-page{box-sizing:border-box;width:min(800px,100%);margin:0 auto;padding:32px 20px;line-height:1.85}.legal-page h1{font-size:30px;line-height:1.3}.legal-page h2{font-size:21px;margin:32px 0 8px}.legal-page p{margin:8px 0;font-size:16px}.legal-brand{display:flex;align-items:center;gap:12px;font-size:22px;font-weight:700;text-decoration:none!important}.legal-brand img{width:48px;height:48px;border-radius:12px}.legal-date{opacity:.7}.member-legal{font-size:13px;line-height:1.7}

html header .theme-toggle{width:42px;height:42px;padding:9px;display:grid;place-items:center;border:1px solid var(--line,#c5d3ca);border-radius:50%;background:var(--panel,#edf3ef);cursor:pointer;flex-shrink:0}
.half-tone{display:block;width:22px;height:22px;border-radius:50%;border:1px solid #75857b;background:linear-gradient(90deg,#17221c 50%,#fff 50%)}
html header .display-controls #theme-options{position:fixed;margin:0;width:280px;box-sizing:border-box;padding:7px;border:1px solid var(--line,#b6c9bb);border-radius:16px;background:var(--panel,#edf3ef);box-shadow:0 8px 32px #0003;gap:4px}
#theme-options:not(:popover-open){display:none!important}html header #theme-options:popover-open{display:flex}
html header #theme-options button{flex:1;padding:10px 5px;border-radius:10px;font-size:13px;min-height:44px}
html header #theme-options [data-theme-label]{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
.accessibility-toggle{position:fixed;bottom:calc(16px + env(safe-area-inset-bottom));left:16px;z-index:30;width:48px;height:48px;display:grid;place-items:center;border-radius:50%;border:2px solid #fff;background:#175e45;color:white;box-shadow:0 3px 15px #0004;cursor:pointer}
.accessibility-toggle svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.accessibility-toggle svg circle{fill:currentColor;stroke:none}
#accessibility-panel{position:fixed;inset:auto auto calc(76px + env(safe-area-inset-bottom)) 12px;margin:0;box-sizing:border-box;width:min(320px,calc(100vw - 24px));max-height:calc(100dvh - 100px);overflow:auto;padding:16px;background:var(--panel,#edf3ef);color:var(--text,#183c2b);border:1px solid var(--line,#b6c9bb);border-radius:18px;box-shadow:0 8px 36px #0004}
#accessibility-panel .accessibility-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}#accessibility-panel h2{font-size:19px;margin:0 0 12px}#accessibility-panel button{font:inherit;min-height:44px;padding:9px 12px;border:1px solid var(--line,#b6c9bb);background:transparent;color:inherit;border-radius:10px;cursor:pointer}#accessibility-panel>button{display:block;width:100%;margin:6px 0;text-align:start}#accessibility-panel button[aria-pressed=true]{background:#175e45;color:#fff}#accessibility-panel p{font-size:13px;line-height:1.7}#accessibility-panel a{color:inherit;text-decoration:underline}
:focus-visible{outline:3px solid #3694ef;outline-offset:3px}
html.a11y-text :is(p,button,input,textarea,select,li,a,strong,small){font-size: max(1.125rem,1em)!important;line-height:1.6!important}
html.a11y-links a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:4px}
html.a11y-contrast{--text:#fff;--muted:#fff;--panel:#000;--bg:#000;--line:#fff;background:#000!important;color:#fff!important}html.a11y-contrast :is(header,main,section,dialog,footer,button,input,select,textarea){background-color:#000!important;color:#fff!important;border-color:#fff!important}
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

html header .display-controls #theme-options{inset:auto;right:auto;bottom:auto;max-width:calc(100vw - 16px);height:auto;min-height:0;transform:none}

#browse-results.archive-creator-results{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 12px;padding:12px 0}.archive-creator-circle{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:6px;border:0;background:transparent;color:inherit;text-align:center;font:inherit}.archive-creator-circle strong{font-size:15px;overflow-wrap:anywhere}.archive-creator-circle small{font-size:12px;color:var(--muted)}@media(max-width:600px){#browse-results.archive-creator-results{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 6px}}

@media(max-width:760px){
 html header{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand login" "controls controls" "install install";gap:8px 12px;padding:12px 16px;height:auto;direction:rtl}
 html header .brand{grid-area:brand;justify-self:start;min-width:0}
 html header #menu-toggle{grid-area:login;justify-self:end;width:auto;min-height:38px;padding:8px 12px;font-size:12px;margin:0}
 html header .display-controls{grid-area:controls;justify-self:end;display:flex;justify-content:flex-end;width:auto;gap:8px}
 html header #install-app{grid-area:install;justify-self:stretch;display:block;width:100%;max-width:none;margin:2px 0 0;min-height:46px;padding:12px 8px;font-size:14px;white-space:normal;line-height:1.4;border-radius:14px}
 html header #demo-toggle{grid-column:1/-1}
}
@media(max-width:760px){
 html header{grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand controls login" "install install install";gap:8px 6px;padding:10px 10px}
 html header .brand{gap:4px}html header .brand-wordmark{font-size:clamp(13px,3.5vw,20px)}html header .status-logo{width:26px;height:26px}
 html header .display-controls{gap:3px;flex-wrap:nowrap;justify-self:center}
 html header .display-controls .language-switch{display:flex;flex-wrap:nowrap}
 html header .display-controls .language-switch button{font-size:10px;padding:7px 3px;min-width:0}
 html header .theme-toggle{width:30px;height:36px;padding:4px}
 html header .half-tone{width:21px;height:21px}
 html header #menu-toggle{font-size:10px;padding:7px 8px;min-height:36px}
}
@media(max-width:350px){html header{gap:8px 3px;padding-inline:8px}html header .brand-wordmark{font-size:12px}html header .status-logo{width:22px;height:22px}html header #menu-toggle{font-size:9px;padding-inline:6px}html header .display-controls .language-switch button{font-size:9px;padding-inline:2px}}

/* Keep footer copy readable without squeezing the brand into narrow columns. */
.site-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 24px;text-align:center;padding:28px 0}
.site-footer .site-heading{flex:0 0 100%;margin:0;font-size:20px;line-height:1.4;letter-spacing:0}
.site-footer p{flex:0 0 100%;margin:0;font-size:18px;line-height:1.5}
.site-footer>strong,.site-footer>span{white-space:nowrap}.auth-divider{text-align:center;border-top:1px solid #789184;padding-top:16px}.locked-story-preview{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(140deg,#466655,#102d25);font-size:48px;filter:blur(18px);overflow:hidden}.locked-story-preview img{width:100%;height:100%;object-fit:cover;opacity:.45}.membership-locked>*{pointer-events:none}.membership-locked #close-story{pointer-events:auto}

.member-check-error{position:relative;z-index:6;max-width:360px;margin:auto;text-align:center;padding:24px}.member-check-error button{display:block;width:100%;margin:12px 0;padding:14px;border:0;border-radius:12px;background:#78d5a4;color:#103b2b;font-size:16px}.member-check-error small{display:block;font-size:12px;opacity:.7}
@media(max-width:380px){}
@media(min-width:761px){
 html header{display:flex;flex-wrap:nowrap;direction:rtl;gap:16px}
 html header .brand{margin:0;margin-left:auto;flex-shrink:0}
 html header .display-controls{display:flex;flex-wrap:nowrap;flex:0 0 auto;width:auto;margin:0;gap:12px}
 html header #menu-toggle{flex:0 0 auto;width:auto;margin:0;min-height:40px}
 html header #install-app{display:none!important}
}.account-action{width:100%;min-height:46px;padding:12px;border:1px solid #78918466;border-radius:12px;background:var(--panel,#20382c);color:inherit;font-size:16px}#account-library{width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 32px);overflow:auto;padding:22px;border:1px solid #78918466;border-radius:22px;background:var(--panel,#20382c);color:inherit}#account-library-note{font-size:13px;line-height:1.6;opacity:.75}#account-library-list{display:grid;gap:12px;margin-top:18px}.account-library-row{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #78918444;border-radius:14px}.account-library-main{display:flex;align-items:center;gap:12px;flex:1;min-width:0;text-align:start;background:none;border:0;color:inherit}.account-library-avatar{width:44px;height:44px;border-radius:50%;overflow:hidden;display:grid;place-items:center;flex-shrink:0}.account-library-avatar img{width:100%;height:100%;object-fit:cover}.account-remove{padding:9px 12px;background:transparent;color:inherit;border:1px solid #78918488;border-radius:10px}.history-entry{display:grid;gap:8px;text-align:start;border:1px solid #78918444;border-radius:14px;padding:16px;background:var(--panel,#20382c);color:inherit}.history-entry:disabled{opacity:.65;cursor:default}.history-entry small{font-size:12px;opacity:.75}.history-excerpt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.account-empty{text-align:center;padding:24px}

html body main footer.site-footer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:28px 16px;text-align:center}html body main footer.site-footer .site-heading{flex:none;margin:0;font-size:18px;line-height:1.5;letter-spacing:0}html body main footer.site-footer p{flex:none;margin:0;max-width:none;font-size:15px;line-height:1.5;text-align:center}
@media(min-width:1000px){
 html .directory{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);column-gap:24px;direction:rtl;align-items:center}
 html .directory>.search-row{grid-column:1;grid-row:1;margin:0 0 20px;width:100%}
 html .directory>.search-row .search{width:100%;min-width:0}
 html .directory>#categories{grid-column:2;grid-row:1;display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;margin:0 0 20px;padding:0;border:0}
 html .directory>#instruments,html .directory>.notice,html .directory>.creators,html .directory>.empty{grid-column:1/-1}
}

#account-library.history-gallery{width:min(1040px,calc(100vw - 20px));padding:20px 12px}.history-gallery #account-library-list{grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}.history-gallery .history-entry{position:relative;display:block;min-width:0;padding:0;border:0;border-radius:0;overflow:hidden;background:#12261e;aspect-ratio:3/4;color:white}.history-preview{position:absolute;inset:0;display:grid;place-items:center;background:#203c30;overflow:hidden}.history-preview img{width:100%;height:100%;object-fit:cover}.history-preview-text{font-size:15px;line-height:1.5;text-align:center;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100%;overflow:hidden}.history-caption{position:absolute;bottom:0;left:0;right:0;display:grid;gap:4px;padding:26px 8px 8px;background:linear-gradient(transparent,#000c);text-align:right}.history-caption strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-caption small{font-size:10px;line-height:1.4;opacity:.85}.history-play{position:absolute;top:8px;left:8px;font-size:16px;text-shadow:0 1px 4px #000}.history-gallery .history-unavailable{position:absolute;top:8px;right:6px;background:#000a;padding:4px;border-radius:5px}.history-gallery .account-empty{grid-column:1/-1}@media(max-width:760px){.history-gallery #account-library-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}#account-library.history-gallery{padding:16px 6px}.history-caption strong{font-size:11px}.history-caption small{font-size:9px}.history-preview-text{font-size:12px;padding:8px}}
/* Filtering changes results, not the surrounding layout. */
html{scrollbar-gutter:stable}
html .directory{align-content:start;align-items:start;overflow-anchor:none}
html #creators{align-content:start;min-height:50vh}
html #categories button,html #instruments button,.category-buttons button{font-weight:600;transition:background-color .15s,color .15s;border-width:1px}
html #categories button.active,html #instruments button.active,.category-buttons button[aria-pressed=true]{font-weight:600;border-width:1px;transform:none}
#browse-dialog{height:min(760px,calc(100dvh - 24px));scrollbar-gutter:stable;overflow-anchor:none}
#browse-results{align-content:start}

#account-admin{display:block;text-align:center;text-decoration:none;border:1px solid #78d5a4;border-radius:12px;padding:13px;background:#78d5a4;color:#103b2b;font-size:16px;font-weight:600}#account-admin[hidden]{display:none}

/* Consistent favorites heading and circular thumbnails across screen sizes. */
.favorites-section{display:block;padding:14px 16px 10px;margin-top:14px;border-radius:18px;overflow:hidden}
.favorites-section[hidden]{display:none}
.favorites-section .favorites-title{margin:0 0 8px;font-size:12px;line-height:1.5;font-weight:600;color:var(--muted);text-align:start}
.favorites-section .favorites-list{display:flex;gap:14px;padding:4px 2px 8px;align-items:flex-start;scrollbar-width:thin}
.favorites-section .favorites-list .creator{flex:0 0 76px;min-width:0;padding:0;background:transparent}
.favorites-section .favorites-list .portrait{width:64px;height:64px;box-sizing:border-box;padding:3px;margin:0 auto;border-radius:50%;aspect-ratio:1}
.favorites-section .favorites-list .portrait-inner{width:100%;height:100%;border-radius:50%;overflow:hidden;font-size:20px}
.favorites-section .favorites-list .creator-name{font-size:11px;line-height:1.4;margin:6px 0 0;white-space:normal;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-height:31px}
.favorites-section .favorites-list .creator-last-status{display:none}
@media(max-width:760px){.favorites-section{padding:10px 12px 6px;margin-top:10px}.favorites-section .favorites-list{gap:10px}.favorites-section .favorites-list .creator{flex-basis:68px}.favorites-section .favorites-list .portrait{width:58px;height:58px}}

#story-viewer #volume-panel{z-index:1000;pointer-events:auto;isolation:isolate;touch-action:auto;box-shadow:0 10px 40px #0008}
#story-volume{position:relative;z-index:1;pointer-events:auto;touch-action:none;cursor:pointer}
#hidden-creators-dialog{width:min(480px,calc(100% - 24px));max-height:80dvh;overflow:auto;border-radius:20px;padding:22px;background:var(--surface,#203328);color:var(--text,#e6eee8);border:1px solid #567163}
.hidden-creator-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #567163}
#hide-creator{flex-shrink:0}

#category-status-count{grid-column:1/-1;margin:0;padding:4px 2px 10px;color:var(--muted);font-size:13px;line-height:1.5;text-align:start}

.creator .creator-status-button,.creator .creator-profile-button{display:block;width:100%;padding:0;background:transparent;border:0;border-radius:0;color:inherit;font-family:inherit;cursor:pointer;box-shadow:none}
.creator .creator-profile-button:hover{text-decoration:underline;text-underline-offset:3px}
.creator .creator-status-button:focus-visible,.creator .creator-profile-button:focus-visible{outline:2px solid #65d294;outline-offset:4px;border-radius:6px}

.ui-icon{display:inline-block;width:20px;height:20px;vertical-align:middle;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#creator-profile .profile-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch;width:100%;margin-top:20px}
#creator-profile .profile-actions button,#creator-profile .profile-actions a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:0;min-height:48px;margin:0;padding:10px 6px;font-size:13px;line-height:1.35;text-align:center;text-decoration:none;border-radius:12px;white-space:normal}
.profile-tile-type,.history-play{display:grid;place-items:center;background:#0006!important;color:white;border-radius:50%!important;width:28px;height:28px;padding:0!important;pointer-events:none}
.profile-tile-type .ui-icon,.history-play .ui-icon{width:18px;height:18px}
@media(max-width:380px){#creator-profile .profile-actions{gap:5px}#creator-profile .profile-actions button,#creator-profile .profile-actions a{font-size:12px;padding:8px 4px}}
/* Portrait is nested in a dedicated button, so it must retain a block box. */
.creator .creator-status-button{display:flex;align-items:center;justify-content:center;position:relative;line-height:0;flex:none}
.creator .creator-status-button .portrait{display:block;flex:none;height:auto;aspect-ratio:1 / 1;margin-inline:auto}
.creator .creator-profile-button{position:relative;z-index:1;line-height:1.4}

#creators .creator-category{display:block;width:100%;text-align:center;align-self:center;margin-inline:auto}
#creators.category-filtered .creator-category{display:none}

/* Close/back controls stay clean when a dialog receives focus on touch devices. */
button:is([id^="close-"],[data-close],.icon-button,.install-close,#previous-story,#next-story,#previous-creator,#next-creator,.saved-back):focus{
 outline:none!important;box-shadow:none!important;
}
button:is([id^="close-"],[data-close],.icon-button,.install-close,#previous-story,#next-story,#previous-creator,#next-creator,.saved-back):focus-visible{
 filter:brightness(1.18);
}

#menu-toggle{display:grid;place-items:center;min-width:44px;min-height:44px;padding:9px!important}
#menu-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
#site-menu{position:fixed;inset:auto;margin:0;padding:8px;border:1px solid var(--line,#466350);border-radius:18px;background:var(--panel,#182c21);color:var(--text,#edf5ee);box-shadow:0 12px 40px #0004;max-height:75dvh;overflow:auto}
#site-menu>button,#site-menu>a,#site-menu summary{display:block;box-sizing:border-box;width:100%;text-align:start;padding:14px 16px;border:0;border-radius:10px;background:transparent;color:inherit;text-decoration:none;font:inherit;font-size:16px;cursor:pointer}
#site-menu>button:hover,#site-menu>a:hover,#site-menu summary:hover{background:#7acf9d20}
#site-menu #theme-options{display:flex!important;position:static!important;inset:auto!important;width:100%!important;margin:0!important;box-shadow:none!important;background:transparent!important;border:0!important;padding:4px!important;gap:4px}
#site-menu #theme-options button{min-width:0;flex:1;padding:10px 4px;font-size:13px}
#join-dialog{box-sizing:border-box;width:min(92vw,480px);max-height:90dvh;overflow:auto;padding:24px;border-radius:22px}
#join-dialog h2{font-size:22px;margin:0}#join-dialog p{line-height:1.6;font-size:14px}
#join-form{display:grid;gap:10px}
#join-form>input,#join-form>select{box-sizing:border-box;width:100%;min-height:46px;font:inherit;font-size:16px;padding:10px 12px;border:1px solid #749181;border-radius:10px;background:transparent;color:inherit}
#join-form>button{min-height:46px;padding:12px;border-radius:12px}
#join-save-contact{margin-top:10px}#join-submit{background:#77d59e;color:#102c1c;font-weight:700}
#join-form .join-check{display:flex;align-items:flex-start;gap:10px;line-height:1.5;font-size:14px}
#join-form .join-check input{width:20px;height:20px;flex:none;margin:2px 0}

/* Temporarily hide instrument subfilters; keep the main musicians category. */
#instruments{display:none!important}

#join-save-contact{display:block;box-sizing:border-box;text-align:center;min-height:46px;padding:12px;border:1px solid #749181;border-radius:12px;background:#77d59e;color:#102c1c;font:inherit;font-weight:700;text-decoration:none}

#creator-email{display:inline-flex;align-items:center;justify-content:center;gap:8px;margin-top:14px;min-height:44px;padding:10px 16px;border-radius:14px}
#creator-email[aria-pressed="true"]{background:#77d59e;color:#102c1c}
#email-dialog{box-sizing:border-box;width:min(92vw,540px);max-height:88dvh;overflow:auto;padding:24px;border-radius:22px}
#email-dialog h2{font-size:22px}#email-dialog p{line-height:1.6}
.email-subscription{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid #749181}
.email-subscription span{overflow-wrap:anywhere}.email-subscription button{flex-shrink:0;min-height:44px}
#email-disable-all{margin-top:18px;min-height:44px;width:100%}

#save-contact-dialog{box-sizing:border-box;width:min(92vw,440px);max-height:88dvh;overflow:auto;padding:24px;border-radius:22px;text-align:center}
#save-contact-dialog h2{font-size:22px}#save-contact-dialog p{line-height:1.6}
#save-contact-dialog .contact-card-name{font-size:22px;font-weight:700;margin-bottom:4px}
#save-contact-dialog .contact-card-number{font-size:24px;user-select:text;margin-top:0}
#save-contact-dialog>button,#contact-card-download{display:block;box-sizing:border-box;width:100%;padding:12px;min-height:46px;border-radius:12px;margin:12px 0;font:inherit;text-decoration:none}
#contact-card-download{background:#77d59e;color:#102c1c;font-weight:700}
#save-contact-dialog details{text-align:start;font-size:14px;line-height:1.6}#save-contact-dialog summary{cursor:pointer;padding:10px 0}
#save-contact-result{font-size:14px}#return-to-join{background:transparent;border:1px solid #749181;color:inherit}

/* Keep iOS native start controls out of the custom status viewer. */
#story-content video::-webkit-media-controls-start-playback-button,
#story-content video::-webkit-media-controls-overlay-play-button,
#story-content video::-webkit-media-controls-panel,
#story-content video::-webkit-media-controls-play-button {
 display:none!important; -webkit-appearance:none; opacity:0!important;
}
#story-content video{pointer-events:none}
@media(prefers-reduced-motion:no-preference){
 .portrait,.quiet,.categories button{transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}
 .portrait:active,.quiet:active,.categories button:active{transform:scale(.96)}
 dialog[open]:not(#story-viewer){animation:dialog-appear .2s ease-out}
 @keyframes dialog-appear{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
}

/* Compact text navigation and a readable mobile wordmark. */
html header .display-controls #language-en{font-size:12px!important}
html header #language-en::after{content:none!important}
html .browse-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html .browse-nav button{min-width:0;min-height:48px;height:auto;padding:12px 6px;font-size:14px;line-height:1.35;border-radius:14px;border-width:1px;text-align:center;display:flex;align-items:center;justify-content:center}
html .browse-nav button svg,html .browse-nav button>span[aria-hidden]{display:none}
html header .brand-wordmark{font-size:36px}
html header .status-logo{width:54px;height:54px}
@media(max-width:760px){
 html header{grid-template-columns:minmax(0,1fr) auto auto;gap:6px;padding:12px 10px}
 html header .brand{gap:3px}
 html header .brand-wordmark{font-size:clamp(19px,5.2vw,30px);letter-spacing:-1px}
 html header .status-logo{width:36px;height:36px}
 html header .display-controls .language-switch button{padding:6px 3px;font-size:11px!important}
 html header .display-controls #language-en{font-size:11px!important}
 html header #menu-toggle{width:38px;height:38px;min-height:38px;padding:8px}
 html .browse-nav button{min-height:46px;padding:10px 4px;font-size:clamp(11px,3.1vw,14px)}
}
html[dir=ltr] .directory,html[dir=ltr] header{direction:ltr}
html[dir=ltr] .history-caption{text-align:left}
/* Edge-to-edge video with quiet controls over the media. */
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #story-stage{grid-row:3 / 6;grid-column:1;border-radius:0}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #story-content{position:relative;height:100%;overflow:hidden;display:block}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #story-content>video{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) .story-bottom{grid-row:4;grid-column:1;z-index:6;background:transparent;margin:0;padding:8px 16px;opacity:.55;transition:opacity .18s ease}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #reply-form{grid-row:5;grid-column:1;z-index:6;background:linear-gradient(transparent,#0007);padding:0 14px max(10px,env(safe-area-inset-bottom));opacity:.55;transition:opacity .18s ease}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) #reply-form .reply-compose{background:#10221c66;backdrop-filter:blur(5px);border-color:#ffffff66}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-bottom:is(:focus-within,:active),#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) #reply-form:is(:focus-within,:active){opacity:1!important}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:has(#reply-form:focus-within)>.story-bottom{opacity:1!important}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #story-content>p.status-caption{position:absolute;inset:auto 14px 122px;max-height:72px;margin:0;padding:4px 8px;color:white;text-shadow:0 1px 5px #000;background:linear-gradient(transparent,#0004)}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #story-content .read-more{position:absolute;bottom:94px;inset-inline-start:14px;margin:0}
#story-stage .story-side{background:transparent!important}
#story-stage .story-side>span{opacity:.38;background:#0002!important;border-radius:50%;text-shadow:0 1px 3px #000;transition:opacity .18s}
#story-stage .story-side:is(:active,:focus-visible)>span{opacity:.9}
@media(hover:hover){#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-bottom:hover,#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) #reply-form:hover{opacity:1}}

#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #story-stage{grid-row:1 / 6}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden])))>.story-top{z-index:7;background:linear-gradient(#0008,transparent);text-shadow:0 1px 4px #000}
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-progress{z-index:8;position:relative}
.double-tap-heart{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:100px;color:white;filter:drop-shadow(0 3px 12px #0007);z-index:12;pointer-events:none;animation:heart-pop .65s ease-out forwards}
@keyframes heart-pop{0%{opacity:0;scale:.5}25%{opacity:1;scale:1.15}65%{opacity:1;scale:1}100%{opacity:0;scale:1.25}}

/* Expand long captions inline, above the reply overlay. */
#story-viewer.visual-story #story-content>p.status-caption.caption-expanded{
 display:block!important;-webkit-line-clamp:unset!important;
 position:absolute!important;inset:auto 10px 126px!important;
 width:calc(100% - 20px);max-height:45%!important;
 margin:0!important;padding:14px 16px!important;
 overflow:auto!important;white-space:pre-wrap;
 background:#07150fe8!important;border-radius:14px;
 color:white!important;font-size:16px;line-height:1.7;
 text-align:start;pointer-events:auto!important;
 user-select:text;-webkit-user-select:text;touch-action:pan-y;
 overscroll-behavior:contain;z-index:5;
}
/* Floating story header without a rectangular panel or icon tiles. */
#story-viewer .story-top,
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden])))>.story-top{
 background:transparent!important;border:0!important;box-shadow:none!important;
}
#story-viewer .story-top button:not(#story-follow){
 background:transparent!important;border:0!important;box-shadow:none!important;
}
#story-viewer .story-top button svg{filter:drop-shadow(0 1px 3px #0008)}
#story-viewer .story-identity{text-shadow:0 1px 4px #000a}

/* Landscape footage stays uncropped over a soft backdrop from its own frames. */
#story-viewer.visual-story:has(#story-content>video,#story-content>img.portrait-image) #story-content>video.landscape-video{object-fit:contain!important;z-index:1}
#story-content>.landscape-backdrop{position:absolute;inset:-5%;width:110%;height:110%;object-fit:cover;filter:blur(24px) brightness(1.12);opacity:.55;pointer-events:none;z-index:0}
#story-content>.landscape-backdrop[hidden]{display:none}
#story-content:has(>video.landscape-video){background:#c8cec6}
#story-content:has(>video.landscape-video)>.status-caption,#story-content:has(>video.landscape-video)>.read-more{z-index:3}

#story-viewer.visual-story:has(#story-content>img.portrait-image) .story-shell:not(:has(#comments-panel:not([hidden]))) #story-content>img.portrait-image{
 position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;object-position:center;
}

.business-ad{position:absolute;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;background:#03150e;overflow:hidden;touch-action:none}
.business-ad>img{width:100%;height:100%;object-fit:contain}
.business-ad-link{position:absolute;bottom:17%;left:10%;width:80%;height:10%;display:flex;align-items:center;justify-content:center;background:#83dfad;color:#092c1e;font-weight:800;font-size:clamp(17px,4vw,26px);border-radius:40px;text-decoration:none}
.business-ad-skip{position:absolute;top:max(18px,env(safe-area-inset-top));left:14px;padding:10px 16px;background:#071e15bb;color:white;border:1px solid #ffffff55;border-radius:24px;cursor:pointer}
.business-ad-progress{position:absolute;top:4px;left:0;height:3px;width:100%;background:#88e4b2;transform-origin:left;animation:business-ad-time 10s linear forwards}
@keyframes business-ad-time{to{transform:scaleX(0)}}

#story-content .double-tap-heart{width:150px;height:140px;font-size:0;color:#59e99c;z-index:15;filter:drop-shadow(0 0 22px #38dd8b88);animation:green-heart-pop .95s ease-out forwards}
.double-tap-heart svg{width:100%;height:100%;fill:currentColor;stroke:#adffd1;stroke-width:.5}
@keyframes green-heart-pop{0%{opacity:0;scale:.35}20%{opacity:1;scale:1.25}38%{opacity:.55;scale:.95}56%{opacity:1;scale:1.15}75%{opacity:1;scale:1}100%{opacity:0;scale:1.3}}

#story-viewer.business-ad-story #story-content{position:relative;display:block;height:100%;background:#03150e}
#story-viewer.business-ad-story #story-content>.business-ad-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;max-height:none;pointer-events:none}
#story-viewer.business-ad-story .ad-status-link{position:absolute;bottom:8px;left:10%;width:80%;z-index:5;pointer-events:auto;padding:12px;text-align:center;border-radius:24px;background:#83dfad;color:#092c1e;text-decoration:none;font-weight:700}
#story-viewer.business-ad-story .story-actions,#story-viewer.business-ad-story #mute-story,#story-viewer.business-ad-story .story-bottom,#story-viewer.business-ad-story #reply-form{visibility:hidden}
#story-viewer.business-ad-story #story-stage{grid-row:3 / 6}
#story-viewer.business-ad-story .story-top{background:transparent}

.ad-status-progress{transform-origin:right;animation:ad-native-progress 10s linear forwards}@keyframes ad-native-progress{from{transform:scaleX(0)}to{transform:scaleX(1)}}

#story-stage>.like-touch-zone{position:absolute;left:28%;top:28%;width:44%;height:36%;z-index:8;display:block;background:transparent;border:0;box-shadow:none;border-radius:0;padding:0;touch-action:manipulation;cursor:pointer}
#story-stage>.like-touch-zone:focus-visible{outline:2px solid #75dba2;outline-offset:-4px}
.business-ad-story .like-touch-zone,.membership-locked .like-touch-zone{display:none!important}
#story-content:has(.caption-expanded)~.like-touch-zone{pointer-events:none}

/* The artwork contains the single CTA; its accessible link overlays the image. */
#story-viewer.business-ad-story .ad-status-link{inset:0;width:100%;height:100%;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#story-viewer.business-ad-story .ad-status-link:focus-visible{outline:2px solid #83dfad;outline-offset:-6px}

/* Roomier centered captions; expansion control sits below, never on the text. */
#story-viewer.visual-story #story-content>p.status-caption:not(.caption-expanded){
 text-align:center!important;max-height:30vh!important;
 -webkit-line-clamp:6!important;line-height:1.6!important;
 padding:8px 12px!important;bottom:136px!important;
 background:linear-gradient(transparent,#0005)!important;
}
#story-viewer.visual-story #story-content>.read-more{bottom:106px!important;inset-inline-start:50%!important;transform:translateX(50%);margin:0!important;padding:4px 12px!important;font-size:13px!important;line-height:22px}
html[dir=ltr] #story-viewer.visual-story #story-content>.read-more{transform:translateX(-50%)}
#story-viewer.visual-story #story-content>p.status-caption.caption-expanded{text-align:center!important;bottom:142px!important;max-height:50%!important}
.story-progress progress{background:#ffffff40;border:0;border-radius:4px;overflow:hidden}
.story-progress progress::-webkit-progress-bar{background:#ffffff40;border-radius:4px}
.story-progress progress::-webkit-progress-value{background:#fff;border-radius:4px}
.story-progress progress::-moz-progress-bar{background:#fff;border-radius:4px}
.ad-status-progress{animation:none!important;transform:none!important}
#story-viewer.business-ad-story #story-content>.business-ad-design{height:100%;width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(10px,3vh,28px);padding:24px 24px 28px;background:radial-gradient(ellipse at 5% 0%,#42856788,transparent 45%),radial-gradient(ellipse at 95% 75%,#1c68494d,transparent 50%),#041c12;color:white;white-space:normal;text-align:center}
.business-ad-design .brand{pointer-events:none;justify-content:center;gap:8px}
.business-ad-design .brand-wordmark{font-size:clamp(23px,6vw,38px);color:#f4fff8}
.business-ad-design .status-logo{width:52px;height:52px}
.business-ad-design h2{display:flex;flex-direction:column;gap:4px;margin:10px 0 0;font-size:clamp(32px,8vw,58px);line-height:1.15;letter-spacing:-1px}
.business-ad-design h2 strong{color:#85e8af}
#story-content .business-ad-design>p{font-size:clamp(17px,4vw,25px);line-height:1.6;max-width:420px;padding:0;margin:0}
#story-content .ad-design-cta{pointer-events:auto;display:block;margin-top:clamp(16px,6vh,70px);width:min(100%,440px);padding:18px 12px;background:linear-gradient(135deg,#b2f4ca,#64d99b);color:#072517;font-size:clamp(18px,4vw,25px);font-weight:800;text-decoration:none;border-radius:36px}
.business-ad-design small{font-size:13px;color:#c1d5c9}

/* One unobstructed social row over the status. */
#story-viewer .story-interaction-row{display:flex;direction:rtl;align-items:center;gap:9px;width:100%;min-width:0}
#story-viewer .story-interaction-row>#story-like,#story-viewer .story-interaction-row>#show-comments{position:relative;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;min-width:40px;margin:0;padding:6px;border:0;border-radius:50%;background:#10221c66;color:#fff;box-shadow:none;overflow:visible}
#story-viewer .story-interaction-row>#story-like[aria-pressed=true]{color:#43db91}
#story-viewer #show-comments svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#story-viewer .story-count-badge{position:absolute;top:-3px;right:-3px;min-width:16px;height:16px;box-sizing:border-box;padding:0 4px;border-radius:10px;background:#43db91;color:#092418;font-size:10px;font-weight:700;line-height:16px;text-align:center;font-variant-numeric:tabular-nums}
#story-viewer .story-count-badge[hidden]{display:none}
#story-viewer #reply-form .reply-compose{flex:1 1 0;min-width:0;border:0!important;outline:0;box-shadow:none!important;border-radius:24px;background:#10221c66}
#story-viewer #reply-form,#story-viewer .story-bottom{border:0!important;box-shadow:none!important}
#story-viewer .story-bottom{min-height:0!important;height:0!important;padding:0!important;overflow:visible;pointer-events:none}
#story-viewer #story-position{display:none}
#story-viewer .story-interaction-row textarea{min-width:0;text-align:start}
@media(max-width:380px){#story-viewer .story-interaction-row{gap:5px}#story-viewer .story-interaction-row>#story-like,#story-viewer .story-interaction-row>#show-comments{flex-basis:36px;width:36px;min-width:36px}}

#public-username-form{display:flex;flex-direction:column;gap:10px;width:100%;text-align:center;margin:8px 0 16px}#public-username-form input{width:100%;box-sizing:border-box;text-align:center}#public-username-form small{font-size:12px;opacity:.75}#public-username-result:empty{display:none}

/* Concentric avatar image and segmented ring, independent of button line height. */
.creator .portrait{display:block;box-sizing:border-box;aspect-ratio:1 / 1;height:auto;padding:0!important;border:0!important;border-radius:50%;position:relative;flex-shrink:0;line-height:0}
.creator .portrait-inner{position:absolute;inset:7%;width:auto;height:auto;aspect-ratio:1;border-radius:50%;overflow:hidden;line-height:normal}
.creator .portrait-inner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border-radius:50%}
.creator .portrait .status-ring{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:1;overflow:hidden}
html,body{touch-action:pan-x pan-y}
button,a,input,textarea,select{touch-action:manipulation}
@media(max-width:760px){input,textarea,select{font-size:16px!important}}

#story-viewer #comments-panel{background:radial-gradient(ellipse at top,#19392c,#0d1c15);padding:12px 4px}
#comments-panel #comments-list{padding:16px 4px;display:flex;flex-direction:column;gap:14px}
#comments-panel .public-comment{display:flex;align-items:flex-end;gap:8px;border:0;padding:0;margin:0;flex-shrink:0}
#comments-panel .comment-bubble{flex:1;min-width:0;max-width:calc(100% - 48px);padding:12px 15px;background:#234638;border-radius:17px 4px 17px 17px;box-shadow:0 2px 8px #0002}
#comments-panel .comment-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}
#comments-panel .comment-meta strong{color:#83d8b0;font-size:13px;unicode-bidi:plaintext;overflow-wrap:anywhere;min-width:0}
#comments-panel .comment-meta time{flex-shrink:0;margin:0;font-size:10px;color:#b6c8bd;direction:ltr}
#comments-panel .comment-bubble p{margin:8px 0 0;font-size:15px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#f2f7f4}
#comments-panel .comment-like{flex:0 0 36px;width:36px;min-height:42px;padding:6px 2px;background:transparent;border:0;color:#b9cec2;display:flex;align-items:center;flex-direction:column;gap:3px;border-radius:18px}
#comments-panel .comment-like svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}
#comments-panel .comment-like[aria-pressed=true]{color:#49df99}
#comments-panel .comment-like[aria-pressed=true] svg{fill:currentColor}
#comments-panel .comment-like-count{font-size:10px;line-height:12px}

#story-reshared{display:flex;align-items:center;gap:5px;font-size:12px;line-height:1.4;color:#e5eee8;margin-top:3px}#story-reshared[hidden],.business-ad-story #story-reshared{display:none!important}#story-reshared svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}

#story-viewer.list-edge .story-progress,#story-viewer.list-edge #reply-form,#story-viewer.list-edge .story-bottom,#story-viewer.list-edge .story-top>*:not(#close-story),#story-viewer.list-edge .like-touch-zone{visibility:hidden!important}
#story-viewer.list-edge #story-stage{grid-row:1 / 6;grid-column:1;background:radial-gradient(ellipse at center,#214735,#091b13)}
#story-viewer.list-edge .story-top{z-index:9}
#story-viewer.list-edge #story-content{display:grid;place-items:center;height:100%;padding:24px;text-align:center}
#story-viewer .list-edge-message{max-width:360px;pointer-events:none}
#story-viewer .list-edge-message h2{font-size:clamp(24px,5vw,34px);line-height:1.4;color:#eaf7ee;margin:0 0 16px}
#story-viewer .list-edge-message p{font-size:16px;line-height:1.7;color:#adcbb9;margin:0;padding:0}



/* A separate still frame keeps browser-owned play controls off the paused surface. */
#story-content>video:not(.video-running){opacity:0!important}
#story-content>.video-still,#story-content>.video-poster{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-width:none!important;max-height:none!important;object-fit:cover!important;
 border:0!important;border-radius:0!important;pointer-events:none;z-index:1;
}
#story-content>.video-still.landscape-video,#story-content>.video-poster.landscape-video{object-fit:contain!important}
#story-content>.video-still[hidden],#story-content>.video-poster[hidden]{display:none!important}

/* Quiet loading indicator above the video, without covering its content with text. */
#story-content>.video-loading{
 position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:4;
 display:grid;place-items:center;width:54px;height:54px;border-radius:50%;
 background:rgba(10,29,22,.38);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
 pointer-events:none;
}
#story-content>.video-loading::after{
 content:"";display:block;box-sizing:border-box;width:32px;height:32px;
 border:3px solid rgba(255,255,255,.22);border-top-color:#88dfb3;border-right-color:#88dfb3;
 border-radius:50%;animation:status-loading-spin .85s linear infinite;
}
@keyframes status-loading-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
 #story-content>.video-loading::after{animation:none}
}

/* Comments float over the current looping story. Keep its video surface visible. */
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden])){
 display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0;position:relative;padding:0;background:transparent;isolation:isolate;
}
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden]))>#story-stage{
 display:flex;position:absolute;inset:0;grid-area:auto;width:100%;height:100%;z-index:0;pointer-events:none;
}
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden])) #story-content{
 display:block;position:relative;width:100%;height:100%;overflow:hidden;
}
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden])) #story-content>:is(video,img){
 position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:cover;
}
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden])) #story-content>video.landscape-video{object-fit:contain!important}
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden])) :is(.status-caption,.read-more,.story-side,.like-touch-zone){display:none!important}
#story-viewer[open] #comments-panel:not([hidden]){
 position:relative;inset:auto;grid-column:1;grid-row:1;min-height:0;width:auto;box-sizing:border-box;z-index:12;
 padding:max(12px,env(safe-area-inset-top)) 16px 12px;
 background:linear-gradient(rgba(10,31,23,.7),rgba(10,31,23,.42));
 backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
#story-viewer[open] #comments-panel .comment-bubble{
 background:rgba(31,69,52,.76);box-shadow:0 3px 14px #0002;
}
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden]))>#reply-form{
 position:relative;inset:auto;grid-column:1;grid-row:2;z-index:14;margin:0;padding:8px 14px max(10px,env(safe-area-inset-bottom));
 background:rgba(10,31,23,.42);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);opacity:1;
}

/* Highlight the composer as a whole, without a rectangular outline around text. */
#story-viewer[open] #reply-form #reply-text:is(:focus,:focus-visible){
 outline:none!important;box-shadow:none!important;border:0!important;
}
#story-viewer[open] #reply-form .reply-compose{transition:background-color .18s ease}
#story-viewer[open] #reply-form .reply-compose:focus-within{background:rgba(45,92,71,.62)!important}

/* Every still image stays intact; only its decorative backdrop fills the screen. */
#story-viewer[open].image-story #story-stage{
 position:absolute!important;inset:0!important;grid-area:auto!important;width:100%;height:100%;z-index:0;
}
#story-viewer[open].image-story #story-content{
 position:relative!important;display:block!important;width:100%;height:100%;overflow:hidden;background:#d3d9d3;
}
#story-viewer[open].image-story #story-content>img.status-image{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-height:none!important;object-fit:contain!important;object-position:center;z-index:1;
}
#story-content>.image-backdrop{
 position:absolute;inset:-5%;width:110%;height:110%;object-fit:cover;
 filter:blur(24px) brightness(1.12);opacity:.6;pointer-events:none;z-index:0;
}
/* Image captions share one overlay layout in both orientations, above the media. */
#story-viewer[open].image-story #story-content>p.status-caption:not(.caption-expanded){
 position:absolute;inset:auto 14px 136px;margin:0;z-index:3;
}
#story-viewer[open].image-story #story-content>.read-more{position:absolute;top:auto;z-index:3}
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden]))>#story-stage{
 grid-area:auto!important;inset:0!important;height:100%!important;
}

/* The volume button keeps pointer capture while its vertical control is dragged. */
#story-viewer #volume-panel{
 width:64px;max-width:64px;padding:10px 8px;gap:8px;flex-direction:column;flex-wrap:nowrap;
 border:1px solid #ffffff20;border-radius:24px;background:rgba(15,36,27,.54);
 backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);touch-action:none;
}
#volume-panel>label{display:none}
#volume-panel #story-volume{
 order:0;writing-mode:vertical-lr;direction:rtl;appearance:slider-vertical;
 width:28px;height:var(--volume-track-height,160px);min-height:0;margin:0;flex:none;
}
#volume-panel #volume-value{order:1;margin:0;font-size:11px;line-height:16px;font-variant-numeric:tabular-nums}
#volume-panel #close-volume{order:2;width:28px;height:28px;min-width:28px;min-height:28px;padding:0;background:#ffffff12;border:0;border-radius:50%}
#volume-panel #volume-help{position:absolute;top:0;left:70px;width:180px;padding:10px;background:#17251f;border-radius:12px;font-size:12px}

/* One continuous glass layer behind both comments and the bottom composer. */
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden]))::before{
 content:'';display:block;position:absolute;inset:0;z-index:10;pointer-events:none;
 border-radius:0;background:linear-gradient(rgba(10,31,23,.64),rgba(10,31,23,.42));
 backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
}
#story-viewer[open] #comments-panel:not([hidden]),
#story-viewer[open] .story-shell:has(#comments-panel:not([hidden]))>#reply-form{
 background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1!important;
}

/* Prevent accidental text/icon selection and iOS callouts across the public UI. */
html body,html body *{
 -webkit-user-select:none!important;user-select:none!important;-webkit-touch-callout:none!important;
}
html body :is(input,textarea,[contenteditable]:not([contenteditable="false"])),
html body [contenteditable]:not([contenteditable="false"]) *{
 -webkit-user-select:text!important;user-select:text!important;-webkit-touch-callout:default!important;
}

/* Time and reshare attribution share one compact, readable line. */
#story-viewer .story-meta{display:flex;align-items:center;gap:7px;min-width:0;margin-top:3px;white-space:nowrap}
#story-viewer .story-meta #story-time{display:inline;margin:0;font-size:13px;font-weight:650;line-height:1.4;color:#fff;direction:ltr;unicode-bidi:isolate;flex-shrink:0;text-shadow:0 1px 4px #000a}
#story-viewer .story-meta #story-reshared{display:inline-flex;align-items:center;gap:3px;margin:0;min-width:0;font-size:10px;line-height:1.4;color:#e5eee8}
#story-viewer .story-meta #story-reshared svg{width:12px;height:12px}
#story-viewer .story-meta #story-reshared span{overflow:hidden;text-overflow:ellipsis}

/* WhatsApp-style identity: quiet elapsed time, separator and complete reshare label. */
#story-viewer .story-top{position:relative;gap:7px}
#story-viewer .story-meta{gap:6px;margin-top:1px}
#story-viewer .story-meta #story-time{font-size:12px;font-weight:400;color:#f2f5f3;direction:inherit;text-shadow:0 1px 3px #0006}
#story-viewer .story-meta #story-reshared{font-size:11px;font-weight:400;flex-shrink:0;gap:4px;color:#f2f5f3}
#story-viewer .story-meta #story-reshared::before{content:'·';margin-inline-end:2px}
#story-viewer .story-meta #story-reshared span{overflow:visible;text-overflow:clip}
#story-viewer #story-more{flex:0 0 30px;order:10}
#story-viewer #story-more summary{display:grid;place-items:center;list-style:none;cursor:pointer;width:30px;height:36px;color:#fff}
#story-viewer #story-more summary::-webkit-details-marker{display:none}
#story-viewer #story-more summary svg{width:27px;height:27px;fill:currentColor}
#story-viewer #story-more .story-actions{position:absolute;top:calc(100% + 5px);inset-inline-end:0;display:flex;gap:8px;padding:9px;border-radius:16px;background:rgba(15,33,26,.9);backdrop-filter:blur(12px);z-index:55}
#story-viewer #story-more:not([open]) .story-actions{display:none}
#story-viewer #close-story,#story-viewer #mute-story{flex-basis:30px;width:30px;padding:4px}
#story-viewer .story-avatar{flex:0 0 38px;width:38px;height:38px}
#story-viewer #story-name{font-size:15px;font-weight:600}

/* The single share button sits beside volume; media download is not offered. */

@media(max-width:360px){
 #story-viewer .story-top{gap:4px}
 #story-viewer .story-avatar{flex-basis:32px;width:32px;height:32px}
 #story-viewer :is(#close-story,#mute-story){flex-basis:26px;width:26px;padding:2px}
 #story-viewer #story-more{flex-basis:26px}
 #story-viewer #story-more summary{width:26px}
}

/* The favorites view has no legal footer. */
body:has(#saved-statuses:not([hidden])) > .legal-links{display:none}

#story-viewer .story-top>#reshare-story{display:grid;place-items:center;flex:0 0 30px;width:30px;height:40px;padding:4px;border:0;background:transparent;color:#e6ede8}#reshare-story svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#reshare-story[hidden],#story-viewer.business-ad-story #reshare-story{display:none!important}
#reshare-dialog{width:min(460px,calc(100% - 28px));max-height:90dvh;overflow:auto;border:1px solid #37634e;border-radius:24px;padding:22px;background:#10271d;color:#eef7ef}#reshare-dialog::backdrop{background:#0009;backdrop-filter:blur(5px)}#reshare-dialog h2{font-size:23px}#reshare-preview{display:block;max-height:38dvh;width:100%;margin:14px auto;border-radius:16px;background:#071b13}#reshare-preview[hidden]{display:none}#reshare-caption{width:100%;padding:12px;border:0;border-radius:12px;background:#ffffff0d;color:#b7ebcf;font-size:14px}.reshare-caption-label{font-size:13px;color:#aed1bd;margin:18px 0 8px}.reshare-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0}.reshare-buttons>*{flex:1;padding:12px;border:0;border-radius:14px;background:#254d39;color:#edf8f0;font:inherit;text-align:center;text-decoration:none}.reshare-spinner{display:block;width:36px;height:36px;border:3px solid #ffffff25;border-top-color:#80dca6;border-radius:50%;animation:reshare-spin .85s linear infinite;margin:24px auto}.reshare-spinner[hidden]{display:none}@keyframes reshare-spin{to{transform:rotate(360deg)}}
@media(max-width:390px){#story-viewer .story-top{gap:3px}#story-viewer .story-top>#reshare-story{flex-basis:26px;width:26px;padding:2px}.story-identity{min-width:0}}

#reshare-image-preview{display:block;max-height:38dvh;width:100%;object-fit:contain;margin:14px auto;border-radius:16px}#reshare-image-preview[hidden]{display:none}

.reshare-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.reshare-buttons>*{display:flex;align-items:center;justify-content:center;min-height:54px;padding:10px 6px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}

#reshare-caption[hidden]{display:none}#reshare-preview,#reshare-image-preview{max-height:30dvh}#reshare-message:empty{display:none}

#reshare-dialog .reshare-buttons>*{background:#254d39;color:#edf8f0;font-weight:500;flex-direction:column;gap:5px;min-height:76px;overflow-wrap:normal}.reshare-buttons .ui-icon{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}#reshare-dialog .reshare-buttons>*:focus-visible{outline:2px solid #80dca6;outline-offset:3px}@media(hover:hover){#reshare-dialog .reshare-buttons>*:hover:not(:disabled){background:#306047}}

/* Creator follows share the existing account-backed favorites collection. */
.creator-follow{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:none;min-width:62px;min-height:32px;padding:4px 10px;border:1px solid var(--line,#6d8b7b);border-radius:7px;background:transparent;color:inherit;font:inherit;font-size:12px;font-weight:500;line-height:1.3;white-space:nowrap;cursor:pointer}
.creator>.creator-follow{margin-top:7px}.creator-follow[aria-pressed=true]{background:#7ed9a414;border-color:#7daf92}.creator-follow:focus-visible{outline:2px solid #80dca6;outline-offset:3px}
#story-viewer .story-name-row{display:flex;align-items:center;gap:7px;min-width:0}#story-viewer .story-name-row #story-name{flex:0 1 auto;min-width:0;width:auto}
#story-viewer #story-follow{display:inline-flex;width:auto;height:auto;min-width:48px;min-height:28px;padding:3px 7px;border:1px solid #ffffff90;border-radius:6px;background:#00000014;color:white;font-size:11px;font-weight:500;line-height:1.3;text-shadow:0 1px 3px #0006}
#story-viewer #story-follow[aria-pressed=true]{background:#ffffff18}#story-viewer #story-follow[hidden],#story-viewer.business-ad-story #story-follow{display:none}
.favorites-list .creator-follow{min-width:52px;min-height:28px;font-size:10px;padding:3px 6px}
.directory-person-row{display:flex;align-items:center;gap:4px;padding-inline-end:12px;min-width:0;border:1px solid var(--line,#48634f);border-radius:12px;background:var(--panel,#20382c)}.directory-person-row .directory-person{flex:1;border:0;background:transparent;padding-inline-end:6px}
#creator-profile #favorite-creator{border:1px solid var(--line,#6d8b7b);background:transparent;color:var(--text,#edf4ee)}#creator-profile #favorite-creator[aria-pressed=true]{background:#7ed9a414;border-color:#7daf92;color:var(--text,#edf4ee)}

#follow-controls{display:grid;gap:7px;margin-top:16px}#follow-controls[hidden]{display:none}#follow-controls label{font-size:13px;color:var(--muted)}#follow-search{box-sizing:border-box;width:100%;min-width:0;padding:11px 13px;border:1px solid var(--line,#6d8b7b);border-radius:10px;background:var(--bg,#102019);color:var(--text,#edf4ee);font:inherit;font-size:16px}
.follow-group-title{margin:10px 0 0;font-size:15px;font-weight:600;color:var(--muted)}.account-follow-copy{min-width:0;display:grid;gap:4px}.account-follow-copy strong{font-size:14px;overflow-wrap:anywhere}.follow-status{font-size:12px;color:#32966b}.account-library-main{padding:0}.managing-following .account-library-row{padding:10px}.managing-following .creator-follow{min-width:64px;min-height:36px}.creator-follow[aria-pressed=true]{font-weight:600}html[data-theme=dark] .follow-status{color:#8adbb0}
#account-library.managing-following{color:var(--text,#edf4ee)}

/* Whole-screen, finger-tracked transitions; previews never run a second player. */
#story-viewer{overflow:hidden}#story-viewer>.story-shell{will-change:transform;backface-visibility:hidden}
.story-swipe-preview{position:absolute;inset:0;z-index:60;overflow:hidden;pointer-events:none;contain:layout paint;backface-visibility:hidden;color:#fff;background:#101b16;font-family:inherit}
.swipe-backdrop{position:absolute;inset:-6%;width:112%;height:112%;object-fit:cover;filter:blur(24px) brightness(.7);opacity:.7}.swipe-media{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.swipe-text{position:absolute;inset:20% 6% 18%;display:flex;align-items:center;justify-content:center;margin:0;white-space:pre-wrap;overflow:hidden;text-align:center;font-size:clamp(22px,5vw,36px);line-height:1.5}
.swipe-top{position:absolute;inset:0 0 auto;padding:12px 12px 16px;background:linear-gradient(#0005,transparent);color:#fff}.swipe-progress{display:flex;gap:5px;margin-bottom:16px;height:3px}.swipe-progress span{flex:1;background:#ffffff55;border-radius:4px}.swipe-progress .complete{background:#fff}.swipe-identity{display:flex;align-items:center;gap:7px;text-shadow:0 1px 3px #0008}.swipe-avatar{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:50%;overflow:hidden;background:#294638}.swipe-avatar img{width:100%;height:100%;object-fit:cover}.swipe-name{flex:1;min-width:0;display:grid;gap:3px}.swipe-name strong{font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.swipe-name small{font-size:12px}.swipe-back{font-size:30px;width:26px;text-align:center}.swipe-controls{display:flex;gap:9px;align-items:center}.swipe-controls svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7}.swipe-footer{position:absolute;bottom:0;inset-inline:0;display:flex;align-items:center;gap:10px;padding:10px 14px max(12px,env(safe-area-inset-bottom));background:linear-gradient(transparent,#0004);color:#fff}.swipe-footer svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7}.swipe-reply{flex:1;border-radius:24px;background:#10221c66;padding:12px 16px;font-size:14px;opacity:.75}.swipe-caption{position:absolute;bottom:90px;inset-inline:14px;margin:0;padding:8px;border-radius:10px;background:#0004;color:white;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:16px;text-align:center}.swipe-edge{display:grid;place-items:center;height:100%;margin:0;padding:20px;font-size:24px;text-align:center}
html[dir=ltr] .swipe-back{transform:rotate(180deg)}

/* The double-tap target must not cover real links in status text. */
#story-stage>.like-touch-zone{pointer-events:none}

/* Profile sharing above one wide follow control with an adjacent alert bell. */
#creator-profile .profile-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
#creator-profile .profile-actions>:is(button,a){height:46px;min-height:46px;margin:0;padding:10px 12px;border:1px solid #71887955;background:#e7eee8;color:#183c2c;font-size:14px;font-weight:600;border-radius:12px;text-decoration:none}
html[data-theme=dark] #creator-profile .profile-actions>:is(button,a){background:#233b30;color:#e6f0e9;border-color:#59746466}
#creator-profile .profile-actions a[aria-disabled=true]{opacity:.45}
#creator-profile #profile-follow-control{grid-column:1 / -1;display:flex;align-items:stretch;min-width:0;min-height:48px;border:1px solid var(--line,#6d8b7b);border-radius:12px;background:transparent;color:var(--text,#153c33);overflow:hidden;transition:background .18s,border-color .18s}
#creator-profile #profile-follow-control.is-following{background:#7ed9a414;border-color:#7daf92}
#creator-profile #profile-follow-control #favorite-creator{flex:1;align-self:stretch;min-height:48px;height:auto;margin:0;padding:12px 16px;border:0;border-radius:0;background:transparent;color:inherit;font-size:15px;font-weight:600;box-shadow:none}
#creator-profile #profile-follow-control #creator-email{flex:0 0 54px;align-self:stretch;min-height:48px;height:auto;margin:0;padding:0;border:0;border-inline-start:1px solid #71887955;border-radius:0;background:transparent;color:inherit;box-shadow:none}
#creator-profile #profile-follow-control #creator-email[hidden]{display:none}
#creator-profile #profile-follow-control #creator-email[aria-pressed=true]{background:#7ed9a42b;color:#157844}
html[data-theme=dark] #creator-profile #profile-follow-control #creator-email[aria-pressed=true]{color:#99e9bc}
#creator-profile #profile-follow-control #creator-email:disabled{opacity:.5;cursor:wait}
#creator-profile #profile-follow-control button:focus-visible{outline:2px solid #70d5a2;outline-offset:-4px}
#creator-profile #creator-email svg{width:23px;height:23px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#creator-email .bell-ringing{display:none}#creator-email[aria-pressed=true] .bell-ringing{display:block}
.profile-bell-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-theme=dark] #creator-profile #profile-follow-control{color:#e6f0e9}

/* Private/public reply choice and account-scoped inbox. */
#reply-audience{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;color:#fff;background:#ffffff18;border:1px solid #ffffff35;border-radius:50%;padding:6px}
#reply-audience svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#reply-audience[aria-pressed=true]{color:#a2f2d0;background:#146646c9;border-color:#82dbb6}
#reply-target{display:flex;align-items:center;gap:8px;padding:5px 12px;color:#b2ead4;font-size:12px}#reply-target span{flex:1}#reply-target button{padding:3px 9px;background:transparent}
.creator-comment-reply{margin-inline-start:24px}.creator-comment-badge{font-size:10px;color:#a5edcb;border:1px solid #65c9a280;padding:2px 6px;border-radius:10px}
.creator-comment-heart{display:block;color:#a5edcb;font-size:11px}.creator-reply-button{font-size:12px!important;padding:5px 10px!important;margin-top:5px;background:#ffffff12!important}
#chat-unread,.chat-badge{background:#1ba66c;color:white;border-radius:12px;padding:2px 7px;min-width:22px;font-size:12px}
#chats-dialog,#phone-dialog{background:#112b23;color:#e7f1eb;box-sizing:border-box;padding:18px;width:min(560px,calc(100% - 24px));max-height:90dvh;overflow:auto}
#chats-dialog[open]{display:flex;flex-direction:column;height:min(740px,90dvh)}
.chat-heading{display:flex;align-items:center;gap:10px;flex-shrink:0;border-bottom:1px solid #ffffff1a;padding-bottom:12px}.chat-heading h2{flex:1;font-size:20px;margin:0}.chat-heading button{width:40px;height:40px;padding:0;font-size:24px}
#chat-error,#phone-error{font-size:13px;color:#f5baab;margin:8px 0;white-space:pre-wrap}#chat-error:empty,#phone-error:empty{display:none}
#chat-inbox{overflow:auto;min-height:0}#chat-identity{padding:12px;background:#ffffff07;border-radius:14px;margin:12px 0}#chat-identity p,#chat-waiting,#phone-dialog p{font-size:13px;line-height:1.7;margin:0 0 8px}
#chat-verify,#chat-more,#chat-older{font-size:13px;border:1px solid #ffffff25;background:transparent}#chat-more,#chat-older{display:block;margin:12px auto}
.chat-thread{width:100%;display:flex;align-items:center;gap:12px;text-align:start;border-radius:0!important;padding:16px 4px!important;border-bottom:1px solid #ffffff16!important;background:transparent!important}
.chat-thread-copy{min-width:0;flex:1;display:grid;gap:6px}.chat-thread-copy strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-thread-preview{color:#abc2b5;font-size:13px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-empty{padding:24px 8px;line-height:1.7;color:#abc2b5;font-size:14px}
#chat-conversation{flex:1;display:flex;flex-direction:column;min-height:0}#chat-waiting{padding:10px 0;color:#bdd0c5}#chat-messages{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 0}
#chat-message-list{display:flex;flex-direction:column;gap:10px}.chat-message{align-self:flex-end;background:#2b4238;border-radius:16px 16px 4px 16px;max-width:86%;padding:10px 12px;overflow-wrap:anywhere;min-width:90px}.chat-message.outgoing{align-self:flex-start;background:#185f45;border-radius:16px 16px 16px 4px}
.chat-message p{margin:0;font-size:15px;line-height:1.55;white-space:pre-wrap}.chat-message-meta{display:flex;justify-content:flex-end;gap:8px;margin-top:6px;font-size:10px;color:#b4cfbe}.chat-status-quote{font-size:12px;border-inline-start:3px solid #74cda0;background:#0002;padding:7px;margin-bottom:8px;border-radius:6px;white-space:pre-wrap;max-height:90px;overflow:hidden}
#chat-compose{display:flex;align-items:flex-end;gap:8px;border-top:1px solid #ffffff1a;padding-top:12px;padding-bottom:env(safe-area-inset-bottom);flex-shrink:0}#chat-text{flex:1;width:0;min-width:0;resize:none;max-height:100px;min-height:44px;border:1px solid transparent;border-radius:20px;background:#ffffff0e;color:inherit;padding:11px 14px;font:inherit;font-size:16px}#chat-text:focus{outline:none;border-color:#66bd93}#chat-send{background:#158258;min-height:44px}
#phone-dialog form{display:grid;gap:10px;margin-top:18px}#phone-dialog input{width:100%;box-sizing:border-box;border-radius:10px;background:#ffffff0c;color:inherit;border:1px solid #ffffff35;font:inherit;font-size:16px;padding:12px}#phone-dialog label{font-size:14px}#phone-dialog button:disabled{opacity:.45;cursor:default}#phone-check,#phone-send{background:#186747}
html[data-theme=light] #chats-dialog,html[data-theme=light] #phone-dialog{background:#f5f8f4;color:#143e2f}html[data-theme=light] .chat-heading,html[data-theme=light] #chat-compose{border-color:#173d3020}html[data-theme=light] .chat-thread{border-color:#173d3020!important}html[data-theme=light] .chat-thread-preview,html[data-theme=light] .chat-empty,html[data-theme=light] #chat-waiting{color:#4d6c5e}html[data-theme=light] .chat-message{background:#e1eae3}html[data-theme=light] .chat-message.outgoing{background:#ceecdc}html[data-theme=light] .chat-message-meta{color:#446657}html[data-theme=light] #chat-text,html[data-theme=light] #phone-dialog input{background:#e5eee7;color:#163e2e;border-color:#315c4144}html[data-theme=light] #chat-identity{background:#e8f0e9}html[data-theme=light] #chat-verify,html[data-theme=light] #chat-more,html[data-theme=light] #chat-older{color:#164d35;border-color:#246b4144}html[data-theme=light] #phone-error,html[data-theme=light] #chat-error{color:#943f31}
@media(max-width:360px){#chats-dialog,#phone-dialog{padding:12px}.chat-heading h2{font-size:18px}#reply-audience{flex-basis:30px;width:30px;height:30px;padding:4px}.reply-compose{gap:3px!important}}

#comments-panel .public-comment.creator-comment-reply{margin-inline-start:24px}#comments-panel .comment-author{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:0}#comments-panel .creator-comment-badge{white-space:nowrap;flex-shrink:0}

/* Sharing actions become available together after the preview can render. */
#reshare-dialog .reshare-buttons>:is(:disabled,[aria-disabled="true"]){background:#192e24;color:#81988a;opacity:.6;cursor:not-allowed;pointer-events:none}
/* Keep follow in the action row; reserve the identity block for name and time. */
#story-viewer .story-top>#story-follow{flex:0 0 auto;align-self:center;min-height:30px;margin-inline-start:4px}
#story-viewer #story-more{background:transparent;border-radius:0;align-self:center}
#story-viewer #story-more summary{height:40px}
#story-viewer #story-more summary svg{width:24px;height:24px;filter:drop-shadow(0 1px 3px #0008)}
#story-viewer .story-meta{overflow:hidden}
@media(max-width:360px){#story-viewer .story-top>#story-follow{min-width:44px;padding-inline:5px;margin-inline-start:0}}

/* The compact follow rail uses the same inset image geometry as the full grid. */
.favorites-section .favorites-list .portrait-inner{inset:7%;width:auto;height:auto}
#creator-profile .profile-header>.profile-note:empty{display:none}

/* A square menu hit area keeps the hamburger centered at every screen size. */
html header #menu-toggle{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:10px;flex:none}

/* Following is an avatar-only rail; names remain in each button's accessible label. */
.favorites-section{padding:2px 10px;margin-top:8px;border-radius:14px}
.favorites-section .favorites-title{display:none}
.favorites-section .favorites-list{align-items:center;padding:0;gap:10px;scrollbar-width:none}
.favorites-section .favorites-list::-webkit-scrollbar{display:none}
.favorites-section .favorites-list .creator{display:flex;flex:0 0 64px;align-items:center;margin:0;padding:0}
.favorites-section .favorites-list .creator>.creator-follow,
.favorites-section .favorites-list .creator>.creator-name,
.favorites-section .favorites-list .creator>.creator-category,
.favorites-section .favorites-list .creator>.creator-last-status{display:none}
.favorites-section .favorites-list .creator-status-button{border-radius:50%}
.favorites-section .favorites-list .creator-status-button:focus-visible{outline-offset:-2px;border-radius:50%}
@media(max-width:760px){.favorites-section .favorites-list .creator{flex-basis:58px}}

/* Keep the clear action at the trailing edge in both RTL and LTR. */
.search #creator-search{flex:1}
#creator-search::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
#creator-search-clear{flex:0 0 28px;width:28px;height:28px;min-width:28px;min-height:28px;padding:6px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:inherit}
#creator-search-clear[hidden]{display:none}
#creator-search-clear .ui-icon{width:16px;height:16px}

/* Following management: bell grouped beside the remove button. */
.managing-following .account-library-avatar{padding:0;border:0;background:transparent;color:inherit}
.account-follow-name{display:block;min-width:0;padding:0;border:0;background:none;color:inherit;text-align:start;font:inherit;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.account-follow-actions{display:flex;direction:rtl;align-items:center;justify-content:flex-start;gap:8px;flex-shrink:0}
.account-follow-actions .follow-email-bell{display:grid;place-items:center;flex:none;width:36px;height:36px;min-height:36px;padding:8px;border:1px solid currentColor;border-radius:9px;background:transparent;color:var(--muted)}
.follow-email-bell svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.follow-email-bell .bell-ringing{display:none}
.account-follow-actions .follow-email-bell[aria-pressed=true]{color:var(--green);background:color-mix(in srgb,var(--green) 14%,transparent)}
.follow-email-bell[aria-pressed=true] .bell-ringing{display:block}
.account-follow-actions .follow-email-bell:disabled{opacity:.45;cursor:wait}
.follow-email-bell:focus-visible,.account-follow-name:focus-visible{outline:2px solid var(--green);outline-offset:3px}
html[data-theme=dark] .account-follow-actions .follow-email-bell[aria-pressed=true]{color:#8adbb0}

/* Keep light-surface text readable without changing the dark status viewer. */
html[data-theme=light] :is(header,main,footer,#creator-profile){--muted:#51665b}
html[data-theme=light] #creator-profile :is(.profile-toolbar span,#profile-categories,.profile-note){color:var(--muted)}
html[data-theme=light] header .language-switch button{color:var(--muted)}
html[data-theme=light] header .language-switch button[aria-pressed=true]{color:#137849}
html[data-theme=light] :is(#chats-dialog,#phone-dialog) .chat-heading button,
html[data-theme=light] #chats-dialog .chat-thread{color:inherit}

/* Desktop stories keep a portrait frame and uncropped media; mobile is unchanged. */
@media(min-width:761px){
 #story-viewer,#story-viewer.visual-story{
  --desktop-story-height:min(1000px,calc(100dvh - 40px),calc((100vw - 300px) * 1.7777778));
  box-sizing:border-box;height:var(--desktop-story-height);width:calc(var(--desktop-story-height) * .5625);
  max-height:calc(100dvh - 40px);max-width:calc(100vw - 300px);margin:auto;inset:0;
 }
 #story-viewer #story-content>:is(video,.video-still,.video-poster){object-fit:contain!important;object-position:center}
 #story-viewer::backdrop{background:rgba(8,10,12,.9)}
}

/* Give mobile browser headers breathing room and respect installed-web safe areas. */
@media(max-width:760px){html body>header{height:auto;padding-top:calc(20px + env(safe-area-inset-top,0px));padding-bottom:16px}}

/* Source sticker hotspots follow the contained/cropped media, including letterboxing. */
#story-content>.story-link-layer{position:absolute;z-index:6;pointer-events:none;direction:ltr}
#story-content>.story-link-layer[hidden]{display:none}
#story-stage #story-content .story-link-hotspot{position:absolute;display:block;pointer-events:auto;touch-action:manipulation;cursor:pointer;background:transparent;border-radius:8px}
#story-content .story-link-hotspot:focus-visible{outline:3px solid white;outline-offset:3px;background:#ffffff26}

/* Translucent app edges: content continues behind the system safe areas. */
:root{--edge-glass-surface:rgba(247,248,242,.78);--edge-glass-line:rgba(255,255,255,.6);--edge-glass-shadow:rgba(0,0,0,.07)}
html[data-theme=dark]{--edge-glass-surface:rgba(16,27,23,.7);--edge-glass-line:rgba(255,255,255,.13);--edge-glass-shadow:rgba(0,0,0,.2)}
html body>header{position:sticky;top:0;z-index:20;isolation:isolate}
html:is(:root,[data-theme]) body>header{background:var(--edge-glass-surface);border:0;border-radius:0;outline:0;box-shadow:none;-webkit-backdrop-filter:blur(26px) saturate(175%);backdrop-filter:blur(26px) saturate(175%)}
html body>header::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(135deg,rgba(255,255,255,.16),transparent 42%,rgba(255,255,255,.03));border-radius:0}
html body::after{content:"";position:fixed;inset:auto 0 0;height:env(safe-area-inset-bottom,0px);z-index:25;pointer-events:none;background:var(--edge-glass-surface);border:0;border-radius:0;outline:0;box-shadow:none;-webkit-backdrop-filter:blur(18px) saturate(155%);backdrop-filter:blur(18px) saturate(155%)}
html .site-footer{padding-bottom:calc(20px + env(safe-area-inset-bottom,0px))}
@supports (color:color-mix(in srgb,white,transparent)){:root{--edge-glass-surface:color-mix(in srgb,var(--palette-f6f2f8,rgb(247,248,242)) 78%,transparent)}html[data-theme=dark]{--edge-glass-surface:color-mix(in srgb,var(--palette-21152e,rgb(16,27,23)) 70%,transparent)}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root{--edge-glass-surface:rgb(247,248,242)}html[data-theme=dark]{--edge-glass-surface:rgb(16,27,23)}}
@media (prefers-reduced-transparency:reduce){:root{--edge-glass-surface:rgb(247,248,242)}html[data-theme=dark]{--edge-glass-surface:rgb(16,27,23)}html:is(:root,[data-theme]) body>header,html body::after{-webkit-backdrop-filter:none;backdrop-filter:none}}

/* Compact mobile chrome and feathered bottom safe area. */
@media(max-width:760px){
 html body>header{min-height:0;padding-top:calc(env(safe-area-inset-top,0px) + 2px);padding-bottom:6px;padding-inline:10px;gap:4px 8px}
 html body>header .brand{gap:5px}
 html body>header .brand .top-wordmark{width:clamp(140px,42vw,176px);height:30px}
 html body>header .brand .status-logo{width:30px;height:30px}
 html body>header .brand .brand-wordmark{font-size:20px}
 html body>header #menu-toggle{width:36px;height:36px;min-height:36px;padding:7px;border-radius:10px}
 html body>header .display-controls{gap:6px}
 html body>header .display-controls .palette-switch{padding:2px;gap:0}
 html body>header .display-controls .palette-switch button{min-width:48px;min-height:30px;padding:4px 9px;font-size:12px}
 html body>header .display-controls .language-switch button,html body>header .display-controls #language-en{min-height:32px;padding:5px 7px;font-size:11px!important}
}
html body::after{height:calc(env(safe-area-inset-bottom,0px) + 28px);background:var(--edge-glass-surface);-webkit-mask-image:linear-gradient(to bottom,transparent,#000);mask-image:linear-gradient(to bottom,transparent,#000)}

/* Single compact header row: brand, preferences, menu. */
@media(max-width:760px){
 html body>header{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;grid-template-areas:"brand controls login" "install install install";align-items:center;gap:2px 5px;padding-inline:7px;padding-top:env(safe-area-inset-top,0px);padding-bottom:3px}
 html body>header .brand{grid-area:brand;min-width:0;margin:0;gap:3px}
 html body>header .brand .top-wordmark{width:112px;max-width:100%;height:26px}
 html body>header .brand .status-logo{width:24px;height:24px}
 html body>header .brand .brand-wordmark{font-size:14px;letter-spacing:-.7px}
 html body>header #menu-toggle{grid-area:login;width:44px;min-width:44px;height:30px;min-height:30px;padding:5px;border-radius:8px}
 html body>header .display-controls{grid-area:controls;order:initial;width:auto;max-width:none;flex-wrap:nowrap;justify-content:center;gap:4px;margin:0}
 html body>header .display-controls .palette-switch{padding:1px;gap:0}
 html body>header .display-controls .palette-switch button{min-width:32px;min-height:26px;padding:3px 6px;font-size:10px}
 html body>header .display-controls .language-switch{gap:0;padding:0;margin:0;border:0}
 html body>header .display-controls .language-switch button,html body>header .display-controls #language-en{min-height:28px;padding:4px;font-size:9px!important}
 html body>header .display-controls .theme-switch button{min-height:26px;padding:3px 4px;font-size:9px}
}

/* Readable preferences and balanced menu in the compact header. */
@media(max-width:760px){
 html body>header{grid-template-columns:minmax(0,1fr) auto 40px;gap:3px 6px;padding-inline:8px;padding-bottom:4px}
 html body>header .brand .top-wordmark{width:104px;height:28px}
 html body>header #menu-toggle{box-sizing:border-box;justify-self:end;align-self:center;width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;padding:8px;border-radius:10px;line-height:1;display:grid;place-items:center}
 html body>header #menu-toggle svg{display:block;width:22px;height:22px}
 html body>header .display-controls{align-items:center;gap:5px}
 html body>header .display-controls .palette-switch{padding:2px}
 html body>header .display-controls .palette-switch button{min-width:38px;min-height:34px;padding:5px 7px;font-size:12px;line-height:1.2}
 html body>header .display-controls .language-switch button,html body>header .display-controls #language-en{min-height:38px;padding:6px 5px;font-size:12px!important;line-height:1.2}
 html body>header .display-controls .theme-switch button{min-height:34px;padding:5px;font-size:11px}
}
/* Music Status: centered name, official statuses right, menu left. */
html body>header{display:grid;direction:ltr;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-areas:"login brand official" "install install install";align-items:center;gap:4px 8px;padding-inline:10px}
html body>header .brand{grid-area:brand;justify-self:center;display:flex;justify-content:center;margin:0;min-width:0;direction:ltr}
html body>header .brand .brand-wordmark{font-size:24px;letter-spacing:-1px}
html body>header>.display-controls{display:none!important}
html body>header #menu-toggle{grid-area:login;justify-self:center;align-self:center;width:40px;min-width:40px;height:40px;min-height:40px;box-sizing:border-box;padding:8px}
html body>header #official-status-button{grid-area:official;justify-self:center;display:grid;place-items:center;width:44px;height:44px;min-height:44px;margin:0;padding:3px;background:transparent;border:2px solid transparent;border-radius:50%;box-shadow:none;cursor:pointer;color:inherit}
html body>header #official-status-button .status-logo{display:block;width:34px;height:34px}
html body>header #official-status-button.has-status{border-color:var(--muted,#acbcb1)}
html body>header #official-status-button.unseen{border-color:#25c879}
html body>header #official-status-button:disabled{cursor:default;opacity:1}
html #official-status-button:focus-visible{outline:2px solid #25c879;outline-offset:3px}
html #menu-language{direction:rtl;border-bottom:1px solid var(--line,#34483b);padding:0 0 8px;margin-bottom:4px}
html[dir=ltr] #menu-language{direction:ltr}
html #menu-language summary{padding:10px 8px;cursor:pointer;font-size:15px;font-weight:700}
html #menu-language .language-switch{display:flex;justify-content:center;gap:8px;padding:6px;border:0;background:transparent}
html #menu-language .language-switch button{min-height:40px;padding:8px 16px;font-size:14px;border:1px solid var(--line,#34483b);border-radius:10px;background:transparent;color:inherit}
html #menu-language .language-switch button[aria-pressed=true]{background:#159b6026;border-color:#25c879}
@media(max-width:760px){html body>header{grid-template-columns:44px minmax(0,1fr) 44px;padding-top:env(safe-area-inset-top,0px);padding-bottom:4px}html body>header .brand .brand-wordmark{font-size:23px}}
@media(max-width:350px){html body>header .brand .brand-wordmark{font-size:20px}}

/* Accessibility entry inside the main menu. */
#site-menu #accessibility-toggle{position:static;inset:auto;display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;height:auto;min-height:44px;padding:10px 12px;border:0;border-radius:10px;box-shadow:none;background:transparent;color:inherit;font:inherit;text-align:start}#site-menu #accessibility-toggle svg{width:23px;height:23px;flex:none}#site-menu #accessibility-toggle:hover{background:var(--line,#8882)}

#site-menu #accessibility-toggle::before{display:none}

/* Creator profile: safe-area controls and independently scrollable content. */
#creator-profile{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(570px,calc(100vw - 16px));height:auto;max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);padding:0;overflow:auto;overscroll-behavior:contain;border-radius:20px;scroll-padding-top:64px}
#creator-profile .profile-toolbar{position:sticky;top:0;z-index:5;box-sizing:border-box;min-height:60px;padding:8px 12px;background:var(--panel,#f7f8f2);color:var(--text,#153c33);display:flex;align-items:center;gap:12px}
#creator-profile #close-profile{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;margin:0;border-radius:12px}
#creator-profile .profile-header{padding:18px 16px}
#creator-profile .profile-archive{padding:16px 10px max(20px,env(safe-area-inset-bottom,0px))}
#creator-profile .profile-avatar{width:90px;height:90px;margin-bottom:12px}
#creator-profile .profile-header h2{font-size:24px}
@media(max-width:760px){#creator-profile{inset:calc(env(safe-area-inset-top,0px) + 8px) 8px calc(env(safe-area-inset-bottom,0px) + 8px);margin:0;width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:auto;max-height:none;border:0;border-radius:18px}}

html[data-theme=dark] #creator-profile .profile-toolbar{background:#18271f;color:#e6eee8}

.shared-video-play{position:absolute;inset:0;margin:auto;width:82px;height:82px;border-radius:50%;border:2px solid #fff;background:#0009;z-index:20;display:grid;place-items:center;cursor:pointer;color:#fff}.shared-video-play svg{width:34px;height:34px;fill:#fff;stroke:none;pointer-events:none}
#story-stage #story-content .shared-video-play{pointer-events:auto;touch-action:manipulation}
#story-stage #story-content .shared-video-play{pointer-events:auto;touch-action:manipulation}

/* Native caret is the editing indicator; retain normal button focus outlines. */
html input[type="search"]{caret-color:currentColor;}
html input[type="search"]:is(:focus,:focus-visible){outline:none!important;box-shadow:none!important;border-color:transparent!important;}
html .search:focus-within{outline:none!important;box-shadow:none!important;}

/* Keep cross-site navigation compact, including before assets finish loading. */
#site-menu #other-status-site{display:flex;align-items:center;gap:12px;min-width:0}
#site-menu #other-status-site .menu-brand-icon{display:block;width:24px;height:24px;min-width:24px;max-width:24px;flex:0 0 24px;color:currentColor}
#site-menu #other-status-site::before{display:none}
#site-menu .menu-appearance{padding:10px 8px 4px}
#site-menu .menu-appearance-title{display:block;margin-bottom:6px}

#story-content>.video-loading{width:auto;min-width:170px;height:auto;padding:16px 22px;border-radius:18px;gap:12px;color:#fff;text-align:center} .video-loading-label{font-size:16px;font-weight:600;white-space:nowrap} #feed-loading{text-align:center;padding:20px}

/* Account panel — single source of layout and component styling. */
#member-dialog{--account-line:color-mix(in srgb,currentColor 16%,transparent);box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--account-line);border-radius:28px;background:var(--panel,#fff);color:var(--text,#153c33);box-shadow:0 28px 100px #0005;overflow:auto;overscroll-behavior:contain;text-align:start}
#member-dialog::backdrop{background:#071713a6;backdrop-filter:blur(12px)}
#member-dialog [hidden]{display:none!important}
#member-dialog .account-topbar{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--account-line)}
#member-dialog .account-wordmark{font-size:15px;font-weight:750;letter-spacing:-.3px}
#member-dialog #close-member{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:11px;border:1px solid var(--account-line);border-radius:50%;background:transparent;color:inherit}
#member-dialog svg{width:22px;height:22px;flex-shrink:0}
#member-dialog .account-intro{text-align:center;padding:28px 28px 22px}
#member-dialog .account-emblem{display:block;width:64px;height:64px;border-radius:18px;margin:0 auto 18px}
#member-dialog h2{font-size:27px;line-height:1.25;letter-spacing:-.6px;margin:0;font-weight:750}
#member-dialog #member-reason{max-width:32ch;margin:12px auto 0;font-size:15px;line-height:1.7;opacity:.75;overflow-wrap:anywhere}
#member-dialog .account-auth{padding:0 28px 26px}
#member-dialog #google-login{display:flex;justify-content:center;width:100%;margin:0;min-height:44px;padding:0;background:transparent;border:0;overflow:hidden}
#member-dialog #google-login:empty{display:none}
#member-dialog #apple-login,#member-dialog #google-login>button{display:flex;align-items:center;justify-content:center;position:relative;gap:12px;width:var(--auth-button-width,360px);max-width:100%;height:44px;min-height:44px;margin:0 auto;padding:0 44px;border-radius:12px;font:600 15px/1.3 Arial,sans-serif;cursor:pointer}
#member-dialog #google-login>button{background:#fff;border:1px solid #747775;color:#1f1f1f}
#member-dialog #apple-login{background:#000;color:#fff;border:1px solid #747775;margin-top:12px}
#member-dialog .apple-login-logo,#member-dialog .google-login-logo{position:absolute;inset-inline-start:14px;width:20px;height:20px}
#member-dialog button:disabled{opacity:.55;cursor:wait}
#member-dialog #member-message,#member-dialog #password-message,#member-dialog #public-username-result{font-size:14px;line-height:1.6;margin:14px 0;text-align:center}
#member-dialog #member-message:empty,#member-dialog #password-message:empty,#member-dialog #public-username-result:empty{display:none}
#member-dialog #google-retry{display:block;margin:12px auto;padding:10px 20px;background:transparent;border:1px solid var(--account-line);border-radius:10px;color:inherit}
#member-dialog details{border:1px solid var(--account-line);border-radius:14px;overflow:hidden}
#member-dialog #password-option{margin:22px 0 0}
#member-dialog summary{min-height:48px;display:flex;align-items:center;gap:8px;padding:13px 14px;font-size:14px;cursor:pointer;list-style:none}
#member-dialog summary::-webkit-details-marker{display:none}
#member-dialog summary>span:last-child{margin-inline-start:auto}
#member-dialog details[open] summary{border-bottom:1px solid var(--account-line)}
#member-dialog details[open] summary>span:last-child{transform:rotate(180deg)}
#member-dialog form{padding:16px;margin:0;text-align:start}
#member-dialog label{display:block;font-size:13px;font-weight:600;margin:0 0 7px}
#member-dialog input{display:block;box-sizing:border-box;width:100%;min-height:48px;padding:12px;border:1px solid var(--account-line);border-radius:10px;background:var(--panel,#fff);color:inherit;font-size:16px;margin:0 0 16px}
#member-dialog form small{display:block;line-height:1.6;font-size:12px;opacity:.75;margin-bottom:12px}
#member-dialog .password-actions{display:flex;gap:10px}
#member-dialog form button{min-height:44px;border-radius:10px;padding:11px 16px;background:#79d8ac;border:1px solid #79d8ac;color:#102c21;font-size:14px;font-weight:650}
#member-dialog .password-actions button{flex:1}
#member-dialog .password-actions button[value=register]{background:transparent;border:1px solid var(--account-line);color:inherit}
#member-dialog .profile-note{font-size:12px;line-height:1.7;text-align:center;opacity:.7;margin:20px auto 10px;max-width:38ch}
#member-dialog .member-legal{font-size:11px;line-height:1.8;text-align:center;opacity:.7;margin:0 auto;max-width:42ch}
#member-dialog a{color:inherit;text-underline-offset:3px}
#member-dialog.is-signed-in .account-auth{display:none}
#member-dialog.is-signed-in .account-intro{padding:24px 24px 12px}
#member-dialog.is-signed-in .account-emblem{width:48px;height:48px;margin-bottom:12px}
#member-dialog.is-signed-in h2{font-size:24px}
#member-dialog #account-actions{padding:0 22px}
#member-dialog .account-section-label{font-size:11px;font-weight:700;opacity:.65;margin:18px 2px 9px}
#member-dialog .account-row-group{border:1px solid var(--account-line);border-radius:16px;overflow:hidden}
#member-dialog .account-row{display:flex;align-items:center;gap:13px;width:100%;min-height:68px;padding:14px;background:transparent;color:inherit;border:0;text-align:start;font:inherit}
#member-dialog .account-row+.account-row{border-top:1px solid var(--account-line)}
#member-dialog .account-row>span:nth-child(2){flex:1;min-width:0}
#member-dialog .account-row strong{display:block;font-size:14px;font-weight:650}
#member-dialog .account-row small{display:block;font-size:12px;opacity:.65;line-height:1.5;margin-top:4px}
#member-dialog .account-chevron{font-size:24px;opacity:.5}
html[dir=ltr] #member-dialog .account-chevron{transform:rotate(180deg)}
#member-dialog .account-row:hover{background:color-mix(in srgb,currentColor 5%,transparent)}
#member-dialog #public-username-option summary small{font-size:11px;opacity:.6}
#member-dialog #account-admin,#member-dialog .account-delete{display:block;padding:14px 4px;font-size:13px}
#member-dialog #member-logout{display:block;box-sizing:border-box;width:calc(100% - 44px);min-height:46px;margin:0 22px 24px;border:1px solid var(--account-line);border-radius:12px;background:transparent;color:inherit;font:600 14px Arial,sans-serif}
#member-dialog :is(button,a,summary,input):focus-visible{outline:2px solid #37b982;outline-offset:3px}
@media(max-width:380px){#member-dialog .account-auth{padding-inline:18px}#member-dialog .account-intro{padding-inline:18px}#member-dialog h2{font-size:24px}}
@media(prefers-reduced-motion:no-preference){#member-dialog[open]{animation:account-enter .2s ease-out}@keyframes account-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}}

#member-dialog #apple-login,#member-dialog #google-login>button{border-radius:22px}
#member-dialog:not(.is-native-auth) #apple-login,#member-dialog:not(.is-native-auth) #google-login{height:40px;min-height:40px}
