@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');
:root{--paper:#f4f0e5;--ink:#233e35;--rust:#aa492e;--gold:#b48235}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif;position:relative}body:has(dialog[open]){overflow:hidden}header,main,footer{max-width:1240px;margin:auto;padding:30px 48px}header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #233e3526}.brand{font:600 32px 'Playfair Display',serif;color:inherit;text-decoration:none;display:flex;align-items:center;gap:18px}.brand span,.edition,.eyebrow,.meta,.calendar-heading span{font-size:10px;letter-spacing:2px;font-weight:700}.edition{letter-spacing:1px;font-weight:500}.sun{position:absolute;top:100px;left:-80px;width:270px;height:270px;border:1px solid #b4823520;border-radius:50%;z-index:-1;box-shadow:0 0 0 25px #b4823508,0 0 0 50px #b4823506}main{padding-top:65px}.intro{text-align:center}.eyebrow{color:var(--rust);margin-bottom:22px}h1{font:500 clamp(40px,5.5vw,70px)/1.1 'Playfair Display',Georgia,serif;letter-spacing:-2px;margin:0 0 24px}h1 em{font-weight:500;color:var(--rust)}.description{font-size:15px;line-height:1.8;color:#59665d}.meta{display:flex;justify-content:center;gap:28px;margin:28px 0 48px;letter-spacing:1px}.meta span+span{border-left:1px solid #233e3540;padding-left:28px}.calendar-wrap{background:#e9e3d5;border:1px solid #cfc5b1;padding:28px 32px 18px;box-shadow:0 20px 60px #233e350a;border-radius:3px}.calendar-heading{display:flex;align-items:center;justify-content:space-between}.calendar-heading h2{font:500 27px 'Playfair Display',serif;margin:0}.calendar-heading span{font-size:9px;color:#667568}.calendar-note{font-size:12px;margin:12px 0 22px;color:#58665c}.calendar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.door{position:relative;aspect-ratio:1.18;background:#c7baa1;border-radius:3px;perspective:800px;isolation:isolate}.door button{border:0;position:absolute;inset:0;width:100%;height:100%;padding:0;background:none;cursor:pointer;border-radius:3px;color:#f7efdc}.door button:focus-visible{outline:3px solid #aa492e;outline-offset:4px}.door-face{position:absolute;inset:0;background:var(--door);border:1px solid #ffffff36;box-shadow:inset 0 0 0 7px #ffffff0a,0 3px 7px #192e251c;transform-origin:left;transition:transform .65s cubic-bezier(.2,.8,.2,1);border-radius:3px;display:flex;align-items:center;justify-content:center;backface-visibility:hidden}.door-face:before{content:'';position:absolute;inset:11px;border:1px solid #eee4c33b;border-radius:70px 70px 1px 1px}.door-face:after{content:'';width:5px;height:5px;border-radius:50%;background:#dfb967;position:absolute;right:17px;top:55%;box-shadow:0 1px 2px #0005}.number{font:500 clamp(24px,3.4vw,42px) 'Playfair Display',serif}.ornament{position:absolute;top:20%;font-size:12px;opacity:.7}.door-label{position:absolute;bottom:17%;font-size:8px;letter-spacing:1.5px}.door:nth-child(4n+1){--door:#315747}.door:nth-child(4n+2){--door:#ac4e36}.door:nth-child(4n+3){--door:#b48948}.door:nth-child(4n){--door:#587164}.door:nth-child(25){--door:#8c382c}.door.today{outline:2px solid #b48235;outline-offset:4px}.door.locked .door-face{filter:saturate(.65)}.door.locked button{cursor:default}.door.opened .door-face{transform:rotateY(-105deg)}.inside{display:grid;place-content:center;position:absolute;inset:8px;background:#f4f0e5;color:#315747;text-align:center;font-size:10px;gap:8px}.inside strong{font-size:23px}.footnote{font-size:11px;line-height:1.6;text-align:center;color:#677164;margin:22px 0 0}.rules{text-align:center;padding:42px 0 10px}.rules h2{font:500 23px 'Playfair Display',serif}.rules p{font-size:12px;line-height:1.9;color:#637063}footer{border-top:1px solid #233e3526;display:flex;justify-content:space-between;font-size:9px;letter-spacing:1.5px;color:#637063}footer span{letter-spacing:0}dialog{width:min(620px,calc(100% - 28px));max-height:88dvh;overflow:auto;border:1px solid #c7baa1;border-radius:5px;padding:40px;background:var(--paper);color:var(--ink);box-shadow:0 20px 90px #0005}dialog::backdrop{background:#152c25b8;backdrop-filter:blur(5px)}.close{position:absolute;right:15px;top:9px;font-size:30px;border:0;background:none;color:inherit;cursor:pointer;min-width:42px;min-height:42px}dialog h2{font:500 31px 'Playfair Display',serif;margin:0 0 24px}#question{font-size:16px;line-height:1.75;white-space:pre-line}#question img{max-width:100%;max-height:300px;display:block;margin:20px auto;object-fit:contain}form{margin-top:28px}label{display:block;font-size:12px;font-weight:700;margin-bottom:9px}.answer-row{display:flex;gap:10px}input{min-width:0;width:100%;border:1px solid #a5ad9e;background:#fffdf5;padding:13px;font:16px 'DM Sans',sans-serif;border-radius:2px}.submit{background:#315747;color:#fff9e6;border:0;padding:13px 22px;white-space:nowrap;cursor:pointer;font:600 14px 'DM Sans',sans-serif}#feedback{min-height:25px;font-size:14px;font-weight:600}.back{border:0;background:none;color:#315747;text-decoration:underline;padding:10px 0;font-size:14px;cursor:pointer}.preview{background:#315747;color:#fff4db;padding:12px 18px;text-align:center;font-size:12px}.preview select{margin-left:10px;padding:5px;font:inherit}.success{color:#315747}.wrong{color:#a63f25}@media(max-width:650px){header,main,footer{padding-left:20px;padding-right:20px}header{padding-top:20px;padding-bottom:20px}.edition{display:none}main{padding-top:42px}.calendar-wrap{padding:20px 14px}.calendar{gap:9px}.calendar-heading span{display:none}.door{aspect-ratio:.8}.door-face:before{inset:5px}.door-face:after{right:7px;width:4px;height:4px}.door-label{font-size:6px;letter-spacing:.5px}.ornament{font-size:9px;top:16%}.number{font-size:26px}.meta{font-size:8px;gap:16px}.meta span+span{padding-left:16px}dialog{padding:35px 23px}.answer-row{flex-wrap:wrap}.submit{width:100%}footer{gap:20px;line-height:1.6}.brand span{font-size:8px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}

/* Host preparation layer. Never shown on the normal player calendar. */
.host-door-answer{position:absolute;z-index:2;top:8px;left:8px;right:8px;display:flex;justify-content:center;gap:3px;padding:5px 7px;background:#fffaf0ee;color:#b52e2b;font-size:12px;font-weight:700;line-height:1.35;overflow-wrap:anywhere;border-radius:2px;pointer-events:none}
.host-inline-answer{color:#b52e2b;font-size:14px;letter-spacing:0;text-transform:none;font-weight:700}
.preparation-rail{position:fixed;right:8px;top:50%;transform:translateY(-50%);z-index:10;display:flex;flex-direction:column;align-items:center;width:42px;max-height:calc(100dvh - 24px);overflow:auto;scrollbar-width:thin;gap:1px;padding:8px 0;border-left:1px solid #b52e2b22;background:#f4f0e5e8}
.preparation-rail[hidden]{display:none}.preparation-label{font-size:8px;letter-spacing:1px;color:#b52e2b;margin-bottom:7px}
.preparation-rail button{border:0;background:none;color:#b52e2b99;font:500 13px/1.25 'DM Sans',sans-serif;min-height:20px;width:32px;flex-shrink:0;padding:2px;cursor:pointer}
.preparation-rail button.is-ready{color:#b52e2b33;text-decoration:line-through}
.preparation-rail button:focus-visible{outline:2px solid #b52e2b;outline-offset:-2px}.preparation-rail button:hover{color:#b52e2b}
.mark-ready{display:block;border:1px solid #b52e2b66;border-radius:2px;background:transparent;color:#b52e2b;padding:10px 14px;margin:12px 0 10px;font:600 13px 'DM Sans',sans-serif;cursor:pointer}
.mark-ready[aria-pressed="true"]{background:#b52e2b0b}.host-review .meta #progress{display:none}
@media(max-width:1300px){body.has-preparation-rail>header,body.has-preparation-rail>main,body.has-preparation-rail>footer{margin-right:52px}}
@media(max-width:650px){.host-door-answer{font-size:9px;top:4px;left:3px;right:3px;padding:3px;flex-wrap:wrap;gap:0}.host-review .door{min-height:110px}.host-review .door .ornament{display:none}.host-review .door .number{margin-top:24px;font-size:24px}.host-review .door .door-label{bottom:10%}.has-preparation-rail .calendar-wrap{padding-left:8px;padding-right:8px}.has-preparation-rail .calendar{gap:6px}.preparation-rail{right:3px;width:38px}}

/* One welcome visit, then a calendar that fits the available viewport. */
[hidden]{display:none!important}
html{height:100%;overflow:hidden}
body.fixed-calendar{height:100svh;height:100dvh;min-height:0;overflow:hidden;display:flex;flex-direction:column}
.fixed-calendar>header,.fixed-calendar>footer{width:100%;flex:none;padding:14px 32px;max-width:1240px}
.fixed-calendar>header{min-height:54px}.fixed-calendar>header .brand{font-size:26px}
.fixed-calendar>footer{padding-top:10px;padding-bottom:10px}
.fixed-calendar>main{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;padding:16px 32px;max-width:1240px;overflow:hidden}
.welcome-screen{flex:1;min-height:0;display:grid;place-items:center;overflow:auto;padding:12px}
.welcome-screen .intro{max-width:680px}
.welcome-screen .eyebrow{margin:0 0 20px}
.welcome-screen h1{font-size:clamp(36px,6.4vh,70px);margin:0 0 20px}
.welcome-screen .description{margin:0;line-height:1.7}
.welcome-dates{font-size:10px;letter-spacing:2px;font-weight:700;margin:24px 0 0}
.welcome-screen .rules{padding:12px 0 16px}
.welcome-screen .rules h2{font-size:20px;margin:10px 0}.welcome-screen .rules p{margin:0}
.welcome-enter{min-height:46px;padding:14px 26px}
.fixed-calendar .calendar-wrap{width:100%;flex:1;min-height:0;display:flex;flex-direction:column;padding:18px 22px 10px}
.fixed-calendar .calendar-heading{flex:none;min-height:32px;gap:12px}
.fixed-calendar .calendar-heading h2{font-size:26px}.fixed-calendar .calendar-heading span{white-space:nowrap}
.fixed-calendar .calendar-note{flex:none;line-height:1.4;margin:6px 0 12px}
.fixed-calendar .calendar{flex:1;min-height:0;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));gap:clamp(6px,1.3vh,14px)}
.fixed-calendar .door,.fixed-calendar.host-review .door{aspect-ratio:auto;min-height:0;min-width:0}
.fixed-calendar .door .number{font-size:clamp(22px,4vh,40px);margin:0}
.fixed-calendar .door .ornament{top:14%;font-size:10px}.fixed-calendar .door .door-label{bottom:12%;font-size:8px}
.fixed-calendar .door-face:before{inset:7px}.fixed-calendar .door-face:after{right:12px}
.fixed-calendar .inside{inset:5px;font-size:8px;gap:3px}.fixed-calendar .inside strong{font-size:22px}
.fixed-calendar .footnote{flex:none;margin:10px 0 0;font-size:10px}
.fixed-calendar>.preview{flex:none;padding:7px 12px;line-height:1.2}
.fixed-calendar>.preview select{padding:3px;font-size:11px}
.fixed-calendar>.preview label{font-size:11px;margin:0}
.fixed-calendar .preparation-rail{top:8px;bottom:8px;transform:none;max-height:none;overflow:hidden;gap:0;justify-content:space-between}
.fixed-calendar .preparation-rail button{min-height:0;flex:1;max-height:25px;line-height:1;padding:0;font-size:12px}
.fixed-calendar .preparation-label{flex:none;margin-bottom:4px}
.fixed-calendar:not(.calendar-visible)>.preparation-rail{display:none}
.fixed-calendar.has-preparation-rail>header,.fixed-calendar.has-preparation-rail>main,.fixed-calendar.has-preparation-rail>footer{width:calc(100% - 52px);margin-right:52px}
.fixed-calendar .host-door-answer{font-size:clamp(9px,1.45vh,12px);padding:3px 5px;top:5px;left:5px;right:5px}
.fixed-calendar.host-review .door .number{padding-top:18px}
.fixed-calendar.host-review .door .ornament{display:none}
.fixed-calendar.host-review .calendar-heading #progress{display:none}
@media(max-width:650px){
 .fixed-calendar>header,.fixed-calendar>footer{padding-left:14px;padding-right:14px}
 .fixed-calendar>header{min-height:48px;padding-top:9px;padding-bottom:9px}
 .fixed-calendar>main{padding:8px 10px}
 .fixed-calendar .calendar-wrap{padding:12px 9px 8px}
 .fixed-calendar .calendar-heading h2{font-size:23px}
 .fixed-calendar .calendar-heading span{display:inline;font-size:9px;letter-spacing:.5px}
 .fixed-calendar .calendar-note{font-size:10px;margin-bottom:9px}
 .fixed-calendar .calendar{gap:6px}
 .fixed-calendar .door-face:before{inset:4px}.fixed-calendar .door-face:after{right:6px}
 .fixed-calendar .door .door-label{font-size:6px;letter-spacing:.5px}
 .fixed-calendar .door .number{font-size:26px}
 .fixed-calendar .door .ornament{font-size:8px}
 .fixed-calendar .host-door-answer{font-size:9px;line-height:1.2;padding:2px;top:3px;left:2px;right:2px}
 .fixed-calendar.host-review .door .number{font-size:23px;padding-top:26px}
 .fixed-calendar .footnote{font-size:8px;margin-top:8px}
 .fixed-calendar>footer{font-size:8px;padding-top:7px;padding-bottom:7px}
 .fixed-calendar .welcome-screen{padding:8px}
 .welcome-screen .eyebrow{font-size:9px}.welcome-screen .rules p{font-size:11px}
}
@media(max-height:500px) and (min-width:500px){
 .fixed-calendar>header{min-height:34px;padding-top:5px;padding-bottom:5px}
 .fixed-calendar>header .brand{font-size:21px}
 .fixed-calendar>main{padding:6px 14px}
 .fixed-calendar>footer{padding-top:4px;padding-bottom:4px;font-size:8px}
 .fixed-calendar .calendar-wrap{padding:8px 10px 5px}
 .fixed-calendar .calendar-heading{min-height:22px}
 .fixed-calendar .calendar-heading h2{font-size:21px}
 .fixed-calendar .calendar-note{font-size:9px;margin:2px 0 6px}
 .fixed-calendar .calendar{grid-template-columns:repeat(9,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));gap:6px}
 .fixed-calendar .door .number{font-size:24px}
 .fixed-calendar .door .ornament{display:none}
 .fixed-calendar .door .door-label{font-size:6px;bottom:7%}
 .fixed-calendar .footnote{font-size:8px;margin-top:5px}
 .fixed-calendar .host-door-answer{font-size:8px;top:2px;padding:1px;line-height:1.1}
 .fixed-calendar.host-review .door .number{font-size:20px;padding-top:18px}
 .fixed-calendar>.preview{padding:4px 8px}
 .fixed-calendar .preparation-rail button{font-size:9px}
 .fixed-calendar .preparation-label{font-size:6px}
 .welcome-screen .intro{display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;align-items:center;max-width:700px}
 .welcome-screen .eyebrow{grid-column:1/-1;margin:0}
 .welcome-screen h1{font-size:36px;grid-row:2/5;margin:0}
 .welcome-screen .description{font-size:12px}
 .welcome-screen .welcome-dates{margin:0;font-size:8px}
 .welcome-screen .rules{padding:0}.welcome-screen .rules h2{font-size:16px;margin:0 0 5px}.welcome-screen .rules p{font-size:10px}
 .welcome-enter{grid-column:2;min-height:36px;padding:9px 16px;font-size:12px}
}

.fixed-calendar.host-review .door .door-label{display:none}
.fixed-calendar.host-review .door .number{position:absolute;bottom:6px;padding:0;font-size:clamp(18px,3.6vh,32px);line-height:1}
@media(max-width:650px),(max-height:500px){
 .fixed-calendar .host-door-answer{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .fixed-calendar.host-review .door .number{font-size:22px;bottom:6px}
}

#house-rules{width:min(620px,calc(100% - 28px));font-size:15px;line-height:1.6}
#house-rules h2{font-size:clamp(24px,4vw,33px);line-height:1.2}
#house-rules h3{font:600 23px 'Playfair Display',serif;margin:22px 0 12px}
.house-rules-list{padding-left:22px}.house-rules-list li{padding-left:4px;margin:12px 0}
.rules-signoff{font-size:10px;letter-spacing:2px;font-weight:700;color:var(--rust);margin:24px 0 16px}
.welcome-enter{margin-top:28px}
@media(max-height:500px) and (min-width:500px){.welcome-enter{margin-top:0}.welcome-screen .intro{row-gap:14px}.welcome-screen h1{grid-row:2/4}}

#house-rules{width:min(940px,calc(100% - 28px));padding:0}
#house-rules[open]{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr)}
.rules-photo{min-width:0;min-height:0;background:#315747;display:flex;align-items:center;justify-content:center}
.rules-photo img{display:block;width:100%;height:100%;max-height:78dvh;object-fit:cover;object-position:center 32%}
.rules-copy{min-width:0;padding:32px}
#house-rules .rules-copy .eyebrow{font-size:9px;letter-spacing:1.5px;margin-top:0}
@media(max-width:600px){
 #house-rules[open]{grid-template-columns:1fr}
 .rules-photo{height:25dvh;min-height:120px}
 .rules-photo img{width:100%;height:100%;object-position:center 28%}
 .rules-copy{padding:24px}
}
@media(max-height:500px) and (min-width:601px){
 #house-rules[open]{grid-template-columns:minmax(170px,.7fr) minmax(0,1.3fr)}
 .rules-photo{position:sticky;top:0;height:84dvh}
 .rules-photo img{height:100%;max-height:none}
 .rules-copy{padding:22px}
 #house-rules h2{font-size:25px}
}
