:root { --blue:#2457ff; --navy:#101d4d; --coral:#ff6d6b; --lilac:#ddd5ff; --paper:#fffdf9; --line:#e4e7f2; font-family:"Nunito Sans",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:var(--navy); }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; min-height:100vh; background:#f7f5ff; }
button, input { font:inherit; }
button { cursor:pointer; }
.page-shell { min-height:100vh; display:grid; grid-template-columns:minmax(0,1.25fr) minmax(390px,.75fr); }
.hero { min-height:100vh; position:relative; overflow:hidden; padding:48px clamp(48px,8vw,128px); background:#f3f1ff; }
.brand { color:var(--blue); text-decoration:none; font-weight:700; letter-spacing:-.065em; font-size:28px; }
.hero-copy { position:relative; z-index:2; max-width:580px; margin-top:19vh; }
.eyebrow { margin:0 0 12px; color:var(--blue); letter-spacing:.1em; font-size:12px; font-weight:700; }
h1 { margin:0; max-width:580px; font-size:clamp(42px,4vw,64px); line-height:1.02; letter-spacing:-.06em; }
.lead { max-width:510px; font-size:18px; line-height:1.55; color:#586182; margin-top:24px; }
.hero-art { position:absolute; z-index:1; right:clamp(18px,3vw,48px); top:10%; width:min(35vw,400px); max-height:78vh; object-fit:contain; filter:drop-shadow(0 25px 34px rgba(74, 54, 157, .16)); }
.auth-panel { display:flex; flex-direction:column; justify-content:center; padding:clamp(34px,7vw,88px); background:var(--paper); }
.mobile-brand { display:none; }.auth-heading { max-width:385px; }.auth-heading h2 { margin:0; font-size:34px; letter-spacing:-.055em; }.auth-heading p:not(.eyebrow) { margin:10px 0 28px; color:#657098; }
.auth-tabs { display:flex; padding:4px; gap:4px; width:100%; max-width:385px; border-radius:12px; background:#f1f3fb; margin-bottom:24px; }.tab { flex:1; border:0; border-radius:9px; padding:10px; color:#697291; background:transparent; font-weight:700; }.tab.is-active { color:var(--blue); background:white; box-shadow:0 2px 6px rgba(29,43,92,.1); }
form { width:100%; max-width:385px; } label { display:block; margin:16px 0 7px; font-size:14px; font-weight:600; } input { width:100%; border:1px solid var(--line); border-radius:11px; padding:13px 14px; color:var(--navy); outline:none; background:#fff; } input:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(36,87,255,.12); }.password-wrap { position:relative; }.primary-button { width:100%; min-height:48px; border-radius:11px; font-weight:700; margin-top:24px; border:0; color:white; background:var(--blue); box-shadow:0 9px 18px rgba(36,87,255,.18); }.primary-button:hover { background:#1745df; }.form-message { min-height:20px; margin:9px 0 0; font-size:13px; color:#bd343e; }.form-message.success { color:#14804a; }.legal { max-width:385px; margin:20px 0 0; color:#949bb1; font-size:11px; line-height:1.45; }
@media (max-width: 800px) { .page-shell { display:block; }.hero { display:none; }.auth-panel { min-height:100vh; justify-content:flex-start; padding:34px 24px; }.mobile-brand { display:inline-block; margin-bottom:72px; }.auth-heading h2 { font-size:32px; } }

.dashboard-body { background:#f5f4ff; }.dashboard-shell { min-height:100vh; max-width:1160px; margin:0 auto; padding:32px 48px 80px; }.dashboard-header { display:flex; align-items:center; justify-content:space-between; }.account-menu { display:flex; align-items:center; gap:18px; color:#505b7b; font-weight:700; }.text-button { border:0; background:transparent; color:var(--blue); font-weight:700; padding:8px; }.dashboard-intro { margin:104px 0 48px; max-width:680px; }.dashboard-intro h1 { max-width:680px; font-size:clamp(42px,5vw,68px); }.dashboard-intro > p:not(.eyebrow) { max-width:520px; color:#66708f; font-size:18px; line-height:1.55; }.dashboard-create { width:auto; padding:0 21px; margin-top:15px; }.dashboard-create:disabled { cursor:not-allowed; opacity:.78; }.dashboard-create span { margin-left:8px; padding:3px 7px; border-radius:100px; background:rgba(255,255,255,.22); font-size:11px; }.empty-state { max-width:680px; padding:48px; border:1px solid #e6e5f3; border-radius:28px; background:#fff; box-shadow:0 18px 45px rgba(48,47,102,.07); }.empty-icon { display:grid; place-items:center; width:52px; height:52px; border-radius:16px; color:var(--blue); background:#e9edff; font-size:25px; }.empty-state h2 { margin:21px 0 8px; font-size:26px; letter-spacing:-.04em; }.empty-state p { max-width:430px; margin:0; color:#707998; line-height:1.5; }
@media (max-width: 640px) { .dashboard-shell { padding:24px 20px 52px; }.account-menu { gap:7px; font-size:14px; }.dashboard-intro { margin-top:78px; }.empty-state { padding:32px 24px; } }

.dashboard-body { background:linear-gradient(135deg,#f4f2ff 0%,#fffdf9 58%,#f7f5ff 100%); }.dashboard-shell { max-width:1240px; padding:28px 48px 80px; }.account-menu { gap:13px; font-weight:600; }.account-avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:12px; color:var(--blue); background:#e5e9ff; }.dashboard-message { min-height:20px; margin:12px 0 0; color:#bd343e; font-size:13px; }.dashboard-hero { position:relative; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr); min-height:400px; margin-top:44px; overflow:hidden; border-radius:34px; color:#fff; background:linear-gradient(135deg,#2457ff 0%,#5a54d9 66%,#7658e8 100%); box-shadow:0 24px 60px rgba(40,55,159,.22); }.dashboard-hero-copy { position:relative; z-index:2; padding:clamp(38px,5vw,72px); }.dashboard-hero .eyebrow { color:#dfe5ff; }.dashboard-hero h1 { max-width:640px; margin:0; font-size:clamp(40px,4.3vw,64px); line-height:1.03; letter-spacing:-.06em; }.dashboard-hero-copy > p:not(.eyebrow) { max-width:530px; margin:20px 0 0; color:#e4e6ff; font-size:17px; line-height:1.55; }.dashboard-create { width:auto; padding:0 21px; margin-top:28px; color:var(--blue); background:#fff; box-shadow:none; }.dashboard-create:disabled { cursor:not-allowed; opacity:.96; }.dashboard-create span { margin-left:8px; padding:3px 7px; border-radius:100px; color:#fff; background:var(--coral); font-size:11px; }.dashboard-hero-art { position:relative; min-height:300px; }.dashboard-hero-art img { position:absolute; z-index:2; right:clamp(5px,3vw,38px); bottom:-40px; width:min(100%,390px); filter:drop-shadow(0 25px 25px rgba(14,22,106,.28)); }.dashboard-dot { position:absolute; z-index:1; border-radius:50%; opacity:.9; }.dot-coral { top:52px; left:4%; width:35px; height:35px; background:var(--coral); }.dot-blue { right:4%; top:28px; width:74px; height:74px; border:14px solid #9da9ff; }.events-section { margin-top:52px; }.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; }.section-heading .eyebrow { margin-bottom:8px; }.section-heading h2 { margin:0; font-size:32px; letter-spacing:-.05em; }.event-counter { padding:8px 12px; border-radius:100px; color:#66708f; background:#ebeaff; font-size:13px; font-weight:700; }.empty-state { display:flex; align-items:flex-start; gap:22px; max-width:760px; margin-top:22px; padding:34px; border:1px solid #e3e3f4; border-radius:26px; background:rgba(255,255,255,.86); box-shadow:0 16px 42px rgba(48,47,102,.07); }.empty-icon { display:grid; flex:0 0 auto; place-items:center; width:52px; height:52px; border-radius:16px; color:var(--blue); background:#e9edff; font-size:25px; }.empty-state h3 { margin:0 0 8px; font-size:23px; letter-spacing:-.04em; }.empty-state p { max-width:520px; margin:0; color:#707998; line-height:1.55; }
@media (max-width: 760px) { .dashboard-shell { padding:24px 20px 52px; }.account-menu { gap:7px; font-size:14px; }.account-avatar { display:none; }.dashboard-hero { grid-template-columns:1fr; min-height:0; margin-top:28px; }.dashboard-hero-copy { padding:36px 28px; }.dashboard-hero h1 { font-size:42px; }.dashboard-hero-art { min-height:220px; }.dashboard-hero-art img { right:0; width:275px; bottom:-26px; }.events-section { margin-top:40px; }.section-heading h2 { font-size:28px; }.empty-state { padding:26px; } }

.dashboard-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }.dashboard-actions .primary-button { display:inline-flex; align-items:center; justify-content:center; width:auto; min-width:178px; min-height:50px; margin:0; padding:0 22px; border:1px solid rgba(255,255,255,.72); border-radius:12px; box-shadow:none; text-decoration:none; transition:transform .18s ease,background-color .18s ease,border-color .18s ease,color .18s ease; }.dashboard-actions .primary-button:hover { transform:translateY(-1px); }.dashboard-actions .dashboard-create { color:var(--blue); border-color:#fff; background:#fff; }.dashboard-actions .dashboard-create:hover { color:#1745df; background:#f1f4ff; }.dashboard-actions .dashboard-wishlist-link { color:#fff; background:rgba(255,255,255,.1); }.dashboard-actions .dashboard-wishlist-link:hover { color:var(--blue); border-color:#fff; background:#fff; }
@media (max-width:760px) { .dashboard-actions { flex-direction:column; }.dashboard-actions .primary-button { width:100%; } }
.wishlist-body { min-height:100vh; background:linear-gradient(135deg,#f4f2ff 0%,#fffdf9 56%,#f8f6ff 100%); }.wishlist-shell { max-width:1240px; min-height:100vh; margin:0 auto; padding:28px 48px 80px; }.wishlist-header { display:flex; align-items:center; justify-content:space-between; }.back-link { color:#66708f; text-decoration:none; font-size:14px; font-weight:600; }.wishlist-message { min-height:20px; margin:12px 0 0; color:#bd343e; font-size:13px; }.wishlist-top { display:flex; align-items:end; justify-content:space-between; gap:28px; margin:44px 0 40px; }.wishlist-top > div { max-width:700px; }.wishlist-top h1 { margin:0; font-size:clamp(40px,5vw,64px); letter-spacing:-.06em; line-height:1.03; }.wishlist-top > div > p:not(.eyebrow) { max-width:620px; margin:18px 0 0; color:#687391; font-size:17px; line-height:1.55; }.create-wishlist { width:auto; min-width:190px; padding:0 22px; margin:0; }.wishlist-layout { display:grid; grid-template-columns:260px minmax(0,1fr); gap:38px; align-items:start; }.wishlist-sidebar { padding:18px; border:1px solid #e5e4f4; border-radius:22px; background:rgba(255,255,255,.76); }.sidebar-label { margin:3px 8px 13px; color:#7c85a1; font-size:11px; font-weight:700; letter-spacing:.1em; }.wishlist-list { display:grid; gap:5px; }.wishlist-nav { width:100%; padding:13px 12px; border:0; border-radius:13px; color:#5e6888; background:transparent; text-align:left; }.wishlist-nav strong,.wishlist-nav span { display:block; }.wishlist-nav strong { color:#25335f; font-size:14px; }.wishlist-nav span { margin-top:4px; font-size:12px; }.wishlist-nav:hover,.wishlist-nav.is-selected { color:var(--blue); background:#e9edff; }.wishlist-nav.is-selected strong { color:var(--blue); }.sidebar-empty { margin:5px 8px; color:#8089a5; font-size:13px; line-height:1.45; }.wishlist-content { min-width:0; }.wishlist-empty { padding:70px 38px; border:1px dashed #d9d9ee; border-radius:28px; background:rgba(255,255,255,.62); text-align:center; }.wishlist-empty .empty-icon { margin:0 auto 18px; }.wishlist-empty h2 { margin:0; font-size:26px; letter-spacing:-.04em; }.wishlist-empty p { max-width:410px; margin:10px auto 0; color:#707998; line-height:1.55; }.wishlist-details-header { display:flex; align-items:end; justify-content:space-between; gap:24px; }.wishlist-details-header .eyebrow { margin-bottom:8px; }.wishlist-details-header h2 { margin:0; font-size:34px; letter-spacing:-.05em; }.add-item { width:auto; margin:0; padding:0 18px; }.items-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:24px; }.items-empty { grid-column:1/-1; padding:36px; border:1px dashed #d9d9ee; border-radius:22px; color:#727c9b; background:rgba(255,255,255,.55); text-align:center; }.wish-item { display:flex; min-height:174px; overflow:hidden; border:1px solid #e4e4f2; border-radius:22px; background:#fff; box-shadow:0 12px 32px rgba(54,52,110,.07); }.wish-item-image { display:grid; flex:0 0 38%; place-items:center; width:38%; min-height:174px; color:var(--blue); background:#eef0ff; font-size:24px; object-fit:cover; }.wish-item-image.is-placeholder { object-fit:contain; background:#f5f1ff; }.wish-item-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:20px; }.wish-item-source { margin:0; color:#7c85a1; font-size:11px; font-weight:700; }.wish-item h3 { margin:8px 0 12px; color:#1b2958; font-size:18px; letter-spacing:-.035em; line-height:1.15; }.quantity-badge { padding:5px 8px; border-radius:100px; color:#6070aa; background:#edf0ff; font-size:11px; font-weight:700; }.product-link { margin-top:auto; color:var(--blue); font-size:12px; font-weight:700; text-decoration:none; }.product-link:hover { text-decoration:underline; }.app-dialog { width:min(92vw,540px); max-height:88vh; padding:0; border:0; border-radius:25px; box-shadow:0 30px 90px rgba(21,28,80,.3); }.app-dialog::backdrop { background:rgba(20,25,58,.48); backdrop-filter:blur(3px); }.app-dialog form { position:relative; max-width:none; padding:34px; }.app-dialog h2 { margin:0; font-size:30px; letter-spacing:-.05em; }.dialog-close { position:absolute; top:18px; right:18px; width:34px; height:34px; border:0; border-radius:50%; color:#697291; background:#f0f2fa; font-size:25px; line-height:1; }.dialog-message { min-height:19px; margin:11px 0 0; color:#bd343e; font-size:13px; }.product-url-row { display:flex; gap:8px; }.product-url-row input { min-width:0; }.secondary-button { flex:0 0 auto; padding:0 14px; border:1px solid #cfd5eb; border-radius:11px; color:var(--blue); background:#fff; font-weight:700; }.secondary-button:disabled { opacity:.65; cursor:wait; }.field-note { margin:8px 0 0; color:#7b85a3; font-size:12px; line-height:1.45; }.product-preview { display:flex; gap:13px; margin-top:15px; padding:12px; border-radius:14px; background:#f3f4ff; }.product-preview img { width:56px; height:56px; border-radius:10px; background:#e5e8f8; object-fit:cover; }.product-preview p { margin:0 0 4px; color:#6874a2; font-size:11px; font-weight:700; }.product-preview strong { color:#24325d; font-size:13px; line-height:1.3; } select { width:100%; border:1px solid var(--line); border-radius:11px; padding:13px 14px; color:var(--navy); background:#fff; font:inherit; }
@media (max-width:760px) { .wishlist-shell { padding:24px 20px 52px; }.wishlist-header { align-items:flex-start; }.wishlist-header .account-menu { flex-wrap:wrap; justify-content:flex-end; }.back-link { display:none; }.wishlist-top { display:block; margin:32px 0; }.wishlist-top h1 { font-size:42px; }.create-wishlist { width:100%; margin-top:22px; }.wishlist-layout { grid-template-columns:1fr; gap:22px; }.wishlist-sidebar { padding:12px; }.wishlist-list { grid-auto-flow:column; grid-auto-columns:minmax(180px,1fr); grid-template-rows:1fr; overflow-x:auto; }.wishlist-nav { min-height:66px; }.wishlist-details-header { align-items:flex-start; flex-direction:column; }.add-item { width:100%; }.items-grid { grid-template-columns:1fr; }.app-dialog form { padding:30px 22px; }.product-url-row { flex-direction:column; }.secondary-button { min-height:44px; }.wishlist-empty { padding:52px 24px; } }

.wishlist-tools { display:flex; align-items:center; gap:8px; }.icon-button { display:grid; place-items:center; width:42px; height:42px; border:1px solid #d8dcef; border-radius:12px; color:#50618f; background:#fff; font-size:19px; }.icon-button:hover { color:var(--blue); border-color:#b7c3fb; background:#f1f3ff; }.icon-button.danger:hover { color:#d54b58; border-color:#f1c5ca; background:#fff4f5; }.wish-item-actions { display:flex; gap:11px; width:100%; margin-top:14px; }.item-action { padding:0; border:0; color:#546896; background:transparent; font-size:12px; font-weight:700; }.item-action:hover { color:var(--blue); }.item-delete { color:#bc5964; }.item-delete:hover { color:#d33746; }
@media (max-width:760px) { .wishlist-tools { width:100%; flex-wrap:wrap; }.wishlist-tools .add-item { flex:1 0 100%; order:2; }.wish-item-actions { margin-top:12px; } }

textarea { width:100%; resize:vertical; border:1px solid var(--line); border-radius:11px; padding:13px 14px; color:var(--navy); outline:none; background:#fff; font:inherit; line-height:1.45; }
textarea:focus,select:focus { border-color:var(--blue); box-shadow:0 0 0 3px rgba(36,87,255,.12); outline:none; }
.app-dialog { overflow-y:auto; }
.form-columns { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.events-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:22px; }
.event-card { position:relative; min-height:250px; padding:25px; overflow:hidden; border:1px solid #e2e3f2; border-radius:25px; background:#fff; box-shadow:0 15px 38px rgba(43,47,111,.08); }
.event-card::before { position:absolute; inset:0 0 auto; height:5px; content:""; background:var(--blue); }
.event-card.theme-birthday::before { background:var(--coral); }.event-card.theme-wedding::before { background:#8065e8; }
.event-card-top { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.event-theme,.event-role { display:inline-flex; align-items:center; min-height:30px; padding:6px 10px; border-radius:100px; font-size:12px; font-weight:700; }
.event-theme { color:#314ca5; background:#eef1ff; }.event-role { color:#747c98; background:#f2f2f8; }
.event-card h3 { margin:24px 0 17px; color:#172451; font-size:25px; line-height:1.1; letter-spacing:-.045em; }
.event-meta { margin:9px 0; color:#697493; font-size:14px; line-height:1.4; }
.event-card-footer { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:25px; padding-top:17px; border-top:1px solid #ececf5; }
.event-open { color:var(--blue); text-decoration:none; font-size:13px; font-weight:700; }.event-open:hover { text-decoration:underline; }
.event-invite-button { padding:9px 13px; border:0; border-radius:10px; color:#fff; background:var(--blue); font-size:12px; font-weight:700; }.event-invite-button:disabled { opacity:.6; cursor:wait; }
.event-dialog { width:min(94vw,600px); }

.event-body { min-height:100vh; background:linear-gradient(145deg,#f3f1ff 0%,#fffdf9 55%,#f7f5ff 100%); }
.event-shell { max-width:1180px; min-height:100vh; margin:0 auto; padding:28px 48px 90px; }
.event-page-message { min-height:22px; margin:14px 0; color:#bd343e; font-size:13px; }
.event-hero-detail { display:grid; grid-template-columns:minmax(0,1fr) 220px; gap:38px; align-items:center; min-height:390px; margin-top:38px; padding:clamp(36px,5vw,68px); overflow:hidden; border-radius:34px; color:#fff; background:linear-gradient(135deg,#2457ff 0%,#5753d8 64%,#7b5be6 100%); box-shadow:0 24px 60px rgba(40,55,159,.2); }
.event-hero-labels { display:flex; flex-wrap:wrap; gap:9px; }.event-hero-detail .event-theme { color:#fff; background:rgba(255,255,255,.16); }.event-hero-detail .event-role { color:#e9ebff; background:rgba(20,25,92,.18); }
.event-hero-detail h1 { max-width:720px; margin:22px 0 0; color:#fff; font-size:clamp(43px,5vw,70px); line-height:1; letter-spacing:-.065em; }
.event-description { max-width:650px; margin:22px 0 0; color:#e8e9ff; font-size:17px; line-height:1.6; white-space:pre-wrap; }
.event-share { width:auto; margin-top:28px; padding:0 22px; color:var(--blue); background:#fff; box-shadow:none; }.event-share:hover { color:#fff; }
.event-date-poster { display:flex; flex-direction:column; align-items:center; justify-content:center; width:190px; height:225px; transform:rotate(3deg); border:1px solid rgba(255,255,255,.62); border-radius:30px; color:#243da5; background:#fff; box-shadow:0 22px 42px rgba(17,26,102,.3); }
.event-date-poster span { font-size:76px; font-weight:700; line-height:.9; letter-spacing:-.08em; }.event-date-poster strong { max-width:160px; margin-top:15px; font-size:20px; text-align:center; text-transform:capitalize; }.event-date-poster small { margin-top:7px; color:#7e86a9; font-weight:700; }
.event-info-layout { display:grid; grid-template-columns:minmax(280px,.72fr) minmax(420px,1.28fr); gap:22px; margin-top:28px; }
.event-facts { display:grid; gap:13px; }.event-fact { padding:22px; border:1px solid #e5e5f2; border-radius:20px; background:rgba(255,255,255,.88); }.event-fact span,.event-fact strong { display:block; }.event-fact span { margin-bottom:7px; color:#848ba5; font-size:11px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }.event-fact strong { color:#25335f; font-size:16px; line-height:1.45; }.event-fact a { display:inline-block; margin-top:10px; color:var(--blue); font-size:12px; font-weight:700; text-decoration:none; }
.event-map-wrap { min-height:360px; overflow:hidden; border:1px solid #e3e3ef; border-radius:24px; background:#e9eaf4; }.event-map { display:grid; width:100%; height:100%; min-height:360px; place-items:center; }.event-map-status { max-width:310px; margin:0; padding:24px; color:#687391; line-height:1.5; text-align:center; }.event-map-status.is-error { color:#a64b55; }
.event-wishlist-section { margin-top:52px; }.reservation-note { max-width:590px; margin:10px 0 0; color:#707998; font-size:14px; }
.event-gifts-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:24px; }
.event-gift-card { display:flex; min-height:360px; flex-direction:column; overflow:hidden; border:1px solid #e3e4f1; border-radius:23px; background:#fff; box-shadow:0 13px 34px rgba(45,48,109,.07); transition:transform .18s ease,opacity .18s ease; }
.event-gift-card.is-reserved { opacity:.55; filter:grayscale(.8); }.event-gift-card.is-mine { border-color:#93a5ff; box-shadow:0 13px 34px rgba(36,87,255,.14); }
.event-gift-image { display:grid; place-items:center; width:100%; height:190px; color:var(--blue); background:#eef0ff; font-size:32px; object-fit:cover; }.event-gift-image.is-placeholder { object-fit:contain; background:#f5f1ff; }
.event-gift-body { display:flex; flex:1; flex-direction:column; align-items:flex-start; padding:20px; }.event-gift-body h3 { margin:0 0 13px; color:#1b2958; font-size:19px; line-height:1.2; letter-spacing:-.035em; }
.gift-reservation-status { margin:15px 0 0; color:#536697; font-size:13px; font-weight:700; }.gift-reserver-names { margin:7px 0 0; color:#77809c; font-size:12px; line-height:1.4; }
.event-gift-actions { display:grid; gap:10px; width:100%; margin-top:auto; padding-top:18px; }.event-product-link { display:flex; min-height:42px; align-items:center; justify-content:center; padding:0 13px; border:1px solid #bfc9f6; border-radius:11px; color:var(--blue); background:#f5f7ff; font-size:13px; font-weight:700; text-align:center; text-decoration:none; }.event-product-link:hover { border-color:#92a4f6; background:#ebefff; }
.reservation-button { width:100%; min-height:42px; margin:0; border:0; border-radius:11px; color:#fff; background:var(--blue); font-weight:700; }.reservation-button.cancel { color:#42558a; background:#eef0f9; }.reservation-button:disabled { color:#8b91a6; background:#ececf1; cursor:not-allowed; }

.invite-body { min-height:100vh; background:linear-gradient(145deg,#eef1ff,#fff8f1); }.invite-shell { width:min(100% - 40px,720px); margin:0 auto; padding:38px 0 80px; }.invite-card { margin-top:12vh; padding:clamp(34px,7vw,70px); border:1px solid #e1e3f2; border-radius:32px; background:#fff; box-shadow:0 26px 70px rgba(41,44,105,.13); text-align:center; }.invite-icon { display:grid; place-items:center; width:64px; height:64px; margin:0 auto 22px; border-radius:20px; color:#fff; background:var(--blue); font-size:30px; }.invite-card h1 { margin:0 auto; font-size:clamp(34px,6vw,52px); }.invite-card > p:not(.eyebrow) { margin:20px auto 0; color:#6d7695; line-height:1.55; }.invite-back { display:inline-flex; width:auto; align-items:center; padding:0 22px; text-decoration:none; }

@media (max-width:820px) { .events-grid { grid-template-columns:1fr; }.event-shell { padding:24px 20px 60px; }.event-hero-detail { grid-template-columns:1fr; min-height:0; padding:36px 28px; }.event-date-poster { display:none; }.event-info-layout { grid-template-columns:1fr; }.event-gifts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) { .form-columns { grid-template-columns:1fr; gap:0; }.event-card-footer { align-items:stretch; flex-direction:column; }.event-invite-button { min-height:42px; }.event-hero-detail h1 { font-size:42px; }.event-share { width:100%; }.event-gifts-grid { grid-template-columns:1fr; }.event-map-wrap,.event-map { min-height:300px; } }

/* Profile, attendance and event lifecycle */
button,input,select,textarea { font:inherit; }
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible { outline:3px solid rgba(36,87,255,.28); outline-offset:2px; }
.auth-panel { overflow-y:auto; }
#registration-fields { display:block; }
.account-profile { display:inline-flex; min-width:0; align-items:center; gap:9px; color:var(--navy); text-decoration:none; }
.account-profile:hover { color:var(--blue); }
.account-avatar { display:block; flex:0 0 auto; width:38px; height:38px; border:2px solid rgba(36,87,255,.13); border-radius:50%; background:#e8ebff; object-fit:cover; }
.event-card-labels { display:flex; flex-wrap:wrap; gap:7px; align-items:center; }
.event-status { display:inline-flex; min-height:30px; align-items:center; padding:6px 10px; border-radius:100px; font-size:12px; font-weight:700; }
.status-upcoming { color:#3153b2; background:#e7edff; }
.status-today { color:#a2433f; background:#ffe8e5; }
.status-past { color:#656b78; background:#e8e9ed; }
.status-cancelled { color:#a33e48; background:#ffe2e5; }
.event-card.is-past,.event-card.is-cancelled { opacity:.7; filter:grayscale(1); }
.event-card.is-past:focus-within,.event-card.is-cancelled:focus-within { opacity:.86; }
.event-owner-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.event-owner-actions .event-share,.event-owner-actions .event-edit,.event-owner-actions .event-cancel { width:auto; min-height:48px; margin:0; padding:0 22px; }
.event-owner-actions .event-edit { border-color:rgba(255,255,255,.78); color:#fff; background:rgba(255,255,255,.1); }
.event-owner-actions .event-edit:hover { color:var(--blue); background:#fff; }
.event-owner-actions .event-cancel { border-color:rgba(255,198,202,.8); color:#fff; background:rgba(133,24,47,.18); }
.event-owner-actions .event-cancel:hover { color:#a53343; background:#fff; }
.event-owner-actions .event-cancel.is-restore { border-color:#fff; color:#19734b; background:#fff; }
.event-hero-detail.is-cancelled { background:linear-gradient(135deg,#5d6579 0%,#70738a 64%,#858398 100%); }
.event-rsvp { max-width:470px; margin-top:28px; padding:18px; border:1px solid rgba(255,255,255,.25); border-radius:18px; background:rgba(18,25,99,.16); }
.event-rsvp > p { margin:0 0 12px; color:#fff; font-weight:700; }
.event-rsvp small { display:block; margin-top:10px; color:#dfe4ff; line-height:1.4; }
.rsvp-actions { display:flex; gap:10px; }
.rsvp-button { min-width:130px; min-height:44px; padding:0 18px; border:1px solid rgba(255,255,255,.72); border-radius:11px; color:#fff; background:rgba(255,255,255,.08); font-weight:700; }
.rsvp-button:hover { background:rgba(255,255,255,.18); }
.rsvp-button.is-selected { border-color:#fff; color:var(--blue); background:#fff; box-shadow:0 8px 20px rgba(17,26,102,.2); }
.rsvp-button:disabled { cursor:wait; opacity:.65; }
.event-guests-section { margin-top:52px; }
.event-guests { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:22px; }
.guest-card { display:flex; min-width:0; align-items:center; gap:14px; padding:18px; border:1px solid #e3e4f1; border-radius:19px; background:rgba(255,255,255,.9); box-shadow:0 10px 28px rgba(45,48,109,.06); }
.guest-avatar { flex:0 0 auto; width:52px; height:52px; border-radius:50%; background:#ececff; object-fit:cover; }
.guest-copy { min-width:0; }
.guest-copy h3 { overflow:hidden; margin:0 0 7px; color:#1b2958; font-size:15px; text-overflow:ellipsis; white-space:nowrap; }
.guest-status { display:inline-flex; padding:5px 8px; border-radius:100px; font-size:11px; font-weight:700; }
.guest-status-going { color:#19734b; background:#e2f6ec; }
.guest-status-declined { color:#a34b52; background:#ffe9eb; }
.guest-status-pending { color:#6e7486; background:#eceef3; }
.guest-empty { grid-column:1/-1; padding:30px; border:1px dashed #d9d9ee; border-radius:20px; color:#727c9b; background:rgba(255,255,255,.55); text-align:center; }

.settings-body { min-height:100vh; background:linear-gradient(145deg,#f3f1ff 0%,#fffdf9 55%,#f7f5ff 100%); }
.settings-shell { max-width:1180px; min-height:100vh; margin:0 auto; padding:28px 48px 90px; }
.settings-page-message { min-height:22px; margin:14px 0; color:#bd343e; font-size:13px; }
.settings-top { max-width:700px; margin:48px 0 32px; }
.settings-top h1 { margin:0; font-size:clamp(42px,5vw,62px); letter-spacing:-.06em; line-height:1.02; }
.settings-top > p:not(.eyebrow) { max-width:620px; margin:17px 0 0; color:#687391; font-size:17px; line-height:1.55; }
.settings-card { display:grid; grid-template-columns:240px minmax(0,1fr); gap:42px; padding:36px; border:1px solid #e3e4f1; border-radius:28px; background:rgba(255,255,255,.9); box-shadow:0 18px 48px rgba(45,48,109,.08); }
.settings-card form { max-width:none; }
.avatar-settings { align-self:start; }
.profile-avatar-preview { display:block; width:160px; height:160px; border:6px solid #fff; border-radius:38px; background:#ececff; box-shadow:0 16px 36px rgba(48,47,102,.16); object-fit:cover; }
.avatar-settings h2 { margin:22px 0 8px; font-size:24px; letter-spacing:-.04em; }
.avatar-settings p { margin:0; color:#717a98; font-size:13px; line-height:1.5; }
input[readonly] { color:#77809a; background:#f5f6fa; }
.file-input { padding:10px; color:#5e6888; background:#fafaff; }
.file-input::file-selector-button { margin-right:12px; padding:9px 12px; border:0; border-radius:9px; color:var(--blue); background:#e9edff; font-weight:700; cursor:pointer; }
.checkbox-row { display:flex; align-items:flex-start; gap:9px; margin-top:19px; color:#626d8e; font-weight:600; line-height:1.4; }
.checkbox-row input { flex:0 0 auto; width:18px; height:18px; margin:1px 0 0; accent-color:var(--blue); }
.settings-submit { width:auto; min-width:210px; padding:0 22px; }
.settings-session-card { display:flex; align-items:center; justify-content:space-between; gap:28px; margin-top:24px; padding:26px 30px; border:1px solid #e3e4f1; border-radius:22px; background:rgba(255,255,255,.84); }
.settings-session-card h2 { margin:0; font-size:22px; letter-spacing:-.04em; }
.settings-session-card p { margin:7px 0 0; color:#717a98; font-size:13px; line-height:1.5; }
.theme-choice { display:flex; height:44px; min-height:44px; box-sizing:border-box; gap:5px; align-items:stretch; padding:4px; border:1px solid var(--line); border-radius:12px; background:var(--canvas); }
.theme-choice label { display:flex; min-height:34px; align-items:stretch; margin:0; cursor:pointer; }
.theme-choice input { position:absolute; width:1px; min-width:1px; height:1px; min-height:1px; margin:0; overflow:hidden; opacity:0; pointer-events:none; }
.theme-choice span { display:flex; min-height:34px; align-items:center; justify-content:center; padding:6px 14px; border-radius:9px; color:var(--navy-soft); font-weight:700; line-height:1; }
.theme-choice input:checked + span { color:#fff; background:var(--blue); box-shadow:var(--shadow-sm); }
.theme-choice input:focus-visible + span { outline:3px solid rgba(36,87,255,.28); outline-offset:2px; }
.settings-contact-link { display:inline-flex; align-items:center; justify-content:center; min-height:44px; text-decoration:none; }
.settings-logout { min-height:46px; color:#b24250; border-color:#e6cbd0; }
.settings-logout:hover { background:#fff4f5; }

@media (max-height:760px) and (min-width:801px) { .auth-panel { justify-content:flex-start; padding-top:34px; padding-bottom:34px; } }
@media (max-width:820px) {
  .event-guests { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .settings-shell { padding:24px 20px 60px; }
  .settings-card { grid-template-columns:1fr; gap:28px; padding:28px; }
  .avatar-settings { display:flex; align-items:center; gap:22px; }
  .profile-avatar-preview { width:120px; height:120px; border-radius:30px; }
  .avatar-settings h2 { margin-top:0; }
}
@media (max-width:600px) {
  .account-profile #account-name { display:none; }
  .account-avatar { display:block; width:36px; height:36px; }
  .event-card-top { flex-wrap:wrap; align-items:flex-start; }
  .event-card-labels { flex:1 1 100%; }
  .event-owner-actions,.rsvp-actions { flex-direction:column; }
  .event-owner-actions .event-share,.event-owner-actions .event-edit,.event-owner-actions .event-cancel,.rsvp-button { width:100%; }
  .event-guests { grid-template-columns:1fr; }
  .settings-top { margin-top:34px; }
  .settings-card { padding:24px 20px; }
  .avatar-settings { align-items:flex-start; }
  .profile-avatar-preview { width:96px; height:96px; border-radius:25px; }
  .settings-submit { width:100%; }
  .settings-session-card { align-items:stretch; flex-direction:column; padding:22px 20px; }
  .settings-logout { width:100%; }
}

/* Friends and birthday calendar */
.header-link { color:#596788; text-decoration:none; font-size:14px; font-weight:700; }
.header-link:hover,.header-link.is-current { color:var(--blue); }
.account-profile-copy { display:block; min-width:0; line-height:1.1; }
.account-profile-copy > span,.account-profile-copy > small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-profile-copy > small { margin-top:4px; color:#8991a8; font-size:10px; font-weight:600; font-variant-numeric:tabular-nums; letter-spacing:.04em; }
.public-id-line { margin:8px 0 0; color:#7a84a1; font-size:12px; }
.public-id-line strong { display:inline-flex; margin-left:4px; padding:4px 8px; border-radius:100px; color:var(--blue); background:#edf0ff; font-variant-numeric:tabular-nums; letter-spacing:.04em; }
select:disabled,input:disabled { cursor:not-allowed; color:#747b90; background:#f0f1f5; opacity:1; }
.birthdays-section { margin-top:58px; }
.section-link { color:var(--blue); font-size:13px; font-weight:700; text-decoration:none; }
.section-link:hover { text-decoration:underline; }
.birthday-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; margin-top:22px; }
.birthday-card { display:flex; min-width:0; gap:16px; align-items:flex-start; padding:19px; border:1px solid #e3e4f1; border-radius:21px; background:rgba(255,255,255,.9); box-shadow:0 11px 30px rgba(45,48,109,.06); }
.birthday-date { display:flex; flex:0 0 58px; height:66px; flex-direction:column; align-items:center; justify-content:center; border-radius:16px; color:#fff; background:linear-gradient(145deg,var(--blue),#6657dc); }
.birthday-date strong { font-size:23px; line-height:1; }
.birthday-date span { margin-top:5px; font-size:11px; font-weight:700; text-transform:uppercase; }
.birthday-card-content { min-width:0; flex:1; }
.birthday-distance { margin:0 0 10px; color:#7c85a1; font-size:11px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; }
.birthday-people { display:grid; gap:8px; }
.birthday-person { display:flex; min-width:0; align-items:center; gap:8px; color:#24325d; font-size:13px; font-weight:700; }
.birthday-person img { flex:0 0 auto; width:28px; height:28px; border-radius:50%; background:#ececff; object-fit:cover; }
.birthday-person span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.birthday-empty { grid-column:1/-1; padding:30px; border:1px dashed #d9d9ee; border-radius:21px; color:#727c9b; background:rgba(255,255,255,.55); text-align:center; }

.friends-body { min-height:100vh; background:linear-gradient(145deg,#f3f1ff 0%,#fffdf9 55%,#f7f5ff 100%); }
.friends-shell { max-width:1180px; min-height:100vh; margin:0 auto; padding:28px 48px 90px; }
.friends-page-message { min-height:22px; margin:14px 0; color:#bd343e; font-size:13px; }
.friends-top { display:grid; grid-template-columns:minmax(0,1fr) minmax(340px,430px); gap:44px; align-items:center; margin:48px 0 46px; }
.friends-top h1 { max-width:630px; margin:0; font-size:clamp(42px,5vw,62px); line-height:1.02; letter-spacing:-.06em; }
.friends-top > div > p:not(.eyebrow) { max-width:580px; margin:17px 0 0; color:#687391; font-size:17px; line-height:1.55; }
.friend-search { max-width:none; padding:24px; border:1px solid #e1e3f1; border-radius:22px; background:rgba(255,255,255,.9); box-shadow:0 14px 38px rgba(45,48,109,.08); }
.friend-search label { margin-top:0; }
.friend-search-row { display:flex; gap:9px; }
.friend-search-row input { min-width:0; font-variant-numeric:tabular-nums; letter-spacing:.04em; }
.friend-search-row .primary-button { flex:0 0 auto; width:auto; min-height:46px; margin:0; padding:0 20px; }
.friend-result-section { margin-bottom:42px; }
.friend-result-section h2 { margin:0 0 18px; font-size:28px; letter-spacing:-.045em; }
.friend-result-section .friend-card { max-width:610px; border-color:#aebcf8; box-shadow:0 14px 36px rgba(36,87,255,.1); }
.friend-requests-section { margin-bottom:46px; }
.friend-request-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:22px; }
.friend-request-panel { min-width:0; padding:20px; border:1px solid #e2e3f1; border-radius:23px; background:rgba(255,255,255,.68); }
.request-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:14px; }
.request-heading h3 { margin:0; color:#27355f; font-size:19px; letter-spacing:-.035em; }
.request-list { display:grid; gap:11px; }
.request-list .friend-card { grid-template-columns:52px minmax(0,1fr); padding:14px; box-shadow:none; }
.request-list .friend-avatar { width:52px; height:52px; }
.request-list .friend-card-actions { grid-column:1/-1; justify-self:stretch; }
.request-list .friend-card-actions button { flex:1 1 130px; }
.request-empty { padding:24px 16px; border:1px dashed #dbdcec; border-radius:16px; color:#8189a1; text-align:center; font-size:13px; }
.friends-list-section { margin-top:8px; }
.friends-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:22px; }
.friend-card { display:grid; grid-template-columns:64px minmax(0,1fr) auto; gap:16px; align-items:center; min-width:0; padding:19px; border:1px solid #e3e4f1; border-radius:21px; background:rgba(255,255,255,.92); box-shadow:0 11px 30px rgba(45,48,109,.06); }
.friend-avatar { width:64px; height:64px; border-radius:50%; background:#ececff; object-fit:cover; }
.friend-card-body { min-width:0; }
.friend-card-body h3 { overflow:hidden; margin:0 0 6px; color:#1b2958; font-size:18px; text-overflow:ellipsis; white-space:nowrap; }
.friend-public-id,.friend-birthday { margin:0; color:#78819c; font-size:12px; }
.friend-public-id { font-variant-numeric:tabular-nums; letter-spacing:.035em; }
.friend-birthday { margin-top:7px; color:#58698e; }
.friend-card-actions { display:flex; flex-wrap:wrap; gap:7px; justify-self:end; }
.friend-add-button,.friend-remove-button,.friend-request-button { min-height:40px; padding:0 13px; border-radius:10px; font-size:12px; font-weight:700; }
.friend-add-button { border:0; color:#fff; background:var(--blue); }
.friend-add-button:disabled { cursor:default; color:#707991; background:#eceef4; }
.friend-remove-button { border:1px solid #efc8cd; color:#b04652; background:#fff7f8; }
.friend-remove-button:hover { color:#fff; background:#c44755; }
.friend-request-button { border:1px solid #ccd3eb; color:#52648f; background:#f8f9ff; }
.friend-request-button:hover { color:var(--blue); border-color:#adbaf4; background:#edf1ff; }
.friends-empty { grid-column:1/-1; padding:42px; border:1px dashed #d9d9ee; border-radius:23px; color:#727c9b; background:rgba(255,255,255,.55); text-align:center; }

@media (max-width:900px) {
  .birthday-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .friends-top { grid-template-columns:1fr; gap:24px; }
  .friend-request-columns { grid-template-columns:1fr; }
  .friends-grid { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .header-link { font-size:13px; }
  .birthday-grid { grid-template-columns:1fr; }
  .birthdays-section { margin-top:46px; }
  .friends-shell { padding:24px 20px 60px; }
  .friends-top { margin:34px 0; }
  .friends-top h1 { font-size:42px; }
  .friend-search { padding:20px; }
  .friend-search-row { flex-direction:column; }
  .friend-search-row .primary-button { width:100%; }
  .friend-card { grid-template-columns:54px minmax(0,1fr); gap:13px; }
  .friend-avatar { width:54px; height:54px; }
  .friend-card-actions { grid-column:1/-1; justify-self:stretch; }
  .friend-add-button,.friend-remove-button,.friend-request-button { width:100%; }
}

/* Event archive tabs and public identity */
.event-tabs { display:inline-flex; gap:5px; margin-top:22px; padding:5px; border:1px solid #e0e2f0; border-radius:14px; background:rgba(255,255,255,.76); box-shadow:0 8px 24px rgba(45,48,109,.05); }
.event-tab { min-height:40px; padding:0 16px; border:0; border-radius:10px; color:#687391; background:transparent; font-size:13px; font-weight:700; transition:color .18s ease,background-color .18s ease,box-shadow .18s ease; }
.event-tab:hover { color:var(--blue); background:#eef1ff; }
.event-tab.is-active { color:#fff; background:var(--blue); box-shadow:0 7px 16px rgba(36,87,255,.2); }
.event-tab:disabled { cursor:wait; opacity:.7; }
.event-owner-public-id,.user-public-id { display:block; margin-top:5px; color:#7b85a3; font-size:11px; font-weight:600; font-variant-numeric:tabular-nums; letter-spacing:.04em; }
.guest-copy .user-public-id { margin:4px 0 8px; }
.event-owner-actions .event-delete { width:auto; min-height:48px; margin:0; padding:0 22px; border-color:rgba(255,208,211,.94); color:#fff; background:#b93648; }
.event-owner-actions .event-delete:hover { border-color:#fff; color:#a32639; background:#fff; }

@media (max-width:600px) {
  .event-tabs { display:flex; width:100%; }
  .event-tab { flex:1; min-width:0; padding:0 10px; }
  .event-owner-actions .event-delete { width:100%; }
}

/* Email authentication, recovery and route guards */
.auth-gate { display:grid; min-height:100vh; place-items:center; padding:28px; background:linear-gradient(145deg,#f1efff 0%,#fffdf9 65%,#f8f5ff 100%); }
.auth-gate p { margin:0; padding:14px 18px; border:1px solid #e0e3f2; border-radius:14px; color:#657098; background:rgba(255,255,255,.9); box-shadow:0 12px 34px rgba(45,48,109,.08); font-size:14px; font-weight:600; }
.auth-flow-body { min-height:100vh; background:linear-gradient(145deg,#f1efff 0%,#fffdf9 60%,#f8f5ff 100%); }
.auth-flow-shell { width:min(100% - 40px,620px); margin:0 auto; padding:36px 0 72px; }
.auth-flow-shell > .brand { display:inline-block; margin-bottom:42px; }
.auth-flow-card { padding:clamp(30px,6vw,54px); border:1px solid #e1e3f2; border-radius:30px; background:rgba(255,255,255,.94); box-shadow:0 24px 68px rgba(41,44,105,.13); }
.auth-flow-card h1 { margin:0; font-size:clamp(34px,7vw,48px); line-height:1.04; letter-spacing:-.055em; }
.auth-flow-card > p,.auth-flow-card > div > p:not(.eyebrow):not(.form-message) { color:#697493; line-height:1.55; }
.auth-flow-card form { max-width:none; margin-top:24px; }
.auth-flow-icon { display:grid; width:62px; height:62px; margin-bottom:24px; place-items:center; border-radius:19px; color:#fff; background:linear-gradient(145deg,var(--blue),#6757dc); box-shadow:0 12px 26px rgba(36,87,255,.2); font-size:27px; }
.auth-flow-actions { display:grid; gap:10px; margin-top:24px; }
.auth-flow-actions .primary-button,.auth-flow-actions .secondary-button { display:flex; width:100%; min-height:48px; align-items:center; justify-content:center; margin:0; }
.auth-email { color:#24325d; overflow-wrap:anywhere; }
.auth-text-button { border:0; color:var(--blue); background:transparent; font-size:13px; font-weight:700; text-decoration:none; }
.auth-text-button:hover,.auth-back-link:hover { text-decoration:underline; }
.forgot-password-link { display:block; margin:10px 0 0 auto; padding:4px 0; }
.auth-back-login { margin-top:10px; padding:6px 0; }
.auth-back-link { display:inline-flex; margin-top:18px; color:var(--blue); font-size:13px; font-weight:700; text-decoration:none; }
.auth-switch-account { display:flex; width:100%; min-height:46px; align-items:center; justify-content:center; margin-top:14px; text-align:center; }
.email-verification-row { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:9px; }
.email-verification-status { margin:0; color:#a34b52; font-size:12px; line-height:1.45; }
.email-verification-status.is-verified { color:#19734b; }
.email-verification-link { display:inline-flex; flex:0 0 auto; min-height:40px; align-items:center; justify-content:center; text-decoration:none; }
input[aria-invalid="true"],select[aria-invalid="true"] { border-color:#cf4a58; box-shadow:0 0 0 3px rgba(207,74,88,.12); }

@media (max-width:600px) {
  .auth-flow-shell { width:min(100% - 32px,620px); padding:24px 0 48px; }
  .auth-flow-shell > .brand { margin-bottom:30px; }
  .auth-flow-card { padding:28px 22px; border-radius:24px; }
  .email-verification-row { align-items:stretch; flex-direction:column; }
  .email-verification-link { width:100%; }
}

/* Shared application navigation and notifications */
.app-header { position:relative; z-index:30; display:grid; grid-template-columns:auto minmax(0,1fr) auto; gap:22px; align-items:center; min-height:50px; }
.app-nav { display:flex; min-width:0; align-items:center; justify-content:center; gap:3px; }
.app-nav-link { padding:9px 8px; border-radius:10px; color:#5d6888; font-size:12px; font-weight:700; line-height:1.15; text-align:center; text-decoration:none; white-space:nowrap; }
.app-nav-link:hover,.app-nav-link.is-current { color:var(--blue); background:#e9edff; }
.app-header-actions { display:flex; min-width:0; align-items:center; justify-content:flex-end; gap:10px; }
.app-header .account-avatar { display:block; }
.account-profile-copy { max-width:118px; }
.account-avatar-wrap { position:relative; display:inline-flex; flex:0 0 auto; }
.notification-badge { display:grid; position:absolute; min-width:18px; height:18px; place-items:center; padding:0 4px; border:2px solid #fff; border-radius:100px; color:#fff; background:var(--coral); font-size:9px; font-weight:700; line-height:1; }
.app-notifications { position:relative; }
.notification-button { position:relative; display:grid; width:40px; height:40px; place-items:center; padding:0; border:1px solid #dfe2f1; border-radius:12px; color:#4e5d8c; background:rgba(255,255,255,.82); }
.notification-button:hover,.notification-button[aria-expanded="true"] { color:var(--blue); border-color:#b8c4fb; background:#f0f3ff; }
.notification-icon { font-size:21px; line-height:1; }
.notification-badge { top:-7px; right:-7px; }
.notification-panel { position:absolute; top:calc(100% + 12px); right:0; width:min(380px,calc(100vw - 32px)); max-height:min(560px,70vh); overflow:auto; border:1px solid #dfe2f0; border-radius:20px; background:#fff; box-shadow:0 24px 65px rgba(29,35,91,.2); }
.notification-heading { display:flex; position:sticky; z-index:2; top:0; align-items:center; justify-content:space-between; gap:16px; padding:17px 18px 13px; border-bottom:1px solid #ececf5; background:#fff; }
.notification-heading h2 { margin:0; color:#1b2958; font-size:18px; letter-spacing:-.035em; }
.notification-mark-all { padding:5px; border:0; color:var(--blue); background:transparent; font-size:11px; font-weight:700; }
.notification-status { margin:0; padding:28px 18px; color:#77809a; font-size:13px; line-height:1.45; text-align:center; }
.notification-list { display:grid; }
.notification-item { border-bottom:1px solid #efeff6; }
.notification-item:last-child { border-bottom:0; }
.notification-item.is-unread { background:#f2f5ff; }
.notification-content { display:block; padding:15px 18px; color:#26345f; text-decoration:none; }
.notification-content.has-actor { display:grid; grid-template-columns:42px minmax(0,1fr); gap:11px; align-items:start; }
.notification-content.has-achievement { display:grid; grid-template-columns:42px minmax(0,1fr); gap:11px; align-items:start; }
.notification-achievement-icon { display:grid; width:42px; height:42px; place-items:center; border-radius:14px; background:#f0edff; font-size:21px; }
.notification-avatar { width:42px; height:42px; border-radius:50%; background:#ececff; object-fit:cover; }
.notification-copy { display:block; min-width:0; }
.notification-content:hover { background:rgba(36,87,255,.055); }
.notification-content strong { display:block; font-size:13px; line-height:1.35; }
.notification-content p { margin:5px 0 8px; color:#687391; font-size:12px; line-height:1.45; }
.notification-meta { color:#9299ad; font-size:10px; }
.app-menu-toggle { display:none; width:42px; height:42px; padding:9px; border:1px solid #dfe2f0; border-radius:12px; background:#fff; }
.app-menu-toggle span { display:block; width:100%; height:2px; margin:4px 0; border-radius:2px; background:#40517e; transition:transform .18s ease,opacity .18s ease; }
.app-menu-toggle.is-open span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.app-menu-toggle.is-open span:nth-child(2) { opacity:0; }
.app-menu-toggle.is-open span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.app-mobile-menu { position:absolute; top:calc(100% + 10px); right:0; left:0; padding:10px; border:1px solid #dfe2f0; border-radius:18px; background:#fff; box-shadow:0 22px 56px rgba(29,35,91,.18); }
.app-mobile-nav-link { display:flex; min-height:46px; align-items:center; padding:0 14px; border:0; border-radius:11px; color:#536184; background:transparent; font-size:14px; font-weight:700; text-decoration:none; }
.app-mobile-nav-link:hover,.app-mobile-nav-link.is-current { color:var(--blue); background:#edf1ff; }

/* Friend profile */
.profile-body { min-height:100vh; background:linear-gradient(145deg,#f3f1ff 0%,#fffdf9 55%,#f7f5ff 100%); }
.profile-shell { max-width:1180px; min-height:100vh; margin:0 auto; padding:28px 48px 90px; }
.profile-page-message { min-height:22px; margin:14px 0; color:#bd343e; font-size:13px; }
.profile-hero-card { display:grid; grid-template-columns:180px minmax(0,1fr) auto; gap:34px; align-items:center; margin-top:40px; padding:38px; border:1px solid #e1e3f1; border-radius:30px; background:rgba(255,255,255,.92); box-shadow:0 20px 52px rgba(45,48,109,.1); }
.profile-hero-avatar { width:180px; height:180px; border:7px solid #fff; border-radius:42px; background:#ececff; box-shadow:0 16px 38px rgba(48,47,102,.15); object-fit:cover; }
.profile-hero-copy { min-width:0; }
.profile-hero-copy h1 { overflow-wrap:anywhere; font-size:clamp(38px,5vw,58px); }
.profile-public-id { margin:12px 0 0; color:#687391; font-size:14px; font-weight:700; font-variant-numeric:tabular-nums; letter-spacing:.04em; }
.profile-birthday { margin:16px 0 0; color:#53658f; font-size:14px; }
.profile-hero-actions { display:grid; gap:9px; justify-items:stretch; }
.profile-primary-action { display:inline-flex; width:auto; min-width:176px; margin:0; align-items:center; justify-content:center; padding:0 20px; text-decoration:none; }
.profile-secondary-action { min-height:46px; }
.profile-content-section { margin-top:48px; }
.profile-content-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:22px; }
.profile-summary-card { min-width:0; padding:22px; border:1px solid #e2e3f1; border-radius:21px; background:rgba(255,255,255,.9); box-shadow:0 10px 28px rgba(45,48,109,.055); }
.profile-summary-card h3 { margin:0; color:#1b2958; font-size:20px; line-height:1.2; letter-spacing:-.035em; }
.profile-summary-card p { margin:10px 0 0; color:#697493; font-size:13px; line-height:1.45; }
.profile-summary-card a { display:inline-flex; margin-top:16px; color:var(--blue); font-size:12px; font-weight:700; text-decoration:none; }
.profile-summary-card a:hover { text-decoration:underline; }
.profile-empty { grid-column:1/-1; padding:36px; border:1px dashed #d9d9ee; border-radius:22px; color:#727c9b; background:rgba(255,255,255,.55); text-align:center; }
.profile-private-note { margin:18px 0 0; color:#7b85a3; font-size:12px; line-height:1.5; }
.profile-notification-feed { grid-template-columns:1fr; }
.profile-feed-card { position:relative; padding-left:26px; }
.profile-feed-card.is-unread::before { content:""; position:absolute; top:26px; left:10px; width:8px; height:8px; border-radius:50%; background:var(--coral); }
.profile-feed-time { display:block; margin-top:10px; color:#8a92aa; font-size:11px; }
.profile-wishlist-items { display:grid; gap:9px; margin-top:16px; }
.profile-wishlist-item { display:grid; grid-template-columns:42px minmax(0,1fr) auto; gap:10px; align-items:center; padding:9px; border-radius:13px; background:#f5f5ff; }
.profile-wishlist-item img { width:42px; height:42px; border-radius:10px; background:#ececff; object-fit:cover; }
.profile-wishlist-item strong,.profile-wishlist-item small { display:block; overflow-wrap:anywhere; }
.profile-wishlist-item strong { color:#26345d; font-size:12px; }
.profile-wishlist-item small { margin-top:3px; color:#818aa4; font-size:10px; }
.profile-wishlist-item a { margin:0; white-space:nowrap; }

.friend-profile-link,.guest-profile-link { display:flex; min-width:0; align-items:center; gap:inherit; color:inherit; text-decoration:none; }
.friend-profile-link { grid-column:1/3; }
.friend-profile-link .friend-card-body { align-self:center; }
.friend-profile-link:hover h3,.guest-profile-link:hover h3 { color:var(--blue); }
.guest-card { flex-wrap:wrap; }
.guest-profile-link { flex:1 1 170px; gap:14px; }
.guest-friend-action { flex:0 0 auto; min-height:38px; padding:0 11px; border:1px solid #cbd3ee; border-radius:10px; color:var(--blue); background:#f7f9ff; font-size:11px; font-weight:700; }
.guest-friend-action:hover { color:#fff; border-color:var(--blue); background:var(--blue); }
.guest-friend-action:disabled { cursor:default; color:#747d95; border-color:#e0e2eb; background:#eff0f4; }
.guest-status-organizer { color:#3153b2; background:#e7edff; }

@media (max-width:1100px) {
  .app-nav { display:none; }
  .app-menu-toggle { display:block; }
  .app-header { grid-template-columns:auto minmax(0,1fr); }
  .app-header-actions { grid-column:2; }
}
@media (max-width:760px) {
  .dashboard-hero-copy { z-index:3; padding-bottom:20px; }
  .dashboard-actions { position:relative; z-index:4; }
  .dashboard-hero-art { z-index:1; min-height:210px; margin-top:-18px; pointer-events:none; }
  .dashboard-hero-art img { z-index:1; }
  .profile-shell { padding:24px 20px 60px; }
  .profile-hero-card { grid-template-columns:112px minmax(0,1fr); gap:22px; margin-top:30px; padding:26px; }
  .profile-hero-avatar { width:112px; height:112px; border-width:5px; border-radius:30px; }
  .profile-hero-actions { grid-column:1/-1; }
  .profile-primary-action,.profile-secondary-action { width:100%; }
  .profile-content-grid { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .app-header { gap:10px; }
  .app-header .brand { font-size:24px; }
  .app-header-actions { gap:6px; }
  .app-header .account-profile-copy { display:none; }
  .app-header .account-avatar { width:38px; height:38px; }
  .notification-panel { position:fixed; top:82px; right:16px; left:16px; width:auto; max-height:calc(100vh - 104px); }
  .profile-hero-card { grid-template-columns:84px minmax(0,1fr); gap:17px; padding:22px 18px; }
  .profile-hero-avatar { width:84px; height:84px; border-radius:24px; }
  .profile-hero-copy h1 { font-size:34px; }
  .profile-content-section { margin-top:40px; }
  .guest-friend-action { flex:1 1 100%; }
}
