:root{color-scheme:light;--pine:#133529;--dark:#0c241b;--wine:#862d40;--gold:#dbb978;--cream:#faf5e9;--paper:#fffdf6;--ink:#193529;--muted:#5b655b;--line:#dfd7c7;font-family:system-ui,sans-serif;color:var(--ink);background:var(--cream)}
*{box-sizing:border-box}body{margin:0;line-height:1.55}button,input,select,textarea{font:inherit}button,.btn{cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.45rem;border:1px solid transparent;border-radius:7px;padding:.64rem 1rem;background:var(--pine);color:#fff;font-weight:650;min-height:44px}button:hover,.btn:hover{filter:brightness(1.12)}button:disabled{cursor:default;opacity:.58}a{color:inherit}a:hover{text-decoration-thickness:2px}:focus-visible{outline:3px solid #bf7847;outline-offset:4px}.skip{position:absolute;top:-100px;z-index:20}.skip:focus{top:10px;left:10px;background:white;padding:.6rem}
.wrap{width:min(1150px,calc(100% - 48px));margin-inline:auto}.top{background:var(--dark);color:#fff8e7;border-bottom:1px solid #4e5336}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:78px}.brand{display:flex;align-items:center;gap:.75rem;text-decoration:none;font-family:Georgia,serif;font-size:1.18rem;white-space:nowrap}.brand small{display:block;font:600 .61rem system-ui;letter-spacing:.22em;color:var(--gold);margin-top:.16rem}.brand-icon{border:1px solid #a48b59;border-radius:50%;width:39px;height:39px;display:grid;place-items:center;color:var(--gold);font-size:1.5rem}nav:not([hidden]){display:flex;gap:1rem;flex-wrap:wrap;font-size:.84rem}nav a{text-decoration:none;padding:.45rem 0}nav a[aria-current]{color:var(--gold);border-bottom:1px solid}
.hero{min-height:530px;background:#102b21 url('/hero.jpg') center right/cover no-repeat;color:#fff8e6;display:grid;align-items:center;position:relative;isolation:isolate}.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0b2319a8 0%,#10291d35 55%,transparent 90%);z-index:-1}.hero-copy{max-width:635px;padding:4.2rem 0}.eyebrow{font-size:.72rem;letter-spacing:.21em;text-transform:uppercase;font-weight:750;color:#795029}.hero .eyebrow,.stage .eyebrow{color:var(--gold)}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;line-height:1.1;margin:0 0 .6em;font-weight:500}h1{font-size:clamp(2.5rem,6.6vw,5.35rem);letter-spacing:-.055em}.hero h1{margin:.15em 0}.hero h1 em{font-weight:400;color:#ead09a}.hero p{max-width:37ch;color:#f6ecd6}.hero .buttons{margin-top:1.5rem}.gold{background:#e8ca8c;color:#192e23}.light{background:transparent;color:inherit;border-color:currentColor}.wine{background:var(--wine)}.buttons{display:flex;gap:.65rem;flex-wrap:wrap;align-items:center}
section.page{padding:3rem 0;min-height:55vh}.page h1{font-size:clamp(2.5rem,6vw,4.7rem)}h2{font-size:clamp(1.7rem,4vw,2.65rem)}h3{font-size:1.4rem}.section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.2rem;flex-wrap:wrap}.section-head h2{margin-bottom:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.card{padding:1.4rem;border:1px solid var(--line);background:var(--paper);border-radius:12px;min-width:0;overflow-wrap:anywhere}.card p:last-child{margin-bottom:0}.card-link{display:block;text-decoration:none;transition:transform .18s,border-color .18s}.card-link:hover{transform:translateY(-3px);border-color:#ac8559}.symbol{background:#eaf0e7;color:#2a5943;border-radius:10px;display:inline-grid;place-items:center;width:48px;height:48px;font-size:1.45rem;margin-bottom:1rem}.card:nth-child(3n+2) .symbol{background:#f6e9e5;color:var(--wine)}.card:nth-child(3n+3) .symbol{background:#f4e9d4;color:#785322}.muted{color:var(--muted)}.kicker{margin:.2rem 0 1.5rem;color:var(--muted)}.footer{padding:1.4rem 0;display:flex;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);font-size:.8rem;color:var(--muted)}.footer button,.text{background:none;color:inherit;border:0;padding:.25rem .35rem;text-decoration:underline;font-weight:600}.footer #access{display:flex;flex-wrap:wrap;gap:.6rem}
form label,.filters label{display:grid;gap:.3rem;font-size:.88rem;font-weight:700}form{display:grid;gap:.8rem}input,select,textarea{width:100%;min-width:0;border:1px solid #bdb4a5;border-radius:6px;background:#fffdf9;color:var(--ink);padding:.6rem .7rem}textarea{min-height:78px;resize:vertical}.login{width:min(435px,100%);margin:auto}.login .symbol{margin:0}.filters{display:flex;gap:.7rem;flex-wrap:wrap;margin:1.15rem 0}.filters>*{flex:1 1 150px}.pill{display:inline-block;background:#efe6d4;padding:.14rem .55rem;border-radius:99px;font-size:.73rem;font-weight:750}.pill.cousins{background:#e1eee3;color:#174f35}.pill.kids{background:#f7ead0;color:#674716}.pill.adults{background:#f4e1e7;color:#75283e}.avatar{width:38px;height:38px;display:inline-grid;place-items:center;position:relative;overflow:hidden;border-radius:50%;background:#e6eada;color:var(--pine);font:1.1rem Georgia}.avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.person{display:flex;align-items:center;gap:.6rem}.rows{display:grid;gap:.55rem}.assignment{display:grid;grid-template-columns:1fr auto 1fr minmax(110px,auto);gap:.65rem;align-items:center;padding:.75rem 1rem}.assignment .pill{justify-self:end}.tabs{margin:1rem 0}.map{background:#edf0e5;border:1px solid #d6dacd;border-radius:12px;margin:1rem 0;overflow:auto}.map svg{width:100%;min-width:600px;display:block}.map text{fill:#193529;font:600 15px system-ui}.map circle{fill:#fff9ec;stroke:#746747}.map a:focus-visible circle,.map a:hover circle{stroke:#a02d47;stroke-width:4}.stage{padding:3rem 1.4rem;color:#fff8e6;background:#102c20 url('/hero.jpg') center/cover;border-radius:14px;text-align:center;overflow:hidden;position:relative;isolation:isolate;min-height:300px;display:grid;place-items:center}.stage::before{content:"";position:absolute;inset:0;background:#0b241bc9;z-index:-1}.stage .buttons{justify-content:center}.reveal{animation:reveal .5s ease-out both}@keyframes reveal{from{opacity:0;transform:translateY(14px) scale(.95)}to{opacity:1;transform:none}}.ornament{display:inline-block;font-size:3rem;color:var(--gold);filter:drop-shadow(0 0 13px #c68e39)}.snow{position:absolute;pointer-events:none;inset:0;overflow:hidden;z-index:-1}.snow i{position:absolute;top:-10%;left:10%;color:#fff9;animation:fall 11s linear infinite}.snow i:nth-child(2){left:28%;animation-delay:-5s}.snow i:nth-child(3){left:47%;animation-delay:-9s}.snow i:nth-child(4){left:69%;animation-delay:-3s}.snow i:nth-child(5){left:92%;animation-delay:-7s}@keyframes fall{to{transform:translate(45px,630px)}}.wish-image{width:100%;max-height:190px;object-fit:contain;border-radius:8px;background:#f3ebdc}.preserve{white-space:pre-line}.empty{padding:1.2rem;border:1px dashed #b9ae99;border-radius:8px}.alert{color:#872c36}.error{color:#872c36;margin:0}.footer button{min-height:34px}#notice:not(:empty){position:fixed;z-index:10;bottom:1rem;right:1rem;max-width:min(380px,90vw);padding:.75rem 1rem;background:#193529;color:#fff;border-radius:8px}dialog{color:var(--ink);border:1px solid var(--line);border-radius:14px;background:var(--paper);width:min(520px,calc(100% - 28px));max-height:90vh;padding:1.4rem}dialog::backdrop{background:#0d211bb8}
.game-board{margin:auto;max-width:820px}.game-story{padding:1.3rem;background:#f6edda;border-radius:10px}.characters{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.character{display:grid;grid-template-columns:auto 1fr;gap:.65rem;align-items:center}.face{font-size:clamp(2rem,7vw,4rem);line-height:1}.stress{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;font-weight:650}.stress meter{width:140px}.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:.65rem;margin:1rem 0}.choices button{min-height:63px;background:#f5ebd5;color:#20372a;border:1px solid #cebb91}.choices button[aria-pressed=true]{background:#d6ead5;border-color:#6b9472}.choices button:disabled{opacity:.7}.memory{grid-template-columns:repeat(4,minmax(0,1fr))}.memory button{font-size:1.75rem;padding:.2rem}.maze{display:grid;grid-template-columns:repeat(5,1fr);width:min(320px,100%);margin:1rem auto;gap:3px}.tile{display:grid;place-items:center;aspect-ratio:1;background:#e5efe8;border-radius:6px;font-size:1.35rem}.tile.wall{background:#c5d5cc}.certificate{border:3px double var(--gold);padding:1.5rem;margin:1rem 0;border-radius:8px}
@media(max-width:800px){.nav{align-items:start;flex-direction:column;padding:1rem 0;gap:.45rem}.hero{min-height:480px;background-position:66% center}.hero::before{background:linear-gradient(90deg,#0b2319e8,#0c261c8c 60%,#0c261c3d)}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.wrap{width:calc(100% - 28px)}.cards,.characters{grid-template-columns:1fr}.hero-copy{padding:3rem 0}.hero h1{font-size:3.3rem}.hero{min-height:415px}.assignment{grid-template-columns:1fr auto 1fr}.assignment .pill{justify-self:start;grid-column:1/-1}.section-head{align-items:start}.footer{align-items:start;flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

[hidden]{display:none!important}
.stage + .cards{margin-top:1rem}

nav a.portal-link{border:1px solid #d9bc82;border-radius:7px;padding:.4rem .65rem;color:#f6dfaa}
.gallery-title{margin-top:2.2rem}.gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.draw-pick{display:flex;align-items:center;justify-content:center;gap:1rem;margin:0 auto .6rem}.draw-pick img{width:clamp(74px,17vw,128px);aspect-ratio:1;object-fit:cover;border-radius:50%;border:3px solid var(--gold)}.draw-pick h2{margin:0}.draw-hat{font-size:3rem}.draw-ornament{border-radius:50%;height:100px;min-width:100px;width:max-content;max-width:100%;padding:1rem;display:grid;place-items:center;margin:.4rem auto .8rem;background:#8c3044;border:2px solid var(--gold);font:bold 1.2rem Georgia;animation:reveal .5s ease both}
.game-board>h1{font-size:clamp(2rem,4.4vw,3.4rem)}.game-prompt{font:700 clamp(1.1rem,2.3vw,1.35rem) system-ui;margin:1.5rem 0 .55rem}.game-story{transition:background-color .25s}.game-story.frazzled{background:#f6d5c9;animation:reveal .3s ease}.game-story small{display:block;margin-top:.5rem}.character{background:#fff9ef;border-radius:12px;padding:.65rem .8rem}.character:nth-child(2){background:#e9efe3}.character .face{width:clamp(48px,10vw,76px);aspect-ratio:1;object-fit:cover;border-radius:50%}.choices button[draggable=true]{cursor:grab;flex-direction:column}.choices button img{width:54px;height:54px;object-fit:cover;border-radius:50%}.item-icon{font-size:1.65rem}.drop-zone{padding:.6rem;background:#eef0e4;border:2px dashed #8d9a78;border-radius:10px;min-height:104px}.drop-zone button{width:100%}.placed{display:flex;flex-wrap:wrap;gap:.25rem;margin-top:.4rem}
.family-illustration{margin:2rem 0 0}.family-illustration img{display:block;width:100%;max-height:440px;object-fit:cover;border-radius:12px}.hat-stage{position:relative;display:grid;place-items:end center;min-height:132px;min-width:145px}.draw-hat{display:block;transform:rotate(180deg);line-height:1.1}.draw-ornament{position:absolute;bottom:40px;animation:lift-ornament .55s ease both}@keyframes lift-ornament{from{opacity:0;transform:translateY(45px) scale(.55)}to{opacity:1;transform:none}}
