/* Eren · Componentes e estrutura. Cores em tokens.css. */
@import url("./tokens.css?v=20261014-17");

*,*::before,*::after{box-sizing:border-box}
html{background:var(--ui-bg);scroll-padding-top:110px;-webkit-text-size-adjust:100%}
body.eren-app,body.eren-auth{margin:0;padding:80px 0 0!important;min-height:100vh;width:100%;max-width:100%;background:var(--ui-bg)!important;color:var(--ui-ink)!important;font-family:var(--ui-font)!important;font-size:15px;line-height:1.65;color-scheme:light}
body.eren-auth{padding:0!important}
body.eren-app button,body.eren-app input,body.eren-app textarea,body.eren-app select,body.eren-auth button,body.eren-auth input{font-family:inherit}
body.eren-app a{color:inherit}
[hidden]{display:none!important}
body.eren-app :focus-visible,body.eren-auth :focus-visible{outline:2px solid var(--ui-primary);outline-offset:4px}
.eren-icon{width:21px;height:21px;flex-shrink:0;vertical-align:middle}
.eren-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;margin:-1px;padding:0;border:0}
.eren-skip{position:fixed;top:12px;left:16px;padding:11px 17px;border-radius:10px;background:var(--ui-primary);color:white!important;transform:translateY(-170%);z-index:1000;text-decoration:none}
.eren-skip:focus{transform:translateY(0)}
.eren-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:11px 17px;border:1px solid transparent;border-radius:11px;font-size:13px;font-weight:750;line-height:1.4;text-decoration:none!important;cursor:pointer;transition:background .18s,box-shadow .18s}
.eren-button-primary{color:#fff!important;background:var(--ui-action);box-shadow:0 4px 12px #673dd917}
.eren-button-primary:hover{background:linear-gradient(105deg,#5730bf,#7933be 65%,#a72b73);box-shadow:0 6px 16px #673dd929}
.eren-button-soft{background:var(--ui-soft);color:var(--ui-primary)!important;border-color:#e9dff4}
.eren-button-soft:hover{background:#eae1f8}
.eren-icon-button{display:inline-flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;width:39px;height:39px;padding:0;border:1px solid transparent;border-radius:12px;background:transparent;color:#776686;cursor:pointer;text-decoration:none!important}
.eren-icon-button:hover,.eren-icon-button[aria-expanded=true]{background:#f3ecfb;color:var(--ui-primary)}
.eren-avatar{position:relative;display:inline-grid;place-items:center;flex-shrink:0;width:39px;height:39px;border-radius:50%;overflow:hidden;background:#faeaf4;color:#a8307d;font:750 13px/1 var(--ui-font);border:1px solid #f2dae9}
.eren-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.eren-counter{position:absolute;right:0;top:-2px;min-width:16px;height:16px;padding:1px 4px;display:grid;place-items:center;border:2px solid white;border-radius:20px;background:var(--ui-pink-ink);color:white;font:750 8px/1 var(--ui-font)}

/* Navegação compartilhada */
.eren-header{position:fixed;inset:0 0 auto;z-index:60;display:flex;align-items:center;gap:24px;min-height:80px;padding:0 31px;background:#fffc;border-bottom:1px solid #e8e2ef;backdrop-filter:blur(16px);color:var(--ui-ink);font-family:var(--ui-font)}
.eren-brand{display:block;flex-shrink:0;text-decoration:none!important;width:174px}
.eren-brand img{display:block;width:148px;height:44px;max-width:100%;object-fit:contain}
.eren-search{display:flex;align-items:center;gap:10px;position:relative;width:360px;max-width:400px;height:43px;padding:0 15px;background:#f5f3fa;border:1px solid #e8e1f0;border-radius:30px;color:#786884}
.eren-search:focus-within{background:white;border-color:#bfa6e5;box-shadow:0 0 0 3px #673dd90a}
.eren-search>.eren-icon{width:17px;height:17px}
.eren-search input{flex:1;min-width:0;width:100%;height:40px;padding:0;outline:0;border:0!important;box-shadow:none!important;border-radius:0;background:transparent!important;color:var(--ui-ink);font-size:12px;margin:0!important}
.eren-search input::placeholder{color:#786885;opacity:1}
.eren-search input::-webkit-search-cancel-button{display:none}
.eren-search-close,.eren-mobile-search,.eren-menu-toggle{display:none}
.eren-header-actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.eren-header-create{font-size:12px;margin-right:5px;padding:10px 14px;border-radius:30px}
.eren-header-create .eren-icon{width:16px;height:16px}
.eren-popover{position:relative}
.eren-profile-button{display:flex;align-items:center;gap:7px;border:0;padding:0 0 0 5px;background:transparent;color:#7c6789;cursor:pointer}
.eren-profile-button>.eren-icon{width:14px;height:14px}
.eren-search-results,.eren-dropdown{position:absolute;top:calc(100% + 12px);right:0;min-width:240px;border:1px solid #e9e0f1;border-radius:17px;background:white;box-shadow:0 18px 65px #57407322;overflow:hidden;z-index:80;text-align:left;color:var(--ui-ink)}
.eren-search-results{left:-1px;right:-1px;min-width:0;padding:8px;max-height:min(470px,70dvh);overflow:auto}
.eren-search-group{margin:8px 10px 6px;color:#806294;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.07em}
.eren-search-result{display:flex;align-items:center;gap:10px;min-height:47px;padding:9px;border-radius:10px;font-size:13px;text-decoration:none!important}
.eren-search-result:hover,.eren-search-result:focus{background:var(--ui-soft)}
.eren-search-result>.eren-icon{padding:7px;background:var(--ui-soft);border-radius:10px;width:34px;height:34px;color:var(--ui-primary)}
.eren-search-empty{padding:18px 12px;color:var(--ui-muted);font-size:12px;line-height:1.7}
.eren-profile-menu{width:254px;padding:9px}
.eren-profile-summary{padding:13px 12px 18px;margin-bottom:5px;border-bottom:1px solid var(--ui-line);display:flex;flex-direction:column;gap:4px;overflow-wrap:anywhere}
.eren-profile-summary strong{font-size:14px;font-weight:800}
.eren-profile-summary span{font-size:11px;color:var(--ui-muted)}
.eren-profile-menu>a,.eren-profile-menu>button{display:flex;align-items:center;gap:11px;width:100%;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:#6b567a;text-align:left;font:600 12px/1.5 var(--ui-font);text-decoration:none;cursor:pointer}
.eren-profile-menu>a:hover,.eren-profile-menu>button:hover{background:var(--ui-soft);color:var(--ui-primary)}
.eren-profile-menu .eren-icon{width:18px;height:18px}
.eren-profile-menu .eren-logout{color:var(--ui-danger);margin-top:3px}
.eren-notifications{width:374px;max-height:min(620px,calc(100dvh - 110px));overflow:auto}
.eren-dropdown-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 20px 14px;border-bottom:1px solid #f0eaf5}
.eren-dropdown-heading h2{margin:0;font-size:15px;font-weight:800;letter-spacing:-.3px}
.eren-text-button{padding:0;background:none;border:0;color:var(--ui-primary);font:650 10px/1.6 var(--ui-font);cursor:pointer}
.eren-dropdown-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:38px 28px;text-align:center;color:#7a6888}
.eren-dropdown-empty .eren-icon{width:30px;height:30px;color:#826295;margin-bottom:4px}
.eren-dropdown-empty strong{font-size:13px;color:var(--ui-ink)}
.eren-dropdown-empty p{font-size:12px;line-height:1.8;margin:0}
.eren-notification,.eren-request{display:flex;align-items:flex-start;gap:11px;padding:15px 18px;border-bottom:1px solid #f3edf7;font-size:12px;line-height:1.8;text-decoration:none!important}
.eren-notification:hover{background:#f9f5fd}
.eren-notification.is-unread{background:#fbf4fa;box-shadow:inset 3px 0 #e34e9d}
.eren-notification>span:last-child{min-width:0}
.eren-notification-message{display:block;overflow-wrap:anywhere;color:#6e577a}
.eren-notification small{display:block;margin-top:3px;color:#7a6787;font-size:10px}
.eren-request strong{font-weight:750}
.eren-request p{color:var(--ui-muted);margin:0 0 9px}
.eren-request-actions{display:flex;gap:7px}
.eren-request-actions .eren-button{min-height:30px;font-size:10px;padding:7px 11px;border-radius:8px}
.eren-dropdown-status{font-size:11px;color:var(--ui-muted);margin:0;padding:0 18px}
.eren-dropdown-status:not(:empty){padding:12px 18px}
.eren-sidebar{position:fixed;top:80px;bottom:0;left:0;width:244px;z-index:54;padding:26px 18px 22px 24px;background:#fff;border-right:1px solid #e8e2ef;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#e2d6ed transparent;font-family:var(--ui-font);color:var(--ui-ink)}
.eren-sidebar-person{display:flex;align-items:center;gap:11px;padding:0 9px 20px;text-decoration:none!important}
.eren-sidebar-person>.eren-avatar{width:43px;height:43px;font-size:14px}
.eren-sidebar-person>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0}
.eren-sidebar-person strong{font-size:13px;font-weight:800;overflow-wrap:anywhere}
.eren-sidebar-person small{font-size:10px;color:#7d6689}
.eren-nav-label{padding:0 12px;margin:17px 0 8px;font-size:9px;color:#7a6787;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.eren-nav-link{display:flex;align-items:center;gap:12px;min-height:43px;padding:11px 12px;margin:3px 0;border-radius:11px;color:#79638a!important;font-size:12px;font-weight:650;line-height:1.5;text-decoration:none!important;transition:background .18s}
.eren-nav-link .eren-icon{width:19px;height:19px;color:#7c668a}
.eren-nav-link:hover{background:#f7f2fb;color:var(--ui-primary)!important}
.eren-nav-link.is-current{background:#f1eafa;color:var(--ui-primary)!important;font-weight:800}
.eren-nav-link.is-current .eren-icon{color:var(--ui-primary)}
.eren-sidebar-create{width:calc(100% - 14px);margin:24px 7px 0;border-radius:12px;font-size:12px}
.eren-sidebar-footer{display:flex;flex-direction:column;gap:3px;padding:24px 13px 0;color:#796882}
.eren-sidebar-footer strong{font-size:18px;color:#bd3d82;font-weight:800;letter-spacing:-.8px}
.eren-sidebar-footer span,.eren-sidebar-footer small{font-size:9px}
.eren-nav-backdrop,.eren-mobile-nav{display:none}

/* A área de conteúdo tem o mesmo enquadramento em todas as telas. */
.eren-workspace{margin-left:244px;padding:30px 32px 45px;min-width:0;min-height:calc(100dvh - 80px)}
.eren-workspace>main{width:100%!important;max-width:1280px!important;margin:0 auto!important;padding:0!important;overflow:visible}
.eren-workspace>.container,.eren-workspace>.main-container,.eren-workspace>.form-container{margin:0 auto;max-width:1080px;padding:0;background:transparent;box-shadow:none;border:0}
.eren-workspace main>.container,.eren-workspace .polls-shell,.eren-workspace .communities-shell,.eren-workspace .community-page-shell,.eren-workspace .ep-shell,.eren-workspace .post-page-shell,.eren-workspace .topic-page-shell,.eren-workspace .topic-create-shell,.eren-workspace .poll-builder-shell,.eren-workspace .ct-shell{max-width:1250px;margin:0 auto;padding:0}
.eren-workspace :is(h1,h2,h3,h4){font-family:var(--ui-font);color:var(--ui-ink);overflow-wrap:anywhere}
.eren-workspace h1{font-size:clamp(28px,2.6vw,39px);font-weight:800;line-height:1.2;letter-spacing:-1.1px}
.eren-workspace :is(input[type=text],input[type=email],input[type=url],input[type=password],input[type=number],input[type=date],textarea,select){font-family:var(--ui-font);border-color:#e2d8ed;background-color:#fff;color:var(--ui-ink);border-radius:10px;box-shadow:none}
.eren-workspace :is(input,textarea,select):focus{outline-color:var(--ui-primary);border-color:#ab8ddb;box-shadow:0 0 0 3px #673dd90b}
.eren-workspace input[type=checkbox],.eren-workspace input[type=radio]{accent-color:var(--ui-primary)}
.eren-workspace :is(.alert,.message,.poll-alert,.ep-alert,.ct-error,.community-alert,.topic-alert){border-radius:12px;line-height:1.7}
.eren-workspace :is(.container,.main-container,.form-container,.section-panel){min-width:0}
.eren-workspace :is(.poll-card,.enquete-card,.post,.sidebar-card,.community-card,.featured-community,.poll-builder-card,.ep-form-card,.ep-preview-card,.post-state-card,.post-detail-card,.comments-card,.topic-conversation,.topic-side-card,.ct-card,.ct-side-card,.rg-lobby-card,.rg-card,.form-section,.form-gerenciar,.lista-espacos,.doc-item,.reality-card){border-color:var(--ui-line);border-radius:var(--ui-radius);box-shadow:var(--ui-shadow)}
.eren-workspace :is(.poll-card,.enquete-card,.post,.sidebar-card,.community-card,.poll-builder-card,.ep-form-card,.ep-preview-card,.post-state-card,.comments-card,.topic-conversation,.ct-card,.ct-side-card,.form-section,.form-gerenciar,.lista-espacos,.doc-item){background-color:white}
.eren-workspace :is(.btn-primary,.send-btn,.community-button.is-primary,.poll-button.is-primary,.rg-button.is-primary,.ep-button.is-primary,.ct-button.is-primary,.topic-button.is-primary,.post-button.is-primary,.btn-save-config,.btn-new,.btn-create,.button-primary){background:var(--ui-action);color:white!important;border-color:transparent;border-radius:11px;box-shadow:0 4px 12px #673dd919}
.eren-workspace :is(.btn-secondary,.community-button.is-secondary,.poll-button.is-secondary,.ep-button.is-secondary,.ct-button.is-secondary,.topic-button.is-secondary,.post-button.is-secondary,.btn-back){background:var(--ui-soft);color:var(--ui-primary)!important;border-color:#e5d9f2;border-radius:11px}
.eren-workspace :is(.empty-state,.polls-empty,.communities-empty,.community-empty,.topic-empty,.rg-empty,.messages-empty,.post-empty,.feed-empty){border-color:var(--ui-line);border-radius:18px;background:#fff;color:var(--ui-muted)}
.eren-workspace :is(table){width:100%;border-collapse:separate;border-spacing:0;color:var(--ui-ink)}
.eren-workspace :is(th,td){border-color:var(--ui-line);padding:13px 14px}
.eren-workspace th{background:#f7f3fc;font-size:12px;font-weight:750;color:#756082}
.eren-workspace td{font-size:13px}
.eren-workspace :is(.modal-content,.modal-dialog){color:var(--ui-ink);background:white;border-color:var(--ui-line);border-radius:19px;box-shadow:0 24px 80px #35234730}
.eren-workspace :is(.dropdown-menu,.poll-menu,.share-menu){background:white;border-color:var(--ui-line);color:var(--ui-ink);box-shadow:0 12px 35px #4e346d24}

/* Início: publicação e conversas no centro; interesses ao lado. */
.eren-page--dashboard .main-wrapper{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:25px}
.eren-page--dashboard .main-content{min-width:0}
.eren-page--dashboard .dashboard-intro{padding:0;margin:0 0 20px}
.eren-page--dashboard .dashboard-intro h1{font-size:30px;letter-spacing:-.9px}
.eren-page--dashboard .dashboard-intro p{font-size:13px;color:var(--ui-muted);margin:8px 0 0}
.eren-page--dashboard .action-buttons{gap:10px;margin:0 0 23px}
.eren-page--dashboard .action-buttons>a{font-size:12px;min-height:40px;padding:10px 15px}
.eren-page--dashboard .tweet-box{border:1px solid var(--ui-line);background:#fff;box-shadow:var(--ui-shadow);padding:24px;border-radius:18px}
.eren-page--dashboard .composer-heading h2{font-size:16px;font-weight:800}
.eren-page--dashboard .composer-heading p{font-size:11px}
.eren-page--dashboard .conversation-starter{background:#f8f3fc;border:1px solid #eee1f6;border-radius:12px}
.eren-page--dashboard .prompt-chip{background:#fff;border:1px solid #ede4f4;color:#81628f;border-radius:25px;font-size:10px;padding:8px 10px}
.eren-page--dashboard #postText{min-height:115px;font-size:14px;line-height:1.8;border:0;padding:15px 0}
.eren-page--dashboard .post{padding:24px;margin-bottom:17px}
.eren-page--dashboard .post-user-photo img,.eren-page--dashboard .composer-avatar{width:42px;height:42px;border:1px solid #eedff2}
.eren-page--dashboard .post-text{font-size:14px;line-height:1.85;color:#6e5c7c}
.eren-page--dashboard .post-header{align-items:center}
.eren-page--dashboard .post-user-name{font-size:13px;font-weight:800}
.eren-page--dashboard .post-date{font-size:10px;color:#7b6688}
.eren-page--dashboard .post-media{border-radius:12px;margin-top:17px;background:#f7f3fa}
.eren-page--dashboard .post-survey{background:#f6f0fc;border:1px solid #e9dcf5;border-radius:12px}
.eren-page--dashboard .sidebar-card{padding:21px;margin-bottom:18px;background:white}
.eren-page--dashboard .dashboard-reality-card{border:1px solid #e6d9f0;background:linear-gradient(115deg,#fbf2f8,#f2edfc);border-radius:18px;box-shadow:none}
.eren-page--dashboard .dashboard-reality-card :is(h2,strong){color:#5e376c}
.eren-page--dashboard .db-live-house,.eren-page--dashboard .db-live-mission{background:white;border-color:#e9d9f0}
.eren-page--dashboard .db-live-house::after,.eren-page--dashboard .db-house-decor{opacity:.18}
.eren-page--dashboard .section-title{font-size:18px;font-weight:800}
.eren-page--dashboard .suggestions-section{border-radius:15px;background:#fbf6fc;border:1px solid #eddef2}

/* Pesquisas e resultados */
.eren-workspace .polls-hero,.eren-workspace .poll-builder-heading,.eren-workspace .ep-topbar{margin-bottom:26px;background:transparent;border:0;padding:0;box-shadow:none}
.eren-workspace .polls-hero h1,.eren-workspace .poll-builder-heading h1{font-size:35px;letter-spacing:-1.2px}
.eren-workspace .polls-hero p,.eren-workspace .poll-builder-heading p{color:var(--ui-muted)}
.eren-workspace .polls-summary{background:#fff;border:1px solid var(--ui-line);box-shadow:var(--ui-shadow);border-radius:15px}
.eren-workspace .polls-toolbar{background:white;border:1px solid var(--ui-line);padding:18px;border-radius:15px;gap:12px}
.eren-workspace .poll-card-menu button{background:#f6f0fc;border-radius:8px}
.eren-workspace .poll-card-title{font-weight:800;font-size:18px;letter-spacing:-.35px}
.eren-workspace .poll-stepper{border-bottom:1px solid var(--ui-line);background:#fdfbff}
.eren-workspace .poll-step.is-active>span{background:var(--ui-primary);color:white}
.eren-workspace .poll-builder-card{overflow:hidden}
.eren-workspace .poll-option-card{background:#f9f6fd;border:1px solid var(--ui-line);border-radius:13px}
.eren-workspace .poll-panel-title h2{font-size:24px;font-weight:800}
.eren-workspace .poll-form-group label{font-size:13px;font-weight:750}
.eren-workspace .poll-preview-card{background:white;color:var(--ui-ink);border-color:var(--ui-line);border-radius:17px}
.eren-page--enquete .container{max-width:1250px;margin:auto;padding:0}
.eren-page--enquete .poll-overview{margin-bottom:24px}
.eren-page--enquete .poll-overview h1{font-size:34px}
.eren-page--enquete .poll-metric{background:white;border-color:var(--ui-line);border-radius:14px}
.eren-page--enquete .link-panel{background:#fbf5fc;border-color:#e9d9f0;border-radius:15px}
.eren-page--enquete .link-value{background:white;color:#755285;border-color:#eadcf4}
.eren-page--enquete .enquete-tabs{border-bottom:1px solid var(--ui-line);background:transparent;padding-bottom:0;gap:22px}
.eren-page--enquete .tab-btn{border-radius:0;border:0;border-bottom:2px solid transparent;color:#7c6788;background:transparent;min-height:46px;padding:12px 1px;font-weight:700}
.eren-page--enquete .tab-btn.active{color:var(--ui-primary);border-bottom-color:var(--ui-primary);background:transparent}
.eren-page--enquete .tab-content{margin-top:25px;background:white;border:1px solid var(--ui-line);padding:26px;border-radius:18px}
.eren-page--enquete .ranking-item,.eren-page--enquete .config-card{background:#fdfbff;border-color:var(--ui-line);border-radius:12px}
.eren-page--enquete .chart-container{background:white;border:1px solid var(--ui-line);border-radius:15px}
.eren-page--enquete .config-container{gap:18px}
.eren-page--pesquisas-momento .page-title{margin:0 0 10px;font-size:34px}
.eren-page--pesquisas-momento .page-description{margin:0 0 28px;color:var(--ui-muted);font-size:14px}
.eren-page--pesquisas-momento .explore-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}
.eren-page--pesquisas-momento .card{background:white;border:1px solid var(--ui-line);border-radius:17px;padding:23px;box-shadow:var(--ui-shadow)}
.eren-page--pesquisas-momento .card-title{font-size:17px;font-weight:800;line-height:1.5}
.eren-page--pesquisas-momento .card-question{font-size:13px;color:var(--ui-muted);line-height:1.85}

/* Comunidades, perfis e tópicos */
.eren-workspace .communities-hero{background:linear-gradient(115deg,#fff5fa,#f3edfc);border:1px solid #eadcf1;border-radius:21px;padding:33px;min-height:0;box-shadow:none}
.eren-workspace .communities-hero h1{font-size:38px;line-height:1.2;color:var(--ui-ink)}
.eren-workspace .communities-hero h1 span{color:#ad3b92}
.eren-workspace .communities-hero-content>p{color:#80638e}
.eren-workspace .communities-hero-visual{background:none;border:0;min-height:180px}
.eren-workspace .communities-hero-visual>img{width:100%;height:185px;object-fit:cover;border-radius:17px;box-shadow:0 12px 26px #8d66831c}
.eren-workspace .community-profile-hero{background:white;border:1px solid var(--ui-line);box-shadow:var(--ui-shadow);border-radius:21px;overflow:hidden}
.eren-workspace .community-cover{background:linear-gradient(105deg,#eddef4,#f9dfeb)}
.eren-workspace .community-profile-content{background:white}
.eren-workspace .community-feed,.eren-workspace .community-sidebar{min-width:0}
.eren-workspace .profile-hero{background:white;border-color:var(--ui-line);border-radius:22px;box-shadow:var(--ui-shadow);overflow:hidden}
.eren-workspace .profile-cover{background:linear-gradient(110deg,#ecddf7,#f9e0ef)}
.eren-workspace .profile-body,.eren-workspace .profile-header-content{background:white}
.eren-workspace .profile-title-row h1{font-size:32px;font-weight:800}
.eren-workspace .profile-tabs{background:transparent;border-bottom:1px solid var(--ui-line)}
.eren-workspace .profile-tab.is-active{color:var(--ui-primary);border-color:var(--ui-primary)}
.eren-workspace .profile-sidebar .sidebar-card{padding:23px}
.eren-workspace .ep-photo-editor{border:1px solid #eee1f5;background:#fcf8fd;border-radius:14px}
.eren-workspace .ep-section{border-bottom-color:var(--ui-line)}
.eren-workspace .ep-section-heading h2{font-size:20px;font-weight:800}
.eren-workspace .ep-preview-cover{background:linear-gradient(110deg,#e9d7f6,#f8dcec)}
.eren-workspace .topic-reply-card{background:white;border:1px solid var(--ui-line);border-radius:14px}
.eren-workspace .topic-original-header{border-bottom-color:var(--ui-line)}
.eren-workspace .topic-composer{background:#fbf8fe;border-top-color:var(--ui-line)}
.eren-workspace .ct-idea-list button{background:#f9f4fd;border:1px solid #eadcf4;color:#785282;border-radius:10px}
.eren-workspace .ct-side-card{padding:25px}

/* Mensagens e ferramentas */
.eren-workspace .messages-shell{max-width:1230px;padding:0;margin:auto}
.eren-workspace .inbox-container{background:white;border-color:var(--ui-line);border-radius:19px;box-shadow:var(--ui-shadow);min-height:0;height:calc(100dvh - 150px);overflow:hidden}
.eren-workspace .inbox-sidebar{border-right-color:var(--ui-line);background:white}
.eren-workspace .conversation-item:hover,.eren-workspace .conversation-item.active{background:#f5eefb}
.eren-workspace .chat-container{max-width:930px;height:calc(100dvh - 155px);margin:0 auto;border:1px solid var(--ui-line);border-radius:19px;overflow:hidden;box-shadow:var(--ui-shadow);background:white}
.eren-workspace .chat-header{background:white;color:var(--ui-ink);border-bottom:1px solid var(--ui-line)}
.eren-workspace .message-list{background:#faf7fd}
.eren-workspace .message-bubble.sent{background:var(--ui-action);color:white}
.eren-workspace .message-bubble.received{background:white;border:1px solid #e9dff2;color:var(--ui-ink)}
.eren-workspace .message-input-area{background:white;border-top:1px solid var(--ui-line)}
.eren-workspace .doc-item{padding:21px 23px;margin-bottom:14px;align-items:center}
.eren-workspace .doc-titulo{font-size:16px;font-weight:750;color:var(--ui-primary)}
.eren-workspace .btn-export{background:#f4edf9;border:1px solid #e8dcf2;color:#78588f;border-radius:8px;padding:8px 13px;font-size:11px}
.eren-workspace .editor-container{max-width:1020px;margin:0 auto;padding:26px;background:white;border:1px solid var(--ui-line);border-radius:18px;box-shadow:var(--ui-shadow)}
.eren-workspace .editor-container>#titulo{font-size:25px;font-weight:800;margin-bottom:23px;border:0;border-bottom:1px solid var(--ui-line);border-radius:0;padding:15px 0;width:100%}
.eren-workspace .ql-toolbar{border-color:var(--ui-line)!important;background:#fbf8fe;border-radius:11px 11px 0 0}
.eren-workspace .ql-container{border-color:var(--ui-line)!important;min-height:360px;border-radius:0 0 11px 11px;font:15px/1.9 var(--ui-font)}
.eren-workspace .save-indicator{font-size:11px;color:var(--ui-muted);margin-top:13px}
.eren-workspace .rg-hero{background:linear-gradient(115deg,#fbf1f8,#f0eafa);border:1px solid #e7d6f0;border-radius:23px;color:var(--ui-ink);box-shadow:none}
.eren-workspace .rg-hero h1{color:var(--ui-ink);font-size:42px}
.eren-workspace .rg-hero h1 span{color:#ad408f}
.eren-workspace .rg-room-hero{background:linear-gradient(120deg,#f7ebf9,#f1eafc);border-color:#e6d8ef;border-radius:21px}
.eren-workspace .rg-player-card{background:white;border-color:var(--ui-line)}
.eren-workspace .rg-house-section{background:white;border-color:var(--ui-line);border-radius:17px}
.eren-workspace .rg-moderation-head{background:white;border:1px solid var(--ui-line);border-radius:18px;padding:27px}
.eren-workspace .rg-report-card{background:white;border-color:var(--ui-line);border-radius:15px}
.eren-photo-dialog{width:min(450px,calc(100vw - 36px));max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #eddef5;border-radius:23px;background:white;color:var(--ui-ink);padding:32px;box-shadow:0 25px 95px #35244930;font-family:var(--ui-font)}
.eren-photo-dialog::backdrop{background:#27193765;backdrop-filter:blur(5px)}
.eren-dialog-close{position:absolute;right:13px;top:13px}
.eren-dialog-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;color:var(--ui-primary);background:var(--ui-soft);margin-bottom:21px}
.eren-photo-dialog h2{font-size:26px;line-height:1.3;font-weight:800;letter-spacing:-.8px;margin:0 0 10px}
.eren-photo-dialog>p{font-size:13px;color:var(--ui-muted);line-height:1.8;margin:0 0 25px}
.eren-photo-dialog label{display:block;font-size:13px;font-weight:700;margin-bottom:10px}
.eren-photo-dialog input[type=file]{max-width:100%;font-size:12px;color:var(--ui-muted)}
.eren-photo-dialog input::file-selector-button{padding:10px 12px;border:1px solid var(--ui-line);border-radius:9px;background:var(--ui-soft);color:var(--ui-primary);font:600 12px var(--ui-font);margin-right:10px;cursor:pointer}
.eren-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:28px}
.eren-photo-preview{display:block;width:120px;height:120px;border-radius:50%;object-fit:cover;margin:25px auto}
.eren-ajax-progress{font-size:12px;color:var(--ui-muted)}

/* Cadastro e recuperação acompanham a identidade da página de entrada. */
.eren-auth .page{max-width:1160px;min-height:100dvh;margin:auto;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:70px;padding:55px 40px}
.eren-auth .brand{margin-bottom:32px}
.eren-auth .brand img{width:156px;height:46px;object-fit:contain}
.eren-auth .hero h1{font:800 clamp(36px,4vw,55px)/1.15 var(--ui-font);color:var(--ui-ink);letter-spacing:-2px}
.eren-auth .hero p{color:var(--ui-muted);font:400 16px/1.85 var(--ui-font)}
.eren-auth .hero .badge{background:#f7e8f4;border:1px solid #edd8ee;color:#a23988;box-shadow:none}
.eren-auth .form-card,.eren-auth .login-box,.eren-auth .confirm-card{background:white;border:1px solid #ece2f3;color:var(--ui-ink);border-radius:22px;padding:32px;box-shadow:var(--ui-shadow)}
.eren-auth .form-card h2,.eren-auth .login-box h2{color:var(--ui-ink);font-weight:800;font-size:27px;letter-spacing:-.8px}
.eren-auth .field label{color:#6c517c;font-weight:650;font-size:13px}
.eren-auth .field input,.eren-auth .login-box input{background:#fcf9ff;color:var(--ui-ink);border-color:#e2d5ed;border-radius:11px;font-size:15px}
.eren-auth button[type=submit],.eren-auth .form-card .button-primary{background:var(--ui-action);color:white;border:0;border-radius:11px;font-weight:750}
.eren-auth .footer,.eren-auth .form-card p,.eren-auth .back-link,.eren-auth .login-link{color:var(--ui-muted)}
.eren-auth .confirm-shell{min-height:100dvh;display:grid;place-items:center;padding:30px}
.eren-auth .confirm-icon{color:var(--ui-primary);background:var(--ui-soft)}
.eren-auth .confirm-card{max-width:540px}

/* Telas pequenas */
@media(max-width:1250px){.eren-header{gap:20px;padding:0 25px}.eren-brand{width:150px}.eren-header-create{display:none}.eren-page--dashboard .main-wrapper{grid-template-columns:minmax(0,1fr) 260px;gap:21px}.eren-workspace{padding:27px}.eren-workspace .communities-hero h1{font-size:33px}.eren-workspace .rg-hero h1{font-size:35px}.eren-page--pesquisas-momento .explore-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1100px){.eren-sidebar{width:220px;padding-left:17px;padding-right:13px}.eren-workspace{margin-left:220px;padding:25px}.eren-brand{width:160px}.eren-page--dashboard .main-wrapper{grid-template-columns:minmax(0,1fr)}.eren-page--dashboard .right-sidebar{position:static;display:grid;grid-template-columns:1fr 1fr;gap:17px}.eren-page--dashboard .right-sidebar>.sidebar-card{margin:0}.eren-workspace .communities-hero{padding:28px}.eren-workspace .communities-hero-visual>img{height:166px}}
@media(max-width:970px){.eren-header{min-height:74px;padding:0 23px;gap:18px}.eren-brand{width:132px}.eren-brand img{width:132px;height:40px}.eren-menu-toggle{display:inline-flex}.eren-search{width:min(350px,38vw)}body.eren-app{padding-top:74px!important}.eren-sidebar{top:74px;bottom:0;width:254px;transform:translateX(-102%);transition:transform .2s;border-right:1px solid var(--ui-line);padding:24px}.eren-nav-open .eren-sidebar{transform:translateX(0)}.eren-nav-backdrop:not([hidden]){display:block;position:fixed;inset:74px 0 0;z-index:52;background:#2e183748;backdrop-filter:blur(2px);border:0}.eren-workspace{margin-left:0;padding:27px;min-height:calc(100dvh - 74px)}.eren-page--dashboard .main-wrapper{grid-template-columns:minmax(0,1fr) 280px}.eren-page--dashboard .right-sidebar{display:block}.eren-page--dashboard .right-sidebar>.sidebar-card{margin-bottom:17px}.eren-page--enquete .poll-overview h1{font-size:31px}}
@media(max-width:760px){.eren-page--dashboard .main-wrapper{grid-template-columns:minmax(0,1fr)}.eren-page--dashboard .right-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:18px}.eren-page--dashboard .right-sidebar>.sidebar-card{margin:0}.eren-workspace .communities-hero{grid-template-columns:minmax(0,1fr) 36%;gap:25px}.eren-workspace .communities-hero h1{font-size:30px}.eren-workspace .communities-hero-content>p{font-size:13px}.eren-workspace .communities-hero-visual>img{height:190px}.eren-auth .page{gap:40px;padding:40px 30px}.eren-auth .form-card{padding:27px}.eren-auth .hero h1{font-size:39px}}
@media(max-width:600px){.eren-header{min-height:68px;gap:12px;padding:0 17px}.eren-brand{width:124px}.eren-brand img{width:124px;height:37px}.eren-menu-toggle{width:27px;height:35px}.eren-header-actions{gap:7px}.eren-profile-button{padding:0;gap:0}.eren-profile-button>.eren-icon,.eren-messages-link{display:none}.eren-profile-button>.eren-avatar{width:34px;height:34px}.eren-icon-button{width:32px;height:36px;border-radius:10px}.eren-mobile-search{display:inline-flex}.eren-search{display:none;position:absolute;left:17px;right:17px;top:76px;width:auto;max-width:none;background:white}.eren-search-close{display:inline-flex;position:static;width:26px;height:30px}.eren-search-open .eren-search{display:flex}.eren-search-open .eren-header{padding-bottom:58px}.eren-search input{font-size:16px}.eren-search-results{max-height:60dvh}.eren-dropdown{position:fixed;top:79px;right:17px;max-width:calc(100vw - 34px)}.eren-notifications{width:370px;max-height:calc(100dvh - 155px)}.eren-profile-menu{width:254px}.eren-sidebar{top:68px;bottom:65px}.eren-nav-backdrop:not([hidden]){inset:68px 0 65px}body.eren-app{padding-top:68px!important}.eren-workspace{padding:23px 18px 92px;min-height:calc(100dvh - 68px)}.eren-mobile-nav{display:flex;align-items:center;justify-content:space-around;position:fixed;inset:auto 0 0;z-index:60;background:#fff;border-top:1px solid #e9e0f1;padding:9px 6px max(9px,env(safe-area-inset-bottom))}.eren-mobile-nav .eren-nav-link,.eren-mobile-nav>button{margin:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:56px;min-height:38px;padding:0 3px;background:none;border:0;color:#7c6786;font:600 8px/1.4 var(--ui-font);text-decoration:none}.eren-mobile-nav .eren-nav-link .eren-icon,.eren-mobile-nav>button .eren-icon{width:20px;height:20px}.eren-mobile-nav .is-current{color:var(--ui-primary)!important}.eren-workspace h1{font-size:29px;letter-spacing:-.9px}.eren-workspace :is(input[type=text],input[type=email],input[type=url],input[type=password],textarea,select){font-size:16px}.eren-workspace .polls-hero h1,.eren-workspace .poll-builder-heading h1{font-size:29px}.eren-page--dashboard .dashboard-intro h1{font-size:28px}.eren-page--dashboard .dashboard-intro p{font-size:12px}.eren-page--dashboard .tweet-box{padding:19px}.eren-page--dashboard .post{padding:19px}.eren-page--dashboard .composer-heading h2{font-size:14px}.eren-page--dashboard .composer-heading p{font-size:10px}.eren-page--dashboard .prompt-chip{font-size:9px;padding:8px}.eren-page--dashboard .right-sidebar{grid-template-columns:minmax(0,1fr)}.eren-workspace .communities-hero{display:block;padding:25px}.eren-workspace .communities-hero h1{font-size:33px}.eren-workspace .communities-hero-visual{display:none}.eren-workspace .profile-title-row h1{font-size:28px}.eren-page--pesquisas-momento .explore-grid{grid-template-columns:minmax(0,1fr)}.eren-page--pesquisas-momento .page-title{font-size:28px}.eren-page--enquete .poll-overview h1{font-size:29px}.eren-page--enquete .tab-content{padding:18px}.eren-page--enquete .enquete-tabs{gap:19px;overflow-x:auto;white-space:nowrap}.eren-page--enquete .tab-btn{font-size:11px}.eren-workspace .inbox-container{height:calc(100dvh - 155px)}.eren-workspace .chat-container{height:calc(100dvh - 165px)}.eren-workspace .doc-item{padding:19px;display:block}.eren-workspace .doc-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.eren-workspace .editor-container{padding:20px}.eren-workspace .editor-container>#titulo{font-size:23px}.eren-workspace .rg-hero h1{font-size:32px}.eren-photo-dialog{padding:27px}.eren-photo-dialog h2{font-size:24px}.eren-auth .page{display:block;padding:30px 22px;min-height:100dvh}.eren-auth .hero h1{font-size:34px;letter-spacing:-1.2px}.eren-auth .hero p{font-size:14px}.eren-auth .brand{margin-bottom:23px}.eren-auth .badges{display:none}.eren-auth .form-area{margin-top:27px}.eren-auth .form-card{padding:26px}.eren-auth .field input{font-size:16px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition:none!important}}

/* Inicial compacta: pesquisas primeiro, uma única lista e interesses ao lado. */
.eren-dash-side{position:sticky;top:110px;display:flex;flex-direction:column;gap:19px;min-width:0}
.eren-game-peek,.eren-interests-card{padding:24px;background:white;border:1px solid var(--ui-line);border-radius:18px;box-shadow:var(--ui-shadow)}
.eren-game-peek{background:linear-gradient(125deg,#fff4fa,#f4edfc);border-color:#ecddf2}
.eren-game-label{display:flex;align-items:center;gap:7px;color:#ad3f8c;font-size:11px;font-weight:800;margin-bottom:13px}
.eren-game-label .eren-icon{width:18px;height:18px}
.eren-game-peek h2{font-size:20px;line-height:1.35;letter-spacing:-.6px;margin:0 0 11px;font-weight:800}
.eren-game-peek p,.eren-interests-card p{font-size:12px;color:#7e638e;line-height:1.9;margin:0 0 19px}
.eren-game-avatars{display:flex;padding-left:5px;margin:0 0 19px}
.eren-game-avatars .eren-avatar{width:29px;height:29px;margin-left:-5px;border:2px solid white;font-size:9px}
.eren-game-peek .eren-button{width:100%;font-size:11px;min-height:40px;padding:10px 12px;gap:7px}
.eren-game-peek .eren-button .eren-icon{width:15px;height:15px}
.eren-community-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#faf0f8;color:#ae488d;margin-bottom:19px}
.eren-interests-card h2{font-size:19px;line-height:1.4;font-weight:800;letter-spacing:-.5px;margin:0 0 11px}
.eren-interests-card>a{display:flex;align-items:center;gap:7px;font-size:11px;font-weight:750;color:var(--ui-primary);text-decoration:none}
.eren-interests-card>a .eren-icon{width:15px;height:15px}
.eren-page-footer{display:flex;justify-content:space-between;gap:20px;margin:35px 0 0;border-top:1px solid var(--ui-line);padding:24px 0;background:transparent;color:#7c6787;font-size:10px}
.eren-page-footer a{color:#855b94!important}
.eren-workspace :is(.rg-btn-primary,.create-reality-btn,.btn-votar,.publish-btn,.link-generate-btn,.btn-save-config){background:var(--ui-action);border-color:transparent;color:white!important;border-radius:11px}
.eren-workspace .rg-btn-ghost{background:var(--ui-soft);color:var(--ui-primary);border-color:#e5d8f2;border-radius:11px}
.eren-workspace .comentario-item{background:#fcf9fe;border:1px solid var(--ui-line);border-radius:12px;padding:18px;margin-bottom:13px}
.eren-workspace .comment-item,.eren-workspace .reply-item{border-color:var(--ui-line);background:white;border-radius:13px}
.eren-workspace .comment-user-photo{object-fit:cover;border-radius:50%}
@media(max-width:1100px){.eren-dash-side{position:static;display:grid;grid-template-columns:1fr 1fr}}
@media(max-width:970px){.eren-sidebar{visibility:hidden}.eren-nav-open .eren-sidebar{visibility:visible}.eren-dash-side{position:sticky;display:flex}}
@media(max-width:760px){.eren-dash-side{position:static;display:grid;grid-template-columns:1fr 1fr}.eren-page--dashboard .eren-discovery .moment-content{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.eren-page--dashboard .eren-discovery .moment-content{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:min(78%,255px);overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px;scrollbar-width:thin;scrollbar-color:#dcc9e8 transparent}.eren-page--dashboard .eren-discovery .poll-card{scroll-snap-align:start;padding:19px}.eren-page--dashboard .eren-discovery .poll-card h3{font-size:15px}.eren-page--dashboard .eren-discovery .poll-card>p{font-size:12px}.eren-page--dashboard .eren-discovery .poll-info a{min-height:37px;font-size:11px}.eren-dash-side{display:block}.eren-game-peek,.eren-interests-card{margin-bottom:19px}.eren-game-peek{padding:23px}.eren-game-peek .eren-button{min-height:42px;font-size:12px}.eren-page-footer{font-size:9px}.eren-auth .brand{display:block!important}.eren-auth .page{grid-template-columns:1fr}.eren-auth .hero h1{font-size:30px;margin-top:15px}.eren-auth .hero p{font-size:13px}.eren-auth .badges{display:none}}

.highcharts-root{font-family:var(--ui-font)!important}.highcharts-axis-labels text,.highcharts-legend-item text,.highcharts-title,.highcharts-subtitle{fill:var(--ui-ink)!important}
.comment-state,.comment-submit-status,.comments-recent-note{font-size:12px;color:var(--ui-muted);line-height:1.8}.comment-state.is-error{color:var(--ui-danger)}.comment-text{white-space:pre-wrap;overflow-wrap:anywhere}

.eren-workspace .section-title::after{display:none}

.eren-public-view .eren-workspace{margin-left:0}.eren-public-view .eren-workspace>main{max-width:1100px!important}
/* A estrutura de página não depende do antigo alinhamento flex do body. */
body.eren-app,body.eren-auth{height:auto!important}
body.eren-auth{display:block!important}
body.eren-page--ver-storie{overflow:auto!important}
.eren-page--ver-storie .story-container{height:calc(100dvh - 165px);max-width:460px;width:100%;margin:0 auto}
@media(max-width:850px){.eren-auth .page{display:block;max-width:620px;padding:35px 27px}.eren-auth .brand{display:block}.eren-auth .hero h1{font-size:34px}.eren-auth .hero p{font-size:14px}.eren-auth .form-area{margin-top:26px}}

.eren-sidebar-research{display:flex;align-items:center;justify-content:center;gap:7px;margin:13px 0 0;color:var(--ui-muted);font-size:11px;text-decoration:none}
.eren-sidebar-research:hover{color:var(--ui-primary)}
.eren-sidebar-research .eren-icon{width:14px;height:14px}

.eren-page--post #commentsTitle{scroll-margin-top:105px}

/* v15: sair da conta por POST e aviso discreto de acesso lembrado. */
.eren-profile-menu .eren-logout-form{margin:0;padding:0;border:0;background:none}
.eren-profile-menu .eren-logout-form>.eren-logout{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;padding:11px 13px;border:0;border-radius:8px;text-align:left;background:transparent;color:var(--ui-danger);font:650 12px var(--ui-font)}
.eren-profile-menu .eren-logout-form>.eren-logout:hover{background:#fff0f5}
.eren-auth-notice{position:relative;z-index:21;max-width:720px;margin:12px auto;padding:10px 16px;border:1px solid #f2e4bd;border-radius:9px;background:#fff9e8;color:#665b3e;font:500 12px/1.6 var(--ui-font)}
@media(max-width:760px){.eren-auth-notice{margin:8px 12px}}
