/* A quiet family space, with a separate mobile layout and native date selection. */
.entry{display:grid;grid-template-columns:1fr 1fr;min-height:100svh;padding:var(--safe-top) var(--safe-right) var(--safe-bottom) var(--safe-left);background:#fcf9f2}.entry-story{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;padding:clamp(35px,5vw,80px);background:#203f34;color:#fff9ec}.entry-story .brand{position:static;color:#fff9ec;text-decoration:none;font-size:1.1rem}.entry-story .brand img{background:#ffffff12;border-radius:12px}.entry-copy{margin:auto 0;padding:70px 0 160px;position:relative;z-index:1}.entry-copy .eyebrow{color:#e2ca99;font-size:.64rem;letter-spacing:.2em}.entry-copy h1{font:500 clamp(3.5rem,6vw,6rem)/1.02 Georgia,serif;letter-spacing:-.055em;margin:22px 0}.entry-copy em{font-style:normal;color:#e5c688}.entry-copy p{font-size:1rem;line-height:1.75;color:#d3ded1}.entry-art{position:absolute;width:min(60%,330px);right:-15px;bottom:25px;opacity:.9;pointer-events:none}.entry-year{position:absolute;bottom:30px;left:clamp(35px,5vw,80px);color:#c3cdbd;font-size:.75rem;letter-spacing:.15em}.entry-panel{width:100%;max-width:490px;align-self:center;justify-self:center;padding:60px 48px}.entry-symbol{width:60px;height:60px;background:#f2e7e0;color:#843747;border:1px solid #e8d8cf;border-radius:21px;display:grid;place-items:center;margin-bottom:30px}.entry-symbol .icon{width:27px;height:27px}.entry-panel>.eyebrow{font-size:.62rem;color:#947b54;margin-bottom:13px}.entry-panel h2{font:500 2.3rem/1.15 Georgia,serif;letter-spacing:-.035em;margin-bottom:15px}.entry-panel>p{font-size:.9rem;margin-bottom:27px}.entry-panel form{gap:20px}.entry-panel input{background:#fffdf9;min-height:54px;border-color:#dedbd0}.entry-panel label{font-size:.82rem}.entry-panel form button{width:100%;margin-top:4px}.entry-panel .entry-alternative{width:100%;margin-top:16px;background:transparent;font-size:.8rem}.entry-help{border-top:1px solid var(--line);margin-top:26px;padding-top:20px;font-size:.8rem}.entry-help summary{color:var(--accent);cursor:pointer;font-weight:600;line-height:1.5}.entry-help p{margin:12px 0 0;font-size:.82rem}
.round-heading .eyebrow{font-size:.61rem;color:#957c54;margin-bottom:9px}.round-dashboard{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px;align-items:start}.round-dashboard>*{min-width:0}.round-overview{padding:30px;border:1px solid #d9ddcf;border-radius:26px;background:linear-gradient(130deg,#f1f2e8,#fffaf0)}body[data-theme=christmas] .round-overview{background:linear-gradient(130deg,#f5e9e2,#fff8e9);border-color:#e7d8ca}.round-overview-top{display:flex;align-items:center;gap:17px;margin-bottom:29px}.round-overview-icon{width:48px;height:55px;border-radius:20px 20px 12px 12px;background:#fffaf2;border:1px solid #e4d7c5;display:grid;place-items:center;color:var(--accent);flex:none}.round-overview-icon .icon{width:28px;height:28px}.round-overview-top>div{min-width:0}.round-overview-top .eyebrow{font-size:.6rem;letter-spacing:.13em;margin-bottom:7px;color:#9a7658}.round-overview h2{font:500 1.75rem/1.15 Georgia,serif;letter-spacing:-.035em;margin:0}.round-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:0 0 23px}.round-facts>div{min-width:0;display:flex;flex-direction:column;gap:10px}.round-facts>div+div{border-left:1px solid #ddcebd;padding-left:23px}.round-facts span{display:flex;align-items:center;gap:7px;font-size:.76rem;color:var(--muted)}.round-facts .icon{width:16px;height:16px}.round-facts strong{font-size:1.65rem;letter-spacing:-.04em;font-weight:600;line-height:1.2;overflow-wrap:anywhere}.round-facts small{font-size:.73rem;margin-top:-6px}.round-overview-bottom{border-top:1px solid #e0d4c2;padding-top:19px;display:flex;align-items:center;gap:13px;justify-content:space-between}.round-overview-bottom>span{font-size:.76rem;color:var(--muted);max-width:230px;line-height:1.5}.round-overview-bottom button{flex:none;background:#fffaf2;font-size:.81rem;padding:0 14px}.round-locked{display:flex;align-items:center;gap:6px;white-space:nowrap}.round-locked .icon{width:15px;height:15px}.round-card-icon{display:grid;place-items:center;width:45px;height:45px;border-radius:16px;background:var(--soft);color:var(--accent);flex:none}.round-invite{display:grid;gap:18px;padding:28px;align-self:stretch}.round-invite h2{font-size:1.3rem;margin-bottom:7px}.round-invite p{font-size:.88rem;margin:0;max-width:340px}.round-invite>button{width:100%;align-self:end}.round-people .card-header>div,.round-rules .card-header>div{min-width:0}.round-people .eyebrow,.round-rules .eyebrow,.round-start .eyebrow{font-size:.6rem;letter-spacing:.12em;color:#8f7b5b;margin-bottom:8px}.round-people .card-header h2,.round-rules .card-header h2{font-size:1.25rem}.round-footnote{font-size:.75rem;margin:20px 0 0;padding-top:16px;border-top:1px solid var(--line)}.round-rules>p{font-size:.85rem}.round-rules>button{width:100%;margin-top:14px}.round-rules .rule{font-size:.85rem}.round-start{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;background:#f1f3eb}.round-start h2{font-size:1.4rem;margin-bottom:10px}.round-start p{margin:0;max-width:570px;font-size:.86rem}.round-checks{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:20px}.round-checks span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:.76rem}.round-checks .icon{width:15px;height:15px}.round-new{grid-column:1/-1;justify-self:center;font-size:.81rem;margin:0 0 8px;border-color:transparent}.round-dashboard .secret-release-card{grid-column:1/-1;order:initial}
.settings-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:15px}.settings-pair>div,form>div{min-width:0}input,select,textarea{max-width:100%;box-sizing:border-box}.date-field{position:relative;width:100%;min-width:0;max-width:100%;height:54px;overflow:hidden;border:1px solid #dcded4;background:#fffefa;border-radius:12px}.date-field>span{height:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0 14px;font-size:.9rem;pointer-events:none}.date-field [data-date-label]{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.date-field .icon{width:18px;height:18px;color:var(--muted)}.date-field input[type=date]{position:absolute;inset:0;margin:0;padding:0;display:block;width:100%;min-width:0;max-width:100%;height:100%;min-height:0;border:0;opacity:0;cursor:pointer;box-sizing:border-box}.date-field:focus-within{outline:3px solid #b18a4b;outline-offset:3px}.date-field input::-webkit-date-and-time-value{min-width:0;text-align:left}.secret-option{padding:16px;gap:12px}.secret-option input{flex:0 0 22px}.secret-option strong{font-size:.9rem}.secret-option small{font-size:.78rem}
.invite-intro{display:flex;gap:15px;align-items:flex-start}.invite-intro>div{min-width:0}.invite-intro h3{font-size:1.15rem;margin:0 0 7px}.invite-intro p{font-size:.85rem;margin:0}.invite-lifetime{font-size:.75rem;padding:12px 15px;margin:20px 0;background:var(--soft);border-radius:12px;color:var(--accent)}.invite-links{display:grid;gap:15px}.invite-link{padding:18px;border:1px solid var(--line);border-radius:19px;background:#faf8f1;min-width:0}.invite-link-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:13px}.invite-link-heading>div{min-width:0}.invite-link h3{font-size:.94rem;margin:0 0 3px}.invite-link small{font-size:.73rem}.invite-link-heading button{background:transparent;flex:none}.invite-url{font-size:.76rem;min-height:44px;background:#fffdf8;color:var(--muted);padding:10px}.invite-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:12px}.invite-actions button{width:100%;min-width:0;padding:0 8px;font-size:.84rem}.invite-create{width:100%;margin-top:22px}.invite-empty{padding:20px;text-align:center}.invite-empty>.icon{width:38px;height:38px;color:#a48752;margin-bottom:10px}.invite-empty p{font-size:.88rem;margin:0}.access-name{display:flex;align-items:center;gap:15px;padding:18px;background:var(--soft);border-radius:18px;margin-bottom:22px}.access-name>div{display:grid;gap:5px;min-width:0}.access-name strong{overflow-wrap:anywhere}.access-name small{font-size:.75rem}.access-actions{display:grid;gap:12px}.access-actions>button{width:100%;font-size:.86rem}.access-code{font-family:ui-monospace,monospace;font-size:clamp(1.05rem,4vw,1.6rem);letter-spacing:.04em;overflow-wrap:anywhere;padding:20px 12px}
@media(max-width:900px), (max-width:1100px) and (max-height:500px), (max-width:1100px) and (hover:none) and (pointer:coarse){
 .entry{display:block}.entry-story{min-height:270px;padding:24px 25px 28px;border-radius:0 0 30px 30px}.entry-story .brand{font-size:.95rem;gap:9px}.entry-story .brand img{width:30px;height:30px}.entry-copy{margin:0;padding:30px 0 0}.entry-copy .eyebrow{font-size:.55rem;margin-bottom:13px}.entry-copy h1{font-size:3rem;margin:10px 0 12px}.entry-copy p{font-size:.78rem;line-height:1.6;margin:0}.entry-art{width:160px;right:-9px;bottom:15px;opacity:.8}.entry-year{display:none}.entry-panel{max-width:480px;margin:0 auto;padding:30px 25px 35px}.entry-symbol{display:none}.entry-panel>.eyebrow{font-size:.57rem;margin-bottom:11px}.entry-panel h2{font-size:1.85rem;max-width:310px;margin-bottom:13px}.entry-panel>p{font-size:.83rem;line-height:1.55;margin-bottom:22px}.entry-panel form{gap:17px}.entry-help{font-size:.76rem;margin-top:23px}.entry-panel .entry-alternative{margin-top:11px}
 .round-heading{gap:10px;margin-bottom:23px}.round-heading .eyebrow{font-size:.55rem}.round-heading h1{font-size:2rem}.round-dashboard{display:flex;flex-direction:column;gap:17px;align-items:stretch}.round-dashboard .card{padding:22px}.round-overview{padding:23px;border-radius:23px}.round-overview-top{gap:13px;margin-bottom:24px}.round-overview h2{font-size:1.55rem}.round-overview-icon{width:41px;height:49px;border-radius:17px 17px 10px 10px}.round-overview-top .eyebrow{font-size:.54rem}.round-facts{gap:13px;margin-bottom:21px}.round-facts>div+div{padding-left:17px}.round-facts strong{font-size:1.5rem}.round-facts span{font-size:.69rem;gap:5px}.round-facts small{font-size:.69rem}.round-overview-bottom{padding-top:16px;gap:10px}.round-overview-bottom>span{font-size:.71rem;max-width:180px}.round-overview-bottom button{height:48px;min-height:48px;font-size:.77rem;padding:0 12px;gap:7px}.round-invite{grid-template-columns:auto 1fr;gap:12px 14px}.round-invite .round-card-icon{width:39px;height:39px;border-radius:13px}.round-invite h2{font-size:1.15rem}.round-invite p{font-size:.79rem;line-height:1.55}.round-invite>button{grid-column:1/-1;margin-top:4px}.round-people .card-header,.round-rules .card-header{margin-bottom:15px}.round-footnote{font-size:.72rem}.round-start{grid-template-columns:auto 1fr;gap:15px}.round-start h2{font-size:1.25rem}.round-start p{font-size:.79rem;line-height:1.55}.round-start .round-card-icon{width:38px;height:38px;border-radius:13px}.round-start>button{grid-column:1/-1;width:100%;margin-top:4px}.round-checks{display:grid;gap:8px;margin-top:16px}.round-checks span{font-size:.72rem}.round-new{width:100%;font-size:.77rem;align-self:center;max-width:100%;padding:0 10px}.settings-pair{grid-template-columns:minmax(0,1fr)}.date-field>span{font-size:.9rem}.modal-content{max-width:100%;min-width:0}.invite-link{padding:15px}.invite-intro p{font-size:.8rem}.invite-intro h3{font-size:1.05rem}.invite-create{font-size:.86rem}.personal-card{box-shadow:0 5px 20px #43351b04}.mobile-nav button{font-size:.66rem}.mobile-nav .nav-label{max-width:80px}
}
@media(max-width:360px){.entry-story{padding:22px}.entry-copy h1{font-size:2.6rem}.entry-art{width:133px;right:-10px;bottom:25px}.entry-panel{padding:26px 22px 32px}.round-dashboard .card,.round-overview{padding:19px}.round-facts strong{font-size:1.3rem}.round-overview h2{font-size:1.35rem}.round-overview-bottom>span{font-size:.67rem}.round-overview-bottom button{padding:0 10px}.round-overview-top{gap:10px}.round-facts>div+div{padding-left:13px}.round-start{gap:12px}.round-start h2{font-size:1.1rem}.mobile-nav button{font-size:.61rem}.invite-actions button{font-size:.75rem}}

/* Overview: one seasonal focal point, two personal actions. */
.dashboard{max-width:1180px;margin-inline:auto}.dashboard-greeting{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:30px}.dashboard-greeting>div{min-width:0}.dashboard-greeting h1{font:500 clamp(2rem,3.4vw,3rem)/1.12 Georgia,serif;letter-spacing:-.045em;margin:0 0 9px}.dashboard-greeting p{margin:0;font-size:.9rem}.dashboard-seal{width:54px;height:54px;display:grid;place-items:center;flex:none;border:1px solid #dbcfb7;border-radius:50%;color:#9b7a42;background:#f4eddf}.dashboard-seal .icon{width:26px;height:26px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:20px}.dashboard-grid>*{min-width:0}.dashboard-countdown{grid-row:span 2;position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;background:linear-gradient(140deg,#284c40,#173b31);color:#fff8e9;border-radius:28px;box-shadow:0 16px 32px #173b3112;padding:32px}.dashboard-countdown-top{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.64rem;letter-spacing:.14em;text-transform:uppercase;font-weight:650;color:#e4cf9f;position:relative;z-index:1}.dashboard-star{font-size:22px;line-height:1}.dashboard-countdown-main{position:relative;flex:1;min-height:255px;display:flex;align-items:center;padding:35px 0}.dashboard-days{position:relative;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:17px}.dashboard-days strong{font:400 clamp(5rem,8vw,7.5rem)/.85 Georgia,serif;letter-spacing:-.065em;color:#f0d79e;font-variant-numeric:lining-nums}.dashboard-days>span{font-size:1.05rem;line-height:1.5;color:#f1eee1}.dashboard-art{position:absolute;width:230px;max-width:58%;right:-25px;bottom:0;pointer-events:none;z-index:0}.dashboard-today{font:400 clamp(2.2rem,4vw,3.3rem)/1.12 Georgia,serif;margin:0;position:relative;z-index:1;color:#f0d79e}.dashboard-facts{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;border-top:1px solid #ffffff26;margin:15px 0 0;padding:25px 0 0;position:relative;z-index:1}.dashboard-facts>div{min-width:0}.dashboard-facts>div+div{border-left:1px solid #ffffff26;padding-left:20px}.dashboard-facts dt{display:flex;align-items:center;gap:7px;font-size:.74rem;color:#c7d3c7;margin-bottom:12px}.dashboard-facts dt .icon{width:16px;height:16px}.dashboard-facts dd{font-size:clamp(1.15rem,2vw,1.5rem);font-weight:550;line-height:1.25;letter-spacing:-.035em;margin:0;overflow-wrap:anywhere}.dashboard-facts dd small{display:block;color:#c7d3c7;font-size:.73rem;font-weight:400;letter-spacing:0;margin-top:7px}.dashboard-action{padding:26px;border:1px solid #e5dfd3;background:#fffcf7;border-radius:24px;display:flex;flex-direction:column;gap:20px}.dashboard-action-heading{display:flex;align-items:center;gap:12px;min-width:0}.dashboard-action-heading h2{font-size:1.12rem;line-height:1.25;margin:0;flex:1;min-width:0}.dashboard-action-icon{width:39px;height:39px;border-radius:13px;background:#efeadd;color:#8d754a;display:grid;place-items:center;flex:none}.dashboard-action-icon .icon{width:20px;height:20px}.dashboard-status{color:#8d8b7e;flex:none;display:flex;align-items:center}.dashboard-status .icon{width:16px;height:16px}.dashboard-status.is-ready{color:#447458}.dashboard-action-copy{min-width:0;flex:1}.dashboard-action-copy>strong{display:block;font-size:1.25rem;font-weight:600;letter-spacing:-.035em;line-height:1.3;overflow-wrap:anywhere}.dashboard-action-copy p{font-size:.82rem;line-height:1.5;margin:6px 0 0}.dashboard-action>button{width:100%;min-width:0;font-size:.84rem;height:48px;min-height:48px;padding:0 12px}.dashboard-wishes>button{background:#f0ede3;color:#34483a}.dashboard-partner{background:#f5ece7;border-color:#eadbd3}.dashboard-partner .dashboard-action-icon{background:#eadbd3;color:#843747}.dashboard-partner>button{background:#843747}.dashboard-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding:0 4px}.dashboard-bottom>span{display:flex;align-items:center;gap:8px;font-size:.77rem;color:var(--muted);min-width:0}.dashboard-bottom>span .icon{width:17px;height:17px}.dashboard-bottom>button{font-size:.77rem;border-color:transparent;padding:0 10px}.dashboard-bottom>button .icon{width:16px;height:16px;transform:rotate(-90deg)}body[data-theme=general] .dashboard-partner{background:#edf1e9;border-color:#dce4d5}body[data-theme=general] .dashboard-partner .dashboard-action-icon{background:#e0e8d7;color:#244c40}body[data-theme=general] .dashboard-partner>button{background:#244c40}
@media(max-width:1100px) and (min-width:901px){.dashboard-countdown{padding:25px}.dashboard-action{padding:21px}.dashboard-art{right:-25px;opacity:.75}.dashboard-facts{gap:10px}.dashboard-facts>div+div{padding-left:12px}}
@media(max-width:900px), (max-width:1100px) and (max-height:500px), (max-width:1100px) and (hover:none) and (pointer:coarse){.dashboard-greeting{margin:0 0 22px;gap:14px}.dashboard-greeting h1{font-size:2rem;margin-bottom:6px}.dashboard-greeting p{font-size:.8rem}.dashboard-seal{width:43px;height:43px}.dashboard-seal .icon{width:22px;height:22px}.dashboard-grid{grid-template-columns:minmax(0,1fr);gap:15px}.dashboard-countdown{grid-row:auto;border-radius:24px;padding:22px}.dashboard-countdown-top{font-size:.59rem;letter-spacing:.12em}.dashboard-star{font-size:19px}.dashboard-countdown-main{min-height:130px;padding:21px 0 17px}.dashboard-days{flex-direction:row;align-items:center;gap:17px}.dashboard-days strong{font-size:4.6rem;line-height:.95}.dashboard-days>span{font-size:.8rem;line-height:1.5;max-width:95px}.dashboard-art{width:135px;max-width:42%;right:-23px;bottom:-4px;opacity:.72}.dashboard-today{font-size:2.3rem}.dashboard-facts{margin:2px 0 0;padding-top:17px;gap:17px}.dashboard-facts>div+div{padding-left:18px}.dashboard-facts dt{font-size:.67rem;margin-bottom:8px;gap:6px}.dashboard-facts dt .icon{width:14px;height:14px}.dashboard-facts dd{font-size:1.12rem;line-height:1.3}.dashboard-facts dd small{font-size:.66rem;margin-top:4px}.dashboard-action{border-radius:21px;padding:20px;gap:15px}.dashboard-action-heading{gap:10px}.dashboard-action-heading h2{font-size:1.04rem}.dashboard-action-icon{width:34px;height:34px;border-radius:11px}.dashboard-action-icon .icon{width:18px;height:18px}.dashboard-action-copy>strong{font-size:1.15rem}.dashboard-action-copy p{font-size:.78rem;margin-top:5px}.dashboard-action>button{font-size:.82rem}.dashboard-bottom{margin-top:14px;gap:5px;padding:0}.dashboard-bottom>span{font-size:.68rem;gap:6px}.dashboard-bottom>span .icon{width:15px;height:15px}.dashboard-bottom>button{font-size:.7rem;padding:0 6px;gap:4px}}
@media(max-width:360px){.dashboard-greeting h1{font-size:1.8rem}.dashboard-countdown{padding:19px}.dashboard-countdown-top{font-size:.54rem}.dashboard-days{gap:12px}.dashboard-days strong{font-size:4rem}.dashboard-days>span{font-size:.74rem}.dashboard-art{opacity:.45;right:-27px;width:115px}.dashboard-facts{gap:10px}.dashboard-facts>div+div{padding-left:12px}.dashboard-facts dd{font-size:1rem}.dashboard-action{padding:18px}.dashboard-action-heading h2{font-size:.97rem}.dashboard-action>button{font-size:.77rem}.dashboard-bottom>span{font-size:.64rem}.dashboard-bottom>button{font-size:.65rem}}

/* A compact app bar; round selection belongs with the round settings. */
.compact-header{height:68px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px;min-width:0}
.compact-brand{display:flex;align-items:center;gap:9px;min-width:0;font-weight:700;font-size:.92rem;letter-spacing:-.03em;color:var(--ink)}
.compact-brand img{width:29px;height:29px;flex:none;border-radius:9px}.compact-brand>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.compact-actions{display:flex;align-items:center;gap:7px;flex:none}.compact-actions>button{height:44px;min-height:44px;min-width:44px;border:1px solid #cdd1bf;background:#f6efdd;border-radius:50%;padding:0;color:var(--ink)}
.compact-actions>.icon-button{width:44px}.compact-actions .icon{width:20px;height:20px}.compact-actions>.person-button{padding:0 11px 0 5px;gap:7px;border-radius:25px;max-width:180px;font-size:.8rem}.compact-actions .avatar{height:32px;width:32px;font-size:.76rem}.compact-actions .notification-dot{top:8px;right:8px}
.round-switch{display:flex;justify-content:flex-end;margin:-8px 0 18px}.round-switch button{font-size:.8rem;background:var(--surface);border:1px solid var(--line);color:var(--ink);padding:0 14px}
body[data-theme=christmas]{background:#dce3cd;--surface:#fbf3e2;--line:#dad6c1;--soft:#f1e5d5}
body[data-theme=christmas] .shell{isolation:isolate}
body[data-theme=christmas] .shell::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:#c8dce4}
body[data-theme=christmas] .sidebar{background:#213f32;border-color:#354f3c;color:#fff2d5}
body[data-theme=christmas] .sidebar .brand{color:#fff2d5}
body[data-theme=christmas] .sidebar .nav-button{color:#e3e8d4}
body[data-theme=christmas] .sidebar .nav-button.active{background:#ead3a3;color:#263d2c;box-shadow:0 5px 16px #0c241522}
body[data-theme=christmas] .sidebar-season{opacity:.9}
body[data-theme=christmas] .dashboard-wishes{background:#fbf2dd;border-color:#ded5ba}
body[data-theme=christmas] .dashboard-partner{background:#f2dfd5;border-color:#dfc9bd}
body[data-theme=christmas] .dashboard-seal{background:#eee1bd;border-color:#cfc09c}
body[data-theme=christmas] .dashboard-greeting p,body[data-theme=christmas] .dashboard-bottom>span{color:#50604c}
body[data-theme=christmas] .dashboard-bottom>button{color:#344e38}
body[data-theme=christmas] .round-overview{background:linear-gradient(135deg,#f0e0cb,#faf0d7);border-color:#d8cbb0}
body[data-theme=christmas] .round-invite,body[data-theme=christmas] .round-people,body[data-theme=christmas] .round-rules{background:#faf1dd}
body[data-theme=christmas] .round-start{background:#e8ecd9}
body[data-theme=christmas] .wishlist-add-bar{background:#dce3cd}
body[data-theme=christmas] .wishlist-finish{background:#e8ecd9}
body[data-theme=christmas] .mobile-nav{background:#f4ecd9;border-top-color:#c9cfb9;box-shadow:0 -4px 20px #233e2d08}
body[data-theme=christmas] .mobile-nav button.active{background:#e8d6ca;color:#783342}
@media(max-width:900px), (max-width:1100px) and (max-height:500px), (max-width:1100px) and (hover:none) and (pointer:coarse){
 .compact-header{height:58px;margin-bottom:15px;gap:10px}.compact-brand{font-size:.88rem;gap:8px}.compact-brand img{width:27px;height:27px}.compact-actions{gap:5px}.compact-actions>.person-button{width:44px;max-width:44px;padding:0;justify-content:center}.compact-actions>.person-button>span:last-child{display:none}.round-switch{justify-content:flex-start;margin:-7px 0 17px}.round-switch button{font-size:.77rem}
 body[data-theme=christmas] .shell::before{background-size:360px 420px}
}
@media(max-width:360px){.compact-brand{font-size:.8rem;gap:6px}.compact-brand img{width:25px;height:25px}.compact-header{gap:7px}.compact-actions{gap:4px}}

.wish-deadline{display:flex;align-items:flex-start;gap:10px;padding:13px 14px;margin:0 0 18px;background:#edf0df;border:1px solid #d7ddc8;border-radius:13px;color:#37513b;min-width:0}.wish-deadline>.icon{width:18px;height:18px;margin-top:1px}.wish-deadline>div{min-width:0}.wish-deadline strong{display:block;font-size:.8rem;line-height:1.45;font-weight:650}.wish-deadline span{display:block;margin-top:3px;font-size:.72rem;line-height:1.5;color:#586750}.wish-deadline.is-closed{background:#f0e4d7;border-color:#dfcfbe;color:#743c42}.wish-deadline.is-closed span{color:#79645b}.dashboard-wishes .wish-deadline{margin:0;padding:10px 12px}.deadline-settings{padding:17px;border:1px solid var(--line);border-radius:15px;background:var(--soft);min-width:0}.deadline-settings>.checkbox{margin:0;align-items:flex-start}.deadline-settings input[type=checkbox]{flex:none;margin-top:1px}.deadline-settings #deadline-date-wrap{margin-top:19px}.deadline-settings small{display:block;font-size:.77rem;margin-top:10px;line-height:1.5}.deadline-settings [hidden]{display:none!important}.wishlist-item-actions:empty{display:none}.round-overview>.wish-deadline{margin-bottom:19px}@media(max-width:360px){.wishlist-heading .wishlist-state{font-size:.63rem;padding:6px 8px}.wish-deadline{padding:11px}.wish-deadline strong{font-size:.75rem}}
.push-welcome-dialog{width:min(460px,calc(100% - 28px));overflow-x:hidden}.push-welcome-dialog .modal-head{align-items:center}.push-welcome-dialog .modal-head h2{font-size:1.3rem;line-height:1.3}.push-welcome{text-align:center;min-width:0}.push-welcome-art{position:relative;display:grid;place-items:center;width:84px;height:84px;margin:8px auto 20px;border-radius:27px;background:linear-gradient(145deg,#f1d79d,#edc8b7);color:#763b43;transform:rotate(-5deg)}.push-welcome-art>.icon{width:38px;height:38px;transform:rotate(5deg)}.push-welcome-art>span{position:absolute;right:-5px;top:-10px;font-size:30px;color:#927334}.push-welcome>p{font-size:.95rem;line-height:1.6;margin:0 0 12px}.push-welcome>strong{display:block;font-size:.82rem;color:#466145}.push-welcome-guide{display:flex;align-items:flex-start;gap:12px;text-align:left;margin:22px 0;padding:15px;background:#edf0e3;border:1px solid #d7deca;border-radius:16px}.push-welcome-guide>.icon{flex:none;width:20px;height:20px;margin-top:3px}.push-welcome-guide>p{margin:0;font-size:.82rem;line-height:1.6;overflow-wrap:anywhere}.push-welcome button{width:100%;min-height:48px}.push-welcome>button{margin-top:10px}.push-welcome>small{display:block;font-size:.73rem;line-height:1.5;color:var(--muted);margin-top:16px}.push-welcome .form-error:empty{display:none}.push-welcome .form-error{margin:12px 0}.push-welcome #push-controls p{font-size:.83rem;line-height:1.5}@media(max-width:380px){.push-welcome-dialog .modal-content{padding:20px}.push-welcome-art{width:64px;height:64px;margin-bottom:14px}.push-welcome-guide{margin:17px 0;padding:12px}}
/* Clear draw exclusions: one card per pair, with explicit direction. */
.rules-intro{font-size:.84rem;line-height:1.6;margin:0 0 18px}.exclusion-list{display:grid;gap:12px}.exclusion-card{min-width:0;padding:16px;border:1px solid #d8dfd0;border-radius:19px;background:#f1f4ea}.exclusion-card.is-oneway{background:#f9eee7;border-color:#e5d7cc}.exclusion-top{display:flex;gap:8px;justify-content:space-between;align-items:center;margin-bottom:15px;min-width:0}.exclusion-type{display:flex;align-items:center;gap:7px;color:#41624e;font-size:.68rem;line-height:1.45;font-weight:700;min-width:0}.exclusion-type>.icon{width:16px;height:16px;flex:none}.is-oneway .exclusion-type{color:#8b5046}.exclusion-top>.icon-button{width:40px;min-width:40px;height:40px;min-height:40px;background:transparent;border:1px solid #9b8c732b;border-radius:12px;color:#766f62;flex:none}.exclusion-pair{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr);align-items:start;gap:8px}.exclusion-pair>div{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;text-align:center}.exclusion-pair .avatar{width:40px;height:40px;border:2px solid #fffaf0;box-shadow:0 2px 8px #254a3410}.exclusion-pair strong{font-size:.92rem;line-height:1.35;overflow-wrap:anywhere;max-width:100%}.exclusion-arrow{display:grid;justify-items:center;color:#914553;margin-top:6px;gap:3px}.exclusion-arrow>.icon{width:24px;height:24px}.exclusion-arrow small{font-size:.6rem;line-height:1;color:inherit}.exclusion-card>p{font-size:.75rem;line-height:1.6;text-align:center;margin:16px 0 0;padding-top:13px;border-top:1px solid #9b8c7326;color:#5b6354}.exclusion-card>p strong{font-weight:650}.rules-self{display:flex;align-items:center;gap:8px;margin:17px 0;color:#69745d;font-size:.73rem;line-height:1.5}.rules-self>.icon{width:15px;height:15px;flex:none}.round-rules>button{width:100%;font-size:.84rem}.rules-empty{display:flex;align-items:center;gap:14px;padding:20px 16px;border:1px dashed #aabb9d;border-radius:18px;background:#eef1e3}.rules-empty>.icon{width:28px;height:28px;color:#68805e;flex:none}.rules-empty p{font-size:.85rem;margin:0}.rules-empty p span{display:block;font-size:.76rem;margin-top:2px}.rule-people-fields{display:grid;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);gap:12px;align-items:end;min-width:0}.rule-people-fields>div{min-width:0}.rule-people-fields>span{align-self:center;padding-top:25px;color:#8d7050}.rule-people-fields select{width:100%;min-width:0;text-overflow:ellipsis;font-size:.9rem;padding-left:12px}.rule-people-fields label{font-size:.79rem}.rule-directions{border:0;padding:0;margin:0;min-width:0;display:grid;gap:9px}.rule-directions legend{font-size:.84rem;font-weight:650;margin-bottom:12px}.rule-directions>label{display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:14px;border-radius:15px;background:#fffaf0;cursor:pointer;margin:0;min-width:0}.rule-directions>label:has(input:checked){border-color:#62826b;background:#eaf0e0;box-shadow:inset 0 0 0 1px #62826b}.rule-directions input[type=radio]{width:20px;height:20px;min-height:0;padding:0;flex:none;margin:0;accent-color:#42694d;appearance:auto}.rule-directions label>span{flex:1;min-width:0}.rule-directions strong,.rule-directions small{display:block}.rule-directions strong{font-size:.84rem;line-height:1.4}.rule-directions small{font-size:.72rem;font-weight:400;line-height:1.5;margin-top:3px}.rule-directions .icon{width:21px;height:21px;color:#718368;flex:none}.rule-existing{font-size:.74rem;line-height:1.5;margin:10px 0 0}.start-rules .exclusion-list{margin-bottom:20px}.start-rules .exclusion-card{padding:14px}.start-rules .exclusion-top{margin-bottom:12px}
@media(max-width:420px){.exclusion-card{padding:13px}.exclusion-top{margin-bottom:12px}.exclusion-type{font-size:.65rem;gap:5px}.exclusion-pair strong{font-size:.85rem}.rule-people-fields{grid-template-columns:minmax(0,1fr);gap:13px}.rule-people-fields>span{display:none}.rule-people-fields select{font-size:.9rem}.rule-directions>label{padding:12px}.rule-directions .icon{width:18px;height:18px}}

/* Winter palette. Decorative scenes occupy their own space, never text surfaces. */
body[data-theme=christmas]{--pine:#154f3c;--accent:#ac263b;--gold:#f1ca7c;--ink:#193f3b;--muted:#4d6769;--surface:#edf5f3;--soft:#deece7;--line:#b9d0cd;background:#c8dce4}
body[data-theme=christmas] .shell::before{background:linear-gradient(155deg,#c3dce7 0%,#d3e5e6 48%,#bcd4df 100%)}
.winter-trim{height:78px;margin:0 0 23px;border-radius:17px;overflow:hidden;pointer-events:none;background:#244e62;border:1px solid #bed5dc;box-shadow:0 4px 12px #244e6210}.winter-trim>img{display:block;width:100%;height:100%;object-fit:cover;object-position:center bottom}
body[data-theme=christmas] :is(.card,.dashboard-action,.round-overview,.wishlist-item,.wishlist-finish,.empty,.sum,.secret-partner,.wishlist-overview,.invite-link,.access-name,.price-notification,.profile-photo-section,.modal-content,.compact-header,.sidebar,.entry-panel){background-image:none}
body[data-theme=christmas] .compact-header{border-bottom:1px solid #9fbfc6;color:#163f3a}
body[data-theme=christmas] .compact-brand{color:#154b3b}
body[data-theme=christmas] .compact-actions>button{background:#edf5f3;border-color:#a7c6c4;color:#174c3b}
body[data-theme=christmas] .compact-brand img{box-shadow:0 0 0 3px #f0c97588}
body[data-theme=christmas] .sidebar{background:#123f31;border-color:#285d47}
body[data-theme=christmas] .sidebar .brand{color:#fff1ce}
body[data-theme=christmas] .sidebar .nav-button{color:#e6f4eb}
body[data-theme=christmas] .sidebar .nav-button.active{background:#ad293e;color:#fff8ec;box-shadow:inset 0 1px #eeb987}
body[data-theme=christmas] .dashboard-countdown{background:linear-gradient(140deg,#14563d,#0d382d);border:1px solid #366b4b;border-top:4px solid #e9bd6f;box-shadow:0 12px 28px #16473320;color:#fff8e9}
body[data-theme=christmas] .dashboard-countdown-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,40%);gap:16px;align-items:center;min-height:250px}
body[data-theme=christmas] .dashboard-art{position:relative;inset:auto;width:100%;max-width:100%;opacity:1;align-self:end;min-width:0}
body[data-theme=christmas] .dashboard-days{min-width:0}
body[data-theme=christmas] .dashboard-days strong{color:#f5d28b}
body[data-theme=christmas] .dashboard-countdown-top{color:#f5dba5}
body[data-theme=christmas] .dashboard-days>span{color:#f4f7ed}
body[data-theme=christmas] .dashboard-facts{border-color:#82a68a66}
body[data-theme=christmas] .dashboard-facts>div+div{border-color:#82a68a66}
body[data-theme=christmas] .dashboard-facts dt,body[data-theme=christmas] .dashboard-facts dd small{color:#d3e7d9}
body[data-theme=christmas] .dashboard-facts dd{color:#fff6e0}
body[data-theme=christmas] .dashboard-wishes{background:#e0eee4;border-color:#a9c9b4;border-top:4px solid #286448}
body[data-theme=christmas] .dashboard-wishes .dashboard-action-icon{background:#215e43;color:#fff1d3}
body[data-theme=christmas] .dashboard-wishes>button{background:#1a5b40;color:#fff8eb}
body[data-theme=christmas] .dashboard-partner{background:#f3dcd9;border-color:#d9aaa6;border-top:4px solid #b12840}
body[data-theme=christmas] .dashboard-partner .dashboard-action-icon{background:#ab2a3e;color:#fff4dd}
body[data-theme=christmas] .dashboard-partner>button{background:#ac263b;color:#fff8f2}
body[data-theme=christmas] .dashboard-seal{background:#205e44;color:#f1c77a;border:2px solid #e4ba70}
body[data-theme=christmas] .card{background-color:#edf5f3;border-color:#b7cecd}
body[data-theme=christmas] .round-overview{background:#dcecf0;border:1px solid #a4c3ca;border-top:4px solid #326b7d}
body[data-theme=christmas] .round-overview-icon{background:#17563d;color:#f0d08c}
body[data-theme=christmas] .round-facts strong{color:#184f55}
body[data-theme=christmas] .round-invite{background:#f5e2db;border-top:4px solid #b12b3f}
body[data-theme=christmas] .round-people{background:#e2eee3;border-top:4px solid #286448}
body[data-theme=christmas] .round-rules{background:#e4eef2;border-top:4px solid #3b7181}
body[data-theme=christmas] .round-start{background:#e8eed8;border-top:4px solid #a7863e}
body[data-theme=christmas] .round-card-icon{background:#1f5a42;color:#fff1d3}
body[data-theme=christmas] .wishlist-overview{background:#17543d;border-color:#346c50;border-top:4px solid #e8bd70;color:#fff8e7}
body[data-theme=christmas] :is(.wishlist-overview-count>span,.wishlist-overview-total>span,.wishlist-overview-count small,.wishlist-overview-footer){color:#d9ebdf}
body[data-theme=christmas] :is(.wishlist-overview-count>strong,.wishlist-overview-total>strong,.wishlist-overview-footer strong){color:#ffe0a1}
body[data-theme=christmas] :is(.wishlist-overview-total,.wishlist-overview-footer){border-color:#6c9a7e}
body[data-theme=christmas] .wishlist-add-bar{background:#ccdee4}
body[data-theme=christmas] .wishlist-item{background:#edf5f3;border-color:#b6cecb;border-left:4px solid #2b684c}
body[data-theme=christmas] .wishlist-item:nth-child(even){border-left-color:#ad3043}
body[data-theme=christmas] .wishlist-number{background:#ac263b;color:#fff4e9}
body[data-theme=christmas] .wishlist-item-price>strong,body[data-theme=christmas] .wish .price{color:#902338}
body[data-theme=christmas] .wishlist-notes{background:#ddebe5;color:#3d5e52}
body[data-theme=christmas] .wishlist-finish{background:#deebdd;border-color:#aec6a9}
body[data-theme=christmas] .wishlist-empty{background:none}
body[data-theme=christmas] .wishlist-empty>span{background:#17543d;color:#f4cf83;border-color:#437a58}
body[data-theme=christmas] .wish{border-top:4px solid #286448}
body[data-theme=christmas] .wish:nth-child(even){border-top-color:#ac263b}
body[data-theme=christmas] .sum{background:#dbe9ed;border:1px solid #afc9cf}
body[data-theme=christmas] .sum strong{color:#8f2437}
body[data-theme=christmas] .draw-card{background:linear-gradient(145deg,#b32941,#761d30);border:1px solid #9a3341;border-top:4px solid #efc878;color:#fff9ed}
body[data-theme=christmas] .draw-card p{color:#f8e8db}
body[data-theme=christmas] .draw-card .draw-orb{background:#ffffff0d;border-color:#f1cd8480;box-shadow:0 0 0 12px #eecb8809,0 0 0 24px #eecb8805}
body[data-theme=christmas] .draw-card .draw-name{color:#fff8e5}
body[data-theme=christmas] .secret-partner{background:#e0eaf0;border-color:#a7c2cd;border-top:4px solid #2b6176}
body[data-theme=christmas] .mobile-nav{background:#123f31;border-top-color:#d2ac65;box-shadow:0 -3px 15px #123f311a}
body[data-theme=christmas] .mobile-nav button{color:#e3f0e6}
body[data-theme=christmas] .mobile-nav button.active{background:#b12d40;color:#fff8ec;box-shadow:inset 0 1px #efc989}
body[data-theme=christmas] dialog{background:#edf5f3;border:1px solid #b5cfce;border-top:5px solid #ac263b}
body[data-theme=christmas] .modal-content{background-color:#edf5f3}
body[data-theme=christmas] .modal-head{padding-bottom:16px;border-bottom:2px solid #b2cdbb}
body[data-theme=christmas] .modal-head h2{color:#18533b}
body[data-theme=christmas] .modal-head .icon-button{background:#deebe5;color:#23523f}
body[data-theme=christmas] :is(.invite-link,.access-name){background:#dcebe2;border-color:#a7c7b5}
body[data-theme=christmas] .entry{background:linear-gradient(140deg,#b7d2de,#dbe9ed)}
body[data-theme=christmas] .entry-story{background:#123f31}
body[data-theme=christmas] .entry-panel{background:#edf5f3;border-top:5px solid #ad293e;border-radius:22px}
body[data-theme=christmas] .entry-symbol{background:#ae2940;color:#fff0d0;border-color:#ca6870}
body[data-theme=christmas] .entry-art{position:relative;inset:auto;width:210px;max-width:100%;margin:12px 0 15px;align-self:flex-end;opacity:1}
body[data-theme=christmas] .entry-copy{padding:40px 0 10px}
body[data-theme=christmas] .push-welcome-art{background:#17543d;color:#f2ce83;box-shadow:0 0 0 8px #d7e8dc}
body[data-theme=christmas] .push-welcome-guide{background:#dceaf0;border-color:#b5cdd6}
@media(max-width:900px), (max-width:1100px) and (max-height:500px), (max-width:1100px) and (hover:none) and (pointer:coarse){.winter-trim{height:54px;margin:0 0 18px;border-radius:13px}.winter-trim>img{object-position:center bottom}body[data-theme=christmas] .dashboard-countdown-main{grid-template-columns:minmax(0,1fr) minmax(80px,35%);min-height:170px;gap:10px;padding:20px 0 16px}body[data-theme=christmas] .dashboard-days{flex-direction:column;align-items:flex-start;gap:10px}body[data-theme=christmas] .dashboard-days strong{font-size:4.3rem}body[data-theme=christmas] .dashboard-days>span{font-size:.85rem;max-width:100%}body[data-theme=christmas] .dashboard-art{width:100%;max-width:100%;opacity:1;inset:auto}body[data-theme=christmas] .entry-art{width:120px;margin:2px 0 0;align-self:flex-end}body[data-theme=christmas] .entry-copy{padding:26px 0 0}body[data-theme=christmas] .entry-panel{border-radius:22px 22px 0 0}body[data-theme=christmas] .compact-header{margin-bottom:15px}}
/* Shared draw presentation: one uninterrupted winter scene. */
body dialog.sleigh-draw-dialog{inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;overflow:hidden;padding:0;background:#0b2634;color:#f4e6c9;overscroll-behavior:none}
body dialog.sleigh-draw-dialog .modal-content{position:relative;isolation:isolate;width:100%;height:100%;max-width:none;padding:0;overflow:hidden;background:transparent}
.sleigh-draw-dialog .modal-head{position:absolute;inset:calc(env(safe-area-inset-top,0px) + 16px) calc(env(safe-area-inset-right,0px) + 20px) auto calc(env(safe-area-inset-left,0px) + 24px);z-index:20;margin:0;padding:0;border:0;pointer-events:none;align-items:center}
.sleigh-draw-dialog .modal-head h2{font:500 .86rem/1.3 system-ui;color:#f6e9cf;letter-spacing:.04em;margin:0;text-shadow:0 1px 14px #102f4080}
.sleigh-draw-dialog .modal-head h2:after{content:'';display:block;font:500 .57rem/1.4 system-ui;letter-spacing:.17em;margin-top:6px;opacity:.7}
.sleigh-draw-dialog .modal-head button{pointer-events:auto;background:#163c4b66;border:1px solid #e3efe333;color:#fff4dc;width:44px;min-width:44px;height:44px;min-height:44px;backdrop-filter:blur(8px);border-radius:50%;box-shadow:none}
.sleigh-draw-dialog .modal-head button:focus-visible{outline:2px solid #f2d18e;outline-offset:3px}
.sleigh-scene{position:absolute;inset:0;overflow:hidden;isolation:isolate;background:#0b2634;--gift-y:calc(55% + 25px)}
.sleigh-landscape{position:absolute;inset:0;pointer-events:none}.sleigh-landscape>svg{display:block;width:100%;height:100%}
.sleigh-aurora{position:absolute;inset:0;background:radial-gradient(ellipse at 45% 24%,#8dbd9e24,transparent 50%);opacity:.65;pointer-events:none}
#reveal-scratch{position:absolute;inset:0;width:100%;height:100%;z-index:10;touch-action:none;cursor:crosshair;transition:opacity .75s ease,filter .75s ease;user-select:none;-webkit-user-select:none;border:0;border-radius:0}
.sleigh-scene:not([data-phase=scratch]) #reveal-scratch{opacity:0;filter:blur(10px);pointer-events:none}
.sleigh-caption{position:absolute;z-index:15;top:calc(env(safe-area-inset-top,0px) + 112px);left:24px;right:24px;text-align:center;pointer-events:none;transition:opacity .4s;color:#f4ead5}
.sleigh-caption p{font:400 clamp(1.25rem,4.5vw,1.6rem)/1.35 Georgia,serif;color:inherit;margin:0}
.sleigh-caption>span{display:block;font-size:.72rem;line-height:1.5;max-width:290px;margin:10px auto 0;color:#d7e4df}
.sleigh-draw-dialog[data-draw-phase=scratch] .sleigh-caption{opacity:0}
.sleigh-draw-dialog .draw-reveal-actions{position:absolute;z-index:20;left:24px;right:24px;bottom:calc(env(safe-area-inset-bottom,0px) + 22px);display:flex;justify-content:center;gap:10px;margin:0}
.sleigh-draw-dialog .draw-reveal-actions>button{flex:0 1 auto;width:auto;max-width:100%;height:46px;min-height:46px;padding:0 20px;border-radius:25px;font-size:.77rem;background:#153b40e8;border:1px solid #e2eddf66;color:#fff1d2;box-shadow:0 4px 18px #122f3420;backdrop-filter:blur(8px)}
.sleigh-draw-dialog .draw-reveal-actions>button.outline{background:#edf2e7e6;color:#20494c;border-color:#597a7966}
.sleigh-draw-dialog .draw-reveal-actions [hidden]{display:none!important}
.reveal-sleigh{position:absolute;width:min(450px,112vw);left:calc(50% + 33px);top:calc(var(--gift-y) - 214px);z-index:5;opacity:0;pointer-events:none;transform:translate(calc(-50% - 100vw),-90px) scale(.7);filter:drop-shadow(0 8px 14px #061c3755);will-change:transform,opacity}
.reveal-sleigh svg{display:block;width:100%;height:auto}
.delivered-gift{position:absolute;left:50%;top:var(--gift-y);width:140px;height:114px;transform:translateX(-50%);opacity:0;z-index:4;pointer-events:none}
.parcel-box{position:absolute;inset:17px 0 0;background:linear-gradient(110deg,#9a203b,#cb3c52 70%,#a72842);border:1px solid #ec79834d;border-bottom:5px solid #7c1f37;border-radius:3px 3px 10px 10px;box-shadow:0 16px 26px #061b2c66;z-index:3}
.parcel-box>span{position:absolute;top:0;bottom:0;left:calc(50% - 10px);width:20px;background:linear-gradient(90deg,#c99b53,#f4d796,#d1ab61)}
.parcel-lid{position:absolute;left:-6px;right:-6px;top:0;height:25px;background:linear-gradient(100deg,#be344a,#df5a68);border-bottom:3px solid #89263b;border-radius:5px;z-index:5;transform-origin:20% 50%}
.parcel-lid>span{position:absolute;left:calc(50% - 11px);width:22px;inset-block:0;background:#e6c37e}
.parcel-lid>i,.parcel-lid>b{position:absolute;width:38px;height:24px;border:6px solid #e6c37e;border-radius:75% 75% 0 75%;bottom:23px;left:calc(50% - 36px);transform:rotate(12deg)}.parcel-lid>b{left:calc(50% - 2px);transform:scaleX(-1) rotate(12deg)}
.reveal-name-card{position:absolute;left:50%;bottom:104px;width:min(340px,88vw);display:flex;flex-direction:column;align-items:center;gap:13px;text-align:center;opacity:0;z-index:2;transform:translate(-50%,100px) scale(.4);color:#fff1d0}
.reveal-name-card small{font:500 .65rem/1.4 system-ui;letter-spacing:.19em;text-transform:uppercase;color:#e2c995}
.reveal-name-card strong{font:400 clamp(3.4rem,14vw,5.2rem)/1.1 Georgia,serif;max-width:100%;overflow-wrap:anywhere;color:#fff1d0;text-shadow:0 2px 30px #092a3690}
.reveal-name-card>span{font-size:.66rem;line-height:1.5;color:#ceddd5}
.gift-light{position:absolute;left:50%;bottom:5px;width:min(430px,100vw);height:390px;transform:translateX(-50%);background:radial-gradient(ellipse at 50% 80%,#efca7938,transparent 64%);opacity:0;z-index:0;transition:opacity 1.1s;pointer-events:none}
.sleigh-scene:is([data-phase=flight],[data-phase=opening]) .reveal-sleigh{animation:scene-sleigh-flight 4.5s cubic-bezier(.36,0,.2,1) both}
.sleigh-scene:is([data-phase=flight],[data-phase=opening]) .sleigh-load{animation:scene-unload .18s 2.15s both}
.sleigh-scene:is([data-phase=flight],[data-phase=opening]) .delivered-gift{animation:scene-parcel-delivery 1.15s 2.15s cubic-bezier(.3,.05,.45,1) both}
.sleigh-scene[data-phase=opening] .parcel-lid{animation:scene-parcel-open 1.1s both}
.sleigh-scene[data-phase=opening] .reveal-name-card{animation:scene-name-reveal 1.3s .4s cubic-bezier(.16,1,.3,1) both}
.sleigh-scene[data-phase=opening] .gift-light{opacity:1}
@keyframes scene-sleigh-flight{0%{opacity:0;transform:translate(calc(-50% - 100vw),-90px) scale(.7) rotate(-8deg)}12%{opacity:1}38%{opacity:1;transform:translate(-50%,-4px) scale(1) rotate(2deg)}49%{transform:translate(-50%,0) scale(1) rotate(0)}62%{opacity:1;transform:translate(-44%,-12px) scale(1) rotate(-4deg)}100%{opacity:0;transform:translate(calc(-50% + 100vw),-190px) scale(.68) rotate(-14deg)}}
@keyframes scene-unload{to{opacity:0}}
@keyframes scene-parcel-delivery{0%{opacity:0;transform:translate(-50%,-160px) scale(.56) rotate(-8deg)}14%{opacity:1}75%{transform:translate(-50%,5px) scale(1.03,.96) rotate(2deg)}100%{opacity:1;transform:translate(-50%,0) scale(1) rotate(0)}}
@keyframes scene-parcel-open{0%,12%{transform:translateY(0) rotate(0)}28%{transform:translate(-2px,-5px) rotate(-4deg)}42%{transform:translate(2px,0) rotate(3deg);opacity:1}100%{transform:translate(-85px,-125px) rotate(-32deg);opacity:0}}
@keyframes scene-name-reveal{0%{opacity:0;transform:translate(-50%,100px) scale(.4);filter:blur(5px)}35%{opacity:1}100%{opacity:1;transform:translate(-50%,-30px) scale(1);filter:blur(0)}}
@media(min-width:800px){.sleigh-landscape>svg{object-fit:cover}.sleigh-caption{top:calc(env(safe-area-inset-top,0px) + 110px)}.sleigh-scene{--gift-y:calc(57% + 25px)}}
@media(max-height:600px){.sleigh-caption{top:calc(env(safe-area-inset-top,0px) + 78px)}.sleigh-caption p{font-size:1rem}.sleigh-caption>span{margin-top:5px;font-size:.62rem}.sleigh-scene{--gift-y:60%}.delivered-gift{width:104px;height:80px}.reveal-name-card{bottom:75px;gap:7px}.reveal-name-card strong{font-size:2.7rem}.reveal-name-card small{font-size:.57rem}.reveal-name-card>span{display:none}.reveal-sleigh{width:310px;top:calc(var(--gift-y) - 160px)}.sleigh-draw-dialog .draw-reveal-actions{bottom:calc(env(safe-area-inset-bottom,0px) + 12px)}}
@media(prefers-reduced-motion:reduce){.sleigh-draw-dialog *{animation:none!important;transition:none!important}.sleigh-scene[data-phase=flight] .reveal-sleigh{opacity:1;transform:translate(-50%,0)}.sleigh-scene[data-phase=opening] .delivered-gift{opacity:1}.sleigh-scene[data-phase=opening] .parcel-lid{opacity:0}.sleigh-scene[data-phase=opening] .reveal-name-card{opacity:1;transform:translate(-50%,-30px) scale(1)}}

/* Quiet scratch stage; the revealed name leads into a scrollable wish list. */
.sleigh-draw-dialog .modal-head{justify-content:flex-end}
.sleigh-draw-dialog .modal-head h2{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sleigh-draw-dialog[data-draw-phase=scratch] .sleigh-caption{display:none}
.sleigh-draw-dialog[data-draw-phase=result] .sleigh-caption{display:none}
.sleigh-draw-dialog[data-draw-phase=result] .delivered-gift,.sleigh-draw-dialog[data-draw-phase=result] .reveal-sleigh{display:none}
.sleigh-draw-dialog[data-draw-phase=result] .sleigh-landscape{opacity:.22;transition:opacity .6s}
.sleigh-result[hidden]{display:none!important}
.sleigh-result{position:absolute;inset:calc(env(safe-area-inset-top,0px) + 72px) 0 calc(env(safe-area-inset-bottom,0px) + 92px);z-index:16;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:8px 22px 28px;scrollbar-width:thin;color:#f6ecd7;animation:reveal-wishlist-enter .65s both}
.reveal-result-heading{text-align:center;margin:0 auto 30px;max-width:560px}.reveal-result-heading>span{font-size:.66rem;letter-spacing:.15em;text-transform:uppercase;color:#dfc48f}.reveal-result-heading h2{font:400 clamp(2.8rem,12vw,4.5rem)/1.12 Georgia,serif;color:#fff1d0;margin:9px 0 10px;overflow-wrap:anywhere}.reveal-result-heading h2:focus{outline:none}.reveal-result-heading small{font-size:.72rem;color:#b6cecc}
.reveal-result-list{max-width:560px;margin:auto}.reveal-result-list-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:15px}.reveal-result-list-title h3{font-size:1.1rem;margin:0;color:#f6ecd7}.reveal-result-list-title>span{font-size:.74rem;color:#b6cecc}
.reveal-result-wish{display:grid;grid-template-columns:38px minmax(0,1fr);gap:12px;padding:19px 0;border-top:1px solid #bfdbd033}.reveal-wish-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#d5b77920;color:#e8c783}.reveal-wish-copy h4{font-size:.94rem;line-height:1.4;color:#fff1dc;margin:0 0 7px}.reveal-wish-copy p{font-size:.8rem;line-height:1.55;color:#b9d0cd;margin:0 0 12px}.reveal-wish-copy>strong{font-size:.94rem;font-weight:650;color:#f4d59e}
.reveal-wish-check{grid-column:2;display:flex;align-items:center;gap:10px;min-height:44px;width:max-content;max-width:100%;font-size:.76rem;font-weight:500;margin:0;color:#d4e2d9;cursor:pointer}.reveal-wish-check input{width:21px;height:21px;min-height:0;margin:0;accent-color:#d8b570}.reveal-wish-check:has(input:checked){color:#f3d497}.reveal-wish-total{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #bfdbd033;padding-top:20px;font-size:.78rem;color:#bbcfca}.reveal-wish-total strong{font-size:1rem;color:#f4d59e;white-space:nowrap}
@keyframes reveal-wishlist-enter{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:360px){.sleigh-result{padding-inline:16px}.sleigh-draw-dialog .draw-reveal-actions{left:16px;right:16px;gap:8px}.sleigh-draw-dialog .draw-reveal-actions>button{padding-inline:14px;font-size:.72rem}}
@media(max-height:600px){.sleigh-result{top:calc(env(safe-area-inset-top,0px) + 60px);bottom:calc(env(safe-area-inset-bottom,0px) + 72px)}.reveal-result-heading{margin-bottom:22px}.reveal-result-heading h2{font-size:2.6rem}}

.sleigh-draw-dialog .reveal-result-heading.is-secret h2{font-size:clamp(1.7rem,7vw,2.5rem)}
.reveal-price-before{display:block;margin-top:5px;color:#b9d0cd;font-size:.73rem}
.reveal-product-link{display:flex;align-items:center;gap:8px;min-height:44px;width:max-content;max-width:100%;color:#f2d59d;font-size:.8rem;margin-top:8px;text-decoration:underline;text-underline-offset:4px}
.reveal-budget-warning,#reveal-purchase-error{color:#ffd0c5;font-size:.82rem;line-height:1.5;margin:16px 0 0}.reveal-list-empty{color:#c5d8d4;font-size:.9rem;line-height:1.6}

/* Wish editor: simple fields, a clear link entry, and automatic-price guidance. */
body dialog.wish-editor-dialog{width:min(540px,calc(100% - var(--safe-left) - var(--safe-right) - 24px));border-radius:25px;border:1px solid #c4d5cd;border-top:4px solid #9b3147;background:#f2f6f0}
body dialog.wish-editor-dialog .modal-content{padding:26px;background:linear-gradient(145deg,#f7f8f1,#eaf2ee)}
.wish-editor-dialog .modal-head{margin-bottom:22px;padding:0 0 17px;border-bottom:1px solid #cddbd1;gap:12px}.wish-editor-dialog .modal-head h2{font:500 1.65rem/1.2 Georgia,serif;color:#244b3c;margin:0}.wish-editor-dialog .modal-head button{flex:none;width:44px;min-width:44px;height:44px;min-height:44px;background:#e4eee5;color:#365c4a;border-radius:50%}
.wish-editor-dialog #wish-form{display:grid;gap:20px;min-width:0}.wish-editor-dialog #wish-form>div{min-width:0}.wish-editor-dialog #wish-form label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:.88rem;font-weight:650;color:#2c5143;margin:0 0 10px}.wish-editor-dialog #wish-form label>span{display:flex;align-items:center;gap:8px;min-width:0}.wish-editor-dialog #wish-form label small{font-size:.7rem;font-weight:400;color:#6b7d71;flex:none}.wish-editor-dialog #wish-form label .icon{width:18px;height:18px;color:#7e4e43}
.wish-editor-link{padding:16px;background:#e0ece7;border:1px solid #c4d8cd;border-radius:17px}
.wish-editor-dialog #wish-form input,.wish-editor-dialog #wish-form textarea{width:100%;min-width:0;max-width:100%;font-size:16px;background:#fffef8;border:1px solid #c7d6cc;border-radius:12px;box-shadow:0 2px 5px #29443504;padding:13px 14px;color:#244536}.wish-editor-dialog #wish-form input{height:50px}.wish-editor-dialog #wish-form input::placeholder,.wish-editor-dialog #wish-form textarea::placeholder{color:#7a877b;opacity:1}.wish-editor-dialog #wish-form textarea{min-height:80px;resize:vertical;line-height:1.5}
.wish-editor-dialog .money-field input{padding-right:45px!important;font-size:1.2rem!important;font-weight:600}.wish-editor-dialog .money-field>span{color:#536b53;font-size:1rem}.wish-editor-price>p{font-size:.78rem;line-height:1.55;color:#5c7163;margin:10px 0 0}.wish-editor-price .wish-price-status:empty{display:none}.wish-editor-price .wish-price-status:not(:empty){border-radius:10px;padding:10px 12px;background:#e1eadd;color:#355a3a;font-size:.77rem}.wish-editor-price .wish-price-status[data-state=manual]{background:#efe7d6;color:#6b5638}.wish-editor-price .wish-price-status[data-state=loading]{background:#e1edf0;color:#365f68}
.wish-editor-dialog .form-error:empty{display:none}.wish-editor-dialog .form-error{margin:0}.wish-editor-actions{display:grid;gap:10px;padding-top:3px}.wish-editor-dialog .wish-editor-actions>button{width:100%;height:50px;min-height:50px;border-radius:13px;font-size:.88rem}.wish-editor-dialog .wish-editor-actions>button[type=submit]{background:#853346;color:#fff8ea;border:1px solid #853346;box-shadow:0 5px 12px #85334616}.wish-editor-dialog .wish-editor-actions>.wish-editor-delete{background:transparent;color:#8a4350;border:1px solid #d9c6c9;box-shadow:none}
@media(max-width:600px){body dialog.wish-editor-dialog .modal-content{padding:21px 19px}.wish-editor-dialog .modal-head{margin-bottom:18px;padding-bottom:15px}.wish-editor-dialog .modal-head h2{font-size:1.5rem}.wish-editor-dialog #wish-form{gap:18px}.wish-editor-link{padding:14px}.wish-editor-price>p{font-size:.77rem}}

body dialog.mail-welcome-dialog{width:min(480px,calc(100% - var(--safe-left) - var(--safe-right) - 24px));border-radius:25px;border-top:4px solid #8c3448}.mail-welcome-dialog .modal-head h2{font:500 1.5rem/1.2 Georgia,serif}.mail-welcome{text-align:center}.mail-welcome-icon{display:grid;place-items:center;position:relative;margin:0 auto 18px;background:#dce9dd;border:1px solid #c4d4ba;color:#78404d;border-radius:22px;width:66px;height:66px}.mail-welcome-icon>.icon{width:30px;height:30px}.mail-welcome-icon>span{position:absolute;right:-6px;top:-8px;font-size:27px;color:#a27e42}.mail-profile{display:block;font-size:.72rem;letter-spacing:.04em;color:#7e3a4a;margin-bottom:10px}.mail-welcome>p{font-size:.9rem;line-height:1.65;margin:0 0 12px;overflow-wrap:anywhere}.mail-welcome>small{font-size:.76rem;color:#537254;display:block;margin-bottom:22px}.mail-welcome form{text-align:left;gap:13px;margin-top:22px}.mail-welcome input{font-size:16px;min-width:0;width:100%}.mail-welcome button{width:100%;min-height:48px;font-size:.85rem}.mail-welcome>button{margin-top:10px}.mail-welcome .mail-fine{font-size:.73rem;margin:12px 0;color:#6b7d70;line-height:1.5}.mail-active{display:flex;align-items:center;gap:12px;padding:17px;background:#e1eddb;border:1px solid #c7d9bc;border-radius:15px;text-align:left;margin:20px 0}.mail-active strong,.mail-active span{display:block;font-size:.8rem;overflow-wrap:anywhere}.mail-active span{margin-top:6px;font-size:.76rem}.mail-active>div{min-width:0}.mail-welcome #email-code{font-size:1.3rem;letter-spacing:.16em;text-align:center}.mail-welcome .form-error:empty{display:none}.mail-welcome .form-error{margin:0}.profile-mail p{font-size:.84rem;overflow-wrap:anywhere}
@media(max-width:400px){.mail-welcome-dialog .modal-content{padding:22px 19px}.mail-welcome-dialog .modal-head h2{font-size:1.35rem}}

.email-stop-page{min-height:100dvh;display:grid;place-items:center;background:#e1eeea;padding:24px}.email-stop-page main{width:100%;max-width:480px;background:#fffdf4;padding:28px;border-radius:22px;border-top:5px solid #853346}.email-stop-page h1{font:500 1.8rem/1.25 Georgia,serif;color:#234b3c}.email-stop-page p{font-size:1rem;line-height:1.6;margin:20px 0}.email-stop-page button{width:100%;white-space:normal}
/* Anonymous conversations and personal wish priorities */
.wish-rank{display:inline-block;color:#2c675c;font-size:.72rem;font-weight:750;margin:0 9px 8px 0}
.wish-chat-button{width:100%;min-height:48px;margin-top:16px;gap:10px;white-space:normal;line-height:1.3;grid-column:1/-1}
.wish-chat-button>span:not(.chat-unread){flex:1;text-align:left}
.chat-unread{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;background:#83364a;color:#fff;border-radius:20px;font-size:.75rem}
.sort-wishes-button{margin:4px 0 18px;min-height:48px;width:100%}
.wish-chat-dialog{width:min(600px,calc(100vw - 24px));max-width:calc(100vw - 24px);height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:0;overflow:hidden;background:#edf3ed;color:#193f36}
.wish-chat-dialog .modal-content{height:100%;min-height:0;display:flex;flex-direction:column;padding:24px;box-sizing:border-box;overflow:hidden}
.wish-chat-dialog .modal-head{flex:none;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid #b9cdc1}
.wish-chat-dialog .modal-head h2{font-size:1.18rem}
.wish-chat-intro{display:flex;align-items:center;gap:13px;flex:none;min-width:0}
.wish-chat-intro>div{min-width:0}.wish-chat-intro span:not(.wish-chat-symbol){font-size:.69rem;font-weight:650;color:#596f62}
.wish-chat-intro h3{font-size:1rem;line-height:1.4;margin:4px 0 0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wish-chat-symbol{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #c9ae70;background:#e0e9df;border-radius:14px;color:#315c4b}
.chat-privacy{font-size:.75rem;line-height:1.5;color:#52695c;margin:12px 0;flex:none}
.chat-messages{flex:1;min-height:70px;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding:16px 4px;background:linear-gradient(#dce9e033,#e5eee666);border-block:1px solid #c9d8ce;scrollbar-width:thin}
.chat-bubble{align-self:flex-start;flex:none;max-width:88%;min-width:100px;border:1px solid #c4d4c7;background:#fffdf4;border-radius:17px 17px 17px 4px;padding:12px 14px;box-sizing:border-box}
.chat-bubble.is-mine{align-self:flex-end;background:#1e5145;border-color:#1e5145;border-radius:17px 17px 4px 17px;color:#fff7df}
.chat-bubble>span{font-size:.68rem;font-weight:750;color:#526b5c}.chat-bubble.is-mine>span{color:#cfdfbf}
.chat-bubble p{margin:6px 0 8px;color:inherit;font-size:.93rem;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-bubble time{display:block;text-align:right;font-size:.65rem;color:#65786b}.chat-bubble.is-mine time{color:#c2d5c9}
.chat-empty{margin:auto;text-align:center;padding:20px 8px;color:#607568;font-size:.88rem;line-height:1.65}
#wish-chat-form{display:flex;flex-direction:column;gap:8px;padding-top:14px;flex:none;min-width:0}
#wish-chat-form label{font-size:.78rem;margin:0}#wish-chat-form textarea{width:100%;min-width:0;min-height:68px;max-height:110px;resize:none;font-size:16px;box-sizing:border-box;padding:12px;border-radius:14px}
#wish-chat-form button{width:100%;min-height:48px}#chat-error:empty{display:none}#chat-error{font-size:.78rem;margin:0}
.wish-sort-dialog{width:min(610px,calc(100vw - 24px));max-width:calc(100vw - 24px)}
.sort-intro{font-size:.88rem;line-height:1.6;color:#52695c}.wish-sort-list{display:flex;flex-direction:column;gap:10px;margin:20px 0}
.wish-sort-row{display:grid;grid-template-columns:30px minmax(0,1fr) 96px;align-items:center;gap:10px;padding:12px;background:#e5eee5;border:1px solid #c3d5c7;border-radius:16px}
.wish-sort-row .wishlist-number{width:auto;height:auto;margin:0;font-size:.85rem}.wish-sort-row strong{font-size:.84rem;line-height:1.45;overflow-wrap:anywhere;color:#244d3e}.wish-sort-row>div{display:flex;gap:6px}
.wish-sort-row .icon-button{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid #c2d0c2;border-radius:12px;background:#fbfaf2;color:#284f40}.wish-sort-row button:disabled{opacity:.32}
#save-wish-order{width:100%;min-height:48px}.reveal-result-wish .wish-chat-button{border-color:#adc6b775;color:#f1dfba;background:#224d49}
@media(max-width:640px){
 .wish-chat-dialog{position:fixed;inset:0;margin:0;border:0;border-radius:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh}
 .wish-chat-dialog .modal-content{padding:calc(env(safe-area-inset-top,0px) + 12px) 18px calc(env(safe-area-inset-bottom,0px) + 12px)}
 .wish-chat-dialog .modal-head{margin-bottom:12px;padding-bottom:10px}.wish-chat-dialog .modal-head .icon-button{width:44px;height:44px;min-height:44px}
 .wish-sort-dialog .modal-content{padding:20px 16px}.wish-sort-row{padding:10px;gap:8px;grid-template-columns:24px minmax(0,1fr) 94px}
}
@media(max-height:570px){.wish-chat-dialog .chat-privacy{display:none}.wish-chat-intro{margin-bottom:8px}.wish-chat-dialog .modal-head{margin-bottom:6px;padding-bottom:4px}#wish-chat-form{padding-top:8px}#wish-chat-form textarea{min-height:48px;height:48px}}

body[data-theme=christmas] dialog.wish-chat-dialog{border:0;background:#edf3ed}
.wish-chat-dialog.chat-keyboard-open .modal-content{padding-top:12px;padding-bottom:12px}

/* Compact family rows: identity and three private-status flags on one line. */
.round-people-list .family-draw-person{align-items:flex-start;gap:10px;padding-block:13px}
.family-draw-person .avatar{flex:none;width:32px;height:32px;margin-top:5px;font-size:.73rem}
.family-draw-person .copy{min-width:0;flex:1}
.family-person-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
.family-person-heading>strong{min-width:0;font-size:.91rem;line-height:1.35;overflow-wrap:anywhere}
.family-person-heading>strong .muted{font-size:.7rem;font-weight:400}
.family-person-status{display:flex;flex-wrap:wrap;align-items:center;gap:4px 9px;margin-top:3px}
.family-person-status .family-wish-status{font-size:.68rem;line-height:1.5;color:#5a7167}
.family-draw-status{display:inline-flex;align-items:center;gap:4px;color:#735735;font-size:.68rem;font-weight:600;line-height:1.5}
.family-draw-status .icon{width:12px;height:12px;flex:none}
.family-draw-status.is-drawn{color:#285441}
.family-contact-status{display:flex;flex:none;align-items:center;gap:2px}
.family-contact-status .family-status-icon{position:relative;display:grid;place-items:center;width:36px;min-width:36px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:10px;background:transparent;color:#829088;box-shadow:none}
.family-contact-status .family-status-icon:hover,.family-contact-status .family-status-icon:focus-visible{background:#dce8df}
.family-contact-status .family-status-icon.is-on{color:#2c654d}
.family-contact-status .icon{width:18px;height:18px}
.family-status-mark{position:absolute;right:2px;bottom:3px;display:grid;place-items:center;width:12px;height:12px;border-radius:50%;background:#e3e8e1;color:#68796c;font-size:9px;line-height:1;font-weight:800;border:1px solid #edf5f3}
.family-status-icon.is-on .family-status-mark{background:#2c654d;color:#fff}
.family-status-help{font-size:.68rem;line-height:1.5;color:#607268;margin:6px 0 0}
@media(max-width:360px){.family-draw-person .avatar{width:28px;height:28px}.round-people-list .family-draw-person{gap:8px}.family-person-heading{gap:4px}.family-contact-status .family-status-icon{width:32px;min-width:32px}.family-person-heading>strong{font-size:.84rem}}

/* Optional handoff for a validated family invitation; the browser form stays usable. */
[data-iphone-invite-slot]:empty{display:none}
.iphone-invite-open{padding:16px;margin:18px 0 22px;background:#e5eee5;border:1px solid #c7d7ca;border-radius:16px}
.iphone-invite-open>div{display:flex;align-items:center;gap:9px;margin-bottom:12px}
.iphone-invite-open strong{font-size:.84rem;line-height:1.4;color:#244b3e}
.iphone-invite-symbol{display:grid;place-items:center;width:28px;height:28px;flex:none;color:#315d48}
.iphone-invite-symbol .icon{width:21px;height:21px}
.iphone-invite-open>.button{width:100%;height:46px;min-height:46px;font-size:.82rem;justify-content:center;gap:8px;padding:0 10px;border-radius:12px;background:#f5f7ed;color:#244b3e;border:1px solid #c2d3c5;box-sizing:border-box}
.iphone-invite-open>.button .icon{width:16px;height:16px;transform:rotate(-90deg)}
.iphone-invite-open>p{font-size:.73rem;line-height:1.5;margin:10px 0 0;color:#5c7064}

/* On phones the wishlist starts with wishes, not a second decorative header. */
@media(max-width:900px), (max-width:1100px) and (max-height:500px), (max-width:1100px) and (hover:none) and (pointer:coarse){
 #page[data-view="wishes"]>.winter-trim{display:none}
 .workspace-wishes>.compact-header{height:52px;margin-bottom:10px}
 body[data-theme=christmas] .workspace-wishes>.compact-header{margin-bottom:10px}
 .wishlist-mobile .wishlist-heading{gap:8px;align-items:center;margin:0 0 12px}
 .wishlist-mobile .wishlist-heading h1{font-size:clamp(1.28rem,5.5vw,1.55rem);line-height:1.2;margin:0}
 .wishlist-mobile .wishlist-state{font-size:.63rem;line-height:1.35;padding:5px 7px;gap:4px}
 .wishlist-mobile .wishlist-state .icon{width:13px;height:13px}
 .wishlist-mobile>.wish-deadline{padding:10px 11px;gap:8px;margin-bottom:12px;border-radius:12px}
 .wishlist-mobile>.wish-deadline>.icon{width:16px;height:16px;flex:none}
 .wishlist-mobile>.wish-deadline strong{font-size:.74rem;line-height:1.4}
 .wishlist-mobile>.wish-deadline span{font-size:.68rem;line-height:1.45;margin-top:2px}
 .wishlist-mobile .wishlist-overview{padding:12px 14px 0;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);border-radius:15px}
 .wishlist-mobile .wishlist-overview-count,.wishlist-mobile .wishlist-overview-total{gap:4px;padding-bottom:11px}
 .wishlist-mobile .wishlist-overview-count{padding-right:12px}
 .wishlist-mobile .wishlist-overview-total{padding-left:14px}
 .wishlist-mobile .wishlist-overview-count>span,.wishlist-mobile .wishlist-overview-total>span{font-size:.67rem;line-height:1.4}
 .wishlist-mobile .wishlist-overview-count>strong,.wishlist-mobile .wishlist-overview-total>strong{font-size:1.28rem;line-height:1.25;gap:6px}
 .wishlist-mobile .wishlist-overview-count small{font-size:.67rem}
 .wishlist-mobile .wishlist-overview-footer{padding:8px 0;font-size:.67rem;line-height:1.45;gap:4px 10px}
 .wishlist-mobile .wishlist-overview-footer strong{margin-left:4px}
 .wishlist-toolbar{display:flex;align-items:center;gap:8px;position:sticky;top:0;z-index:5;padding:10px 0;margin-bottom:2px;background:#f8f5ef}
 body[data-theme=christmas] .wishlist-toolbar{background:#ccdee4}
 .wishlist-toolbar .wishlist-add-bar{position:static;flex:1;min-width:0;padding:0;background:transparent}
 body[data-theme=christmas] .wishlist-toolbar .wishlist-add-bar{background:transparent}
 .wishlist-toolbar .wishlist-add-bar>button,.wishlist-toolbar .sort-wishes-button{width:100%;height:44px;min-height:44px;margin:0;padding:0 10px;border-radius:12px;font-size:.78rem;gap:6px}
 .wishlist-toolbar .sort-wishes-button{flex:none;width:auto;background:var(--surface)}
 .wishlist-toolbar .icon{width:17px;height:17px;flex:none}
 .wishlist-mobile .wishlist-items{margin-top:0}
}
@media(max-width:360px){
 .wishlist-mobile .wishlist-heading h1{font-size:1.28rem}
 .wishlist-mobile .wishlist-state{font-size:.6rem;padding-inline:6px}
 .wishlist-mobile .wishlist-overview{padding-inline:12px}
 .wishlist-mobile .wishlist-overview-count>strong,.wishlist-mobile .wishlist-overview-total>strong{font-size:1.15rem}
 .wishlist-toolbar{gap:6px}
 .wishlist-toolbar .wishlist-add-bar>button,.wishlist-toolbar .sort-wishes-button{font-size:.73rem;padding-inline:8px;gap:5px}
}

/* Content first: profile and news live together in Settings. */
.workspace{padding-top:28px}
.settings-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 20px}
.settings-shortcut{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:100%;min-width:0;height:64px;min-height:64px;padding:10px 12px;text-align:left;white-space:normal;border:1px solid #bfd2c6;border-radius:16px;background:#edf4eb;color:#264f3d;box-shadow:none}
.settings-shortcut>.avatar,.settings-shortcut-symbol{width:34px;height:34px;flex:none;margin:0;background:#dce9df;color:#315b44}
.settings-shortcut-symbol{position:relative;display:grid;place-items:center;border-radius:11px}
.settings-shortcut-symbol>.icon{width:20px;height:20px}
.settings-shortcut-copy{display:block;min-width:0}
.settings-shortcut-copy>strong{display:block;font-size:.84rem;line-height:1.3;font-weight:650;overflow-wrap:anywhere}
.settings-shortcut-copy>small{display:block;font-size:.72rem;line-height:1.4;font-weight:400;color:#5c7566;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.settings-unread{position:absolute;right:-4px;top:-4px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 3px;border:2px solid #edf4eb;border-radius:10px;background:#9f2741;color:#fff;font-size:9px;line-height:1;font-weight:750}
.partner-page{min-width:0}
.partner-page .partner-heading{margin:0 0 18px}
.partner-heading h1{font-size:1.9rem;line-height:1.15;margin:0}
.partner-summary{display:flex;align-items:center;gap:15px;padding:18px;margin:0 0 14px;border:1px solid #b9ccc1;border-left:3px solid #367057;border-radius:19px;background:#edf4eb;box-shadow:none}
.partner-summary>.avatar-partner{width:54px;height:54px;flex:none;margin:0;border:2px solid #fff9ec;background:#e5debd;color:#234f3c;font-size:1.2rem}
.partner-summary>div{min-width:0}
.partner-summary .eyebrow{font-size:.56rem;line-height:1.4;color:#69745b;letter-spacing:.13em;margin:0 0 4px}
.partner-summary .partner-name{font-size:1.7rem;line-height:1.15;color:#234f3c;margin:0;font-weight:600;letter-spacing:-.035em;overflow-wrap:anywhere}
.partner-summary p{font-size:.79rem;line-height:1.4;color:#5c7566;margin:6px 0 0}
.partner-page>.partner-purchases{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:13px 16px;margin:0 0 16px;border:1px solid #bfd2c6;border-radius:15px;background:#e4eee5;box-shadow:none}
.partner-purchases>span{font-size:.8rem;line-height:1.4;color:#365b46}
.partner-purchases>span>small{display:block;font-size:.68rem;line-height:1.4;color:#647969;margin-top:2px}
.partner-purchases>strong{font-size:1.22rem;line-height:1.2;color:#264f3d;white-space:nowrap}
.partner-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 12px}
.partner-list-heading>h2{font-size:1.12rem;line-height:1.3;margin:0;min-width:0}
.partner-list-heading>span{flex:none;font-size:.72rem;line-height:1.4;color:var(--muted);white-space:nowrap}
.draw-prompt,body[data-theme=christmas] .draw-prompt{display:grid;gap:16px;width:100%;max-width:720px;padding:23px;border:1px solid #285c46;border-top:3px solid #e8c98c;border-radius:21px;background:#174c3b;color:#fff7e4;box-shadow:none}
.draw-prompt-heading{display:flex;align-items:center;gap:13px;min-width:0}
.draw-prompt-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #fff3d523;border-radius:14px;flex:none;background:#ffffff0c;color:#e8c98c}
.draw-prompt-icon>.icon{width:23px;height:23px}
.draw-prompt h2{font-size:1.4rem;line-height:1.25;color:#fff7e4;margin:0}
.draw-prompt>p{font-size:.86rem;line-height:1.55;color:#d7e5d8;margin:0;max-width:540px}
.draw-prompt>button{width:100%;max-width:320px;height:48px;min-height:48px;background:#e8c98c;color:#234735;border:1px solid #e8c98c;border-radius:12px;font-size:.9rem}
.partner-page>.secret-partner,body[data-theme=christmas] .partner-page>.secret-partner{margin:0 0 14px;padding:18px;gap:13px;border:1px solid #285c46;border-top:3px solid #e8c98c;border-radius:19px;background:#174c3b;color:#fff7e4}
.partner-page .secret-partner-heading{gap:12px}
.partner-page .secret-partner-icon{width:44px;height:44px;border-radius:14px}
.partner-page .secret-partner-icon>.icon{width:24px;height:24px}
.partner-page .secret-partner h2{font-size:1.08rem;margin-bottom:4px}
.partner-page .secret-partner p{font-size:.76rem}
.partner-page .secret-partner>button{height:48px;min-height:48px;background:#e8c98c;border:1px solid #e8c98c;color:#234735}
@media(max-width:900px), (max-width:1100px) and (max-height:500px), (max-width:1100px) and (hover:none) and (pointer:coarse){
 .workspace{padding-top:18px}
 .settings-shortcuts{gap:8px;margin-bottom:18px}
 .settings-shortcut{height:60px;min-height:60px;padding:9px 10px;gap:8px;border-radius:14px}
 .settings-shortcut>.avatar,.settings-shortcut-symbol{width:32px;height:32px}
 .settings-shortcut-copy>strong{font-size:.78rem}
 .settings-shortcut-copy>small{font-size:.67rem}
 .partner-page .partner-heading{margin-bottom:15px}
 .partner-heading h1{font-size:1.55rem}
 .partner-summary{padding:15px;gap:12px;border-radius:17px}
 .partner-summary>.avatar-partner{width:48px;height:48px;font-size:1.06rem}
 .partner-summary .partner-name{font-size:1.45rem}
 .partner-summary p{font-size:.74rem}
 .partner-list-heading{gap:8px;margin-top:16px}
 .partner-list-heading>h2{font-size:1.03rem}
 .partner-list-heading>span{font-size:.68rem}
 .draw-prompt{padding:18px;gap:14px;border-radius:18px}
 .draw-prompt-icon{width:40px;height:40px;border-radius:12px}
 .draw-prompt h2{font-size:1.18rem}
 .draw-prompt>p{font-size:.8rem;line-height:1.5}
 .draw-prompt>button{max-width:none;font-size:.85rem}
}
@media(max-width:360px){
 .settings-shortcut{padding:8px;gap:7px}
 .settings-shortcut-copy>strong{font-size:.74rem}
 .settings-shortcut-copy>small{font-size:.64rem}
 .partner-heading h1{font-size:1.4rem}
 .partner-summary .partner-name{font-size:1.3rem}
 .partner-list-heading>h2{font-size:.96rem}
 .draw-prompt{padding:16px}
 .draw-prompt-heading{gap:9px}
 .draw-prompt-icon{width:36px;height:36px}
 .draw-prompt h2{font-size:1.1rem}
}

/* Private wish chats: a clear way to report a message or pause the conversation. */
.chat-safety-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none;padding:10px 0}
.chat-safety-controls .chat-privacy{flex:1 1 0;margin:0;min-width:0;font-size:.72rem;line-height:1.45}
.wish-chat-dialog .chat-safety-controls>.chat-block-button{flex:none;width:auto;height:44px;min-height:44px;padding:0 11px;margin:0;border:1px solid #b7cbbd;border-radius:11px;background:transparent;color:#315642;white-space:nowrap;font-size:.73rem;gap:6px}
.chat-block-button>.icon{width:16px;height:16px}
.chat-block-status{flex:none;margin:0 0 10px;padding:10px 12px;border:1px solid #d6c8a8;border-radius:12px;background:#f5edd9;color:#655436;font-size:.75rem;line-height:1.45}
.chat-block-status[hidden],.moderation-actions[hidden],.moderation-confirm[hidden]{display:none!important}
.chat-bubble-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:3px;min-width:0}
.chat-bubble-footer time{min-width:0;text-align:left;font-size:.61rem}
.wish-chat-dialog .chat-bubble-footer>.chat-report-button{display:inline-flex;align-items:center;justify-content:center;flex:none;gap:4px;width:auto;min-height:36px;height:36px;padding:0 6px;margin:-3px -5px -5px 0;border:0;border-radius:8px;background:transparent;color:#5f705d;font-size:.66rem;line-height:1.2;font-weight:550;box-shadow:none}
.chat-report-button>.icon{width:13px;height:13px}
.chat-report-button:disabled{opacity:.7}
.chat-bubble.is-hidden{background:#e6ece5;border-style:dashed;color:#54685a}
.chat-bubble.is-hidden p{font-size:.82rem;font-style:italic}
.chat-bubble.is-mine.is-hidden{background:#33594c;color:#e7eee5}
.wish-chat-dialog #wish-chat-form button:disabled{opacity:.5}
.chat-report-dialog,.moderation-dialog{width:min(620px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 28px);overflow-x:hidden;overflow-y:auto}
body[data-theme=christmas] dialog.chat-report-dialog,body[data-theme=christmas] dialog.moderation-dialog{background:#edf3ed;color:#193f36;border-top:3px solid #d7b77b}
.chat-report-dialog .modal-content,.moderation-dialog .modal-content{min-width:0;padding:22px}
.chat-report-dialog .modal-head,.moderation-dialog .modal-head{align-items:center;gap:12px;margin-bottom:18px}
.chat-report-dialog .modal-head h2,.moderation-dialog .modal-head h2{font-size:1.2rem;line-height:1.25}
.chat-report-intro{display:flex;align-items:flex-start;gap:12px;margin-bottom:16px}
.safety-symbol{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #c4d5c8;border-radius:11px;background:#dce8dc;color:#41634b}
.safety-symbol>.icon{width:19px;height:19px}
.chat-report-intro>p,.moderation-intro{font-size:.8rem;line-height:1.55;color:#506a59;margin:0}
.chat-report-excerpt,.moderation-report blockquote{margin:0 0 19px;padding:12px 14px;border:1px solid #cedbce;border-left:3px solid #bd9b5f;border-radius:11px;background:#f5f6ec;color:#35513f;font-size:.84rem;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
#chat-report-form{gap:16px}
#chat-report-form label{font-size:.81rem;margin-bottom:7px}
#chat-report-form textarea{min-height:100px;resize:vertical}
.safety-actions{display:grid;gap:9px}
.safety-actions>button{width:100%;height:48px;min-height:48px;padding:0 12px;border-radius:12px;font-size:.82rem;white-space:normal}
.safety-actions>button>.icon{width:17px;height:17px}
.moderation-settings{margin:24px 0 0;padding-top:20px;border-top:1px solid #abc5ba}
.moderation-settings>button{display:flex;align-items:center;gap:9px;width:100%;height:48px;min-height:48px;font-size:.83rem;padding:0 13px;background:#edf4eb;color:#315642}
.moderation-settings>button>.icon{width:19px;height:19px}
.moderation-count{display:grid;place-items:center;min-width:23px;height:23px;padding:0 6px;border-radius:13px;background:#a52f47;color:#fff9eb;font-size:.73rem;line-height:1;margin-left:auto}
.moderation-intro{margin:0 0 18px}
#moderation-reports{display:grid;gap:14px;min-width:0}
.moderation-report{min-width:0;padding:15px;border:1px solid #bfcebf;border-radius:15px;background:#f7f8ee}
.moderation-report>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.moderation-report>header>strong{font-size:.86rem;line-height:1.4;overflow-wrap:anywhere;min-width:0}
.moderation-report>time{display:block;font-size:.68rem;line-height:1.45;color:#647863;margin:6px 0 12px}
.moderation-status{flex:none;padding:4px 7px;border-radius:8px;background:#f0dfb9;color:#67512b;font-size:.65rem;line-height:1.2}
.moderation-status.is-resolved{background:#dce8da;color:#3e6046}
.moderation-report blockquote{margin-bottom:12px;background:#e9efe3;font-size:.82rem}
.moderation-detail{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.79rem;line-height:1.5;margin:0 0 14px;color:#4c6451}
.moderation-detail>strong{display:block;font-size:.68rem;color:#6a7960;margin-bottom:4px}
.moderation-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding-top:3px}
.moderation-actions>button{min-width:0;height:46px;min-height:46px;padding:0 8px;font-size:.72rem;border-radius:11px;gap:6px;white-space:normal}
.moderation-actions>button:last-child{grid-column:1/-1}
.moderation-actions .icon{width:16px;height:16px;flex:none}
.moderation-confirm{border-top:1px solid #ced8c6;padding-top:12px}
.moderation-confirm>p{font-size:.8rem;line-height:1.5;margin:0 0 12px;color:#5c5844}
.moderation-empty{padding:24px 10px;text-align:center;color:#5e755d}
.moderation-empty>.icon{width:29px;height:29px;margin:0 auto 10px}
.moderation-empty>p{font-size:.86rem;margin:0}
#moderation-error{font-size:.8rem;line-height:1.5;margin-bottom:0}
@media(max-width:380px){
 .chat-safety-controls{gap:8px;padding:8px 0}
 .chat-safety-controls .chat-privacy{font-size:.67rem}
 .chat-safety-controls .chat-block-button{font-size:.67rem;padding:0 8px}
 .chat-report-dialog .modal-content,.moderation-dialog .modal-content{padding:18px}
 .moderation-report{padding:12px}
 .moderation-actions{grid-template-columns:minmax(0,1fr)}
 .moderation-actions>button:last-child{grid-column:auto}
}

/* The shared web shell marks the separately hosted Google tester space. */
.tester-space-note{margin:0 0 18px;padding:10px 14px;border:1px solid #b8cdbf;border-radius:14px;background:#e5eee4;color:#365b49;text-align:center;font-size:.84rem;font-weight:700;line-height:1.45}
.entry-group-choices{display:grid;gap:12px;margin-top:20px}.entry-group-choices>button,.group-created-access>button{width:100%;min-height:50px}.group-created-access{display:grid;gap:12px}.group-created-access .access-code{overflow-wrap:anywhere;word-break:break-word;white-space:normal}.group-created-access input{min-width:0;width:100%;box-sizing:border-box}.entry-panel .native-rules{display:flex;align-items:flex-start;gap:10px;font-size:.86rem;line-height:1.5}.entry-panel .native-rules input{width:20px;height:20px;flex:0 0 20px;margin-top:1px}
