@import url('/base.css');
/* Zenvy 3.0: telas completas e acessíveis em desktop e dispositivos móveis. */
select{font:inherit;color:var(--fg);background:var(--soft);border:1px solid var(--line);border-radius:10px;padding:12px;min-width:0}
.settings-layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:28px;max-width:1060px;margin:0 auto;padding:28px 20px 90px;align-items:start}
.settings-menu{position:sticky;top:22px;border-right:1px solid var(--line);padding-right:16px}
.settings-menu h1{font-size:24px;letter-spacing:-.5px;margin:0 0 24px}
.settings-menu button{display:flex;width:100%;text-align:left;justify-content:flex-start;gap:13px;padding:13px 12px;margin-bottom:5px;border-radius:9px;font-size:13px;font-weight:600}
.settings-menu button>span:first-child{font-size:20px;width:25px;text-align:center}.settings-menu button.active{background:var(--accent-soft);color:var(--accent)}
.settings-menu .right-chevron{margin-left:auto;color:var(--muted);font-size:20px}
.settings-panel{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:30px 34px;min-height:470px;box-shadow:0 4px 40px #00000005}
.settings-panel h2{font-size:24px;letter-spacing:-.6px;margin-bottom:8px}.settings-panel h3{margin:22px 0 14px}.settings-panel p.muted{line-height:1.7;margin-bottom:23px}.settings-panel form>small{display:block;margin:15px 0}
.setting-line{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:75px;margin:0;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px}
.setting-line>span{display:grid;gap:4px;flex:1}.setting-line>span b{font-size:14px}.setting-line>span small{font-weight:400;line-height:1.55}
.setting-line input[type=checkbox]{appearance:none;-webkit-appearance:none;flex-shrink:0;width:46px;height:26px;border-radius:20px;border:1px solid var(--line);background:var(--muted);position:relative;padding:0;cursor:pointer;transition:.18s}
.setting-line input[type=checkbox]:before{content:'';display:block;position:absolute;width:20px;height:20px;top:2px;left:2px;border-radius:100%;background:#fff;box-shadow:0 1px 4px #0002;transition:.18s}.setting-line input[type=checkbox]:checked{background:var(--accent)}.setting-line input[type=checkbox]:checked:before{left:22px}
.setting-line select{max-width:210px;width:48%;font-size:13px}.setting-wide{margin-top:20px}.setting-wide small{display:block;font-weight:400;margin:6px 0 9px}.setting-wide textarea{display:block;min-height:115px}.save-settings{margin-top:28px;min-width:200px}
.setting-links{display:grid;gap:8px;margin:24px 0}.setting-links button{width:100%;text-align:left;justify-content:flex-start;background:var(--soft);border:1px solid var(--line);border-radius:11px;padding:16px 18px;font-weight:600}.setting-links button:hover{background:var(--accent-soft)}
.requests{padding-top:16px}.relation-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.relation-row b{flex:1;font-size:13px}.relation-find{display:grid;grid-template-columns:1fr 1fr auto;gap:9px;margin:14px 0 30px}.relation-find button{white-space:nowrap}
.edit-page{max-width:810px;margin:auto;padding:34px 20px 90px}.edit-heading{margin-bottom:25px}.edit-heading h1{font-size:29px;margin:13px 0 7px}.edit-card{background:var(--bg);border:1px solid var(--line);border-radius:16px;padding:30px;display:flex;flex-direction:column;gap:17px}.edit-card>button{align-self:flex-end;min-width:165px}.edit-card .edit-avatar{background:var(--soft);border-radius:15px;padding:18px 20px;margin-bottom:4px}.edit-card .edit-avatar .avatar{width:68px;height:68px}.edit-card .edit-avatar span:nth-child(2){display:grid;gap:4px}.avatar-input{cursor:pointer;margin:0}.avatar-input input{display:none}.edit-fields{display:grid;grid-template-columns:1fr 1fr;column-gap:20px}.edit-fields label{display:grid;gap:8px;margin:11px 0;font-size:13px}.edit-fields label.full{grid-column:span 2}.edit-fields textarea{min-height:85px}.edit-foot{display:flex;gap:14px;margin:25px 0}.collection-list{display:grid;gap:12px;max-width:800px;margin:20px auto;padding:0 16px}.collection-item{display:flex;align-items:center;gap:16px;padding:14px;border:1px solid var(--line);border-radius:12px}.collection-item img,.collection-item>div{width:86px;height:78px;object-fit:cover;background:var(--soft);border-radius:8px}.collection-item>span{display:grid;gap:6px;flex:1}.collection-item>span strong{max-width:380px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.emoji-choices{display:flex;flex-wrap:wrap;gap:9px;padding:18px 0}.emoji-choices button{font-size:29px;background:var(--soft);border:1px solid var(--line);border-radius:15px;width:58px;height:58px}.reaction-opener{font-size:24px!important}
.live-page{padding:30px 20px 80px;max-width:980px;margin:auto}.live-page h2{margin:12px 0 16px}.live-dot{display:inline-block;width:15px;height:15px;background:#fa344d;border-radius:100%;box-shadow:0 0 0 5px #fa344d22}.live-start-card{background:linear-gradient(135deg,var(--soft),var(--bg));border:1px solid var(--line);border-radius:18px;padding:27px;display:grid;grid-template-columns:1fr;gap:20px;margin:20px 0 35px}.live-start-card h2{margin:0 0 8px}.live-start-card form{display:flex;gap:9px}.live-start-card input{flex:1}.live-start-card .primary{background:#ed3151;white-space:nowrap}.live-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:15px;margin-top:16px}.live-tile{border:1px solid var(--line);background:var(--soft);border-radius:16px;display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:17px;gap:12px}.live-tile>div{width:100%;display:flex;align-items:center;justify-content:space-between}.live-tile strong{font-size:16px}.live-pill{background:#ea2e4b;color:#fff;padding:5px 9px;border-radius:7px;font-size:11px;letter-spacing:.3px;font-weight:750}.live-room{display:grid;grid-template-columns:minmax(0,1fr) 300px;max-width:1120px;margin:20px auto;gap:16px;padding:0 13px}.live-stage{position:relative;background:#10151a;min-height:480px;border-radius:16px;overflow:hidden;color:#fff;display:flex;flex-direction:column}.live-stage-head{position:absolute;top:16px;left:18px;right:18px;display:flex;align-items:center;justify-content:space-between;z-index:2}.live-stage>video{width:100%;height:100%;min-height:370px;max-height:68vh;flex:1;object-fit:contain;background:#10151a}.live-stage-footer{padding:15px 20px;display:flex;justify-content:space-between;align-items:center;gap:10px}.live-stage-footer>div{display:grid;gap:5px}.live-stage-footer .danger{background:#e74455;color:#fff;padding:12px}.live-side{background:var(--bg);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;min-height:480px;overflow:hidden}.live-side h3{padding:18px;border-bottom:1px solid var(--line)}#live-chat-list{flex:1;overflow:auto;height:315px;padding:12px 18px;font-size:13px}#live-chat-list p{padding:7px 0;overflow-wrap:anywhere}#live-chat-list b{color:var(--accent)}.live-reactions{display:flex;gap:3px;overflow:auto;padding:10px;border-top:1px solid var(--line)}.live-reactions button{font-size:19px;padding:5px}.live-side form{display:flex;gap:5px;padding:12px}.live-side form input{flex:1;width:70%}.live-side>p{padding:5px 14px 15px}
@media(max-width:1060px){.settings-layout{grid-template-columns:200px 1fr;gap:14px}.settings-panel{padding:22px}}
@media(max-width:740px){.settings-layout{display:block;padding:12px 12px 80px}.settings-menu{position:static;border-right:0;padding:0;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:6px;margin-bottom:13px;scrollbar-width:thin}.settings-menu h1{width:100%;flex:none;font-size:21px;margin:12px 0}.settings-menu button{flex:none;width:auto;border:1px solid var(--line);padding:10px;margin:0;font-size:12px}.settings-menu button .right-chevron{display:none}.settings-panel{padding:21px 17px;border-radius:12px;min-height:0}.setting-line{gap:12px}.setting-line select{width:50%;padding:8px}.relation-find{grid-template-columns:1fr 1fr}.relation-find button{grid-column:span 2}.edit-page{padding:16px 12px 90px}.edit-card{padding:16px}.edit-fields{display:block}.edit-fields label.full{grid-column:auto}.edit-card>button{width:100%}.live-start-card form{flex-direction:column}.live-room{grid-template-columns:1fr}.live-stage{min-height:390px}.live-side{min-height:350px}#live-chat-list{height:190px}.collection-item img{width:60px;height:64px}.collection-item .primary{padding:8px}}

/* Áreas de gerenciamento usam toda a largura, sem a barra de sugestões. */
.app-shell.settings,.app-shell.edit,.app-shell.live,.app-shell.archive,.app-shell.trash{grid-template-columns:minmax(0,1fr);max-width:1440px;gap:0}
.app-shell.settings .rail,.app-shell.edit .rail,.app-shell.live .rail,.app-shell.archive .rail,.app-shell.trash .rail{display:none}
.sidebar .nav{overflow-y:auto;min-height:0;scrollbar-width:thin;gap:3px}.sidebar .nav-item{padding-top:10px;padding-bottom:10px}.sidebar .brand{margin-bottom:30px}
@media(max-width:700px){.sidebar .nav [data-view="settings"],.sidebar .nav [data-view="edit"],.sidebar .nav [data-view="live"]{display:none}.sidebar .nav{overflow:visible}.mobile-header .row{gap:3px}.mobile-header .row button{padding:7px}.mobile-header .row .ico{width:22px;height:22px}}

.closefriends-toggle{display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.5;margin:12px 0}.closefriends-toggle input{width:18px;height:18px;flex-shrink:0}.story-react{position:absolute;bottom:74px;left:12px;z-index:3}.story-react button{background:#ffffff22;color:#fff;border:1px solid #ffffff55;padding:10px 15px;border-radius:20px;backdrop-filter:blur(10px)}

/* Zenvy 4.0 – funções de gestão social e conversas */
.app-shell.collections{grid-template-columns:minmax(0,1fr);max-width:1440px;gap:0}.app-shell.collections .rail{display:none}
.highlights-bar{display:flex;gap:18px;align-items:center;overflow:auto;padding:15px 25px 23px;border-bottom:1px solid var(--line);margin:0 5px 22px;scrollbar-width:thin}
.highlight-bubble{min-width:88px;max-width:100px;display:grid;justify-items:center;gap:7px;padding:5px;border-radius:10px}.highlight-bubble span{height:78px;width:78px;display:grid;place-items:center;overflow:hidden;border:2px solid var(--line);border-radius:100%;background:var(--surface,#fafafa);font-size:29px}.highlight-bubble img{height:100%;width:100%;object-fit:cover}.highlight-bubble small{font-size:12px;max-width:95px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.highlight-bubble:hover{background:var(--shade,#ededed)}
.story-viewer-button,.story-highlight-button{position:absolute;z-index:5;bottom:24px;left:20px;background:#222b;color:#fff;border:1px solid #fff8;border-radius:30px;padding:10px}.story-highlight-button{left:auto;right:20px}.story-player:has(.story-viewer-button) .story-content{margin-bottom:50px}
.highlight-view{max-width:450px;max-height:84vh;display:flex;flex-direction:column;margin:auto;text-align:center;color:#fff;gap:12px}.highlight-view header{display:flex;justify-content:space-between;align-items:center;padding:10px}.highlight-view video,.highlight-view img{object-fit:contain;max-height:65vh;width:100%;border-radius:12px}.highlight-view .secondary{align-self:center;color:#fff}
.enhanced-comment{display:flex;flex-direction:column;gap:2px;border-bottom:1px solid var(--line);padding:12px 7px}.enhanced-comment.reply-comment{margin-left:23px;border-left:3px solid var(--line);padding-left:15px}.comment-user{display:inline;padding:0}.enhanced-comment small{display:block;margin-top:5px;color:var(--muted,#888)}.comment-controls{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.comment-controls button{font-size:11px;padding:5px 2px}
.collections-toolbar{display:flex;gap:12px;margin:15px 25px 25px}.collections-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:18px;padding:0 25px 50px}.collection-folder{border:1px solid var(--line);background:var(--surface,#fff);border-radius:18px;padding:20px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.collection-folder .folder-icon{font-size:38px;color:var(--accent);background:var(--shade,#eff4f2);border-radius:12px;display:grid;place-items:center;width:65px;height:65px}.collection-folder h3{font-size:18px}.collection-folder p{color:var(--muted,#888)}.collection-folder button{margin-top:3px}.collection-folder .text-button{font-size:12px}.danger-text{color:#bd403c!important}.collection-post{border:1px solid var(--line);border-radius:12px;padding:6px}.collection-post>button{margin:6px;width:calc(100% - 12px)}
.dm-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:7px;opacity:.9}.dm-actions button{font-size:10px;color:inherit;opacity:.76;border:1px solid currentColor;border-radius:10px;padding:3px 7px}.dm-actions button:hover{opacity:1}.dm-actions b{font-size:13px}.dm-reply-label{display:block;border-left:2px solid currentColor;padding:5px;margin-bottom:6px;opacity:.7}.unread-count{background:var(--accent);color:white;border-radius:100px;font-size:11px;padding:2px 7px;align-self:center}.dm-compose{flex:1;min-width:0}.dm-compose input{width:100%}.dm-compose #dm-reply-banner{font-size:11px;background:var(--shade,#ddd);border-radius:8px;padding:6px;margin-bottom:4px}.dm-compose #dm-reply-banner[hidden]{display:none}.bubble em{font-size:12px;opacity:.7}
@media(max-width:740px){.highlights-bar{padding:12px 6px;gap:7px;margin:0 0 10px}.highlight-bubble{min-width:75px}.highlight-bubble span{width:62px;height:62px}.collections-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}.collection-folder{padding:12px}.collections-toolbar{margin:10px}.enhanced-comment.reply-comment{margin-left:10px}.story-highlight-button,.story-viewer-button{bottom:60px;font-size:11px;padding:6px}}
.nav-unread{background:var(--accent);color:white;border-radius:100px;min-width:20px;text-align:center;font-size:11px;padding:2px 6px;margin-left:auto}
.story-poll-editor{display:grid;grid-template-columns:1fr 1fr;gap:8px;border:1px solid var(--line);padding:12px;border-radius:12px}.story-poll-editor legend{font-size:12px;padding:0 4px}.story-poll-editor [name=poll_question]{grid-column:1/-1}.story-poll-editor input{width:100%;min-width:0}
.story-poll{width:min(95%,340px);background:#fff;color:#141414;border-radius:15px;padding:14px;position:relative;z-index:4;margin:20px auto;box-shadow:0 3px 20px #0006;display:flex;flex-direction:column;gap:9px}.story-poll strong{font-size:15px;color:#161616}.story-poll button{position:relative;display:flex;justify-content:space-between;overflow:hidden;border-radius:10px;background:#f1f1f1;padding:10px 14px;font-size:14px;gap:9px;color:#171717}.story-poll button i{position:absolute;left:0;top:0;height:100%;background:#b3eee0;z-index:0}.story-poll button span,.story-poll button b{z-index:1}.story-poll button:disabled{cursor:default}.story-poll small{color:#666}
.story-poll{position:absolute;top:45%;left:50%;transform:translate(-50%,-50%);width:min(90%,340px);margin:0;max-height:54%;overflow-y:auto;z-index:4}
.live-av-controls{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.live-av-controls button{padding:8px 11px;font-size:11px}
@media(max-width:740px){.live-av-controls{order:3;width:100%}.live-av-controls button{flex:1}}

/* Story 17: zonas de toque esquerda/direita sem bloquear os controles da enquete. */
.story-content{position:relative}
.story-tap-zones{position:absolute;inset:0;display:flex;pointer-events:none;z-index:1}
.story-tap-zones button{pointer-events:auto;position:absolute;top:0;bottom:0;width:30%;border:0;background:transparent;opacity:1;cursor:pointer}
.story-tap-zones button:first-child{left:0}
.story-tap-zones button:last-child{right:0}
.story-content .story-poll{position:relative;z-index:3}
.story-player .story-prev,.story-player .story-next{z-index:4}

.illustrative-count{padding:2px 0 8px;color:var(--muted);font-size:11px;display:block;text-align:left}
.illustrative-count:hover{color:var(--accent);text-decoration:underline}
.likers-modal-list{max-height:64vh;overflow:auto;padding:4px}
.likers-modal-list h4{margin:15px 0 8px;font-size:14px}
.liker-demo-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.liker-demo-label{font-size:10px;font-weight:700;color:var(--muted)}
.demo-illustrative-control{padding:17px;margin-top:18px;border:1px solid var(--line);border-radius:12px;display:grid;gap:8px}

/* Zenvy 17.1: contador unificado e clicável, com aviso contextual discreto. */
.like-total-link{display:inline-flex;gap:5px;align-items:center;justify-content:flex-start;width:max-content;max-width:100%;padding:2px 0 7px;margin:0 0 0 0;text-align:left;color:inherit;background:transparent;cursor:pointer}
.like-total-link:hover .like-count{text-decoration:underline}
.like-total-link .like-count{font-size:13px;font-weight:750}
.like-total-link .like-info{font-size:12px;color:var(--muted);line-height:1}
.like-total-link:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.likers-modal-list .person{width:100%;margin:3px 0}
.likers-disclosure{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);line-height:1.5}
@media(max-width:750px){.like-total-link{margin-left:12px;margin-right:12px}}
.like-total-link .like-count{margin:0!important}
