:root{--ink:#28232c;--muted:#77707a;--accent:#a93669;--line:#e8e3e9;--bg:#f7f5f7;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--bg);font:15px/1.5 system-ui,sans-serif;color:var(--ink)}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}button,input,textarea,select{font:inherit}button,.btn{border:0;background:var(--accent);color:white;border-radius:10px;padding:10px 15px;cursor:pointer;display:inline-block}button.secondary,.btn.secondary{background:#f0e8ef;color:var(--ink)}button:hover,.btn:hover{filter:brightness(.94);color:inherit}input,textarea,select{border:1px solid var(--line);border-radius:9px;padding:10px;width:100%;background:white;margin:5px 0 12px}textarea{min-height:90px;resize:vertical}label{font-weight:600}header{position:sticky;top:0;z-index:3;background:white;border-bottom:1px solid var(--line);padding:12px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px}header strong{font-size:21px;letter-spacing:-.6px}.preview{position:sticky;top:0;background:#f9d271;color:#31220b;font-weight:800;padding:10px;text-align:center;z-index:9}.preview+header{position:static}.preview form{display:inline}.preview button{padding:5px 9px;margin-left:10px;background:#4b3521}.layout{display:grid;grid-template-columns:210px minmax(0,630px);max-width:896px;gap:24px;margin:24px auto;padding:0 16px;justify-content:center}.sidebar{position:sticky;top:90px;align-self:start}.sidebar a{display:block;font-weight:600;padding:13px 12px;border-radius:9px}.sidebar a:hover{background:#efe5ee}.panel,.post,.slide,.tabs{background:white;border:1px solid var(--line);border-radius:15px;overflow:hidden;margin-bottom:16px}.panel{padding:18px}.tabs{display:flex;justify-content:space-around}.tabs a{padding:13px;width:50%;text-align:center}.tabs .active{color:var(--accent);font-weight:800;border-bottom:3px solid var(--accent)}.posthead{padding:13px;display:flex;align-items:center;gap:9px}.avatar{width:37px;height:37px;border-radius:50%;background:#f0e3ef;display:grid;place-items:center;object-fit:cover;font-weight:bold;color:var(--accent)}.postimg{width:100%;display:block;max-height:720px;object-fit:contain;background:#eee9ee}.postbody{padding:12px 15px}.actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.actions form{margin:0}.actions button{padding:7px 12px}.muted,small{color:var(--muted)}.row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.row>*{min-width:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:5px;display:block}.slide img{display:block;width:100%;aspect-ratio:16/5;object-fit:cover}.slide p{margin:0;padding:8px 15px;font-size:12px;color:var(--muted)}.notice{padding:12px;background:#f9e7ef;border-radius:9px;margin-bottom:12px}.error{background:#ffe2df}.listitem{border-bottom:1px solid var(--line);padding:12px 0}.listitem img{max-width:100px;max-height:100px;object-fit:cover}.bottom{display:none}h1,h2,h3{line-height:1.2;letter-spacing:-.3px}h1{font-size:25px}h2{font-size:20px}h3{font-size:17px}.comment{padding:5px 0}.center{text-align:center}.setup{max-width:460px;margin:35px auto;padding:0 16px}.danger{background:#a0273e}details{margin:12px 0}summary{cursor:pointer;font-weight:600}.brand{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.demo-note{font-size:12px;color:var(--muted)}@media(max-width:1000px){.layout{grid-template-columns:170px minmax(0,630px);justify-content:center}}@media(max-width:680px){.layout{display:block;padding:0;margin:0 auto 75px;max-width:640px}.sidebar{display:none}.panel,.post,.tabs,.slide{border-radius:0;border-left:0;border-right:0;margin-bottom:10px}.bottom{position:fixed;bottom:0;left:0;right:0;background:white;border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:10px 3px calc(10px + env(safe-area-inset-bottom));z-index:5;font-size:12px;font-weight:600}.bottom a{text-align:center}header{padding:10px 14px}header strong{font-size:18px}.grid{gap:3px}.preview{font-size:11px}.postimg{max-height:80vh}}

.update-form{padding:16px;border:1px solid var(--line);border-radius:12px;margin:14px 0}.update-form button{width:100%;font-weight:700}.update-summary h3{margin:18px 0 7px}.update-summary ul{padding-left:22px;margin:6px 0 14px}.update-summary li{margin:5px 0}.update-summary{overflow-wrap:anywhere}

/* Compact, accessible social actions: same appearance on desktop and mobile. */
.actions{gap:16px}.actions .post-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:6px 3px;border:0;border-radius:8px;background:transparent;color:var(--ink);font-size:15px;line-height:1;cursor:pointer;touch-action:manipulation}.post-action svg{flex:none;width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.actions .like-action.is-liked svg{fill:#e32945;stroke:#e32945}.actions .post-action:hover{color:var(--ink);background:#f7f3f6;filter:none}.actions .post-action:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.action-count{font-variant-numeric:tabular-nums;min-width:1ch}.post[id],#comments{scroll-margin-top:82px}.preview~.layout .post[id],.preview~.layout #comments{scroll-margin-top:130px}

/* Accessible interaction and feedback states. */
[hidden]{display:none!important}.notice.success{background:#e1f5e5;color:#167539;border:1px solid #addbb7}.notice.error,.notice .error{background:#fce4e4;color:#b42318;border:1px solid #f4b9b9}.notice{background:#e5efff;color:#234b85}.notice.warning{background:#fff3d1;color:#795200}.interaction-notice{font-size:13px;margin:8px 0}.header-start{display:flex;align-items:center;gap:8px;min-width:0}.back-button,.dialog-close{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border:0;padding:0;border-radius:8px;color:var(--ink);background:transparent}.back-button:hover,.dialog-close:hover{background:#f0e8ef;color:var(--ink)}.postvisual{position:relative;background:#eeeaef}.photo-open{display:block;min-height:120px}.postvisual .posthead{position:absolute;top:0;left:0;right:0;padding:12px;color:white;background:linear-gradient(180deg,rgba(0,0,0,.77),rgba(0,0,0,0));flex-wrap:wrap;pointer-events:none;text-shadow:0 1px 3px #222}.posthead .profile-link{display:flex;align-items:center;gap:8px;pointer-events:auto;color:white;min-width:0}.posthead .profile-link strong{overflow-wrap:anywhere;font-size:14px}.posthead .avatar{height:36px;width:36px;flex:none;outline:1px solid rgba(255,255,255,.8)}.post-date{font-size:12px;color:white;white-space:nowrap}.photo-fallback{display:grid;place-items:center;min-height:260px;padding:75px 14px 14px;color:#504751}.postimg{object-fit:contain;min-height:100px}.postbody{padding:6px 14px 12px}.postbody .caption{margin:6px 0 4px;overflow-wrap:anywhere}.post-dialog{border:0;padding:0;border-radius:14px;width:min(94vw,640px);max-height:88vh;color:var(--ink);background:white;box-shadow:0 12px 60px #0005;overflow:auto}.post-dialog::backdrop{background:#171019b8}.dialog-header{display:flex;gap:8px;align-items:center;padding:8px 12px;background:white;position:sticky;top:0;border-bottom:1px solid var(--line);z-index:1}.dialog-content{padding:14px;overflow-wrap:anywhere}.dialog-photo{display:block;width:100%;max-height:75vh;object-fit:contain;background:#f1edf1}.inline-comments{margin:12px 0}.comment{padding:8px 0;border-bottom:1px solid var(--line)}.comment-form{margin-top:12px}.age-mark{display:grid;place-items:center;margin:16px auto;border:4px solid var(--accent);color:var(--accent);width:76px;height:76px;border-radius:50%;font-size:26px;font-weight:800}.setup form button{width:100%}.actions button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:680px){header{padding:7px 9px;gap:6px}header .demo-note{font-size:10px}.header-start{gap:2px}.postvisual .posthead{padding:8px;gap:5px}.posthead .profile-link{gap:6px}.posthead .profile-link strong{font-size:12px}.post-date{font-size:10px}.post-dialog{position:fixed;inset:auto 0 0;width:100%;max-width:none;max-height:85dvh;margin:0;border-radius:16px 16px 0 0}.dialog-content{padding-bottom:calc(14px + env(safe-area-inset-bottom))}}

/* Profile grid and video controls */
.profile-panel{padding:16px}.profile-name{font-size:17px;font-weight:800;margin-bottom:14px}.profile-stats{display:grid;grid-template-columns:72px repeat(3,minmax(0,1fr));align-items:center;gap:8px;text-align:center}.profile-stats .avatar{width:72px;height:72px;outline:2px solid var(--accent);outline-offset:2px}.profile-stats div{display:grid;gap:2px}.profile-stats strong{font-size:17px}.profile-stats span:not(.avatar){font-size:11px;color:var(--muted)}.profile-bio{overflow-wrap:anywhere}.follow-form button,.profile-follow{width:100%;text-align:center;font-weight:700}.profile-tabs a{width:33.333%;font-size:13px}.profile-grid{gap:3px}.profile-grid img,.profile-grid .video-tile,.grid .video-tile{aspect-ratio:3/4;border-radius:0}.video-tile{position:relative;overflow:hidden;background:#eee;aspect-ratio:1}.video-tile video{width:100%;height:100%;object-fit:cover;pointer-events:none}.video-tile span{position:absolute;top:6px;right:6px;color:white;background:#0008;padding:1px 6px;border-radius:4px}.video-wrap{position:relative;background:#191719}.video-wrap .feed-video{aspect-ratio:3/4;max-height:80vh;min-height:160px;background:#191719;object-fit:contain}.video-audio,.video-play{position:absolute;bottom:12px;right:12px;border-radius:50%;width:40px;height:40px;background:#000b;color:white;padding:0;z-index:2;line-height:40px;text-align:center}.video-play{left:12px;right:auto}.video-error:after{content:'Vídeo indisponível';display:block;padding:8px;text-align:center;color:white}.listitem .grid-video{max-width:min(100%,320px);max-height:240px;background:#111}.grid-video{display:block}

/* Explore: one approved photograph per profile. */
.explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.explore-tile{position:relative;display:block;aspect-ratio:3/4;overflow:hidden;background:#eee;border-radius:5px}.explore-tile img{width:100%;height:100%;object-fit:cover;display:block}.explore-tile span{position:absolute;bottom:0;left:0;right:0;padding:20px 6px 7px;background:linear-gradient(transparent,#000c);color:white;font-size:12px;font-weight:700;overflow-wrap:anywhere}@media(max-width:480px){.explore-grid{gap:3px}.explore-tile span{font-size:10px}}

/* Stories: protected fictional portfolio viewer. */
.story-strip{display:flex;gap:12px;overflow-x:auto;padding:14px 8px;background:white;border:1px solid var(--line);border-radius:12px;margin:0 0 12px}.story-circle{flex:0 0 74px;display:grid;justify-items:center;gap:6px;text-align:center;color:var(--ink);font-size:11px;line-height:1.15}.story-circle>span:last-child{max-width:74px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.story-ring{display:grid;place-items:center;width:66px;height:66px;border-radius:50%;border:3px solid var(--accent);padding:3px}.story-circle.seen .story-ring{border-color:#b9b3b9}.story-ring .avatar{width:100%;height:100%;border-radius:50%;object-fit:cover}.story-profile-link{display:block;text-align:center;margin-top:8px}.story-dialog{width:min(460px,100vw);height:min(820px,95dvh);max-width:100vw;max-height:100dvh;padding:0;border:0;border-radius:15px;background:#161316;color:white;overflow:hidden}.story-dialog::backdrop{background:#090709e8}.story-screen{height:100%;position:relative;display:flex;flex-direction:column;justify-content:center;background:#171317}.story-stage{height:100%;width:100%;display:flex;align-items:center;justify-content:center;touch-action:manipulation;user-select:none}.story-stage img,.story-stage video{width:100%;height:100%;object-fit:contain;display:block}.story-progress{display:flex;gap:4px;position:absolute;top:10px;left:10px;right:10px;z-index:3}.story-progress progress{flex:1;height:3px;min-width:0;border:0;border-radius:3px;appearance:none;background:#fff5;accent-color:white}.story-progress progress::-webkit-progress-bar{background:#fff5;border-radius:3px}.story-progress progress::-webkit-progress-value{background:white;border-radius:3px}.story-progress progress::-moz-progress-bar{background:white}.story-top{position:absolute;top:19px;left:0;right:0;z-index:2;display:flex;align-items:center;gap:10px;padding:8px 12px 22px;background:linear-gradient(#0009,transparent)}.story-top img{width:36px;height:36px;border-radius:50%;object-fit:cover}.story-top div{flex:1;min-width:0}.story-top strong{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.story-top small{display:block;color:#ddd;font-size:11px}.story-top button,.story-footer button,.story-prev,.story-next{color:white;background:#0008;border:0;font-size:25px;width:40px;height:40px;border-radius:50%;padding:0}.story-prev,.story-next{position:absolute;top:46%;left:6px;z-index:2}.story-next{right:6px;left:auto}.story-footer{position:absolute;bottom:0;left:0;right:0;z-index:2;display:flex;align-items:center;gap:8px;padding:22px 12px 12px;background:linear-gradient(transparent,#000c)}.story-footer p{flex:1;margin:0;font-size:14px;overflow-wrap:anywhere;max-height:120px;overflow:auto}.story-msg{position:absolute;left:15%;right:15%;top:40%;z-index:3;padding:12px;background:#000c;text-align:center;border-radius:8px;font-size:14px}.story-dialog button:focus-visible{outline:2px solid white;outline-offset:2px}@media(max-width:680px){.story-dialog{width:100vw;height:100dvh;margin:0;inset:0;border-radius:0;max-width:none;max-height:none}.story-footer{padding-bottom:calc(12px + env(safe-area-inset-bottom))}.story-top{padding-top:calc(8px + env(safe-area-inset-top))}}

/* Isolated editorial layout simulation, not applied to live profiles. */
.ed-demo-search{display:flex;align-items:center;gap:6px}.ed-demo-search input{min-width:0;flex:1;border-radius:24px}.ed-demo-gallery{display:flex;flex-direction:column;gap:2px;container-type:inline-size}.ed-demo-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.ed-demo-tile{display:block;min-width:0;position:relative;overflow:hidden;background:#e7e4e7;aspect-ratio:3/4}.ed-demo-tile img{width:100%;height:100%;object-fit:cover;display:block}.ed-demo-vip .ed-demo-tile,.ed-demo-premium .ed-demo-tile{grid-column:1/-1}.ed-demo-vip .ed-demo-tile{aspect-ratio:9/4}.ed-demo-premium .ed-demo-tile{aspect-ratio:9/8}.ed-demo-badge{position:absolute;top:8px;right:8px;background:#8c5f1b;color:white;font-weight:700;font-size:11px;padding:4px 9px;border-radius:3px}.ed-demo-premium .ed-demo-badge{background:#614577}.ed-demo-label{position:absolute;bottom:0;left:0;right:0;color:white;padding:22px 7px 8px;font-size:12px;font-weight:700;background:linear-gradient(transparent,#000c)}.ed-demo-detail{display:block;width:100%;max-height:70vh;object-fit:contain}.ed-demo-tile:focus-visible{outline:3px solid var(--accent);outline-offset:-3px}@supports(width:1cqw){.ed-demo-tile,.ed-demo-vip .ed-demo-tile{aspect-ratio:auto;height:calc((100cqw - 4px)*4/9)}.ed-demo-premium .ed-demo-tile{aspect-ratio:auto;height:calc((100cqw - 4px)*8/9 + 2px)}}

/* Explore: search above the same editorial grid, flush tiles on mobile. */
.explore-panel{padding:0;overflow:hidden}.ed-demo-search{margin:0;padding:12px 10px;gap:8px;background:white}.ed-demo-search input{margin:0;background:#f1f1f3;border:1px solid transparent;border-radius:24px;min-height:44px;padding:10px 15px}.ed-demo-search button{display:grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;background:#f1f1f3;color:var(--ink)}.ed-demo-search input:focus{outline:2px solid var(--accent);outline-offset:-2px}.ed-demo-search button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.ed-demo-results{display:flex;gap:10px;justify-content:space-between;align-items:center;padding:0 12px 12px;color:var(--muted);font-size:13px;overflow-wrap:anywhere}.ed-demo-results a{flex:none;color:var(--accent);font-weight:700}.ed-demo-empty,.ed-demo-note{padding:0 12px}.explore-panel>h3,.explore-panel>p:not(.ed-demo-note):not(.ed-demo-empty){padding:0 12px}.ed-demo-note{font-size:12px}.ed-demo-gallery{gap:2px}.ed-demo-row{gap:2px}.ed-demo-tile img{object-fit:cover}

/* Read-only public editorial collection. */
.public-portfolio-main{max-width:720px;margin:20px auto;padding:0 12px}.public-portfolio-main h1,.public-portfolio-main h2{padding:0 12px}.public-portfolio-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.public-portfolio-grid .ed-demo-tile{height:auto;aspect-ratio:3/4}.public-portfolio header a:last-child{font-size:13px}.public-portfolio-main .explore-panel{padding-top:4px}@media(max-width:680px){.public-portfolio-main{padding:0;margin:0}.public-portfolio-main .panel{border-radius:0}}
/* Public fictional portfolios: keep normal public navigation separate from private account pages. */
.public-fixture-shell{display:grid;grid-template-columns:160px minmax(0,630px);max-width:830px;margin:24px auto;gap:20px;padding:0 12px}.public-fixture-nav{position:sticky;top:76px;align-self:start;display:flex;flex-direction:column;gap:6px}.public-fixture-nav a{padding:10px 8px;font-weight:600}.public-fixture-note{font-size:12px;color:var(--muted);margin:0 0 12px}.public-fixture-avatar{width:72px;height:72px;object-fit:cover;border-radius:50%}.public-fixture-back{margin:0 0 12px}.public-fixtures .postimg{object-fit:contain;width:100%;height:auto;max-height:80vh}.public-fixtures .grid img{aspect-ratio:3/4}.public-fixtures .explore-panel{container-type:inline-size}@media(max-width:680px){.public-fixture-shell{display:block;margin:0 auto;padding:0 0 68px}.public-fixture-nav{position:fixed;bottom:0;top:auto;left:0;right:0;background:white;border-top:1px solid var(--line);display:flex;flex-direction:row;justify-content:space-around;z-index:5;padding:6px 0 calc(6px + env(safe-area-inset-bottom));font-size:12px}.public-fixture-note{padding:8px 12px;margin:0}.public-fixture-back{padding:10px 12px}}

/* Read-only visual preview for the signed fictional catalogue only. */
.fixture-action-preview{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 0 4px;min-height:44px}.fixture-social-preview{display:flex;align-items:center;gap:12px;padding-left:8px;color:var(--ink)}.fixture-social-preview svg{width:24px;height:24px;flex:none}.fixture-contact-preview:disabled{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;margin-left:auto;margin-right:0;padding:8px 10px;border:0;border-radius:8px;background:#168549;color:#fff;cursor:not-allowed;font-size:13px;font-weight:650;line-height:1.25;opacity:1}.fixture-contact-preview svg{width:19px;height:19px;flex:none}.fixture-action-note{margin:0;padding:0 8px 4px;text-align:right;color:var(--muted);font-size:11px}@media(max-width:340px){.fixture-action-preview{flex-wrap:wrap}.fixture-contact-preview:disabled{font-size:12px}.fixture-social-preview{gap:8px}}

/* Cadastro em duas etapas, sem alterar o cabeçalho existente. */
.registration-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:14px 0}
.registration-choice{display:flex;flex-direction:column;gap:8px;padding:20px;border:1px solid #ddd;border-radius:12px;text-decoration:none;color:inherit;background:var(--card,#fff)}
.registration-choice strong{font-size:1.15rem}.registration-choice span{font-size:.9rem;line-height:1.45}.registration-choice:hover,.registration-choice:focus-visible{border-color:#a93669}
.registration-summary{font-size:.85rem;line-height:1.35}.registration-summary p{margin:4px 0}
fieldset{border:1px solid #ddd;border-radius:10px;padding:12px;margin:12px 0}fieldset input[type=checkbox]{width:auto;display:inline-block;margin-right:8px}
/* 0.15.0: profile gallery, album navigation and consistent visual-only controls */
.gallery-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;overflow:visible}.gallery-tabs a{width:100%;min-width:0;padding:10px 2px;display:flex;flex-direction:column;align-items:center;gap:1px;font-size:12px;line-height:1.25}.gallery-tab-count{font-variant-numeric:tabular-nums;font-size:11px;color:var(--muted);font-weight:500}.gallery-tabs .active .gallery-tab-count{color:inherit}.gallery-grid>a{display:block;min-width:0;overflow:hidden}.gallery-grid img,.gallery-grid .video-tile{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}.gallery-album-list{display:grid;gap:8px;margin-bottom:16px}.gallery-album-row{display:flex;align-items:center;gap:14px;background:white;border:1px solid var(--line);border-radius:12px;padding:10px;min-width:0}.gallery-cover{flex:0 0 80px;width:80px;height:80px;overflow:hidden;border-radius:7px;background:var(--bg)}.gallery-cover img,.gallery-cover .video-tile{width:100%;height:100%;object-fit:cover;aspect-ratio:1}.gallery-album-info{display:flex;flex-direction:column;flex:1;min-width:0;overflow-wrap:anywhere;gap:2px}.gallery-album-info small,.gallery-album-info span{color:var(--muted);font-size:12px}.gallery-chevron{font-size:26px;color:var(--muted);margin-left:auto}.gallery-album-heading h2{margin:0 0 4px}.gallery-album-heading p{margin:0}.gallery-back{padding:0 4px}.gallery-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.gallery-card-actions .fixture-contact-preview{margin-left:auto}.gallery-card-actions + .fixture-action-note{padding:0;text-align:right}.postvisual .posthead{padding-right:45px}.gallery-post-menu{position:absolute;top:8px;right:8px;z-index:3;color:white;margin:0}.gallery-post-menu summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:34px;height:34px;border-radius:50%;background:#0005;box-shadow:0 1px 4px #0002}.gallery-post-menu summary::-webkit-details-marker{display:none}.gallery-post-menu-items{position:absolute;right:0;top:40px;min-width:174px;max-width:min(230px,80vw);background:white;border:1px solid var(--line);border-radius:10px;box-shadow:0 5px 20px #0003;color:var(--ink);overflow:hidden}.gallery-post-menu-items a{display:block;padding:10px 12px;font-size:13px}.gallery-post-menu-items a+a{border-top:1px solid var(--line)}.public-gallery-visual{position:relative}.public-gallery-visual .posthead{padding-right:45px}.public-gallery-visual .gallery-post-menu{color:white}@media(max-width:360px){.gallery-tabs a{font-size:10px}.gallery-card-actions{gap:6px}.gallery-card-actions .fixture-contact-preview:disabled{font-size:11px;padding:7px 8px}.gallery-cover{flex-basis:68px;width:68px;height:68px}}

/* Protected model administration. */
.model-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end;margin:16px 0}.model-search-form label:first-child{grid-column:1/-1}.model-search-form label{margin:0}.model-table-wrap{overflow-x:auto;max-width:100%}.model-table{border-collapse:collapse;width:100%;font-size:13px}.model-table th,.model-table td{text-align:left;padding:10px 8px;border-bottom:1px solid var(--line,#e6e2e7);vertical-align:middle}.model-table th{white-space:nowrap;font-size:12px}.model-table small{display:block;color:#777;margin-top:4px}.model-edit{display:inline-block;border:1px solid #a93669;color:#a93669;padding:6px 10px;border-radius:7px;font-weight:600;white-space:nowrap;text-decoration:none}.model-status{display:inline-block;padding:4px 7px;border-radius:6px;background:#eee;color:#555;white-space:nowrap;font-size:11px}.model-status.active{background:#e1f5e5;color:#167539}.model-status.pending{background:#fff4cf;color:#74550c}.model-status.suspended{background:#fce4e4;color:#a1262a}.model-pagination{display:flex;align-items:center;justify-content:center;gap:14px;padding-top:12px;font-size:13px}.model-pagination a{color:#a93669}.model-pagination span{color:#666}[data-model-results][aria-busy=true]{opacity:.65}@media(max-width:600px){.model-table{min-width:570px}.model-search-form{gap:8px}.model-table-wrap{overscroll-behavior-x:contain}}

.model-contact-fields{border:1px solid #ded8de;border-radius:12px;margin:16px 0;padding:12px;min-width:0}.model-contact-fields legend{font-weight:650;padding:0 6px}.model-contact-fields label{display:block;margin:8px 0}.model-contact-fields input{width:100%;box-sizing:border-box}

/* Country and national number are independently editable in admin. */
.model-contact-row{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:10px;align-items:end;margin-bottom:12px}.model-contact-row label{min-width:0}.model-contact-row input,.model-contact-row select{width:100%;box-sizing:border-box;min-width:0}.model-contact-row select{font-size:14px}.model-contact-row input{font-variant-numeric:tabular-nums}@media(max-width:460px){.model-contact-row{grid-template-columns:1fr;gap:2px}}

/* Notifications: private portfolio interactions. */
.header-end{display:flex;align-items:center;gap:10px;flex-shrink:0}.header-end form{margin:0}.notification-heart{position:relative;display:inline-flex;width:38px;height:38px;align-items:center;justify-content:center;color:var(--ink);flex-shrink:0}.notification-heart:hover{color:var(--accent)}.notification-badge{position:absolute;right:-1px;top:-1px;min-width:17px;height:17px;padding:0 3px;display:grid;place-items:center;border:1px solid white;border-radius:20px;background:#cf2545;color:white;font-size:10px;font-weight:700;line-height:1}.notification-list{margin:0 -12px}.notification-day{font-size:15px;padding:12px 12px 4px;margin:0}.notification-row{display:grid;grid-template-columns:44px minmax(0,1fr) 48px;align-items:center;gap:10px;padding:10px 12px;min-height:69px}.notification-row.is-unread{background:#f2edf4}.notification-avatar{width:44px;height:44px;object-fit:cover;border-radius:50%;display:block}.notification-initial{display:grid;place-items:center;background:#e9e3ec;color:#6b4b69;font-size:16px;font-weight:700}.notification-text{font-size:14px;line-height:1.38;overflow-wrap:anywhere;min-width:0}.notification-text strong{font-weight:700}.notification-text time{color:var(--muted);white-space:nowrap;font-size:12px}.notification-comment{white-space:pre-wrap;overflow-wrap:anywhere}.notification-pending{font-size:11px;color:#795200;display:inline-block;background:#fff3d1;padding:1px 4px;border-radius:3px}.notification-thumb,.notification-thumb-empty{display:block;width:48px;height:48px}.notification-thumb{border-radius:6px;overflow:hidden;background:#e8e3e9}.notification-thumb img,.notification-thumb video,.notification-thumb .video-tile{width:100%;height:100%;object-fit:cover;aspect-ratio:1}.notification-thumb .video-tile{position:relative}.notification-thumb .video-tile span{font-size:10px}.notification-toolbar,.notification-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;color:var(--muted);flex-wrap:wrap}.notification-toolbar button{padding:7px 10px;font-size:12px}.notification-pages{padding:12px 0}.notification-empty{text-align:center;padding:18px 0}.card-follow{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:6px;margin:5px 0 0}.card-follow button{width:auto!important;padding:5px 12px;font-size:12px;border-radius:7px}.card-follow .interaction-notice{flex-basis:100%}.notification-row a{flex-shrink:0}.notification-heart:focus-visible,.notification-thumb:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:680px){.header-end{gap:3px}.header-end button{padding:7px 8px}.notification-heart{width:33px;height:35px}.notification-row{padding:9px 10px;gap:8px}.notification-text{font-size:13px}.notification-list{margin:0 -10px}}
.model-preview-link{margin-top:5px}.preview-exit{display:inline-block;background:#4b3521;color:white;padding:5px 10px;border-radius:6px;margin-left:8px;font-size:13px}.preview-exit:hover{color:white}.preview-readonly{display:block;color:#49320b;font-weight:500}.model-preview-tabs a{width:33.333%;font-size:13px}.model-preview-stats{display:flex;justify-content:space-around;gap:10px;text-align:center;margin:16px 0}.model-preview-stats span{font-size:12px}.model-preview-stats strong{display:block;font-size:18px}.preview-media-row{display:flex;align-items:center;gap:12px}.preview-media-row>div{min-width:0;overflow-wrap:anywhere}.preview-media-row p{margin:5px 0}.model-preview-post>img{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:auto}

/* v0.21.1 - Desktop navigation cards; mobile bottom bar unchanged. */
@media(min-width:681px){
  .sidebar,.public-fixture-nav{background:#fff;border:1px solid var(--line);border-radius:12px;padding:4px 0;gap:0;overflow:hidden;min-width:0}
  .sidebar>a,.public-fixture-nav>a{display:block;padding:13px 15px;margin:0;border-radius:0;overflow-wrap:anywhere}
  .sidebar>a+a,.public-fixture-nav>a+a{border-top:1px solid #f1eff2}
  .sidebar>a:hover,.public-fixture-nav>a:hover{background:#f7f4f7;color:var(--accent)}
  .sidebar>a:focus-visible,.public-fixture-nav>a:focus-visible{outline:2px solid var(--accent);outline-offset:-3px}
}

/* v0.21.2 - Use desktop viewport; center content in the remaining column. */
@media(min-width:681px){
  .layout,.public-fixture-shell{
    display:grid;
    grid-template-columns:clamp(170px,17vw,240px) minmax(0,1fr);
    width:100%;max-width:none;
    margin:24px 0;
    padding-inline:clamp(12px,2vw,32px);
    gap:clamp(16px,2vw,32px);
    justify-content:stretch;
    align-items:start;
  }
  .layout>main,.public-fixture-shell>main{
    width:100%;min-width:0;max-width:1000px;
    justify-self:center;
  }
  .sidebar,.public-fixture-nav{
    width:100%;max-height:calc(100dvh - 110px);
    overflow-y:auto;overflow-x:hidden;
  }
}

/* v0.21.3 - Follow action in the image header, before the existing ellipsis. */
.postvisual .posthead.card-top{display:flex;flex-wrap:nowrap;align-items:flex-start;gap:8px;padding:8px 50px 12px 8px;z-index:2;min-width:0}
.card-top .card-identity{flex:1;min-width:0;align-items:center;min-height:34px}
.card-identity-info{min-width:0;display:flex;flex-direction:column;justify-content:center;line-height:1.25}
.card-top .card-identity strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.card-top .post-date{display:block;white-space:nowrap;margin-top:2px}
.card-top .card-follow{position:relative;pointer-events:auto;flex:0 0 auto;margin:0;display:block}
.card-top .card-follow button,.card-top .card-follow button.secondary{width:auto!important;min-height:34px;padding:5px 12px;background:transparent!important;border:1px solid #fff;color:#fff!important;white-space:nowrap;font-size:12px;line-height:1.2;border-radius:7px;box-shadow:0 1px 2px #0002;text-shadow:0 1px 2px #0005}
.card-top .card-follow button:hover{filter:none;opacity:.88}
.card-top .card-follow button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.card-top .card-follow button:disabled{opacity:.6;cursor:wait}
.card-top .card-follow .interaction-notice{position:absolute;top:100%;right:0;width:min(230px,65vw);margin:5px 0 0;padding:8px;border-radius:6px;box-shadow:0 2px 10px #0004;text-shadow:none;z-index:4;white-space:normal}
/* A clickable local-only test for the signed fictional media; no real contact. */
.fixture-contact-test{position:relative;margin:0 0 0 auto;max-width:100%}
.fixture-contact-test>summary.fixture-contact-preview{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;background:#168549;color:#fff;list-style:none;border:0;border-radius:8px;font-size:13px;font-weight:650;line-height:1.25;cursor:pointer;max-width:100%}
.fixture-contact-test>summary::-webkit-details-marker{display:none}
.fixture-contact-test>summary::marker{content:''}
.fixture-contact-test>summary:focus-visible{outline:2px solid #168549;outline-offset:2px}
.fixture-contact-result{position:static;margin-top:5px;width:220px;max-width:100%;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 4px 18px #0003;padding:10px 12px;font-size:12px;overflow-wrap:anywhere;text-align:left}
.fixture-contact-result p{margin:4px 0 0}
@media(max-width:680px){.card-top .card-follow button,.card-top .card-follow button.secondary{font-size:11px;padding:5px 8px}.postvisual .posthead.card-top{gap:5px}.fixture-contact-test>summary.fixture-contact-preview{font-size:12px}}
@media(max-width:360px){.fixture-contact-test>summary.fixture-contact-preview{font-size:11px;padding:7px 8px}.card-top .card-follow button,.card-top .card-follow button.secondary{padding:5px 6px}}


/* v0.21.4 - One mobile-width feed on both desktop and mobile. Other pages retain their width. */
:is(.layout,.public-fixture-shell)>main.feed-main {
  width:100%; max-width:440px; min-width:0; margin-inline:auto; justify-self:center;
  container-type:inline-size;
}
.feed-main .post,.feed-main .tabs,.feed-main .slide { margin-bottom:10px; }
/* Preserve the actual photograph aspect ratio; video keeps its mobile 3:4 frame. */
.feed-main .post .postimg:not(video) { width:100%; height:auto; min-height:0; max-height:none; object-fit:contain; }
.feed-main .post .video-wrap .feed-video { width:100%; height:auto; aspect-ratio:3/4; min-height:0; max-height:none; object-fit:contain; }
.feed-main .post .postvisual .posthead { gap:5px; padding:8px 45px 12px 8px; }
.feed-main .post .postvisual .posthead.card-top { gap:5px; padding:8px 50px 12px 8px; }
.feed-main .post .posthead .profile-link { gap:6px; }
.feed-main .post .posthead .profile-link strong { font-size:12px; }
.feed-main .post .post-date { font-size:10px; }
.feed-main .card-top .card-follow button,.feed-main .card-top .card-follow button.secondary { font-size:11px; padding:5px 8px; }
.feed-main .fixture-contact-test>summary.fixture-contact-preview { font-size:12px; }
@container (max-width:360px){
  .feed-main .fixture-contact-test>summary.fixture-contact-preview { font-size:11px; padding:7px 8px; }
  .feed-main .card-top .card-follow button,.feed-main .card-top .card-follow button.secondary { padding:5px 6px; }
}
@container (max-width:340px){
  .feed-main .fixture-action-preview { flex-wrap:wrap; }
  .feed-main .fixture-social-preview { gap:8px; }
}

/* Backup centre and guest login modal. */
.backup-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}.backup-options section{border:1px solid var(--line);border-radius:12px;padding:14px;min-width:0;display:flex;flex-direction:column}.backup-options h3{margin:0}.backup-options p{flex:1}.backup-options button{width:100%}.backup-entry{display:flex;align-items:center;gap:12px;justify-content:space-between}.backup-entry>div{min-width:0;overflow-wrap:anywhere}.backup-entry p{margin:4px 0}.backup-entry a{flex:none}.auth-dialog{width:min(94vw,420px)}.auth-modal-form button,.auth-register{width:100%;text-align:center}.auth-alternative{text-align:center;margin:18px 0 8px}.fixture-social-preview .post-action{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:44px;color:var(--ink)}.fixture-social-preview .post-action:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.auth-dialog .dialog-content{padding:18px}@media(max-width:480px){.backup-options{grid-template-columns:1fr}.backup-entry{align-items:stretch;flex-direction:column}.backup-entry a{text-align:center}.auth-dialog{width:100%}}

/* v0.23.0 - Active stories only, profile photo editor */
.profile-stats .avatar,.posthead .avatar{outline:none;outline-offset:0}
.avatar.story-active,.profile-stats .avatar.story-active,.posthead .avatar.story-active{outline:2px solid var(--accent);outline-offset:2px}
.avatar.story-active.story-seen,.profile-stats .avatar.story-active.story-seen,.posthead .avatar.story-active.story-seen{outline-color:#b9b4bd}
.avatar-editor{margin:12px 0}.avatar-editor-current{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.avatar-editor-current>div{flex:1;min-width:150px}.avatar-editor-preview,.avatar-editor-placeholder{display:grid;place-items:center;flex:0 0 76px;width:76px;height:76px;object-fit:cover;border-radius:50%;background:var(--bg);color:var(--muted);font-size:12px}.avatar-crop-dialog{width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;color:var(--ink);box-shadow:0 16px 60px #0003}.avatar-crop-dialog::backdrop{background:rgba(20,14,20,.65)}.avatar-crop-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.avatar-crop-heading button{padding:4px 12px;font-size:20px}.avatar-crop-dialog p{font-size:13px;color:var(--muted);margin:8px 0 16px}.avatar-crop-stage{width:min(100%,320px,48dvh);aspect-ratio:1;position:relative;overflow:hidden;border-radius:50%;margin:0 auto 16px;background:#f2eff3;touch-action:none;cursor:grab;outline:1px solid var(--line);outline-offset:2px}.avatar-crop-stage:active{cursor:grabbing}.avatar-crop-stage:focus-visible{outline:2px solid var(--accent)}.avatar-crop-stage canvas{width:100%;height:100%;display:block;pointer-events:none}.avatar-crop-dialog input[type=range]{width:100%;accent-color:var(--accent);padding:0}.avatar-crop-controls{display:flex;gap:8px;justify-content:space-between;margin-top:12px;flex-wrap:wrap}.avatar-crop-controls button{flex:1;white-space:normal}.avatar-editor [data-avatar-error]{margin:8px 0}

/* Professional WhatsApp enquiry link; same position and size as the existing preview. */
a.whatsapp-live{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:8px 10px;margin-left:auto;background:#168549;color:#fff;border-radius:8px;font-size:13px;font-weight:650;line-height:1.25;text-decoration:none;max-width:100%}
a.whatsapp-live:hover{background:#126e3d;color:#fff}a.whatsapp-live:focus-visible{outline:2px solid #168549;outline-offset:2px}.whatsapp-vars{padding-left:22px}.whatsapp-vars li{margin:5px 0;overflow-wrap:anywhere}.whatsapp-vars code{font-weight:600}
@media(max-width:680px){a.whatsapp-live{font-size:12px}}@media(max-width:360px){a.whatsapp-live{font-size:11px;padding:7px 8px}}

/* v0.25: model workspace and explicit privacy controls. */
.portfolio-choice{border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:11px 13px;min-width:0}.portfolio-choice legend{font-weight:650;line-height:1.4;padding:0 5px}.portfolio-choice label{display:inline-flex;align-items:center;gap:7px;margin-right:24px;min-height:40px;font-weight:500}.portfolio-choice input[type=radio]{width:18px;height:18px;margin:0;accent-color:var(--accent)}
.model-app .model-header{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;min-height:60px;padding:8px max(12px,calc((100vw - 660px)/2));gap:6px;z-index:5}.model-app .model-header .model-brand{min-width:0;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.model-app .model-header .model-brand strong{font-size:24px;font-weight:800}.model-create-icon,.model-header-end{display:flex;align-items:center;justify-content:center;min-height:44px}.model-app .layout{display:block;max-width:680px;margin:18px auto 90px;padding:0 12px}.model-app .layout>main{width:100%;max-width:none;min-width:0;margin:0}.model-app .sidebar{display:none!important}.model-app .bottom{position:fixed;bottom:0;left:0;right:0;display:flex!important;justify-content:space-evenly;align-items:center;background:#fff;min-height:62px;padding:5px 10px calc(5px + env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:8;gap:4px}.model-app .bottom .model-nav-link{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:11px;font-weight:600;min-height:52px;padding:3px 6px;line-height:1.2}.model-app .bottom .model-nav-link.is-active{color:var(--accent);font-weight:800}.model-app .bottom .avatar{width:28px;height:28px;object-fit:cover;display:grid;place-items:center;border:1px solid var(--line)}.model-app .bottom .is-active .avatar{outline:2px solid var(--accent);outline-offset:2px}
.model-home-name{display:flex;align-items:center;gap:15px;min-width:0}.model-home-name .avatar{width:66px;height:66px;flex:none;object-fit:cover}.model-home-name h2{margin:0;font-size:20px;overflow-wrap:anywhere}.model-home-name p{margin:4px 0}.model-home-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin:18px 0 12px;text-align:center}.model-home-counts>a,.model-home-counts>div{display:grid;place-items:center;gap:3px;padding:9px 4px;background:#faf8fa;border-radius:10px}.model-home-counts>a{border:1px solid var(--line)}.model-home-counts strong{font-size:22px;line-height:1.3}.model-home-counts span{font-size:12px;color:var(--muted)}.model-quick-actions{display:flex;flex-wrap:wrap;gap:9px}.model-quick-actions .btn{flex:1;min-width:120px;text-align:center}.model-own-grid,.model-rank-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.model-own-tile,.model-rank-item{display:flex;flex-direction:column;min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:#fff}.model-own-tile>a{display:block}.model-own-tile img,.model-own-tile .video-tile,.model-rank-item img,.model-rank-item .video-tile{display:block;width:100%;aspect-ratio:1;object-fit:cover}.model-tile-status{font-size:11px;font-weight:700;padding:5px 6px;color:var(--muted)}.model-tile-caption,.model-rank-item p{font-size:12px;padding:0 6px;margin:3px 0 7px;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.model-own-tile form{padding:5px;margin-top:auto}.model-own-tile button{width:100%;font-size:12px;padding:6px 3px}.model-media-input{min-height:46px}.portfolio-pagination{display:flex;justify-content:center;align-items:center;gap:14px;margin:16px 0 2px;font-size:13px}.portfolio-pagination a{font-weight:700;color:var(--accent)}.portfolio-people{display:grid}.portfolio-person{display:grid;grid-template-columns:38px minmax(0,1fr) 12px;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:12px 2px}.portfolio-person>span:nth-child(2){min-width:0;display:grid;overflow-wrap:anywhere}.portfolio-person-icon{display:grid;place-items:center;background:#f7f3f6;width:38px;height:38px;border-radius:50%}.portfolio-person small{color:var(--muted)}.portfolio-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end}.portfolio-filters label{min-width:0;font-size:12px}.portfolio-filters input,.portfolio-filters select{margin:4px 0;font-size:13px}.portfolio-filters button{grid-column:1/-1}.model-stat-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:15px 0}.model-stat-cards>div{display:grid;gap:3px;padding:14px;border:1px solid var(--line);border-radius:12px}.model-stat-cards strong{font-size:28px;line-height:1.2;color:var(--ink);font-variant-numeric:tabular-nums}.model-stat-cards span{font-size:13px;color:var(--muted)}.model-rank-counts{display:grid;gap:1px;font-size:11px;font-weight:650;padding:5px 6px}.model-rank-counts span:first-child{color:var(--accent)}.profile-stats a{display:grid;gap:2px}.model-app .notification-heart{margin:0}.model-app .preview+header{position:static}
@media(min-width:681px){.model-app .bottom .model-nav-link{max-width:220px}.model-app .bottom{justify-content:center;gap:32px}}
@media(max-width:390px){.model-own-grid,.model-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.portfolio-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.model-home-counts span{font-size:11px}}

/* 0.27: same model layout for the normal account and administrative preview. */
.model-upload-box{display:grid;gap:10px;margin:0 0 14px;padding:16px;border:1px dashed var(--line);border-radius:14px;background:#faf8fa}.model-upload-label{display:grid;justify-items:center;text-align:center;gap:8px;cursor:pointer;color:var(--ink)}.model-upload-label svg{width:36px;height:36px;color:var(--accent)}.model-upload-label span{font-size:13px;color:var(--muted)}.model-upload-box input[type=file]{width:100%;max-width:100%;box-sizing:border-box}.model-upload-preview{display:grid;gap:8px;justify-items:center}.model-upload-preview[hidden],.model-upload-preview img[hidden],.model-upload-preview video[hidden]{display:none}.model-upload-preview img,.model-upload-preview video{width:100%;max-height:340px;object-fit:contain;border-radius:10px;background:#f2eff2}.model-upload-preview p{max-width:100%;overflow-wrap:anywhere;font-size:13px;margin:0}.model-consent{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.4}.model-consent input{width:auto;margin-top:3px;flex:none}.model-app .model-header{position:sticky;top:0;background:#fff}.model-app .model-header-end .notification-heart{display:inline-flex}.model-app .model-header .model-brand{display:block}.model-app .model-header .model-brand strong{display:block;overflow:hidden;text-overflow:ellipsis}.model-app .model-header-end{min-width:0}.model-app.public-fixtures .layout>main{padding:0;max-width:none}.model-app .model-home-counts a{color:inherit}

/* An unavailable contact must not look like an actionable WhatsApp link. */
.fixture-contact-preview.contact-unavailable:disabled{background:#e7e7e7;color:#525252;cursor:not-allowed;opacity:1}
