/* Crimson Village — identidade global inspirada na referencia aprovada. */
:root{--bg:#050a0f;--bg2:#080f15;--card:#091119;--card2:#111923;--line:#20303b;--txt:#f3f5f8;--mut:#aabbcc;--red:#ed303a;--org:#ff453f;--gold:#ffb53f;--r:12px;--sh:0 16px 42px #0008}
body{background:radial-gradient(ellipse at 2% 88%,#6b101422,transparent 34%),radial-gradient(ellipse at 98% 65%,#781b1d19,transparent 32%),#050a0f;color:var(--txt)}
body::before{content:"";position:fixed;inset:0;pointer-events:none;z-index:-1;background:linear-gradient(#050a0fee,#050a0fe8),url('../img/crimson-village.png') center/cover}
.wrap{max-width:1500px;padding-inline:36px}.narrow{max-width:820px}.ui-icon{width:22px;height:22px;flex-shrink:0;vertical-align:middle;display:inline-block}.text-gold{color:var(--gold)}
h1,h2,h3,h4{font-family:"Segoe UI","Trebuchet MS",sans-serif;font-weight:750;letter-spacing:-.035em}h1{font-size:clamp(2.5rem,4.4vw,4.4rem);line-height:1.05}h2{font-size:clamp(1.55rem,2.4vw,2rem)}.eyebrow{color:#ff853f;font-size:.68rem;letter-spacing:.24em;font-weight:600}.lead{font-size:1.06rem;line-height:1.7}.text-gold{color:#ffb13d}
/* Navegacao: icones e rotulos em uma faixa compacta. */
.topbar{background:linear-gradient(180deg,#070c12fa,#03070cf5);backdrop-filter:blur(16px);border-bottom:1px solid #3e2a2f;box-shadow:0 8px 24px #0004}.topbar .bar{max-width:1580px;flex-wrap:nowrap;min-height:80px;padding-top:8px;padding-bottom:8px;gap:20px}.brand{white-space:nowrap;font-size:1.25rem;letter-spacing:-.05em}.brand img{width:40px;height:40px;filter:saturate(1.9)}.menu{width:auto;flex:1;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:3px}.menu>a:not(.btn){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:9px 8px;min-height:60px;border:1px solid transparent;border-radius:8px;font-size:.72rem;white-space:nowrap;line-height:1.3}.menu a .ui-icon{width:19px;height:19px;color:#8394a8;transition:color .2s}.menu>a:hover{background:#57121833}.menu>a.on{border-color:#f1333f;background:linear-gradient(#51121966,#280a1033);color:#ff6546;box-shadow:inset 0 0 18px #7a111122}.menu>a.on .ui-icon{color:#ffb13d}.menu a:hover .ui-icon{color:#ff6546}.menu-sep{margin-inline:10px}.menu .btn{white-space:nowrap;font-size:.8rem;padding:10px 16px;gap:8px}.menu .btn .ui-icon{color:inherit}.burger{border-color:#7a242d}
.btn{border-radius:8px;background:linear-gradient(115deg,#ffbd4c,#e88c20);border:1px solid #ffa832;color:#130d05;box-shadow:inset 0 1px #ffd78077,0 6px 22px #0004;font-weight:750;padding:12px 21px}.btn:hover{color:#130d05;box-shadow:0 0 22px #ff9b272b;border-color:#ffce70}.btn.ghost{border-color:#42434c;background:linear-gradient(120deg,#0c1018d9,#080b10ad);color:#edf2f8;box-shadow:none}.btn.ghost:hover{border-color:#f13a44;background:#51151c44}.btn.big{padding:17px 25px;font-size:.98rem}.btn .ui-icon{width:21px;height:21px}.btn.danger{background:linear-gradient(#f34249,#c91e28);color:#fff;border-color:#f44}.btn[disabled]{opacity:.55}
a{color:#ffb13d}a:hover{color:#ffd38e}.tag.gold{background:#7b4b1477;border:1px solid #a4672355;color:#ffd184}.tag .ui-icon{width:12px;height:12px}.tag{font-size:.68rem}
/* Leitura consistente em todas as paginas, formularios e painel administrativo. */
.page{position:relative;padding:58px 0 74px;min-height:65vh;isolation:isolate}.page::before{content:"";position:absolute;inset:0 0 auto;height:360px;background:linear-gradient(90deg,#050a0fdd,#050a0f99),linear-gradient(0deg,#050a0f,transparent 80%),url('../img/crimson-village.png') center 37%/cover;z-index:-1;pointer-events:none}.page h1{margin-bottom:22px}.section{padding:58px 0}.section.alt{background:#070e14c9;border-color:#18232c}.card,.stat,.soon{background:linear-gradient(135deg,#0a131bdc,#060c13ed);border:1px solid #1d2d38;border-radius:12px;box-shadow:0 9px 26px #0002}.card{padding:24px}.card.hover:hover,a.card:hover{border-color:#d7364099;box-shadow:0 10px 30px #a1171714;transform:translateY(-2px)}.card h3{color:#f4f5f8}.section-head{margin-bottom:24px}.section-head h2>.ui-icon{color:#ef3640;width:32px;height:32px;margin-right:12px;vertical-align:-5px}.table-wrap{background:#070e15de;border-color:#26323e;border-radius:12px}th{background:#0f1821;color:#a8b7c8;font-size:.74rem}td{border-color:#1c2732}tr:hover td{background:#b4242810}.stat b{color:#fff}.stat{border-top:2px solid #8b2931}.pager a.cur{background:#be222e;border-color:#fa3a46}.prose{color:#c6d0dd}.prose h2,.prose h3{color:#f4f6fa}.footer{background:#03080d;border-color:#29303a}.footer h4{color:#f1b34b}.footer .brand{font-size:1.1rem}.copy{border-color:#212a33}.alert{border-radius:10px}.alert.warn{background:#37271488;border-color:#9c6b2a}.alert.ok{background:#10362588}
input[type=text],input[type=password],input[type=email],input[type=search],input[type=url],input[type=number],input:not([type]),select,textarea{background:#060c13;color:#e8eef5;border-color:#303843;border-radius:8px}input:focus,select:focus,textarea:focus{border-color:#f2444e;box-shadow:0 0 0 3px #e7354022}input::placeholder,textarea::placeholder{color:#8b9aad}.form .btn[type=submit],.searchbar .btn,.system-filters .btn{background:linear-gradient(#ed3a43,#d32330);border-color:#ef4550;color:#fff;box-shadow:0 4px 16px #b21b2422}.admin nav{background:#080f16;border-color:#27313a}.admin nav a.on{background:#54131c88;color:#ff6c65}.admin nav a:hover{color:#ffba58}
/* Banners. */
.hero,.guild-hero{background:#0a090f url('../img/crimson-village.png') center center/cover no-repeat;border-bottom:1px solid #433039;position:relative;isolation:isolate}.hero{min-height:510px}.hero::after{background:linear-gradient(90deg,#05070c55,transparent 78%),linear-gradient(0deg,#050a0fa6,transparent 35%)}.hero .wrap{padding-top:76px;padding-bottom:85px}.hero h1{max-width:960px}.hero h1 span{background:none;color:#ffb13d;-webkit-text-fill-color:initial}.hero .lead{max-width:650px}.status{background:#060b12da;border-color:#31313e}.world-links{border-radius:10px;margin-top:-20px;box-shadow:0 14px 30px #0004}.world-link{background:linear-gradient(130deg,#0b151e,#060d14);padding:24px}.world-link:hover{background:linear-gradient(130deg,#31151c,#0b121b)}.world-link small{color:#f84b4c}.world-link h3{font-size:1.1rem}.rank-card.p1{border-color:#9f681f;background:linear-gradient(135deg,#4a2d102e,#080f17)}
.guild-hero-inner{display:flex;align-items:center;justify-content:space-between;min-height:390px;gap:48px;padding-top:46px;padding-bottom:38px}.guild-hero h1{font-size:clamp(2.7rem,4.4vw,4.2rem);margin-top:16px;margin-bottom:16px}.guild-hero .lead{max-width:680px;color:#becadb}.guild-hero .cta{margin-bottom:0;margin-top:22px}.guild-hero-stats{background:linear-gradient(135deg,#2b111bee,#0b1019ee);border:1px solid #51505c;border-radius:12px;backdrop-filter:blur(12px);padding:24px;min-width:210px;box-shadow:0 20px 40px #0007;margin-top:70px}.guild-hero-stats>div{display:flex;align-items:center;gap:14px;margin-bottom:22px}.guild-hero-stats>div:last-child{margin:0}.guild-hero-stats .ui-icon{width:40px;height:40px;padding:9px;border-radius:50%;background:#65233366;color:#fff}.guild-hero-stats b{display:block;font-size:1.25rem;line-height:1.3}.guild-hero-stats small{display:block;margin-top:3px;text-transform:uppercase;color:#b5bdcb;font-size:.64rem}
/* Annuaire de guildes. */
.guild-directory{padding:24px 0 60px}.guild-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:26px}.guild-tabs>a{display:flex;align-items:center;gap:20px;background:linear-gradient(125deg,#0a151dcf,#061017df);border:1px solid #1d303d;border-radius:10px;padding:20px;color:#f0f4fa;min-height:80px}.guild-tabs>a>.ui-icon{width:29px;height:29px;color:#ef303d}.guild-tabs b,.guild-tabs small{display:block}.guild-tabs b{font-size:.88rem;line-height:1.4}.guild-tabs small{font-size:.73rem;color:#a9b9c9;margin-top:3px}.guild-tabs a.active,.guild-tabs a:hover{border-color:#f13744;background:linear-gradient(120deg,#5c1e2680,#110f18);box-shadow:inset 0 0 22px #c22b2611}.guild-columns{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px;align-items:start}.guild-results{min-width:0}.guild-results .section-head{align-items:center;gap:14px}.guild-results .section-head h2{font-size:1.8rem;margin-bottom:12px}.guild-results .section-head>div>p{font-size:.87rem}.guild-search{display:flex;gap:12px;flex:1;justify-content:flex-end;align-items:center;min-width:0}.guild-search>div{display:flex;align-items:center;border:1px solid #4a2b34;background:#050a10;gap:8px;border-radius:8px;padding-left:12px;max-width:360px;min-width:0}.guild-search input{border:0;background:none;padding:11px 4px;box-shadow:none!important;min-width:90px;font-size:.78rem}.guild-search>div>.ui-icon{width:18px;color:#ed303b}.guild-search .btn{background:linear-gradient(#ed3b43,#d52230);border-color:#ed3c48;color:#fff;padding:11px 16px;font-size:.78rem;margin:2px}.guild-search select{font-size:.76rem;padding:12px;max-width:170px}.guild-sidebar .card{padding:20px;margin-bottom:16px}.guild-sidebar h3{font-size:1.04rem;display:flex;align-items:center;gap:10px;letter-spacing:-.025em}.guild-sidebar h3>.ui-icon{color:#ff6738;width:27px;height:27px}.guild-sidebar p{font-size:.82rem}.guild-sidebar .btn{border-color:#aa6f1c;color:#ffbb43;float:right}.guild-sidebar .card::after{content:"";display:block;clear:both}.guild-reasons{list-style:none;margin:16px 0 0;padding:0}.guild-reasons li{border:1px solid #1a2d38;border-radius:8px;padding:8px 10px;margin-top:5px;display:flex;gap:10px;align-items:center;font-size:.74rem;color:#b7c7d6;background:#07121a}.guild-reasons .ui-icon{color:#ffb03a;width:20px;height:20px}.guild-list{display:grid;gap:18px}.guild-row{display:flex;background:linear-gradient(110deg,#1b0f1755,#071019dd 50%,#100c15cc);border:1px solid #a02739;border-radius:12px;overflow:hidden;box-shadow:0 10px 28px #0004}.guild-rank{width:82px;flex-shrink:0;background:linear-gradient(110deg,#6e431022,#09111b22);border-right:1px solid #493820;border-left:2px solid #ffb136;color:#ffc34f;display:flex;align-items:center;justify-content:center;flex-direction:column}.guild-rank b{font-size:2.6rem;line-height:1.1;font-weight:650}.guild-rank small{font-size:.64rem;text-transform:uppercase;letter-spacing:.14em}.guild-row-content{flex:1;min-width:0;padding:24px}.guild-row-top{display:flex;gap:20px;align-items:center}.guild-row-emblem .guild-emblem{width:110px;height:126px;border-radius:14px;border-color:var(--guild-accent,#f1393e);object-fit:cover;box-shadow:0 5px 26px #c12c2520}.guild-row-name{flex:1;min-width:0}.guild-row-name h3{font-size:1.8rem;margin:3px 0 8px;overflow-wrap:anywhere}.guild-row-name h3 a{color:#f3f5f8}.guild-row-name h3 a:hover{color:#ffb53f}.guild-row-name p{color:#bfc7d2;font-size:.85rem;margin-bottom:0}.guild-badge{display:inline-block;border:1px solid #762733;background:#52151c88;color:#ffb6b4;border-radius:20px;padding:3px 9px;font-size:.65rem;font-weight:650}.guild-badge.recruiting{background:#0e3a2388;border-color:#1b5b3b;color:#69df85}.guild-leader{border-left:1px solid #1d2b36;padding-left:22px;min-width:145px}.guild-leader>small{display:block;color:#ffb53f;font-size:.72rem;margin-bottom:10px}.guild-leader>small .ui-icon{width:15px;height:15px}.guild-leader>a{display:flex;align-items:center;gap:10px;color:#e9edf4}.guild-leader img{width:48px;height:56px;object-fit:cover;background:#18131b;border:1px solid #a84822;border-radius:7px;image-rendering:auto}.guild-leader b,.guild-leader a small{display:block;font-size:.85rem}.guild-leader a small{color:#a5b9ca;margin-top:3px;font-weight:400}.guild-row-bottom{display:flex;align-items:center;gap:22px;margin-top:22px;padding-top:14px;border-top:1px solid #20202b}.guild-row-bottom>div{display:flex;align-items:center;gap:10px;border-right:1px solid #20232e;padding-right:22px}.guild-row-bottom>div>.ui-icon{color:#ee3540;width:22px}.guild-row-bottom>div:nth-child(2)>.ui-icon{color:#ffb43d}.guild-row-bottom b,.guild-row-bottom small{display:block;font-size:.8rem}.guild-row-bottom small{font-weight:400;color:#aab9c9}.guild-discover{margin-left:auto;color:#ffbe4e!important;border-color:#c18a27!important;font-size:.82rem;white-space:nowrap;padding:13px 16px}.guild-discover .ui-icon{width:17px}.empty-guild-icon{display:block;margin-bottom:12px}.empty-guild-icon .ui-icon{width:42px;height:42px;color:#e33843}.guild-guide{padding-top:52px;scroll-margin-top:110px}.guild-guide>.grid{margin-top:24px}.guide-step{color:#f34649;display:block;margin-bottom:20px;font-size:1.9rem;font-weight:300}.guild-guide .card p{font-size:.9rem}.guild-guide .card a{font-size:.85rem}.guild-identity{border-color:var(--guild-accent,#d13b43);background:linear-gradient(120deg,#391922,#0c121c)}.guild-identity-content{background:linear-gradient(90deg,#080b12bb,transparent)}.guild-about{background:#080f17ec}.my-guilds{margin-bottom:22px}.monogram{background:linear-gradient(135deg,#3e101c,#090e16)}
.systems-heading{max-width:950px}.system-card{border-top:2px solid #9d2736;background:linear-gradient(135deg,#10131c,#071018)}.system-card-label .eyebrow{color:#f64a4a}.system-number{color:#8d3741}.system-access{border-color:#392530}.system-access b{color:#ffbc4d}.system-filters{background:#090f17ed;border-color:#372a36}.command-item{background:#09121beb;border-color:#26313d}.command-item code{color:#ffc46d}.news-card .cover{background-color:#1f0d16}.vocation-card{border-color:#40303b}.application{border-color:#412432}
@media(min-width:1101px) and (max-width:1370px){.topbar .bar{gap:12px;padding-inline:20px}.brand{font-size:1.08rem}.brand img{width:33px;height:33px}.menu>a:not(.btn){font-size:.65rem;padding-inline:5px}.menu .btn{font-size:.73rem;padding:9px 12px}.menu-sep{margin-inline:3px}.guild-columns{grid-template-columns:minmax(0,1fr) 275px;gap:22px}.guild-results .section-head{display:block}.guild-search{justify-content:flex-start;margin-top:16px}.guild-row-content{padding:20px}.guild-row-emblem .guild-emblem{width:88px;height:108px}.guild-row-bottom{gap:14px}.guild-row-bottom>div{padding-right:14px}.guild-tabs>a{gap:12px;padding:16px}.guild-tabs b{font-size:.8rem}}
@media(max-width:1100px){.topbar .bar{flex-wrap:wrap;min-height:72px;padding-block:12px}.burger{display:block}.menu{display:none;width:100%;flex-basis:100%;max-height:75vh;overflow:auto}.menu.open{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.menu>a:not(.btn){padding:14px;min-height:74px;font-size:.8rem}.menu a.btn{min-height:48px}.guild-hero-inner{min-height:380px;gap:24px}.guild-hero h1{font-size:3.1rem}.guild-hero-stats{margin-top:35px;padding:18px;min-width:185px}.guild-columns{grid-template-columns:minmax(0,1fr)}.guild-sidebar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guild-tabs{grid-template-columns:repeat(3,1fr)}.guild-tabs a{padding:16px}.guild-tabs a:last-child{grid-column:span 2}.guild-results .section-head{align-items:end}.guild-row-bottom{gap:14px}.guild-row-bottom>div{padding-right:14px}}
@media(max-width:760px){.wrap{padding-inline:20px}.brand{font-size:1.15rem}.topbar .bar{padding-inline:20px}.hero{min-height:520px;background-position:60% center}.hero .wrap{padding-top:65px;padding-bottom:70px}.hero h1{font-size:2.75rem}.hero h1 span{font-size:.85em}.hero .lead{font-size:1rem;max-width:90%}.hero::after{background:linear-gradient(90deg,#04070ce8,#04070c55),linear-gradient(0deg,#050a0f,transparent)}.page{padding-top:38px}.page::before{height:300px;background-position:70% center}.world-links{margin-top:0}.guild-hero{background-position:65% center}.guild-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#05080de6,#05080d44);z-index:-1}.guild-hero-inner{display:block;padding-top:40px;padding-bottom:26px}.guild-hero h1{font-size:2.8rem}.guild-hero .lead{font-size:.95rem}.guild-hero .cta{gap:10px}.guild-hero .btn.big{padding:13px 18px;font-size:.88rem}.guild-hero-stats{margin-top:26px;display:flex;justify-content:space-between;gap:10px;padding:15px;min-width:0}.guild-hero-stats>div{margin:0;gap:8px}.guild-hero-stats .ui-icon{display:none}.guild-hero-stats b{font-size:1.1rem}.guild-hero-stats small{font-size:.53rem}.desktop-break{display:none}.guild-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.guild-tabs>a{gap:10px;padding:13px;min-height:72px}.guild-tabs a:last-child{grid-column:span 2}.guild-tabs b{font-size:.78rem}.guild-tabs small{font-size:.65rem}.guild-tabs>a>.ui-icon{width:24px;height:24px}.guild-results .section-head{display:block}.guild-results .section-head h2{font-size:1.6rem}.guild-search{flex-wrap:wrap;justify-content:stretch;margin-top:16px}.guild-search>div{max-width:none;width:100%}.guild-search input{flex:1}.guild-search select{max-width:none;width:100%}.guild-row{border-radius:10px}.guild-rank{width:43px}.guild-rank b{font-size:1.8rem}.guild-rank small{font-size:.5rem}.guild-row-content{padding:16px;overflow:hidden}.guild-row-top{gap:13px;flex-wrap:wrap}.guild-row-emblem .guild-emblem{width:72px;height:85px;border-radius:9px}.guild-row-name h3{font-size:1.4rem}.guild-row-name p{font-size:.75rem}.guild-row-name .tag{font-size:.56rem}.guild-badge{font-size:.57rem;padding:2px 6px}.guild-leader{border-left:0;border-top:1px solid #262b34;padding:12px 0 0;display:flex;align-items:center;gap:16px;width:100%}.guild-leader>small{margin:0}.guild-leader img{width:33px;height:38px}.guild-leader b,.guild-leader a small{font-size:.75rem}.guild-row-bottom{flex-wrap:wrap;gap:12px;margin-top:14px}.guild-row-bottom>div{gap:7px;padding-right:10px;flex:1;min-width:76px}.guild-row-bottom .ui-icon{width:18px}.guild-row-bottom b,.guild-row-bottom small{font-size:.7rem}.guild-discover{width:100%;margin-left:0;justify-content:center;padding:11px}.guild-sidebar{grid-template-columns:1fr;gap:0}.guild-guide{padding-top:32px}.menu.open{grid-template-columns:repeat(3,minmax(0,1fr))}.menu>a:not(.btn){font-size:.74rem}.system-card{scroll-margin-top:90px}.guild-identity-content{gap:16px}.system-filters{padding:20px}.guild-identity-content h2{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

.hero .wrap>*{animation:none}
