.app-page.mg-home{background:0 0;flex-direction:column;gap:14px;padding-top:18px;padding-bottom:28px;display:flex}.mg-home>*{animation:mg-rise var(--motion-enter) var(--motion-ease) backwards}.mg-home>:nth-child(n+3){animation-delay:60ms}.mg-home-top{justify-content:space-between;align-items:center;gap:12px;display:flex}.mg-home-user{align-items:center;gap:12px;min-width:0;display:flex}.mg-home-user-avatar{border-radius:50%;flex:none;place-items:center;width:48px;height:48px;text-decoration:none;display:grid}.mg-home-user-avatar [data-slot=avatar]{width:100%;height:100%;font-size:18px}.mg-home-user-avatar:focus-visible{outline:2px solid var(--brand-blue);outline-offset:3px}.mg-home-user-copy{min-width:0}.app-shell .mg-home-greeting{font-size:var(--text-title);letter-spacing:-.02em;color:var(--brand-ink);overflow-wrap:anywhere;margin:0;font-weight:700;line-height:1.15}.mg-home-sub{font-size:var(--text-label);color:var(--brand-ink-soft);margin:2px 0 0}.mg-home-bell{border:1px solid var(--brand-line);width:44px;height:44px;color:var(--brand-ink);cursor:pointer;transition:border-color var(--motion-fast), transform var(--motion-fast) var(--motion-ease);background:#fff;border-radius:50%;flex:0 0 44px;place-items:center;display:grid;position:relative}.mg-home-bell:hover{border-color:var(--brand-line-strong)}.mg-home-bell:active{transform:scale(.94)}.mg-home-bell:focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px}.mg-home-bell>svg{stroke-width:1.6px;width:21px;height:21px}.mg-home-bell-dot{top:9px;background:var(--brand-pink);width:10px;height:10px;animation:mg-pop .32s var(--motion-ease) .4s backwards;border:2px solid #fff;border-radius:50%;position:absolute;inset-inline-end:10px}.mg-home-search{border:1px solid var(--brand-line-strong);min-height:48px;transition:border-color var(--motion-fast), box-shadow var(--motion-fast);background:#fff;border-radius:12px;align-items:center;gap:8px;padding-inline:14px 6px;display:flex}.mg-home-search:focus-within{border-color:var(--brand-blue);box-shadow:0 0 0 3px #283b8e24}.mg-home-search-icon{width:19px;height:19px;color:var(--brand-ink-soft);flex:none}.mg-home-search>input{min-width:0;height:46px;color:var(--brand-ink);font:inherit;font-size:var(--text-body);background:0 0;border:0;outline:0;flex:1}.mg-home-search>input::placeholder{color:#6c7391}.mg-home-search>input::-webkit-search-cancel-button{appearance:none}.mg-home-search-btn{min-width:44px;min-height:36px;color:var(--brand-navy);font:inherit;font-size:var(--text-label);cursor:pointer;transition:background-color var(--motion-fast);background:0 0;border:0;border-radius:8px;flex:none;padding-inline:12px;font-weight:600}.mg-home-search-btn:hover{background:var(--brand-sunk)}.mg-home-search-btn:focus-visible{outline:2px solid var(--brand-blue);outline-offset:1px}.mg-home-search-results{animation:mg-rise var(--motion-base) var(--motion-ease) backwards;padding-block:4px}.mg-home-search-empty{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 12px;padding:10px 4px;display:flex}.mg-home-search-empty>p{color:var(--brand-ink-soft);font-size:var(--text-label);margin:0}.mg-home-pill{background:var(--brand-sunk);min-height:44px;color:var(--brand-ink);font-size:var(--text-label);border-radius:10px;align-items:center;padding-inline:14px;font-weight:600;text-decoration:none;display:inline-flex}.mg-home-pill:hover{background:#e6e9f2}.mg-home-hero{border-radius:var(--surface-radius);background:var(--brand-navy);color:#fff;grid-template-columns:minmax(0,1fr) 104px;align-items:end;gap:8px;padding:20px 20px 0;display:grid;position:relative;overflow:hidden}.mg-home-hero-content{flex-direction:column;align-items:flex-start;min-width:0;padding-bottom:20px;display:flex}.mg-home-hero-progress{align-items:center;gap:10px;width:100%;margin-bottom:12px;display:flex}.mg-home-hero-progress-label{font-size:var(--text-meta);color:#ffffffd1;flex:none}.mg-home-hero-progress-label>b{color:#fff;font-weight:700}.mg-home-hero-bar{background:#ffffff38;border-radius:999px;flex:1;max-width:96px;height:4px;overflow:hidden}.mg-home-hero-bar>span{border-radius:inherit;background:#fff;height:100%;display:block}.app-shell .mg-home-hero-title{letter-spacing:-.02em;color:#fff;text-wrap:balance;margin:0;font-size:23px;font-weight:700;line-height:1.25}.mg-home-hero-tail{white-space:nowrap}.mg-home-hero-bol{background:var(--brand-pink);color:#fff;border-radius:8px;padding:0 8px;display:inline-block}.mg-home-hero-copy{max-width:30ch;font-size:var(--text-label);color:#ffffffd1;margin:8px 0 0;line-height:1.55}.mg-home-hero-actions{margin-top:16px}.mg-home-hero-cta{min-height:44px;color:var(--brand-navy);font-size:var(--text-label);transition:transform var(--motion-fast) var(--motion-ease);background:#fff;border-radius:12px;align-items:center;gap:8px;padding-inline:16px 14px;font-weight:700;text-decoration:none;display:inline-flex}.mg-home-hero-cta>svg{stroke-width:2px;width:17px;height:17px;transition:transform var(--motion-base) var(--motion-ease)}.mg-home-hero-cta:hover>svg{transform:translate(-3px)}.mg-home-hero-cta:active{transform:scale(.98)}.mg-home-hero-cta:focus-visible{outline-offset:2px;outline:2px solid #fff}.mg-home-hero-maya{pointer-events:none;align-self:end}.mg-home-hero-maya>img{margin-inline-start:-8px;width:118px;max-width:none;height:auto;margin-bottom:-6px;display:block}.mg-home-card{border:1px solid var(--brand-line);border-radius:var(--surface-radius);box-shadow:var(--brand-shadow-card);background:#fff;padding:6px 14px 8px}.mg-home-card-head{justify-content:space-between;align-items:center;gap:12px;min-height:48px;padding-inline:4px;display:flex}.app-shell .mg-home-card-head h2{font-size:var(--text-section);letter-spacing:-.01em;color:var(--brand-ink);align-items:center;gap:8px;margin:0;font-weight:700;line-height:1.3;display:inline-flex}.mg-home-card-icon{display:none}.mg-home-card-link{min-height:44px;color:var(--brand-navy);font-size:var(--text-meta);align-items:center;gap:4px;font-weight:600;text-decoration:none;display:inline-flex}.mg-home-card-link>svg{stroke-width:2px;width:15px;height:15px;transition:transform var(--motion-base) var(--motion-ease)}.mg-home-card-link:hover>svg{transform:translate(-2px)}.mg-home-card-link:focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px;border-radius:6px}.mg-home-event-list{margin:0;padding:0;list-style:none}.mg-home-event-row{align-items:center;gap:12px;padding:12px 4px;display:flex}.mg-home-event-row+.mg-home-event-row{border-top:1px solid var(--brand-line)}.mg-home-event-tile{flex:none}.mg-home-event-tile[data-urgent] .mg-cal-date{background:var(--brand-soft-pink);color:#a31a60}.mg-home-event-tile[data-urgent] .mg-cal-date>span{color:inherit}.mg-home-event-body{flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.mg-home-event-title{-webkit-line-clamp:2;color:var(--brand-ink);overflow-wrap:anywhere;text-wrap:balance;-webkit-box-orient:vertical;font-size:15.5px;font-weight:600;line-height:1.35;display:-webkit-box;overflow:hidden}.mg-home-event-meta{font-size:var(--text-meta);color:var(--brand-ink-soft);line-height:1.45}.mg-home-event-row>div:has(>.mg-home-event-cta){flex:none}.mg-home-event-cta{border:1px solid var(--brand-line-strong);min-height:38px;color:var(--brand-ink);font:inherit;font-size:var(--text-meta);white-space:nowrap;transition:background-color var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast) var(--motion-ease);background:#fff;border-radius:10px;flex:none;justify-content:center;align-items:center;padding-inline:12px;font-weight:600;text-decoration:none;display:inline-flex;position:relative}.mg-home-event-cta:after{content:"";position:absolute;inset:-3px 0}.mg-home-event-cta:hover{border-color:#161b3d4d}.mg-home-event-cta:active{transform:scale(.97)}.mg-home-event-cta:focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px}.mg-home-event-cta:disabled{opacity:.55}.mg-home-event-primary{background:var(--brand-navy);color:#fff;border-color:#0000}.mg-home-event-primary:hover{background:var(--brand-navy-deep);border-color:#0000}.mg-home-upcoming-empty-icon{color:var(--brand-ink-soft)}.mg-home-bento{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.mg-home-tile{border:1px solid var(--brand-line);min-height:116px;box-shadow:var(--brand-shadow-card);color:var(--brand-ink);transition:border-color var(--motion-fast), transform var(--motion-fast) var(--motion-ease);background:#fff;border-radius:16px;flex-direction:column;justify-content:space-between;gap:14px;padding:12px;text-decoration:none;display:flex;position:relative}.mg-home-tile:hover{border-color:var(--brand-line-strong)}.mg-home-tile:active{transform:scale(.98)}.mg-home-tile:focus-visible{outline:2px solid var(--brand-blue);outline-offset:2px}.mg-home-tile-top{justify-content:space-between;align-items:flex-start;min-height:40px;display:flex}.mg-home-tile-icon{background:var(--brand-sunk);width:40px;height:40px;color:var(--brand-ink);border-radius:12px;place-items:center;display:grid}.mg-home-tile-icon[data-tone=blue]{background:var(--brand-soft-pink);color:var(--brand-pink-deep)}.mg-home-tile-icon>svg{stroke-width:1.7px;width:20px;height:20px}.mg-home-tile-visual{width:40px;height:40px;display:block;position:relative}.mg-home-tile-visual [data-slot=avatar]{width:40px;height:40px}.mg-home-tile-photo{overflow:visible}.mg-home-tile-photo>:is(img,.gift-photo-fallback){object-fit:cover;border-radius:12px;width:40px;height:40px}.mg-home-tile-monogram{background:var(--brand-pink);color:#fff;border:2px solid #fff;border-radius:50%;place-items:center;width:20px;height:20px;font-size:10px;font-weight:700;line-height:1;display:grid;position:absolute;inset-block-end:-4px;inset-inline-end:-6px}.mg-home-tile-monogram>svg{stroke-width:2px;width:11px;height:11px}.mg-home-tile-text{flex-direction:column;gap:1px;min-width:0;display:flex}.mg-home-tile-title{-webkit-line-clamp:2;font-size:var(--text-label);overflow-wrap:anywhere;-webkit-box-orient:vertical;font-weight:600;line-height:1.3;display:-webkit-box;overflow:hidden}.mg-home-tile-meta{font-size:var(--text-caption);color:var(--brand-ink-soft);line-height:1.4}.mg-home-tile-meta[data-accent=pink]{color:#a31a60;font-weight:600}.mg-home-tile.mg-home-tile-wishlist{background:var(--brand-pink-deep);color:#fff;border-color:#0000}.mg-home-tile-wishlist .mg-home-tile-icon{color:#fff;background:#ffffff2e}.mg-home-tile-wishlist .mg-home-tile-meta{color:#fff}@media (width<=599px){.app-page.mg-home{gap:10px;padding-top:12px}.mg-home-hero{padding-block-start:14px}.mg-home-hero-content{padding-block-end:14px}.mg-home-hero-actions{margin-top:10px}.mg-home-event-row{padding-block:8px}}.mg-home-firstrun{padding:18px}.mg-home-firstrun-head>h2{font-size:var(--text-section);margin:0;line-height:1.3}.mg-home-firstrun-head>p{color:var(--brand-ink-soft);font-size:var(--text-label);margin:4px 0 0;line-height:1.5}.mg-home-firstrun-actions{flex-direction:column;gap:8px;margin-top:14px;display:flex}.mg-home-firstrun-actions>[data-slot=button][data-size]{min-height:48px;font-size:var(--text-body)}@media (width<=479px){.mg-home-card .mg-row:has(.mg-chip){flex-wrap:wrap;row-gap:2px}.mg-home-card .mg-row:has(.mg-chip)>.mg-row-action{flex:0 0 calc(100% - 56px);margin-inline-start:56px;padding-bottom:4px}}.mg-home-loading{flex-direction:column;gap:14px;display:flex}.mg-home-loading [data-slot=skeleton]{border-radius:var(--surface-radius)}.mg-home-loading-hero{height:190px}.mg-home-loading-bento{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.mg-home-loading-bento>*{height:116px}.mg-home-loading-row{height:120px}@media (width<=359px){.mg-home-hero{grid-template-columns:minmax(0,1fr) 62px;padding:16px 16px 0}.mg-home-hero-content{padding-bottom:16px}.app-shell .mg-home-hero-title{font-size:21px}.mg-home-hero-cta{font-size:var(--text-meta);white-space:nowrap;padding-inline:12px 10px}.mg-home-hero-maya>img{width:84px;margin-inline-start:-18px}.mg-home-bento{grid-template-columns:minmax(0,1fr);gap:8px}.mg-home-tile{flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;min-height:64px;padding:10px 12px}.mg-home-loading-bento{grid-template-columns:minmax(0,1fr)}.mg-home-loading-bento>*{height:64px}.mg-home-event-row{flex-wrap:wrap}.mg-home-event-row>:is(.mg-home-event-cta,div:has(>.mg-home-event-cta)){flex:0 0 calc(100% - 58px);margin-inline-start:58px}.mg-home-event-cta{width:100%}}@media (width>=600px){.mg-home-hero{grid-template-columns:minmax(0,1fr) 150px;padding:24px 24px 0}.mg-home-hero-content{padding-bottom:24px}.app-shell .mg-home-hero-title{font-size:26px}.mg-home-hero-maya>img{width:150px;margin-inline-start:0}}@media (width>=1000px){.app-page.mg-home{grid-template-columns:minmax(0,1fr) 280px;grid-auto-flow:dense;align-items:start;gap:16px 20px;max-width:960px;padding-top:28px;display:grid}.mg-home>*{grid-column:1}.mg-home>:is(.mg-home-top,.mg-home-loading,.flow-error){grid-column:1/-1}.mg-home>.mg-home-top{margin-bottom:4px}.mg-home-bento{grid-area:span 4/2;grid-template-columns:minmax(0,1fr)}.mg-home-tile{flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;min-height:68px}.app-shell .mg-home-greeting{font-size:30px}}@media (prefers-reduced-motion:reduce){.mg-home>*,.mg-home-search-results,.mg-home-bell-dot{animation:none}.mg-home-bell,.mg-home-tile,.mg-home-hero-cta,.mg-home-hero-cta>svg,.mg-home-card-link>svg,.mg-home-event-cta{transition:none}.mg-home-bell:active,.mg-home-tile:active,.mg-home-hero-cta:active,.mg-home-hero-cta:hover>svg,.mg-home-card-link:hover>svg,.mg-home-event-cta:active{transform:none}}.mg-home-alerts-sheet[data-slot=sheet-content]{inset:max(16px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));width:min(400px,100% - 40px);height:fit-content;max-height:min(520px, calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)));box-shadow:var(--brand-shadow-overlay);border-radius:20px;margin:auto;transition-duration:.16s;overflow:hidden}.mg-home-alerts-sheet:is([data-starting-style],[data-ending-style]){transform:scale(.97)}.mg-home-alerts-sheet [data-slot=sheet-header]{flex-direction:row;flex:none;justify-content:space-between;align-items:center;gap:8px;padding-block:10px 2px;padding-inline:20px 8px}.mg-home-alerts-list{overscroll-behavior:contain;min-height:0;margin:0;padding:0 8px 8px;list-style:none;overflow-y:auto}.mg-home-alerts-list>li+li:before{content:"";background:var(--brand-line);height:1px;margin-inline:12px;display:block}.mg-home-alert{min-height:60px;color:var(--brand-ink);transition:background-color var(--motion-fast);border-radius:12px;align-items:center;gap:12px;padding:11px 12px;text-decoration:none;display:flex}.mg-home-alert:is(:hover,:active){background:#161b3d0a}.mg-home-alert:focus-visible{outline:2px solid var(--brand-blue);outline-offset:-2px}.mg-home-alert-copy{overflow-wrap:anywhere;flex-direction:column;flex:1;gap:1px;min-width:0;display:flex}.mg-home-alert-copy>strong{font-size:15px;font-weight:600;line-height:1.4}.mg-home-alert-copy>span,.mg-home-alerts-empty{font-size:var(--text-meta);color:var(--brand-ink-soft);line-height:1.45}.mg-home-alert-new{background:var(--brand-pink);vertical-align:.14em;border-radius:50%;width:7px;height:7px;margin-inline-end:7px;display:inline-block}.mg-home-alert>svg{width:16px;height:16px;color:var(--brand-ink-soft);flex:0 0 16px}.mg-home-alerts-empty{margin:0;padding:8px 20px 24px}@media (prefers-reduced-motion:reduce){.mg-home-alerts-sheet{transition-duration:0s}.mg-home-alerts-sheet:is([data-starting-style],[data-ending-style]){transform:none}}.mg-home-tile-preferences .mg-home-tile-title{white-space:normal;text-overflow:clip}
