/* The stocking holds one folded sheet; its front cuff hides the lower paper. */
.stocking-paper-stack{left:34%;right:25%;top:7%;height:25%;perspective:none}
.stocking-sheet.stocking-sheet-front{transform:rotate(-2deg);transition:transform 280ms cubic-bezier(.2,.8,.25,1),filter 280ms ease;border-radius:2px;background-color:#fafbf9;background-image:linear-gradient(176deg,transparent 48%,#c9cbd24a 49%,#fff9 50%,transparent 52%),repeating-linear-gradient(transparent 0 18px,#94a9c737 18px 19px),linear-gradient(#ffffffcf,#ffffffcf),var(--cotton);background-size:auto,calc(100% - 18px) calc(100% - 14px),auto,350px;background-position:center,9px 7px,center,center;background-repeat:repeat,no-repeat,repeat,repeat;box-shadow:1px 3px 5px #0005;clip-path:polygon(0 0,89% 0,100% 9%,100% 100%,0 100%)}
.stocking.main .stocking-sheet-front{transform:rotate(2deg)}
.stocking.family .stocking-paper-stack{top:8.5%}.stocking.own .stocking-paper-stack{top:6%}
.stocking-mouth{position:absolute;left:28%;right:18%;top:19.5%;height:4%;z-index:3;border-radius:50%;background:#35424a;box-shadow:0 -2px 0 #d7d8d0,inset 0 3px 4px #0008;pointer-events:none}
.stocking-cuff{box-shadow:0 5px 6px #1423336b,inset 0 3px 1px #fff,inset 0 -4px 3px #b7b9b14d;clip-path:none;border-radius:5px 6px 7px 4px}
.stocking.is-opening{animation:none}.stocking.is-opening .stocking-sheet-front,.stocking:hover .stocking-sheet-front,.stocking.is-opening:hover .stocking-sheet-front{transform:rotate(-2deg)}
.stocking.main:hover .stocking-sheet-front{transform:rotate(2deg)}
/* A short paper peek invites a click without showing the recipient's name. */
.stocking{cursor:pointer}
.stocking:focus-visible .stocking-sheet.stocking-sheet-front{transform:translateY(-28px) rotate(-1deg);filter:brightness(1.025)}
.stocking.main:focus-visible .stocking-sheet.stocking-sheet-front{transform:translateY(-28px) rotate(1deg)}
@media(hover:hover) and (pointer:fine){
 .stocking:hover .stocking-sheet.stocking-sheet-front{transform:translateY(-28px) rotate(-1deg);filter:brightness(1.025)}
 .stocking.main:hover .stocking-sheet.stocking-sheet-front{transform:translateY(-28px) rotate(1deg)}
}
@media(prefers-reduced-motion:reduce){
 .stocking:focus-visible .stocking-sheet.stocking-sheet-front,.stocking:hover .stocking-sheet.stocking-sheet-front{transform:rotate(-2deg);filter:brightness(1.09);transition:none}
 .stocking.main:focus-visible .stocking-sheet.stocking-sheet-front,.stocking.main:hover .stocking-sheet.stocking-sheet-front{transform:rotate(2deg)}
}
.stocking.main{top:5px}.stocking.own{top:8px}
.mantel-shelf,.mantel-leg,.hearth{background-color:#d0d1c9;background-image:linear-gradient(#ffffff22,#ffffff22),var(--cotton);box-shadow:1px 5px 7px #0006,inset 0 2px 1px #ffffff70}
.hearth{height:35px;box-shadow:0 9px 10px #0006,inset 0 2px 1px #fff8,inset 0 -12px 0 #808e8b40}
.firebox{border-color:#b5b7ab88;opacity:.58}.firebox:after{border-color:#b5b7ab55}
.hearth-scraps{left:15%;right:auto;width:27%;bottom:7px;height:67px}
.hearth-paper{width:46%;height:48px;bottom:7px;background-size:auto,auto,250px}
.hearth-paper.paper-sage{left:2%;right:auto;transform:rotate(15deg)}
.hearth-paper.paper-blue{left:29%;right:auto;bottom:2px;transform:rotate(-14deg)}
.hearth-paper.paper-white{left:49%;right:auto;bottom:12px;background-color:#e5e5da;transform:rotate(30deg);width:31%;height:37px}
/* A single readable sheet. The stocking color only peeks out as backing paper. */
#gift-dialog{width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 48px);padding:0;border:0;border-radius:3px;background:transparent;box-shadow:none;overflow:auto;overscroll-behavior:contain;color:#243344}
#gift-dialog::backdrop{background:#07121dbd;backdrop-filter:blur(3px)}
.paper-dialog{--paper-edge:#bd9e61;min-height:0;padding:0 9px 11px 0;background:transparent;border-radius:2px;position:relative;isolation:isolate;box-shadow:none}
.paper-dialog.main{--paper-edge:#93abd0}.paper-dialog.goofy{--paper-edge:#a9626c}.paper-dialog.family{--paper-edge:#8eaa8d}
.paper-dialog:before{content:'';position:absolute;inset:8px 0 0 8px;background:var(--paper-edge) var(--cotton) center/400px;background-blend-mode:multiply;z-index:-1;border-radius:4px;box-shadow:0 6px 18px #0005}
.reading-sheet{position:relative;border-radius:3px 3px 1px 4px;background-color:#fcfcfa;background-image:linear-gradient(175deg,transparent 47%,#ccd0cb1a 49%,#fff9 50%,transparent 52%),linear-gradient(#ffffffdc,#ffffffdc),var(--cotton);background-size:auto,auto,500px;box-shadow:2px 3px 5px #1119;overflow:hidden}
.reading-sheet:after{content:'';position:absolute;right:0;bottom:0;width:22px;height:22px;background:linear-gradient(135deg,#e4e6e0 49%,#fafbf6 50%);clip-path:polygon(100% 0,100% 100%,0 100%);pointer-events:none}
.dialog-top{position:relative;top:auto;padding:17px 28px 10px;background:transparent!important;color:#43556a!important;border:0;font-size:12px;letter-spacing:.04em;box-shadow:none;z-index:2}
.dialog-top .close{font-size:27px;color:#43556a;background:transparent;min-width:44px;min-height:44px;margin:-8px -12px -8px 0}
.dialog-top>button:not(.close){font-size:14px;letter-spacing:0;color:inherit}
.reading-paper{margin:0;padding:14px 38px 30px;background:transparent!important;min-height:0;box-shadow:none;border-radius:0;color:#243344}
.reading-paper .handwritten-heading{display:flex;flex-direction:column;align-items:flex-start;gap:0;min-height:0;margin-bottom:14px}
.handwritten-heading .handwritten-name{height:60px;max-width:min(100%,285px)}
.list-title-tail{font:400 20px/1.3 var(--serif);margin-top:2px;color:#405063}
.reading-paper h2:not(.handwritten-heading){font-size:36px;margin-bottom:17px}
.letter-rule{height:1px;background:#91abc36b;margin:0 0 18px}
.list-dek,.empty-list{font:400 16px/1.55 var(--sans);margin:14px 0 20px;color:#435368}
.wish-list{margin:15px 0;padding:0}.wish-list>li{padding:15px 0;border-bottom:1px solid #90a8c146;gap:15px;align-items:center}
.wish-text{font-size:17px;line-height:1.5}.wish-text a{text-decoration-thickness:1px;text-underline-offset:4px}
.gift-check{font-size:12px;line-height:1.3;color:#566476;min-width:74px;gap:6px;max-width:110px}
.gift-check .gift-tick{width:21px;height:22px;border:1px solid #78889a66;background:transparent;box-shadow:none;border-radius:2px;transform:rotate(-3deg);font-size:20px}
.gift-check.is-marked .gift-tick{background:transparent;color:#43675b;border-color:#78889a66}
.wish-got .wish-text{color:#7b8589;text-decoration-color:#69777099;text-decoration-thickness:1px}
.reservation-note{font-size:12px;margin:13px 0 23px;color:#687584}
.sheet-notes{margin-top:26px;border-top:1px solid #90a8c15c;padding-top:5px}
.sheet-notes .private-note,.sheet-notes .thread{background:none;box-shadow:none;border:0;border-bottom:1px solid #90a8c146;padding:8px 0;margin:0;border-radius:0}
.private-note summary,.thread summary{font-size:16px;font-weight:500;color:#364c64;text-decoration:none;min-height:44px}
.thread summary:after{font-weight:400;font-size:20px}
.sheet-notes textarea,.sheet-notes input,.avoid-editor input{border:0;border-bottom:1px solid #99aabf;border-radius:0;background:#edf1f345;font-size:16px;color:#243344;padding:11px 8px;box-shadow:none}
.sheet-notes textarea{min-height:100px}.local-help{font-size:13px;line-height:1.5;color:#5b6b7c;margin:8px 0 14px}
.message-form{gap:10px}.message-form button{background:none;color:#3c526c;border:0;text-decoration:underline;font-size:13px;padding:8px 0}.message{background:#eef1f14a;border-radius:0}
.avoid-editor{margin-top:24px;padding:12px 0;border-top:1px solid #90a8c146}.avoid-editor summary{font-size:15px;color:#435368}
.add-item{font-size:16px;color:#3b546d;margin-top:14px}
.how-list{padding-left:25px;margin:25px 0}.how-list>li{padding:0 0 18px 8px;font-size:17px;line-height:1.5}.how-list>li::marker{color:#667e98;font-weight:600}.how-list p{font-size:16px;margin:6px 0 0}.how-list strong{font-weight:650}
.family-chooser button{padding:14px 0;border-bottom:1px solid #90a8c146}.family-chooser button>span:last-child{font-size:13px;color:#596b7b}
/* A loose handful of folded slips, resting inside the pot. */
.crockpot-slips{top:30%;gap:0;z-index:3;transition:opacity 150ms ease}
.crockpot-slip{margin-left:-8px}.crockpot-slip:first-child{margin-left:0}.crockpot-slip:nth-child(2){margin-top:3px;--slip-tilt:10deg}.crockpot-slip:nth-child(3){margin-top:-9px;--slip-tilt:-5deg}.crockpot-slip:nth-child(4){margin-top:10px;--slip-tilt:18deg}.crockpot-slip:nth-child(5){margin-top:-3px;--slip-tilt:8deg}
.crockpot-pot{z-index:4;pointer-events:none}.crockpot-rim{background:transparent;box-shadow:inset 0 -5px 3px #33262b;border-top-color:#c59b91;border-bottom-width:6px}.crockpot-body{top:10px}.crockpot-lifted{z-index:6}
.crockpot-slip>span,.crockpot-lifted,.crockpot-result{background-color:#fbfcf9;background-image:linear-gradient(173deg,transparent 46%,#bcc0ba45 48%,#fff 49%,transparent 52%),linear-gradient(#ffffffc9,#ffffffc9),var(--cotton);background-blend-mode:normal,normal,luminosity;position:relative}
.crockpot-slip>span{clip-path:polygon(0 2%,87% 0,100% 10%,98% 100%,2% 98%)}
.crockpot-lifted{position:absolute}.crockpot-lifted:after,.crockpot-result:after{content:'';position:absolute;right:0;top:0;width:13px;height:13px;background:linear-gradient(45deg,#d9ddd4 49%,transparent 50%)}
.crockpot-result.goofy{transform:rotate(-1.4deg)}.crockpot-result.main{transform:rotate(1deg)}
.crockpot-slips.choices-finished{opacity:0;pointer-events:none}.crockpot-scene[hidden]{display:none}
@media(max-width:650px){
 .stocking-hero{padding-bottom:20px}.stocking-hero .how-it-works{margin-top:8px;font-size:15px}
 .fireplace{padding:16px 0 40px;margin-bottom:10px}.fireplace-architecture{display:none}
 .dashboard-grid.stocking-row,.list-only-fireplace .stocking-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 0}
 .stocking{aspect-ratio:220/350}.stocking-cutout{height:100%;object-fit:contain}
 .stocking-hang,.stocking-row>.stocking:nth-child(n+3) .stocking-hang{top:-6px;height:29px;width:10px}
 .stocking-row>.stocking:nth-child(n+3):before{display:none}
 .stocking-paper-stack{top:8%;height:26%}.stocking-cuff{top:22%;height:16%}.stocking-mouth{top:21%;height:4%}
 .stocking.main,.stocking.own{top:3px}.stocking.family .stocking-paper-stack{top:9%}.stocking.own .stocking-paper-stack{top:7%}
 .hearth-scraps{left:9%;width:37%;height:38px;bottom:0}.hearth-paper{height:30px;bottom:2px}.hearth-paper.paper-white{height:24px;bottom:7px}
 #gift-dialog{width:calc(100% - 24px);max-height:calc(100dvh - 32px)}
 .paper-dialog{padding:0 6px 8px 0}.paper-dialog:before{inset:6px 0 0 6px}
 .dialog-top{padding:16px 21px 8px;font-size:11px}.reading-paper{padding:12px 24px 26px}
 .reading-paper .handwritten-heading{margin-bottom:13px}.handwritten-heading .handwritten-name{height:49px;max-width:100%}.list-title-tail{font-size:19px}
 .reading-paper h2:not(.handwritten-heading){font-size:32px}.list-dek,.empty-list{font-size:15px}
 .wish-list>li{gap:8px;flex-wrap:nowrap}.wish-text{font-size:16px;min-width:0;overflow-wrap:anywhere}.gift-check{min-width:54px;max-width:76px;font-size:11px;flex:none}.gift-check .gift-tick{flex-shrink:0;width:19px;height:20px}
 .sheet-notes{margin-top:20px}.message-form{flex-wrap:wrap}.message-form input{width:100%}.family-chooser button{gap:8px}.family-chooser button>span:last-child{font-size:11px}
 .how-list{padding-left:19px}.how-list>li{font-size:16px;padding-left:4px}.how-list p{font-size:15px}
 .crockpot-slips{top:28%}.crockpot-slip{height:70px;margin-left:-6px}.crockpot-scene{height:240px}
}
@media(prefers-reduced-motion:reduce){.crockpot-slips{transition:none}.stocking,.stocking-sheet{animation:none!important}}
.list-title-tail{letter-spacing:0}
.stocking-hang{height:145px}
@media(max-width:650px){.stocking-hang,.stocking-row>.stocking:nth-child(n+3) .stocking-hang{height:86px}}
@media(max-width:650px){.stocking{aspect-ratio:220/320}.stocking-hero{padding-top:24px;padding-bottom:15px}.stocking-hero p{margin-block:15px}.stocking-cuff{top:24%;height:16%}.stocking-mouth{top:23%}.stocking-paper-stack{top:10%}.stocking.family .stocking-paper-stack{top:11%}.stocking.own .stocking-paper-stack{top:9%}}
