/* Arquivo v1.6: consistência, legibilidade e ergonomia. */
:root{--surface-rework:#110e14;--border-rework:#51323b;--muted-rework:#c9bfc7}
.sidebar{width:266px;min-width:266px;gap:13px;padding-left:13px;padding-right:13px}
.nav-btn{align-items:center;line-height:1.4;min-height:40px;white-space:normal;overflow-wrap:anywhere}
.nav-btn span:last-child{min-width:0}
.nav-head{margin-top:3px}
.content{max-width:1640px;margin:0 auto;padding:27px clamp(18px,2.5vw,36px) 86px}
.main{background:linear-gradient(180deg,rgba(7,8,12,.90),rgba(7,8,12,.96) 74%),url('./fundo-principal.webp') center top/cover fixed}
.topbar{padding:0 clamp(18px,2.5vw,36px)}
.section{margin-top:24px}
.panel{padding:22px;background:linear-gradient(155deg,rgba(19,17,24,.98),rgba(12,12,18,.98));border-color:#493039}
.panel h2{line-height:1.35;font-size:21px;margin-bottom:10px}
.panel .kicker{line-height:1.65;color:#c8b7bd}
.prose{color:#d5cbd1;line-height:1.65}
.section-head{margin-bottom:24px;align-items:center}
.section-head p{color:#c6b7bf}
.field{gap:9px}
.field label{color:#ddd0d6;font-size:11px;letter-spacing:.065em}
.field input,.field select,.field textarea{background:#0d0e13;border-color:#5b4049;color:#fff0f0;line-height:1.5}
.field input:hover,.field select:hover,.field textarea:hover{border-color:#8c5d65}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#e18c91;outline:2px solid #a6495550;outline-offset:1px}
.btn,.subtle-action{line-height:1.3;min-height:38px;transition:background .13s,border-color .13s}
.btn:focus-visible,.world-tab:focus-visible,.world-history-toggle:focus-visible,.nav-btn:focus-visible{outline:2px solid #f9a7a8;outline-offset:2px}
.list-card,.soft,.rail-panel{border-color:#51323b;background:#100f16f5}
.world-calendar{position:relative;overflow:hidden;background:linear-gradient(110deg,#17121bea,#0b0a10f5 60%),url('./art-eclipse.webp') right center/auto 170% no-repeat;border:1px solid #81505a;box-shadow:inset 0 1px #ab636324,0 13px 30px #0005;border-radius:7px;padding:23px 25px 15px;margin:0 0 30px}
.world-calendar:before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#d4666c,transparent)}
.world-calendar-main{display:flex;align-items:center;justify-content:space-between;gap:15px}
.world-calendar-main h2{font:normal 32px Georgia,serif;color:#f8eeec;margin:6px 0 4px}
.world-calendar-main h2 strong{font-size:40px;color:#f4b1b1;font-weight:normal;font-variant-numeric:tabular-nums}
.world-calendar-main p{color:#c6b6bf;font-size:12px;margin:0 0 13px}
.world-day-icon{font-size:51px;color:#aa666e;opacity:.6;line-height:1}
.world-calendar-actions{display:flex;flex-wrap:wrap;align-items:end;gap:18px 22px;padding:15px 0 18px;border-top:1px solid #57414b3d}
.world-action-cluster{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.world-cluster-label{font-size:10px;letter-spacing:.11em;color:#d6bbc3;font-weight:700;margin-right:2px}
.world-undo{margin-left:auto;border:1px solid #6c4850!important;color:#f4c7c9!important}
.world-calendar .btn{white-space:nowrap}
.world-calendar-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;border-top:1px solid #503741;padding-top:12px;font-size:11px;color:#b6aab3;line-height:1.5}
.world-history-toggle{background:transparent;border:0;color:#f0b0b8;cursor:pointer;padding:4px 0;font-size:11px}
.world-history{display:grid;gap:0;background:#0b0b1099;border:1px solid #4c343c;border-radius:5px;margin-top:15px;padding:3px 13px;max-height:260px;overflow:auto}
.world-history-line{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #47333c;padding:10px 2px;font-size:12px;color:#e5d9dc}
.world-history-line:last-child{border:0}
.world-history-line small{color:#b29da5;white-space:nowrap}
.world-section-title{display:flex;justify-content:space-between;gap:15px;align-items:end;margin:0 0 10px}
.world-section-title h2{font:normal 26px Georgia,serif;margin:6px 0 0}
.world-section-title p{font-size:12px;color:#b9a8b3;margin:0 0 3px}
.world-tabs{display:flex;gap:5px;align-items:stretch;flex-wrap:wrap;border-bottom:1px solid #59404b;padding:0;margin:0 0 20px}
.world-tab{cursor:pointer;background:transparent;border:0;border-bottom:3px solid transparent;color:#c8b8c2;font-size:12px;font-weight:600;padding:13px 16px;margin-bottom:-1px;transition:background .12s,color .12s}
.world-tab:hover{background:#281c25;color:#fff}
.world-tab.selected{border-bottom-color:#e27076;color:#ffe6e7;background:linear-gradient(180deg,#27182236,#3e1f2a88)}
.world-selector{border-radius:6px;background:#100f17;border-color:#46303b;padding:12px 13px;line-height:1.5}
.world-selector:hover{background:#2a1823;border-color:#9c606a}
.world-selector.selected{border-color:#d9777f;background:#35212d}
.world-two-col{gap:20px}
.world-stack{margin-top:17px}
.world-feeling{grid-template-columns:100px minmax(0,1fr) 82px}
.world-feeling label{color:#e8d7dd}
.world-stack .soft{margin:0}
.notice{border-radius:5px}
@media(max-width:1190px){.sidebar{width:239px;min-width:239px}.world-undo{margin-left:0}}
@media(max-width:900px){.world-calendar{padding:20px}}
@media(max-width:720px){.sidebar{width:min(300px,90vw);min-width:0}.content{padding:16px 12px 65px}.world-section-title{align-items:start;flex-direction:column}.world-tabs{gap:0}.world-tab{flex:1 1 48%;padding:12px 7px}.world-calendar-actions{gap:12px}.world-action-cluster{width:100%}.world-cluster-label{width:100%}.world-undo{width:100%}.world-history-line{flex-direction:column;gap:4px}.world-day-icon{font-size:35px}.world-calendar-main h2{font-size:28px}}
