/* Calendar first: a bright gift shelf and one focused action column. */
body.home-page,body.calendar-page{background:#052d25}body:before{background-image:linear-gradient(#032d2588,#032d25ed 74%),url('/art/emerald-christmas-background.webp');height:1100px;min-height:0;background-position:center top;background-size:100% auto}
/* Phones take a 640w crop (72KB) instead of the full backdrop (260KB); desktop keeps the sharp original. */
@media(max-width:700px){body:before{background-image:linear-gradient(#032d2588,#032d25ed 74%),url('/art/emerald-christmas-640w.webp')}}
.topbar{width:min(1180px,calc(100% - 48px));height:70px;padding:0 6px;background:transparent;backdrop-filter:none;border-radius:0}.brand{font-size:23px}.top-nav{display:flex;align-items:center;gap:26px;color:#f7e4b3;font-size:12px;font-weight:600}.top-nav a:hover,.top-nav button:hover{color:#fff1ce}.top-nav button{border:0;background:none;color:inherit;font:inherit;padding:0}.top-nav button span{color:#f4ca72}.fairy-lights{height:28px;position:relative;display:flex;justify-content:space-around;align-items:flex-start;border-top:2px solid #203f2a;border-radius:0 0 45% 45%;margin:0 -3px 0;pointer-events:none;overflow:hidden}.fairy-lights i{display:block;width:9px;height:15px;border-radius:50% 50% 45% 45%;background:#f6c65e;box-shadow:0 2px 10px #f8c86488;transform:translateY(3px)}.fairy-lights i:nth-child(4n+1){background:#e56268;box-shadow:0 2px 10px #ed5d6188;transform:translateY(0)}.fairy-lights i:nth-child(4n+2){background:#65b994;box-shadow:0 2px 10px #71d49e88;transform:translateY(6px)}.fairy-lights i:nth-child(4n+3){background:#77a4df;box-shadow:0 2px 10px #77a4df88;transform:translateY(2px)}.page-shell{width:min(1140px,calc(100% - 48px))}.festive-workspace{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px 28px;padding-top:25px;align-items:start}.calendar-main{min-width:0}.board-heading{min-height:86px;padding:0 0 15px}.board-heading .eyebrow{font-size:var(--fs-eyebrow);margin:0 0 6px;color:#efd188}.board-heading h1{font:700 clamp(27px,2.8vw,36px)/1.13 var(--serif);color:#fff1d0;letter-spacing:-.6px;margin:0 0 7px;overflow-wrap:anywhere}.board-heading>p:last-child{color:#e4ce94;font-size:12px;margin:0;line-height:1.5}.gift-board,.doors-panel.gift-board{position:relative;padding:13px 14px 10px;border:8px solid #aa793d;border-radius:15px;background:radial-gradient(circle at 50% 20%,#c3444c,#831f30 70%);box-shadow:inset 0 0 0 3px #e3b56b,inset 0 0 35px #3e0b1580,0 3px 0 #583a1b,0 12px 28px #001b1766}.gift-board:before{content:'';position:absolute;inset:4px;border:1px solid #e8bc7866;border-radius:5px;pointer-events:none;background-image:radial-gradient(#f2ce9b24 .7px,transparent .7px);background-size:5px 5px}.gift-board.theme-snowy,.theme-snowy .gift-board{background:radial-gradient(circle at top,#426488,#203950 80%)}.gift-board.theme-candy,.theme-candy .gift-board{background:radial-gradient(circle at top,#bf6370,#8b2f4b 80%)}/* Guest-only instruction, first child of the panel. It sits on the brightest stop of the red
   radial gradient (#c3444c), where cream text measured 2.59:1. The dark strip restores
   contrast at every point of the gradient (measured after render, see docs/reviews). */
.board-instruction{position:relative;margin:0 2px 9px;padding:7px 11px;border-radius:5px;background:rgba(0,20,14,.55);color:#f7eccd;font-size:13px;line-height:1.45;text-align:center}
.gift-board .door-grid{position:relative;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px 5px}.gift-board .festive-gift{position:relative;aspect-ratio:1/1.03;min-height:0;background:none!important;border:0!important;border-radius:8px;box-shadow:none!important;overflow:visible;padding:0;display:block;filter:none!important;isolation:isolate}.gift-board .festive-gift:before{display:none}.gift-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 3px #3c0c2380);transition:transform .2s,filter .2s;user-select:none;pointer-events:none}.gift-board .festive-gift:hover{transform:translateY(-3px);box-shadow:none}.festive-gift:hover .gift-art,.festive-gift:focus-visible .gift-art{transform:rotate(-3deg) scale(1.07);filter:drop-shadow(0 7px 5px #3c0c23aa) brightness(1.08)}.gift-tag{position:absolute;left:50%;top:63%;transform:translate(-50%,-50%) rotate(-9deg);min-width:35px;background:linear-gradient(135deg,#fff9df,#f4e1b4);border:1px solid #d5b780;border-radius:3px;padding:1px 8px 3px;color:#8d2636;font:700 23px/1.05 var(--serif);box-shadow:1px 2px 3px #43211055;pointer-events:none}.gift-tag:before{content:'';position:absolute;width:3px;height:3px;background:#bb915a;border-radius:50%;top:50%;left:3px}.gift-tag small{display:none}.gift-note-seal{position:absolute;right:1px;bottom:14%;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#faf0d6;border:2px solid #eac575;font-size:12px;box-shadow:0 2px 5px #41151966}.festive-gift.has-note .gift-art{filter:drop-shadow(0 3px 5px #ffdf8150)}.festive-gift.is-opened .gift-art{filter:drop-shadow(0 0 6px #ffe5a3aa) brightness(1.12)}.festive-gift.is-opened .gift-note-seal{background:#d8e5c5;color:#28663e}.board-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:13px 3px 0;color:#d3c5a0;font-size:var(--fs-body-s)}.board-caption>span{color:#efc46c;font-size:16px}.operation-sidebar{display:flex;flex-direction:column;gap:16px;padding-top:0;min-width:0}.create-panel{background:linear-gradient(145deg,#fffaf0,#f4ead6);color:#334539;border:1px solid #f4dfae;border-bottom:3px solid #cfb98d;border-radius:16px;padding:23px 21px 18px;box-shadow:0 16px 40px #00181160}.sidebar-heading{display:flex;gap:7px;align-items:center;color:#9b663c;font-size:var(--fs-label);font-weight:700;letter-spacing:.1em}.tiny-star{color:#c49345;font-size:15px}.create-panel h2{font:700 28px/1.2 var(--serif);color:#253f31;margin:8px 0 9px;letter-spacing:-.5px}.sidebar-intro{font-size:12px;line-height:1.65;color:#6e725f;margin:0 0 16px}.create-panel .field-label{color:#4b5542;font-size:var(--fs-label);display:block;margin-bottom:7px}.create-panel .field-label>span{color:#95917d;font-weight:400;margin-left:4px;font-size:var(--fs-label)}.create-panel .text-input{background:#fffdf6;border:1px solid #deceb1;height:43px;font-size:13px;padding:10px 11px}.theme-label{margin-top:17px}.compact-themes{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}.compact-themes .theme-choice,.compact-themes .theme-choice.selected{padding:9px 5px;min-height:72px;align-items:center;justify-content:center;gap:3px;background:#fffaf0;border:1px solid #dfcfb1;box-shadow:none}.compact-themes .theme-choice.selected{border:2px solid #c94b55;background:#fff5e8;padding:8px 4px}.compact-themes .theme-emoji{font-size:21px;margin:0}.compact-themes .theme-choice strong{font:700 var(--fs-label) var(--sans);color:#42523e;white-space:nowrap}.compact-themes .theme-check{width:12px;height:12px;font-size:8px;line-height:12px;right:3px;top:3px;background:#c2444c}.create-panel .recovery-details{background:transparent;border:0;margin:13px 0 14px;padding:0}.create-panel .recovery-details summary{font-size:var(--fs-label);font-weight:500;color:#847257}.create-panel .recovery-details summary span{font-size:var(--fs-label);color:#97907b}.create-panel .recovery-details>small{font-size:var(--fs-label);color:#857a61}.create-panel .button-primary{background:linear-gradient(#f06472,#d6374a);border:1px solid #bb2f41;color:#fff7e7;border-bottom:4px solid #a32637;box-shadow:inset 0 1px #ffacaf,0 4px 12px #c83d4a22}.create-panel .button-primary:hover{background:linear-gradient(#ff7582,#df4052)}.create-panel .button-primary span{color:#ffe6a8}.create-panel .button-wide{margin-top:8px;min-height:46px;font-size:12px;padding:0 10px;gap:9px}.create-panel .button-light{background:#fffbef;color:#3c5a40;border-color:#d5c5a4;box-shadow:none;min-height:39px;font-size:var(--fs-label)}.create-reassurance{text-align:center;font-size:var(--fs-body-s);color:#6f8363;margin:10px 0 0}.sidebar-privacy{font-size:var(--fs-body-s);line-height:1.6;color:#948b74;border-top:1px solid #dfd4bc;padding-top:11px;margin:14px 0 0;text-align:center}.boutique-card{display:flex;gap:15px;align-items:center;position:relative;overflow:hidden;min-height:169px;padding:19px 16px;background:linear-gradient(135deg,#193e30,#0b2e26);border:1px solid #c5a364;border-radius:13px;box-shadow:inset 0 0 0 3px #c9a55f15,0 10px 25px #001b1733}.boutique-art{width:72px;min-width:72px;height:90px;position:relative;background:url('/art/foil-170x180.webp') center/150px;border:1px solid #d1ae62;border-radius:5px;transform:rotate(-8deg);box-shadow:0 5px 12px #001912aa}.boutique-art:before{content:'';position:absolute;left:31px;top:0;bottom:0;width:10px;background:linear-gradient(90deg,#bc9444,#f3d493,#b78c3f)}.boutique-art>span{position:absolute;left:25px;top:33px;background:#b78c3c;color:#ffe9a9;border:1px solid #f2d28a;border-radius:50%;padding:0 4px}.boutique-copy{position:relative;flex:1;min-width:0}.boutique-copy .eyebrow{font-size:var(--fs-eyebrow);margin:0 0 5px;color:#c9ad73}.boutique-copy h3{font:600 18px/1.15 var(--serif);color:#f1dba3;margin:0 0 7px}.boutique-copy p{font-size:var(--fs-body-s);line-height:1.7;color:#cabc98;margin:0 0 8px}.boutique-button{display:flex;gap:10px;align-items:center;font-size:var(--fs-label);font-weight:700;padding:0;border:0;background:none;color:#f1d590;min-height:26px;text-align:left}.boutique-copy>small{display:block;color:#a7ad91;font-size:var(--fs-body-s);margin-top:3px}.firstfold-how{margin:26px 0 0;padding:20px}.mobile-create-link{display:none}.calendar-extras{grid-column:1/-1;display:grid;grid-template-columns:1.3fr 1fr;gap:22px;align-items:start;margin-top:12px}.calendar-extras>.town,.calendar-extras>.collection-panel{margin:0}.calendar-extras>.town:only-child{grid-column:1/-1;max-width:760px;width:100%;justify-self:center}.festive-workspace>.share-url{grid-column:1/-1;margin-top:0}.board-key{display:flex;flex-wrap:wrap;justify-content:center;gap:17px;font-size:var(--fs-label);color:#c5c5a5;margin-top:15px}.board-key>span{display:flex;align-items:center;gap:5px}.status-dot{width:6px;height:6px;border:1px solid #b4a271;border-radius:50%;display:inline-block}.filled-dot{background:#f4bd64;border-color:#f4bd64}.opened-dot{background:#8eb797;border-color:#8eb797}.sidebar-progress{margin:18px 0 12px;font-size:var(--fs-label);color:#7b8268}.sidebar-progress strong{font:700 20px var(--serif);color:#39523d}.sidebar-progress .progress-track{height:5px;background:#ddd5be;margin-top:7px}.ready-note{width:100%;padding:10px;border:1px solid #cfb978;background:#eee1b9;border-radius:6px;font-size:var(--fs-body-s);line-height:1.5;color:#735728;margin-top:12px;text-align:left}.ready-note span{font-weight:700;display:block}.sidebar-small-actions{border-top:1px solid #dfd4bc;padding-top:10px;margin-top:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px}.sidebar-small-actions .text-button{font-size:var(--fs-label);color:#807254;padding:0}.sidebar-small-actions .danger-text{color:#af5551}.sidebar-return{display:flex;flex-direction:column;align-items:center;gap:5px;color:#b7bd9f;font-size:var(--fs-label)}.sidebar-return .text-button{font-size:var(--fs-label);color:#efd393}.style-preview-notice{display:flex;justify-content:space-between;gap:8px;align-items:center;background:#193f31;border:1px solid #b49754;border-radius:6px;padding:9px;margin-top:10px;font-size:var(--fs-label);color:#e4d19b}.style-preview-notice .text-button{font-size:var(--fs-label);color:#edce8b}:is(.preview-velvet,.owned-gold) .gift-art{opacity:0}:is(.preview-velvet,.owned-gold) .festive-gift:before{display:block;content:'';position:absolute;inset:15% 10% 5%;width:auto;background:url('/art/foil-170x180.webp') center/170px;border:1px solid #c7a660;border-radius:4px;box-shadow:0 5px 8px #001b18}:is(.preview-velvet,.owned-gold) .festive-gift:after{content:'';position:absolute;left:45%;width:10%;top:13%;bottom:5%;background:linear-gradient(90deg,#b28c43,#f1d38a,#b08a40);z-index:0}:is(.preview-velvet,.owned-gold) .gift-tag{z-index:1}.boutique-preview-art{width:170px;height:180px;border:1px solid #d9b56a;border-radius:6px;background:url('/art/foil-250x250.webp') center/250px;box-shadow:0 10px 25px #00170f99;position:relative;margin:25px auto}.boutique-preview-art:before{content:'';position:absolute;left:75px;width:20px;inset-block:0;background:linear-gradient(90deg,#b98f3d,#f1d18a,#b98f3d)}.boutique-preview-art>span{position:absolute;left:65px;top:69px;padding:2px 7px;background:#a98239;color:#fff1bf;border-radius:50%;font-size:26px}.boutique-benefits{display:flex;flex-direction:column;gap:6px;color:#e8d5a6;font-size:var(--fs-label)}.boutique-disclosure{font-size:var(--fs-body-s);color:#bdb898;line-height:1.7;margin:18px 0 7px}.sample-gift-art{width:150px;height:150px;margin:10px auto}.sample-gift-art img{width:100%;height:100%;object-fit:contain}.sample-note{font:italic 19px/1.7 var(--serif);color:#ead39c;border-block:1px solid #bfa36755;padding:15px 0;margin:17px 0}.sample-note+.modal-subtitle{font-size:var(--fs-label)}.site-footer{margin-top:36px}.festive-gift:focus-visible{outline:3px solid #fff0af;outline-offset:0}
@media(max-width:950px) and (min-width:701px){.festive-workspace{grid-template-columns:minmax(0,1fr) 300px;gap:20px}.create-panel{padding:20px 16px}.board-heading h1{font-size:28px}.gift-board,.doors-panel.gift-board{padding:8px;border-width:6px}.gift-board .door-grid{gap:7px 2px}.gift-tag{font-size:18px;min-width:28px;padding:1px 5px 2px}.boutique-card{gap:10px;padding:16px 13px}.boutique-art{width:60px;min-width:60px;height:82px}.boutique-art:before{left:26px}.boutique-art>span{left:20px}.boutique-copy h3{font-size:17px}.gift-note-seal{width:18px;height:18px;font-size:10px}}
@media(max-width:700px){.topbar{height:60px;width:calc(100% - 28px);padding:0}.brand{font-size:19px}.top-nav{gap:12px;font-size:var(--fs-label)}.top-nav>a:first-child{display:none}.fairy-lights{height:22px}.fairy-lights i{width:7px;height:11px}.fairy-lights i:nth-child(2n){display:none}.page-shell{width:calc(100% - 26px)}.festive-workspace{grid-template-columns:1fr;padding-top:16px;gap:19px}.board-heading{min-height:0;padding-bottom:13px}.board-heading .eyebrow{font-size:var(--fs-eyebrow);margin-bottom:5px}.board-heading h1{font-size:27px;line-height:1.15;margin-bottom:6px}.board-heading>p:last-child{font-size:var(--fs-body-s);line-height:1.6;max-width:330px}.gift-board,.doors-panel.gift-board{padding:8px 5px 7px;border-width:5px;border-radius:10px}.gift-board .door-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px 1px}.gift-board .festive-gift{aspect-ratio:1/1.13;min-height:44px}.gift-tag{font-size:16px;min-width:22px;padding:1px 4px 2px;top:67%;border-radius:2px}.gift-tag:before{width:2px;height:2px;left:2px}.gift-note-seal{width:14px;height:14px;font-size:8px;right:0;bottom:12%;border-width:1px}.board-caption{font-size:var(--fs-body-s);line-height:1.6;margin-top:10px;display:block}.board-caption>span{display:none}.mobile-create-link{display:flex;min-height:40px;margin-top:12px;font-size:12px}.operation-sidebar{gap:14px}.create-panel{padding:22px}.create-panel h2{font-size:28px}.compact-themes .theme-choice{min-height:68px}.compact-themes .theme-choice strong{font-size:var(--fs-label)}.create-panel .field-label{font-size:var(--fs-label)}.create-panel .recovery-details summary{font-size:var(--fs-label)}.create-panel .button-wide{font-size:13px}.create-reassurance{font-size:var(--fs-body-s)}.sidebar-privacy{font-size:var(--fs-body-s)}.boutique-card{padding:20px 22px;gap:22px;min-height:160px}.boutique-copy .eyebrow{font-size:var(--fs-eyebrow)}.boutique-copy h3{font-size:22px}.boutique-copy p{font-size:var(--fs-body-s)}.boutique-button{font-size:var(--fs-label)}.boutique-copy>small{font-size:var(--fs-body-s)}.firstfold-how{margin-top:23px;padding:17px 9px}.calendar-extras{grid-column:auto;grid-template-columns:1fr;margin-top:4px;gap:18px}.festive-workspace>.share-url{grid-column:auto}.board-key{gap:12px;font-size:var(--fs-label);margin-top:13px}.sidebar-return{font-size:var(--fs-label)}.active-workspace .operation-sidebar{grid-row:2}.calendar-control-panel .sidebar-intro{font-size:13px}.sidebar-progress{margin:15px 0}.ready-note{font-size:var(--fs-body-s)}.sidebar-small-actions .text-button{font-size:var(--fs-label)}.calendar-control-panel .create-reassurance{font-size:var(--fs-body-s)}.style-preview-notice{font-size:var(--fs-label);flex-wrap:wrap}.style-preview-notice .text-button{font-size:var(--fs-label)}}
@media(max-width:359px){.top-nav>a{display:none}.board-heading h1{font-size:25px}.gift-board .door-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gift-board .festive-gift{aspect-ratio:1/.98}.gift-tag{font-size:18px}.gift-note-seal{width:18px;height:18px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.gift-art{transition:none}}
.fairy-lights{margin-inline:0}
/* The owner name is allowed to be 40 characters, and nowrap+ellipsis cut "Bartholomew
   Featherstonehaugh III's Christmas" to "Bartholomew Featherstoneh…" at every desktop width
   (780px of text in a 686px column at 1440). Two wrapped lines keep the name readable.
   min-height reserves exactly two lines (2 x 1.15) in the squeezed 701-950px band so the
   24-gift board does not jump between one-line and two-line names. */
@media(min-width:701px){.board-heading h1{white-space:normal;overflow:hidden;overflow-wrap:anywhere;text-overflow:clip;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}}
@media(min-width:701px) and (max-width:950px){.board-heading h1{min-height:2.3em}}
@media(max-width:700px){.board-heading h1{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}}
/* The short name and descriptive calendar name share the same gift mark. */
.topbar{gap:16px}.brand{min-width:0;flex-shrink:1}.brand-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
/* When the webfont is slow or blocked, the fallback face is ~30% wider and used to push the
   nav (the revenue entry) off-screen at 390px. The tagline may ellipsize; the nav may not. */
.brand-gift{flex-shrink:0}.brand-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.brand-name{font:700 23px/1.05 var(--serif);white-space:nowrap;letter-spacing:-.4px}.brand-description{font:500 var(--fs-label)/1.2 var(--sans);letter-spacing:.07em;color:#dfc98f}.top-nav{flex-shrink:0}.home-workspace .board-heading h1{display:block;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;font-size:clamp(26px,2.5vw,32px);line-height:1.15}.home-workspace .board-heading{min-height:86px}@media(max-width:950px){.brand-name{font-size:21px}}@media(max-width:700px){.brand{gap:8px}.brand-name{font-size:19px}.brand-description{font-size:var(--fs-label);letter-spacing:.03em}.brand-copy{gap:3px}.topbar{gap:12px}.home-workspace .board-heading h1{font-size:27px}.home-workspace .board-heading{min-height:0}}@media(max-width:359px){/* At 320px the wordmark, the nav and the 11px floor cannot share one row:
   188px brand + 126px nav > 292px bar. Wrapping keeps every label readable instead of
   dropping the boutique entry or shrinking text under the floor. */
.topbar{height:auto;flex-wrap:wrap;row-gap:7px;padding:9px 0}
.top-nav{margin-left:auto}
.brand-name{font-size:18px}.brand-description{font-size:var(--fs-label)}.top-nav{gap:10px}.home-workspace .board-heading h1{font-size:25px}}

/* ---------- door tone system ----------
   The five gift illustrations still cycle (24 doors keep their different shapes), but the colour
   is pulled back to two families so the grid reads as a designed wall instead of a jumble, and
   doors 6/12/18/24 are gold so the countdown has a visible destination. The tint is a masked
   colour layer rather than a filter: filters cannot hit a target hue reliably across five
   differently-lit source images, a colour-blended mask can. */
.gift-board .gift-blue{--tone-mask:url(/art/gifts/blue.webp)}
.gift-board .gift-green{--tone-mask:url(/art/gifts/green.webp)}
.gift-board .gift-gold{--tone-mask:url(/art/gifts/gold.webp)}
.gift-board .gift-plum{--tone-mask:url(/art/gifts/plum.webp)}
.gift-board .gift-cranberry{--tone-mask:url(/art/gifts/cranberry.webp)}
.gift-board .tone-cran{--tone:#a8343a}
.gift-board .tone-emer{--tone:#14493c}
.gift-board .gift-veil{display:none;position:absolute;inset:0;z-index:0;pointer-events:none;border-radius:8px}
.gift-board :is(.tone-cran,.tone-emer) .gift-veil{display:block;background-color:var(--tone);mix-blend-mode:color;-webkit-mask-image:var(--tone-mask);mask-image:var(--tone-mask);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}
.gift-board .tone-gold .gift-veil{display:block;border-radius:9px;box-shadow:inset 0 0 0 1.5px #d7ad62,inset 0 0 0 3.5px #0e3a2f,0 0 0 1px #d7ad6255,0 0 14px 1px #d7ad6259}
.gift-board .tone-gold .gift-art{filter:drop-shadow(0 0 5px #d7ad62aa) drop-shadow(0 5px 4px #3c0c23aa)}
.gift-board .tone-gold .gift-tag{background:linear-gradient(160deg,#f6dfa8,#d9b169);border-color:#b08c45;color:#5c2a18}
.gift-board .gift-note-seal{z-index:2}
/* Velvet & Gold replaces the artwork entirely, so the tint layer has nothing to tint. */
.gift-board:is(.preview-velvet,.owned-gold) .gift-veil{display:none}
