@font-face{font-family:Caveat;src:url("vendor/Caveat.ttf") format("truetype");font-weight:400 700;font-display:swap}
@font-face{font-family:Anton;src:url("vendor/Anton-Regular.ttf") format("truetype");font-display:swap}
@font-face{font-family:DM;src:url("vendor/DM-Sans.ttf") format("truetype");font-weight:100 1000;font-display:swap}
:root{color-scheme:dark;--paper:#fff6da;--lime:#dcff57;--ink:#19231c;--pink:#ff85b4}
*{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%;overflow:hidden;overscroll-behavior:none}
body{background:#101311;color:var(--paper);font-family:DM,Arial,sans-serif;display:grid;place-items:center}
button{border:0;font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}
button:focus-visible{outline:3px solid #fff;outline-offset:4px}
#player{position:relative;width:min(100vw,56.25vh);width:min(100vw,56.25dvh);height:100vh;height:100dvh;overflow:hidden;isolation:isolate;container-type:inline-size;background:var(--act,#132c24);user-select:none;-webkit-user-select:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;outline:none}
#player::after{content:"";position:absolute;z-index:4;inset:0;pointer-events:none;opacity:.048;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='138' height='138'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.85' d='M0 0h138v138H0z'/%3E%3C/svg%3E")}
#scene,.full,.screen{position:absolute;inset:0;width:100%;height:100%}
.screen{overflow:hidden;color:var(--fg,var(--paper));background:linear-gradient(150deg,#ffffff0b,transparent 47%,#14120f19);touch-action:none}
.screen[data-tipo=feed]{touch-action:pan-y}
.screen[data-transition=slide]{animation:arrive-side .36s ease-out}
.screen[data-transition=zoom]{animation:arrive-close .42s ease-out}
.screen[data-transition=fade]{animation:arrive-fade .32s ease-out}
.paused .screen{animation-play-state:paused}
@keyframes arrive-side{from{transform:translateX(var(--enter-x));opacity:.48}to{transform:none;opacity:1}}
@keyframes arrive-close{from{transform:scale(1.045);opacity:.55}to{transform:none;opacity:1}}
@keyframes arrive-fade{from{opacity:.23}to{opacity:1}}
@media(prefers-reduced-motion:reduce){#scene .screen,#scene .post-strip{animation:none;transition:none}}
.full,.photo-box>*:is(img,video),.feed-photo,.tile img,.print img{object-fit:cover;display:block;width:100%;height:100%}
.hud{position:absolute;z-index:5;inset:0 0 auto;padding:calc(env(safe-area-inset-top) + 2.5cqw) 4.5cqw 3cqw;pointer-events:none;color:white;background:linear-gradient(#0b140f80,transparent)}
#bars{display:flex;gap:3px;height:3px}
.bar{flex:1;overflow:hidden;border-radius:3px;background:#ffffff45}
.bar i{display:block;height:100%;background:#fff;transform-origin:left;transform:scaleX(0)}
.hud-row,.brand,.keys,.pill,.feed-by,.post-author,.feed-actions{display:flex;align-items:center}
.hud-row{margin-top:2.7cqw;justify-content:space-between;min-height:8cqw}
.brand{gap:2cqw;text-transform:uppercase;font-weight:800;font-size:clamp(12px,2.8cqw,16px);letter-spacing:.14em}
.levels,.wave{display:inline-flex;align-items:center;gap:2px}
.levels i,.wave i{display:block;width:.8cqw;border-radius:3px;background:currentColor;height:2.5cqw}
.levels i:nth-child(2),.wave i:nth-child(3n){height:4.4cqw}
.levels i:nth-child(3),.wave i:nth-child(3n + 1){height:1.5cqw}
#sound{pointer-events:auto;display:grid;place-items:center;width:9cqw;height:9cqw;background:#14181476;color:white;border:1px solid #ffffff55;border-radius:50%}
.icon{width:1.25em;height:1.25em;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.keys{display:none}
.notice,.recovery,#pause-mark{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:7}
.notice{text-align:center;width:85%}.notice button{display:block;margin:1em auto}
#pause-mark{pointer-events:none;border-radius:50%;background:#101410aa;color:white;font-size:28px;width:56px;height:56px;display:grid;place-items:center}
.pill{justify-content:center;gap:3cqw;padding:3.7cqw 6cqw;border-radius:100px;background:var(--lime);color:var(--ink);font-size:4cqw;font-weight:800}
.recovery{white-space:nowrap}
.display{font-family:Anton,Impact,sans-serif;font-weight:400;line-height:1.02;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}
.cover{background:linear-gradient(154deg,#24503c 0%,#173829 40%,transparent 75%),var(--act);color:var(--paper)}
.sleeve{position:absolute;inset:0;overflow:hidden}
.grooves{position:absolute;width:158%;aspect-ratio:1;top:-23%;left:10%;border-radius:50%;transform:rotate(-23deg) scaleY(.8);background:repeating-radial-gradient(ellipse,transparent 0 2.1%,#a7cc88a8 2.18% 2.48%,transparent 2.56% 3%);mask-image:linear-gradient(110deg,transparent 10%,black 64%)}
.snapshot{position:absolute;top:15.5%;left:11%;width:79%;height:39.5%;background:#f3edda;padding:2.1cqw 2.1cqw 5.5cqw;transform:rotate(-7deg);box-shadow:2px 8px 0 #0b160f77,0 15px 28px #07190e55}
.snapshot::before,.print::before{content:"";position:absolute;z-index:1;width:25%;height:6.4%;top:-2%;left:36%;transform:rotate(6deg);background:#dcdda5de;clip-path:polygon(2% 0,99% 3%,97% 23%,100% 52%,97% 72%,99% 100%,0 96%,2% 70%,0 40%)}
.snapshot .photo-box{height:100%;overflow:hidden;background:#294a38}
.checks{position:absolute;left:4%;bottom:2.3%;width:17%;height:2.8%;background:repeating-conic-gradient(#223e30 0 25%,transparent 0 50%) 0/1.65cqw 1.65cqw}
.snap-wave{position:absolute;right:4%;bottom:1.4%;color:#254a37;transform:scaleY(.6);transform-origin:center}
.burst{position:absolute;right:4.4%;top:11.9%;width:19cqw;height:19cqw;transform:rotate(12deg);filter:drop-shadow(0 3px 0 #24392c)}
.burst svg{width:100%;height:100%;display:block}
.cover-copy{position:absolute;left:7%;right:6%;top:59%;bottom:calc(5.5% + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:2cqw}
.cover-title{font-size:clamp(52px,min(29cqw,15dvh),150px);text-transform:uppercase;line-height:1.12;letter-spacing:-.036em;color:var(--paper);text-shadow:2px 3px #102318}
.cover-action{justify-content:space-between;min-height:12cqw;width:100%;letter-spacing:-.025em}
.cover-action .play-label{display:flex;align-items:center;gap:2.2cqw}
.cover-action .icon{width:4cqw;height:4cqw;fill:currentColor;stroke:none}
.story-copy,.turn,.entry,.closing{position:absolute;inset:0;padding:calc(19cqw + env(safe-area-inset-top)) 7cqw calc(10cqw + env(safe-area-inset-bottom));display:flex;flex-direction:column;justify-content:center}
.story-copy::before,.turn::before{content:"";position:absolute;right:-30%;top:8%;width:95%;height:40%;border-radius:50%;border:1px solid currentColor;opacity:.20;box-shadow:0 1.5cqw transparent,0 1.65cqw currentColor,0 3.3cqw transparent,0 3.45cqw currentColor;transform:rotate(-42deg);pointer-events:none}
/* Paulo 05/12: textos longos voltam pra Anton (como antes do adendo 6) */
.line-stack{position:relative}.line-stack p{font-size:clamp(24px,10.4cqw,56px);margin:.11em 0;text-wrap:pretty}
.turn{background:repeating-linear-gradient(-47deg,transparent 0 9%,#0000000c 9% 11%,transparent 11% 14%)}
.turn .display{font-size:17cqw;position:relative;text-transform:uppercase}
.caption{position:absolute;bottom:calc(6% + env(safe-area-inset-bottom));left:6.5%;right:6.5%;color:white;font-size:5cqw;font-weight:650;line-height:1.22;text-shadow:0 2px 8px #0008}
.caption strong{display:block;font:400 13cqw/1 Anton,Impact,sans-serif;margin-bottom:2cqw}
.shade{position:absolute;inset:0;background:linear-gradient(transparent 55%,#080b099e)}
/* Prints share a reserved image area and a paper edge independent of the image ratio. */
.album-wall{position:absolute;inset:0;background:radial-gradient(ellipse at 12% 24%,#fff3,transparent 57%),linear-gradient(145deg,transparent 52%,#24102a22)}
.album-wall::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.21;background-image:radial-gradient(currentColor .65px,transparent .85px);background-size:7px 7px;mask-image:linear-gradient(140deg,#000,transparent 78%)}
.picture{--rim:clamp(4px,1.3cqw,9px);position:relative;margin:0;display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff8e8;color:#26251e;padding:var(--rim);box-shadow:0 1px 2px #20140d45,1px 1.2cqw 2.8cqw #20140d38}
.picture .mat{flex:1;position:relative;min-height:0;overflow:hidden;background:#d9d1bf}
.mat img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain}
.picture figcaption{font:600 clamp(18px,5cqw,26px)/1.16 Caveat,cursive;margin:.45em .25em 0;overflow-wrap:anywhere}
.picture.polaroid{padding-bottom:calc(var(--rim)*2.8)}
.picture.filme{background:#242420;padding:calc(var(--rim)*2.2) var(--rim);color:#fff8e6}
.picture.filme::before,.picture.filme::after{content:"";position:absolute;left:4%;right:4%;height:calc(var(--rim)*.87);background:repeating-linear-gradient(90deg,#ddd7bd 0 3.2%,transparent 3.2% 8%);border-radius:1px}
.picture.filme::before{top:calc(var(--rim)*.55)}.picture.filme::after{bottom:calc(var(--rim)*.55)}
.picture.fita::before,.picture.fita::after{content:"";position:absolute;z-index:1;width:24%;height:7%;background:linear-gradient(80deg,#e4d199bc,#eddfaad6,#e4d199ba);clip-path:polygon(2% 0,98% 1%,96% 29%,100% 66%,98% 100%,1% 97%,3% 62%,0 31%)}
.picture.fita::before{left:-5%;top:1%;transform:rotate(-30deg)}.picture.fita::after{bottom:1%;right:-5%;transform:rotate(-34deg)}
.picture.nenhuma{padding:0;background:transparent;box-shadow:none}
.solo,.carousel{display:grid;place-items:center;padding:calc(18cqw + env(safe-area-inset-top)) 0 calc(7cqw + env(safe-area-inset-bottom))}
.solo .picture{width:85%;max-height:94%;aspect-ratio:var(--photo-ratio,.76)}
.solo .mat,.carousel .mat{background:#242720}
.mosaic-page{position:absolute;inset:calc(20cqw + env(safe-area-inset-top)) 2.5% calc(4cqw + env(safe-area-inset-bottom));display:grid;grid-template-rows:minmax(0,1fr);visibility:hidden}
.mosaic-page.pair{grid-template-rows:minmax(0,var(--first-row,1fr)) minmax(0,var(--second-row,1fr));row-gap:2cqw}
.mosaic-page.pair .print-slot:first-child{align-items:end}
.mosaic-page.pair .print-slot:last-child{align-items:start}
.album-grid{display:grid;grid-template-columns:repeat(var(--columns),minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:1.2cqw}
.print-slot{position:relative;container-type:size;display:grid;place-items:center}
.album-grid .print-slot:last-child:nth-child(odd){grid-column:1/-1}
/* Fit the paper around the entire original, leaving clearance for the tilted corners. */
.print-slot .picture{--rim:3px;--paper-y:calc(2 * var(--rim));--clearance:calc(2px + 2.3cqmax);
  width:min(calc(100cqw - 2 * var(--clearance)),calc((100cqh - 2 * var(--clearance) - var(--paper-y)) * var(--ratio,1) + 2 * var(--rim)))}
.print-slot .polaroid{--paper-y:calc(3.8 * var(--rim))}
.print-slot .filme{--paper-y:calc(4.4 * var(--rim))}
.print-slot .nenhuma{--rim:0px}
.mosaic-page .picture{--clearance:calc(2px + 1.4cqmax)}
.mosaic-page .nenhuma{--clearance:0px}
.print-slot .mat{width:100%;aspect-ratio:var(--ratio,1);flex:none}
.print-slot .fita::before,.print-slot .fita::after{height:5px;transform:rotate(-4deg)}
.print-slot .fita::before{top:-3px;left:7%}.print-slot .fita::after{bottom:-3px;right:7%}
.carousel-rail{position:relative;width:100%;height:84%}
.carousel-rail .picture{position:absolute;top:50%;left:12%;width:76%;max-height:100%;aspect-ratio:var(--photo-ratio,.76);translate:0 -50%;transform-origin:center}
.feed{color:#18231c;background:#fffdf7;padding-top:calc(18cqw + 4px + env(safe-area-inset-top));touch-action:pan-y}
#player:has(.feed) .hud,#player:has(.entry) .hud{background:#172c23}
.feed-window{height:100%;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-y;overscroll-behavior:contain;padding-bottom:calc(4cqw + env(safe-area-inset-bottom));scrollbar-width:thin}
.post{padding:4cqw 0;background:#fffdf7}
.post+.post{border-top:1px solid #d8dacd}
.post-author,.post-info{padding:0 4.5cqw}
.post-author{gap:2.5cqw;margin:0 0 3cqw;font-size:clamp(14px,3.6cqw,19px)}
.avatar{display:grid;place-items:center;width:8.5cqw;height:8.5cqw;border:1px solid #234433;border-radius:50%;background:#dfff7c;color:#243c2c;font:400 5cqw/1 Anton}
.post-media{position:relative;aspect-ratio:1;background:#e6e7db;overflow:hidden;touch-action:pan-y}
.post-strip{display:flex;width:100%;height:100%;transition:transform .32s cubic-bezier(.2,.72,.3,1)}
.post-slot{flex:0 0 100%;height:100%;min-width:0;position:relative}
.feed-photo{position:absolute;inset:0;object-fit:contain;background:#efeee7}
.post-controls{position:relative;display:flex;align-items:center;justify-content:space-between;min-height:10cqw}
.feed-actions{gap:2cqw;color:#a72753}.feed-actions .icon{fill:currentColor;width:5.4cqw;height:5.4cqw}
.dots{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;max-width:65%}
.dot{background:transparent;display:grid;place-items:center;padding:0;width:22px;height:28px}
.dot::after{content:"";width:6px;height:6px;border-radius:50%;background:#a8aa9d}
.dot[aria-pressed=true]::after{background:#294c37;transform:scale(1.32)}
.post-info{font-size:clamp(15px,3.85cqw,21px);line-height:1.42}.post-info p{margin:.12em 0 .4em;overflow-wrap:anywhere}
.continue-feed{display:block;margin:5cqw auto 2cqw;border:1px solid #b6bbac;border-radius:99px;padding:10px 22px;background:#f2f2e9;color:#26362c;font-weight:650;font-size:clamp(15px,4cqw,20px)}
.entry{font-family:Georgia,serif}
.entry h1{font:normal 18cqw/.95 Georgia,serif;letter-spacing:-.075em;margin:0 0 3cqw;overflow-wrap:anywhere}
.entry em{font-size:4.4cqw}.entry ol{margin:5cqw 0 0;border-top:1px solid currentColor;padding:2cqw 0 0 6.2cqw}
.entry li{font-size:5.5cqw;line-height:1.22;padding:2.4cqw 0 0 1cqw}
.entry small{display:block;font:550 clamp(14px,3.45cqw,18px)/1.4 DM,Arial,sans-serif;margin:1.6cqw 0}
.entry li{font-style:italic}
.entry-page.dense h1{font-size:14cqw}
.entry-page.dense li{font-size:clamp(16px,4.65cqw,23px);padding-top:1.8cqw}
.entry-page.dense small{margin:.7cqw 0}
.entry-page{max-height:100%;overflow:auto;scrollbar-width:thin}
#player:has(.gift) .hud{display:none}
.gift{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12cqw;padding:calc(11cqw + env(safe-area-inset-top)) 0 calc(4cqw + env(safe-area-inset-bottom));background:radial-gradient(ellipse at 40% 32%,#fffdf7,#f5efe4 70%,#e9e0d3);isolation:isolate}
.gift::before{content:"";position:absolute;inset:0;z-index:-1;background:repeating-linear-gradient(45deg,transparent 0 3px,#ac83630a 3px 4px)}
.parcel{--wrap:repeating-linear-gradient(2deg,#a52d35 0 2px,#ad323a 2px 3px);position:relative;flex:none;width:78%;padding:12cqw 6cqw 6cqw;transform:rotate(-4deg);border:1px solid #862831;background:linear-gradient(90deg,transparent 43%,#e7a819 43%,#ffdc58 53%,#edb024 57%,transparent 57%),var(--wrap);box-shadow:0 5cqw 8cqw -3cqw #54281e66,inset -3cqw -2cqw 5cqw #67212b45}
.parcel::after{content:"";position:absolute;inset:-12%;pointer-events:none;background:radial-gradient(circle at 4% 29%,#e1d6a6 0 2px,transparent 3px),radial-gradient(circle at 89% 8%,#e1d6a6 0 2px,transparent 3px),radial-gradient(circle at 97% 78%,#b6b28f 0 3px,transparent 4px),radial-gradient(circle at 11% 91%,#b6b28f 0 2px,transparent 3px);animation:parcel-puff .85s ease-out both}
.parcel-lid{position:absolute;inset:-2% -2% auto;height:10cqw;background:linear-gradient(90deg,#bf3941 43%,#f5c339 43% 57%,#b8353e 57%);border-top:2px solid #de6770;box-shadow:0 1cqw 1.4cqw #54182355}
.parcel-bow{position:absolute;top:-4%;left:50%;width:0;height:0}
.parcel-bow::before,.parcel-bow::after{content:"";position:absolute;bottom:0;width:14cqw;height:7cqw;border:1.7cqw solid #ffcf38;background:#cb9519;box-shadow:inset 0 1cqw 2cqw #966718;border-radius:68% 85% 12% 80%;transform-origin:bottom right;right:0;transform:rotate(14deg)}
.parcel-bow::after{right:auto;left:0;transform:scaleX(-1) rotate(14deg);transform-origin:center}
.gift-tag{position:relative;padding:3.4cqw 4cqw;background:linear-gradient(115deg,#fff9e9,#f8edd7);color:#392924;box-shadow:0 1.2cqw 2cqw #47151d52;border-radius:1cqw;transform-origin:22% 0;animation:tag-in 1.1s .35s both;font:600 clamp(20px,5.9cqw,30px)/1.05 Caveat,cursive}
.parcel{animation:parcel-in .68s cubic-bezier(.22,.95,.42,1.18) both,parcel-close .8s .66s ease-in-out forwards}
@keyframes parcel-close{from{scale:1}to{scale:1.04}}
.parcel::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0001,transparent 16%),var(--wrap);clip-path:polygon(0 0,40% 0,42% 28%,38% 56%,43% 75%,41% 100%,0 100%);transform-origin:left}
.unwrapping .parcel::before{animation:paper-peel .85s .25s ease-in both}
@keyframes paper-peel{to{transform:perspective(80cqw) rotateY(-76deg) translateX(-8%);opacity:0}}
.gift-tag::before{content:"";position:absolute;left:14%;bottom:96%;height:7cqw;width:3cqw;border:2px solid #b2a075;border-radius:50%;transform:rotate(28deg)}
.gift-tag strong{display:block;margin-top:.5em}
.gift-open{position:relative;flex:none;min-height:44px;background:#962c35;color:#fff9ee;box-shadow:0 1cqw 2.4cqw #5e302423}
@keyframes parcel-in{from{transform:scale(0) rotate(-12deg)}to{transform:scale(1) rotate(-4deg)}}
@keyframes parcel-puff{from{opacity:.95;transform:scale(.65)}to{opacity:0;transform:scale(1.22)}}
@keyframes tag-in{from{transform:scale(.76) rotate(-9deg)}65%{transform:scale(1.05) rotate(5deg)}to{transform:scale(1) rotate(2deg)}}
.unwrapping .parcel-lid,.unwrapping .parcel-bow,.unwrapping .gift-tag{animation:unwrap 1.25s ease-in both}
.unwrapping .parcel-bow{animation-duration:.85s}
.unwrapping .parcel,.unwrapping .gift-open{opacity:0;transition:opacity .45s 1s}
@keyframes unwrap{to{transform:translate(9cqw,-34cqw) rotate(18deg);opacity:0}}
@media(prefers-reduced-motion:reduce){.gift *,.gift .parcel::after{animation:none!important;transition:none!important}.gift .parcel::after{opacity:0}}
.closing{justify-content:flex-end}.closing .display{font-size:12cqw}
.closing .pill{margin-top:5cqw;align-self:flex-start}
.final-photos{position:relative;flex:1;min-height:0;margin-bottom:5cqw}
@media (pointer:fine) and (min-aspect-ratio:4/5) and (min-height:560px){
  #player{height:min(89vh,920px);height:min(89dvh,920px);width:min(50.0625dvh,517.5px);border-radius:15px;box-shadow:0 16px 90px #0008,0 0 0 1px #bbcdb126}
  .keys{display:flex;position:fixed;bottom:1.3dvh;gap:20px;color:#b4b9ae;font-size:11px}.keys span{display:flex;align-items:center;gap:4px}.keys kbd{font:inherit;border:1px solid #484e47;padding:1px 5px;border-radius:4px}
}
@media (max-aspect-ratio:9/16){#player{width:100vw}}

.type-char{visibility:hidden;position:relative}
.type-char.typed{visibility:visible}
.cursor::after{content:"";position:absolute;left:100%;top:.14em;height:.84em;width:.055em;background:currentColor;pointer-events:none;animation:blink .95s step-end infinite}
@keyframes blink{50%{opacity:0}}
.text-accent{color:var(--accent,#ffdda1)}
#player[data-ink=dark] .text-accent{color:#fff3da;background:#503147}
#player[data-ink=dark] .text-accent:has(.type-char){background:none}
#player[data-ink=dark] .text-accent .type-char{background:#503147}

/* Canvas weave, seam stitching and a stamped metal tag. The act supplies the fabric color. */
#player[data-tema=exercito]{--paper:#f7eed4;--lime:#d4cd9a;--ink:#22261a;--accent:#ffe8a6}
[data-tema=exercito] .screen{background-image:repeating-linear-gradient(0deg,#151a0e10 0 1px,transparent 1px 4px),repeating-linear-gradient(90deg,#f6edc709 0 1px,transparent 1px 3px),linear-gradient(130deg,#b8ba8e18,transparent 50%,#080c0359)}
[data-tema=exercito] .grooves{inset:0;width:100%;height:100%;border-radius:0;transform:none;mask-image:none;background:repeating-linear-gradient(135deg,transparent 0 18px,#d1c7a00b 18px 27px,transparent 27px 35px),radial-gradient(ellipse at 24% 18%,#79805a55,transparent 57%)}
[data-tema=exercito] .cover-title{letter-spacing:.014em;text-shadow:2px 3px #12150f}
[data-tema=exercito] .checks{background:repeating-linear-gradient(125deg,#464936 0 3px,transparent 3px 6px)}
[data-tema=exercito] .snapshot::before,[data-tema=exercito] .fita::before,[data-tema=exercito] .fita::after{background:linear-gradient(98deg,#c1b586dd,#d5c9a1ec,#b2a87ed9)}
.dog-tag{position:absolute;top:13.5%;right:4%;width:18cqw;height:10cqw;transform:rotate(14deg);border-radius:26% / 43%;border:1px solid #dedcc5;background:radial-gradient(circle at 15% 50%,#1d2118 0 4%,#a2a389 4.5% 6%,transparent 6.8%),linear-gradient(155deg,#f5f1db,#a5a68c 42%,#c3c3ab 68%,#767a69);box-shadow:inset 0 0 0 2px #8f917d,inset 0 0 0 3px #c9ccb6,1px 4px 6px #11170c70}
.dog-tag::before,.dog-tag::after{content:"";position:absolute;width:22%;height:44%;top:29%;left:39%;background:#555a45;clip-path:polygon(0 0,45% 0,100% 50%,45% 100%,0 100%,55% 50%)}
.dog-tag::after{left:55%}
[data-tema=exercito] .story-copy::before,[data-tema=exercito] .turn::before{inset:23% -14% auto auto;height:16%;width:45%;border:0;border-radius:0;box-shadow:none;transform:rotate(-37deg);background:repeating-linear-gradient(0deg,transparent 0 10%,currentColor 10% 16%);opacity:.09}
[data-tema=exercito] .album-wall::before{background:repeating-linear-gradient(110deg,transparent 0 21px,#c8c19655 22px,transparent 23px);mask-image:linear-gradient(100deg,#000,transparent 65%)}
[data-album-tone=marinho]{--cloth:#142c49;--edge:#395d85;--tape:#a8bdcc}
[data-album-tone=tijolo]{--cloth:#50241f;--edge:#904536;--tape:#dab297}
[data-album-tone=musgo]{--cloth:#17392e;--edge:#406653;--tape:#b5c3a6}
[data-album-tone=petroleo]{--cloth:#123743;--edge:#366977;--tape:#a8c9c5}
[data-album-tone=bordo]{--cloth:#451e2b;--edge:#80394a;--tape:#d0a79e}
[data-album-tone=oliva]{--cloth:#353921;--edge:#62683f;--tape:#cfc498}
[data-album-tone] .album-wall{background:radial-gradient(ellipse at 10% 16%,#fff1,transparent 60%),linear-gradient(140deg,var(--cloth) 25%,transparent 165%)}
[data-album-tone] .picture:is(.polaroid,.fita){background:var(--edge);color:#fff8e8;outline:1px solid #ffffff38;outline-offset:-1px}
[data-album-tone] .picture.filme{background:var(--cloth);box-shadow:inset 0 0 0 1px var(--edge),1px 1.2cqw 2.8cqw #140f103b}
[data-album-tone] .picture.filme::before,[data-album-tone] .picture.filme::after{background:repeating-linear-gradient(90deg,var(--tape) 0 3.2%,transparent 3.2% 8%)}
[data-album-tone] .picture.fita::before,[data-album-tone] .picture.fita::after{background:linear-gradient(98deg,#fff2,transparent 65%,#211b1424),var(--tape)}
[data-tema=exercito] .cover-action{border-radius:6px;outline:1px dashed #565940;outline-offset:-5px}
[data-tema=exercito] .cover-action:focus-visible{outline:3px solid white;outline-offset:3px}
[data-tema=exercito] .feed-actions{color:#525d35}
[data-tema=exercito] .avatar{color:#363c29;background:#e2dfbd}
#player[data-tema=exercito]:has(.feed) .hud{background:#252c1b}

/* Warm reflected light stays behind the paper and the original photographs. */
#player[data-tema=romantico]{--paper:#fff2e1;--accent:#f5b9c7}
[data-tema=romantico] .screen{background-image:radial-gradient(ellipse at 7% 12%,#ad59612e,transparent 56%),radial-gradient(ellipse at 100% 88%,#97515c38,transparent 58%)}
[data-tema=romantico] .screen::before{content:"";position:absolute;inset:-6% 0;pointer-events:none;background:radial-gradient(circle at 13% 18%,#ffd8b752 0 1px,transparent 4px),radial-gradient(circle at 80% 33%,#ffc3b333 0 2px,transparent 10px),radial-gradient(circle at 22% 71%,#ffa8a133 0 2px,transparent 9px),radial-gradient(circle at 91% 80%,#ffe4bc55 0 1px,transparent 4px),radial-gradient(circle at 55% 9%,#fff1d966 0 1px,transparent 3px);animation:drift 11s ease-in-out infinite alternate}
@keyframes drift{from{transform:translateY(2%)}to{transform:translateY(-3%)}}
[data-tema=romantico] .story-copy::before{border-color:#d99b9852;box-shadow:0 1.15cqw transparent,0 1.3cqw #e9b2a45a;opacity:.42}
[data-tema=romantico] .album-wall{background:radial-gradient(ellipse at 35% 43%,#f09d9b20,transparent 64%)}
[data-tema=romantico] .album-wall::before{opacity:.09}
[data-tema=romantico] .picture.polaroid{background:linear-gradient(145deg,#fff5e8,#f1dccd);box-shadow:0 1px 2px #34101f66,1px 1.8cqw 4cqw #15070d80}
[data-tema=romantico] .carousel .polaroid::before{content:"";position:absolute;z-index:1;left:34%;top:-.9cqw;width:30%;height:2.4cqw;background:linear-gradient(98deg,#d8af99c9,#f1d6bbd9,#dbb09ace);transform:rotate(-3deg);clip-path:polygon(1% 0,100% 2%,98% 46%,100% 98%,0 100%,2% 37%)}
.paused .cursor::after,.paused[data-tema=romantico] .screen::before{animation-play-state:paused}
@media(prefers-reduced-motion:reduce){.cursor::after,[data-tema=romantico] .screen::before{animation:none}}

/* final com fotos grandes (Claude, 05/12) */
.closing.final-big{justify-content:flex-start;padding-top:calc(15cqw + env(safe-area-inset-top))}
.closing.final-big .display{font-size:8.4cqw;line-height:1.04}
.closing.final-big .pill{margin-top:3.5cqw}
.final-grid{flex:1;min-height:0;display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:auto;align-content:center;gap:3.2cqw;margin:0 -1.5cqw 4cqw}
.final-grid[data-n="1"]{grid-template:1fr/1fr}
.final-grid[data-n="2"]{grid-template:1fr 1fr/1fr}
.final-shot{margin:0;min-height:0;padding:1.5cqw;background:#f4efe6;border-radius:1cqw;box-shadow:0 1.6cqw 4.5cqw #000a}
.final-shot img{display:block;width:100%;height:auto;max-height:46cqh;object-fit:contain;border-radius:.5cqw}
.final-grid:not([data-n="1"]):not([data-n="2"]) .s0{grid-column:1/3;rotate:-1.2deg}
.final-shot.s1{rotate:1.6deg}.final-shot.s2{rotate:-1.4deg}
