@font-face{font-family:Album;src:url('/serif.woff') format('woff');font-display:swap}@font-face{font-family:Manuscrita;src:url('/script.woff') format('woff');font-display:swap}
:root{--bg:#faf7f2;--paper:#fffdf8;--ink:#372b30;--muted:#756a67;--wine:#74354a;--dark:#562839;--line:#ded5c9;--blush:#f1dcdc;--green:#e3e9d8;--blue:#dce6e9;--round:15px;--serif:Album,Georgia,'Times New Roman',serif;--script:Manuscrita,'Brush Script MT',cursive;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #8d5871;outline-offset:3px}button:disabled{cursor:wait;opacity:.65}.ic{width:20px;height:20px;flex:none;vertical-align:middle;stroke:currentColor;stroke-width:1.65;fill:none;stroke-linecap:round;stroke-linejoin:round}.brand{display:flex;align-items:center;gap:11px;font:38px/1 var(--serif);white-space:nowrap;letter-spacing:-1.8px}.brand i{font-family:var(--script);color:var(--wine);font-size:1.03em;margin-left:-3px}.brandmark{width:39px;height:39px;background:var(--wine);border-radius:12px;display:grid;place-items:center;color:#fff5e6;transform:rotate(-5deg)}.brandmark .ic{width:25px;height:25px;transform:rotate(5deg)}.topbar{border-bottom:1px solid var(--line);background:var(--bg)}.topin{max-width:1224px;margin:auto;padding:18px 42px;display:flex;align-items:center;justify-content:space-between;gap:20px}.tabs{display:flex;align-items:center;gap:5px}.tab{padding:9px 15px;display:inline-flex;gap:8px;align-items:center;color:#655b59;border-radius:24px;font-weight:550;font-size:14px}.tab.on{color:var(--wine);background:#f0e1df}.tab:hover,.chip:hover{background:#f2e9e1}.tab .ic{width:17px;height:17px}.userbtn,.iconbtn{border:1px solid var(--line);background:var(--paper);border-radius:50%;width:42px;height:42px;display:inline-grid;place-items:center;color:var(--wine)}.userbtn{background:#efdfd5;border:3px double #b88d82}.wrap{max-width:1224px;margin:auto;padding:35px 42px 64px}.date,.kicker{font:650 12px/1.45 system-ui;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}.date{display:flex;align-items:center;gap:8px}.date .ic{width:15px;height:15px;color:var(--wine)}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:21px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400;letter-spacing:-.045em;line-height:1.06}.heading h1{font-size:clamp(45px,5.1vw,72px);margin:7px 0 0}.hand{font-family:var(--script);color:var(--wine);font-weight:400;letter-spacing:-.035em}.days{font:19px var(--script);color:var(--wine);display:flex;align-items:center;gap:7px}.days .ic{width:15px}.homegrid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:23px}.hero{position:relative;isolation:isolate;overflow:hidden;background-color:#77394c;background-image:repeating-linear-gradient(35deg,#ffffff03 0px 1px,transparent 1px 4px),radial-gradient(ellipse at 28% 28%,#85435b 0%,#71374c 66%,#623044 100%);border-radius:var(--round);color:#fff2e2;min-height:323px;display:flex;align-items:center;padding:38px;box-shadow:0 4px 10px #62314410}.hero:before{content:'';position:absolute;inset:9px;border:1px dashed #dbaab47a;border-radius:9px;pointer-events:none}.herocopy{position:relative;width:54%;z-index:2}.hero .kicker{color:#f7d7da;font-size:11px}.hero h2{font-size:clamp(47px,5vw,77px);line-height:.94;margin:21px 0 22px;letter-spacing:-.05em}.hero h2 em{color:#f4d0c9;font-family:var(--script);font-weight:400}.primary,.light,.soft,.chip,.textbtn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:1.25;font-weight:600;font-size:14px}.primary,.light,.soft{border-radius:32px;min-height:42px;padding:11px 18px}.primary{background:var(--wine);color:#fff8ec}.primary:hover{background:var(--dark)}.light{background:#fff4df;color:#562f3a}.light .ic,.primary .ic,.soft .ic{width:17px;height:17px}.soft{background:#f0e4df;color:var(--wine)}.textbtn{background:transparent;color:var(--wine);padding:6px 2px}.textbtn .ic{width:16px}.art{position:absolute;width:45%;height:86%;right:2.5%;bottom:1%;pointer-events:none}.envshadow{position:absolute;width:87%;height:57%;top:29%;left:3%;transform:rotate(-12deg);filter:drop-shadow(0 13px 7px #321b2d65)}.env{position:absolute;inset:0;background:#d9bca0;border:1px solid #c5a38d;border-radius:3px;overflow:hidden}.env:before,.env:after{content:'';position:absolute;inset:0}.env:before{background:linear-gradient(140deg,#f7e4c7,#ddc2a7);clip-path:polygon(0 100%,0 0,53% 69%,100% 0,100% 100%)}.env:after{background:linear-gradient(155deg,#faebd4,#e0c4a7);clip-path:polygon(0 0,100% 0,53% 65%)}.wax{position:absolute;z-index:2;top:47%;left:43%;width:22%;aspect-ratio:1;border:3px double #b36c75;border-radius:47% 55% 46% 51%;background:radial-gradient(ellipse at 32% 25%,#ba727c 4%,#954d61 45%,#793c50 80%);box-shadow:2px 4px 5px #5e283b65;display:grid;place-items:center;color:#d79c9d}.wax .ic{width:61%;height:61%}.postage{position:absolute;top:0;right:0;width:34%;transform:rotate(13deg);filter:drop-shadow(1px 3px 2px #3e26384a)}.airmail{position:absolute;bottom:4%;right:10%;color:#f0ceca;font:clamp(24px,2.7vw,42px) var(--script);transform:rotate(-8deg)}.postlines{position:absolute;top:21%;right:-1%;color:#efe2d1;opacity:.52;transform:rotate(12deg);width:33%}.postlines .ic{width:100%;height:40px}.moment{position:relative;background:#efede5;background-image:radial-gradient(#ada58f66 .75px,transparent .75px);background-size:8px 8px;border:1px solid #ddd5c5;border-radius:var(--round);padding:24px 25px;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;min-height:279px}.moment .kicker{color:#655d4d}.polaroid{align-self:center;position:relative;margin:18px 0 0;width:61%;max-width:209px;min-width:148px;padding:7px 7px 16px;background:#fffdf3;box-shadow:0 5px 9px #463b2b33;transform:rotate(-6deg);transition:transform .3s}.polaroid:before{content:'';position:absolute;top:-8px;left:33%;width:35%;height:16px;background:#d8bfa5ce;transform:rotate(-5deg);clip-path:polygon(3% 0,98% 0,94% 30%,100% 64%,98% 100%,0 100%,4% 60%,0 35%)}.polaroid img{width:100%;aspect-ratio:1.6;display:block;object-fit:cover;object-position:50% 39%}.polaroid span{display:block;text-align:center;font:21px/1.2 var(--script);color:#644955;margin-top:7px}.moment:hover .polaroid{transform:rotate(-3deg) translateY(-3px)}.momentfoot{margin-top:auto;padding-top:18px;display:flex;align-items:center;justify-content:space-between;width:100%;font:24px var(--serif)}.momentfoot .ic{width:16px}.box{background:var(--paper);border:1px solid var(--line);border-radius:var(--round);padding:23px 25px}.box h2,.section-title{font-size:32px}.small{font-size:14px;color:var(--muted)}.box p.small{margin:5px 0 12px}.section{margin-top:31px}.sectionhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.sectionhead .textbtn{font-size:13px}.chips,.actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.chip{border:1px solid var(--line);background:#fffcf8;color:#554b47;border-radius:30px;padding:8px 13px;min-height:38px}.chip.on{background:#f2dfe2;color:var(--wine);border-color:#b78894}.chip .ic{width:16px;height:16px}.tilegrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.tile{display:flex;align-items:center;gap:12px;text-align:left;background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:16px}.tile:hover,.rowlink:hover,.chapter:hover{border-color:#be959c;box-shadow:0 3px 10px #5933430c}.tile strong,.rowlink strong{font-size:15px;font-weight:620}.swatch{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:13px;flex:none;background:var(--blush);color:#855264}.swatch.blue{background:var(--blue);color:#47626a}.swatch.green{background:var(--green);color:#596541}.swatch.gold{background:#f1e5cb;color:#7c6245}.swatch.large{width:47px;height:47px}.swatch .ic{width:21px}.agenda-line{display:flex;align-items:center;gap:13px}.daybox{background:#f2e9de;display:grid;place-items:center;min-width:49px;height:56px;border-radius:6px;line-height:1}.daybox b{font:27px var(--serif);line-height:.9}.daybox small{font-size:10px;letter-spacing:.06em;text-transform:uppercase}.bottom{display:none}.rowlink{display:flex;align-items:center;gap:13px;border:1px solid var(--line);border-radius:13px;padding:14px 16px;background:var(--paper);width:100%;text-align:left}.rowlink .tail{margin-left:auto;color:var(--muted);font-size:12px}.list{display:grid;gap:9px}.cardgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cardgrid .box{min-width:0}.box .actions{margin-top:13px}.note{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:16px 18px;overflow-wrap:anywhere}.note .nhead{display:flex;align-items:center;gap:8px;justify-content:space-between;color:var(--wine);font-size:12px;letter-spacing:.05em}.note h3{font-size:25px;margin:8px 0}.note p{white-space:pre-line;line-height:1.5}.papers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.paper{background:#f5e9cf;border:0;border-radius:2px 3px 12px 2px;border-top:4px solid #d1b780;min-height:130px}.paper:nth-child(3n+2){background:#f1dfe3;border-color:#ce9caa}.paper:nth-child(3n){background:#e5ebdf;border-color:#a8b59b}.intro{max-width:60ch;color:var(--muted);margin:8px 0 20px}.filterbar{margin:16px 0}.chapter{display:flex;align-items:center;gap:15px;background:var(--paper);border:1px solid var(--line);padding:10px;border-radius:13px}.chapter img{width:80px;height:68px;border-radius:7px;object-fit:cover}.chapter button{margin-left:auto}.chapter a{flex:1}.chapter h3{font-size:24px}.map{position:relative;background-color:#e8eadf;background-image:repeating-linear-gradient(25deg,transparent 0 34px,#fbfaf4 35px 40px,transparent 41px 61px),repeating-linear-gradient(116deg,transparent 0 64px,#f6f5e9 65px 71px,transparent 72px 104px);border:1px solid #cfd2c0;border-radius:14px;height:295px;overflow:hidden}.map:before{content:'';position:absolute;top:0;bottom:0;right:0;width:23%;background:#bdd0d2;clip-path:polygon(48% 0,100% 0,100% 100%,10% 100%,42% 82%,17% 60%,63% 33%)}.map button{position:absolute;transform:translate(-50%,-50%);background:#fff9e7;color:#593747;border:1px solid #cfbdaa;border-radius:30px;font-size:13px;padding:6px 10px;box-shadow:0 2px 5px #67574222}.map .ic{width:13px;height:13px}.cal{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center;margin:12px 0}.cal span{font-size:12px;color:var(--muted)}.cal button{min-height:34px;border:0;background:transparent;border-radius:12px}.cal button.mark{background:#e6d4df}.cal button.today{outline:1px solid var(--wine)}.cal button.chosen{background:var(--wine);color:white}.subhead{font:24px var(--serif);margin:17px 0 8px}.empty{padding:16px;background:#f4f0e9;border-radius:10px;color:#6c625b;font-size:14px}.modal{border:1px solid var(--line);border-radius:20px;padding:0;width:min(92vw,510px);background:var(--paper);color:var(--ink);max-height:86dvh;box-shadow:0 24px 100px #34242d38}.modal::backdrop{background:#432e3990;backdrop-filter:blur(3px)}.inside{padding:26px}.mhead{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-bottom:16px}.mhead h2{font-size:34px}.mhead .iconbtn{width:34px;height:34px}.modal form{display:grid;gap:13px}.field{display:grid;gap:5px;font-size:14px;font-weight:600}.field input,.field textarea,.field select{width:100%;background:#fffdf9;border:1px solid #cdbeb4;border-radius:8px;color:var(--ink);padding:9px 10px;min-height:42px;font-size:16px;font-weight:400}.field textarea{min-height:96px;resize:vertical}.check{display:flex;gap:8px;align-items:center;font-size:14px}.check input{width:18px;height:18px;accent-color:var(--wine)}.bodytext{white-space:pre-wrap;overflow-wrap:anywhere;margin:15px 0;font:22px/1.45 var(--serif)}.modal .actions{margin-top:15px}.err{color:#872947;font-size:14px}.err:empty{display:none}.toast{position:fixed;z-index:30;bottom:22px;left:50%;transform:translateX(-50%);border-radius:15px;background:#432b36;color:white;padding:10px 18px;max-width:90vw;box-shadow:0 4px 16px #0002;pointer-events:none}.loading,.welcome{max-width:460px;margin:15vh auto;padding:25px}.welcome h1{font-size:45px;margin:25px 0 12px}.welcome p{margin:12px 0}.welcome input,.welcome select{font:inherit;width:100%;padding:10px;border-radius:8px;border:1px solid var(--line)}.welcome form{display:grid;gap:13px}.modal .small + .list{margin-top:12px}.wrap{animation:appear .32s ease-out}.albumprint{display:none}@keyframes appear{from{opacity:.3;transform:translateY(4px)}to{opacity:1;transform:none}}
@media(max-width:930px){.topin,.wrap{padding-left:25px;padding-right:25px}.tab{padding:9px 10px}.homegrid{gap:15px;grid-template-columns:minmax(0,1.45fr) minmax(235px,1fr)}.hero{padding:28px}.tile{padding:12px}.art{width:44%}.moment{padding:21px}.tilegrid{gap:9px}}
@media(max-width:720px){.topin{padding:13px 18px}.brand{font-size:32px}.brandmark{width:33px;height:33px;border-radius:10px}.brandmark .ic{width:21px}.userbtn{width:36px;height:36px}.topbar .tabs{display:none}.topbar{position:relative}.bottom{display:flex;position:fixed;z-index:8;bottom:0;left:0;right:0;justify-content:space-around;border-top:1px solid var(--line);background:#fcf9f4f7;padding:6px 4px calc(6px + env(safe-area-inset-bottom));backdrop-filter:blur(10px)}.bottom .tab{flex-direction:column;gap:3px;border-radius:12px;font-size:11px;padding:5px 7px;min-width:64px}.bottom .tab .ic{width:19px;height:19px}.wrap{padding:23px 16px 90px}.heading h1{font-size:47px}.heading{margin-bottom:15px}.date{font-size:10px}.days{font-size:16px}.homegrid{grid-template-columns:1fr;gap:12px}.hero{min-height:236px;padding:28px 23px}.hero h2{font-size:53px;margin:14px 0 18px}.hero .kicker{font-size:10px;letter-spacing:.11em}.hero .light{min-height:38px;font-size:13px;padding:9px 13px}.art{height:85%;width:43%;right:2%}.postage{top:8%;right:0;width:38%}.envshadow{height:52%;width:90%;top:34%}.airmail{font-size:28px;bottom:4%;right:9%}.moment{min-height:122px;padding:17px 16px;display:grid;grid-template-columns:1fr 125px;grid-template-rows:auto 1fr;align-items:center}.moment .kicker{grid-area:1/1}.polaroid{grid-column:2;grid-row:1/3;width:108px;min-width:0;margin:0;justify-self:center;padding:4px 4px 5px}.polaroid:before{height:10px;top:-5px}.polaroid span{font-size:14px;margin:2px 0}.momentfoot{grid-area:2/1;margin:0;display:block;line-height:1.05;max-width:155px;padding-top:4px;font-size:27px}.momentfoot .ic{display:none}.box{padding:17px}.box h2,.section-title{font-size:28px}.section{margin-top:23px}.tilegrid{grid-template-columns:1fr 1fr}.tilegrid .tile:last-child:nth-child(odd){grid-column:1/-1}.tile{gap:9px}.tile strong{font-size:14px}.swatch{width:35px;height:35px;border-radius:10px}.cardgrid{grid-template-columns:1fr}.chip{font-size:13px;min-height:36px}.toast{bottom:78px}.chapter h3{font-size:21px}.chapter img{width:66px;height:60px}.modal .inside{padding:20px}.sectionhead{align-items:center}.map button{font-size:12px}.todayextras .box:first-child{order:0}}
@media(max-width:370px){.hero h2{font-size:45px}.hero{min-height:210px}.art{width:42%}.bottom .tab{min-width:54px}.hero .kicker{font-size:9px}.heading h1{font-size:39px}.wrap{padding-inline:12px}.tile{padding:9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{body>*{display:none!important}body>.albumprint{display:block!important;color:#222;font:13pt Georgia}.albumprint h1{font-size:30pt}.albumprint article{white-space:pre-wrap;margin:24pt 0;break-inside:avoid}}

/* Intervalos do ciclo */
.cycle-box{scroll-margin:24px}.cycle-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px}.cycle-layout .subhead{margin:0}.cycle-grid{gap:3px 1px}.cycle-grid .weekday{font-size:.81rem}.cycle-grid .cycle-cell{position:relative;min-height:40px;padding:6px 2px 9px;border:1px solid transparent;border-radius:5px;color:var(--ink);font-variant-numeric:tabular-nums}.cycle-grid .cycle-cell:hover{border-color:#b6a39c}.cycle-cell[aria-current=date]{font-weight:750;text-decoration:underline;text-underline-offset:3px}.cycle-grid .cycle-cell.picked{border:2px solid var(--wine);color:var(--wine)}
.flow{--phase:#a7536a;--tint:#f3dfe4}.follicular{--phase:#657e54;--tint:#e7eddf}.ovulation{--phase:#92703b;--tint:#f3ead4}.premenstrual{--phase:#74648c;--tint:#ebe6f0}.cycle-grid .cycle-cell.has-mark{background:var(--tint)}.cycle-stripes{position:absolute;display:flex;gap:2px;left:11%;right:11%;bottom:3px;height:3px}.cycle-stripe{flex:1;background:var(--phase);border-radius:2px}.cycle-legend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:.8rem;color:#625b58}.cycle-legend span{display:inline-flex;align-items:center;gap:4px}.cycle-dot{width:9px;height:9px;display:inline-block;border-radius:50%;background:var(--phase);flex:none}.cycle-entry{border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:10px 12px;text-align:left;display:flex;gap:10px;width:100%;align-items:center;margin-bottom:5px}.cycle-entry .ic{margin-left:auto;width:15px}.cycle-entry small,.cycle-summary span{display:block}.cycle-entry small{color:var(--muted);font-size:.8rem}.cycle-summary{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;display:flex;align-items:flex-start;gap:9px;color:#6c525c;font-size:.89rem}.cycle-history{border-top:1px solid var(--line);margin-top:19px;padding-top:12px}.cycle-history summary{cursor:pointer;font-weight:600}.cycle-history>div{margin-top:10px}.cycle-box .actions:empty{display:none}@media(max-width:720px){.cycle-layout{grid-template-columns:1fr;gap:20px}.cycle-grid .cycle-cell{min-height:39px}.cycle-box{scroll-margin:12px}}

.chapter-row a{min-width:0;overflow-wrap:anywhere}.chapter-row h3{margin:3px 0}.chapter-row .soft{flex:none}.chapter-stamp{width:80px;height:68px;border-radius:7px;background:#eededd;color:var(--wine);display:grid;place-items:center;flex:none}.chapter-stamp .ic{width:30px;height:30px}.chapter-cover{width:100%;max-height:240px;object-fit:contain;background:#f6f0e8;border-radius:10px;margin:0 0 12px}.chapter-story{white-space:pre-wrap;overflow-wrap:anywhere;font:21px/1.5 var(--serif);margin:12px 0}.chapter-preview{width:auto;max-width:100%;max-height:160px;object-fit:contain;border-radius:7px}.chapter-today-date{display:grid;place-items:center;aspect-ratio:1.6;background:#eddfdf;color:var(--wine)}.polaroid .chapter-today-date{display:grid}.chapter-today-date .ic{width:32px;height:32px}.moment-chapter .momentfoot{overflow-wrap:anywhere;font-size:clamp(19px,2.3vw,28px);line-height:1.12}.heading>.primary{flex:none}@media(max-width:720px){.chapter-stamp{width:66px;height:60px}.heading:has(>.primary){align-items:flex-start;flex-wrap:wrap}.heading:has(>.primary) .primary{margin-block:5px}.moment-chapter .momentfoot{max-width:100%}}

.today-tools{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap}
.saudades{display:inline-flex;align-items:center;gap:.55rem;border:1px solid #c69a9e;background:#f7e7e5;color:var(--dark);border-radius:2rem;padding:.68rem 1.1rem;min-height:44px;font-weight:650;line-height:1.2}
.saudades .ic{width:20px;height:20px;fill:#e5bec1;transition:transform .2s}
.saudades:hover .ic,.saudades:focus-visible .ic{transform:scale(1.12)}
.saudades:disabled{opacity:.7}
.agenda-box{scroll-margin-top:1.25rem}
.agenda-filters{margin-bottom:.65rem}
.agenda-pair{display:grid;grid-template-columns:1fr 1fr;gap:.8rem}
.agenda-pair .field{min-width:0}
.event-type{display:inline-flex;align-items:center;gap:.5rem;color:var(--wine);font-weight:600}
.event-type .ic{width:18px;height:18px}
.push-settings{border-block:1px solid var(--line);padding-block:1rem;margin-block:1rem}
.push-settings .subhead{margin-top:0}
@media(max-width:650px){.today-tools{flex-direction:column;align-items:flex-end;gap:4px}.saudades{font-size:.875rem;padding:.55rem .8rem}.agenda-pair{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.saudades .ic{transition:none}}

/* Memórias e bilhetes dos dois */
.duo-story{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(250px,1fr);gap:20px;margin:0 0 28px}
.duo-game-card{display:grid;align-items:center;grid-template-columns:38% minmax(0,1fr);gap:24px;background:#633444;color:#fff6e9;border-radius:var(--round);padding:20px;overflow:hidden}
.duo-game-card h2{font:clamp(27px,3vw,43px)/1.04 var(--serif);margin:0}
.duo-game-card p{margin:.65rem 0 1rem;color:#f8e3df}
.duo-film{background:#f7ead9;transform:rotate(-4deg);padding:5px 5px 14px;box-shadow:2px 4px 8px #31182240;overflow:hidden}
.duo-film img{width:100%;height:130px;object-fit:cover;object-position:50% 32%;display:block}
.duo-menus,.duo-list,.duo-replies{display:grid;gap:.6rem}
.duo-home{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.duo-tile,.duo-entry{display:flex;align-items:center;width:100%;gap:12px;border:1px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);padding:14px;text-align:left}
.duo-tile:hover,.duo-entry:hover,.duo-option:hover{background:#f6ece6;border-color:#cdaeb3}
.duo-tile span:last-child{min-width:0}
.duo-tile strong,.duo-tile small,.duo-entry small,.duo-invite small,.duo-invite strong,.duo-remind strong,.duo-remind small{display:block;overflow-wrap:anywhere}
.duo-tile strong{font:600 1.07rem/1.25 var(--serif)}
.duo-tile small,.duo-entry small,.duo-invite small,.duo-remind small,.duo-replies small{font-size:.875rem;color:var(--muted);margin-top:3px}
.duo-list,.duo-archive,.duo-replies{margin-top:16px}
.duo-entry{flex-direction:column;align-items:flex-start;gap:0}
.duo-archive summary{cursor:pointer;margin:10px 0;color:var(--muted)}
.duo-choices{display:grid;gap:8px;margin:14px 0}
.duo-option{border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);padding:10px 14px;text-align:left;font-weight:600}
.duo-photo{aspect-ratio:1.8;overflow:hidden;border-radius:10px;background:#ede3da}
.duo-photo img{width:100%;height:100%;object-fit:cover;display:block}
.duo-photo.cropped img{transform-origin:var(--focus);transform:scale(3.1)}
.duo-photo.revealed{background:#3f3434}.duo-photo.revealed img{object-fit:contain}
.duo-answer{margin-top:14px}.duo-answer strong{color:var(--wine)}.duo-answer h3{margin:4px 0;font:1.6rem var(--serif)}.duo-answer p{margin:5px 0}
.duo-remind,.duo-invite{display:flex;align-items:center;gap:12px;background:#f3e9d8;padding:14px;border-radius:12px;margin:14px 0;overflow-wrap:anywhere}
.duo-remind>span{flex:1}.duo-remind>.ic,.duo-invite>.ic{width:22px;height:22px;flex:none;color:var(--wine)}
.duo-replies>div{border-left:2px solid var(--line);padding-left:12px}.duo-replies p{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:720px){.duo-story,.duo-home{grid-template-columns:1fr;gap:10px}.duo-game-card{gap:15px;padding:16px}.duo-film img{height:108px}.duo-game-card p{font-size:.92rem}.duo-story{margin-bottom:20px}.duo-remind{flex-wrap:wrap}}
.duo-votes{border:1px solid var(--line);border-radius:12px;padding:12px 16px}.duo-votes legend{font-weight:600;padding-inline:4px}
.duo-camera{position:relative;background:#3d3033;border-radius:12px;overflow:hidden;aspect-ratio:1}
.duo-camera video,.duo-camera img{display:block;width:100%;height:100%;object-fit:cover}.duo-camera.active img{position:absolute;inset:0;opacity:.42;pointer-events:none}
.duo-comparison{display:block;width:100%;margin-top:12px}.duo-voice{display:grid;gap:7px;background:#f3e9e4;border:1px solid var(--line);border-radius:12px;padding:12px}.duo-voice small{color:var(--muted);font-size:.875rem}.duo-voice .actions{margin:0}.duo-voice p:empty{display:none}.duo-voice audio,.duo-audio{width:100%}.duo-voice .field{margin:0}
.duo-camera [hidden],.duo-voice [hidden],[data-snap][hidden]{display:none}

.area-switch{display:flex;align-items:center;gap:.85rem}.area-switch a,.back-to-gift{color:var(--wine);font-size:.9rem;font-weight:650;text-decoration:underline;text-underline-offset:.25em;white-space:nowrap}.area-switch a{display:inline-flex;align-items:center;min-height:44px}.back-to-gift{display:inline-block;padding-block:.6rem}
@media(min-width:721px) and (max-width:930px){.topin{gap:.6rem;padding-inline:1rem}.topin .tabs{gap:.1rem}.topin .tab{padding-inline:.5rem}.area-switch{gap:.45rem}}
@media(max-width:370px){.area-switch{gap:.45rem}.area-switch a{font-size:.84rem}}

.tree-panel{display:grid;grid-template-columns:minmax(245px,.78fr) 1fr;max-width:100%;overflow:hidden;border:1px solid #d1c4b1;border-radius:20px;background:#f7f1e5;margin-block:1.1rem 1.6rem;scroll-margin-top:1rem}
.tree-art{position:relative;isolation:isolate;background:#e8d1c2;align-self:center;aspect-ratio:630/650}.tree-art>img{display:block;width:100%;height:100%;object-fit:contain}.tree-bud{position:absolute;transform:translate(-50%,-50%);width:46px;height:46px;display:grid;place-items:center;border:none;border-radius:100%;background:#fff9f2;color:#873e56;box-shadow:0 1px 8px #522a3f60}.tree-bud .ic{fill:#f1bfcd;stroke:#a05168;width:33px;height:33px}.tree-bud span{position:absolute;font:700 .68rem system-ui;bottom:-3px;right:-1px;background:#78384d;color:white;border-radius:50%;width:17px;height:17px;display:grid;place-items:center}.tree-bud:hover,.tree-bud:focus-visible{outline:3px solid #662f4b;z-index:1}
.tree-notes{align-self:center;padding:clamp(1rem,3vw,2.8rem)}.tree-notes h2{font:400 clamp(2.3rem,4vw,3.5rem)/1.05 var(--serif);letter-spacing:-.04em;margin:0;color:var(--wine)}.tree-notes>p{margin:.7rem 0 1rem;color:var(--muted)}.tree-notes ul{list-style:none;padding:0;margin:0}.tree-notes li+li{border-top:1px solid #dcd0c0}.tree-label{display:flex;align-items:center;gap:.65rem;width:100%;text-align:left;min-height:44px;border:0;background:none;padding:.4rem .12rem;color:#583044}.tree-label i{font:600 .8rem/1 system-ui;font-style:normal;color:#94526a}.tree-pager{display:flex;align-items:center;justify-content:space-between;gap:.45rem;flex-wrap:wrap;margin-top:.8rem}.tree-pager span{font-size:.87rem}.tree-original{display:block;width:auto;max-width:100%;max-height:55vh;margin:0 auto;object-fit:contain}
@media(max-width:720px){.tree-panel{grid-template-columns:1fr}.tree-art{width:min(100%,380px);justify-self:center}.tree-notes{padding:1.2rem}.tree-bud{width:44px;height:44px}}
