:root{--bg-top: #e0f2fe;--bg-bottom: #fef3c7;--card: #ffffff;--text: #1e1b4b;--muted: #6366f1;--accent: #f472b6;--accent-2: #a78bfa;--success: #34d399;--shadow: 0 8px 24px rgba(99, 102, 241, .18);--radius: 22px;--tap: min(56px, 14vw);--safe-bottom: env(safe-area-inset-bottom, 0px)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Fredoka,system-ui,sans-serif;color:var(--text);-webkit-tap-highlight-color:transparent;touch-action:manipulation}body{background:linear-gradient(165deg,var(--bg-top) 0%,#fce7f3 45%,var(--bg-bottom) 100%);background-attachment:fixed;padding:16px;padding-bottom:calc(24px + var(--safe-bottom))}.wrap{max-width:min(560px,100%);margin:0 auto}.main-panels{display:block}.add-task-submit-row{display:flex;flex-direction:row;align-items:stretch;gap:10px;width:100%}.add-task-submit-row .add-task-submit-main,.add-task-submit-row .btn-ai-task{width:auto}.add-task-submit-main{flex:3 1 0;min-width:0}.btn-ai-task{flex:1 1 0;min-width:0;display:inline-flex;align-items:center;justify-content:center;min-height:var(--tap);padding:10px 12px;font-family:inherit;font-size:.95rem;font-weight:800;letter-spacing:.08em;border-radius:18px;border:3px solid #c4b5fd;background:linear-gradient(180deg,#faf5ff,#ede9fe);color:#5b21b6;box-shadow:0 4px #ddd6fe;cursor:pointer;transition:transform .08s ease,box-shadow .08s ease}.btn-ai-task:disabled{opacity:.55;cursor:not-allowed}.btn-ai-task:active:not(:disabled){transform:scale(.98)}@media (min-width: 768px){.wrap{max-width:min(1200px,100%)}body{padding:24px 28px}.main-panels{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:flex-start;gap:18px;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:8px}.main-panels .panel{flex:0 0 auto;scroll-snap-align:start;width:min(480px,calc(100vw - 48px));max-width:520px;margin-bottom:0}}@media (min-width: 768px) and (orientation: landscape){html{height:100%}body{min-height:100dvh;min-height:100svh;display:flex;flex-direction:column;padding:max(10px,env(safe-area-inset-top,0px)) max(14px,env(safe-area-inset-right,0px)) max(12px,calc(env(safe-area-inset-bottom,0px) + var(--safe-bottom))) max(14px,env(safe-area-inset-left,0px))}.wrap{flex:1 1 auto;display:flex;flex-direction:column;min-height:0;width:100%;max-width:100%}header{flex-shrink:0;margin-bottom:12px}.main-panels{flex:1 1 auto;min-height:0;align-items:stretch;align-self:stretch}.main-panels .panel{flex:1 1 0;min-width:0;width:auto;max-width:none;min-height:0;display:flex;flex-direction:column;overflow:hidden}#addTaskPanel .add-panel-tabs-row{flex-shrink:0}#addTaskPanel .add-panel-toggle{display:none!important}#addTaskPanel .add-panel-tab-panels{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}#addTaskPanel .add-panel-pane{flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}#addTaskPanel #taskForm{margin:0;padding-bottom:4px}#taskPanel .list-title{flex-shrink:0}#taskPanel .task-list:not(:empty){flex:1 1 auto;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch}#taskPanel .task-list:empty{flex:0 0 auto;overflow:visible}#taskPanel .empty:not([hidden]){flex:1 1 auto;display:flex;align-items:center;justify-content:center;text-align:center;margin:0;min-height:0}#taskPanel .empty[hidden]{display:none!important}}header{text-align:center;margin-bottom:20px}.date-bar{margin-top:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:center;justify-items:center;gap:8px;width:100%;box-sizing:border-box}@media (min-width: 768px) and (orientation: landscape){.date-bar{width:calc(50% - 9px);max-width:calc(50% - 9px);margin-left:0;margin-right:auto;padding-right:6px}}.date-bar-slot{display:flex;justify-content:center;align-items:center;min-width:0;width:100%}.cal-icon-btn{flex-shrink:0;width:48px;height:48px;padding:0;font-size:1.35rem;line-height:1;font-family:inherit;border:3px solid #e9d5ff;border-radius:16px;background:linear-gradient(180deg,#fff,#faf5ff);box-shadow:var(--shadow);cursor:pointer;display:flex;align-items:center;justify-content:center}.cal-icon-btn:active{transform:scale(.96)}.cal-icon-btn[aria-expanded=true]{border-color:var(--accent-2);background:#fff}.share-invite-btn,.header-more-btn{width:auto;min-width:48px;padding:0 10px;font-size:.78rem;font-weight:800;color:#5b21b6}.age-icon-btn{position:relative;border-color:#fecdd3;background:linear-gradient(180deg,#fff,#fff1f2)}.age-icon-btn[aria-expanded=true]{border-color:#f472b6}.age-corner{position:absolute;right:3px;bottom:3px;min-width:1.1em;padding:1px 4px;font-size:.62rem;font-weight:800;line-height:1.2;color:#78350f;background:#fef08a;border:1px solid #eab308;border-radius:6px;pointer-events:none}.auth-header-slot{flex-shrink:0;display:flex;align-items:center;justify-content:center;min-width:48px}.auth-profile-btn{border-color:#c4b5fd;background:linear-gradient(180deg,#fff,#ede9fe)}.auth-profile-btn.auth-profile-btn--nick{width:auto;min-width:48px;max-width:76px;min-height:48px;font-size:.62rem;font-weight:800;padding:4px 6px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#5b21b6}.age-wrap{flex-shrink:0}.age-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:250;display:none;align-items:center;justify-content:center;padding:max(8px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(12px,env(safe-area-inset-bottom,0px)) max(12px,env(safe-area-inset-left,0px));box-sizing:border-box}.age-modal.open{display:flex}.age-modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1e1b4b5c;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.age-dropdown{position:relative;z-index:1;width:100%;max-width:320px;max-height:min(80dvh,80vh,480px);overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:16px 16px 14px;margin:0;background:var(--card);border:3px solid #fbcfe8;border-radius:18px;box-shadow:0 14px 36px #db277738;text-align:left;box-sizing:border-box}.age-dropdown .age-field-label{display:block;margin:0 0 8px;font-size:.95rem;font-weight:700;color:#9d174d}.age-select{width:100%;min-height:52px;padding:12px 14px;font-family:inherit;font-size:1.2rem;font-weight:700;border:3px solid #e9d5ff;border-radius:14px;background:#faf5ff;color:var(--text);cursor:pointer;margin-bottom:10px}.age-select:focus{outline:none;border-color:var(--accent-2);background:#fff}.age-done-btn{width:100%;min-height:48px;font-family:inherit;font-size:1.05rem;font-weight:700;border:none;border-radius:14px;cursor:pointer;color:#fff;background:linear-gradient(135deg,#f472b6,#a78bfa);box-shadow:0 4px #7c3aed}.age-done-btn:active{transform:scale(.99);box-shadow:0 2px #7c3aed}.cal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:180;display:none;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + var(--safe-bottom))}.cal-overlay.open{display:flex}.cal-overlay-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1e1b4b61;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.cal-sheet{position:relative;z-index:1;width:min(400px,100%);max-height:min(88vh,640px);overflow:auto;background:var(--card);border-radius:var(--radius);padding:16px 14px 18px;box-shadow:0 20px 50px #4338ca59;text-align:center;-webkit-overflow-scrolling:touch}.cal-sheet-close{width:100%;min-height:48px;margin-bottom:12px;font-family:inherit;font-size:1.05rem;font-weight:700;border:3px solid #fecdd3;border-radius:16px;background:#fff1f2;color:#9d174d;cursor:pointer}.cal-sheet-close:active{transform:scale(.99)}.cal-toolbar{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.cal-today-btn{min-height:48px;padding:10px 16px;font-family:inherit;font-size:1.05rem;font-weight:800;border:3px solid #86efac;border-radius:16px;background:linear-gradient(180deg,#f0fdf4,#dcfce7);color:#166534;cursor:pointer;flex-shrink:0}.cal-today-btn:active{transform:scale(.98)}.select-trigger{min-height:48px;padding:10px 18px;font-family:inherit;font-size:1.05rem;font-weight:700;border:3px solid #e9d5ff;border-radius:16px;background:linear-gradient(180deg,#faf5ff,#f5f3ff);color:#4338ca;cursor:pointer;display:inline-flex;align-items:center;gap:6px}.select-trigger:active{transform:scale(.98)}.select-trigger[aria-expanded=true]{border-color:var(--accent-2);background:#fff}.dropdown{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%);min-width:min(280px,92vw);max-height:min(320px,50vh);overflow-y:auto;background:#fff;border:3px solid #ddd6fe;border-radius:18px;box-shadow:0 12px 32px #6366f140;z-index:50;padding:8px;display:none}.dropdown.open{display:block}.dropdown--month{z-index:51}.dropdown--year{z-index:52}.dropdown-item{width:100%;min-height:48px;padding:12px 14px;font-family:inherit;font-size:1.05rem;font-weight:600;border:none;border-radius:14px;background:transparent;color:var(--text);text-align:left;cursor:pointer}.dropdown-item:hover,.dropdown-item:focus-visible{background:#ede9fe;outline:none}.dropdown-item[aria-selected=true]{background:linear-gradient(135deg,#fde68a,#fcd34d);color:#78350f}.week-row{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-bottom:6px;font-size:.82rem;font-weight:700;color:#818cf8}.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}.cal-cell{aspect-ratio:1;max-height:52px;margin:0 auto;width:100%;border:3px solid #e9d5ff;border-radius:14px;background:#fafafa;font-family:inherit;font-size:1rem;font-weight:700;color:#64748b;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}.cal-cell:disabled{visibility:hidden;pointer-events:none}.cal-cell--today{border-color:#38bdf8;color:#0369a1;background:#e0f2fe}.cal-cell--has{background:linear-gradient(145deg,#fef08a,#fcd34d);border-color:#f59e0b;color:#92400e;box-shadow:0 3px #d97706}.cal-cell--selected{outline:3px solid #a78bfa;outline-offset:2px}.cal-cell--has.cal-cell--selected{outline-color:#7c3aed}.pig-wrap{flex-shrink:0;position:relative}.pig-btn{position:relative;width:56px;height:56px;padding:0;border:3px solid #fda4af;border-radius:18px;background:linear-gradient(180deg,#ffe4e6,#fecdd3);box-shadow:var(--shadow);cursor:pointer;display:flex;align-items:center;justify-content:center;font-family:inherit}.pig-btn:active{transform:scale(.96)}.pig-emoji{font-size:1.85rem;line-height:1}.coin-badge{position:absolute;right:-4px;top:-4px;min-width:1.5em;padding:2px 6px;font-size:.72rem;font-weight:800;line-height:1.2;color:#78350f;background:linear-gradient(180deg,#fde68a,#fbbf24);border:2px solid #d97706;border-radius:999px;pointer-events:none}.coin-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:188;display:none;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + var(--safe-bottom))}.coin-overlay.open{display:flex}.profile-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:192;display:none;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + var(--safe-bottom))}.profile-overlay.open{display:flex}.login-prompt-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:4990;display:none;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + var(--safe-bottom))}.login-prompt-overlay.open{display:flex}.login-prompt-sheet .coin-sheet-title{text-align:center}.login-prompt-message{margin:0 0 4px;font-size:.95rem;font-weight:600;line-height:1.55;color:#4338ca;text-align:center}.login-prompt-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:18px}.profile-sheet{border:3px solid #ddd6fe;box-shadow:0 20px 50px #6366f138;max-height:min(90vh,640px);overflow-y:auto}.coin-sheet.profile-sheet{--profile-btn-h: 48px;--profile-btn-r: 16px;--profile-btn-fs: .95rem;--profile-btn-fw: 700;--profile-line: #e9d5ff;--profile-soft-border: #ddd6fe;--profile-soft-bg: linear-gradient(180deg, #ffffff 0%, #faf5ff 100%);--profile-soft-text: #5b21b6}.profile-sheet-title{color:#5b21b6!important}.profile-phone-field{margin-bottom:12px}.profile-phone-readonly{width:100%;padding:12px 14px;font-family:inherit;font-size:1rem;font-weight:600;color:#4338ca;border-radius:var(--profile-btn-r, 16px);border:2px solid #e9d5ff;background:#f5f3ff;cursor:default}.profile-phone-readonly:focus{outline:none;box-shadow:none}.profile-validity-field{margin-bottom:12px}.profile-validity-row{display:flex;align-items:center;gap:10px}.profile-validity-row .profile-validity-summary{flex:1;min-width:0}.profile-buy-btn{flex-shrink:0;box-sizing:border-box;min-height:var(--profile-btn-h, 48px);padding:0 14px;font-family:inherit;font-size:var(--profile-btn-fs, .95rem);font-weight:var(--profile-btn-fw, 700);line-height:1.2;white-space:nowrap;border-radius:var(--profile-btn-r, 16px);border:2px solid #f59e0b;background:linear-gradient(180deg,#fffbeb,#fde68a);color:#92400e;cursor:pointer;box-shadow:0 2px #d9770659}.profile-buy-btn:active{transform:scale(.98)}.profile-validity-member{font-weight:800;color:#15803d;letter-spacing:.02em}.profile-validity-summary{margin:0;padding:12px 14px;font-size:.95rem;font-weight:600;line-height:1.5;color:#4338ca;border-radius:var(--profile-btn-r, 16px);border:2px solid #e9d5ff;background:#faf5ff}.profile-validity-line{font-weight:700;color:#4c1d95}.profile-validity-hint{font-weight:600;font-size:.86rem;color:#7c3aed}.profile-validity-remain{font-weight:700;color:#15803d}.profile-validity-remain--warn{color:#b45309}.profile-validity-remain--expired{color:#b91c1c}.profile-nick-field{margin-bottom:12px}.profile-nick-row{display:flex;align-items:stretch;gap:10px}.profile-nick-row input{flex:1;min-width:0;width:auto;padding:12px 14px;font-family:inherit;font-size:1rem;border-radius:var(--profile-btn-r, 16px);border:2px solid #e9d5ff}.profile-nick-field input:read-only{background:#f5f3ff;color:#4338ca;cursor:default}.profile-nick-edit-btn{flex-shrink:0;align-self:stretch;box-sizing:border-box;min-width:4.5rem;min-height:var(--profile-btn-h, 48px);padding:0 14px;font-family:inherit;font-size:var(--profile-btn-fs, .95rem);font-weight:var(--profile-btn-fw, 700);white-space:nowrap;border-radius:var(--profile-btn-r, 16px);border:2px solid var(--profile-soft-border, #ddd6fe);background:var(--profile-soft-bg);color:var(--profile-soft-text, #5b21b6);cursor:pointer;box-shadow:0 1px #a78bfa40}.profile-nick-edit-btn[aria-pressed=true]{border-color:#a78bfa;background:#fff;color:#4c1d95;box-shadow:inset 0 0 0 1px #a78bfa59}.profile-nick-edit-btn:active{transform:scale(.98)}.profile-save-btn{width:100%;margin-bottom:10px}.profile-sheet-close-btn{margin-top:0}.coin-sheet.profile-sheet .btn.btn-primary{min-height:var(--profile-btn-h, 48px);padding-top:12px;padding-bottom:12px;border-radius:var(--profile-btn-r, 16px);font-size:var(--profile-btn-fs, .95rem);font-weight:var(--profile-btn-fw, 700)}.coin-sheet.profile-sheet .btn:not(.btn-primary){min-height:var(--profile-btn-h, 48px);padding:12px 18px;border-radius:var(--profile-btn-r, 16px);font-size:var(--profile-btn-fs, .95rem);font-weight:var(--profile-btn-fw, 700);color:var(--profile-soft-text, #5b21b6);background:var(--profile-soft-bg);border:2px solid var(--profile-soft-border, #ddd6fe);box-shadow:0 1px #a78bfa33}.coin-sheet.profile-sheet .btn:not(.btn-primary):active{transform:scale(.98);box-shadow:none}.coin-sheet.profile-sheet .cal-sheet-close{min-height:var(--profile-btn-h, 48px);margin-bottom:10px;font-size:var(--profile-btn-fs, .95rem);font-weight:var(--profile-btn-fw, 700);border-radius:var(--profile-btn-r, 16px);border:2px solid var(--profile-soft-border, #ddd6fe);background:var(--profile-soft-bg);color:var(--profile-soft-text, #5b21b6);box-shadow:0 1px #a78bfa33}.coin-sheet.profile-sheet .cal-sheet-close:active{transform:scale(.99)}.profile-footer-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:8px;padding-top:14px;border-top:1px solid var(--profile-line, #e9d5ff);width:100%}.profile-footer-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;box-sizing:border-box;font-size:.88rem;font-weight:700;color:var(--profile-soft-text, #5b21b6);text-decoration:none;text-align:center;line-height:1.25;border-radius:var(--profile-btn-r, 16px);border:2px solid var(--profile-line, #e9d5ff);background:#faf5ff}.profile-footer-link:active{opacity:1;background:#f5f3ff;transform:scale(.98)}.profile-member-pay-overlay,.profile-subscription-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5030;display:none;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + var(--safe-bottom))}.profile-member-pay-overlay.open,.profile-subscription-overlay.open{display:flex}.profile-member-pay-sheet .profile-member-pay-lead{margin:0 0 10px;font-size:.95rem;line-height:1.55;color:#374151;text-align:left}.profile-member-pay-strike{text-decoration:line-through;color:#9ca3af;font-weight:600}.profile-member-pay-countdown{font-weight:800;color:#b45309}.profile-member-pay-sub{margin:0 0 16px;font-size:.82rem;line-height:1.5;color:#6b7280;text-align:center}.profile-member-pay-actions{display:flex;flex-direction:column;gap:10px}.profile-member-pay-actions .btn{width:100%}.profile-subscription-hint{margin:0 0 12px;font-size:.88rem;line-height:1.45;color:#6b7280;text-align:left}.profile-subscription-list-wrap{max-height:min(40vh,320px);overflow-y:auto;margin-bottom:12px;-webkit-overflow-scrolling:touch}.profile-subscription-list{margin:0;padding:0;list-style:none}.profile-subscription-item{padding:12px 10px;border-bottom:1px solid #ede9fe;text-align:left}.profile-subscription-item:last-child{border-bottom:none}.profile-subscription-item-line{font-weight:700;color:#4c1d95;font-size:.92rem}.profile-subscription-item-meta{margin-top:4px;font-size:.82rem;color:#6b7280}.profile-subscription-empty{margin:0;padding:12px;text-align:center;font-size:.9rem;color:#9ca3af}.profile-subscription-cancel-block{margin-bottom:12px}.profile-subscription-cancel-block .btn{width:100%}.profile-subscription-howto{margin-top:8px;padding:12px;border-radius:var(--profile-btn-r, 16px);border:2px dashed #c4b5fd;background:#faf5ff;text-align:left}.profile-subscription-howto>.btn+.btn{margin-top:8px}.profile-subscription-howto-title{margin:0 0 8px;font-size:.95rem;font-weight:800;color:#5b21b6}.profile-subscription-howto-list{margin:0 0 10px;padding-left:1.2rem;font-size:.88rem;line-height:1.55;color:#4338ca}.profile-subscription-howto-note{margin:0 0 12px;font-size:.8rem;line-height:1.45;color:#6b7280}.feedback-overlay,.help-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5020;display:none;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + var(--safe-bottom))}.feedback-overlay.open,.help-overlay.open{display:flex}.help-sheet-lead{margin:0 0 10px;font-size:.88rem;font-weight:700;color:#5b21b6}.help-faq-scroll{max-height:min(52vh,420px);overflow:auto;-webkit-overflow-scrolling:touch;margin:0 -4px;padding:0 4px 4px}.help-faq-item{margin-bottom:14px;padding-bottom:14px;border-bottom:1px solid #ede9fe}.help-faq-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.help-faq-q{margin:0 0 6px;font-size:.95rem;font-weight:800;color:#4c1d95;line-height:1.35}.help-faq-a{margin:0;font-size:.9rem;line-height:1.55;color:#374151;white-space:pre-wrap;word-break:break-word}.help-faq-empty,.help-faq-loading,.help-faq-error{margin:0;font-size:.9rem;color:#6b7280;line-height:1.5}.help-faq-error{color:#b91c1c}.feedback-sheet-hint{margin:0 0 10px;font-size:.88rem;color:#6b7280;line-height:1.45}.feedback-textarea{width:100%;min-height:140px;padding:12px 14px;font-family:inherit;font-size:1rem;line-height:1.45;border-radius:14px;border:3px solid #e9d5ff;resize:vertical;box-sizing:border-box}.feedback-textarea:focus{outline:none;border-color:#a78bfa;box-shadow:0 0 0 2px #a78bfa59}.feedback-char-count{margin:6px 0 12px;text-align:right;font-size:.85rem;font-weight:700;color:#7c3aed}.coin-sheet{position:relative;z-index:1;width:min(400px,100%);max-height:min(88vh,620px);display:flex;flex-direction:column;background:var(--card);border-radius:var(--radius);padding:14px 14px 16px;box-shadow:0 20px 50px #b4530940}.coin-sheet-title{margin:0 0 8px;font-size:1.2rem;font-weight:700;color:#9a3412;text-align:center}.coin-sheet-total{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;margin:0 0 14px;text-align:center}.coin-sheet-total-label,.coin-sheet-total-unit{font-size:1rem;font-weight:600;color:#6366f1;line-height:1.3}.coin-balance-figure{display:block;margin:0;padding:0 4px;font-variant-numeric:tabular-nums;font-weight:800;color:#c2410c;line-height:1.05;font-size:clamp(3rem,18vw,7.5rem)}.coin-sheet-actions{display:flex;justify-content:center;width:100%;margin:0 0 14px}.coin-withdraw-btn{width:100%;max-width:320px;min-height:52px;padding:14px 22px;font-weight:800;border-radius:16px;background:linear-gradient(180deg,#fef3c7,#fbbf24 45%,#f59e0b);border:3px solid #d97706;color:#78350f;cursor:pointer;font-family:inherit;font-size:1.2rem;box-shadow:0 6px #b45309,0 10px 24px #b4530959;letter-spacing:.06em}.coin-withdraw-btn:active{transform:scale(.98);box-shadow:0 3px #b45309,0 6px 16px #b453094d}.coin-withdraw-overlay{z-index:190}.coin-withdraw-sheet{text-align:left}.coin-withdraw-step{margin-top:4px}.coin-withdraw-hint{margin:0 0 12px;font-size:.95rem;font-weight:600;color:#4338ca;line-height:1.45}.coin-withdraw-hint strong{color:#c2410c}.coin-withdraw-label{display:block;margin:0 0 6px;font-size:.92rem;font-weight:700;color:#5b21b6}.coin-withdraw-input{width:100%;box-sizing:border-box;min-height:48px;padding:10px 12px;margin-bottom:12px;font-family:inherit;font-size:1.05rem;font-weight:600;border:3px solid #e9d5ff;border-radius:14px}.coin-withdraw-btns{display:flex;flex-direction:column;flex-wrap:nowrap;gap:10px;align-items:stretch;margin-top:4px}.coin-withdraw-btns .btn{width:100%}.coin-withdraw-error{margin:0 0 10px;font-size:.92rem;font-weight:700;color:#b91c1c}.coin-entry-gain--withdraw{color:#b91c1c}.coin-list-wrap{flex:1;min-height:120px;max-height:min(52vh,420px);overflow-y:auto;-webkit-overflow-scrolling:touch;border:3px solid #fed7aa;border-radius:16px;background:#fffbeb;padding:8px}.coin-list{list-style:none;margin:0;padding:0}.coin-entry{display:flex;gap:10px;align-items:flex-start;padding:12px 10px;margin-bottom:8px;background:#fff;border:2px solid #fde68a;border-radius:14px;box-shadow:0 2px #fcd34d}.coin-entry:last-child{margin-bottom:0}.coin-entry-icon{font-size:1.5rem;line-height:1;flex-shrink:0}.coin-entry-body{flex:1;min-width:0}.coin-entry-name{font-weight:700;font-size:1.02rem;margin-bottom:4px;word-break:break-word}.coin-entry-meta{font-size:.88rem;font-weight:600;color:#64748b}.coin-entry-gain{flex-shrink:0;font-weight:800;font-size:.95rem;color:#ca8a04}.empty-coin{text-align:center;padding:24px 12px;margin:0;font-weight:600;color:#d97706;font-size:.98rem}.task-done-btn{flex-shrink:0;min-width:52px;min-height:var(--tap);padding:8px 10px;font-family:inherit;font-size:.95rem;font-weight:800;color:#fff;border:none;border-radius:14px;cursor:pointer;background:linear-gradient(180deg,#34d399,#10b981);border:2px solid #059669;box-shadow:0 3px #047857;touch-action:manipulation}.task-done-btn:active{transform:scale(.97)}.task-done-btn:disabled,.task-done-btn.task-done-btn--done{opacity:.85;cursor:default;background:linear-gradient(180deg,#cbd5e1,#94a3b8);border-color:#64748b;box-shadow:0 2px #475569;color:#f8fafc}.task-done-btn:disabled:active,.task-done-btn.task-done-btn--done:active{transform:none}.add-panel-date-row{display:flex;justify-content:center;margin-bottom:14px}.date-pill{width:100%;max-width:100%;box-sizing:border-box;display:inline-flex;align-items:center;gap:8px;margin-top:0;padding:10px 18px;background:#f5f3ff;border-radius:999px;font-size:clamp(.9rem,3.2vw,1rem);font-weight:600;color:var(--muted);border:2px dashed #c4b5fd;box-shadow:var(--shadow);text-align:left}.star{font-size:1.2em}.panel{background:var(--card);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);margin-bottom:18px}.panel h2{margin:0 0 14px;font-size:1.15rem;color:var(--muted)}label,.label-like{display:block;font-weight:600;margin-bottom:6px;font-size:.95rem;color:#4338ca}.field{margin-bottom:14px}input[type=text]{width:100%;min-height:var(--tap);padding:12px 16px;font-size:1.05rem;font-family:inherit;font-weight:500;border:3px solid #e9d5ff;border-radius:16px;background:#faf5ff;color:var(--text)}input:focus{outline:none;border-color:var(--accent-2);background:#fff}.add-panel-tabs-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:12px}.add-panel-tabs{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;flex:1;min-width:0}.add-panel-tab{flex:1 1 auto;min-width:0;min-height:44px;padding:10px 16px;font-family:inherit;font-size:1rem;font-weight:800;color:#5b21b6;border:3px solid #e9d5ff;border-radius:16px;background:linear-gradient(180deg,#faf5ff,#f5f3ff);cursor:pointer;box-shadow:0 2px #ddd6fe}.add-panel-tab:active{transform:scale(.99)}.add-panel-tab--active{border-color:var(--accent-2);background:linear-gradient(180deg,#fce7f3,#ede9fe);color:#4c1d95;box-shadow:0 3px #a78bfa}.add-panel-toggle{flex-shrink:0;min-height:40px;padding:8px 16px;font-family:inherit;font-size:.95rem;font-weight:700;color:#5b21b6;border:3px solid #e9d5ff;border-radius:999px;background:linear-gradient(180deg,#faf5ff,#f5f3ff);cursor:pointer;box-shadow:0 2px #ddd6fe}.add-panel-toggle:active{transform:scale(.98)}.common-tasks-list{padding:4px 0 12px}.common-task-row{display:flex;align-items:stretch;gap:8px;width:100%;margin-bottom:8px}.common-task-row:last-child{margin-bottom:0}.common-task-row .task-preset-row-main{flex:1;min-width:0;display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 12px;border:none;border-radius:14px;background:#faf5ff;font-family:inherit;font-size:1.02rem;font-weight:600;color:var(--text);text-align:left;cursor:pointer;border-left:4px solid #a78bfa}.common-task-row .task-preset-row-main:active{background:#ede9fe}.common-task-row .icon-btn{flex-shrink:0;width:48px;min-width:48px;padding:0;align-self:stretch;min-height:52px}.task-name-row{position:relative}.task-name-input-wrap{display:flex;align-items:stretch}.task-name-input-wrap input[type=text]{flex:1;min-width:0;border-radius:16px 0 0 16px;border-right-width:0}.task-recommended-toggle{flex-shrink:0;width:56px;min-height:var(--tap);font-family:inherit;font-size:1rem;font-weight:800;color:#5b21b6;border:3px solid #e9d5ff;border-left-width:0;border-radius:0 16px 16px 0;background:linear-gradient(180deg,#ede9fe,#ddd6fe);cursor:pointer;box-shadow:inset 0 0 0 1px #a78bfa59}.task-recommended-toggle:active{transform:scale(.98)}.task-recommended-toggle[aria-expanded=true]{background:linear-gradient(180deg,#fce7f3,#fbcfe8);border-color:var(--accent-2)}.task-preset-empty-hint{margin:0;padding:12px 14px;font-size:.92rem;font-weight:600;color:#818cf8;line-height:1.45}.task-preset-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:140;max-height:min(300px,48vh);overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px;background:#fff;border:3px solid #ddd6fe;border-radius:16px;box-shadow:0 12px 32px #6366f133}.task-preset-menu.open{display:block}.task-preset-row{width:100%;display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 12px;margin-bottom:6px;border:none;border-radius:14px;background:#faf5ff;font-family:inherit;font-size:1.02rem;font-weight:600;color:var(--text);text-align:left;cursor:pointer}.task-preset-row:last-child{margin-bottom:0}.task-preset-row:active{background:#ede9fe}.task-preset-row-icon{font-size:1.45rem;line-height:1;flex-shrink:0}.task-preset-row-text{flex:1;min-width:0;text-align:left}.task-preset-mode-badge{flex-shrink:0;font-size:.72rem;font-weight:800;padding:3px 8px;border-radius:999px;background:#e0e7ff;color:#4338ca}.task-preset-row--saved{border-left:4px solid #a78bfa}.task-preset-sep{padding:10px 12px 6px;margin-top:4px;font-size:.82rem;font-weight:800;color:#818cf8;letter-spacing:.02em}.save-task-tpl-btn{flex-shrink:0;min-height:40px;padding:8px 14px;font-family:inherit;font-size:.9rem;font-weight:700;color:#5b21b6;border:3px solid #e9d5ff;border-radius:999px;background:linear-gradient(180deg,#faf5ff,#f5f3ff);cursor:pointer;box-shadow:0 2px #ddd6fe;white-space:nowrap}.save-task-tpl-btn:active{transform:scale(.98)}.tpl-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:195;display:none;align-items:center;justify-content:center;padding:max(8px,env(safe-area-inset-top,0px)) max(12px,env(safe-area-inset-right,0px)) max(12px,calc(env(safe-area-inset-bottom,0px) + var(--safe-bottom))) max(12px,env(safe-area-inset-left,0px));box-sizing:border-box}.tpl-overlay.open{display:flex}.tpl-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1e1b4b61;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.tpl-sheet{position:relative;z-index:1;width:min(400px,100%);max-height:min(88vh,640px);overflow:auto;-webkit-overflow-scrolling:touch;background:var(--card);border-radius:var(--radius);padding:16px 14px 18px;box-shadow:0 20px 50px #4338ca59;border:3px solid #ddd6fe;text-align:left;box-sizing:border-box}.task-edit-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:8px}.task-edit-row-time{margin-bottom:4px}.tpl-sheet .field{margin-bottom:14px}.tpl-sheet input[type=text]{width:100%}.mode-radios{display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;margin-top:4px}.mode-radios label{display:inline-flex;align-items:center;gap:8px;margin:0;font-weight:700;cursor:pointer;color:#4338ca}.save-tpl-mode-head{display:flex;align-items:center;justify-content:flex-start;gap:3ch;flex-wrap:wrap;margin-bottom:6px}.save-tpl-mode-head__label{margin-bottom:0;flex-shrink:0}.save-tpl-mode-hint{margin:0;font-size:.78rem;font-weight:500;line-height:1.35;color:#9ca3af;flex-shrink:0;min-width:0}.weekday-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.weekday-chip{min-height:40px;padding:8px 12px;font-family:inherit;font-size:.9rem;font-weight:700;border:3px solid #e9d5ff;border-radius:999px;background:#faf5ff;color:#5b21b6;cursor:pointer}.weekday-chip.weekday-chip--on{border-color:var(--accent-2);background:linear-gradient(180deg,#fce7f3,#ede9fe);color:#5b21b6}.tpl-detail-body{margin:12px 0 16px;font-size:1rem;line-height:1.55;color:var(--text)}.tpl-detail-body p{margin:0 0 10px}.tpl-detail-body strong{color:#4338ca}.tpl-detail-task-list{margin:0 0 10px;padding-left:1.25em}.tpl-detail-task-list li{margin:6px 0}.tpl-detail-time{font-weight:700;color:#6366f1}.tpl-legacy-hint{color:#6b7280;font-size:.95rem}.time-pair{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px}.time-big-select{flex:1;min-width:0;min-height:var(--tap);max-width:160px;padding:12px 10px;font-family:inherit;font-size:1.2rem;font-weight:700;border:3px solid #e9d5ff;border-radius:16px;background:#faf5ff;color:var(--text);cursor:pointer}.time-big-select:focus{outline:none;border-color:var(--accent-2);background:#fff}.time-big-select.time-min-select{max-width:120px}.row-time{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media (max-width: 380px){.row-time{grid-template-columns:1fr}}.add-task-time-field .label-like,.task-edit-time-field .label-like{display:block;margin-bottom:6px}.time-summary-btn{display:flex;align-items:center;justify-content:center;width:100%;min-height:var(--tap);padding:14px;font-family:inherit;font-size:1.05rem;font-weight:700;line-height:1.35;text-align:center;color:#4338ca;border:3px solid #e9d5ff;border-radius:16px;background:linear-gradient(180deg,#faf5ff,#f5f3ff);box-shadow:0 2px #ddd6fe;cursor:pointer;-webkit-tap-highlight-color:transparent}.time-summary-btn:active{transform:scale(.99)}.time-picker-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:210;display:none;align-items:center;justify-content:center;padding:max(12px,env(safe-area-inset-top,12px)) 14px max(12px,env(safe-area-inset-bottom,12px));box-sizing:border-box}.time-picker-overlay.open{display:flex}.time-picker-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1e1b4b6b;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.time-picker-sheet{--wheel-row-h: 44px;--wheel-viewport-h: 220px;--wheel-pad-v: calc((var(--wheel-viewport-h) - var(--wheel-row-h)) / 2);position:relative;z-index:1;width:100%;max-width:520px;max-height:min(92vh,640px);margin:0 auto;padding:0 0 12px;border-radius:16px;background:#e8e8ed;box-shadow:0 16px 48px #00000038;border:3px solid #c7c7cc;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden}.time-picker-toolbar{display:grid;grid-template-columns:minmax(52px,1fr) auto minmax(52px,1fr);align-items:center;gap:8px;padding:10px 12px 8px;border-bottom:1px solid rgba(60,60,67,.18)}.time-picker-toolbar-lead{justify-self:start;grid-column:1;width:52px;min-height:1px;pointer-events:none}.time-picker-toolbar-btn{flex:0 0 auto;min-height:44px;padding:8px 12px;font-family:inherit;font-size:1rem;font-weight:600;color:#007aff;background:transparent;border:none;border-radius:10px;cursor:pointer}.time-picker-toolbar-btn--primary{font-weight:700}.time-picker-toolbar-title{justify-self:center;grid-column:2;text-align:center;font-size:.95rem;font-weight:700;color:#3a3a3c}.time-picker-toolbar-btn--end{grid-column:3;justify-self:end}.time-picker-summary{flex-shrink:0;display:flex;flex-direction:column;gap:10px;padding:0 12px 14px;box-sizing:border-box}.time-picker-preview{margin:0;padding:12px 14px;text-align:center;font-size:.95rem;font-weight:700;line-height:1.45;color:#4c1d95;min-height:2.8em;border-radius:14px;background:linear-gradient(180deg,#faf5ff,#f3e8ff);border:2px solid #d8b4fe;box-shadow:inset 0 1px #ffffffa6}.time-picker-confirm-btn{width:100%;min-height:48px;padding:12px 16px;font-family:inherit;font-size:1.08rem;font-weight:800;color:#fff;border:none;border-radius:16px;cursor:pointer;background:linear-gradient(135deg,#f472b6,#a78bfa);box-shadow:0 5px #7c3aed,0 10px 20px #7c3aed47;-webkit-tap-highlight-color:transparent}.time-picker-confirm-btn:active{transform:scale(.99);box-shadow:0 3px #7c3aed,0 6px 14px #7c3aed40}.time-picker-body{flex:1;min-height:0;min-width:0;padding:4px 10px 12px;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:10px;box-sizing:border-box;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.time-picker-block{margin:0;min-width:0;display:flex;flex-direction:column}.time-picker-block--start{flex:1 1 58%;min-width:0;padding:0}.time-picker-block--duration{flex:1 1 38%;min-width:112px;max-width:42%;justify-content:flex-start}.time-picker-block-title{margin:0 0 8px;padding:10px 12px;text-align:center;font-size:.92rem;font-weight:800;letter-spacing:.02em;line-height:1.3;width:100%;box-sizing:border-box;border-radius:10px}.time-picker-block-title--start{color:#312e81;background:linear-gradient(180deg,#eef2ff,#e0e7ff);border:2px solid #a5b4fc;box-shadow:inset 0 1px #ffffffb3}.time-picker-block-title--duration{color:#78350f;background:linear-gradient(180deg,#fffbeb,#fef3c7);border:2px solid #fcd34d;box-shadow:inset 0 1px #ffffffbf}.time-picker-dual-wheels{display:flex;align-items:flex-start;gap:8px;flex:0 0 auto}.time-picker-col{display:flex;flex-direction:column;align-items:stretch;min-width:0}.time-picker-col--twin{flex:1}.time-picker-col--duration{flex:1 1 auto;min-height:0;width:100%}.time-picker-wheel-viewport{position:relative;box-sizing:border-box;height:var(--wheel-viewport-h, 220px);min-height:var(--wheel-viewport-h, 220px);max-height:var(--wheel-viewport-h, 220px);flex-shrink:0;border-radius:12px;background:#f2f2f7;border:2px solid #d1d1d6;overflow:hidden;touch-action:pan-y}.time-picker-wheel-viewport:before,.time-picker-wheel-viewport:after{content:"";position:absolute;left:0;right:0;z-index:2;height:var(--wheel-pad-v, 88px);pointer-events:none}.time-picker-wheel-viewport:before{top:0;background:linear-gradient(180deg,#f2f2f7fa 20%,#f2f2f700)}.time-picker-wheel-viewport:after{bottom:0;background:linear-gradient(0deg,#f2f2f7fa 20%,#f2f2f700)}.time-picker-wheel-highlight{position:absolute;left:4px;right:4px;top:50%;height:var(--wheel-row-h, 44px);margin-top:calc(var(--wheel-row-h, 44px) / -2);border-radius:8px;border:2px solid rgba(99,102,241,.45);background:#ffffffa6;pointer-events:none;z-index:1;box-shadow:inset 0 0 0 1px #6366f126}.time-picker-wheel-scroll{position:relative;z-index:0;height:100%;max-height:var(--wheel-viewport-h, 220px);overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;scroll-snap-type:y mandatory;overscroll-behavior:contain;padding-top:var(--wheel-pad-v, 88px);padding-bottom:var(--wheel-pad-v, 88px);box-sizing:border-box;scrollbar-width:none}.time-picker-wheel-scroll::-webkit-scrollbar{display:none}.time-picker-wheel-item{height:var(--wheel-row-h, 44px);min-height:var(--wheel-row-h, 44px);display:flex;align-items:center;justify-content:center;font-family:inherit;font-size:1.12rem;font-weight:700;color:#1c1c1e;scroll-snap-align:center;scroll-snap-stop:always;-webkit-user-select:none;user-select:none}.time-picker-wheel-scroll:focus{outline:none}.time-picker-wheel-scroll:focus-visible{box-shadow:inset 0 0 0 2px #6366f159;border-radius:10px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:var(--tap);padding:14px 22px;font-family:inherit;font-size:1.1rem;font-weight:700;border:none;border-radius:18px;cursor:pointer;width:100%;transition:transform .08s ease,box-shadow .08s ease}.btn:active{transform:scale(.97)}.btn-primary{background:linear-gradient(135deg,#f472b6,#a78bfa);color:#fff;box-shadow:0 6px #7c3aed,0 10px 20px #7c3aed59}.btn-primary:active{box-shadow:0 3px #7c3aed,0 6px 14px #7c3aed4d}.hint{margin:12px 0 0;text-align:center;font-size:.88rem;color:#818cf8;font-weight:500}.list-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:12px}.list-title h2{margin:0}.panel--add-collapsed{padding-top:14px;padding-bottom:14px;margin-bottom:12px}.panel--add-collapsed .list-title,.panel--add-collapsed .add-panel-tabs-row{margin-bottom:0}.list-title-right{display:flex;align-items:center;gap:8px;flex-shrink:0;min-width:0}.sort-by-time-btn{flex-shrink:0;min-height:40px;padding:8px 12px;font-family:inherit;font-size:.85rem;font-weight:700;color:#5b21b6;border:3px solid #e9d5ff;border-radius:999px;background:linear-gradient(180deg,#faf5ff,#f5f3ff);cursor:pointer;box-shadow:0 2px #ddd6fe;white-space:nowrap}.sort-by-time-btn:active{transform:scale(.98)}.badge{background:#fef08a;color:#854d0e;padding:6px 14px;border-radius:999px;font-size:.9rem;font-weight:700}.task-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}.task-item{display:block;padding:0;background:none;border:none;border-radius:0;box-shadow:none;-webkit-user-select:none;user-select:none}.task-slide-wrap{width:100%;overflow:hidden;border-radius:20px}.task-slide-row{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;width:100%;min-height:var(--tap);box-sizing:border-box;background:linear-gradient(135deg,#fff,#f5f3ff);border:3px solid #ddd6fe;border-radius:20px;box-shadow:0 4px #c4b5fd}.task-slide-main{flex:0 0 100%;width:0;min-width:100%;box-sizing:border-box;display:flex;align-items:stretch;gap:10px;padding:12px 12px 12px 8px}.task-drag-handle{display:none;flex:0 0 auto;align-self:center;width:28px;min-width:28px;height:40px;padding:0 2px;margin:0 2px 0 0;border:1px solid rgba(109,40,217,.45);border-radius:10px;background:#7c3aed1f;color:#6d28d9;font-family:inherit;font-size:.78rem;font-weight:800;line-height:1;letter-spacing:-.1em;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.task-drag-handle:active{cursor:grabbing;color:#5b21b6;background:#7c3aed33;border-color:#5b21b68c}@media (orientation: landscape){#taskPanel .task-del--inline{display:flex}}.task-item.dragging{opacity:.92;transform:scale(1.02);z-index:10}.task-item.dragging .task-slide-row{box-shadow:0 12px 28px #6366f159}.task-item.dragging .task-icon-cell{cursor:grabbing}.task-item.dragging .task-drag-handle{cursor:grabbing;color:#5b21b6;background:#7c3aed38;border-color:#5b21b699}.task-item--done .task-slide-row{opacity:.72;background:linear-gradient(135deg,#f1f5f9,#e2e8f0);border-color:#cbd5e1;box-shadow:0 4px #94a3b8}.task-item--done .task-icon-cell{filter:grayscale(.35);border-color:#94a3b8;background:linear-gradient(180deg,#f1f5f9,#e2e8f0)}.task-item--done .task-name,.task-item--done .task-time{color:#64748b}.task-icon-cell{flex:0 0 var(--tap);min-width:var(--tap);min-height:var(--tap);display:flex;align-items:center;justify-content:center;border-radius:14px;background:linear-gradient(180deg,#e0f2fe,#bae6fd);border:3px solid #38bdf8;font-size:clamp(1.35rem,5vw,1.65rem);line-height:1;-webkit-user-select:none;user-select:none;touch-action:none;cursor:grab}@media (orientation: portrait){#taskPanel .task-icon-cell{display:none}#taskPanel .task-del--inline{display:none!important}#taskPanel .task-drag-handle{display:inline-flex;align-items:center;justify-content:center}#taskPanel .task-slide-main{cursor:default}}.task-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:6px}.task-name{font-size:clamp(1.05rem,4vw,1.2rem);font-weight:700;line-height:1.25;word-break:break-word}.task-time{font-size:.95rem;font-weight:600;color:#6366f1}.task-actions{flex:0 0 auto;display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;justify-content:flex-end}.icon-btn{min-width:var(--tap);min-height:var(--tap);border-radius:16px;border:3px solid #fecdd3;background:#fff1f2;font-size:1.35rem;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .08s ease}.icon-btn:active{transform:scale(.94)}.empty{text-align:center;padding:28px 16px;color:#a5b4fc;font-weight:600;font-size:1.05rem;line-height:1.5}.toast{position:fixed;left:50%;bottom:calc(24px + var(--safe-bottom));transform:translate(-50%) translateY(120%);z-index:200;padding:16px 28px;font-size:1.1rem;font-weight:700;color:#fff;background:linear-gradient(135deg,#818cf8,#6366f1);border-radius:20px;box-shadow:0 8px #4338ca,0 16px 32px #4338ca66;opacity:0;pointer-events:none;transition:transform .28s ease,opacity .28s ease;max-width:calc(100vw - 32px);text-align:center}.toast.show{transform:translate(-50%) translateY(0);opacity:1}.deco{position:fixed;pointer-events:none;z-index:-1;opacity:.5;font-size:clamp(3rem,15vw,5rem)}.deco-1{top:8%;right:5%;transform:rotate(12deg)}.deco-2{bottom:15%;left:4%;transform:rotate(-8deg)}.auth-gate{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5000;display:flex;align-items:center;justify-content:center;padding:20px;background:linear-gradient(165deg,#e0f2fef7,#fce7f3f7,#fef3c7f7);visibility:hidden;opacity:0;pointer-events:none;transition:opacity .25s ease,visibility .25s ease}.auth-gate--visible{visibility:visible;opacity:1;pointer-events:auto}.auth-gate__card{position:relative;width:100%;max-width:380px;padding:24px 22px 20px;border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow);border:3px solid #e9d5ff}.auth-gate-close{position:absolute;top:10px;right:10px;width:36px;height:36px;padding:0;font-family:inherit;font-size:1.1rem;line-height:1;font-weight:700;color:#7c3aed;background:#faf5ff;border:2px solid #e9d5ff;border-radius:12px;cursor:pointer}.auth-gate-close:active{transform:scale(.96)}.auth-gate__title{margin:0 0 8px;font-size:1.45rem;font-weight:800;color:#4c1d95;text-align:center}.auth-gate__hint{margin:0 0 16px;font-size:.9rem;font-weight:600;color:#6366f1;text-align:center;line-height:1.45}.auth-gate__error{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fef2f2;color:#b91c1c;font-size:.88rem;font-weight:600}.auth-form{display:flex;flex-direction:column;gap:10px}.auth-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.auth-label-row .auth-label{margin:0;line-height:1.35}.auth-invite-help-link{flex-shrink:0;margin:0;padding:0;font-family:inherit;font-size:.72rem;font-weight:600;line-height:1.35;color:#7c3aed;background:none;border:none;cursor:pointer;text-decoration:underline;text-underline-offset:2px;text-align:right}.auth-invite-help-link:active{opacity:.85}.auth-label{font-size:.88rem;font-weight:700;color:#4338ca}.auth-password-hint{margin:-4px 0 8px;font-size:.78rem;font-weight:600;line-height:1.4;color:#9ca3af}.auth-form input{width:100%;padding:12px 14px;font-family:inherit;font-size:1rem;border-radius:14px;border:3px solid #e9d5ff}.auth-submit{margin-top:6px}.auth-panel{display:block}.auth-panel[hidden]{display:none!important}.auth-nav-link{display:block;width:100%;margin-top:16px;padding:10px 8px;font-family:inherit;font-size:.92rem;font-weight:700;color:#7c3aed;background:transparent;border:none;cursor:pointer;text-align:center;text-decoration:underline;text-underline-offset:3px;line-height:1.45}.auth-nav-link:active{opacity:.85}.auth-invite-help-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5100;display:none;align-items:center;justify-content:center;padding:20px;padding-bottom:calc(20px + var(--safe-bottom, 0px))}.auth-invite-help-overlay.open{display:flex}.auth-invite-help-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a73;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.auth-invite-help-sheet{position:relative;z-index:1;width:100%;max-width:340px;padding:20px 18px 18px;border-radius:var(--radius);background:var(--card);border:3px solid #e9d5ff;box-shadow:0 24px 48px #4c1d952e}.auth-invite-help-title{margin:0 0 14px;font-size:1.05rem;font-weight:800;color:#4c1d95;text-align:center}.auth-invite-help-steps{margin:0 0 16px;padding:0;font-size:.88rem;font-weight:600;line-height:1.55;color:#4338ca}.auth-invite-help-steps p{margin:0 0 10px}.auth-invite-help-steps p:last-child{margin-bottom:0}.auth-invite-help-done{width:100%;margin:0}.share-invite-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5100;display:none;align-items:flex-end;justify-content:center;padding:0;padding-bottom:env(safe-area-inset-bottom,0px)}@media (min-width: 480px){.share-invite-overlay{align-items:center;padding:20px;padding-bottom:calc(20px + var(--safe-bottom, 0px))}}.share-invite-overlay.open{display:flex}.share-invite-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1e1b4b6b;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.share-invite-sheet{position:relative;z-index:1;width:100%;max-width:420px;max-height:min(90dvh,720px);overflow-x:hidden;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:22px 18px calc(20px + var(--safe-bottom, 0px));border-radius:24px 24px 0 0;background:linear-gradient(180deg,#fefeff,#faf5ff 38%,#fff);border:3px solid #ddd6fe;border-bottom:none;box-shadow:0 -8px 40px #6366f133,0 0 0 1px #fff9 inset}@media (min-width: 480px){.share-invite-sheet{border-radius:var(--radius);border:3px solid #ddd6fe;padding:24px 22px 22px;max-height:min(88vh,720px);box-shadow:0 24px 56px #4c1d9538,0 0 0 1px #ffffff80 inset}}.share-invite-close{position:absolute;top:12px;right:12px;width:40px;height:40px;padding:0;font-family:inherit;font-size:1.15rem;line-height:1;font-weight:700;color:#7c3aed;background:#ffffffe6;border:2px solid #e9d5ff;border-radius:14px;cursor:pointer;z-index:2}.share-invite-close:active{transform:scale(.96)}.share-invite-header{text-align:left;margin-bottom:20px;padding:4px 44px 0 0}.share-invite-title{margin:0 0 8px;font-size:1.78rem;font-weight:800;letter-spacing:-.02em;color:#4c1d95;line-height:1.35}.share-invite-title .share-invite-header-emoji{margin-left:.3em;font-size:1.15em;line-height:1;vertical-align:-.12em;filter:drop-shadow(0 2px 4px rgba(124,58,237,.2))}.share-invite-title-text{vertical-align:middle}.share-invite-lead{margin:0;font-size:.86rem;font-weight:600;line-height:1.5;color:#6366f1}.share-invite-section{margin-bottom:20px;text-align:left}.share-invite-section:last-child{margin-bottom:0}.share-invite-section-title{margin:0 0 10px;font-size:.8rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:#7c3aed}.share-invite-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.share-invite-section-head .share-invite-section-title{margin-bottom:0}.share-invite-section-desc{margin:-4px 0 12px;font-size:.8rem;font-weight:600;line-height:1.45;color:#64748b}.share-invite-link-lead{margin:0 0 10px;font-size:.8rem;font-weight:600;line-height:1.45;color:#7c3aed}.share-invite-link-section .share-invite-section-head{margin-bottom:6px}.share-invite-qr-card{background:linear-gradient(145deg,#fff,#f5f3ff);border:3px solid #e9d5ff;border-radius:20px;padding:16px 14px 14px;box-shadow:0 4px 20px #8b5cf614}.share-invite-qr-frame{display:flex;align-items:center;justify-content:center;min-height:200px;margin-bottom:10px}.share-invite-qr-frame:has(img[hidden]){min-height:160px;background:repeating-linear-gradient(-45deg,#f5f3ff,#f5f3ff 8px,#ede9fe 8px,#ede9fe 16px);border-radius:16px}.share-invite-qr{display:block;border-radius:14px;border:3px solid #fff;box-shadow:0 6px 24px #6366f126}.share-invite-qr-hint{margin:0;font-size:.8rem;font-weight:700;line-height:1.45;text-align:center;color:#64748b}.share-invite-url-scroll{font-family:ui-monospace,SF Mono,Menlo,monospace;font-size:.78rem;font-weight:600;line-height:1.5;word-break:break-all;color:#4338ca;background:#f8fafc;border:2px dashed #c4b5fd;border-radius:14px;padding:12px 14px;max-height:5.5rem;overflow-y:auto;margin-bottom:0}.share-invite-copy-chip{flex-shrink:0;padding:8px 16px;font-family:inherit;font-size:.82rem;font-weight:800;color:#fff;background:linear-gradient(180deg,#a78bfa,#7c3aed);border:2px solid #6d28d9;border-radius:999px;cursor:pointer;box-shadow:0 2px 8px #7c3aed59}.share-invite-copy-chip:active:not(:disabled){transform:scale(.97)}.share-invite-copy-chip:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.share-invite-copy-chip--slot{padding:8px 12px;font-size:.78rem;background:linear-gradient(180deg,#eef2ff,#e0e7ff);color:#4338ca;border-color:#a5b4fc;box-shadow:0 2px 6px #6366f11f}.share-invite-slots{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}.share-invite-slot{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border:3px solid #ede9fe;border-radius:16px;box-shadow:0 2px 12px #8b5cf60f}.share-invite-slot--used{background:#f8fafc;border-color:#e2e8f0;opacity:1}.share-invite-slot-left{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center}.share-invite-slot-code{font-family:ui-monospace,Menlo,monospace;font-weight:800;letter-spacing:.1em;font-size:1.05rem;color:#312e81}.share-invite-slot--used .share-invite-slot-code{color:#94a3b8;letter-spacing:.08em}.share-invite-slot-meta{margin-top:6px;font-size:.75rem;font-weight:800;color:#94a3b8}@media (max-width: 360px){.share-invite-slot{flex-direction:column;align-items:stretch}.share-invite-slot .share-invite-copy-chip--slot{align-self:stretch;width:100%}}.ai-generating-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:6000;display:none;align-items:center;justify-content:center;padding:20px;padding-bottom:calc(20px + env(safe-area-inset-bottom,0px));pointer-events:auto}.ai-generating-overlay.is-open{display:flex}body.ai-generating-active{overflow:hidden;touch-action:none}.ai-matrix-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block;pointer-events:none}.ai-generating-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#000e0861;pointer-events:none}.ai-generating-content{position:relative;z-index:2;max-width:22rem;padding:1.25rem 1.5rem;text-align:center;background:#00120ae0;border:1px solid rgba(0,255,140,.3);border-radius:14px;box-shadow:0 0 36px #00ff641a,inset 0 1px #ffffff0d;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.ai-generating-title{margin:0 0 .4rem;font-size:1.05rem;font-weight:700;font-family:ui-monospace,SF Mono,Menlo,monospace;color:#8effc6;text-shadow:0 0 14px rgba(0,255,140,.4);letter-spacing:.06em}.ai-generating-hint{margin:0;font-size:.88rem;font-weight:500;color:#beffdce0;line-height:1.45}@media (prefers-reduced-motion: reduce){.ai-matrix-canvas{opacity:.15}.ai-generating-scrim{background:#000c08d1}}.ai-cold-start-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5900;display:none;align-items:center;justify-content:center;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom,0px))}.ai-cold-start-overlay.is-open{display:flex}.ai-cold-start-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a8c;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.ai-cold-start-sheet{position:relative;z-index:1;width:100%;max-width:360px;padding:18px 18px 16px;border-radius:16px;background:linear-gradient(165deg,#f0fdf4,#ecfdf5);border:2px solid #86efac;box-shadow:0 20px 50px #1665342e}.ai-cold-start-title{margin:0 0 8px;font-size:1.1rem;font-weight:800;color:#14532d;text-align:center}.ai-cold-start-msg{margin:0 0 14px;font-size:.88rem;line-height:1.5;color:#166534}.ai-cold-start-label{display:block;margin:10px 0 6px;font-size:.82rem;font-weight:700;color:#15803d}.ai-cold-start-input,.ai-cold-start-select{width:100%;box-sizing:border-box;padding:10px 12px;border-radius:12px;border:2px solid #bbf7d0;font-size:1rem;font-weight:600;background:#fff;color:#14532d}.ai-cold-start-actions{display:flex;gap:10px;margin-top:18px;justify-content:flex-end}.ai-cold-start-actions .btn{flex:1;min-height:44px}.subscription-pay-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:5200;display:none;align-items:flex-end;justify-content:center;padding:0;padding-bottom:env(safe-area-inset-bottom,0px)}.subscription-pay-overlay.open{display:flex}.subscription-pay-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#1e1b4b73;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.subscription-pay-sheet{position:relative;z-index:1;width:100%;max-width:400px;padding:22px 20px calc(18px + env(safe-area-inset-bottom,0px));border-radius:24px 24px 0 0;background:linear-gradient(180deg,#fefeff,#faf5ff);border:3px solid #ddd6fe;border-bottom:none;box-shadow:0 -10px 40px #6366f133}@media (min-width: 480px){.subscription-pay-overlay{align-items:center;padding:20px}.subscription-pay-sheet{border-radius:var(--radius);border:3px solid #ddd6fe;border-bottom:3px solid #ddd6fe}}.subscription-pay-title{margin:0 0 12px;font-size:1.1rem;font-weight:800;color:#4c1d95;text-align:center}.subscription-pay-msg{margin:0 0 16px;font-size:.95rem;font-weight:600;line-height:1.55;color:#4338ca;text-align:center}.subscription-pay-qr-wrap{text-align:center;margin-bottom:16px}.subscription-pay-qr-hint{margin:0 0 10px;font-size:.82rem;font-weight:700;color:#7c3aed}.subscription-pay-qr{display:inline-block;border-radius:14px;border:3px solid #fff;box-shadow:0 6px 24px #6366f126}.subscription-pay-actions{display:flex;justify-content:center}.subscription-pay-actions .btn{min-width:160px}
