:root{--paper:#f8f4ee;--surface:#fffdf9;--cream:#f3ebe1;--cream-dark:#eadbce;--ink:#302d28;--muted:#777069;--line:#e8ded3;--coral:#ca6d56;--coral-dark:#a9503e;--coral-soft:#fbe5db;--sage:#788a64;--sage-dark:#586c48;--sage-soft:#e9efdf;--shadow:0 16px 42px rgba(80,54,34,.07),0 2px 6px rgba(80,54,34,.04);--radius:23px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.5}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a{color:inherit}img{max-width:100%}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
:focus-visible{outline:3px solid #e9a284;outline-offset:3px}.eyebrow{display:block;color:var(--coral);font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.eyebrow-light{color:#ffe3d5}.muted{color:var(--muted)}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.17;letter-spacing:-.035em}h1{font-size:clamp(31px,3vw,44px)}h2{font-size:22px}h3{font-size:19px}p{color:var(--muted)}
.brand-mark{width:39px;height:39px;display:inline-flex;align-items:center;justify-content:center;border:2px solid currentColor;color:var(--coral);border-radius:12px;transform:rotate(-8deg);background:#fff7f0;flex:none}.brand-mark svg{width:21px;height:21px;fill:currentColor;stroke-width:1.2;transform:rotate(8deg)}.brand-mark-large{width:58px;height:58px}.brand-mark-large svg{width:30px;height:30px}.splash{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:13px}.splash p{font-weight:600}.button{display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid transparent;border-radius:12px;padding:12px 18px;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;transition:transform .18s,background .18s,box-shadow .18s}.button:hover{transform:translateY(-1px)}.button svg{width:17px;height:17px}.button-primary{background:var(--coral);color:white;box-shadow:0 5px 15px rgba(202,109,86,.19)}.button-primary:hover{background:var(--coral-dark)}.button-outline{border-color:var(--line);color:var(--coral-dark);background:var(--surface)}.button-outline:hover{background:var(--coral-soft)}.button-light{background:#fff9ef;color:#844636}.button-light:hover{background:white}.button-wide{width:100%}.icon-button{border:0;background:transparent;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:11px}.icon-button:hover{background:var(--cream);color:var(--ink)}.text-link{border:0;background:transparent;color:var(--coral-dark);font-size:13px;font-weight:750;display:inline-flex;align-items:center;gap:5px;padding:4px 0}.text-link:hover{text-decoration:underline}.text-link svg{width:15px;height:15px}
.auth-screen{display:grid;grid-template-columns:minmax(420px,47%) 1fr;min-height:100vh;background:#fffdf9}.auth-story{position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;padding:37px clamp(34px,5vw,84px);background:linear-gradient(145deg,#c96e55 0%,#b9604d 65%,#9f5346 100%);color:white}.auth-story:before,.auth-story:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.14);border-radius:50%}.auth-story:before{width:720px;height:720px;top:-410px;right:-350px}.auth-story:after{width:580px;height:580px;left:-360px;bottom:-380px}.auth-brand,.auth-mobile-brand,.sidebar-brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:500;letter-spacing:-.06em}.auth-brand{position:relative;z-index:1}.auth-brand .brand-mark{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.95);color:white}.auth-brand strong,.auth-mobile-brand strong,.sidebar-brand strong{font-weight:850}.auth-story-content{position:relative;z-index:1;max-width:560px;padding-top:30px}.auth-story h1{margin:15px 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,70px);letter-spacing:-.065em;font-weight:500;line-height:1.04}.auth-story-content>p{max-width:450px;color:#fce5dc;font-size:17px}.auth-story-footer{position:relative;z-index:1;color:#f9d3c6;font-size:13px;margin:0}.auth-orbit{position:relative;width:min(400px,90%);height:240px;margin-top:43px}.auth-orbit:before,.auth-orbit:after{content:"";position:absolute;border:1.5px dashed rgba(255,243,229,.48);border-radius:50%}.auth-orbit:before{width:290px;height:210px;left:25px;top:18px;transform:rotate(-15deg)}.auth-orbit:after{width:205px;height:205px;left:67px;top:21px;border-style:solid;opacity:.3}.orbit-heart{position:absolute;left:135px;top:65px;display:grid;place-items:center;width:85px;height:85px;background:#fff8ed;border-radius:26px;transform:rotate(-12deg);color:var(--coral);font-size:58px;box-shadow:0 18px 35px rgba(72,35,30,.18)}.orbit-person{position:absolute;width:52px;height:52px;display:grid;place-items:center;border:4px solid #f9d7ca;border-radius:50%;font-weight:800;box-shadow:0 8px 17px rgba(72,35,30,.2)}.person-one{left:19px;top:88px;background:#dbc1a5;color:#5d453e}.person-two{left:259px;top:44px;background:#b3c49d;color:#45533f}.person-three{left:68px;top:181px;background:#edb892;color:#75493a}.person-four{left:264px;top:180px;background:#d5abc0;color:#684356}.auth-panel{display:grid;place-items:center;padding:36px}.auth-card{width:min(100%,420px)}.auth-card h2{font-family:Georgia,"Times New Roman",serif;font-size:37px;font-weight:500;margin:10px 0}.auth-card>p{margin-bottom:28px}.auth-mobile-brand{display:none}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 16px;color:#4d463e;font-size:13px;font-weight:700}.field input,.field textarea{width:100%;border:1px solid #ddd2c7;border-radius:12px;background:#fffdfa;color:var(--ink);padding:13px 14px;outline:none;font-size:15px}.field input:focus,.field textarea:focus{border-color:var(--coral);box-shadow:0 0 0 3px rgba(202,109,86,.12)}.field input[readonly]{color:#5d554e;background:#f7f1e9}.form-hint{margin:-5px 0 17px;font-size:12px;color:#8a8179}.form-error{margin:0 0 15px;color:#9d352c;font-size:13px;font-weight:650}.auth-footnote{margin:24px 0 0!important;font-size:13px;text-align:center;color:#938a80}
.app-shell{display:flex;min-height:100vh}.sidebar{width:248px;min-width:248px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column;background:#fffaf3;border-right:1px solid var(--line);padding:27px 18px 18px}.sidebar-brand{padding:0 12px 27px;font-family:Georgia,"Times New Roman",serif;font-size:20px}.sidebar-caption{padding:0 16px;font-size:10px;font-weight:800;letter-spacing:.18em;color:#a69b8f;margin:9px 0 12px}.sidebar-nav{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#5e5850;display:flex;align-items:center;gap:15px;width:100%;padding:12px 15px;text-align:left;border-radius:12px;font-weight:650}.nav-item svg{width:20px;height:20px}.nav-item:hover{background:#f6eee4;color:var(--coral-dark)}.nav-item.is-active{background:var(--coral);color:white;box-shadow:0 7px 18px rgba(202,109,86,.18)}.sidebar-bottom{margin-top:auto}.sidebar-quote{border-radius:16px;background:#f2ebdf;padding:17px 18px;margin-bottom:17px}.sidebar-quote span{color:var(--coral);font-size:26px;line-height:1}.sidebar-quote p{margin:4px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:14px;color:#706152;font-style:italic}.sidebar-user{display:flex;align-items:center;gap:10px;padding:13px 5px 0;border-top:1px solid var(--line)}.sidebar-user>span:nth-child(2){display:flex;flex-direction:column;min-width:0}.sidebar-user strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-user small{font-size:11px;color:var(--muted)}.sidebar-user .icon-button{margin-left:auto}.avatar{width:39px;height:39px;border-radius:50%;display:inline-grid;place-items:center;flex:none;font-size:14px;font-weight:800;color:white;letter-spacing:-.04em}.avatar-coral{background:linear-gradient(145deg,#eaa78e,#c46851)}.avatar-sage{background:linear-gradient(145deg,#a4b690,#728663)}.avatar-gold{background:linear-gradient(145deg,#efcb8f,#c69858)}.avatar-plum{background:linear-gradient(145deg,#c6a3af,#94717f)}
.app-main{flex:1;min-width:0}.topbar{height:86px;position:sticky;top:0;z-index:5;background:rgba(248,244,238,.94);backdrop-filter:blur(14px);border-bottom:1px solid rgba(222,210,195,.7);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,3vw,45px)}.topbar-text{display:flex;flex-direction:column}.topbar-text .eyebrow{font-size:9px}.topbar-text>span:last-child{font-size:16px;font-weight:800}.topbar-actions{display:flex;align-items:center;gap:14px}.connection-status{display:inline-flex;align-items:center;gap:7px;color:var(--sage-dark);font-size:12px;font-weight:700}.connection-status.is-disconnected{color:#a47b50}.status-dot{width:8px;height:8px;border-radius:50%;background:#8dab75;box-shadow:0 0 0 4px #e5efdc}.is-disconnected .status-dot{background:#cea574;box-shadow:0 0 0 4px #f5ead9}.topbar-avatar{width:37px;height:37px}.family-shortcut{display:none}.content-area{max-width:1540px;margin:0 auto;padding:31px clamp(22px,3vw,45px) 55px}.view-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.view-heading h1{font-family:Georgia,"Times New Roman",serif;font-weight:500;margin:5px 0 7px}.view-heading p{margin:0}.heading-heart{color:var(--coral);font-family:Arial,sans-serif;font-size:.75em;vertical-align:8%}.view-heading .button{margin-bottom:3px}
.home-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:19px}.hero-card{grid-column:span 9;min-height:272px;position:relative;overflow:hidden;background:linear-gradient(115deg,#c8785f 0%,#b96854 58%,#a75f51 100%);border-radius:var(--radius);padding:35px 39px;color:white;box-shadow:var(--shadow)}.hero-copy{position:relative;z-index:2;max-width:460px}.hero-pill{display:inline-block;border:1px solid rgba(255,255,255,.45);border-radius:99px;padding:5px 11px;color:#fff8f0;font-size:11px;font-weight:800;letter-spacing:.03em}.hero-card h2{font-family:Georgia,"Times New Roman",serif;font-weight:500;font-size:clamp(28px,3.2vw,43px);line-height:1.05;margin:16px 0 10px;max-width:380px}.hero-card p{color:#fff0e7;font-size:14px;max-width:350px;margin-bottom:20px}.hero-art{position:absolute;right:0;top:0;width:42%;height:100%;overflow:hidden}.hero-ring{position:absolute;border:1.5px solid rgba(255,245,231,.3);border-radius:50%}.ring-one{width:310px;height:310px;right:-35px;top:-25px}.ring-two{width:220px;height:220px;right:15px;top:18px}.hero-big-heart{position:absolute;right:93px;top:31px;color:#fff3e5;font-size:175px;text-shadow:0 18px 28px rgba(110,51,43,.13);transform:rotate(-15deg);font-family:Georgia,serif;line-height:1}.hero-float{position:absolute;color:#fadcc0}.float-one{right:39px;top:30px;font-size:45px}.float-two{right:245px;bottom:25px;font-size:25px}.float-three{right:64px;bottom:15px;font-size:28px}.stat-card{grid-column:span 3;min-height:272px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:28px;display:flex;flex-direction:column;align-items:flex-start}.stat-icon{width:50px;height:50px;display:grid;place-items:center;border-radius:16px;margin-bottom:auto}.stat-icon svg{width:25px;height:25px}.stat-icon-sage{background:var(--sage-soft);color:var(--sage-dark)}.stat-card strong{font-family:Georgia,"Times New Roman",serif;font-size:57px;line-height:1;font-weight:500;color:var(--sage-dark)}.stat-card>span:nth-of-type(2){color:var(--muted);font-size:13px;margin:4px 0 16px}.dashboard-card{grid-column:span 6;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:23px;min-height:260px;box-shadow:var(--shadow)}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:19px}.card-heading>div{display:flex;align-items:center;gap:10px}.card-heading h2{font-size:18px;margin:0}.card-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:10px}.card-icon svg{width:18px;height:18px}.card-icon-coral{background:var(--coral-soft);color:var(--coral-dark)}.card-icon-sage{background:var(--sage-soft);color:var(--sage-dark)}.card-icon-peach{background:#faebd9;color:#bd8550}.home-messages{display:flex;flex-direction:column;gap:13px}.home-message{display:flex;gap:10px;align-items:start}.home-message .avatar{width:34px;height:34px;font-size:11px}.home-message-body{min-width:0;flex:1}.home-message-meta{display:flex;align-items:baseline;justify-content:space-between;gap:9px}.home-message-meta strong{font-size:12px}.home-message-meta time{font-size:11px;color:#a99e93;white-space:nowrap}.home-message-body p{margin:2px 0 0;padding:8px 11px;border-radius:2px 12px 12px 12px;background:#f7f1eb;color:#62584f;font-size:13px;overflow-wrap:anywhere}.home-photos{height:183px;display:grid;grid-template-columns:1.4fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:7px}.home-photos img{width:100%;height:100%;object-fit:cover;border-radius:10px}.home-photos img:first-child{grid-row:span 2}.home-empty,.small-empty{min-height:155px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#faf5ee;border:1px dashed #e6d7c8;border-radius:14px;padding:20px}.home-empty-icon{font-size:31px;line-height:1;margin-bottom:8px;color:var(--sage)}.home-empty strong{font-size:14px}.home-empty p{font-size:12px;margin:4px 0 0;max-width:260px}.home-events{display:flex;flex-direction:column;gap:10px}.home-event{display:flex;align-items:center;gap:13px;padding:10px 11px;border:1px solid #eee4da;border-radius:13px}.event-date-chip{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:48px;height:50px;background:var(--coral-soft);color:var(--coral-dark);border-radius:10px;font-weight:800;font-size:20px;line-height:1}.event-date-chip small{font-size:10px;text-transform:uppercase;letter-spacing:.05em;margin-bottom:2px}.home-event-body{min-width:0}.home-event-body strong{display:block;font-size:13px}.home-event-body small{display:block;color:var(--muted);font-size:11px}.dashboard-games p{font-size:13px;max-width:310px;margin:5px 0 15px}.game-mini{display:flex;gap:9px}.game-mini span{width:51px;height:51px;display:grid;place-items:center;background:var(--sage-soft);border-radius:13px;font-size:25px}.game-mini span:nth-child(2){background:#faecde}.game-mini span:nth-child(3){background:var(--coral-soft);color:var(--coral-dark)}
.chat-layout{display:grid;grid-template-columns:285px minmax(0,1fr);height:calc(100vh - 205px);min-height:560px;max-height:780px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow)}.conversation-sidebar{border-right:1px solid var(--line);display:flex;flex-direction:column;min-height:0}.conversation-sidebar-title{font-size:13px;font-weight:800;padding:20px 19px 15px}.conversation-list{overflow:auto;padding:0 8px 12px}.conversation-item{border:0;background:transparent;width:100%;display:flex;align-items:center;gap:11px;text-align:left;border-radius:12px;padding:10px 9px;color:var(--ink)}.conversation-item:hover{background:#f7f1ea}.conversation-item.is-active{background:var(--sage-soft)}.conversation-item .avatar{width:42px;height:42px}.conversation-item-text{min-width:0}.conversation-item strong{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-item small{display:block;font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-separator{font-size:10px;font-weight:850;letter-spacing:.13em;color:#aaa096;margin:18px 12px 6px;text-transform:uppercase}.conversation-panel{min-width:0;display:flex;flex-direction:column;background:#fffefa}.conversation-header{height:70px;border-bottom:1px solid var(--line);padding:0 19px;display:flex;align-items:center;gap:10px;flex:none}.conversation-header .avatar{width:39px;height:39px}.conversation-title-wrap{display:flex;flex-direction:column;min-width:0}.conversation-title-wrap strong{font-size:14px}.conversation-title-wrap small{font-size:11px;color:var(--muted)}.chat-back{display:none}.messages-list{flex:1;min-height:0;overflow:auto;padding:25px 28px;display:flex;flex-direction:column;gap:15px;background:radial-gradient(circle at 12% 8%,rgba(236,226,206,.2),transparent 25%),radial-gradient(circle at 88% 94%,rgba(230,223,204,.25),transparent 28%)}.message-row{display:flex;align-items:end;gap:8px;max-width:86%}.message-row.is-mine{align-self:flex-end;flex-direction:row-reverse}.message-row .avatar{width:29px;height:29px;font-size:10px}.message-bubble{padding:9px 13px;border:1px solid #eee8df;background:#fff;border-radius:14px 14px 14px 3px;box-shadow:0 2px 6px rgba(80,54,34,.03);min-width:0}.is-mine .message-bubble{background:var(--coral-soft);border-color:#f4d4c7;border-radius:14px 14px 3px 14px}.message-bubble strong{display:block;color:var(--coral-dark);font-size:11px;margin-bottom:3px}.message-bubble p{margin:0;color:var(--ink);font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.message-bubble time{display:block;text-align:right;color:#a19284;font-size:10px;margin-top:4px}.messages-empty{margin:auto;max-width:300px;text-align:center}.messages-empty span{display:block;font-size:43px;margin-bottom:8px}.messages-empty strong{font-family:Georgia,serif;font-size:21px;font-weight:500}.messages-empty p{font-size:13px;margin:8px 0}.message-form{display:flex;align-items:end;gap:9px;border-top:1px solid var(--line);padding:13px 18px;background:#fffefa}.message-form textarea{flex:1;min-width:0;min-height:44px;max-height:120px;resize:vertical;border:1px solid var(--line);border-radius:12px;padding:11px 13px;outline:none;background:#fffdfa;color:var(--ink);font-size:13px}.message-form textarea:focus{border-color:var(--coral)}.send-button{width:44px;height:44px;border:0;border-radius:12px;display:grid;place-items:center;background:var(--coral);color:white;flex:none}.send-button:hover{background:var(--coral-dark)}
.photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.photo-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:var(--shadow)}.photo-card img{display:block;width:100%;height:245px;object-fit:cover;background:#f0e7dc}.photo-card-body{padding:14px 16px 17px}.photo-card-body p{font-size:13px;color:var(--ink);margin:0 0 11px;overflow-wrap:anywhere}.photo-card-meta{display:flex;align-items:center;justify-content:space-between;gap:7px;font-size:11px;color:var(--muted)}.photo-card-meta strong{color:#6e655c}.photo-card-meta .avatar{width:24px;height:24px;font-size:9px;margin-right:5px}.photo-card-author{display:flex;align-items:center;min-width:0}.photo-card-author strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.empty-page{grid-column:1/-1;min-height:350px;display:grid;place-content:center;justify-items:center;text-align:center;border:1px dashed #dccdbe;border-radius:var(--radius);background:var(--surface);padding:30px}.empty-page-icon{font-size:54px;line-height:1;color:var(--coral);margin-bottom:13px}.empty-page h2{font-family:Georgia,serif;font-size:26px;font-weight:500;margin:0 0 7px}.empty-page p{max-width:345px;font-size:13px;margin:0 0 18px}
.load-more-wrap{grid-column:1/-1;display:flex;justify-content:center;padding:5px 0 15px}.home-photos:has(.home-empty){display:block}.home-photos .home-empty{height:100%}
.events-list{display:flex;flex-direction:column;gap:13px}.event-card{display:flex;align-items:center;gap:19px;background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:17px 20px;box-shadow:var(--shadow)}.event-card .event-date-chip{width:62px;height:62px;font-size:25px}.event-card .event-date-chip small{font-size:11px}.event-card-body{flex:1;min-width:0}.event-card-body h3{margin:0 0 4px;font-size:17px}.event-card-body p{margin:0;font-size:12px}.event-card-icon{width:39px;height:39px;display:grid;place-items:center;color:var(--coral);background:var(--coral-soft);border-radius:12px}.event-card-icon svg{width:20px;height:20px}
.family-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}.family-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:23px;box-shadow:var(--shadow);display:flex;flex-direction:column;align-items:flex-start;min-height:170px}.family-card .avatar{width:53px;height:53px;font-size:20px;margin-bottom:18px}.family-card h3{margin:0;font-size:17px}.family-card p{font-size:12px;margin:4px 0 12px}.family-card .text-link{margin-top:auto}.role-badge{display:inline-block;border-radius:99px;padding:2px 8px;background:var(--sage-soft);color:var(--sage-dark);font-size:10px;font-weight:800;margin-left:5px}
.games-intro{position:relative;overflow:hidden;display:flex;align-items:center;min-height:200px;border-radius:var(--radius);padding:30px 37px;background:linear-gradient(110deg,#758a66,#5d765c);color:white;margin-bottom:22px}.games-intro>div{max-width:600px;position:relative;z-index:1}.games-intro h2{font-family:Georgia,serif;font-size:32px;font-weight:500;margin:10px 0}.games-intro p{color:#e7eddf;font-size:13px;margin:0}.game-spark{position:absolute;font-size:180px;color:rgba(255,255,255,.06);top:-65px;left:-30px}.game-dice{font-size:94px;position:absolute;right:9%;top:33px;transform:rotate(-16deg)}.games-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.game-card{background:var(--surface);border:1px solid var(--line);border-radius:19px;padding:19px;min-height:300px;box-shadow:var(--shadow)}.game-card h3{font-family:Georgia,serif;font-size:22px;font-weight:500;margin:19px 0 6px}.game-card p{font-size:13px;min-height:40px;margin-bottom:16px}.coming-soon{display:inline-block;background:var(--sage-soft);color:var(--sage-dark);border-radius:99px;padding:7px 11px;font-size:11px;font-weight:800}.game-illustration{height:120px;position:relative;display:flex;align-items:center;justify-content:center;gap:3px;border-radius:15px;background:#f8eee4;overflow:hidden}.cards-illustration{background:#f4e7dd}.card-shape{width:54px;height:80px;display:block;border:4px solid white;border-radius:10px;box-shadow:0 7px 13px rgba(65,54,45,.15);transform:rotate(-17deg)}.card-red{background:#d8755e;transform:translateX(18px) rotate(-19deg)}.card-yellow{background:#e6b860;transform:rotate(0deg);z-index:1}.card-green{background:#7f9b70;transform:translateX(-18px) rotate(19deg)}.parchis-illustration{background:#ecf0e3}.parchis-board{display:grid;place-items:center;width:91px;height:91px;border:5px solid white;border-radius:13px;background:conic-gradient(#e0a849 0 25%,#84a076 0 50%,#d5765d 0 75%,#9cb0d0 0);box-shadow:0 6px 12px rgba(65,54,45,.14);font-size:41px;color:white;transform:rotate(8deg)}.parchis-piece{position:absolute;width:17px;height:17px;border-radius:50%;border:3px solid white;box-shadow:0 2px 5px rgba(0,0,0,.1)}.piece-one{background:#d46a57;top:19px;left:25%}.piece-two{background:#6b8c64;bottom:17px;right:24%}.poker-illustration{background:#f0e8e7}.poker-illustration span{display:grid;place-items:center;width:54px;height:77px;background:white;border-radius:9px;border:1px solid #eadbd8;color:#9f493d;font-size:39px;box-shadow:0 5px 12px rgba(65,54,45,.1)}.poker-illustration span:nth-child(1){transform:translateX(16px) rotate(-16deg);color:#3b4140}.poker-illustration span:nth-child(2){z-index:1}.poker-illustration span:nth-child(3){transform:translateX(-16px) rotate(16deg);color:#3b4140}
.mobile-nav{display:none}.modal{border:0;background:transparent;padding:20px;max-width:min(100%,490px);width:100%;overflow:visible}.modal::backdrop{background:rgba(34,31,28,.5);backdrop-filter:blur(3px)}.modal-card{position:relative;background:var(--surface);border-radius:23px;padding:30px;box-shadow:0 20px 60px rgba(34,31,28,.23)}.modal-close{position:absolute;right:20px;top:19px}.modal-icon{width:49px;height:49px;border-radius:14px;display:grid;place-items:center;color:var(--coral);background:var(--coral-soft);font-size:26px;margin-bottom:17px}.modal h2{font-family:Georgia,serif;font-weight:500;font-size:28px;margin:0 30px 8px 0}.modal p{font-size:13px;margin-bottom:21px}.modal .field{margin-bottom:16px}.toast{position:fixed;z-index:30;right:25px;bottom:25px;max-width:min(370px,calc(100vw - 32px));padding:13px 17px;background:#334437;color:white;border-radius:12px;box-shadow:0 8px 30px rgba(34,31,28,.2);font-size:13px;font-weight:650}.toast.is-error{background:#9d483d}
@media(max-width:1200px){.sidebar{width:218px;min-width:218px}.sidebar-brand{font-size:18px;padding-left:8px}.hero-card{grid-column:span 8}.stat-card{grid-column:span 4}.family-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:920px){.sidebar{width:72px;min-width:72px;padding:20px 9px}.sidebar-brand{padding:4px 7px 22px}.sidebar-brand>span:last-child,.sidebar-caption,.nav-item span,.sidebar-quote,.sidebar-user>span:nth-child(2),.sidebar-user .icon-button{display:none}.nav-item{justify-content:center;padding:13px}.sidebar-user{justify-content:center}.topbar{height:75px}.hero-card{grid-column:span 8}.stat-card{grid-column:span 4}.hero-art{opacity:.65}.dashboard-card{grid-column:span 6}.photo-gallery{grid-template-columns:repeat(2,1fr)}.family-grid{grid-template-columns:repeat(2,1fr)}.chat-layout{grid-template-columns:245px minmax(0,1fr);height:calc(100vh - 187px)}}
@media(max-width:700px){.auth-screen{display:block;min-height:100vh;background:var(--paper)}.auth-story{display:none}.auth-panel{min-height:100vh;display:flex;flex-direction:column;align-items:stretch;justify-content:center;padding:26px 24px}.auth-mobile-brand{display:flex;align-self:flex-start;margin-bottom:50px}.auth-card{width:100%;max-width:450px;margin:auto}.auth-card h2{font-size:34px}.sidebar{display:none}.app-shell{display:block}.app-main{width:100%}.topbar{height:68px;padding:0 18px}.topbar .eyebrow{display:none}.topbar-actions{gap:8px}.topbar-avatar{width:33px;height:33px}.connection-status span:last-child{display:none}.top-invite{display:none}.family-shortcut{display:inline-flex}.content-area{padding:24px 17px 100px}.view-heading{margin-bottom:20px}.view-heading h1{font-size:34px}.view-heading p{font-size:13px}.heading-with-action{align-items:flex-start;gap:10px}.heading-with-action .button{font-size:0;padding:11px;width:41px;height:41px;flex:none;margin-top:13px}.heading-with-action .button svg{width:20px;height:20px}.home-grid{display:flex;flex-direction:column;gap:15px}.hero-card{min-height:245px;padding:29px 27px}.hero-card h2{font-size:33px;max-width:310px}.hero-card p{max-width:250px}.hero-art{width:50%;opacity:.4}.stat-card{min-height:125px;display:grid;grid-template-columns:54px 1fr;grid-template-rows:1fr 1fr;column-gap:10px;padding:18px}.stat-icon{grid-row:span 2;margin:0}.stat-card strong{font-size:35px}.stat-card>span:nth-of-type(2){grid-column:2;margin:0}.stat-card .text-link{display:none}.dashboard-card{min-height:220px;padding:19px}.card-heading h2{font-size:17px}.card-heading .text-link{font-size:11px}.mobile-nav{height:70px;display:flex;position:fixed;bottom:0;left:0;right:0;z-index:6;background:rgba(255,253,249,.98);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -4px 20px rgba(80,54,34,.05)}.mobile-nav button{flex:1;border:0;background:transparent;color:#8a827a;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;font-weight:650;padding:5px 1px}.mobile-nav button svg{width:20px;height:20px}.mobile-nav button.is-active{color:var(--coral-dark)}.chat-layout{height:calc(100dvh - 310px);min-height:0;max-height:none;display:block;position:relative}.conversation-sidebar{height:100%;border-right:0}.conversation-panel{position:absolute;inset:0;display:none}.chat-layout.mobile-chat-open .conversation-sidebar{display:none}.chat-layout.mobile-chat-open .conversation-panel{display:flex}.chat-back{display:inline-flex}.messages-list{padding:16px}.message-row{max-width:94%}.photo-gallery{grid-template-columns:repeat(2,1fr);gap:10px}.photo-card img{height:190px}.family-grid{grid-template-columns:repeat(2,1fr);gap:10px}.family-card{padding:17px;min-height:155px}.games-grid{grid-template-columns:1fr}.game-card{min-height:260px}.games-intro{padding:26px;min-height:190px}.games-intro h2{font-size:26px;max-width:300px}.game-dice{right:-7px;top:60px;font-size:66px;opacity:.55}.toast{bottom:83px;right:16px}}
@media(max-width:430px){.view-heading h1{font-size:31px}.view-heading p{max-width:290px}.hero-card{min-height:270px}.hero-card h2{font-size:31px}.hero-art{right:-55px}.home-photos{height:160px}.card-heading .text-link{font-size:0}.card-heading .text-link svg{width:17px;height:17px}.photo-gallery{grid-template-columns:1fr}.photo-card img{height:255px}.family-grid{grid-template-columns:1fr 1fr}.event-card{padding:12px;gap:12px}.event-card-icon{display:none}.auth-panel{padding:24px 20px}.modal{padding:12px}.modal-card{padding:25px 21px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.notification-card{grid-column:1/-1;min-height:0;display:flex;align-items:center;gap:17px;padding:20px 23px}.notification-icon{width:47px;height:47px;display:grid;place-items:center;flex:none;border-radius:14px;background:var(--coral-soft);color:var(--coral-dark)}.notification-icon svg{width:23px;height:23px}.notification-copy{flex:1;min-width:0}.notification-copy h2{font-size:18px;margin:0 0 3px}.notification-copy p{font-size:12px;margin:0}.notification-copy .notification-help{color:var(--coral-dark);font-weight:650;margin-top:6px}.notification-card .button{flex:none}.typing-indicator{flex:none;background:#fffefa;color:var(--sage-dark);font-size:12px;font-weight:700;padding:1px 28px 9px}.typing-indicator:before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:var(--sage)}
@media(max-width:700px){.notification-card{align-items:flex-start;flex-wrap:wrap;gap:11px;padding:17px}.notification-icon{width:39px;height:39px}.notification-copy{flex-basis:calc(100% - 50px)}.notification-card .button{width:100%;margin-top:2px}.typing-indicator{padding:2px 16px 8px}}
.conversation-title-wrap{flex:1}.chat-clear-button{padding:8px 10px;font-size:11px;color:#a54d43;border-color:#ead0c9;box-shadow:none}.chat-clear-button:hover{background:#fbeae5}.chat-clear-button svg{width:16px;height:16px}.event-description{white-space:pre-wrap;color:#4e4740!important;margin-top:8px!important;font-size:13px!important}.event-edit-button{flex:none;margin-left:auto}.event-edit-button svg{width:15px;height:15px}.confirm-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:23px}.button-danger{background:#a84c43;color:white}.button-danger:hover{background:#873c35}
@media(max-width:700px){.conversation-header{gap:7px;padding:0 11px}.chat-clear-button{width:44px;height:44px;padding:10px;justify-content:center}.chat-clear-button span{display:none}.chat-clear-button svg{width:18px;height:18px}.confirm-actions .button{flex:1}.event-edit-button{font-size:12px}}
@media(max-width:430px){.event-card{flex-wrap:wrap}.event-edit-button{margin-left:auto}.confirm-actions{flex-direction:column}.confirm-actions .button{width:100%}}
.photo-delete-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;margin:12px 0 0 auto;padding:8px 12px;border:1px solid #ead0c9;border-radius:10px;background:#fff8f6;color:#a54d43;font-size:12px;font-weight:700}.photo-delete-button:hover{background:#fbeae5}.photo-delete-button svg{width:15px;height:15px}
@media(max-width:700px){.photo-delete-button{min-height:44px}}
