/* Shared mobile product language. Loaded after the established layout rules. */
:root{--blue:#d52f50;--social:#d52f50;--social-soft:#fff0f3}
.button,.button:hover{background:var(--social);border-color:var(--social)}.link,.back-link,.secondary{color:var(--social)}.secondary{border-color:#e3e3e8}.panel.dark .link{color:#ffb2c2}.choice:has(input:checked){border-color:var(--social);box-shadow:0 0 0 1px var(--social)}#steps .current{color:var(--social);border-color:var(--social)}input[type=checkbox],input[type=radio]{accent-color:var(--social)}.badge{background:var(--social-soft);color:#94233c}
.screen-heading{display:flex;align-items:center;gap:12px;min-height:60px;margin:0 0 16px;padding:8px 0;background:#fff}.screen-heading>a{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;font-size:30px;border-radius:50%;background:#f5f5f7}.screen-heading h1{font-size:21px;line-height:1.25;margin:0;letter-spacing:-.5px}.section-label{font-size:18px;margin:26px 0 14px}.feed-toolbar{display:flex;justify-content:flex-end;margin:12px 0 20px}.feed-toolbar a{font-size:14px;min-height:44px;display:flex;align-items:center}
.account-hub,.account-panel{max-width:680px;margin:20px auto 48px}.account-hub>aside{padding:20px;background:#f5f5f7;border-radius:20px;display:grid;grid-template-columns:72px minmax(0,1fr);gap:6px 16px;align-items:center;margin-bottom:24px}.account-hub>aside>.profile-photo{grid-row:1/5;width:72px;height:72px;font-size:28px;margin:0;border-radius:18px}.account-hub>aside>.profile-photo img{width:100%;height:100%}.account-hub>aside>h2{font-size:21px;margin:0;overflow-wrap:anywhere}.account-hub>aside>p{margin:0;font-size:14px}.account-hub>aside>.badge{justify-self:start}.account-hub>aside>.secondary,.account-hub>aside>.notice{grid-column:1/-1}.account-hub>aside>form[action='/cikis']{display:block;grid-column:1/-1;margin-top:10px}.account-hub .verified-note{display:none}.account-rows{border-top:1px solid #eee}.account-rows>a{display:flex;justify-content:space-between;align-items:center;min-height:58px;padding:14px 6px;gap:16px;font-size:16px;border-bottom:1px solid #eee}.account-rows>a:last-child{color:#b42336}.account-rows>a>span{color:#8a8a90;font-size:24px}.account-panel .standalone-settings{margin:0;border:0;background:white;overflow:visible;padding:0!important}.account-panel .standalone-settings>summary{display:none!important}.account-panel #profile-edit{background:#fff;padding:0;border-radius:0}.account-panel #profile-edit>h2{display:none}.account-panel .surface p{font-size:15px}.account-panel form>button[type=submit],.account-panel form>.button{min-height:48px}.account-panel label{font-size:15px}.account-panel .profile-language-fields{padding:16px;background:#f5f5f7;border-radius:16px}.account-panel .gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.account-panel .gallery img{width:100%;height:180px;object-fit:cover;border-radius:14px}.account-panel .check{font-size:14px;line-height:1.6}.account-panel .screen-heading{position:sticky;top:62px;z-index:5;border-bottom:1px solid #eee}.account-panel .profile-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.photo-picker-label{position:relative}.accessible-file{position:absolute!important;opacity:0;width:100%!important;height:180px!important;left:0;bottom:0;z-index:1;cursor:pointer}.photo-picker{position:relative;min-height:180px;background:#f5f5f7;border:1px dashed #c9c9ce;border-radius:18px;display:flex;align-items:center;justify-content:center;flex-direction:column;overflow:hidden;gap:10px;margin-top:10px}.photo-picker-icon{font-size:36px;color:var(--social)}.photo-picker-copy{font-size:15px;color:var(--social);position:relative;z-index:1;background:#fffffff0;padding:6px 12px;border-radius:18px}.upload-preview{max-width:100%;height:200px;object-fit:contain}.photo-picker:has(.upload-preview:not([hidden])){padding:12px}.photo-picker-label:focus-within .photo-picker{outline:2px solid var(--social);outline-offset:3px}.upload-error{font-size:14px;color:#a51624}.upload-error:empty{display:none}.password-field{position:relative}.password-field input{padding-right:78px!important}.password-field button{position:absolute;right:8px;top:12px;height:44px;padding:0 12px;color:var(--social);background:transparent;font-size:14px}.menu-group-label{font-size:12px;text-transform:uppercase;letter-spacing:.7px;margin:22px 0 6px;color:#777}
.thread-search{display:flex;gap:8px;margin:16px 0}.thread-search input{margin:0!important;min-height:44px!important;background:#f5f5f7!important;border:0!important;min-width:0}.thread-search button{padding:10px 16px}.thread-copy{flex:1;min-width:0}.thread-copy strong{font-size:16px}.thread-copy .thread-snippet{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;margin-top:5px}.thread-time{font-size:12px;color:#777;display:block;margin-top:6px}.chat header .chat-peer{display:flex;align-items:center;gap:10px;flex:1;min-width:0}.chat-peer img,.chat header .chat-avatar{width:36px;height:36px;flex:0 0 36px;border-radius:50%;object-fit:cover;background:#f0e9ec;display:grid;place-items:center;font-size:16px;color:var(--ink);margin:0}.chat header .chat-peer-name{font-size:16px;color:var(--ink);font-weight:600;margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis}.chat-peer-name [data-presence]{font-size:12px;font-weight:400;margin-top:3px}.chat header .chat-options{display:flex!important;min-width:44px;min-height:44px;align-items:center;justify-content:center;color:var(--ink)}.chat-safety{display:none}.bubble.mine{background:#fbe4ea;color:#43202a}.bubble{background:#fff;border:1px solid #eee}.bubble p{font-size:16px;line-height:1.45}.bubble small{font-size:11px;opacity:1;color:#80646b}.bubble small time{display:inline}.day-divider{align-self:center;border-radius:18px;background:#eeeef2;font-size:12px;color:#68686e;padding:5px 12px;margin:6px 0}.chat-log{gap:10px}.chat-fine:not(:empty){margin:0;padding:8px 14px}.message-action-sheet{position:fixed;margin:0;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto}.message-action-preview.mine{background:#fbe4ea}.message-action-emojis button{min-height:44px}.media-viewer{position:fixed;inset:0;width:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:60px 12px 20px;border:0;background:#111;color:#fff}.media-viewer::backdrop{background:#111}.media-viewer img{width:100%;height:100%;object-fit:contain}.media-close{position:absolute;top:max(12px,env(safe-area-inset-top));right:16px;width:44px;height:44px;border-radius:50%;background:#ffffff25;color:white;font-size:30px}
.activity-row{display:flex;gap:14px;padding:18px 2px;border-bottom:1px solid #eee}.activity-icon{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:50%;background:#fff0f3;color:var(--social)}.activity-row p{font-size:15px;color:var(--ink);margin:0 0 6px}.activity-row time{font-size:12px;color:var(--muted)}.notification-summary{margin:0}.notification-thread{display:block;padding:18px 4px;border-bottom:1px solid #eee}.notification-summary .actions:empty{display:none}.visit-preferences{margin-top:16px}.visitor-row small{font-size:13px;line-height:1.5}.visitor-row strong{font-size:16px}
.story-create{max-width:520px;margin:0 auto 24px}.story-create h2{font-size:23px;margin:0 0 8px}.story-create>p{font-size:15px}.story-manage{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.story-tile{min-width:0}.story-tile>a{position:relative;display:block}.story-tile>a img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:16px}.story-tile>a>span{position:absolute;bottom:8px;left:8px;right:8px;background:#0009;color:white;border-radius:12px;padding:5px;font-size:11px;text-align:center}.story-tile>p{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.story-tile details{margin:0;padding:0;border:0}.story-tile summary{font-size:13px;min-height:44px}.story-tile .danger{padding:8px;font-size:12px}.story-page{background:#111}.story-page>.nav,.story-page>footer,.story-page>.preview{display:none!important}.story-page main{padding:0;min-height:100dvh;max-width:520px}.story-view{position:relative;display:flex;flex-direction:column;min-height:100dvh;margin:0;background:#141414;color:white;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}.story-view header{padding:8px 16px;align-items:center;flex-wrap:nowrap}.story-view header strong{font-size:16px}.story-view header small{display:block;color:#ccc;font-size:12px;margin-top:4px}.story-close{font-size:30px;width:44px;height:44px;display:grid;place-items:center;border-radius:50%;background:#ffffff1a}.story-progress{display:flex;gap:4px;padding:10px 12px 0}.story-progress a{height:4px;background:#ffffff45;flex:1;border-radius:4px;min-width:20px}.story-progress a[aria-current]{background:#fff}.story-stage{position:relative;flex:1;display:flex;align-items:center;min-height:0;touch-action:pan-y}.story-stage>img{width:100%;max-height:calc(100dvh - 210px);object-fit:contain}.story-stage>a{position:absolute;top:0;bottom:0;display:flex;align-items:center;padding:8px;color:white;text-shadow:0 1px 3px #000;font-size:32px;width:22%;opacity:.65}.story-prev{left:0}.story-next{right:0;justify-content:flex-end}.story-caption{padding:8px 16px 16px}.story-caption p{font-size:15px;color:white;overflow-wrap:anywhere;margin:8px 0 16px}.story-actions{display:flex;gap:20px;align-items:center;font-size:13px}.story-actions .button{flex:1;background:#ffffff20;border-color:#ffffff40}
.city-search{margin:0 0 12px!important}.active-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.active-filters span{font-size:12px;background:#f5f5f7;padding:6px 10px;border-radius:14px}.filter-count{border-radius:50%;background:var(--social);color:white;font-size:12px;min-width:22px;height:22px;display:grid;place-items:center}.reading-page .prose{margin:10px auto 40px}.reading-page .prose>.eyebrow{display:none}.reading-page .prose h1{font-size:25px}.reading-page .prose h2{font-size:20px}.reading-page .prose p{font-size:16px;line-height:1.7}
@media(max-width:700px){
 .auth-flow>.preview,.auth-flow>footer,.error-page>footer,.reading-page>footer,.reading-page>.preview,.account-screens>footer{display:none}.auth-flow .nav{min-height:62px;display:flex;flex-wrap:nowrap;justify-content:space-between;position:sticky;top:0}.auth-flow .nav .main-navigation{display:none}.auth-flow .nav .brand{font-size:22px}.auth-flow .auth{margin:32px auto 40px}.auth-flow .auth h1{font-size:28px}.auth-flow .auth>p{font-size:16px}.auth-flow .signup-layout{padding:18px 0 28px;gap:12px}.auth-flow .signup-aside>.eyebrow,.auth-flow .signup-aside>h1{display:none}.auth-flow .signup-aside>.fine{margin:8px 0;font-size:14px}.auth-flow #steps{margin:0 0 8px;gap:5px}.auth-flow #steps li{font-size:11px}.auth-flow .signup-main{background:white;border-radius:0;padding:10px 0;min-height:0}.auth-flow .signup-main>p.fine{font-size:12px;margin:0 0 18px}.auth-flow .signup-main legend{font-size:24px;line-height:1.2}.auth-flow .choice{font-size:16px;min-height:56px}.auth-flow .choice small{font-size:13px}.auth-flow .wizard-actions{position:sticky;bottom:0;background:#fffefc;padding:12px 0 max(12px,env(safe-area-inset-bottom));z-index:3}.auth-flow #step-count{font-size:12px}.auth-flow input,.auth-flow select{font-size:16px}.auth-flow .signup-main .check{font-size:14px}.account-panel{margin-top:0}.account-panel .profile-detail-fields{grid-template-columns:1fr 1fr}.account-panel #profile-details{scroll-margin-top:70px}.account-panel .profile-detail-fields label{font-size:13px}.account-panel select{padding:12px 8px;font-size:16px}.account-panel .screen-heading h1{font-size:19px}.thread-search{margin-bottom:4px}.messenger.inbox-only .thread{padding:16px 4px}.chat header{padding:8px!important;gap:8px!important}.chat header .chat-back{font-size:0!important;width:44px;min-width:44px;position:relative}.chat-back::before{content:'‹';font-size:30px}.chat-back .other-unread{font-size:11px;position:absolute;top:0;right:0}.conversation-page .chat{padding-bottom:env(safe-area-inset-bottom)}.conversation-page .chat-log{padding:12px}.conversation-page .chat-options{display:flex!important}.conversation-page .bubble{max-width:86%;padding:10px 13px}.story-manage{grid-template-columns:repeat(3,minmax(0,1fr))}.stories-page main{padding-bottom:30px}.reading-page>.nav{position:sticky}.reading-page .screen-heading{margin-bottom:8px}.reading-page .prose h1{margin-bottom:20px}.error-page .auth{margin:40px auto;max-width:440px}.error-page .auth h1{font-size:27px}.error-page .auth>p{font-size:16px}.thread-time{font-size:12px}.account-hub .fine{font-size:13px}.account-hub>aside .secondary{margin-top:12px}.menu-links .menu-group-label{font-size:12px}.member-menu .menu-links a{font-size:16px}.moderation-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.conversation-page .chat header .chat-peer-name{font-size:16px;line-height:1.25}.conversation-page .chat header .chat-peer-name [data-presence]{font-size:12px;line-height:1.4}.unsaved-note{padding:12px 16px;background:#fff4dc;color:#785100;border-radius:12px;font-size:14px}.reading-index{margin:16px 0;padding:14px;background:#f5f5f7;border-radius:14px}.reading-index summary{font-size:15px}.reading-index a{display:block;padding:10px 0;color:var(--social);font-size:14px}.reading-page h2{scroll-margin-top:100px}

.account-panel .profile-detail-fields>label{margin:12px 0}.account-panel .profile-language-fields .check{min-height:36px;margin:2px 0}.account-panel .photo-form{margin-bottom:28px}@media(max-width:360px){.account-panel .profile-detail-fields{grid-template-columns:1fr}}

.admin-shortcuts{display:flex;gap:8px;overflow:auto;margin:16px 0}.admin-shortcuts a{padding:12px 16px;background:#f5f5f7;border-radius:18px;font-size:14px;white-space:nowrap}.admin-page h2{scroll-margin-top:100px}.admin-page .story-manage{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}@media(max-width:700px){.admin-page .page-heading{padding:20px 0 4px}.admin-page .page-heading h1{font-size:24px}.admin-page h2{font-size:20px}.admin-page .filter-bar{display:grid;grid-template-columns:1fr}.admin-page .surface{padding:18px}.admin-page .surface .actions{display:flex;flex-wrap:wrap}.admin-page .surface .actions label{width:100%}}

.account-hub>aside>form[action='/cikis'] button{display:block;width:100%;min-height:44px;border:1px solid #e5e5ea;border-radius:12px;background:#fff;color:#b42336;font-size:15px;text-align:center}
.member-menu>.menu-logout{margin:0 24px 12px}.member-menu>.menu-logout button{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:12px 0;background:transparent;border:0;border-bottom:1px solid #eee;color:#b42336;font-size:16px}.menu-logout svg{width:18px;height:18px}

/* Resolve deep-linked settings before JavaScript runs, without hiding the page. */
.account-page main:has(.account-panel :target)>.account-hub{display:none}
.account-page .account-panel:has(:target){display:block!important}
