/* Pink Planner edition */
html.pk #h-title{font-family:var(--pk-script,'Pinyon Script'),cursive;font-style:var(--pk-fs,normal);font-weight:400;font-size:calc(2.35em * var(--pk-k,1));line-height:1.05;letter-spacing:0}
html.pk header .eyebrow{font-family:'Montserrat',system-ui,sans-serif;letter-spacing:.22em}
html.pk .btn{border-radius:999px}
html.pk #h-title:after{content:"";display:inline-block;width:.62em;height:.8em;margin-left:.12em;vertical-align:-.02em;background:url(../img/st/bow.webp) center/contain no-repeat;transform:rotate(12deg);filter:drop-shadow(0 2px 3px rgba(120,60,70,.18))}
html.pk main section:not(#s-settings) .card>h2{font-family:var(--pk-script,'Pinyon Script'),cursive;font-style:var(--pk-fs,normal);font-weight:400;font-size:calc(31px * var(--head-scale) * var(--pk-k,1));letter-spacing:0}
html.pk main section:not(#s-settings) .card>h2 .count{font-family:'Montserrat',system-ui,sans-serif;font-size:12.5px}

/* heart checkboxes */
html.pk .check{border:0;background:transparent;border-radius:0;box-shadow:none}
html.pk .check:before{content:"";width:24px;height:22px;background:var(--accentSoft);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 20.2S2.6 14.3 2.6 7.8C2.6 4.9 4.8 2.8 7.4 2.8c2 0 3.6 1.1 4.6 2.8 1-1.7 2.6-2.8 4.6-2.8 2.6 0 4.8 2.1 4.8 5 0 6.5-9.4 12.4-9.4 12.4z' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 20.2S2.6 14.3 2.6 7.8C2.6 4.9 4.8 2.8 7.4 2.8c2 0 3.6 1.1 4.6 2.8 1-1.7 2.6-2.8 4.6-2.8 2.6 0 4.8 2.1 4.8 5 0 6.5-9.4 12.4-9.4 12.4z' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
html.pk .check.on{background:transparent}
html.pk .check.on:before{background:var(--accent);-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 20.2S2.6 14.3 2.6 7.8C2.6 4.9 4.8 2.8 7.4 2.8c2 0 3.6 1.1 4.6 2.8 1-1.7 2.6-2.8 4.6-2.8 2.6 0 4.8 2.1 4.8 5 0 6.5-9.4 12.4-9.4 12.4z' fill='black' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 20.2S2.6 14.3 2.6 7.8C2.6 4.9 4.8 2.8 7.4 2.8c2 0 3.6 1.1 4.6 2.8 1-1.7 2.6-2.8 4.6-2.8 2.6 0 4.8 2.1 4.8 5 0 6.5-9.4 12.4-9.4 12.4z' fill='black' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E")}
html.pk .check.on:after{display:none}

/* stickers */
.pk-st{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-select:none;user-select:none}
html.pk .sbk.sbk-img{top:-20px;right:-6px;bottom:auto;z-index:2;width:50px;font-size:0;filter:drop-shadow(0 3px 4px rgba(120,60,70,.16))}
html.pk-ribbon .tl-day.pk-today{position:relative}
html.pk-ribbon .tl-day.pk-today:before{content:"";position:absolute;left:-6px;top:-14px;width:34px;height:44px;background:url(../img/st/bow.webp) center/contain no-repeat;transform:rotate(-14deg);z-index:3;pointer-events:none;filter:drop-shadow(0 2px 3px rgba(120,60,70,.2))}

/* petals */
.petal{position:fixed;top:-24px;width:15px;height:12px;z-index:9999;pointer-events:none;border-radius:80% 0 80% 0;background:radial-gradient(circle at 30% 30%,#FBD6DE,#E59AAE 70%,#C9707F);opacity:.92;animation:pkfall 3s linear forwards}
@keyframes pkfall{0%{transform:translate(0,0) rotate(0) scale(var(--s))}100%{transform:translate(var(--dx),112vh) rotate(var(--r)) scale(var(--s));opacity:.6}}
@media (prefers-reduced-motion:reduce){.petal{display:none}}

/* stamp book */
html.pk .ppt{background-color:#FFF8F7;box-shadow:inset 8px 0 14px -10px rgba(120,60,70,.3),0 6px 20px rgba(120,60,70,.08)}
html.pk .ppg{font-family:'Montserrat',sans-serif;letter-spacing:.24em}
.pk-wins{margin-top:14px;background:var(--card);border:1px solid var(--line);border-radius:18px;padding:14px 12px 10px}
.pk-wh{display:flex;align-items:baseline;justify-content:space-between;padding:0 4px 6px}
.pk-wh b{font-family:var(--pk-script,'Pinyon Script'),cursive;font-style:var(--pk-fs,normal);font-weight:400;font-size:calc(28px * var(--pk-k,1));color:var(--accentText)}
.pk-wh small{color:var(--muted);font-size:12.5px}
.pk-wg{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 6px}
.pk-w{cursor:pointer;padding:2px}
.pk-w svg{width:100%;height:auto;display:block}

/* settings › sticker packs */
.pk-step>span{font-size:13px}
.pk-packs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0 4px}
.pk-pack{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px;border-radius:16px;border:1.5px solid var(--line);background:var(--card);color:var(--ink);text-align:left;cursor:pointer;font:inherit;opacity:.6}
.pk-pack.on{border-color:var(--accent);background:var(--tint);opacity:1}
.pk-pk-im{display:flex;gap:4px;align-items:flex-end;height:38px;margin-bottom:4px}
.pk-pk-im img{width:auto;height:34px}
.pk-pack b{font-size:14px}
.pk-pack small{font-size:12px;color:var(--muted)}
.pk-tot{grid-column:1/-1;margin:2px 0 0}

/* illustrated icons in place of emojis */
img.pk-ic{display:inline-block;width:1.18em;height:1.18em;object-fit:contain;vertical-align:-.22em;margin:0 .04em;pointer-events:none;-webkit-user-select:none;user-select:none}
html.pk main .card>h2 img.pk-ic{width:28px;height:28px;vertical-align:-4px;margin-right:2px}

/* cover stickers on the trip header */
header.wrap{position:relative}
#pk-cover{position:absolute;right:12px;bottom:10px;width:150px;height:96px;pointer-events:none;z-index:3}
#pk-cover .pk-st{position:absolute;width:auto;filter:drop-shadow(0 3px 5px rgba(90,40,50,.22))}
#pk-cover .pc0{height:88px;right:58px;bottom:0;transform:rotate(-6deg)}
#pk-cover .pc1{height:54px;right:0;bottom:2px;transform:rotate(9deg)}
#pk-cover .pc2{height:40px;right:2px;bottom:58px;transform:rotate(14deg)}
@media (min-width:1000px){#pk-cover{right:24px;bottom:16px;transform:scale(1.2);transform-origin:right bottom}}
.pk-cov-row{display:flex;gap:8px;margin:8px 0}
.pk-slot{flex:1;aspect-ratio:1;max-height:92px;border-radius:16px;border:1.5px dashed var(--accentSoft);background:var(--card);display:grid;place-items:center;padding:8px;cursor:pointer}
.pk-slot .pk-st{width:auto;max-width:100%;max-height:64px}
.pk-plus{font-size:22px;color:var(--accentText)}
.pk-cov-seg{margin-bottom:6px}
.pk-pick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:6px 0 12px;max-height:56vh;overflow:auto}
.pk-pick button{aspect-ratio:1;border-radius:14px;border:1.5px solid var(--line);background:var(--card);padding:8px;display:grid;place-items:center;cursor:pointer}
.pk-pick button.on{border-color:var(--accent);background:var(--tint)}
.pk-pick .pk-st{width:auto;max-width:100%;max-height:60px}
/* title font choice */
.pk-fl{margin-top:12px}
.pk-fonts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:6px 0 4px}
.pk-font{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 2px 7px;border-radius:14px;border:1.5px solid var(--line);background:var(--card);color:var(--ink);cursor:pointer;font:inherit}
.pk-font span{line-height:1.25;color:var(--accentText);white-space:nowrap}
.pk-font small{font-size:11px;color:var(--muted)}
.pk-font.on{border-color:var(--accent);background:var(--tint)}
html.pk #emobg{opacity:.5}
/* no cover photo: keep the sticker cluster clear of the text */
html.pk header.wrap.pk-hascov:not(.has-cover){padding-right:128px;min-height:176px}
html.pk header.wrap:not(.has-cover) #pk-cover{bottom:12px;right:10px;transform:scale(.88);transform-origin:right bottom}
img.pk-pst{width:1.5em;height:1.5em;object-fit:contain;vertical-align:middle;filter:drop-shadow(0 1px 2px rgba(90,40,50,.15))}
.egrid img.pk-pst{width:34px;height:34px}
.sbtn img.pk-pst{width:30px;height:30px}
/* map pin numbers: the approximate pin shares the ".ap" class with the Look preset cards */
.pno.ap{display:inline-flex;flex-direction:row;gap:0;padding:0 4px;border-radius:50%;min-width:20px;height:20px;text-align:center;cursor:inherit;font-size:11px;font-weight:700;line-height:1}
/* day sticker sits beside the day header, never on top of the pills and buttons */
html.pk #l-plan .tl-day:has(>.sbk-img)>.tl-head{padding-right:60px}
html.pk .sbk.sbk-img{top:-14px;right:-8px;width:52px;height:60px;display:flex;align-items:flex-start;justify-content:center}
html.pk .sbk.sbk-img .pk-st{width:auto;height:auto;max-width:52px;max-height:60px}
.maplegend i.ap{display:inline-block;flex-direction:row;gap:0;padding:0;border-radius:50%;width:8px;height:8px;min-width:0;cursor:default}
/* today bow sits just outside the DAY badge so it never touches the letters */
html.pk-ribbon .tl-day.pk-today:before{left:-16px;top:-26px;width:30px;height:38px}
@media(min-width:1000px){html.pk nav:before{content:"My Pink Planner"}}
/* long look names (Prima Ballerina, Butterfly Kisses) wrap instead of being cut */
html.pk .ap b,html.pk .lk-st b,html.pk .sa b{white-space:normal;line-height:1.15;overflow:visible;text-overflow:clip}
li.pk-settle{display:flex;align-items:center;gap:10px}
li.pk-settle.done{opacity:.55}li.pk-settle.done .txt{text-decoration:line-through}
.pk-settle-tip{margin:6px 0 0;font-size:13px}
