/* A RUPTURA — O ARQUIVO v1.5 | interface cinematográfica aplicada ao Mestre e ao Agente.
   Arte original fornecida para a campanha. Sem recursos externos e sem fontes carregadas da rede. */
:root{
  --night:#07080c;--obsidian:#0c0b10;--crimson:#c82c37;--blood:#8c1823;
  --pearl:#f4edeb;--secondary-text:#bdb5bd;--faint-text:#928e9d;
  --gothic-border:#54323a;--emboss:rgba(238,98,104,.19);
}
html{scroll-behavior:smooth}
body{background:#060609;color:var(--pearl)}
body:before{
 background:linear-gradient(90deg,rgba(5,5,8,.95),rgba(5,5,8,.82) 40%,rgba(5,5,8,.92)),url('./fundo-principal.webp') center / cover no-repeat;
}
.shell{min-height:100vh}
.sidebar{
 width:254px;min-width:254px;background:linear-gradient(180deg,rgba(5,5,8,.98),rgba(9,8,13,.98));
 border-right:1px solid #66333a;padding:16px 11px 18px;
 box-shadow:7px 0 28px #050509ba;
}
.sidebar:before{content:'';display:block;position:absolute;left:8px;right:8px;top:8px;height:1px;background:linear-gradient(90deg,transparent,#b04e53,transparent)}
.brand{padding:11px 7px 14px;margin-bottom:5px}
.brand-art{height:121px;filter:drop-shadow(0 1px 17px rgba(219,37,41,.22))}
.brand small{color:#dab9b9;letter-spacing:.24em;font-size:9px}
.nav-head{font-size:10px;color:#c2a1a8;letter-spacing:.2em;padding:19px 12px 6px}
.nav-btn{border-radius:4px;min-height:40px;padding:9px 11px;color:#d0c8ce;gap:9px}
.nav-btn.active{border-color:#6e242c;background:linear-gradient(90deg,#46171e,#180d16);box-shadow:inset 3px 0 #f0585d;color:#fff}
.nav-glyph{color:#ea747c;font-size:17px}
.nav-search{border-radius:4px;background:rgba(22,16,21,.9);border-color:#63323b}
.sidebar-bottom{border-color:#55272e}
.main{background:linear-gradient(180deg,rgba(7,8,12,.80),rgba(7,8,12,.94) 72%),url('./fundo-principal.webp') center 20%/cover fixed;min-width:0}
.topbar{background:rgba(7,7,11,.96);border-bottom:1px solid #6e272f;height:66px;padding:0 28px}
.crumb{font-size:11px;letter-spacing:.14em;color:#c0a5a8}
.crumb b{font-size:12px;letter-spacing:.06em;color:#faf2f0}
.crumb-sep{color:#e65a63}
.top-role{border-radius:5px;color:#eeafb2;letter-spacing:.12em;font-size:10px}
.content{max-width:none;padding:23px 28px 90px}
.archive-footer{color:#9f878b;border-top-color:#47242c}
.redesigned-dashboard{width:100%}
.gothic-hero{
 position:relative;display:flex;align-items:end;min-height:282px;overflow:hidden;
 border:1px solid #723139;border-radius:3px;
 background:linear-gradient(90deg,rgba(3,3,7,.95) 0%,rgba(4,3,6,.82) 42%,rgba(6,4,8,.3) 80%),url('./fundo-principal.webp') center 25% / cover no-repeat;
 box-shadow:inset 0 0 0 5px #09090b88,0 10px 40px #0007;
}
.gothic-hero:before{content:'';position:absolute;inset:15px;border:1px solid #a654584d;pointer-events:none}
.gothic-hero:after{content:'';position:absolute;left:18px;bottom:18px;width:14px;height:14px;border-left:1px solid #f08787;border-bottom:1px solid #f08787;transform:rotate(0deg);pointer-events:none}
.gothic-hero-content{position:relative;z-index:1;padding:43px 43px 39px;max-width:750px}
.gothic-hero .eyebrow{color:#f39b9d;text-shadow:0 1px #000}
.gothic-hero h1{font:normal clamp(33px,3.55vw,55px)/1.13 Georgia, 'Times New Roman', serif;color:#fff4f0;letter-spacing:-.018em;margin:13px 0 12px;text-shadow:0 2px 8px #080404}
.gothic-hero h1 em{font-style:normal;color:#ef9fa4}
.gothic-hero p{max-width:550px;color:#ddd2d6;font-size:14px;line-height:1.75;margin:0 0 22px}
.hero-actions{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.gothic-hero .btn{box-shadow:0 5px 15px #0008;border-radius:3px}
.btn{border-radius:5px}
.panel,.list-card,.soft,.rail-panel{border-radius:4px}
.panel{background:linear-gradient(150deg,#14121aee,#09090eee);border-color:#503039;box-shadow:inset 0 1px 0 #a2515118}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}
.section-heading h2{font:normal 25px Georgia,serif;color:#f9f1f0;margin:4px 0 0;letter-spacing:.01em}
.section-heading p{font-size:13px;color:#b6aeb9;margin:8px 0 0}
.spacing-top{margin-top:27px}
.subtle-action{background:transparent;border:1px solid #69414a;color:#f1b6b8;font-size:11px;letter-spacing:.06em;padding:9px 11px;border-radius:3px;cursor:pointer}
.subtle-action:hover{background:#42212b;border-color:#d65b65;color:#fff}
.headline-hint{font-size:11px;letter-spacing:.13em;color:#d9a1a8}
.dashboard-canvas{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:19px;margin-top:21px;align-items:start}
.dashboard-primary{min-width:0}
.dashboard-rail{display:flex;flex-direction:column;gap:17px;min-width:0}
.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.feature-tile{display:flex;flex-direction:column;min-width:0;overflow:hidden;text-align:left;padding:0;background:linear-gradient(145deg,#121016,#08080b);color:#f7efed;border:1px solid #65333b;border-radius:4px;cursor:pointer;transition:transform .18s,border-color .18s,box-shadow .18s}
.feature-tile:hover{transform:translateY(-3px);border-color:#dc6970;box-shadow:0 11px 25px #020104ce}
.feature-tile:focus-visible{outline:2px solid #ef8d8e;outline-offset:2px}
.feature-picture{display:block;height:145px;width:100%;position:relative;background-size:cover;background-position:center}
.feature-picture:before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(4,4,7,.7))}
.feature-icon{position:absolute;bottom:9px;left:13px;color:#ff777c;font-size:25px;text-shadow:0 1px 10px #000}
.feature-copy{position:relative;display:flex;flex-direction:column;min-height:96px;gap:6px;padding:16px 14px 18px}
.feature-copy strong{font-size:14px;font-family:Georgia,serif;font-weight:normal;letter-spacing:.09em;line-height:1.3}
.feature-copy small{font-size:11px;color:#bfb7be;line-height:1.55;padding-right:7px}
.feature-arrow{position:absolute;right:10px;bottom:11px;color:#e65e68;font-size:16px}
.stat-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.stat-tile{display:flex;flex-direction:column;gap:9px;padding:15px 13px 13px;text-align:left;background:#130f16e8;color:#eddee1;border:1px solid #512c37;border-radius:4px;cursor:pointer}
.stat-tile:hover{border-color:#d06570;background:#2a161d}
.stat-tile span{font-size:11px;color:#cbaeb5}
.stat-tile strong{font:normal 30px Georgia,serif;color:#fff}
.gothic-recent-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gothic-file{display:flex;flex-direction:column;min-width:0;text-align:left;overflow:hidden;background:#0c0c11;border:1px solid #57323c;border-radius:4px;color:#f4eced;cursor:pointer;transition:.18s}
.gothic-file:hover{background:#22141d;border-color:#d66b71;transform:translateY(-2px)}
.file-thumb{height:112px;width:100%;display:block;background-size:cover;background-position:center;border-bottom:1px solid #4c2933}
.file-thumb-0{background-image:url('./art-eclipse.webp')}
.file-thumb-1{background-image:url('./art-selos.webp')}
.file-thumb-2{background-image:url('./art-ruinas.webp')}
.file-thumb-3{background-image:url('./art-catedral.webp')}
.file-copy{display:flex;flex-direction:column;gap:5px;padding:13px 12px 15px;min-width:0}
.file-copy strong{font-family:Georgia,serif;font-size:14px;font-weight:normal;overflow-wrap:anywhere;color:#f5e8e7}
.file-copy small{font-size:11px;color:#b5aab2;line-height:1.55}
.file-arrow{display:none}
.rail-panel{background:linear-gradient(135deg,#0d0c11f5,#0a090ff5);border:1px solid #612b34;padding:14px 12px}
.rail-header{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #663138;padding:0 1px 11px;margin-bottom:12px;color:#f1d8d8;letter-spacing:.1em;font:normal 13px Georgia,serif}
.rail-header button{color:#d0a4ab;background:none;border:none;cursor:pointer}
.rail-dot{display:inline-block;height:8px;width:8px;border-radius:50%;background:#cd4b57;box-shadow:0 0 9px #c12737}
.rail-place{display:flex;align-items:center;gap:9px;width:100%;border:1px solid #33222b;background:#120e14;color:#ece0e3;text-align:left;border-radius:3px;min-width:0;padding:5px;margin-bottom:8px;cursor:pointer}
.rail-place:last-child{margin-bottom:0}
.rail-place:hover{border-color:#ad5962;background:#271721}
.place-art{display:block;flex:0 0 76px;height:49px;background:#221924 center/cover no-repeat}
.place-art-0{background-image:url('./base-bar.webp')}.place-art-1{background-image:url('./base-ordem.webp')}.place-art-2{background-image:url('./base-radio.webp')}
.rail-place>span:nth-child(2){flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.rail-place strong{font-size:12px;font-weight:650;color:#f1e9ea;overflow-wrap:anywhere}
.rail-place small{font-size:10px;color:#b3a1a7;line-height:1.5;overflow-wrap:anywhere}
.rail-place b{font:normal 23px Georgia,serif;color:#e68a8c;margin-right:4px}
.rail-metric{border-bottom:1px solid #3f2832;padding:10px 2px;display:flex;align-items:center;justify-content:space-between;gap:11px}
.rail-metric strong{font:normal 29px Georgia,serif;color:#f6c1c1}
.rail-metric span{font-size:11px;color:#cbb3bc;text-align:right}
.rail-link,.rail-quick{display:block;text-align:left;width:100%;border:0;border-bottom:1px solid #38252d;background:transparent;padding:11px 5px;color:#d5b6bc;font-size:12px;cursor:pointer}
.rail-link:hover,.rail-quick:hover{background:#291922;color:#fff}
.rail-text{font-size:12px;color:#c9b9be;line-height:1.7}
.agent-id{text-align:center}
.agent-id .rail-header{text-align:left}
.agent-mark{display:grid;place-items:center;margin:16px auto 11px;width:76px;height:76px;border-radius:50%;background:radial-gradient(circle,#54252b,#140b14);border:1px solid #c74e58;color:#f8b2b3;font-size:39px;box-shadow:0 0 30px #bd25372e}
.agent-id h3{font:normal 26px Georgia,serif;margin:6px 0 0;color:white;overflow-wrap:anywhere}
.agent-id p{font-size:10px;letter-spacing:.17em;color:#c7a7ae;margin:7px 0 15px}
.empty-gothic{border:1px dashed #5c313b;padding:25px 18px;text-align:center;color:#c8b5bc;min-height:190px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;grid-column:1/-1;background:#140e16}
.empty-gothic strong{font:normal 18px Georgia,serif;color:#f4e3e6}
.empty-gothic p{max-width:420px;font-size:12px;line-height:1.7;margin:0}
.player-file-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.player-shell .gothic-hero{min-height:300px;background-position:center 25%}
.player-shell .gothic-hero h1{font-size:clamp(34px,3.1vw,50px)}
.player-shell .main{background:linear-gradient(180deg,#050509db,#050509f4),url('./fundo-principal.webp') center top /cover fixed}
.player-shell .feature-grid{gap:12px}
.inner-player-page{max-width:1300px}
.inner-player-page .section-heading{margin-bottom:22px;padding-bottom:11px;border-bottom:1px solid #622d36}
.inner-player-page .section-heading h2{font-size:33px}
.gothic-panel{border-radius:3px;border-color:#5c3540}
.player-inner-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.personal-note{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #452e36;padding:13px 0}
.personal-note strong{font-family:Georgia,serif;font-size:16px;color:#f4e7e8}
.personal-note p{color:#b9adb7;font-size:12px;line-height:1.6;margin:7px 0}
.locations-list{grid-template-columns:repeat(3,minmax(0,1fr))}
.static-tile{cursor:default}.static-tile:hover{transform:none}
.reader-panel{margin-top:28px;padding:28px}
.reader-chapter{background:#171017;border:1px solid #6a3840;padding:23px;margin-bottom:15px;border-radius:3px}
.reader-chapter h2{margin:9px 0 12px;color:#f7ecea}
.reader-chapter .book-leaf{margin-top:18px}
.section-head,.section-heading{position:relative}
.section-head h1,.section-heading h2{color:#f7efee}
.section-head .eyebrow{color:#e6878e}
.list-card,.panel,.rail-panel,.chapter-item{box-shadow:0 8px 21px #02020344}
.list-card{min-height:210px}
.list-card .card-title{font-family:Georgia,serif;font-weight:normal;font-size:19px}
.list-card .btn{border-radius:3px}
.world-selector{border-radius:3px}.world-tabs .tab{border-radius:3px}
.login-page{background:linear-gradient(90deg,#020204c9,#02020465,#020204cb),url('./fundo-principal.webp') center /cover no-repeat}
.login-card{border-radius:3px;border:1px solid #a2464c;box-shadow:0 20px 90px #000e,inset 0 0 0 7px #1b0d14;padding:29px 38px 35px;background:linear-gradient(165deg,#111016ee,#08090df5)}
.login-card:before{content:'';height:1px;background:linear-gradient(90deg,transparent,#e88187,transparent);display:block;margin-bottom:15px}
.login-logo{height:188px}
.login-card h1{font:normal 34px Georgia,serif}
.login-card .subtitle{color:#c0aeb5}
.login-card .field input{border-radius:3px}
.login-card .btn{border-radius:3px}
@media (max-width:1450px){.dashboard-canvas{grid-template-columns:minmax(0,1fr) 265px}.feature-picture{height:118px}.feature-copy{padding:12px;min-height:107px}}
@media (max-width:1190px){.sidebar{width:230px;min-width:230px}.content{padding:18px 19px 65px}.dashboard-canvas{grid-template-columns:minmax(0,1fr) 240px;gap:12px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-picture{height:128px}}
@media (max-width:900px){.dashboard-canvas{grid-template-columns:1fr}.dashboard-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-rail .rail-panel:last-child{grid-column:1/-1}.gothic-hero{min-height:264px}.gothic-recent-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:720px){.sidebar{width:min(300px,90vw);min-width:0}.topbar{padding:0 14px}.content{padding:13px 12px 60px}.gothic-hero-content{padding:30px 24px}.gothic-hero h1{font-size:34px}.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.feature-picture{height:110px}.dashboard-rail{grid-template-columns:1fr}.dashboard-rail .rail-panel:last-child{grid-column:auto}.gothic-recent-grid{grid-template-columns:1fr}.player-file-list,.locations-list,.player-inner-grid{grid-template-columns:1fr}.section-heading h2{font-size:22px}.stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.top-role{display:none}.player-shell .gothic-hero h1{font-size:34px}}
@media (max-width:390px){.feature-grid{grid-template-columns:1fr}.feature-picture{height:132px}.gothic-hero-content{padding:28px 19px}.hero-actions .btn{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.feature-tile,.gothic-file{transition:none}}

/* Ultimos refinamentos */
.sidebar-bottom .identity{display:flex;align-items:center;gap:10px;padding:15px 7px 8px}.sidebar-bottom .identity>div{display:flex;flex-direction:column;gap:3px}.sidebar-bottom .identity strong{font-size:12px}.sidebar-bottom .identity small{font-size:10px;color:#ac9ba6}.archive-footer{display:flex;justify-content:space-between;gap:12px;padding:18px 25px;font-size:10px;letter-spacing:.12em}.gothic-recent-grid{align-items:stretch}.gothic-recent-grid>.gothic-file{min-height:195px}.gothic-recent-grid>.gothic-file .file-copy{margin-top:auto}.hero-actions .btn{white-space:normal}
