:root {
  --ink:#302939; --muted:#81758b; --line:#eee7f2; --paper:#fff;
  --purple:#71408d; --purple-2:#a978bd; --purple-soft:#f6eff9;
  --lavender:#e1d1ea; --lavender-soft:#fcf9fd;
  --green:#6f9638; --green-soft:#eff5e7; --orange:#e68a28; --orange-soft:#fff3e4;
  --gray:#908895; --shadow:0 14px 38px rgba(57,37,67,.065);
}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent} html{background:#faf8fb;-webkit-text-size-adjust:100%} body{margin:0;color:var(--ink);font-family:ui-rounded,"Hiragino Maru Gothic ProN","Hiragino Sans",-apple-system,BlinkMacSystemFont,"Yu Gothic UI","Meiryo",sans-serif;overflow-x:hidden;letter-spacing:.005em}
button,input{font:inherit} button{color:inherit;touch-action:manipulation;cursor:pointer} button:focus-visible,input:focus-visible{outline:3px solid rgba(122,62,157,.22);outline-offset:2px}button:active{transform:scale(.97)}
.ambient{position:fixed;border-radius:999px;filter:blur(2px);pointer-events:none;z-index:-1}.ambient-a{width:340px;height:340px;background:#f0e8f4;right:-180px;top:-120px}.ambient-b{width:240px;height:240px;background:#f6f0f8;left:-160px;bottom:6%}
.app-shell{width:min(100%,480px);min-height:100dvh;margin:auto;background:rgba(252,250,253,.97);box-shadow:0 0 70px rgba(74,39,91,.08);padding-bottom:calc(92px + env(safe-area-inset-bottom));overflow-x:hidden}
.screen{animation:fade .24s ease}.page-pad{padding:0 18px}.topbar{height:76px;padding:calc(10px + env(safe-area-inset-top)) 18px 8px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:19px;font-weight:700;letter-spacing:.02em}.brand small{display:block;font-size:10px;color:var(--purple);letter-spacing:.14em;margin-top:2px}.avatar-pair{display:flex}.avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;font-size:15px;font-weight:700;color:#fff;border:3px solid #fff;background:linear-gradient(145deg,#a866c5,#71348f)}.avatar.partner{margin-left:-10px;background:linear-gradient(145deg,#cab0da,#795c8a)}
.icon-btn{border:0;background:rgba(255,255,255,.88);border-radius:50%;width:44px;height:44px;display:grid;place-items:center;box-shadow:0 4px 16px rgba(65,45,72,.07);font-size:20px}.top-actions{display:flex;align-items:center;gap:4px}.sync-btn{height:40px;border:1px solid #e9deee;border-radius:99px;background:#fff;padding:0 9px;color:var(--purple);font-size:11px;font-weight:700}.sync-btn.loading{opacity:.55;pointer-events:none}
.eyebrow{color:var(--purple);font-size:12px;font-weight:700;letter-spacing:.08em}.section-title{font-size:20px;margin:4px 0 14px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:26px 0 12px}.section-head h2{margin:0;font-size:17px}.text-btn{border:0;background:none;color:var(--purple);font-size:12px;font-weight:600;padding:8px}
.hero{margin:6px 18px 0;padding:22px;border-radius:26px;background:linear-gradient(145deg,#fff 48%,#faf6fc 100%);box-shadow:var(--shadow);position:relative;overflow:hidden;border:1px solid #eee4f3}.hero:after{content:"✦";position:absolute;right:22px;top:20px;color:#caa9d8;font-size:25px}.hero-month{font-size:13px;color:var(--purple);font-weight:700}.hero h1{font-size:24px;line-height:1.35;margin:9px 0 0}.hero h1 span{color:var(--purple);font-size:30px}.hero p{margin:0;color:var(--muted);font-size:13px}.month-symbols{display:flex;gap:11px;margin:18px 0 12px;padding:11px 14px;width:max-content;max-width:100%;border-radius:14px;background:#fff;border:1px solid #f0e8f3}.month-symbols .status-mark{font-size:19px}.hero-link{min-height:44px;margin-top:15px;padding:0 2px;border:0;background:transparent;color:var(--purple);font-size:13px;font-weight:700}
.mini-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.mini-day{min-width:0;width:100%;border:1px solid var(--line);background:#fff;border-radius:15px;padding:10px 2px;text-align:center}.mini-day .dow{font-size:10px;color:var(--muted)}.mini-day .num{font-size:15px;font-weight:600;margin:4px 0}.dual{display:flex;justify-content:center;gap:3px}.status-mark{font-weight:700;font-size:15px}.s-best{color:var(--purple)}.s-free{color:var(--green)}.s-maybe{color:var(--orange)}.s-busy{color:#a65668}.s-none{color:#b8b2bb;font-weight:500}.people-legend{display:flex;justify-content:flex-end;gap:12px;margin:-5px 2px 6px;color:var(--muted);font-size:10px}.people-legend span{display:flex;align-items:center;gap:4px}.person-dot{width:8px;height:8px;border-radius:50%;background:#a565c2}.person-dot.partner{background:#bba8c5}
.wish-card{background:rgba(255,255,255,.96);border:1px solid var(--line);border-radius:22px;padding:18px;box-shadow:0 7px 24px rgba(57,37,67,.05)}.wish-intro{font-size:13px;color:var(--muted);margin:0 0 14px}.chips{display:flex;flex-wrap:wrap;gap:9px}.chip{min-height:44px;max-width:100%;border:1px solid #e6dbea;border-radius:13px;background:#fff;padding:10px 12px;font-size:13px;display:flex;align-items:center;gap:6px;white-space:normal}.chip.selected{border-color:#b783ce;background:var(--purple-soft);color:#673282}.chip.matched{border-color:#b899c8;background:#f3ebf7;color:#63317b}.chip .check{display:none}.chip.selected .check,.chip.matched .check{display:inline}.add-wish{min-height:44px;margin-top:12px;padding:0;border:0;background:transparent;color:var(--purple);font-size:13px;font-weight:700}
.calendar-card{background:#fff;border-radius:24px;padding:14px;box-shadow:var(--shadow)}.calendar-head{display:flex;justify-content:space-between;align-items:center;padding:5px 2px 12px}.calendar-head h2{font-size:17px;margin:0}.cal-nav{display:flex;gap:5px}.cal-nav button{border:0;background:#faf7fb;border-radius:50%;width:40px;height:40px}.weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.weekday{text-align:center;padding:8px 0;font-size:11px;color:var(--muted)}.weekday.sat{color:#547eb0}.weekday.sun{color:#c86666}.day{height:68px;border:0;background:transparent;border-radius:14px;padding:5px 2px;display:flex;flex-direction:column;align-items:center;gap:3px;position:relative}.day:hover,.day:active{background:#faf7fb}.day.out{opacity:.25}.day.today{background:var(--purple-soft)}.day.mutual{background:#faf6fc}.day.mutual:after{content:"";position:absolute;inset:3px;border:1.5px solid #d1b8dc;border-radius:13px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75);pointer-events:none}.day-number{font-size:13px}.marks{display:flex;gap:3px;font-size:12px;height:18px}.legend{display:flex;flex-wrap:wrap;gap:10px 15px;padding:13px 3px 2px;border-top:1px solid var(--line);font-size:10px;color:var(--muted)}.legend span b{font-size:14px;margin-right:3px}.calendar-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px}.primary,.secondary{min-height:50px;border-radius:15px;font-weight:700;font-size:14px}.primary{border:0;background:linear-gradient(135deg,#794694,#a16ab7);color:#fff;box-shadow:0 8px 18px rgba(113,64,141,.17)}.secondary{border:1px solid #e3d5e9;background:#fff;color:var(--purple)}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);height:calc(74px + env(safe-area-inset-bottom));padding:7px 10px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.95);backdrop-filter:blur(18px);border-top:1px solid #e4d6ec;z-index:20}.nav-item{border:0;background:transparent;color:#978a9f;font-size:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0}.nav-item .nav-icon{font-size:20px;line-height:1}.nav-item.active{color:var(--purple);font-weight:700}.nav-item.input .nav-icon{width:42px;height:42px;margin-top:-25px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#a565c2,#713590);color:#fff;box-shadow:0 8px 18px rgba(89,40,111,.28),0 0 0 4px #f4ebf8}
.page-title{padding:4px 18px 15px}.page-title h1{font-size:25px;margin:5px 0}.page-title p{color:var(--muted);font-size:13px;margin:0}.panel{margin:0 18px 15px;background:rgba(255,255,255,.97);border:1px solid rgba(231,220,237,.72);border-radius:22px;padding:18px;box-shadow:0 8px 25px rgba(57,37,67,.05)}
.person-row{display:flex;align-items:center;gap:10px}.person-row .avatar{width:35px;height:35px}.person-row strong{font-size:14px}.person-row small{display:block;color:var(--muted)}.space-between{display:flex;justify-content:space-between;align-items:center}
.want-list{display:grid;gap:9px}.want-item{border:1px solid var(--line);border-radius:15px;padding:13px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.badge{font-size:10px;padding:5px 8px;border-radius:99px;background:var(--green-soft);color:#527326}.mood-history{display:flex;gap:10px;overflow:auto;padding-bottom:4px}.mood-day{min-width:120px;background:#faf7fb;border-radius:15px;padding:13px}.mood-day small{color:var(--muted)}.mood-day strong{display:block;margin-top:5px;font-size:13px}
.settings-row{min-height:58px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;font-size:14px}.settings-row:last-child{border:0}.toggle{width:48px;height:28px;border:0;border-radius:99px;background:#ddd5df;padding:3px}.toggle:after{content:"";display:block;width:22px;height:22px;border-radius:50%;background:#fff;transition:.2s}.toggle.on{background:var(--purple)}.toggle.on:after{transform:translateX(20px)}
.onboarding{min-height:100dvh;padding:calc(28px + env(safe-area-inset-top)) 22px 30px;display:flex;flex-direction:column}.onboarding-art{height:220px;border-radius:32px;background:linear-gradient(145deg,#f0e3f5,#fff 50%,#eee3dd);display:grid;place-items:center;position:relative;margin:22px 0}.onboarding-art .rings{font-size:78px;letter-spacing:-28px;color:rgba(122,62,157,.75);transform:translateX(-14px)}.onboarding h1{font-size:31px;line-height:1.35;margin:0}.onboarding h1 span{color:var(--purple)}.onboarding p{color:var(--muted);line-height:1.8;font-size:14px}.onboarding .primary{margin-top:auto;width:100%}.onboarding .secondary{margin-top:10px}.field{width:100%;height:52px;border:1px solid #ddd5e1;border-radius:14px;padding:0 14px;background:#fff;margin:8px 0 16px}.steps{display:flex;gap:6px;margin-bottom:25px}.steps i{height:4px;flex:1;border-radius:99px;background:#e9e3eb}.steps i.on{background:var(--purple)}
.sheet-backdrop{position:fixed;inset:0;background:rgba(38,28,42,.34);z-index:50;animation:fade .2s}.sheet{position:absolute;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);max-height:88dvh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:10px 18px calc(24px + env(safe-area-inset-bottom));animation:slide .28s cubic-bezier(.2,.8,.2,1)}.handle{width:42px;height:5px;border-radius:99px;background:#ded8e1;margin:0 auto 14px}.sheet h2{font-size:20px;text-align:center;margin:4px 0}.sheet-sub{text-align:center;color:var(--muted);font-size:12px;margin:5px 0 18px}.status-options{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.status-option{height:82px;border:1px solid var(--line);background:#fff;border-radius:16px;padding:7px 2px;font-size:10px}.status-option b{display:block;font-size:27px;margin-bottom:3px}.status-option.active{border:2px solid currentColor;background:#faf7fb}.status-option.s-busy.active{background:#fff6f8}.status-option.s-none.active{background:#fafafa}.mood-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:18px}.mood-option{height:47px;border:1px solid var(--line);border-radius:13px;background:#fff;font-size:12px}.mood-option.active{background:var(--purple-soft);border-color:#bd94cf;color:#66317e}.sheet .primary{width:100%;margin-top:18px}.sheet-close{position:absolute;left:17px;top:17px;border:0;background:#f7f3f8;width:38px;height:38px;border-radius:50%}
.bulk-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin:14px 0}.bulk-day{aspect-ratio:1;border:1px solid var(--line);background:#fff;border-radius:12px;font-size:12px}.bulk-day.selected{background:var(--purple);color:#fff;border-color:var(--purple)}.bulk-day.empty{visibility:hidden}.bulk-bar{position:sticky;bottom:-24px;background:#fff;padding:12px 0 3px}.repeat-box{margin-top:14px;padding:14px;border-radius:16px;background:#faf7fb}.repeat-box label{display:flex;justify-content:space-between;align-items:center;font-size:13px}.success-pop{position:fixed;left:50%;top:45%;transform:translate(-50%,-50%);z-index:70;width:92px;height:92px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--purple);font-size:42px;box-shadow:0 15px 50px rgba(45,29,53,.25);animation:pop .7s ease both}
.empty-note{text-align:center;padding:35px 20px;color:var(--muted);font-size:13px}.mutual-banner{padding:12px;border-radius:14px;background:var(--green-soft);color:#4e6c27;font-size:12px;margin-top:12px}.invite-code{font-size:28px;letter-spacing:.18em;color:var(--purple);font-weight:700;text-align:center;padding:20px;background:#faf7fb;border-radius:16px;margin:14px 0}
.toast{position:fixed;left:50%;bottom:100px;transform:translate(-50%,16px);z-index:80;max-width:calc(100% - 32px);padding:11px 16px;border-radius:99px;background:#332d36;color:#fff;font-size:12px;box-shadow:0 10px 30px rgba(30,20,35,.25);opacity:0;pointer-events:none;transition:.24s}.toast.show{opacity:1;transform:translate(-50%,0)}
@keyframes fade{from{opacity:0}to{opacity:1}}@keyframes slide{from{transform:translate(-50%,100%)}to{transform:translate(-50%,0)}}@keyframes pop{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}40%{opacity:1;transform:translate(-50%,-50%) scale(1.12)}100%{opacity:0;transform:translate(-50%,-60%) scale(1)}}
@media(min-width:700px){body{padding:22px 0}.app-shell{min-height:calc(100dvh - 44px);border-radius:30px;overflow:hidden}.bottom-nav{bottom:22px;border-radius:0 0 30px 30px}.sheet{bottom:22px;border-radius:28px}}
@media(max-width:350px){.page-pad{padding:0 12px}.hero{margin-left:12px;margin-right:12px}.status-options{gap:4px}.status-option{font-size:9px}.chip{padding:9px}.day{height:62px}.brand{font-size:16px}.brand small{display:none}.avatar{width:32px;height:32px;font-size:12px}.sync-btn{padding:0 7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;scroll-behavior:auto!important}}
