/* v12 (site version 20): sizes and shapes from the back office, photo row, profile sections */

/* main room tiles: width chosen in the back office */
@media (max-width:760px){
 .tiles .tile.m-half{grid-column:span 1;grid-row:auto}
 .tiles .tile.m-full{grid-column:span 2;grid-row:auto}
 .tiles .tile.m-half,.tiles .tile.m-full{min-height:0}
}
@media (min-width:761px){
 .tiles .tile.d-w1{grid-column:span 1}
 .tiles .tile.d-w2{grid-column:span 2}
 .tiles .tile.d-w3{grid-column:span 3}
 .tiles .tile.d-w4{grid-column:1/-1}
 .tiles .tile.d-h{grid-row:auto}
 .tiles .tile.d-r2{grid-row:span 2;min-height:0}
}
/* big photos: height chosen in the back office */
@media (max-width:979px){.interlude{height:min(85svh,calc(var(--ilm,1.28)*100vw))}}
@media (min-width:980px){.interlude{height:min(calc(var(--ild,82)*1svh),calc(var(--ild,82)*0.73vw))}}

/* Anita page photo row: each photo sits in its own rounded frame, so zoom never spills out */
.photostrip .phs{position:relative;aspect-ratio:3/4;border-radius:var(--r);overflow:hidden;scroll-snap-align:start;isolation:isolate}
.photostrip .phs .ph{position:absolute;inset:0;aspect-ratio:auto;border-radius:0}
.photostrip{scroll-behavior:smooth}

/* ---------- Your profile: each section with its own character ---------- */
.pnav{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:4px 0 18px;padding:2px 0}
.pnav::-webkit-scrollbar{display:none}
.pnav a{flex:0 0 auto;padding:9px 16px;border-radius:999px;border:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:calc(19px*var(--ts));background:color-mix(in srgb,var(--panel) 80%,transparent)}
.pnav a:hover{border-color:var(--acc);color:var(--acc)}
#pc-card,#pc-stats,#pc-taste,#pc-details,#pc-health{scroll-margin-top:96px}
.anchor{display:block;height:0}

