:root{--bg:#070707;--bg2:#0e0e0e;--panel:#111;--panel2:#171717;--line:#292929;--text:#f5f5f2;--muted:#a6a6a2;--gold:#ffc400;--gold2:#e9a900;--danger:#ff5252;--success:#43d17b;--info:#5aa8ff;--shadow:0 20px 60px rgba(0,0,0,.35);--radius:18px;--radius-sm:12px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 10% -10%,rgba(255,196,0,.11),transparent 34%),var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 32px));margin:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(7,7,7,.78);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.07)}.header-inner{height:76px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:.02em}.brand img{width:42px;height:42px;border-radius:12px;object-fit:cover;border:1px solid #2f2f2f}.brand span b{color:var(--gold)}.site-nav{display:flex;gap:22px;margin-left:auto;color:#d6d6d1}.site-nav a:hover{color:var(--gold)}.header-actions{display:flex;gap:10px}.btn{border:1px solid #3a3a3a;background:#1b1b1b;color:#fff;border-radius:11px;padding:11px 16px;font-weight:800;transition:.18s ease;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn:hover{transform:translateY(-1px);border-color:#5b5b5b}.btn.primary{background:linear-gradient(135deg,var(--gold),var(--gold2));border-color:#ffd84a;color:#100d00;box-shadow:0 8px 30px rgba(255,196,0,.16)}.btn.ghost{background:transparent}.btn.danger{background:#2a1111;border-color:#6d2a2a;color:#ff8989}.btn.small{padding:8px 12px;font-size:.9rem}.btn.tiny{padding:6px 9px;font-size:.78rem;border-radius:9px}.hero{padding:88px 0 70px}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:58px}.eyebrow{color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:.13em;font-size:.78rem}.hero h1{font-size:clamp(2.6rem,6vw,5.3rem);line-height:.95;margin:.22em 0}.hero h1 span{color:var(--gold)}.hero-copy{font-size:1.15rem;color:#c5c5c0;max-width:700px}.hero-actions{display:flex;gap:12px;margin:28px 0}.feature-pills{display:flex;flex-wrap:wrap;gap:8px}.feature-pills span{border:1px solid #2d2d2d;background:#111;padding:7px 10px;border-radius:999px;color:#c9c9c4;font-size:.84rem}.hero-card{background:linear-gradient(160deg,#151515,#0b0b0b);border:1px solid #292929;border-radius:26px;box-shadow:var(--shadow);padding:22px;position:relative;overflow:hidden}.hero-card:before{content:"";position:absolute;inset:-40% auto auto 45%;width:350px;height:350px;border-radius:50%;background:rgba(255,196,0,.12);filter:blur(35px)}.hero-card>*{position:relative}.dashboard-mock{display:grid;gap:14px}.mock-top{display:flex;align-items:center;gap:12px}.mock-logo{width:58px;height:58px;border-radius:16px;overflow:hidden}.mock-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.mock-stats div,.mock-line{background:#0c0c0c;border:1px solid #272727;border-radius:14px;padding:14px}.mock-stats small,.mock-line small{color:#8f8f8b;display:block}.mock-stats strong{font-size:1.55rem;color:var(--gold)}.mock-lines{display:grid;gap:8px}.mock-line{display:flex;align-items:center;justify-content:space-between}.section{padding:70px 0}.section.alt{background:#0b0b0b;border-block:1px solid #171717}.section-headline{max-width:760px;margin-bottom:30px}.section-headline h2{font-size:clamp(2rem,4vw,3.2rem);margin:.2em 0}.section-headline p{color:var(--muted)}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.feature-card,.public-card,.event-mini,.feed-preview{background:var(--panel);border:1px solid #252525;border-radius:var(--radius);padding:20px}.feature-card .icon{font-size:1.8rem;color:var(--gold)}.feature-card h3{margin:12px 0 7px}.feature-card p,.public-card p,.event-mini p{color:var(--muted)}.public-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.public-card{display:flex;gap:14px;align-items:flex-start;grid-column:span 1}.public-card>div:nth-child(2){flex:1}.card-avatar,.guild-logo-xl,.avatar-xl,.mini-avatar{background:#090909;border:1px solid #2b2b2b;display:grid;place-items:center;overflow:hidden;font-weight:900;color:var(--gold)}.card-avatar{width:52px;height:52px;border-radius:14px;flex:none}.card-avatar img,.guild-logo-xl img,.avatar-xl img,.mini-avatar img{width:100%;height:100%;object-fit:cover}.meta-row{display:flex;gap:14px;flex-wrap:wrap;color:#9e9e98;font-size:.83rem}.event-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.event-mini,.event-card{display:flex;flex-direction:column;gap:9px}.event-type{align-self:flex-start;background:rgba(255,196,0,.12);color:var(--gold);border:1px solid rgba(255,196,0,.28);font-weight:900;border-radius:999px;padding:4px 8px;font-size:.72rem;letter-spacing:.08em}.text-link{color:var(--gold);font-weight:800}.feed-public{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.feed-author{display:flex;align-items:center;gap:10px}.feed-author small{display:block;color:#858580}.mini-avatar{width:38px;height:38px;border-radius:11px;flex:none}.post-img{width:100%;max-height:430px;object-fit:cover;border-radius:13px;border:1px solid #2a2a2a}.login-section{display:grid;grid-template-columns:1fr .85fr;gap:32px;align-items:center}.login-box{background:#111;border:1px solid #292929;border-radius:20px;padding:22px}.login-box label,.form-grid label{display:grid;gap:7px;color:#d5d5d0;font-weight:700}.login-box input,.form-grid input,.form-grid textarea,.form-grid select,.inline-form input,.inline-form select,.composer textarea,.comment-form input{width:100%;background:#090909;color:#fff;border:1px solid #303030;border-radius:10px;padding:11px 12px;outline:none}.login-box input:focus,.form-grid input:focus,.form-grid textarea:focus,.form-grid select:focus,.inline-form input:focus,.composer textarea:focus,.comment-form input:focus{border-color:#a17d00;box-shadow:0 0 0 3px rgba(255,196,0,.08)}.login-box form{display:grid;gap:12px}.site-footer{padding:35px 0;border-top:1px solid #222;color:#92928e}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer-links{display:flex;gap:14px;flex-wrap:wrap}.footer-links a:hover{color:var(--gold)}
/* app shell */.app-body{overflow-x:hidden}.auth-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{padding:7vw;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 40% 20%,rgba(255,196,0,.18),transparent 40%),#080808;border-right:1px solid #1d1d1d}.auth-brand img{width:110px;height:110px;border-radius:28px;margin-bottom:24px}.auth-brand h1{font-size:clamp(2.4rem,5vw,4.8rem);line-height:1;margin:0}.auth-brand h1 span{color:var(--gold)}.auth-brand p{color:#b2b2ad;max-width:600px}.auth-card-wrap{display:grid;place-items:center;padding:36px}.auth-card{width:min(480px,100%);background:#101010;border:1px solid #272727;border-radius:22px;padding:24px;box-shadow:var(--shadow)}.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;background:#090909;padding:5px;border-radius:12px;margin-bottom:18px}.auth-tabs button{border:0;background:transparent;color:#999;padding:10px;border-radius:9px;font-weight:800}.auth-tabs button.active{background:#1c1c1c;color:#fff}.auth-panel{display:grid;gap:13px}.auth-panel[hidden]{display:none}.auth-panel label{display:grid;gap:6px}.auth-panel input,.auth-panel select{background:#080808;border:1px solid #303030;color:#fff;border-radius:10px;padding:11px}.auth-help{display:flex;justify-content:space-between;gap:10px;margin-top:8px}.text-btn{background:none;border:0;color:#bdbdb7;padding:0}.text-btn:hover,.text-btn.liked{color:var(--gold)}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px 1fr}.app-shell[hidden]{display:none}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;background:#0b0b0b;border-right:1px solid #222;display:flex;flex-direction:column;z-index:40}.sidebar .brand{padding:18px}.main-nav{padding:2px 10px;overflow:auto;flex:1}.nav-item{width:100%;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#aaa;text-align:left;padding:10px 12px;border-radius:10px;font-weight:700;margin:2px 0}.nav-item:hover{background:#151515;color:#fff}.nav-item.active{background:linear-gradient(90deg,rgba(255,196,0,.15),rgba(255,196,0,.03));color:var(--gold);box-shadow:inset 3px 0 0 var(--gold)}.sidebar-user{border-top:1px solid #202020;padding:14px;display:flex;align-items:center;gap:10px}.sidebar-user .grow{min-width:0}.sidebar-user strong,.sidebar-user small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-user small{color:#81817d}.app-main{grid-column:2;padding:0 0 50px;min-width:0}.app-topbar{height:68px;position:sticky;top:0;z-index:30;background:rgba(7,7,7,.84);backdrop-filter:blur(14px);border-bottom:1px solid #202020;display:flex;align-items:center;padding:0 28px;justify-content:space-between}.mobile-menu-button{display:none;background:transparent;border:1px solid #333;color:#fff;border-radius:9px;padding:8px 10px}.topbar-right{color:#8d8d88;font-size:.85rem}.page-content{width:min(1240px,calc(100% - 48px));margin:30px auto}.page-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-end;margin-bottom:22px}.page-heading h1{margin:0;font-size:2.2rem}.page-heading p{margin:4px 0 0;color:#989893}.heading-actions{display:flex;gap:8px}.panel{background:var(--panel);border:1px solid #252525;border-radius:var(--radius);padding:20px;margin-bottom:16px}.panel h2,.panel h3{margin-top:0}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.stat{background:linear-gradient(145deg,#151515,#0d0d0d);border:1px solid #252525;border-radius:16px;padding:18px}.stat small,.stat span{color:#888883;display:block}.stat strong{font-size:1.55rem;display:block;margin:5px 0}.dashboard-grid{display:grid;grid-template-columns:1.35fr .65fr;gap:16px}.goal-row,.link-row,.warning-card,.team-row,.notification{display:flex;align-items:center;gap:12px;justify-content:space-between;border-bottom:1px solid #242424;padding:12px 0}.goal-row:last-child,.link-row:last-child{border-bottom:0}.goal-row small,.link-row small{display:block;color:#878783}.goal-row b{color:var(--gold);font-size:1.3rem}.quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick{border:1px solid #2b2b2b;background:#0d0d0d;color:#fff;border-radius:13px;padding:18px;display:grid;gap:4px;font-size:1.2rem}.quick span{font-size:.82rem;color:#aaa}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.form-grid .span-2{grid-column:span 2}.form-grid small{font-weight:400;color:#858580}.form-actions{display:flex;justify-content:flex-end;gap:8px}.check{display:flex!important;grid-template-columns:auto 1fr;align-items:center}.check input{width:auto}.profile-photo-editor{grid-row:span 3;display:flex;flex-direction:column;align-items:center;gap:10px}.avatar-xl{width:150px;height:150px;border-radius:28px;font-size:2rem}.file-btn input{display:none}.guild-hero{display:flex;align-items:center;gap:20px}.guild-logo-xl{width:110px;height:110px;border-radius:24px;font-size:1.5rem;flex:none}.grow{flex:1;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.section-head h2,.section-head h3{margin:0}.danger-zone{border-color:#492020}.card-list{display:grid;gap:10px}.member-card{display:flex;align-items:center;gap:13px;background:#0d0d0d;border:1px solid #252525;border-radius:14px;padding:13px}.member-card p{margin:3px 0;color:#a0a09b}.member-card small{color:#7f7f7a}.row-actions{display:flex;gap:7px;flex-wrap:wrap}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse;min-width:720px}th,td{text-align:left;padding:12px 10px;border-bottom:1px solid #242424;vertical-align:middle}th{color:#858580;font-size:.75rem;text-transform:uppercase;letter-spacing:.07em}td small.block{display:block;color:#777}.user-cell{display:flex;align-items:center;gap:9px}.badge{display:inline-flex;border:1px solid #3a3a3a;background:#1d1d1d;border-radius:999px;padding:4px 8px;font-size:.72rem;font-weight:800}.badge.success{color:#69e79a;border-color:#245e39;background:#0d2416}.badge.info{color:#86c3ff;border-color:#244a70;background:#0e1d2b}.badge.warn{color:#ffd66b;border-color:#65511c;background:#261e08}.badge.gold{color:#181000;background:var(--gold);border-color:var(--gold)}.slot-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:15px 0}.slot-grid.compact{grid-template-columns:repeat(6,1fr)}.slot-card{border:1px dashed #383838;background:#0b0b0b;color:#aaa;border-radius:14px;padding:15px;display:grid;gap:7px;min-height:125px;align-content:center;text-align:center}.slot-card.filled{border-style:solid;border-color:#5a4708;background:rgba(255,196,0,.045);color:#fff}.slot-card span,.slot-card small{font-size:.75rem;color:#7f7f7a}.slot-card .mini-avatar{margin:auto}.line-stack{display:grid;gap:14px}.picker-list{display:grid;gap:7px;max-height:60vh;overflow:auto}.picker-item{border:1px solid #292929;background:#0b0b0b;color:#fff;padding:12px;text-align:left;border-radius:11px;display:grid}.picker-item small{color:#888}.goal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.goal-card{position:relative;background:#0c0c0c;border:1px solid #282828;border-radius:14px;padding:16px;display:grid;gap:5px}.goal-card strong{color:var(--gold);font-size:1.8rem}.goal-card small{color:#898984}.goal-card .icon-btn{position:absolute;right:8px;top:8px}.event-card{background:#111;border:1px solid #272727;border-radius:16px;padding:18px}.event-card h2{margin:2px 0}.event-card p{color:#9b9b96}.event-card-top{display:flex;justify-content:space-between;gap:10px}.meta-grid{display:flex;flex-wrap:wrap;gap:10px;color:#8b8b86;font-size:.82rem}.room-box{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:8px;background:#090909;border:1px solid #3c3107;padding:13px;border-radius:12px;margin:12px 0}.room-box span{color:#8a8a84}.room-box strong{color:var(--gold)}.xtest-board{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.xt-team{background:#0b0b0b;border:1px solid #282828;border-radius:13px;padding:10px}.xt-team>strong{color:var(--gold);display:block;margin-bottom:7px}.xt-slot{display:flex;gap:8px;align-items:center;border-top:1px solid #242424;padding:8px 0}.xt-slot>span{width:24px;height:24px;border:1px solid #333;border-radius:7px;display:grid;place-items:center;color:#777}.xt-slot small{display:block;color:#777}.xt-slot.filled>span{background:var(--gold);color:#100;border-color:var(--gold)}.tag-cloud{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:15px}.tag{background:#151515;border:1px solid #303030;border-radius:999px;padding:6px 10px}.bracket-scroll{display:flex;gap:18px;overflow:auto;padding:8px 0}.round{min-width:210px;display:grid;gap:10px;align-content:start}.round>strong{color:var(--gold)}.match{background:#0b0b0b;border:1px solid #292929;border-radius:11px;color:#fff;text-align:left;padding:8px}.match span{display:block;padding:5px;border-bottom:1px solid #222}.match span:last-child{border-bottom:0}.composer textarea{resize:vertical}.composer-actions{display:flex;justify-content:space-between;margin-top:9px}.feed-list{display:grid;gap:14px}.post{max-width:760px;margin-inline:auto;width:100%}.post-body{white-space:pre-wrap;font-size:1.04rem}.post-actions{display:flex;gap:20px;padding:10px 0;color:#999}.comments{border-top:1px solid #222;padding-top:8px}.comments p{margin:6px 0;color:#c1c1bc}.comment-form{display:flex;gap:8px}.comment-form button{border:0;background:transparent;color:var(--gold);font-weight:800}.notification-list{display:grid}.notification{justify-content:flex-start}.notification.unread{background:rgba(255,196,0,.035)}.notif-dot{width:8px;height:8px;border-radius:50%;background:#444;flex:none}.notification.unread .notif-dot{background:var(--gold);box-shadow:0 0 15px rgba(255,196,0,.6)}.notification p{margin:2px 0;color:#999}.timeline{display:grid}.timeline article{display:flex;gap:13px;position:relative;padding-bottom:20px}.timeline article>span{width:10px;height:10px;border-radius:50%;background:var(--gold);margin-top:6px;box-shadow:0 0 0 5px rgba(255,196,0,.1)}.timeline article:after{content:"";position:absolute;left:4px;top:18px;bottom:0;width:1px;background:#333}.timeline article:last-child:after{display:none}.timeline p,.timeline small{margin:2px 0;color:#858580}.notice,.error-box{border:1px solid #584609;background:#1e1807;color:#e6d58b;border-radius:12px;padding:13px;margin-bottom:14px}.error-box{border-color:#642828;background:#240e0e;color:#ff9c9c}.empty-state{min-height:130px;display:grid;place-items:center;text-align:center;align-content:center;color:#858580;padding:28px}.empty-state strong{color:#c8c8c3}.empty-state p{margin:5px 0}.empty-icon{font-size:2rem;color:#555}.icon-btn{width:34px;height:34px;border:1px solid #303030;background:#151515;color:#aaa;border-radius:9px}.danger-text{color:#ff7777!important}.inline-form{display:flex;gap:10px}.inline-form input{flex:1}.modal-root{position:fixed;inset:0;pointer-events:none;z-index:100}.modal-root.open{pointer-events:auto}.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.7);backdrop-filter:blur(7px)}.modal{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100% - 28px));max-height:88vh;overflow:auto;background:#111;border:1px solid #333;border-radius:18px;box-shadow:0 30px 100px #000}.modal>header,.modal>footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid #262626}.modal>footer{border-top:1px solid #262626;border-bottom:0;justify-content:flex-end}.modal>header h3{margin:0}.modal-body{padding:18px}.toast-wrap{position:fixed;right:16px;bottom:16px;display:grid;gap:8px;z-index:150;width:min(380px,calc(100% - 32px))}.toast{background:#191919;border:1px solid #333;border-left:4px solid #777;border-radius:11px;padding:12px 14px;box-shadow:var(--shadow);transition:.25s}.toast-success{border-left-color:var(--success)}.toast-error{border-left-color:var(--danger)}.toast-warn{border-left-color:var(--gold)}.toast-info{border-left-color:var(--info)}.toast-out{opacity:0;transform:translateY(10px)}.skeleton-list{display:grid;gap:12px}.skeleton{height:120px;border-radius:16px;background:linear-gradient(90deg,#101010,#181818,#101010);background-size:200% 100%;animation:sk 1.3s infinite}@keyframes sk{to{background-position:-200% 0}}.sidebar-overlay{display:none}.legal{max-width:900px;margin:60px auto;padding:0 22px}.legal h1{font-size:2.5rem}.legal h2{margin-top:32px;color:var(--gold)}.legal p,.legal li{color:#c0c0bb}.legal .back{color:var(--gold);font-weight:800}
@media(max-width:1000px){.feature-grid,.public-grid,.event-grid,.feed-public{grid-template-columns:repeat(2,1fr)}.hero-grid{grid-template-columns:1fr}.hero-card{max-width:700px}.stat-grid{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.xtest-board{grid-template-columns:repeat(3,1fr)}.slot-grid,.slot-grid.compact{grid-template-columns:repeat(3,1fr)}.goal-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.site-nav{display:none}.header-actions .ghost{display:none}.header-inner{height:66px}.hero{padding-top:50px}.hero-actions{flex-direction:column;align-items:stretch}.feature-grid,.public-grid,.event-grid,.feed-public{grid-template-columns:1fr}.login-section{grid-template-columns:1fr}.footer-inner{display:grid}.auth-screen{grid-template-columns:1fr}.auth-brand{display:none}.auth-card-wrap{padding:18px;min-height:100vh}.app-shell{display:block}.sidebar{transform:translateX(-103%);transition:.22s}.menu-open .sidebar{transform:translateX(0)}.sidebar-overlay{position:fixed;inset:0;background:rgba(0,0,0,.6);z-index:35}.menu-open .sidebar-overlay{display:block}.app-main{grid-column:auto}.mobile-menu-button{display:block}.app-topbar{padding:0 14px}.page-content{width:min(100% - 24px,1240px);margin-top:18px}.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:1.75rem}.stat-grid{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.form-grid .span-2{grid-column:auto}.profile-photo-editor{grid-row:auto}.guild-hero{align-items:flex-start}.slot-grid,.slot-grid.compact{grid-template-columns:repeat(2,1fr)}.xtest-board{grid-template-columns:repeat(2,1fr)}.goal-grid{grid-template-columns:1fr 1fr}.member-card{align-items:flex-start;flex-wrap:wrap}.member-card .row-actions{width:100%}.room-box{grid-template-columns:auto 1fr}.inline-form{flex-direction:column}}
@media(max-width:460px){.brand span{font-size:.86rem}.hero h1{font-size:2.55rem}.stat-grid{grid-template-columns:1fr}.slot-grid,.slot-grid.compact,.xtest-board,.goal-grid{grid-template-columns:1fr}.app-topbar .topbar-right{display:none}.guild-hero{display:grid}.public-card{flex-wrap:wrap}.public-card .btn{width:100%}}
.team-member-field{border:1px solid #2c2c2c;border-radius:12px;padding:12px;margin:0;background:#0b0b0b}.team-member-field legend{color:var(--gold);font-weight:800;padding:0 6px}.match:disabled{opacity:.55;cursor:not-allowed}

.auth-intro{display:grid;gap:3px;padding:2px 0 6px}.auth-intro strong{font-size:1.12rem}.auth-intro small{color:#8f8f8b}.field-action{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.field-action .btn{white-space:nowrap}.lookup-status{min-height:20px;margin-top:-7px;color:#94948f;font-size:.82rem}.lookup-status.ok{color:var(--success)}.lookup-status.warn{color:#f2cb56}.lookup-status.err{color:#ff8a8a}.lookup-summary{border:1px solid #333;background:#0b0b0b;border-radius:11px;padding:10px 12px;color:#c9c9c3;font-size:.86rem}.lookup-summary b{color:var(--gold)}.password-field{position:relative}.password-field input{padding-right:96px}.password-toggle{position:absolute!important;right:4px;top:50%;z-index:2;display:inline-flex!important;align-items:center;gap:4px;transform:translateY(-50%);border:0!important;background:transparent!important;color:#f2cb56!important;cursor:pointer;font-size:.8rem!important;font-weight:700;line-height:1;padding:9px}.password-toggle:hover,.password-toggle:focus-visible{color:#fff!important;outline:1px solid #f2cb56}@media(max-width:520px){.field-action{grid-template-columns:1fr}.field-action .btn{width:100%}.password-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.password-field input{min-width:0;padding-right:12px}.password-toggle{position:static!important;min-height:42px;transform:none;background:#181818!important;border:1px solid #f2cb56!important;border-radius:9px;color:#f2cb56!important;padding:0 11px}}
.auth-intro{display:grid;gap:3px;padding:2px 0 6px}.auth-intro strong{font-size:1.12rem}.auth-intro small{color:#8f8f8b}.field-action{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.field-action .btn{white-space:nowrap}.lookup-status{min-height:20px;margin-top:-7px;color:#94948f;font-size:.82rem}.lookup-status.ok{color:var(--success)}.lookup-status.warn{color:#f2cb56}.lookup-status.err{color:#ff8a8a}.lookup-summary{border:1px solid #333;background:#0b0b0b;border-radius:11px;padding:10px 12px;color:#c9c9c3;font-size:.86rem}.lookup-summary b{color:var(--gold)}.password-field{position:relative}.password-field input{padding-right:96px}.password-toggle{position:absolute!important;right:4px;top:50%;z-index:2;display:inline-flex!important;align-items:center;gap:4px;transform:translateY(-50%);border:0!important;background:transparent!important;color:#f2cb56!important;cursor:pointer;font-size:.8rem!important;font-weight:700;line-height:1;padding:9px}.password-toggle:hover,.password-toggle:focus-visible{color:#fff!important;outline:1px solid #f2cb56}@media(max-width:520px){.field-action{grid-template-columns:1fr}.field-action .btn{width:100%}.password-field{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.password-field input{min-width:0;padding-right:12px}.password-toggle{position:static!important;min-height:42px;transform:none;background:#181818!important;border:1px solid #f2cb56!important;border-radius:9px;color:#f2cb56!important;padding:0 11px}}@media(max-width:760px){.header-inner{height:auto;min-height:66px;padding:10px 0;flex-wrap:wrap;gap:12px}.site-nav{display:flex;width:100%;order:3;margin-left:0;gap:14px;overflow-x:auto;padding-bottom:3px;white-space:nowrap}.header-actions .ghost{display:inline-flex}.auth-brand{display:flex;padding:32px 22px;min-height:auto;border-right:0;border-bottom:1px solid #1d1d1d}.auth-brand img{width:72px;height:72px;margin-bottom:14px}.auth-brand h1{font-size:2.35rem}.auth-card-wrap{min-height:auto}.app-topbar{height:auto;min-height:68px;padding:10px 14px;gap:8px;flex-wrap:wrap}.topbar-right{display:block!important;line-height:1.25}}@media(max-width:460px){.app-topbar .topbar-right{display:block!important;font-size:.76rem}.header-actions{width:100%}.header-actions .btn{flex:1;padding-inline:10px}.auth-brand{padding:26px 18px}}

/* ===== VK ORGANIZAÇÃO v3 structural components ===== */
.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem;margin-top:.6rem}.filter-row{display:flex;gap:.55rem;flex-wrap:wrap;margin:.7rem 0 1rem}.filter-chip{border:1px solid var(--line,#2b2b2b);background:transparent;color:inherit;border-radius:999px;padding:.5rem .8rem;cursor:pointer}.filter-chip.active{background:var(--accent,#f23885);border-color:transparent;color:#fff}.alert-chip{display:inline-flex;align-items:center;gap:.3rem;margin-left:.5rem;border:1px solid rgba(255,80,80,.45);background:rgba(255,80,80,.1);color:#ff9b9b;border-radius:999px;padding:.18rem .45rem;font-size:.72rem;cursor:pointer}.plain-pre{white-space:pre-wrap;word-break:break-word;font:inherit;background:rgba(255,255,255,.035);padding:.8rem;border-radius:.7rem}.profile-social-counts{display:flex;gap:.35rem;align-items:center;margin-top:.65rem;color:var(--muted,#aaa)}
.avatar-button,.link-button{appearance:none;border:0;background:none;color:inherit;padding:0;font:inherit;text-align:left;cursor:pointer}.link-button:hover{text-decoration:underline}.avatar-button{display:grid;place-items:center}.danger-text{color:#ff7b7b!important}.comment{padding:.55rem 0;border-top:1px solid rgba(255,255,255,.06)}.comment.reply{margin-left:1.25rem;padding-left:.8rem;border-left:2px solid rgba(255,255,255,.08)}.comment-actions{display:flex;gap:.65rem;margin-top:.25rem}.profile-post-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem;margin-top:.8rem}.mini-post{border:1px solid rgba(255,255,255,.08);border-radius:.8rem;padding:.85rem;background:rgba(255,255,255,.025)}.mini-post img{width:100%;max-height:240px;object-fit:cover;border-radius:.6rem;margin:.55rem 0}.profile-public-detail .profile-hero{align-items:flex-start}.card-avatar.large{width:86px;height:86px;min-width:86px}
.alert-disclaimer{border:1px solid rgba(255,180,60,.35)!important;background:linear-gradient(135deg,rgba(255,180,60,.08),rgba(255,255,255,.02))}.alert-disclaimer p{margin:.35rem 0 0;color:var(--muted,#aaa)}.alert-unread{box-shadow:inset 3px 0 0 #ffb23e}.alert-id-list,.report-stack{display:grid;gap:.8rem}.alert-id-card,.report-detail{border:1px solid rgba(255,255,255,.08);border-radius:.85rem;padding:1rem;background:rgba(255,255,255,.025)}.alert-id-card{display:flex;gap:1rem;align-items:center}.report-detail p{margin:.6rem 0}.status-chip{display:inline-flex;margin-left:.5rem;border-radius:999px;padding:.18rem .5rem;font-size:.72rem;border:1px solid rgba(255,255,255,.12)}.status-chip.info{background:rgba(62,139,255,.12);color:#9fc2ff}.status-chip.warn{background:rgba(255,178,62,.12);color:#ffd08a}.status-chip.danger{background:rgba(255,75,75,.12);color:#ff9b9b}.status-chip.muted{background:rgba(180,180,180,.08);color:#aaa}.contestation{margin-top:.7rem;padding:.75rem;border-left:3px solid #ffb23e;background:rgba(255,178,62,.06);border-radius:.4rem}.notification-button{width:100%;border:0;color:inherit;text-align:left;cursor:pointer}.notification-button:hover{background:rgba(255,255,255,.045)}.notification-button>span:last-child{margin-left:auto;font-size:1.4rem;color:var(--muted,#aaa)}
.bracket-match{display:grid;gap:.35rem;min-width:190px;padding:.7rem;border:1px solid rgba(255,255,255,.08);border-radius:.65rem;background:rgba(255,255,255,.025)}.ranking-list{display:grid;gap:.4rem}.ranking-list>div{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.06)}

@media(max-width:760px){.permission-grid{grid-template-columns:1fr}.alert-id-card{align-items:flex-start;flex-direction:column}.profile-hero{align-items:flex-start;flex-wrap:wrap}.profile-post-grid{grid-template-columns:1fr}.comment.reply{margin-left:.6rem}.notification-button{align-items:flex-start}}
.modal.wide{width:min(980px,calc(100vw - 2rem));max-width:980px}

/* v3 footer consistente em áreas públicas e internas */
.app-footer{padding:18px 22px;border-top:1px solid var(--line,#242424);font-size:12px;display:flex;gap:14px;flex-wrap:wrap;justify-content:center;align-items:center;opacity:.82}
.app-footer a{color:inherit;text-decoration:none}.app-footer a:hover{text-decoration:underline}
.legal-footer{margin-top:36px;padding-top:18px;border-top:1px solid var(--line,#242424);display:flex;gap:12px;flex-wrap:wrap;font-size:12px}
.ocr-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.6rem;align-items:end}.ocr-upload .form-note{grid-column:1/-1}.ocr-preview{border:1px solid var(--line,#2b2b2b);border-radius:.75rem;padding:.75rem;background:rgba(255,255,255,.025)}.ocr-entry{display:flex;gap:.75rem;align-items:center;padding:.65rem 0;border-top:1px solid rgba(255,255,255,.08)}.ocr-entry:first-of-type{border-top:0}.turnstile-box{min-height:66px;margin:.6rem 0}.form-note.ok{color:#9be7b0}.form-note.warn{color:#ffd27d}.form-note.err{color:#ff9b9b}@media(max-width:600px){.ocr-upload{grid-template-columns:1fr}.ocr-entry{align-items:flex-start;flex-direction:column}.ocr-entry .btn{width:100%}}

/* Responsive consistency pass */
.auth-screen>*,.auth-card-wrap,.auth-card,.auth-panel,.form-grid>*,.panel,.page-content,.dashboard-grid>*,.member-card>*,.public-card>*{min-width:0}.turnstile-box{width:100%;max-width:100%;min-width:0;overflow:hidden}.turnstile-box iframe{max-width:100%}.heading-actions,.row-actions,.form-actions,.composer-actions,.auth-help{flex-wrap:wrap}.panel,.auth-card,.feature-card,.public-card,.event-mini,.feed-preview,.event-card{overflow-wrap:anywhere}
@media(max-width:840px){.container{width:min(100% - 24px,1180px)}.header-inner{height:auto;min-height:66px;padding:10px 0;flex-wrap:wrap;gap:10px 14px}.brand{min-width:0}.brand span{white-space:nowrap}.site-nav{display:flex;order:3;width:100%;margin-left:0;gap:8px;overflow:visible;white-space:normal;flex-wrap:wrap;padding:8px 0 2px;border-top:1px solid rgba(255,255,255,.07)}.site-nav a{flex:1 1 auto;text-align:center;background:#111;border:1px solid #272727;border-radius:8px;padding:7px 8px;font-size:.82rem}.header-actions{margin-left:auto}.header-actions .ghost{display:inline-flex}.hero{padding:52px 0}.auth-screen{grid-template-columns:1fr}.auth-brand{display:flex;padding:30px 22px;min-height:auto;border-right:0;border-bottom:1px solid #1d1d1d}.auth-brand img{width:72px;height:72px;margin-bottom:14px}.auth-brand h1{font-size:clamp(2rem,9vw,3rem)}.auth-card-wrap{width:100%;min-width:0;min-height:auto;padding:20px 16px}.auth-card{width:min(480px,100%);max-width:100%;padding:20px}.app-main{width:100%}.page-content{width:min(100% - 24px,1240px)}.table-wrap{width:100%;max-width:100%}.room-box{grid-template-columns:minmax(70px,auto) minmax(0,1fr)}.composer-actions{gap:10px}.composer-actions>*{max-width:100%}}
@media(max-width:520px){.container{width:min(100% - 20px,1180px)}.header-inner{justify-content:center}.brand{width:100%;justify-content:center}.header-actions{width:100%;margin-left:0}.header-actions .btn{flex:1}.site-nav a{flex:1 1 calc(33.333% - 8px)}.hero{padding:38px 0 44px}.hero h1{font-size:clamp(2.25rem,12vw,3.15rem)}.hero-copy{font-size:1rem}.section{padding:48px 0}.section-headline{margin-bottom:22px}.auth-brand{padding:24px 16px;text-align:center;align-items:center}.auth-brand p{margin-bottom:0}.auth-card-wrap{padding:12px 8px}.auth-card{padding:16px 12px;border-radius:16px}.auth-tabs{gap:5px}.auth-panel{gap:12px}.turnstile-box{margin-inline:auto}.page-content{width:min(100% - 16px,1240px);margin-top:12px}.panel{padding:15px;border-radius:14px}.page-heading h1{font-size:1.55rem}.heading-actions,.form-actions,.row-actions{width:100%}.heading-actions .btn,.form-actions .btn{flex:1 1 auto}.stat-grid,.quick-grid{grid-template-columns:1fr}.slot-grid,.slot-grid.compact,.xtest-board,.goal-grid{grid-template-columns:1fr}.member-card{padding:11px}.member-card .row-actions .btn{flex:1 1 auto}.comment-form{align-items:stretch}.comment-form input{min-width:0}.modal{width:calc(100% - 16px);max-height:92vh}.modal>header,.modal>footer,.modal-body{padding:13px}.toast-wrap{right:8px;bottom:8px;width:calc(100% - 16px)}.app-topbar{padding:9px 10px}.app-topbar .topbar-right{width:100%;text-align:center}.mobile-menu-button{width:100%}.app-footer{padding-inline:12px;text-align:center}.app-footer a{display:inline-block;margin:4px 6px}}
@media(max-width:340px){.container{width:min(100% - 12px,1180px)}.site-nav a{flex-basis:calc(50% - 6px)}.auth-card-wrap{padding:0}.auth-card{width:100%;padding:14px 1px;border-left:0;border-right:0;border-radius:0}.auth-brand{padding:20px 12px}.auth-brand h1{font-size:1.9rem}.password-field{grid-template-columns:minmax(0,1fr) auto}.password-toggle{padding-inline:8px}.turnstile-box{overflow:visible}}

/* ===== 2026-09-08 UX / contas / acesso ===== */
[hidden]{display:none!important}
.filter-row{display:flex;align-items:flex-end;gap:4px;flex-wrap:nowrap;overflow-x:auto;margin:0;padding:0;border-bottom:1px solid var(--line);scrollbar-width:thin}
.filter-chip{flex:0 0 auto;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--muted);border-radius:0;padding:12px 14px 10px;font-weight:800;cursor:pointer;white-space:nowrap;transition:.18s ease}
.filter-chip:hover{color:var(--text);background:rgba(255,255,255,.025)}
.filter-chip.active{background:transparent;border-bottom-color:var(--gold);color:var(--gold)}
.tab-panel{padding-bottom:0}
.access-strip{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:16px 0}.access-strip>div{display:grid;gap:3px}.access-strip small,.access-kicker{color:var(--gold);font-weight:900;text-transform:uppercase;letter-spacing:.08em}.access-strip strong{font-size:1.05rem}.access-strip span{color:var(--muted);font-size:.9rem}
.access-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.6fr);gap:24px;align-items:center;background:linear-gradient(145deg,rgba(255,196,0,.08),rgba(255,255,255,.015))}.access-hero h2{font-size:clamp(1.7rem,4vw,2.7rem);margin:.2rem 0}.access-hero p{color:var(--muted);max-width:760px}.access-price{display:grid;gap:3px;padding:18px;border:1px solid rgba(255,196,0,.3);background:#0b0b0b;border-radius:16px}.access-price small,.access-price span{color:var(--muted)}.access-price strong{font-size:2rem;color:var(--gold)}
.access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.role-guide{display:grid;gap:10px;margin:12px 0 18px}.role-guide article{display:grid;grid-template-columns:34px 1fr;gap:10px;align-items:start;padding:11px;border:1px solid rgba(255,255,255,.07);border-radius:12px;background:rgba(255,255,255,.02)}.role-guide article>b{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:rgba(255,196,0,.12);color:var(--gold)}.role-guide p{margin:2px 0 0;color:var(--muted);font-size:.88rem}.super-setting{display:flex;align-items:center;justify-content:space-between;gap:18px}.super-setting p{color:var(--muted);margin:.25rem 0 0;max-width:760px}.event-rules{margin:14px 0;padding:14px;border-left:3px solid var(--gold);background:rgba(255,196,0,.055);border-radius:0 10px 10px 0}.event-rules p{margin:.35rem 0 0;white-space:pre-wrap;color:#d8d8d3}

/* desktop: conteúdo mais equilibrado em telas largas */
@media(min-width:1100px){.page-content{max-width:1280px;margin-inline:auto}.dashboard-grid,.access-grid{align-items:start}.sidebar{width:270px}.app-main{margin-left:270px}}

/* mobile-first polish: centralização, navegação como abas e menos aparência de tags */
@media(max-width:840px){
  .site-nav{display:flex!important;flex-wrap:nowrap!important;gap:2px!important;padding:0!important;border-top:0!important;border-bottom:1px solid var(--line);overflow-x:auto!important;justify-content:flex-start}
  .site-nav a{flex:0 0 auto!important;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;padding:10px 12px!important;font-weight:750;color:var(--muted)}
  .site-nav a:hover,.site-nav a:focus{color:var(--gold);border-bottom-color:var(--gold)!important}
  .page-content{max-width:720px;margin-inline:auto}
  .access-hero,.access-grid{grid-template-columns:1fr}
  .access-strip,.super-setting{align-items:stretch;flex-direction:column}
  .access-strip .btn,.super-setting .btn{width:100%}
}
@media(max-width:600px){
  .auth-screen{min-height:100dvh;display:grid;grid-template-columns:1fr;align-content:start;background:radial-gradient(circle at 50% 0,rgba(255,196,0,.12),transparent 38%),var(--bg)}
  .auth-brand{padding:22px 16px 12px!important;border:0!important;background:transparent;text-align:center;align-items:center}
  .auth-brand img{width:62px!important;height:62px!important;margin:0 auto 10px!important;border-radius:16px}.auth-brand h1{font-size:1.8rem!important;margin:0}.auth-brand p{font-size:.88rem;max-width:360px;margin:.45rem auto 0;color:var(--muted)}
  .auth-card-wrap{padding:8px 12px 24px!important;min-height:auto!important;align-items:flex-start}.auth-card{width:100%!important;max-width:480px!important;margin:auto;padding:16px!important;border-radius:16px!important;box-shadow:0 18px 50px rgba(0,0,0,.4)}
  .auth-tabs{border-bottom:1px solid var(--line);gap:0}.auth-tabs button{border-radius:0!important;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;padding:11px 14px}.auth-tabs button.active{color:var(--gold)!important;border-bottom-color:var(--gold)!important}
  .app-topbar{min-height:58px;padding:8px 12px!important;display:flex!important;flex-wrap:nowrap!important;align-items:center;justify-content:space-between}.mobile-menu-button{width:auto!important;min-width:106px}.app-topbar .topbar-right{width:auto!important;text-align:right!important;font-size:.72rem!important;max-width:58%;color:var(--muted)}
  .page-content{width:min(100% - 16px,720px)!important;margin:10px auto 24px!important}.page-heading{display:grid!important;grid-template-columns:1fr;gap:10px;text-align:center}.page-heading>div:first-child{margin-inline:auto}.page-heading p{max-width:580px;margin:.35rem auto 0}.heading-actions{justify-content:center!important}.heading-actions .btn{flex:1 1 140px;max-width:280px}
  .panel{padding:14px!important}.filter-row{margin-inline:-14px;padding-inline:8px;scroll-snap-type:x proximity}.filter-chip{scroll-snap-align:start;padding:11px 12px 9px}
  .member-card,.team-row{align-items:flex-start!important}.member-card>.row-actions,.team-row>.row-actions{width:100%;justify-content:center}.member-card>.row-actions .btn,.team-row>.row-actions .btn{flex:1 1 120px}
  .access-hero{text-align:center}.access-price{text-align:center}.role-guide{text-align:left}.access-strip{text-align:center}.access-strip>div{justify-items:center}
  .form-grid{grid-template-columns:1fr!important}.form-grid>.span-2{grid-column:auto!important}.form-actions{justify-content:center!important}.form-actions .btn{width:100%;max-width:none!important}
  .stat-grid,.dashboard-grid,.event-grid,.public-grid,.feature-grid{grid-template-columns:1fr!important}.stat,.event-card{text-align:center}.meta-grid{justify-items:center}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .sidebar{width:min(88vw,330px)!important}.main-nav{padding:8px 10px}.nav-item{min-height:48px;border-radius:10px!important;padding:10px 12px}.nav-item.active{background:rgba(255,196,0,.11)!important;box-shadow:inset 3px 0 0 var(--gold)}
}
@media(max-width:380px){.quick-grid{grid-template-columns:1fr!important}.app-topbar .topbar-right{display:none!important}.mobile-menu-button{width:100%!important}.auth-card{padding:14px 10px!important}.filter-chip{padding-inline:10px}.page-heading h1{font-size:1.4rem!important}}
.account-logic-note{display:grid;gap:4px}.account-logic-note strong{color:var(--gold)}.account-logic-note small{display:block;color:var(--muted)}
.auth-tabs{display:flex;gap:0;border-bottom:1px solid var(--line);background:transparent!important}.auth-tabs button{flex:1;border:0!important;border-bottom:3px solid transparent!important;border-radius:0!important;background:transparent!important;padding:12px 14px;font-weight:850;color:var(--muted)}.auth-tabs button.active{color:var(--gold)!important;border-bottom-color:var(--gold)!important;background:transparent!important}

/* VK auth/app state hardening */
body.vk-auth #app-shell{display:none!important}
body.vk-app #auth-screen{display:none!important}
body.booting #auth-screen,body.booting #app-shell{display:none!important}

/* Private guild/line links — compact and consistent */
.private-link-panel{padding:18px 20px}
.private-link-row{display:flex;align-items:center;gap:14px;justify-content:space-between;border:1px solid #2b2b2b;background:#0b0b0b;border-radius:13px;padding:13px 14px}
.private-link-row strong,.private-link-row small{display:block}
.private-link-row small{color:#858580;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:760px}
.notice.compact{margin:0;padding:11px 12px}
.access-status-card{display:grid;gap:3px;padding:18px;border:1px solid rgba(255,196,0,.22);background:#0b0b0b;border-radius:16px}
.access-status-card small,.access-status-card span{color:var(--muted)}
.access-status-card strong{font-size:1.25rem;color:var(--gold)}
@media(max-width:700px){
  .private-link-row{align-items:flex-start;flex-direction:column}
  .private-link-row .row-actions{width:100%}
  .private-link-row .row-actions .btn{flex:1}
  .private-link-row small{max-width:100%}
  .access-status-card{text-align:center}
}

/* Leader actions: fewer visible controls, full actions in one management surface */
.compact-actions{justify-content:flex-end;align-items:center}
.management-menu{display:grid;gap:8px}
.management-menu .picker-item{min-height:58px}
.management-menu .picker-item strong,.management-menu .picker-item small{display:block}
@media(max-width:700px){
  .compact-actions{width:100%;justify-content:flex-start}
  .compact-actions .btn{flex:1}
}

/* LEADER LEGACY RESTORE — faithful structure, standardized visuals */
.app-icon{width:20px;height:20px;display:inline-block;vertical-align:-4px;flex:0 0 20px;stroke-width:1.9}
.btn .app-icon,.btn-icon{width:18px;height:18px;flex-basis:18px;vertical-align:-4px}
.nav-icon-wrap{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:8px}
.nav-icon-wrap .app-icon{width:22px;height:22px;flex-basis:22px}
.mobile-nav-icon{width:22px;height:22px;display:block;margin:auto}
.stat-icon,.summary-icon{width:18px;height:18px;vertical-align:-4px}
.leader-legacy-layout .nav-item{min-height:49px;padding:10px 12px;gap:10px;align-items:center}
.leader-legacy-layout .nav-item b{font-size:13.5px;line-height:1.2;font-weight:650}
.leader-legacy-layout .nav-item.active .nav-icon-wrap{background:rgba(245,196,0,.10)}
.leader-legacy-layout .nav-item.active{border-color:rgba(245,196,0,.28)}
.leader-legacy-hero{padding:2px 0 4px;margin-bottom:18px}
.leader-legacy-hero h1{font-size:clamp(25px,3vw,36px);letter-spacing:-.03em;margin:0 0 5px}
.leader-legacy-hero p{margin:0;color:var(--muted)}
.legacy-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 10px}
.legacy-section-head h2{font-size:17px;margin:0}
.legacy-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:24px}
.legacy-stat{min-height:105px;border:1px solid var(--border);background:var(--surface);border-radius:13px;padding:15px;display:flex;flex-direction:column;justify-content:space-between;gap:8px}
.legacy-stat>strong{font-size:23px;line-height:1;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.legacy-stat>strong small{font-size:14px}
.legacy-stat>span{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}
.legacy-goal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.legacy-goal-card{border:1px solid var(--border);border-radius:13px;background:var(--surface);padding:14px;min-height:132px}
.legacy-line-title,.legacy-progress-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.legacy-line-title{margin-bottom:13px}.legacy-line-title span,.legacy-progress-row span{font-size:12px;color:var(--muted)}.legacy-progress-row b{font-size:12px}
.legacy-progress{height:7px;border-radius:999px;background:rgba(255,255,255,.07);overflow:hidden;margin:6px 0 11px}.legacy-progress i{height:100%;display:block;border-radius:inherit;background:var(--primary)}
.legacy-backup{margin-top:18px}.legacy-details-body{padding:13px 0 0}
.legacy-member-tools{display:grid;grid-template-columns:minmax(220px,1fr) 190px auto;gap:9px;align-items:center;margin-bottom:12px}.legacy-member-tools input,.legacy-member-tools select{height:42px}
.image-editor{display:grid;gap:14px}.image-crop-stage{width:min(100%,640px);margin:auto;display:grid;place-items:center;background:#090a0d;border:1px solid var(--border);border-radius:14px;overflow:hidden;min-height:300px}.image-crop-stage canvas{display:block;max-width:100%;height:auto;touch-action:none;cursor:grab}.image-crop-stage canvas:active{cursor:grabbing}.image-editor-toolbar,.crop-presets{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.crop-zoom{display:grid;grid-template-columns:auto minmax(140px,1fr);gap:10px;align-items:center;flex:1;min-width:220px}.crop-zoom input{width:100%}.profile-cover-editor{grid-column:1/-1;display:grid;gap:9px}.profile-cover-preview{aspect-ratio:16/6;border-radius:14px;overflow:hidden;border:1px solid var(--border);background:var(--surface-2);display:grid;place-items:center;color:var(--muted)}.profile-cover-preview img{width:100%;height:100%;object-fit:cover}.post-image-editor-preview,.post-edit-image{max-width:520px;border:1px solid var(--border);border-radius:13px;overflow:hidden;background:var(--surface-2)}.post-image-editor-preview img,.post-edit-image img{display:block;width:100%;max-height:520px;object-fit:contain}.feed-publisher{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px}.guild-official-post{border-color:rgba(245,196,0,.22)}
.legacy-page-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.legacy-inline-copy{display:inline-flex;align-items:center;gap:5px}.legacy-inline-copy .app-icon{width:15px;height:15px;flex-basis:15px}
.legacy-public-card{display:flex;align-items:center;gap:14px}.legacy-public-card .guild-logo-xl{flex:0 0 auto}.legacy-access-status{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.legacy-access-step{border:1px solid var(--border);border-radius:12px;padding:14px;background:var(--surface)}.legacy-access-step strong{display:block;margin-bottom:5px}.legacy-support-row{display:flex;gap:8px;flex-wrap:wrap}
.legacy-event-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.legacy-event-area{margin-top:12px}
@media(max-width:1100px){.legacy-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.legacy-goal-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.legacy-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-goal-grid{grid-template-columns:1fr}.legacy-member-tools{grid-template-columns:1fr}.legacy-access-status,.legacy-event-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-section-head{align-items:flex-start}.leader-legacy-layout .page-head{gap:10px}.leader-legacy-layout .page-actions{width:100%;justify-content:flex-start}.image-crop-stage{min-height:250px}.profile-cover-preview{aspect-ratio:16/7}}
@media(max-width:430px){.legacy-stats,.legacy-access-status,.legacy-event-stats{grid-template-columns:1fr 1fr}.legacy-stat{min-height:94px;padding:12px}.legacy-stat>strong{font-size:20px}.btn{min-height:40px}.btn.small{min-height:38px}.btn.tiny{min-height:34px}.nav-icon-wrap{width:28px;height:28px}.nav-icon-wrap .app-icon{width:21px;height:21px}}

/* LEADER ICON SCALE — proportional to the historical navigation */
.leader-legacy-layout .app-icon{width:22px;height:22px;flex-basis:22px;stroke-width:1.85}
.leader-legacy-layout .btn .app-icon,.leader-legacy-layout .btn-icon{width:19px;height:19px;flex-basis:19px}
.leader-legacy-layout .nav-icon-wrap{width:36px;height:36px;flex-basis:36px;border-radius:9px}
.leader-legacy-layout .nav-icon-wrap .app-icon{width:24px;height:24px;flex-basis:24px}
.leader-legacy-layout .stat-icon,.leader-legacy-layout .summary-icon{width:20px;height:20px;flex-basis:20px}
.leader-legacy-layout .legacy-inline-copy .app-icon{width:17px;height:17px;flex-basis:17px}
@media(max-width:430px){.leader-legacy-layout .nav-icon-wrap{width:32px;height:32px;flex-basis:32px}.leader-legacy-layout .nav-icon-wrap .app-icon{width:23px;height:23px;flex-basis:23px}.leader-legacy-layout .btn .app-icon{width:18px;height:18px;flex-basis:18px}}


/* Leader Lines — surface restored to the historical index.html */
.legacy-stack{display:grid;gap:14px}
.legacy-line-panel{padding:17px 18px}
.legacy-private-link-label{display:grid;gap:7px;font-size:.78rem;font-weight:700;color:var(--muted);margin:10px 0 12px}
.legacy-private-link-label input{width:100%;min-height:42px}
.legacy-line-members{display:grid;gap:7px;margin:8px 0 12px}
.legacy-line-member{display:flex;align-items:center;gap:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);padding:9px 10px;min-height:52px}
.legacy-line-slot{width:30px;height:30px;display:grid;place-items:center;flex:0 0 30px;border-radius:8px;background:#171717;border:1px solid #303030;font-weight:800;color:var(--gold)}
.legacy-line-member strong,.legacy-line-member small{display:block}
.legacy-line-member small{color:var(--muted);margin-top:2px}
.legacy-line-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:11px}
.legacy-line-reserves{display:flex;align-items:flex-start;gap:10px;margin:10px 0;color:var(--muted)}
.legacy-line-reserves>div{display:flex;gap:6px;flex-wrap:wrap}
@media(max-width:640px){.legacy-line-actions .btn{flex:1 1 140px}.legacy-line-member{align-items:flex-start}.legacy-line-member .btn{margin-left:auto}.legacy-line-reserves{flex-direction:column}}
.member-guild-check{margin-top:9px;padding:9px 10px;border:1px solid var(--border);border-radius:9px;background:var(--surface-2);color:var(--muted)}
.member-guild-check.success{border-color:rgba(91,196,124,.34);color:#b9e8c7}.member-guild-check.warn{border-color:rgba(242,203,86,.38);color:#f2cb56}.member-guild-check.error{border-color:rgba(255,100,100,.35);color:#ffabab}.member-guild-check small{font-size:.78rem;line-height:1.35}

/* ===== 2026-09-09 • Drawer único / sem navegação inferior ===== */
.app-shell{display:block!important;min-height:100vh}
.app-main{margin-left:0!important;padding-bottom:50px!important;width:100%;min-width:0}
.sidebar{width:min(88vw,322px)!important;transform:translateX(-103%);transition:transform .22s ease;box-shadow:24px 0 60px rgba(0,0,0,.45);z-index:60}
.menu-open .sidebar{transform:translateX(0)}
.sidebar-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.64);z-index:55;backdrop-filter:blur(2px)}
.menu-open .sidebar-overlay{display:block}
.drawer-brand{min-height:70px;padding:13px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #202020}
.drawer-brand img{width:40px;height:40px;border-radius:11px;object-fit:cover;border:1px solid #303030;flex:0 0 40px}
.drawer-brand span{font-size:.92rem;font-weight:800;letter-spacing:.015em;white-space:nowrap}.drawer-brand b{color:var(--gold)}
.main-nav{padding:9px 11px 6px;overflow:auto;flex:1}
.nav-item{min-height:50px!important;padding:8px 10px!important;gap:10px!important;margin:1px 0!important}
.nav-icon-wrap{width:34px!important;height:34px!important;flex:0 0 34px!important;border-radius:9px}.nav-icon-wrap .app-icon{width:23px!important;height:23px!important;flex-basis:23px!important}
.sidebar-profile-links{border-top:1px solid #202020;padding:10px 11px 6px;display:grid;gap:6px}
.sidebar-profile-card{width:100%;min-height:58px;height:58px;box-sizing:border-box;border:1px solid #252525;background:#0f0f0f;color:#fff;border-radius:11px;padding:9px 10px;display:flex;align-items:center;gap:10px;text-align:left;overflow:hidden}
.sidebar-profile-card:hover{border-color:#444;background:#151515}.sidebar-profile-card.active{border-color:rgba(255,196,0,.42);background:rgba(255,196,0,.06)}
.sidebar-profile-photo{width:38px;height:38px;border-radius:10px;background:#1b1b1b;border:1px solid #303030;display:grid;place-items:center;overflow:hidden;flex:0 0 38px;font-size:.72rem;font-weight:900}.sidebar-profile-photo.round{border-radius:50%}.sidebar-profile-photo img{width:100%;height:100%;object-fit:cover}
.sidebar-profile-copy{min-width:0;display:grid}.sidebar-profile-copy strong{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile-copy small{font-size:.7rem;color:#888;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sidebar-logout{padding:6px 11px 12px}.sidebar-logout-button{width:100%;justify-content:center;min-height:40px}
.app-topbar{height:64px!important;min-height:64px!important;padding:0 18px!important;justify-content:flex-start!important;gap:12px!important;flex-wrap:nowrap!important}
.menu-trigger{width:42px;height:42px;display:grid!important;place-items:center;border:1px solid #303030;background:#111;color:#fff;border-radius:11px;padding:0;flex:0 0 42px}
.menu-trigger:hover{border-color:#555;background:#171717}.menu-trigger svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.app-topbar-brand{display:flex;align-items:center;gap:10px;min-width:0}.app-topbar-brand img{width:38px;height:38px;border-radius:10px;object-fit:cover;border:1px solid #303030}.app-topbar-brand strong{font-size:.9rem;white-space:nowrap;letter-spacing:.01em}
@media(min-width:1100px){.sidebar{width:322px!important}.page-content{max-width:1280px;margin-inline:auto}}
@media(max-width:520px){.app-topbar{padding:0 11px!important;gap:9px!important}.menu-trigger{width:40px;height:40px;flex-basis:40px}.app-topbar-brand img{width:36px;height:36px}.app-topbar-brand strong{font-size:.82rem}.page-content{margin-top:14px!important}.sidebar{width:min(91vw,318px)!important}}

/* ===== Líder • fidelidade visual ao index de referência ===== */
.dashboard-four-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.legacy-member-list{padding:12px!important}.legacy-member-list #membersList{display:grid;gap:10px}
.legacy-member-card-v2{padding:12px!important;margin:0!important;border-radius:12px!important;background:#101010!important}
.legacy-member-card-v2 .member-card-head{align-items:center}.legacy-member-card-v2 .profile-avatar{width:44px;height:44px;border-radius:12px}
.legacy-member-card-v2 .member-detail-list{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin-top:9px}
.legacy-member-card-v2 .member-detail-row{display:grid;gap:2px;border:1px solid #242424;background:#0b0b0b;border-radius:9px;padding:7px 8px;min-width:0}.legacy-member-card-v2 .member-detail-row span{font-size:.68rem;color:#777}.legacy-member-card-v2 .member-detail-row b{font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.legacy-member-card-v2 .member-card-actions{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin-top:10px}.legacy-member-card-v2 .member-card-actions .btn{min-height:34px;padding:6px 5px;font-size:.7rem;border-radius:8px}
.member-whatsapp-link{font-size:.72rem;color:var(--gold);font-weight:750;display:inline-flex;margin-top:3px}.member-card-identity-copy small{color:#777;font-weight:500}.legacy-curriculum-form fieldset{border:1px solid #2a2a2a;border-radius:11px;padding:12px}.legacy-curriculum-form legend{padding:0 6px;color:#bdbdb7;font-size:.8rem;font-weight:800}
@media(max-width:920px){.dashboard-four-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-member-card-v2 .member-detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-member-card-v2 .member-card-actions{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.legacy-member-card-v2 .member-detail-list{grid-template-columns:1fr 1fr}.legacy-member-card-v2 .member-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.legacy-member-card-v2 .member-card-actions .btn{font-size:.72rem}.dashboard-four-stats{grid-template-columns:1fr 1fr}}
.legacy-stack{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.legacy-line-panel{padding:13px 14px!important;margin:0!important}.legacy-line-members{gap:6px!important;margin:7px 0 9px!important}.legacy-line-member{min-height:46px!important;padding:7px 8px!important}.legacy-line-actions{gap:6px!important}.legacy-line-actions .btn{padding:7px 9px;font-size:.72rem;min-height:35px}.legacy-private-link-label{font-size:.74rem}.legacy-private-link-label input{margin-top:5px;padding:9px}
@media(max-width:980px){.legacy-stack{grid-template-columns:1fr}}

/* Administração VK externa — não faz parte da interface do aplicativo */
.vk-admin-body{background:var(--bg);color:var(--text);min-height:100vh}.vk-admin-shell{width:min(1180px,calc(100% - 28px));margin:0 auto;padding:28px 0 60px}.vk-admin-header{display:flex;align-items:center;gap:12px;margin-bottom:24px}.vk-admin-header img{width:44px;height:44px;border-radius:12px;object-fit:cover}.vk-admin-header div{display:flex;flex-direction:column}.vk-admin-header strong{font-size:18px}.vk-admin-header small{color:var(--muted)}.vk-admin-auth{max-width:520px;margin:48px auto}.vk-admin-tabs{margin:16px 0 20px}.vk-admin-stats{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:760px){.vk-admin-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* ===== Comunidade / perfis — revisão do Líder ===== */
.explore-community-head{display:grid;gap:14px}.explore-community-head .section-head{margin:0}.feed-author .row-actions{align-items:center}
.public-curriculum-card{margin-bottom:14px}.curriculum-public-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px}.curriculum-public-grid>div{display:grid;gap:4px;padding:10px;border:1px solid #262626;border-radius:10px;background:#0d0d0d;min-width:0}.curriculum-public-grid small{color:var(--muted);font-size:.68rem}.curriculum-public-grid strong{font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mini-post-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.mini-post-head>small{color:var(--muted)}.mini-post-head .row-actions{gap:8px}
.curriculum-extra{margin-top:4px}.curriculum-extra .legacy-details-body{padding-top:12px}.legacy-curriculum-form>label,.legacy-curriculum-form>fieldset{min-width:0}
@media(max-width:980px){.curriculum-public-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.curriculum-public-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.explore-community-head .section-head{align-items:flex-start}.explore-community-head .section-head>.row-actions{width:100%}.explore-community-head .section-head>.row-actions .btn{flex:1}}

/* Cabeçalho do app: marca funciona como retorno ao Dashboard sem sair do aplicativo */
.app-topbar-brand{border:0;background:transparent;color:inherit;padding:0;cursor:pointer;text-align:left}.app-topbar-brand:focus-visible{outline:2px solid var(--gold);outline-offset:4px;border-radius:10px}
.warning-progress{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px;color:#898984;font-size:.74rem}.warning-progress b{color:var(--gold)}
.recruitment-legacy-card{align-items:flex-start}.recruitment-direct-actions{justify-content:flex-end}.application-note{white-space:pre-wrap}.admin-note{color:#d0b95a!important}
@media(max-width:640px){.recruitment-direct-actions{width:100%;justify-content:flex-start}.warning-member-card{align-items:flex-start}.warning-member-card .row-actions{width:100%}}


/* ===== 2026-09-09 • Perfil social compacto (Revisão 4) ===== */
.profile-showcase{padding:0!important;overflow:hidden;border-color:#2a2a2a}
.profile-showcase-cover{position:relative;width:100%;height:180px;background:radial-gradient(circle at 50% 0,rgba(255,196,0,.2),transparent 46%),linear-gradient(135deg,#181818,#090909);overflow:hidden}
.profile-showcase-cover>img{width:100%;height:100%;object-fit:cover}
.profile-cover-fallback{width:100%;height:100%;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,rgba(255,196,0,.16),transparent 36%),linear-gradient(135deg,#181818,#090909);color:rgba(255,196,0,.55);font-size:2rem;font-weight:950;letter-spacing:.12em}
.profile-showcase-main{position:relative;text-align:center;padding:66px 20px 20px}
.profile-showcase-avatar{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);width:112px;height:112px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#0b0b0b;border:4px solid var(--panel);box-shadow:0 0 0 1px #3a3a3a,0 14px 35px rgba(0,0,0,.45);color:var(--gold);font-size:1.45rem;font-weight:950}
.profile-showcase-avatar img{width:100%;height:100%;object-fit:cover}
.profile-showcase-main h2{margin:0;font-size:clamp(1.45rem,3vw,2rem);letter-spacing:-.02em}
.profile-id{margin-top:2px;color:var(--muted);font-size:.8rem}
.profile-showcase-bio{max-width:720px;margin:12px auto 8px;color:#d0d0cb;white-space:pre-wrap;overflow-wrap:anywhere}
.profile-main-link{display:inline-flex;align-items:center;gap:7px;margin:3px auto 9px;color:var(--gold);font-size:.88rem;font-weight:800;max-width:100%;overflow-wrap:anywhere}
.profile-main-link:hover{text-decoration:underline}
.profile-main-link .app-icon{width:16px;height:16px;flex-basis:16px}
.profile-info-row{display:flex;justify-content:center;align-items:stretch;gap:8px;flex-wrap:wrap;margin:12px auto 0;max-width:780px}
.profile-info-pill{display:grid;gap:2px;min-width:145px;max-width:240px;flex:1 1 150px;padding:9px 11px;border:1px solid #292929;border-radius:11px;background:#0d0d0d;text-align:left}
.profile-info-pill small{color:var(--muted);font-size:.68rem;text-transform:uppercase;letter-spacing:.055em}
.profile-info-pill strong{font-size:.82rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.profile-social-counts.profile-showcase-counts{display:flex;justify-content:center;gap:10px;margin:13px auto 0}
.profile-showcase-counts>span{display:grid;min-width:86px;padding:7px 10px;border-radius:10px;background:#0d0d0d;border:1px solid #272727}
.profile-showcase-counts b{font-size:1rem;color:#fff}.profile-showcase-counts small{font-size:.7rem;color:var(--muted)}
.profile-looking-badge{margin-top:10px}
.profile-main-actions{justify-content:center;margin-top:13px}
.profile-edit-details>summary,.profile-following-details>summary,.profile-privacy-details>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;font-weight:850;list-style:none}
.profile-edit-details>summary::-webkit-details-marker,.profile-following-details>summary::-webkit-details-marker,.profile-privacy-details>summary::-webkit-details-marker{display:none}
.profile-edit-details>summary:after,.profile-following-details>summary:after,.profile-privacy-details>summary:after{content:'⌄';color:var(--muted);font-size:1.1rem;margin-left:auto}
.profile-following-details>summary .badge{margin-left:6px;margin-right:4px}
.profile-edit-details[open]>summary:after,.profile-following-details[open]>summary:after,.profile-privacy-details[open]>summary:after{transform:rotate(180deg)}
.profile-details-body{padding-top:16px}
.profile-edit-details .legacy-profile-form{margin:0}
.public-profile-modal{border:1px solid #292929;border-radius:14px;margin-bottom:18px}
.modal-body>.public-profile-modal:first-child{margin-top:-2px}
@media(max-width:720px){
  .profile-showcase-cover{height:145px}
  .profile-showcase-avatar{width:98px;height:98px}
  .profile-showcase-main{padding:57px 14px 16px}
  .profile-info-row{gap:6px}
  .profile-info-pill{min-width:0;flex:1 1 calc(50% - 6px);padding:8px 9px}
  .profile-info-pill:last-child{flex-basis:100%}
  .profile-main-actions .btn{flex:1 1 130px}
}
@media(max-width:430px){
  .profile-showcase-cover{height:122px}
  .profile-showcase-avatar{width:88px;height:88px}
  .profile-showcase-main{padding-top:51px}
  .profile-info-pill{flex-basis:100%}
  .profile-showcase-bio{font-size:.92rem}
}

/* ===== 2026-09-09 • Revisão 5 — experiência social e botões harmônicos ===== */
.page-content .btn,.page-content .text-btn,.page-content .filter-chip,.page-content .community-tab,.page-content button{word-break:keep-all;overflow-wrap:normal}
.page-content .btn{min-height:38px;padding:8px 12px;border-radius:10px;line-height:1.15;white-space:nowrap}
.page-content .btn.small{min-height:35px;padding:7px 11px}.page-content .btn.tiny{min-height:31px;padding:5px 9px}
.page-content .row-actions,.page-content .form-actions,.page-content .composer-actions,.page-content .member-top-actions,.page-content .legacy-page-actions{gap:7px;align-items:center;flex-wrap:wrap}
.page-content .btn .btn-icon{flex:0 0 auto}.page-content .btn span{white-space:nowrap}

/* Perfil compacto: capa + avatar sobreposto sem transformar a página em currículo */
.profile-showcase-compact .profile-showcase-cover{height:148px}
.profile-showcase-compact .profile-showcase-avatar{width:94px;height:94px;border-width:3px}
.profile-showcase-compact .profile-showcase-main{padding:52px 16px 15px}
.profile-showcase-compact .profile-showcase-main h2{font-size:1.55rem}
.profile-showcase-compact .profile-showcase-bio{max-width:660px;margin:8px auto 5px;font-size:.94rem}
.profile-showcase-compact .profile-info-row{max-width:650px;margin-top:9px;gap:6px}
.profile-showcase-compact .profile-info-pill{min-width:130px;padding:7px 9px;border-radius:9px}
.profile-showcase-compact .profile-info-pill small{font-size:.62rem}.profile-showcase-compact .profile-info-pill strong{font-size:.78rem}
.profile-contact-row{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:7px auto 2px}
.profile-contact-link{display:inline-flex;align-items:center;max-width:100%;border:1px solid #2c2c2c;background:#0c0c0c;border-radius:999px;padding:5px 9px;color:#ddd;font-size:.78rem;font-weight:750}
.profile-contact-link:hover{border-color:rgba(255,196,0,.5);color:var(--gold)}
.profile-showcase-counts>button{display:grid;min-width:82px;padding:6px 10px;border-radius:9px;background:transparent;border:0;color:inherit;text-align:center}
.profile-showcase-counts>button:hover{background:#151515}.profile-showcase-counts>button b{font-size:.95rem}.profile-showcase-counts>button small{font-size:.68rem;color:var(--muted)}
.private-curriculum-editor{border:1px solid #292929;border-radius:12px;background:#0c0c0c;padding:0;margin-top:4px}
.private-curriculum-editor>summary{padding:12px 13px;cursor:pointer;font-weight:850;list-style:none}.private-curriculum-editor>summary::-webkit-details-marker{display:none}
.private-curriculum-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;border-top:1px solid #222;padding:13px}
.private-curriculum-preview{border:1px solid #2a2a2a;background:#0d0d0d;border-radius:11px;padding:11px}.private-curriculum-preview p{margin:4px 0;color:var(--muted);font-size:.82rem}
.curriculum-snapshot{margin-top:8px}.curriculum-snapshot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding-top:10px}.curriculum-snapshot-grid>*{font-size:.78rem;color:#ccc}.curriculum-snapshot-grid a{color:var(--gold)}

/* Feed estilo contínuo */
.social-feed-column{width:min(100%,720px);margin:0 auto;display:grid;gap:11px}
.social-post-card{padding:0!important;overflow:hidden;border-radius:14px!important;background:#101010!important}
.social-post-card .feed-author{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid #202020}
.feed-author-copy{min-width:0;display:grid;align-content:center}.feed-author-copy .feed-name{display:block;text-align:left;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.feed-author-copy small{display:block;color:#7f7f7b;font-size:.69rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.feed-post-tools{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.feed-post-tools .text-btn{font-size:.72rem}
.social-post-card .post-body{padding:12px 13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55}
.social-post-card .post-tags{padding:0 13px 10px}.social-post-card .post-img{width:100%;max-height:680px;object-fit:contain;background:#080808;border-radius:0}
.social-post-card .post-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-top:1px solid #202020;border-bottom:1px solid #202020}
.post-action-btn{border:0;background:transparent;color:#aaa;padding:5px 7px;border-radius:8px;font-weight:800;display:inline-flex;align-items:center;gap:5px}.post-action-btn:hover{background:#181818;color:#fff}.post-action-btn.liked{color:#ff6e88}.post-action-count{font-size:.78rem;color:#888}
.social-post-card .comments{padding:8px 12px 0}.social-post-card .comment{padding:7px 0;border-bottom:1px solid #1f1f1f}.social-post-card .comment:last-child{border-bottom:0}.social-post-card .comment p{margin:2px 0;font-size:.84rem}
.social-post-card .comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;padding:10px 12px 12px}.social-post-card .comment-form input{min-width:0}
.profile-own-feed,.guild-profile-feed{display:grid;gap:12px}.profile-own-feed>.section-head,.guild-profile-feed>.section-head{margin-bottom:0}.compact-composer{width:min(100%,720px);margin:0 auto}

/* Comunidade compacta */
.community-hero{padding-bottom:4px}.community-controls{width:min(100%,720px);margin:0 auto 11px!important;padding:0 12px!important;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px}
.community-mode-tabs{display:flex;gap:3px;align-items:center}.community-tab{border:0;background:transparent;color:#999;padding:10px 12px;border-radius:9px;font-weight:850;cursor:pointer;white-space:nowrap}.community-tab.active{background:rgba(255,196,0,.1);color:var(--gold)}
.compact-filter-row{margin:0!important;gap:2px!important;overflow-x:auto;flex-wrap:nowrap!important}.compact-filter-row .filter-chip{padding:9px 8px 7px;font-size:.72rem}

/* Perfil da guilda sem capa, compacto e social */
.guild-social-profile{display:grid;gap:13px;padding:15px!important}.guild-profile-main{display:flex;align-items:center;gap:14px;min-width:0}.guild-social-profile .guild-logo-xl{width:86px;height:86px;flex:0 0 86px;border-radius:18px}.guild-social-profile h1{font-size:1.55rem;margin:0 0 3px}.guild-social-profile p{margin:0;color:#bcbcb7;white-space:pre-wrap}
.guild-profile-facts{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.guild-fact{display:grid;gap:1px;min-width:88px;border:1px solid #292929;background:#0c0c0c;color:inherit;border-radius:9px;padding:6px 9px;text-align:left}.guild-fact small{font-size:.62rem;color:#7e7e79}.guild-fact strong{font-size:.78rem;white-space:nowrap}.guild-fact[role],button.guild-fact{cursor:pointer}.guild-fact:hover{border-color:#444}
.guild-profile-actions{display:flex;gap:7px;flex-wrap:wrap}.guild-private-group{display:flex;align-items:center;gap:9px;border-top:1px solid #242424;padding-top:10px;color:#aaa;font-size:.8rem}.guild-private-group a{color:var(--gold);font-weight:800}.guild-private-group .text-btn{margin-left:auto}
.guild-app-accounts{padding:14px!important}.compact-account-list{display:grid;gap:6px}.compact-account{display:flex;align-items:center;gap:9px;border:1px solid #242424;background:#0c0c0c;border-radius:10px;padding:7px 8px}.compact-account .grow{min-width:0;display:grid}.compact-account strong,.compact-account small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-account small{font-size:.7rem;color:#858580}

/* Acesso simplificado e histórico completo */
.access-clean-card,.access-request-clean,.access-history-panel{max-width:880px;margin-inline:auto!important}.access-clean-status{display:flex;align-items:center;justify-content:space-between;gap:12px}.access-clean-status small{color:var(--muted)}.access-clean-status h2{margin:2px 0}.access-clean-status p{margin:2px 0;color:#aaa}.access-clean-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}
.access-history-list{display:grid;gap:7px}.access-history-card{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #282828;background:#0c0c0c;border-radius:10px;padding:10px 11px}.access-history-card>div{display:grid;gap:2px}.access-history-card small{color:#888;font-size:.74rem}.access-request-history{margin-top:12px}

/* Membros / Lines / Metas / Inscrições / Eventos: evitar texto “em acróstico” e reduzir ruído */
.legacy-member-card-v2 .member-card-actions{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(118px,1fr))!important;gap:6px!important}.legacy-member-card-v2 .member-card-actions .btn{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;padding-inline:8px!important}
.legacy-line-actions,.recruitment-direct-actions,.event-actions,.event-card .row-actions,.notification-list .row-actions{display:flex!important;gap:6px!important;flex-wrap:wrap!important}.legacy-line-actions .btn,.recruitment-direct-actions .btn,.event-card .btn{white-space:nowrap}
.goal-switch{gap:6px!important;flex-wrap:wrap}.goal-switch .btn{min-width:110px}.warning-level-visual{display:inline-flex;align-items:center;gap:4px;font-weight:700}.warning-member-card{border-left:3px solid #383838}.warning-member-card:has(.warning-level-visual){background:#101010}
.recruitment-legacy-card{padding:11px!important}.recruitment-legacy-card p{margin:.3rem 0}.recruitment-direct-actions{max-width:350px}
.notification-button{border:1px solid #292929!important;border-radius:11px!important;background:#0e0e0e!important;padding:10px 11px!important;min-height:64px!important}.notification-button:hover{background:#141414!important;border-color:#414141!important}.notification-button.unread{border-left:3px solid var(--gold)!important}

@media(max-width:760px){
  .profile-showcase-compact .profile-showcase-cover{height:122px}.profile-showcase-compact .profile-showcase-avatar{width:82px;height:82px}.profile-showcase-compact .profile-showcase-main{padding:45px 11px 12px}.profile-showcase-compact .profile-showcase-main h2{font-size:1.35rem}.profile-showcase-compact .profile-info-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.profile-showcase-compact .profile-info-pill{min-width:0!important;max-width:none!important;text-align:center}.profile-showcase-compact .profile-info-pill strong{font-size:.72rem}
  .private-curriculum-grid,.curriculum-snapshot-grid{grid-template-columns:1fr}.curriculum-snapshot-grid .span-2{grid-column:auto}
  .community-controls{display:grid;gap:0}.community-mode-tabs{justify-content:center}.compact-filter-row{justify-content:flex-start}
  .guild-profile-main{align-items:flex-start}.guild-social-profile .guild-logo-xl{width:72px;height:72px;flex-basis:72px}.guild-profile-facts{gap:5px}.guild-fact{min-width:76px;padding:5px 7px}.guild-profile-actions .btn{flex:1 1 145px}
  .feed-post-tools .text-btn{display:none}.social-post-card .feed-author{grid-template-columns:40px minmax(0,1fr) auto;padding:9px 10px}.social-post-card .post-body{padding:10px 11px}.social-post-card .comment-form{grid-template-columns:minmax(0,1fr) auto;padding-inline:10px}
  .legacy-member-card-v2 .member-card-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.legacy-member-card-v2 .member-card-actions .btn{font-size:.69rem!important}
}
@media(max-width:430px){
  .profile-showcase-compact .profile-info-row{grid-template-columns:1fr 1fr}.profile-showcase-compact .profile-info-pill:last-child{grid-column:1/-1}.profile-contact-row{gap:5px}.profile-contact-link{font-size:.72rem;padding:4px 7px}
  .guild-profile-main{display:grid;grid-template-columns:62px minmax(0,1fr);gap:10px}.guild-social-profile .guild-logo-xl{width:62px;height:62px}.guild-profile-facts{grid-column:1/-1}.guild-private-group{flex-wrap:wrap}.guild-private-group .text-btn{margin-left:0}.compact-account .btn{font-size:.68rem;padding-inline:7px}
  .access-clean-status{align-items:flex-start}.access-history-card{align-items:flex-start}.community-tab{padding-inline:9px}.compact-filter-row .filter-chip{font-size:.68rem}
}
/* Revisão 5 • contatos privados legíveis */
.private-contact-links{display:flex;flex-wrap:wrap;gap:8px;padding-top:4px}
.private-contact-links .social-link{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ===== Leader access v3: Free / trial / paid ===== */
.sidebar-access-tag{width:calc(100% - 8px);margin:4px 4px 10px;min-height:42px;border:1px solid rgba(255,196,0,.32);background:rgba(255,196,0,.07);color:#f2d66f;border-radius:10px;padding:8px 10px;display:flex;align-items:center;gap:8px;text-align:left;cursor:pointer}
.sidebar-access-tag:hover{background:rgba(255,196,0,.12);border-color:rgba(255,196,0,.55)}
.sidebar-access-tag span{width:18px;height:18px;display:grid;place-items:center;flex:none}.sidebar-access-tag svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.sidebar-access-tag b{font-size:.72rem;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.access-current-card,.paid-access-panel,.support-access-panel{max-width:980px;margin-inline:auto!important}
.access-current-main{display:flex;align-items:center;justify-content:space-between;gap:18px}.access-current-main small,.access-plan-kicker{display:block;color:var(--gold);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.access-current-main h2{margin:3px 0 5px}.access-current-main p{margin:0;color:#a0a09a}.access-current-main p strong{color:#fff;font-weight:800}
.access-offer-grid{max-width:980px;margin:0 auto 16px;display:grid;grid-template-columns:1fr 1fr;gap:14px}.access-offer-card{margin:0!important;display:flex;flex-direction:column}.access-offer-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.access-offer-head h2{margin:3px 0 0;font-size:1.15rem}.access-offer-card>p{color:#a6a69f;margin:10px 0}.access-feature-list{margin:0 0 16px;padding-left:19px;display:grid;gap:7px;color:#d0d0ca}.access-feature-list li::marker{color:var(--gold)}.access-main-btn{margin-top:auto;width:100%;min-height:42px}.access-inline-status{margin-top:auto;border:1px solid rgba(55,186,108,.3);background:rgba(55,186,108,.07);color:#bce7cb;border-radius:10px;padding:10px 12px;font-size:.82rem;font-weight:800}.access-inline-status.muted{border-color:#303030;background:#111;color:#92928d}
.paid-plan-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.paid-plan-option{appearance:none;border:1px solid #303030;background:#0d0d0d;color:#fff;border-radius:12px;min-height:126px;padding:13px 12px;text-align:left;display:flex;flex-direction:column;gap:4px;cursor:pointer;transition:.16s}.paid-plan-option:hover{border-color:#555;background:#111}.paid-plan-option.selected{border-color:rgba(255,196,0,.72);background:rgba(255,196,0,.08);box-shadow:inset 0 0 0 1px rgba(255,196,0,.15)}.paid-plan-option span{font-size:.76rem;color:#b6b6af;font-weight:800}.paid-plan-option strong{font-size:1.2rem;color:var(--gold);line-height:1.15;margin-top:3px}.paid-plan-option small{color:#8d8d87}.paid-plan-option em{font-style:normal;font-size:.68rem;line-height:1.25;color:#d7c36e;margin-top:auto}
.paid-access-action{margin-top:14px;display:grid;gap:6px}.paid-access-action>.btn{width:100%;min-height:44px}.paid-access-action .form-note{margin:2px 0}.warn-text{color:#d8be66!important}
.support-access-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.support-access-actions .btn{min-height:43px;justify-content:center;text-align:center}
@media(max-width:900px){.paid-plan-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.paid-plan-option:last-child{grid-column:1/-1}.access-offer-grid{grid-template-columns:1fr}}
@media(max-width:520px){.access-current-main{align-items:flex-start;flex-direction:column}.paid-plan-grid{grid-template-columns:1fr 1fr}.paid-plan-option{min-height:116px;padding:11px}.support-access-actions{grid-template-columns:1fr}.sidebar-access-tag{margin-top:2px}}
.access-locked-panel{max-width:680px;margin-inline:auto!important;text-align:center;padding:30px}.access-locked-panel h2{margin:7px 0}.access-locked-panel p{color:#a3a39d;max-width:560px;margin:0 auto 18px}.access-locked-panel .btn{min-width:220px}

/* ===== Perfil da Guilda • social / fãs / grade ===== */
.guild-instagram-profile{padding:18px!important;display:grid;gap:14px}.guild-instagram-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px}.guild-instagram-profile .guild-logo-xl{width:92px;height:92px;flex:none;border-radius:50%;border:1px solid #343434}.guild-instagram-identity{min-width:0}.guild-instagram-identity h1{margin:0;font-size:1.8rem;line-height:1.08;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guild-id-line{display:inline-flex;margin-top:5px;border:0;background:none;color:var(--muted);padding:0;font-size:.78rem}.guild-id-line:hover{color:var(--gold)}.guild-instagram-stats{display:grid;grid-template-columns:repeat(3,minmax(68px,1fr));gap:14px;text-align:center}.guild-instagram-stats div{display:grid;gap:1px}.guild-instagram-stats strong{font-size:1.08rem}.guild-instagram-stats small{color:var(--muted);font-size:.72rem}.guild-leader-highlight,.public-guild-leader{width:100%;display:flex;align-items:center;gap:10px;border:1px solid #292929;background:#0c0c0c;color:inherit;border-radius:12px;padding:9px 11px;text-align:left}.guild-leader-highlight:hover,.public-guild-leader:hover{border-color:#4a3e13;background:#11100b}.guild-leader-highlight>span:nth-child(2),.public-guild-leader>span:nth-child(2){display:grid;min-width:0}.guild-leader-highlight small,.public-guild-leader small{color:var(--gold);font-size:.67rem;text-transform:uppercase;letter-spacing:.06em}.guild-leader-highlight strong,.public-guild-leader strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guild-leader-open,.public-guild-leader>span:last-child{margin-left:auto;color:var(--muted);font-size:.76rem}.guild-profile-about{display:grid;gap:8px}.guild-profile-about p{margin:0;color:#d0d0cb;white-space:pre-wrap}.guild-social-links{display:flex;gap:7px;flex-wrap:wrap}.guild-social-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #303030;border-radius:999px;background:#0d0d0d;padding:6px 9px;font-size:.74rem;font-weight:800;color:#d7d7d2}.guild-social-chip.main{color:var(--gold);border-color:#4a3d0d}.guild-social-chip:hover{border-color:#606060}.guild-recruit-note{display:grid;gap:2px;padding:9px 10px;border-left:3px solid var(--gold);background:#0c0c0c;border-radius:8px}.guild-recruit-note strong{font-size:.73rem;color:var(--gold)}.guild-recruit-note span{font-size:.78rem;color:var(--muted)}.guild-profile-gallery{padding:0!important;overflow:hidden}.guild-profile-gallery>.section-head{padding:15px 16px 0}.guild-profile-gallery .compact-composer{padding:0 16px 15px}.guild-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;background:#070707}.guild-photo-tile{position:relative;aspect-ratio:1/1;border:0;padding:0;background:#101010;color:#f2f2ef;overflow:hidden;display:grid;place-items:center;text-align:left}.guild-photo-tile img{width:100%;height:100%;object-fit:cover}.guild-photo-tile.text-post{padding:12px;background:linear-gradient(145deg,#161616,#0c0c0c)}.guild-photo-tile.text-post span{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;font-size:.82rem;line-height:1.35}.guild-photo-tile:hover:after{content:"Abrir";position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.35);font-weight:900}.guild-post-viewer .social-post-card{margin:0;max-width:none;border:0;padding:0;background:transparent}.guild-public-edit-form .guild-logo-xl{width:96px;height:96px;border-radius:50%}.guild-synced-fields{display:grid;gap:10px}.guild-synced-fields small{color:var(--muted);font-size:.74rem}.guild-synced-fields input[readonly]{opacity:.72}.guild-private-editor{display:grid;gap:18px}.guild-private-staff{border-top:1px solid #292929;padding-top:16px}.guild-private-staff .section-head{margin-bottom:10px}

/* Perfil público da guilda */
.public-guild-social-profile{display:grid;gap:14px}.public-guild-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px}.public-guild-logo{width:88px;height:88px;border:1px solid #343434;border-radius:50%;overflow:hidden;display:grid;place-items:center;color:var(--gold);font-weight:900;background:#090909}.public-guild-logo img{width:100%;height:100%;object-fit:cover}.public-guild-name h2{margin:0;font-size:1.65rem}.public-guild-name small{color:var(--muted)}.public-guild-stats{display:grid;grid-template-columns:repeat(3,minmax(66px,1fr));gap:12px;text-align:center}.public-guild-stats div{display:grid}.public-guild-stats b{font-size:1.05rem}.public-guild-stats span{font-size:.7rem;color:var(--muted)}.public-guild-about{display:grid;gap:8px}.public-guild-about p{margin:0;white-space:pre-wrap}.public-guild-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.public-guild-actions>:only-child{grid-column:1/-1}.guild-fan-button{min-width:0}.public-guild-gallery{margin-top:18px;border-top:1px solid #272727}.public-guild-gallery-tabs{height:46px;display:flex;align-items:center;justify-content:center;gap:8px;color:#d9d9d4;font-size:.78rem}.public-guild-gallery-tabs span{font-size:1.2rem}.public-guild-post-full{display:grid;gap:12px}.public-guild-post-image{width:calc(100% + 36px);margin-left:-18px;max-height:70vh;object-fit:contain;background:#060606}.public-guild-post-body{white-space:pre-wrap;margin:0}.public-guild-post-actions{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:.82rem}.public-guild-comments{display:grid;gap:8px;border-top:1px solid #292929;padding-top:10px}.public-guild-comments>div{display:flex;gap:8px;align-items:flex-start}.public-guild-comments strong{font-size:.8rem}.public-guild-comments span{font-size:.8rem;color:#d0d0cb}

@media(max-width:760px){.guild-instagram-head,.public-guild-head{grid-template-columns:76px minmax(0,1fr)}.guild-instagram-profile .guild-logo-xl,.public-guild-logo{width:76px;height:76px}.guild-instagram-stats,.public-guild-stats{grid-column:1/-1;gap:6px;padding-top:4px}.guild-instagram-stats div,.public-guild-stats div{border-top:1px solid #242424;padding-top:7px}.guild-profile-actions{display:grid;grid-template-columns:1fr 1fr}.guild-profile-actions .btn,.guild-profile-actions a.btn{width:100%}.guild-profile-actions a:last-child{grid-column:1/-1}.guild-photo-tile.text-post{padding:8px}.guild-photo-tile.text-post span{font-size:.68rem;-webkit-line-clamp:5}.public-guild-actions{grid-template-columns:1fr 1fr}}
@media(max-width:430px){.guild-instagram-profile{padding:13px!important}.guild-instagram-head,.public-guild-head{grid-template-columns:64px minmax(0,1fr);gap:10px}.guild-instagram-profile .guild-logo-xl,.public-guild-logo{width:64px;height:64px}.guild-instagram-identity h1,.public-guild-name h2{font-size:1.3rem}.guild-instagram-stats strong,.public-guild-stats b{font-size:.96rem}.guild-profile-actions{grid-template-columns:1fr}.guild-profile-actions a:last-child{grid-column:auto}.public-guild-actions{grid-template-columns:1fr}.public-guild-actions>:only-child{grid-column:auto}}


/* ===== Perfil público da guilda • destaques semanais + comentários sociais ===== */
.guild-weekly-highlights{display:grid;gap:12px}.guild-weekly-highlight-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.guild-weekly-rank-card{border:1px solid #292929;background:#0b0b0b;border-radius:14px;overflow:hidden}.guild-weekly-rank-head{display:flex;align-items:center;gap:9px;padding:11px 12px;border-bottom:1px solid #242424}.guild-weekly-rank-head>span{width:30px;height:30px;border:1px solid #4b3e12;border-radius:50%;display:grid;place-items:center;color:var(--gold);font-weight:900}.guild-weekly-rank-head>div{display:grid;min-width:0}.guild-weekly-rank-head strong{font-size:.85rem}.guild-weekly-rank-head small{font-size:.68rem;color:var(--muted)}.guild-weekly-rank-list{display:grid}.guild-weekly-rank-row{width:100%;min-width:0;border:0;border-bottom:1px solid #202020;background:transparent;color:inherit;display:grid;grid-template-columns:32px 36px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 11px;text-align:left}.guild-weekly-rank-row:last-child{border-bottom:0}.guild-weekly-rank-row button,.guild-weekly-rank-row:hover{background:#10100e}.guild-rank-pos{font-weight:900;color:var(--gold);font-size:.82rem}.guild-rank-avatar{width:34px;height:34px}.guild-rank-player{display:grid;min-width:0}.guild-rank-player strong{font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.guild-rank-player small{font-size:.68rem;color:var(--muted)}.guild-rank-open{color:var(--muted)}.guild-weekly-empty{padding:15px 12px;color:var(--muted);font-size:.76rem}.public-guild-weekly-highlights{margin-top:16px;padding:14px 0;border-top:1px solid #272727;border-bottom:1px solid #272727}.public-guild-highlight-title{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:0 2px 10px}.public-guild-highlight-title strong{font-size:.9rem}.public-guild-highlight-title small{font-size:.7rem;color:var(--muted)}.public-guild-comment{display:grid;border-bottom:1px solid #202020;padding:9px 0}.public-guild-comment:last-child{border-bottom:0}.public-guild-comment.reply{margin-left:30px;padding-left:10px;border-left:2px solid #262626}.public-guild-comment-main{display:flex;gap:8px;align-items:flex-start}.public-guild-comment-main>.mini-avatar{width:30px;height:30px;flex:none}.public-guild-comment-main p{margin:0;font-size:.81rem;line-height:1.45}.public-guild-comment-main p strong{margin-right:4px}.comment-reply-to{display:block;margin-bottom:2px;color:var(--muted);font-size:.66rem}.public-guild-comment .comment-actions{margin-top:4px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.public-guild-comment .comment-actions .text-btn{font-size:.7rem}.comment-liked{color:var(--gold)!important}.public-guild-reply-form{margin-top:7px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.public-guild-reply-form[hidden]{display:none}.public-guild-reply-form input{min-width:0}.comments .comment.reply{margin-left:24px;padding-left:10px;border-left:2px solid #242424}
@media(max-width:760px){.guild-weekly-highlight-grid{grid-template-columns:1fr}.public-guild-comment.reply{margin-left:18px}.guild-weekly-rank-row{grid-template-columns:28px 34px minmax(0,1fr) auto;padding:8px 9px}}
@media(max-width:430px){.public-guild-weekly-highlights{margin-top:12px}.guild-weekly-rank-head{padding:9px 10px}.guild-weekly-rank-row{gap:6px}.public-guild-comment.reply{margin-left:12px;padding-left:8px}}

/* ===== Perfil do usuário • editor único + feed em grade ===== */
.profile-gallery{padding:0!important;overflow:hidden;display:grid;gap:12px}
.profile-gallery>.section-head{padding:15px 16px 0;margin:0}
.profile-gallery>.compact-composer{width:auto;max-width:none;margin:0;padding:0 16px 15px}
.profile-gallery>.empty-state{margin:0 16px 16px}
.profile-photo-grid{width:100%}
.profile-post-viewer .social-post-card{margin:0;max-width:none;border:0;padding:0;background:transparent}
.profile-editor-form{display:grid;gap:16px}
.profile-editor-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;padding:4px;border:1px solid #282828;border-radius:12px;background:#0b0b0b}
.profile-editor-tab{min-height:40px;border:0;border-radius:9px;background:transparent;color:var(--muted);font-weight:850;cursor:pointer}
.profile-editor-tab:hover{background:#151515;color:var(--text)}
.profile-editor-tab.active{background:rgba(255,196,0,.12);color:var(--gold)}
.profile-editor-pane{display:grid;gap:14px}
.profile-editor-media{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:14px;align-items:end}
.profile-editor-media .profile-cover-editor,.profile-editor-media .profile-photo-editor{display:grid;gap:8px;min-width:0}
.profile-editor-media .profile-cover-preview{height:150px;border:1px solid #2b2b2b;border-radius:13px;background:#090909;overflow:hidden;display:grid;place-items:center;color:var(--muted)}
.profile-editor-media .profile-cover-preview img{width:100%;height:100%;object-fit:cover}
.profile-editor-media .avatar-xl{width:104px;height:104px;border-radius:50%;margin-inline:auto}
.profile-editor-media .file-btn{width:100%}
.profile-editor-pane .private-curriculum-grid{border:0;padding:0}
.field-label{display:block;margin-bottom:7px;color:#d5d5d0;font-weight:700}
.profile-curriculum-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.profile-curriculum-roles .checkbox-item{display:flex;align-items:center;gap:8px;border:1px solid #2a2a2a;border-radius:10px;background:#0c0c0c;padding:9px 10px;color:#ddd;font-size:.86rem}
.profile-curriculum-roles input{width:auto!important}
.profile-editor-actions{display:flex;justify-content:flex-end;gap:8px;padding-top:4px;border-top:1px solid #242424}
@media(max-width:680px){
  .profile-editor-media{grid-template-columns:1fr}
  .profile-editor-media .profile-photo-editor{grid-template-columns:104px minmax(0,1fr);align-items:center}
  .profile-editor-media .avatar-xl{margin:0}
  .profile-curriculum-roles{grid-template-columns:1fr 1fr}
  .profile-editor-actions .btn{flex:1}
}
@media(max-width:430px){
  .profile-curriculum-roles{grid-template-columns:1fr}
  .profile-editor-tabs{gap:3px}
  .profile-editor-tab{font-size:.82rem}
}

/* ===== VK ORGANIZAÇÃO • Final UX System • Revisão 7 ===== */
:root{
  --border:var(--line);
  --surface:var(--panel);
  --surface-2:var(--panel2);
  --primary:var(--gold);
}

/* Interações consistentes */
.btn,
a.btn,
button.btn{
  min-height:44px;
  padding:10px 14px;
  border-radius:11px;
  line-height:1.15;
  white-space:normal;
  text-align:center;
  user-select:none;
  -webkit-tap-highlight-color:transparent;
}
.btn.small,a.btn.small,button.btn.small{min-height:40px;padding:8px 12px}
.btn.tiny,a.btn.tiny,button.btn.tiny{min-height:36px;padding:7px 10px;font-size:.78rem}
.btn:active:not(:disabled){transform:translateY(0) scale(.985)}
.btn:disabled,.btn[disabled],button:disabled,input:disabled,select:disabled,textarea:disabled{
  cursor:not-allowed!important;
  opacity:.52;
  transform:none!important;
  box-shadow:none!important;
}
.btn:focus-visible,
.text-btn:focus-visible,
.filter-chip:focus-visible,
.community-bottom-btn:focus-visible,
.profile-editor-tab:focus-visible,
.sidebar-access-tag:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:2px solid var(--gold);
  outline-offset:2px;
}
.text-btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:5px 7px;border-radius:8px}

/* Campos de formulário e toque */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),select,textarea{
  min-height:44px;
}
textarea{min-height:96px;resize:vertical}
input[type="checkbox"],input[type="radio"]{min-width:18px;min-height:18px}
.file-btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.form-grid,.modal-form,.inline-form{row-gap:12px}
.form-grid label,.modal-form label{min-width:0}

/* Barras e ações padronizadas */
.actions,.row-actions,.heading-actions,.section-actions,.event-status-actions,.guild-profile-actions{
  gap:8px;
  align-items:center;
}
.actions .btn,.row-actions .btn,.heading-actions .btn,.section-actions .btn{flex:0 0 auto}
.notification-toolbar{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px!important;
  width:100%;
  max-width:430px;
}
.notification-toolbar .btn{width:100%;min-width:0}
.filter-chip,.community-tab{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.event-view-tabs,.community-mode-tabs,.recruitment-filter-row,.filter-scroll{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.event-view-tabs::-webkit-scrollbar,.community-mode-tabs::-webkit-scrollbar,.recruitment-filter-row::-webkit-scrollbar,.filter-scroll::-webkit-scrollbar{display:none}

/* Inscrições de recrutamento: sem texto espremido */
.recruitment-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.recruitment-filter-row{display:flex!important;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;padding-bottom:2px}
.recruitment-filter-row .filter-chip{flex:0 0 auto;white-space:nowrap}
.recruitment-application-card,.recruitment-card{min-width:0;overflow:hidden}
.recruitment-application-card *,.recruitment-card *{overflow-wrap:break-word;word-break:normal}
.recruitment-card-actions,.recruitment-direct-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.recruitment-card-actions .btn,.recruitment-direct-actions .btn{width:100%;min-width:0}

/* Eventos */
.event-card,.event-admin-card,.xtest-slot-card,.team-member-field{min-width:0}
.event-view-tabs{display:flex;overflow-x:auto;overscroll-behavior-inline:contain;gap:7px}
.event-view-tabs .btn{flex:0 0 auto;white-space:nowrap}
.event-placement-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.event-placement-grid label{min-width:0}
.team-member-field{border:1px solid var(--line);background:rgba(255,255,255,.015);border-radius:12px;padding:11px;display:grid;gap:9px}
.team-members-inline{display:flex;flex-wrap:wrap;gap:6px}
.xtest-board{align-items:stretch}

/* Tabelas: scroll horizontal em telas menores em vez de esmagar conteúdo */
.table-wrap,.responsive-table,.data-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain}
table{border-collapse:collapse}

/* Hierarquia e largura de leitura */
.page-heading h1,.page-heading h2,.section-head h2,.section-head h3{line-height:1.15}
.page-heading p,.section-head p{max-width:76ch}
.empty-state,.empty{line-height:1.55}

/* Mobile-first: área clicável confortável */
@media (pointer:coarse){
  .btn.tiny,a.btn.tiny,button.btn.tiny,.text-btn,.filter-chip,.community-tab{min-height:44px}
  .sidebar-access-tag{min-height:46px}
}

@media(max-width:760px){
  .page,.page-content,.app-main{min-width:0}
  .heading-actions,.section-actions{flex-wrap:wrap}
  .notification-toolbar{max-width:none}
  .recruitment-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}
  .recruitment-card-actions,.recruitment-direct-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
  .event-placement-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .modal-card,.modal-panel{max-width:calc(100vw - 20px)}
}

@media(max-width:520px){
  .event-placement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .recruitment-stats{font-size:.9rem}
  .profile-editor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .profile-editor-actions .btn{width:100%}
}

@media(max-width:390px){
  .recruitment-card-actions,.recruitment-direct-actions{grid-template-columns:1fr}
  .notification-toolbar{grid-template-columns:1fr}
}

@media(min-width:1180px){
  .app-main .page,.app-main .page-content{max-width:1280px;margin-inline:auto}
  .event-placement-grid{grid-template-columns:repeat(6,minmax(0,1fr))}
}

@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}
}

.score-number-input{width:110px;max-width:100%}
.recruitment-list-spaced,.admin-results-spaced{margin-top:12px}

/* ===== Comunidade final: Explorar em grade / Para você em feed ===== */
.community-searchbar{width:min(100%,760px);margin:0 auto 10px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
.community-search-form{min-width:0;display:flex;align-items:center;gap:8px;height:44px;border:1px solid var(--border,#2b2b2b);border-radius:12px;background:var(--surface,#101010);padding:0 11px}
.community-search-form:focus-within{border-color:var(--gold,#f4c542);box-shadow:0 0 0 3px rgba(244,197,66,.12)}
.community-search-form input{width:100%;min-width:0;height:40px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;color:var(--text,#f4f4f1)}
.community-search-icon{font-size:1.2rem;color:var(--muted,#999);line-height:1}
.community-filter-menu{position:relative}
.community-filter-menu>summary{list-style:none}.community-filter-menu>summary::-webkit-details-marker{display:none}
.community-filter-button{height:44px;min-width:44px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--border,#2b2b2b);border-radius:12px;background:var(--surface,#101010);color:var(--text,#f4f4f1);padding:0 11px;cursor:pointer;font-weight:800;font-size:.76rem;white-space:nowrap}
.community-filter-button:hover,.community-filter-menu[open] .community-filter-button{border-color:#574b1c;color:var(--gold,#f4c542)}
.community-filter-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:45;min-width:168px;display:grid;padding:6px;border:1px solid var(--border,#2b2b2b);border-radius:12px;background:#0c0c0c;box-shadow:0 18px 45px rgba(0,0,0,.4)}
.community-filter-popover button{border:0;background:transparent;color:#d7d7d2;border-radius:8px;padding:10px 11px;text-align:left;font:inherit;font-weight:750;cursor:pointer;white-space:nowrap}
.community-filter-popover button:hover,.community-filter-popover button.active{background:rgba(244,197,66,.09);color:var(--gold,#f4c542)}
.community-active-filter{width:min(100%,760px);margin:0 auto 10px}
.community-content{width:min(100%,760px);margin:0 auto;padding-bottom:72px}
.community-content.is-explore{overflow:hidden;border-radius:12px;background:#070707}
.community-explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;background:#070707}
.community-explore-tile{position:relative;aspect-ratio:1/1;min-width:0;border:0;padding:0;overflow:hidden;background:#111;color:#f0f0ec;cursor:pointer;display:grid;place-items:center;text-align:left}
.community-explore-tile img{display:block;width:100%;height:100%;object-fit:cover}
.community-explore-tile.text-post{align-content:center;gap:7px;padding:11px;background:linear-gradient(145deg,#171717,#0b0b0b)}
.community-tile-author{width:100%;font-size:.66rem;font-weight:900;color:var(--gold,#f4c542);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.community-tile-copy{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;font-size:.76rem;line-height:1.35;color:#e0e0db}
.community-explore-tile:hover:after,.community-explore-tile:focus-visible:after{content:"Abrir";position:absolute;inset:0;display:grid;place-items:center;background:rgba(0,0,0,.36);font-weight:900}
.community-post-viewer .social-post-card{max-width:none;margin:0;border:0;background:transparent;padding:0}
.community-bottom-nav{position:sticky;z-index:35;bottom:8px;width:min(100%,760px);height:58px;margin:10px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;border:1px solid var(--border,#2b2b2b);border-radius:16px;background:rgba(9,9,9,.96);backdrop-filter:blur(12px);overflow:hidden;box-shadow:0 12px 34px rgba(0,0,0,.35)}
.community-bottom-btn{height:58px;border:0;background:transparent;color:#9b9b97;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;font-weight:800;font-size:.64rem}
.community-bottom-btn.active{color:var(--gold,#f4c542)}
.community-bottom-icon{width:21px;height:21px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:760px){.community-searchbar,.community-content,.community-active-filter{width:100%}.community-searchbar{padding:0 1px}.community-filter-label{display:none}.community-filter-button{padding:0;min-width:44px}.community-content.is-explore{border-radius:0;margin-left:-18px;width:calc(100% + 36px)}.community-bottom-nav{width:calc(100% - 2px);bottom:7px}.community-explore-tile.text-post{padding:8px}.community-tile-copy{font-size:.68rem;-webkit-line-clamp:5}}
