/* Ms. Addams — Entrelinhas V6 | participação literária sem excesso visual */
.v6-kicker{display:block;font:600 10px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.19em;text-transform:uppercase;color:#d8adb9}
.v6-drawer-widget{margin-top:29px;border:1px solid #896679;background:linear-gradient(146deg,#392a36,#251d2a);box-shadow:0 12px 25px #07040a35;color:#f0dfd9;padding:20px;max-width:520px}
.v6-drawer-top{display:flex;gap:13px;align-items:start}
.v6-drawer-ornament{flex:none;font:40px/1 'Cormorant Garamond',Georgia,serif;color:#d3aabb}
.v6-drawer-top h3{font:400 clamp(22px,3vw,28px)/1.35 'Cinzel',Georgia,serif;color:#f0ddd9;margin:7px 0 8px}
.v6-drawer-top p{font:italic 20px/1.4 'Cormorant Garamond',Georgia,serif;color:#d9bfc9;margin:0 0 16px}
.v6-drawer-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
.v6-drawer-choices button{border:1px solid #9d778d;background:#4b3548;color:#f3dfde;font:600 11px/1.35 'DM Sans',sans-serif;min-height:41px;padding:10px 13px;cursor:pointer;transition:background .2s,transform .25s}
.v6-drawer-choices button:hover,.v6-drawer-choices button:focus-visible{background:#765065;transform:translateY(-2px)}
.v6-drawer-choices button[aria-pressed=true]{background:#d0a2ac;color:#281b29;border-color:#ebc9d2}
.v6-drawer-reveal{overflow:hidden;margin-top:16px;border:1px solid #a5818b;background:linear-gradient(160deg,#f1e3d5,#dfc9bd);color:#59404a;padding:22px 20px 17px;animation:v6-drawer-open .55s cubic-bezier(.2,.8,.3,1) both}
.v6-drawer-reveal[hidden]{display:none!important}
.v6-drawer-reveal:before{content:'✧';display:block;text-align:center;color:#aa758c;font:25px Georgia,serif}
/* Corrige a cor herdada de .v5-cabinet-copy p: sobre o pergaminho, o texto deve ser escuro. */
.v5-cabinet-copy .v6-drawer-reveal p,
.v6-drawer-widget .v6-drawer-reveal p{
  color:#44303c;
  font:italic 500 clamp(23px,2.2vw,27px)/1.42 'Cormorant Garamond',Georgia,serif;
  margin:9px auto;
  text-align:center;
  opacity:1;
  text-shadow:none;
}
.v5-cabinet-copy .v6-drawer-reveal small,
.v6-drawer-widget .v6-drawer-reveal small{color:#664052;opacity:1}
.v6-drawer-reveal small{display:block;font:600 10px/1.5 'DM Sans',sans-serif;letter-spacing:.16em;text-align:right;color:#906577;text-transform:uppercase}
@keyframes v6-drawer-open{from{opacity:0;transform:translateY(-12px) scaleY(.93)}to{opacity:1;transform:translateY(0) scaleY(1)}}
.v6-return-letter:not([hidden]){padding:20px 24px;background:linear-gradient(110deg,#362635,#251c29);border-top:1px solid #8a667b;border-bottom:1px solid #8a667b}
.v6-return-letter[hidden]{display:none!important}
.v6-return-inner{width:min(960px,100%);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.v6-return-letter .v6-return-copy{min-width:0}
.v6-return-letter strong{display:block;font:400 26px/1.35 'Cinzel',Georgia,serif;color:#f4e2d7;margin:6px 0 8px}
.v6-return-letter p{font:italic 21px/1.35 'Cormorant Garamond',Georgia,serif;color:#d9bfca;margin:0}
.v6-return-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.v6-return-letter a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;border:1px solid #d2a9ba;color:#f2e0d7;text-decoration:none;font:600 11px/1.4 'DM Sans',sans-serif;white-space:nowrap}
.v6-return-letter a:hover{background:#664457}
.v6-return-close{border:1px solid #856779;background:transparent;color:#dfc4c7;width:39px;height:39px;font:25px Georgia,serif;cursor:pointer}
.v6-reader-edge{position:relative;z-index:2;display:flex;justify-content:center;margin:9px auto 16px;width:fit-content;max-width:94%}
.v6-reader-edge button{min-height:39px;border:1px solid #aa8792;background:#ead7cf;color:#523a45;padding:8px 13px;cursor:pointer;font:600 11px/1.4 'DM Sans',sans-serif}
.v6-reader-edge button:hover,.v6-reader-edge button:focus-visible{background:#d8bfb8;border-color:#755361}
.v6-reader-edge button:focus-visible,.v6-drawer-choices button:focus-visible,.v6-mural-choices button:focus-visible,.v6-door-card:focus-visible{outline:2px solid #c28d9f;outline-offset:3px}
.v6-literary-dialog{width:min(560px,calc(100% - 26px));max-height:85dvh;border:1px solid #bf999b;border-radius:2px;background:#eadbcc;color:#49343e;padding:0;box-shadow:0 26px 100px #07030bd8}
.v6-literary-dialog::backdrop{background:#0f0915dd;backdrop-filter:blur(5px)}
.v6-literary-dialog[open]{animation:v6-dialog-in .42s ease both}
@keyframes v6-dialog-in{from{opacity:0;transform:translateY(20px) scale(.975)}to{opacity:1;transform:translateY(0) scale(1)}}
.v6-dialog-paper{padding:clamp(32px,6vw,55px) clamp(20px,5vw,44px);margin:11px;border:1px solid #c5a59f;position:relative;background:radial-gradient(circle at 40% 15%,#fff9eb,transparent 63%),linear-gradient(130deg,#f3e8d8,#e4d1c1)}
.v6-dialog-close{position:absolute;top:10px;right:10px;width:39px;height:39px;border:1px solid #b2979d;color:#653b50;background:transparent;cursor:pointer;font:26px Georgia,serif}
.v6-dialog-paper h2{font:400 clamp(26px,4.4vw,37px)/1.28 'Cinzel',Georgia,serif;color:#513b45;margin:15px 0}
.v6-dialog-paper>p{font:italic 24px/1.45 'Cormorant Garamond',Georgia,serif;color:#65505a;margin:10px auto 20px}
.v6-dialog-choices{display:flex;flex-direction:column;gap:9px;margin-top:20px}
.v6-dialog-choices button{background:#f8eee4;border:1px solid #b49a9b;text-align:left;padding:12px 15px;min-height:46px;color:#563947;font:500 13px/1.5 'DM Sans',sans-serif;cursor:pointer}
.v6-dialog-choices button:hover{background:#e6d2cc;border-color:#8a6977}
.v6-dialog-choices button[aria-pressed=true]{background:#5c4252;color:#fff1eb;border-color:#5c4252}
.v6-dialog-response{margin:18px 0 0;padding:20px 16px;text-align:center;border:1px solid #c3aaa0;background:#e7d6ca;animation:v6-drawer-open .38s ease both}
.v6-dialog-response[hidden]{display:none!important}
.v6-dialog-response p{font:italic 24px/1.45 'Cormorant Garamond',Georgia,serif;color:#5a394a;margin:8px 0}
.v6-dialog-response span{display:block;font:600 10px/1.4 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:.15em;color:#896678}
.v6-finish-rail{margin:22px auto 40px;max-width:850px;border:1px solid #775666;background:linear-gradient(145deg,#2e222f,#211b27);color:#f3e5dc;padding:clamp(18px,4vw,30px)}
.v6-finish-rail[hidden]{display:none!important}
.v6-finish-block+.v6-finish-block{margin-top:32px;border-top:1px solid #755968;padding-top:25px}
.v6-finish-block h2{font:400 clamp(23px,4vw,34px)/1.35 'Cinzel',Georgia,serif;color:#f1d9d8;margin:10px 0}
.v6-finish-block>p{font:italic 22px/1.4 'Cormorant Garamond',Georgia,serif;color:#dcc0ce;margin:10px 0 21px}
.v6-door-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.v6-door-card{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;position:relative;min-height:205px;padding:20px 13px;border:2px ridge #a8867b;background:
 radial-gradient(ellipse at 30% 23%,#b3898650,transparent 57%),
 repeating-linear-gradient(90deg,transparent 0 25%,#e6c1a417 26% 27%,transparent 28% 47%),
 linear-gradient(145deg,#674a57,#322636);color:#f0dbcf;text-decoration:none;text-align:center;
 font:500 13px/1.45 'Cinzel',Georgia,serif;transition:transform .4s,filter .4s}
.v6-door-card:before{content:'';position:absolute;inset:10px;border:1px solid #e6bfac56;pointer-events:none}
.v6-door-card:hover{transform:perspective(550px) rotateY(-8deg) translateY(-5px);filter:brightness(1.12);color:#fff3e9}
.v6-door-card i{font:28px Georgia,serif;color:#ddbd9c}
.v6-door-card small{font:italic 18px/1.35 'Cormorant Garamond',Georgia,serif;color:#e1bdc7}
.v6-door-card[aria-disabled=true]{opacity:.6;pointer-events:none}
.v6-mural-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.v6-mural-choices button{display:block;width:100%;min-height:136px;background:#f0dfd5;border:1px solid #b99fa4;color:#533b48;padding:18px 14px;text-align:center;font:italic 20px/1.4 'Cormorant Garamond',Georgia,serif;cursor:pointer;transition:transform .25s,border-color .25s}
.v6-mural-choices button:hover{transform:translateY(-3px);border-color:#fff}
.v6-mural-choices button[aria-pressed=true]{background:#dbb8c6;border:2px solid #db9aae}
.v6-mural-choices small{display:block;color:#765a69;font:600 11px/1.3 'DM Sans',sans-serif;margin-top:14px}
.v6-mural-feedback{font:13px/1.6 'DM Sans',sans-serif;color:#dbbecd;margin:12px 0}
.v6-mural-choices .v6-mural-result{height:5px;background:#b58399;position:relative;margin-top:13px;overflow:hidden}
.v6-mural-choices .v6-mural-result>i{position:absolute;left:0;top:0;bottom:0;background:#6c455b;max-width:100%;transition:width .5s}
.v6-reader-edge .v6-aside-button{background:#e4d2c6}
@media(max-width:700px){
 .v6-return-inner{flex-direction:column;align-items:stretch;gap:12px}
 .v6-return-actions{justify-content:space-between}
 .v6-door-grid,.v6-mural-choices{grid-template-columns:1fr}
 .v6-door-card{min-height:138px;flex-direction:row;flex-wrap:wrap;gap:10px}
 .v6-door-card small{flex-basis:100%}
 .v6-mural-choices button{min-height:105px}
 .v6-drawer-widget{padding:17px}
}
@media(prefers-reduced-motion:reduce){
 .v6-drawer-reveal,.v6-literary-dialog[open],.v6-dialog-response{animation:none!important}
 .v6-door-card,.v6-mural-choices button,.v6-drawer-choices button,.v6-mural-result>i{transition:none!important}
 .v6-door-card:hover,.v6-mural-choices button:hover,.v6-drawer-choices button:hover{transform:none!important}
}