/* 1. the member card */
.mcard{text-align:center;border:1px solid transparent;background:
  linear-gradient(var(--panel),var(--panel)) padding-box,
  linear-gradient(135deg,#f3dba4,#a9783a 30%,#f6e3b5 52%,#8d5f2c 78%,#e9cf93) border-box;
 box-shadow:0 18px 50px rgba(0,0,0,.35)}
.mcard:before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.07;background:repeating-linear-gradient(45deg,var(--acc) 0 1px,transparent 1px 14px)}
.mc-top{position:relative;display:flex;justify-content:space-between;align-items:center;margin:-14px 0 14px;gap:10px}
.mc-mono{font-family:var(--h);font-style:italic;font-size:calc(26px*var(--ts));color:var(--acc);letter-spacing:.06em}
.mc-tier{font-size:calc(19px*var(--ts));letter-spacing:.08em;text-transform:uppercase;color:var(--ink2)}
.mc-meta{display:grid;grid-template-columns:repeat(3,1fr);margin:16px 0 4px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.mc-meta div{padding:12px 4px;display:flex;flex-direction:column;gap:2px}
.mc-meta div+div{border-left:1px solid var(--line)}
.mc-meta b{font-family:var(--h);font-weight:var(--hw);font-size:calc(32px*var(--ts));color:var(--acc);line-height:1}
.mc-meta span{font-size:calc(19px*var(--ts));color:var(--ink2)}
.mc-favs{margin:12px 0 0;font-size:calc(19px*var(--ts))}

/* 2. stats as rings */
.rings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px;margin-top:14px}
@media (min-width:980px){.rings{grid-template-columns:repeat(3,minmax(0,1fr))}}
.ring{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.ring .rg{position:relative;width:min(118px,100%);aspect-ratio:1}
.ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.ring circle{fill:none;stroke-width:9}
.ring .trk{stroke:color-mix(in srgb,var(--line) 80%,transparent)}
.ring .val{stroke:var(--acc);stroke-linecap:round;stroke-dasharray:var(--v) 100;transition:stroke-dasharray 1.4s var(--house)}
.ring.fav .val{stroke:var(--love,#d65a86)}
.ring .rg b{position:absolute;inset:0;display:grid;place-items:center;font-family:var(--h);font-weight:var(--hw);font-size:calc(34px*var(--ts));color:var(--ink)}
.ring>span{font-size:calc(19px*var(--ts));line-height:1.25}
.ring>span .ic{width:18px;height:18px;color:var(--love,var(--acc));vertical-align:-2px}

/* 3. taste: a page from her notebook */
.paper{position:relative;margin-top:14px;color:#3a2229;border:0;
 background:linear-gradient(180deg,rgba(255,255,255,.35),transparent 30%),repeating-linear-gradient(180deg,transparent 0 37px,rgba(150,95,85,.16) 37px 38px),#f4e8dc;box-shadow:0 14px 40px rgba(0,0,0,.35)}
html[data-theme=doll] .paper{background:linear-gradient(180deg,rgba(255,255,255,.4),transparent 30%),repeating-linear-gradient(180deg,transparent 0 37px,rgba(214,90,134,.16) 37px 38px),#fdeef3}
.paper .kicker{color:#9a5b3f}
html[data-theme=doll] .paper .kicker{color:#c03c74}
.paper h3,.paper h4,.paper p,.paper span{color:#3a2229}
.pp-head{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.pp-ic{flex:0 0 52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#3a2229;color:#f4e8dc}
.paper .pp-ic,.paper .pp-ic .ic{color:#f4e8dc}
.pp-ic .ic{width:24px;height:24px}
.paper .tround+.tround{border-top:0;margin-top:14px;padding-top:0}
.paper h4{display:flex;align-items:center;gap:10px;font-family:var(--h);font-style:italic;font-size:calc(24px*var(--ts));margin:0 0 10px;color:#3a2229}
.paper .rn{display:inline-grid;place-items:center;min-width:36px;height:36px;padding:0 6px;border:1px solid #9a5b3f;border-radius:50%;font-style:normal;font-size:calc(19px*var(--ts));color:#9a5b3f}
.paper .chip.tag{background:#3a2229;color:#f4e8dc!important;border:0;border-radius:6px 14px 14px 6px;padding:8px 14px}
html[data-theme=doll] .paper .chip.tag{background:#c03c74;color:#fff!important}
.pp-foot{margin-top:16px;display:grid;gap:8px;font-size:calc(19px*var(--ts))}
.pp-foot i{display:block;height:6px;border-radius:6px;background:linear-gradient(90deg,#9a5b3f var(--p),rgba(58,34,41,.15) var(--p))}

/* 4. details: a sealed envelope */
.envelope{border-style:solid;overflow:hidden;padding-top:46px}
.envelope:before{content:"";position:absolute;left:0;right:0;top:0;height:30px;background:linear-gradient(to bottom right,transparent 49.5%,var(--line) 50%,transparent 51%) left/50% 100% no-repeat,linear-gradient(to bottom left,transparent 49.5%,var(--line) 50%,transparent 51%) right/50% 100% no-repeat;opacity:.9}
.envelope .seal{top:10px;background:radial-gradient(circle at 35% 30%,#d06a7f,#7d1f35);border:0;color:#fff;box-shadow:0 4px 12px rgba(0,0,0,.35)}
html[data-theme=doll] .envelope .seal{background:radial-gradient(circle at 35% 30%,#ff9cc2,#c03c74)}
.fset{min-width:0;border:1px solid var(--line);border-radius:18px;padding:12px 16px 16px;margin:16px 0 0}
.fset legend{display:flex;align-items:center;gap:8px;padding:0 8px;font-family:var(--h);font-weight:var(--hw);font-size:calc(22px*var(--ts));color:var(--acc)}
.fset legend .ic{width:22px;height:22px}
.avs.medals{display:flex;gap:12px;overflow-x:auto;padding:6px 2px 8px;scrollbar-width:thin}
.avs.medals .av{flex:0 0 112px;border-radius:50%;aspect-ratio:1;padding:8px;justify-content:center;gap:2px;font-size:calc(19px*var(--ts));text-align:center;line-height:1.1}
.avs.medals .av .ic{width:30px;height:30px}
.avs.medals .av span{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avs.medals .av[aria-pressed=true]{background:var(--acc);color:var(--bg);border-color:var(--acc)}
.avs.medals .av[aria-pressed=true] .ic{color:var(--bg)}

/* 5. health: a certificate */
.cert{border:3px double color-mix(in srgb,#5fae84 70%,var(--line));background:radial-gradient(90% 60% at 100% 0%,rgba(80,170,120,.14),transparent 60%),var(--panel)}
.cert .seal{display:none}
.cbadge{position:absolute;top:18px;right:18px;padding:6px 14px;border-radius:999px;font-size:calc(19px*var(--ts));font-weight:600;letter-spacing:.04em}
.cbadge.ok{background:#5fae84;color:#0f2117}
.cbadge.old{background:var(--nev,#d0464f);color:#fff}
.cbadge.none{border:1px dashed var(--ink2);color:var(--ink2)}
.cert h3{padding-right:150px}
@media (max-width:520px){.cert h3{padding-right:0}.cbadge{position:static;display:inline-block;margin-bottom:10px}}


/* ================= computer: photos are made for the phone, so give them portrait frames ================= */
/* page photos at the top of each room: a rounded frame that keeps any zoom inside it */
.banner .bph{position:relative;overflow:hidden}
@media (min-width:980px){
 .banner{grid-template-columns:minmax(0,4fr) minmax(0,7fr);align-items:center;gap:56px}
 .banner .bph{border-radius:26px;box-shadow:0 30px 60px -30px rgba(0,0,0,.6);height:min(66svh,620px);aspect-ratio:3/4;max-width:100%;justify-self:start}
 .banner .bph .ph{position:absolute!important;inset:0!important;height:100%!important;border-radius:0;box-shadow:none}
 .banner .inner{padding:0}
}

/* front door: the whole photo, standing tall on the left */
@media (min-width:980px){
 .title{grid-template-columns:min(52vw,calc((100svh - 76px) * .8)) minmax(0,1fr)}
 .title .bgimg{width:calc(100% + 5vw);background-position:center 30%;
   -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 84%,transparent 100%);mask-image:linear-gradient(90deg,#000 0%,#000 84%,transparent 100%);animation:none}
 .title .veil{display:none}
 .title .tc{max-width:720px;padding:48px clamp(40px,5vw,96px)}
}

/* main room opening photo: her whole photo on the right, words on the left */
@media (min-width:980px){
 .hubhero{min-height:min(92svh,1000px)}
 .hubhero .ph{inset:0 0 0 auto!important;left:auto!important;width:min(56vw,calc(min(92svh,1000px) * .8));height:100%!important;transform:none!important;
   -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 100%),linear-gradient(180deg,#000 80%,transparent 100%);-webkit-mask-composite:source-in;
   mask-image:linear-gradient(90deg,transparent 0%,#000 22%,#000 100%);}
 html[data-theme=maison] .hubhero .shade,html[data-theme=doll] .hubhero .shade{background:linear-gradient(180deg,transparent 70%,var(--bg) 100%)}
 .hubhero .inner{padding-bottom:12svh}
 .hubhero .inner>*{max-width:min(560px,44vw)}
}

/* big photo with a quote: photo on one side, the words on the other */
@media (min-width:980px){
 .interlude{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);max-width:1200px;margin:56px auto;padding:0 32px;align-items:center;overflow:visible;
   height:min(calc(var(--ild,80)*1svh),900px)}
 .interlude .ph{position:relative!important;inset:auto!important;height:100%!important;width:auto;aspect-ratio:3/4;max-width:100%;justify-self:end;border-radius:26px;transform:none!important;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}
 .interlude .shade{display:none}
 .interlude q{position:static;grid-column:2;text-align:left;padding:0 0 0 56px;max-width:560px;margin:0;text-shadow:none;color:var(--ink)!important;font-size:calc(clamp(34px,3.4vw,54px)*var(--ts))}
 .interlude q:before{content:"";display:block;width:64px;height:1px;background:var(--acc);margin-bottom:28px}
}

/* booking cards: the photo takes the room, the words stay compact */
.setc{grid-template-rows:minmax(0,1fr) auto}
.setc .body{padding:12px 16px 14px;gap:2px}
@media (min-width:761px){
 .setc .ph{aspect-ratio:auto;min-height:300px;height:100%}
 .setc.feat .ph{min-height:520px}
 .setc .body{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:14px}
 .setc .body b{flex:1 1 100%}
 .setc .body .d{flex:1 1 100%}
}

/* wishes: all the sections visible at once, and the counter as a small pill */
@media (min-width:980px){
 .wsecs{flex-wrap:wrap;overflow:visible}
 .summary{width:fit-content;margin-left:auto;padding:10px 18px;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:color-mix(in srgb,var(--panel) 85%,transparent)}
}

/* Anita page: her looks in a true portrait frame on the computer */
@media (min-width:980px){.portrait{aspect-ratio:3/4}}


/* zoom stays inside every frame: the photo is drawn on a layer inside the frame, and only that layer is enlarged */
.ph.fx,.bgimg.fx{background-image:none!important;overflow:hidden;scale:none!important}
.ph.fx:not(.fitm):not(.fitd)::before,.bgimg.fx::before{content:"";position:absolute;inset:0;background-image:var(--img);background-size:cover;background-repeat:no-repeat;
 background-position:var(--fm,var(--fd,center 22%));transform-origin:var(--fm,var(--fd,50% 22%));scale:var(--zm,1);pointer-events:none}
@media (min-width:980px){.ph.fx:not(.fitm):not(.fitd)::before,.bgimg.fx::before{background-position:var(--fd,var(--fm,center 22%));transform-origin:var(--fd,var(--fm,50% 22%));scale:var(--zd,var(--zm,1))}}


/* computer: wide tiles keep the photo whole, words beside it */
@media (min-width:761px){
 .tiles .tile.photo.split{justify-content:center;padding:28px 32px 28px calc(var(--th) * .75 + 36px);background:linear-gradient(120deg,var(--panel),color-mix(in srgb,var(--panel) 70%,var(--acc) 8%));border:1px solid var(--line)}
 .tiles .tile.photo.split .ph{right:auto;width:calc(var(--th) * .75)}
 .tiles .tile.photo.split:after{display:none}
 .tiles .tile.photo.split b{color:var(--ink);font-size:calc(38px*var(--ts))}
 .tiles .tile.photo.split span{color:var(--ink2)}
 .tiles .tile.photo.split .ic{color:var(--acc)}
 .tiles .tile.photo.split:before{content:"";position:absolute;left:calc(var(--th) * .75);top:0;bottom:0;width:1px;background:var(--line);z-index:1}
}
.tile .cta{display:none}
@media (min-width:761px){.tiles .tile.photo.split .cta{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:10px 20px;border:1px solid var(--acc);border-radius:999px;color:var(--acc);font-style:normal;font-weight:600;font-size:calc(19px*var(--ts))}
 .tiles .tile.photo.split .cta .ic{width:18px;height:18px}
 .tiles .tile.photo.split:hover .cta{background:var(--acc);color:var(--accInk)}
 .tiles .tile.photo.split:hover .cta .ic{color:var(--accInk)}}


/* ================= computer, round 2: the framed-photo look of the Anita page, used everywhere ================= */
@media (min-width:980px){
 /* front door: a framed portrait beside the words, centred together */
 .title{display:grid;grid-template-columns:auto minmax(0,640px);justify-content:center;align-items:center;column-gap:clamp(56px,6vw,120px);padding:32px 40px;min-height:calc(100svh - 76px)}
 .title .bgimg{position:relative!important;inset:auto!important;grid-column:1;grid-row:1;width:auto!important;height:min(calc(100svh - 150px),860px)!important;min-height:0!important;aspect-ratio:3/4;
   border-radius:28px;-webkit-mask-image:none!important;mask-image:none!important;box-shadow:0 40px 90px -40px rgba(0,0,0,.75);animation:none!important;transform:none!important}
 html[data-theme=doll] .title .bgimg{box-shadow:0 40px 90px -40px rgba(160,20,90,.45)}
 .title .veil{display:none!important}
 .title .tc{grid-column:2;grid-row:1;max-width:640px;margin:0;padding:0}

 /* main room opening: the words on the left, her framed portrait on the right */
 .hubhero{display:grid;grid-template-columns:minmax(560px,1fr) auto;align-items:center;column-gap:clamp(48px,5vw,96px);max-width:1200px;margin:0 auto;padding:96px 32px 40px;min-height:0}
 .hubhero .ph{position:relative!important;inset:auto!important;left:auto!important;grid-column:2;grid-row:1;width:auto!important;height:min(calc(100svh - 170px),720px)!important;max-width:min(42vw,540px);aspect-ratio:3/4;
   border-radius:28px;-webkit-mask-image:none!important;mask-image:none!important;transform:none!important;box-shadow:0 40px 90px -40px rgba(0,0,0,.75)}
 .hubhero .shade{display:none}
 .hubhero .inner{grid-column:1;grid-row:1;padding:0!important;margin:0!important;max-width:none}
 .hubhero .inner>*{max-width:560px}
 .hubhero .scrollcue{display:none}

 /* big quote photos: never taller than the screen */
 .interlude{height:min(calc(var(--ild,72)*1svh),760px)}

 /* page photos: same edges as the page below */
 .banner{max-width:1200px;padding:28px 20px 0}

 /* Anita page: portrait on the left; looks, numbers and class on the right; traits as their own section */
 .angrid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);grid-template-areas:"por looks" "por copy" "por specs" "por cls";grid-template-rows:auto auto auto 1fr;column-gap:48px;row-gap:14px;align-items:start}
 .angrid>.anleft,.angrid>.anitaside{display:contents}
 .angrid #por{grid-area:por;aspect-ratio:3/4;width:min(100%,calc((100svh - 140px) * .75),570px);justify-self:start;align-self:start;position:sticky;top:96px}
 .angrid .lookrow{grid-area:looks;margin:0}
 .angrid #lookcopy{grid-area:copy;margin:0!important}
 .angrid .specs{grid-area:specs}
 .angrid .cartouche{grid-area:cls}
 .angrid .lookrow .lt .ltw{width:112px;height:140px}

 /* photo row: bigger photos on the computer */
 .photostrip{grid-auto-columns:minmax(300px,31%)}
}

/* ================= round 3: room to breathe ================= */
/* footer on every page */
.foot{margin-top:72px;border-top:1px solid var(--line);padding:44px 0 56px;background:color-mix(in srgb,var(--bg) 70%,#000 30%)}
html[data-theme=doll] .foot{background:color-mix(in srgb,var(--bg) 88%,#ff2e93 12%)}
.foot[hidden]{display:none}
.foot .ftop{display:flex;justify-content:space-between;gap:28px;flex-wrap:wrap;align-items:flex-start}
.foot .flogo{font-family:var(--logo,var(--h));font-size:calc(40px*var(--ts));margin:0 0 6px;color:var(--ink)}
.foot .fline{margin:0;color:var(--ink2);font-size:calc(19px*var(--ts))}
.foot .flinks{display:flex;flex-wrap:wrap;gap:10px 24px;max-width:620px}
.foot .flinks .linkbtn,.foot .fbot .linkbtn{font-size:calc(19px*var(--ts));color:var(--ink2);text-decoration:none}
.foot .flinks .linkbtn:hover{color:var(--acc)}
.foot .fbot{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:32px;padding-top:20px;border-top:1px solid color-mix(in srgb,var(--line) 60%,transparent);color:var(--ink2);font-size:calc(19px*var(--ts))}
.foot .fbot .ic{width:16px;height:16px;vertical-align:-2px}
.wrap.room{padding-bottom:40px}

/* photo row arrows */
.stripwrap{position:relative;margin:24px 0 72px}
.stripwrap .photostrip{margin:0}
.sarr{position:absolute;top:50%;z-index:3;width:52px;height:52px;margin-top:-26px;border-radius:50%;border:1px solid var(--line);background:color-mix(in srgb,var(--panel) 88%,transparent);color:var(--ink);display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 24px -10px rgba(0,0,0,.6);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.sarr .ic{width:22px;height:22px}
.sarr.prev{left:-10px}.sarr.prev .ic{transform:rotate(180deg)}
.sarr.next{right:-10px}
.sarr:hover{border-color:var(--acc);color:var(--acc)}
@media (min-width:980px){.sarr.prev{left:-26px}.sarr.next{right:-26px}}

/* Anita page: generous spacing between every part */
.trsec{margin-top:56px}
.lovesnever{margin-top:8px}
.lovesnever .rulesp{margin-top:8px}
@media (min-width:980px){
 .banner{padding-top:72px}
 .banner+.wrap.room{padding-top:72px}
 .angrid{row-gap:22px}
 .angrid #por{top:110px}
 .trsec{margin-top:96px}
 .trsec ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 32px}
 .interlude{margin-top:120px;margin-bottom:96px}
 .stripwrap{margin:0 0 110px}
 .lovesnever{gap:32px;row-gap:40px}
 .wrap.room{padding-bottom:64px}
 /* wishes: room under the page photo, and the counter sits quietly at the end */
 .wsecs{margin:8px 0 40px;row-gap:12px}
 .summary{position:static;margin-top:28px}
 .sectitle{margin-top:8px}
 /* quests: the counter lines up with the list */
 .band .sechead.qhead{max-width:760px}
 .band .panel.quests{max-width:760px}
}

/* wide tiles on the computer: the photo is the star, the words take a slim column */
@media (min-width:761px){
 .tiles .tile.photo.split{--tw:clamp(240px,30%,340px);padding:24px 26px 24px calc(100% - var(--tw) + 26px)}
 .tiles .tile.photo.split .ph{width:calc(100% - var(--tw))}
 .tiles .tile.photo.split:before{left:calc(100% - var(--tw))}
 .tiles .tile.photo.split b{font-size:calc(32px*var(--ts))}
}

/* loyalty gifts with their own picture */
.lcard.withimg{grid-template-columns:112px minmax(0,1fr);align-items:center}
.limg{position:relative;display:block;width:112px;aspect-ratio:4/5;border-radius:14px;overflow:hidden;border:1px solid color-mix(in srgb,var(--acc) 40%,var(--line));box-shadow:0 10px 24px -14px rgba(0,0,0,.6)}
.limg img{width:100%;height:100%;object-fit:cover;display:block}
.limg.shut img{filter:blur(3px) saturate(.7) brightness(.7)}
.limg i{position:absolute;inset:0;display:grid;place-items:center;color:#fff}
.limg i .ic{width:30px;height:30px}
@media (min-width:761px){.lcard.withimg{grid-template-columns:150px minmax(0,1fr)}.limg{width:150px}}
.lgimg{display:block;width:min(240px,70%);aspect-ratio:4/5;object-fit:cover;margin:0 auto 14px;border-radius:18px;box-shadow:0 18px 40px -18px rgba(0,0,0,.7)}
@media (max-width:760px){
 .lcard.withimg{grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}
 .lcard.withimg .limg{width:100%;aspect-ratio:16/10}
 .lcard.withimg .limg img{object-position:center 55%}
}
.gal .g .lk span{font-weight:600}.gal .g .lk .lkm{font-weight:500;opacity:.85;font-size:calc(19px*var(--ts))}


/* Tailor her: every choice with its little picture */
.tl.tlcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media (min-width:700px){.tl.tlcards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:1100px){.tl.tlcards{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tlcards .tli{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:18px;border:1px solid var(--line);background:var(--panel);margin:0;transition:border-color .2s,box-shadow .2s}
.tlcards .tli.love{border-color:var(--love,#d65a86);box-shadow:0 0 0 2px var(--love,#d65a86)}
.tlcards .tli.yes{border-color:var(--acc)}
.tlcards .tli.no{opacity:.6}
.tlpic{position:relative;display:grid;place-items:center;aspect-ratio:1;border-radius:14px;overflow:hidden;color:var(--acc,#d9b47c);background:radial-gradient(80% 80% at 50% 35%,color-mix(in srgb,var(--acc) 16%,transparent),transparent 70%),color-mix(in srgb,var(--panel) 70%,#000 30%)}
html[data-theme=doll] .tlpic{background:radial-gradient(80% 80% at 50% 35%,#fff,#ffe1ee)}
.tlpic svg{width:74%;height:74%}
.tlpic img{width:100%;height:100%;object-fit:cover}
.tlpic .ic{width:44%;height:44%}
.tlsw{width:62%;aspect-ratio:1;border-radius:50%;border:2px solid var(--acc);box-shadow:0 8px 20px -10px rgba(0,0,0,.6)}
.xpill{position:absolute;top:8px;right:8px;padding:3px 10px;border-radius:999px;background:linear-gradient(135deg,#f6e2a8,#d4a94e);color:#3b2405;font-weight:700;font-size:calc(19px*var(--ts));box-shadow:0 4px 10px -4px rgba(0,0,0,.5)}
.tltx{display:flex;flex-direction:column;gap:4px;flex:1}
.tlcards .tt{font-weight:600;font-size:calc(19px*var(--ts));line-height:1.25}
.tlcards .th{color:var(--ink2);font-size:calc(19px*var(--ts));line-height:1.35}
.tlcards .tlb{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.tlcards .tlb button{flex-direction:column;gap:2px;padding:8px 4px;min-height:56px;font-size:calc(19px*var(--ts))}
.tlcards .tlb button span{font-size:calc(19px*var(--ts));line-height:1.1}
@media (max-width:520px){.tlcards .tlb button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.tlcards .tlb button{min-height:48px;position:relative}}
.tlx{display:flex;gap:12px;align-items:flex-start;margin:18px 0 0;padding:14px 16px;border-radius:16px;border:1px dashed color-mix(in srgb,#d4a94e 70%,transparent);background:color-mix(in srgb,#d4a94e 10%,transparent);font-size:calc(19px*var(--ts))}
.tlx .ic{flex:0 0 22px;width:22px;height:22px;color:#d4a94e;margin-top:3px}

/* ---------- v28 main room opening photos: fade between several, arrows on the photo ---------- */
.hubhero .ph{transition:opacity .45s ease}
.hubhero .ph.hfade{opacity:0}
.herocar{position:absolute;left:0;right:0;top:42%;height:0;z-index:3}
.herocar .sarr.prev{left:12px}.herocar .sarr.next{right:12px}
@media (max-width:760px){.herocar{top:calc(var(--heroh) * .42)}}
@media (min-width:980px){
 .herocar{position:relative;top:auto;left:auto;right:auto;grid-column:2;grid-row:1;align-self:center;width:100%}
 .herocar .sarr.prev{left:-26px}.herocar .sarr.next{right:-26px}
}
@media (prefers-reduced-motion:reduce){.hubhero .ph{transition:none}}

/* ---------- v29 her looks: as many as she likes, with arrows ---------- */
.lookwrap{position:relative;margin-top:12px;min-width:0}
.lookwrap .lookrow{margin-top:0}
.lookwrap .sarr{display:none;top:58px;width:44px;height:44px;margin-top:-22px}
.lookwrap .sarr.prev{left:-8px}.lookwrap .sarr.next{right:-8px}
.lookwrap.can-l .lrprev,.lookwrap.can-r .lrnext{display:grid}
#por .sarr{top:50%;width:48px;height:48px;margin-top:-24px;opacity:.92}
#por .sarr.prev{left:12px}#por .sarr.next{right:12px}
@media (min-width:980px){
 .angrid .lookwrap{grid-area:looks;margin:0}
 .lookwrap .sarr{top:72px}
 .lookpick{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
}

/* ---------- v30 gift shop: her wishlist is the first thing to touch ---------- */
.wishcard{position:relative;display:grid;grid-template-columns:auto 1fr;gap:16px 18px;align-items:center;margin:8px 0 34px;padding:24px 22px;border-radius:26px;text-decoration:none;color:var(--ink);overflow:hidden;isolation:isolate;
 background:linear-gradient(150deg,color-mix(in srgb,var(--acc) 22%,var(--panel)) 0%,var(--panel) 55%,color-mix(in srgb,var(--acc) 12%,var(--panel)) 100%);
 border:1.5px solid color-mix(in srgb,var(--acc) 70%,transparent);box-shadow:0 26px 60px -28px color-mix(in srgb,var(--acc) 70%,transparent),inset 0 1px 0 rgba(255,255,255,.08);transition:transform .35s var(--house,ease),box-shadow .35s}
.wishcard:hover{transform:translateY(-3px);box-shadow:0 34px 70px -28px color-mix(in srgb,var(--acc) 85%,transparent)}
.wishglow{position:absolute;inset:-40% -20% auto auto;width:70%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,color-mix(in srgb,var(--acc) 45%,transparent),transparent 65%);z-index:-1;filter:blur(6px);animation:wishpulse 5s ease-in-out infinite}
@keyframes wishpulse{0%,100%{opacity:.55;transform:scale(1)}50%{opacity:.95;transform:scale(1.08)}}
.wishic{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:var(--acc);color:var(--accInk);box-shadow:0 12px 28px -10px color-mix(in srgb,var(--acc) 90%,transparent)}
.wishic .ic{width:38px;height:38px}
.wishtx{display:flex;flex-direction:column;gap:6px}
.wishtx .kicker{margin:0;font-size:calc(20px*var(--ts))}
.wishlead{font-size:calc(19px*var(--ts));line-height:1.45;color:var(--ink2)}
.wishbtn{grid-column:1/-1;justify-self:stretch;justify-content:center;min-height:62px;font-size:calc(21px*var(--ts));gap:10px;pointer-events:none}
.wishbtn .ic{width:22px;height:22px}
.wishsub{margin:0 0 10px}
@media (min-width:761px){.wishcard{grid-template-columns:auto 1fr auto;padding:30px 32px}.wishbtn{grid-column:auto;justify-self:end;padding:0 30px}.wishic{width:92px;height:92px}.wishic .ic{width:44px;height:44px}}
@media (prefers-reduced-motion:reduce){.wishglow{animation:none}.wishcard{transition:none}}
.wishtitle{font-family:var(--h);font-weight:var(--hw);font-size:calc(32px*var(--ts));line-height:1.05;color:var(--ink)}
@media (max-width:760px){
 .wishcard{grid-template-columns:auto 1fr;gap:14px 16px;padding:22px 20px}
 .wishtx{display:contents}
 .wishtitle{align-self:center}
 .wishlead{grid-column:1/-1}
 .wishic{width:64px;height:64px}.wishic .ic{width:32px;height:32px}
}

/* ---------- v31 a quieter Keys chip; rewards: standing first, Keys explained ---------- */
.tb.keys{gap:6px;min-height:40px;padding:3px 12px 3px 4px}
.tb.keys .kc{width:30px;height:30px}
.tb.keys .kc .ic{width:16px;height:16px}
.tb.keys b{font-family:var(--b,inherit);font-weight:600;font-size:calc(19px*var(--ts))}
.tb.keys .kl{display:none}
#topbar.over:not(.solid) .tb{background:color-mix(in srgb,var(--panel) 38%,transparent);border-color:color-mix(in srgb,var(--line) 60%,transparent)}
@media (max-width:760px){
 #topbar.over:not(.solid) .top .in{padding:8px 14px}
 #topbar.over:not(.solid) .tb{min-height:42px}
 #topbar.over:not(.solid) .tb.ghost,#topbar.over:not(.solid) .tb.icon{width:42px}
}
.rsum2{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:761px){.rsum2{grid-template-columns:1fr 1fr}}
.rsc .kicker{display:flex;align-items:center;gap:8px}
.rsc .kicker .ic{width:20px;height:20px}
.rbig{display:flex;align-items:baseline;gap:10px;margin:6px 0 8px}
.rbig b{font-family:var(--h);font-weight:var(--hw);font-size:calc(52px*var(--ts));line-height:1;color:var(--acc)}
.rbig span{font-size:calc(19px*var(--ts));color:var(--ink2)}
.keyswhat{margin-top:12px}
.keyswhat summary{display:flex;gap:14px;align-items:center;cursor:pointer;list-style:none}
.keyswhat summary::-webkit-details-marker{display:none}
.keyswhat summary::after{content:"+";margin-left:auto;font-size:28px;color:var(--acc);transition:transform .3s}
.keyswhat[open] summary::after{transform:rotate(45deg)}
.kwic{flex:0 0 auto;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--acc);color:var(--accInk)}
.kwic .ic{width:26px;height:26px}
.kwrows{display:grid;gap:14px;margin-top:16px}
@media (min-width:980px){.kwrows{grid-template-columns:repeat(3,1fr)}}
.kwr{display:flex;gap:12px;align-items:flex-start}
.kwr p{margin:4px 0 0;font-size:calc(19px*var(--ts));line-height:1.45;color:var(--ink2)}
.kwi{flex:0 0 auto;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line);color:var(--acc)}
.kwi .ic{width:20px;height:20px}
.seg button .ic{width:18px;height:18px;vertical-align:-3px}

/* ---------- v34 Celeste: a photo for every step, fading from one to the next; Leave quickly never covers her buttons ---------- */
.talk .tbg{opacity:0;transition:opacity .9s ease;background-size:cover;background-position:center 22%}
.talk .tbg.on{opacity:1}
@media (prefers-reduced-motion:reduce){.talk .tbg{transition:none}}
.talk .stage{padding-bottom:calc(84px + env(safe-area-inset-bottom))}
@media (min-width:980px){.talk .stage{padding-bottom:calc(90px + env(safe-area-inset-bottom))}}
body:has(.talk) #quickexit{bottom:calc(14px + env(safe-area-inset-bottom))}

/* ---------- v35 front door: her line under her name ---------- */
.title h1 .s2{margin-top:2px}
@media (min-width:980px){.title h1 .l{margin-bottom:6px}.title h1 .s2{margin-bottom:22px}}
.title h1 .s2{margin-bottom:14px}

/* ---------- v35 Celeste: her photo and a tagline beside the conversation ---------- */
.talk.talk2{display:flex;flex-direction:column;justify-content:flex-start;min-height:100svh;background:var(--bg)}
.talk2 .tframe{position:relative;width:100%;height:min(46svh,120vw);overflow:hidden;flex:0 0 auto}
.talk2 .tframe .bgimg{position:absolute;inset:0}
.talk2 .tshade{position:absolute;inset:0;pointer-events:none}
html[data-theme=maison] .talk2 .tshade{background:linear-gradient(180deg,rgba(18,10,13,.25) 0%,rgba(18,10,13,0) 30%,rgba(18,10,13,0) 52%,rgba(18,10,13,.75) 84%,var(--bg) 100%)}
html[data-theme=doll] .talk2 .tshade{background:linear-gradient(180deg,rgba(255,227,240,.2) 0%,rgba(255,227,240,0) 30%,rgba(255,227,240,0) 52%,rgba(255,227,240,.8) 84%,var(--bg) 100%)}
.talk2 .ttag{position:absolute;left:20px;right:20px;bottom:18px;margin:0;font-family:var(--h);font-style:italic;font-weight:500;font-size:calc(30px*var(--ts));line-height:1.15;color:var(--ink);text-shadow:0 2px 18px rgba(0,0,0,.55);opacity:0;transform:translateY(8px);transition:opacity .6s ease,transform .6s ease}
html[data-theme=doll] .talk2 .ttag{color:var(--acc);text-shadow:0 2px 14px rgba(255,255,255,.7)}
.talk2 .ttag.on{opacity:1;transform:none}
.talk2 .stage{margin-top:-6px}
.talk2 .emblem{display:none}
@media (min-width:761px){
 .talk.talk2{display:grid;grid-template-columns:minmax(0,auto) minmax(0,560px);justify-content:center;align-items:center;column-gap:clamp(36px,5vw,80px);padding:40px 32px;background:radial-gradient(70% 60% at 30% 40%,color-mix(in srgb,var(--acc) 10%,transparent),transparent 70%),var(--bg)}
 .talk2 .tframe{height:min(calc(100svh - 120px),780px);width:auto;aspect-ratio:3/4;border-radius:28px;box-shadow:0 40px 90px -40px rgba(0,0,0,.75)}
 html[data-theme=doll] .talk2 .tframe{box-shadow:0 40px 90px -40px rgba(160,20,90,.45)}
 html[data-theme=maison] .talk2 .tshade{background:linear-gradient(180deg,rgba(18,10,13,0) 55%,rgba(18,10,13,.82) 100%)}
 html[data-theme=doll] .talk2 .tshade{background:linear-gradient(180deg,rgba(255,227,240,0) 55%,rgba(255,227,240,.85) 100%)}
 .talk2 .ttag{left:28px;right:28px;bottom:26px;font-size:calc(34px*var(--ts))}
 .talk2 .stage{margin:0;padding:0 0 calc(80px + env(safe-area-inset-bottom));max-width:560px}
 .talk2 .emblem{display:grid}
}
@media (min-width:761px) and (max-width:979px){.talk.talk2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.talk2 .tframe{width:100%;height:auto}}

/* ---------- v38 privacy details ---------- */
.privl{font-size:inherit;text-decoration:underline;text-underline-offset:3px;color:var(--acc);padding:0;min-height:0}
.doorpriv{margin:10px 0 0;font-size:calc(19px*var(--ts))}
.privacy h4{font-family:var(--h);font-weight:var(--hw);font-size:calc(24px*var(--ts));margin:18px 0 6px;color:var(--acc)}
.privacy p,.privacy li{font-size:calc(19px*var(--ts));line-height:1.5;margin:0 0 8px}
.privacy ul{margin:0 0 8px;padding-left:22px}
.modal .panel:has(.privacy){max-height:88svh;overflow:auto}
.sticons{display:flex;margin-top:12px;align-items:flex-start;gap:10px;font-size:calc(19px*var(--ts));line-height:1.45;cursor:pointer}
.sticons input{margin-top:4px;flex:0 0 auto}

/* ---------- v40 owner bar never covers the other bottom buttons ---------- */
#ownerbar{bottom:calc(12px + env(safe-area-inset-bottom));max-width:calc(100vw - 190px)}
body:has(#quickexit) #ownerbar{bottom:calc(68px + env(safe-area-inset-bottom))}

/* ---------- v41 visual calendar ---------- */
.datebtn{display:flex;align-items:center;gap:10px;width:100%;min-height:52px;padding:10px 16px;border-radius:14px;border:1px solid var(--line);background:var(--panel2);color:var(--ink);font:inherit;font-size:calc(19px*var(--ts));cursor:pointer;text-align:left}
.datebtn .ic{width:22px;height:22px;color:var(--acc);flex:0 0 auto}
.datebtn:hover,.datebtn:focus-visible{border-color:var(--acc)}
.dpick{min-width:min(330px,80vw)}
.dphead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.dphead b{font-family:var(--h);font-weight:var(--hw);font-size:calc(26px*var(--ts));text-transform:capitalize}
.dpnav{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:var(--panel2);color:var(--ink);display:grid;place-items:center;cursor:pointer}
.dpnav .ic{width:20px;height:20px}.dpnav[data-mv="-1"] .ic{transform:rotate(180deg)}
.dpnav:disabled{opacity:.3;cursor:default}
.dpgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}
.dpw{text-align:center;font-size:calc(15px*var(--ts));color:var(--ink2);text-transform:capitalize;padding:4px 0}
.dpd{aspect-ratio:1;min-height:40px;border-radius:12px;border:1px solid transparent;background:var(--panel2);color:var(--ink);font:inherit;font-size:calc(19px*var(--ts));cursor:pointer}
.dpd:hover:not(:disabled){border-color:var(--acc)}
.dpd.today{border-color:color-mix(in srgb,var(--acc) 60%,transparent)}
.dpd.sel{background:var(--acc);color:var(--accInk);font-weight:700}
.dpd:disabled{opacity:.28;cursor:default}
.dpd.busy{opacity:.55;text-decoration:line-through;background:repeating-linear-gradient(135deg,transparent 0 6px,color-mix(in srgb,var(--ink) 10%,transparent) 6px 8px)}
.dpkey{display:flex;align-items:center;gap:8px;margin:10px 0 0}
.dpk{display:inline-block;width:22px;height:22px;border-radius:6px;background:repeating-linear-gradient(135deg,var(--panel2) 0 6px,color-mix(in srgb,var(--ink) 18%,transparent) 6px 8px)}
/* v44: "Trans goddess" under her name, on the front door and in the main room */
.title h1 .tg{display:block;font-family:var(--b);font-weight:600;font-size:calc(19px*var(--ts));letter-spacing:.2em;text-transform:uppercase;color:var(--acc);margin:2px 0 12px;line-height:1.4}
.hubtag{margin:-4px 0 10px;font-family:var(--b);font-weight:600;font-size:calc(19px*var(--ts));letter-spacing:.2em;text-transform:uppercase;color:var(--acc);text-shadow:0 2px 18px rgba(0,0,0,.45)}
/* v46: keep the last links on the front door clear of the "Leave quickly" button */
.doorpriv{padding-bottom:84px}
@media (min-width:980px){.doorpriv{padding-bottom:0}}
/* v50: tablets. Upright iPad Pro: the framed photo never grows into the words */
@media (min-width:980px){.title .bgimg{height:min(calc(100svh - 150px),860px,calc(46vw * 4 / 3))!important}}
/* upright iPad: the words sit on a deeper shade so they stay readable over the photo */
@media (min-width:761px) and (max-width:979px){
 html[data-theme=maison] .title .veil{background:linear-gradient(180deg,rgba(18,10,13,.1) 0%,rgba(18,10,13,.3) 20%,rgba(18,10,13,.8) 36%,rgba(18,10,13,.93) 55%,#120a0d 100%)}
 html[data-theme=doll] .title .veil{background:linear-gradient(180deg,rgba(255,46,147,.06) 0%,rgba(255,227,240,.45) 20%,rgba(255,227,240,.88) 36%,#ffe3f0 60%)}
}
/* v51: the places line may take two lines on small phones instead of being cut */
.title .kicker{white-space:normal!important;text-wrap:balance;flex-wrap:wrap}
/* v59: Anita writes */
.article .artbody{max-width:720px}
.article .artbody p,.article .artbody li{font-size:calc(20px*var(--ts));line-height:1.7}
.article .artbody h3{font-family:var(--h);font-weight:var(--hw);font-size:calc(28px*var(--ts));margin:28px 0 8px;color:var(--acc)}
.article .artph{margin:14px 0 20px;border-radius:var(--r);overflow:hidden;aspect-ratio:16/9}
.artc{display:flex;flex-direction:column;gap:6px;text-align:left;cursor:pointer}
.artc b{font-family:var(--h);font-weight:var(--hw);font-size:calc(26px*var(--ts));line-height:1.2}
.artc span{font-size:calc(19px*var(--ts))}
.artc .cta{font-style:normal;color:var(--acc);font-weight:600}
